Home | History | Annotate | Line # | Download | only in dist
configure revision 1.5
      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.3.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.3.0'
    749 PACKAGE_STRING='xf86-video-vesa 2.3.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='am__EXEEXT_FALSE
    790 am__EXEEXT_TRUE
    791 LTLIBOBJS
    792 LIBOBJS
    793 DRIVER_NAME
    794 INCLUDES
    795 XSERVER_LIBPCIACCESS_FALSE
    796 XSERVER_LIBPCIACCESS_TRUE
    797 PCIACCESS_LIBS
    798 PCIACCESS_CFLAGS
    799 HAVE_XEXTPROTO_71_FALSE
    800 HAVE_XEXTPROTO_71_TRUE
    801 XEXT_LIBS
    802 XEXT_CFLAGS
    803 XORG_LIBS
    804 XORG_CFLAGS
    805 moduledir
    806 OTOOL64
    807 OTOOL
    808 LIPO
    809 NMEDIT
    810 DSYMUTIL
    811 lt_ECHO
    812 RANLIB
    813 AR
    814 OBJDUMP
    815 LN_S
    816 NM
    817 ac_ct_DUMPBIN
    818 DUMPBIN
    819 LD
    820 FGREP
    821 SED
    822 LIBTOOL
    823 ADMIN_MAN_DIR
    824 DRIVER_MAN_DIR
    825 MISC_MAN_DIR
    826 FILE_MAN_DIR
    827 LIB_MAN_DIR
    828 APP_MAN_DIR
    829 ADMIN_MAN_SUFFIX
    830 DRIVER_MAN_SUFFIX
    831 MISC_MAN_SUFFIX
    832 FILE_MAN_SUFFIX
    833 LIB_MAN_SUFFIX
    834 APP_MAN_SUFFIX
    835 host_os
    836 host_vendor
    837 host_cpu
    838 host
    839 build_os
    840 build_vendor
    841 build_cpu
    842 build
    843 INSTALL_CMD
    844 PKG_CONFIG
    845 CHANGELOG_CMD
    846 AM_BACKSLASH
    847 AM_DEFAULT_VERBOSITY
    848 CWARNFLAGS
    849 EGREP
    850 GREP
    851 CPP
    852 am__fastdepCC_FALSE
    853 am__fastdepCC_TRUE
    854 CCDEPMODE
    855 AMDEPBACKSLASH
    856 AMDEP_FALSE
    857 AMDEP_TRUE
    858 am__quote
    859 am__include
    860 DEPDIR
    861 OBJEXT
    862 EXEEXT
    863 ac_ct_CC
    864 CPPFLAGS
    865 LDFLAGS
    866 CFLAGS
    867 CC
    868 MAINT
    869 MAINTAINER_MODE_FALSE
    870 MAINTAINER_MODE_TRUE
    871 am__untar
    872 am__tar
    873 AMTAR
    874 am__leading_dot
    875 SET_MAKE
    876 AWK
    877 mkdir_p
    878 MKDIR_P
    879 INSTALL_STRIP_PROGRAM
    880 STRIP
    881 install_sh
    882 MAKEINFO
    883 AUTOHEADER
    884 AUTOMAKE
    885 AUTOCONF
    886 ACLOCAL
    887 VERSION
    888 PACKAGE
    889 CYGPATH_W
    890 am__isrc
    891 INSTALL_DATA
    892 INSTALL_SCRIPT
    893 INSTALL_PROGRAM
    894 target_alias
    895 host_alias
    896 build_alias
    897 LIBS
    898 ECHO_T
    899 ECHO_N
    900 ECHO_C
    901 DEFS
    902 mandir
    903 localedir
    904 libdir
    905 psdir
    906 pdfdir
    907 dvidir
    908 htmldir
    909 infodir
    910 docdir
    911 oldincludedir
    912 includedir
    913 localstatedir
    914 sharedstatedir
    915 sysconfdir
    916 datadir
    917 datarootdir
    918 libexecdir
    919 sbindir
    920 bindir
    921 program_transform_name
    922 prefix
    923 exec_prefix
    924 PACKAGE_BUGREPORT
    925 PACKAGE_STRING
    926 PACKAGE_VERSION
    927 PACKAGE_TARNAME
    928 PACKAGE_NAME
    929 PATH_SEPARATOR
    930 SHELL'
    931 ac_subst_files=''
    932 ac_user_opts='
    933 enable_option_checking
    934 enable_maintainer_mode
    935 enable_dependency_tracking
    936 enable_silent_rules
    937 enable_strict_compilation
    938 with_release_version
    939 enable_static
    940 enable_shared
    941 with_pic
    942 enable_fast_install
    943 with_gnu_ld
    944 enable_libtool_lock
    945 with_xorg_module_dir
    946 '
    947       ac_precious_vars='build_alias
    948 host_alias
    949 target_alias
    950 CC
    951 CFLAGS
    952 LDFLAGS
    953 LIBS
    954 CPPFLAGS
    955 CPP
    956 PKG_CONFIG
    957 XORG_CFLAGS
    958 XORG_LIBS
    959 XEXT_CFLAGS
    960 XEXT_LIBS
    961 PCIACCESS_CFLAGS
    962 PCIACCESS_LIBS'
    963 
    964 
    965 # Initialize some variables set by options.
    966 ac_init_help=
    967 ac_init_version=false
    968 ac_unrecognized_opts=
    969 ac_unrecognized_sep=
    970 # The variables have the same names as the options, with
    971 # dashes changed to underlines.
    972 cache_file=/dev/null
    973 exec_prefix=NONE
    974 no_create=
    975 no_recursion=
    976 prefix=NONE
    977 program_prefix=NONE
    978 program_suffix=NONE
    979 program_transform_name=s,x,x,
    980 silent=
    981 site=
    982 srcdir=
    983 verbose=
    984 x_includes=NONE
    985 x_libraries=NONE
    986 
    987 # Installation directory options.
    988 # These are left unexpanded so users can "make install exec_prefix=/foo"
    989 # and all the variables that are supposed to be based on exec_prefix
    990 # by default will actually change.
    991 # Use braces instead of parens because sh, perl, etc. also accept them.
    992 # (The list follows the same order as the GNU Coding Standards.)
    993 bindir='${exec_prefix}/bin'
    994 sbindir='${exec_prefix}/sbin'
    995 libexecdir='${exec_prefix}/libexec'
    996 datarootdir='${prefix}/share'
    997 datadir='${datarootdir}'
    998 sysconfdir='${prefix}/etc'
    999 sharedstatedir='${prefix}/com'
   1000 localstatedir='${prefix}/var'
   1001 includedir='${prefix}/include'
   1002 oldincludedir='/usr/include'
   1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1004 infodir='${datarootdir}/info'
   1005 htmldir='${docdir}'
   1006 dvidir='${docdir}'
   1007 pdfdir='${docdir}'
   1008 psdir='${docdir}'
   1009 libdir='${exec_prefix}/lib'
   1010 localedir='${datarootdir}/locale'
   1011 mandir='${datarootdir}/man'
   1012 
   1013 ac_prev=
   1014 ac_dashdash=
   1015 for ac_option
   1016 do
   1017   # If the previous option needs an argument, assign it.
   1018   if test -n "$ac_prev"; then
   1019     eval $ac_prev=\$ac_option
   1020     ac_prev=
   1021     continue
   1022   fi
   1023 
   1024   case $ac_option in
   1025   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1026   *)	ac_optarg=yes ;;
   1027   esac
   1028 
   1029   # Accept the important Cygnus configure options, so we can diagnose typos.
   1030 
   1031   case $ac_dashdash$ac_option in
   1032   --)
   1033     ac_dashdash=yes ;;
   1034 
   1035   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1036     ac_prev=bindir ;;
   1037   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1038     bindir=$ac_optarg ;;
   1039 
   1040   -build | --build | --buil | --bui | --bu)
   1041     ac_prev=build_alias ;;
   1042   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1043     build_alias=$ac_optarg ;;
   1044 
   1045   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1046   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1047     ac_prev=cache_file ;;
   1048   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1049   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1050     cache_file=$ac_optarg ;;
   1051 
   1052   --config-cache | -C)
   1053     cache_file=config.cache ;;
   1054 
   1055   -datadir | --datadir | --datadi | --datad)
   1056     ac_prev=datadir ;;
   1057   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1058     datadir=$ac_optarg ;;
   1059 
   1060   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1061   | --dataroo | --dataro | --datar)
   1062     ac_prev=datarootdir ;;
   1063   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1064   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1065     datarootdir=$ac_optarg ;;
   1066 
   1067   -disable-* | --disable-*)
   1068     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1069     # Reject names that are not valid shell variable names.
   1070     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1071       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1072    { (exit 1); exit 1; }; }
   1073     ac_useropt_orig=$ac_useropt
   1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1075     case $ac_user_opts in
   1076       *"
   1077 "enable_$ac_useropt"
   1078 "*) ;;
   1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1080 	 ac_unrecognized_sep=', ';;
   1081     esac
   1082     eval enable_$ac_useropt=no ;;
   1083 
   1084   -docdir | --docdir | --docdi | --doc | --do)
   1085     ac_prev=docdir ;;
   1086   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1087     docdir=$ac_optarg ;;
   1088 
   1089   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1090     ac_prev=dvidir ;;
   1091   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1092     dvidir=$ac_optarg ;;
   1093 
   1094   -enable-* | --enable-*)
   1095     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1096     # Reject names that are not valid shell variable names.
   1097     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1098       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1099    { (exit 1); exit 1; }; }
   1100     ac_useropt_orig=$ac_useropt
   1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1102     case $ac_user_opts in
   1103       *"
   1104 "enable_$ac_useropt"
   1105 "*) ;;
   1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1107 	 ac_unrecognized_sep=', ';;
   1108     esac
   1109     eval enable_$ac_useropt=\$ac_optarg ;;
   1110 
   1111   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1112   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1113   | --exec | --exe | --ex)
   1114     ac_prev=exec_prefix ;;
   1115   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1116   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1117   | --exec=* | --exe=* | --ex=*)
   1118     exec_prefix=$ac_optarg ;;
   1119 
   1120   -gas | --gas | --ga | --g)
   1121     # Obsolete; use --with-gas.
   1122     with_gas=yes ;;
   1123 
   1124   -help | --help | --hel | --he | -h)
   1125     ac_init_help=long ;;
   1126   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1127     ac_init_help=recursive ;;
   1128   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1129     ac_init_help=short ;;
   1130 
   1131   -host | --host | --hos | --ho)
   1132     ac_prev=host_alias ;;
   1133   -host=* | --host=* | --hos=* | --ho=*)
   1134     host_alias=$ac_optarg ;;
   1135 
   1136   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1137     ac_prev=htmldir ;;
   1138   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1139   | --ht=*)
   1140     htmldir=$ac_optarg ;;
   1141 
   1142   -includedir | --includedir | --includedi | --included | --include \
   1143   | --includ | --inclu | --incl | --inc)
   1144     ac_prev=includedir ;;
   1145   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1146   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1147     includedir=$ac_optarg ;;
   1148 
   1149   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1150     ac_prev=infodir ;;
   1151   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1152     infodir=$ac_optarg ;;
   1153 
   1154   -libdir | --libdir | --libdi | --libd)
   1155     ac_prev=libdir ;;
   1156   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1157     libdir=$ac_optarg ;;
   1158 
   1159   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1160   | --libexe | --libex | --libe)
   1161     ac_prev=libexecdir ;;
   1162   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1163   | --libexe=* | --libex=* | --libe=*)
   1164     libexecdir=$ac_optarg ;;
   1165 
   1166   -localedir | --localedir | --localedi | --localed | --locale)
   1167     ac_prev=localedir ;;
   1168   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1169     localedir=$ac_optarg ;;
   1170 
   1171   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1172   | --localstate | --localstat | --localsta | --localst | --locals)
   1173     ac_prev=localstatedir ;;
   1174   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1175   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1176     localstatedir=$ac_optarg ;;
   1177 
   1178   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1179     ac_prev=mandir ;;
   1180   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1181     mandir=$ac_optarg ;;
   1182 
   1183   -nfp | --nfp | --nf)
   1184     # Obsolete; use --without-fp.
   1185     with_fp=no ;;
   1186 
   1187   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1188   | --no-cr | --no-c | -n)
   1189     no_create=yes ;;
   1190 
   1191   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1192   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1193     no_recursion=yes ;;
   1194 
   1195   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1196   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1197   | --oldin | --oldi | --old | --ol | --o)
   1198     ac_prev=oldincludedir ;;
   1199   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1200   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1201   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1202     oldincludedir=$ac_optarg ;;
   1203 
   1204   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1205     ac_prev=prefix ;;
   1206   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1207     prefix=$ac_optarg ;;
   1208 
   1209   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1210   | --program-pre | --program-pr | --program-p)
   1211     ac_prev=program_prefix ;;
   1212   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1213   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1214     program_prefix=$ac_optarg ;;
   1215 
   1216   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1217   | --program-suf | --program-su | --program-s)
   1218     ac_prev=program_suffix ;;
   1219   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1220   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1221     program_suffix=$ac_optarg ;;
   1222 
   1223   -program-transform-name | --program-transform-name \
   1224   | --program-transform-nam | --program-transform-na \
   1225   | --program-transform-n | --program-transform- \
   1226   | --program-transform | --program-transfor \
   1227   | --program-transfo | --program-transf \
   1228   | --program-trans | --program-tran \
   1229   | --progr-tra | --program-tr | --program-t)
   1230     ac_prev=program_transform_name ;;
   1231   -program-transform-name=* | --program-transform-name=* \
   1232   | --program-transform-nam=* | --program-transform-na=* \
   1233   | --program-transform-n=* | --program-transform-=* \
   1234   | --program-transform=* | --program-transfor=* \
   1235   | --program-transfo=* | --program-transf=* \
   1236   | --program-trans=* | --program-tran=* \
   1237   | --progr-tra=* | --program-tr=* | --program-t=*)
   1238     program_transform_name=$ac_optarg ;;
   1239 
   1240   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1241     ac_prev=pdfdir ;;
   1242   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1243     pdfdir=$ac_optarg ;;
   1244 
   1245   -psdir | --psdir | --psdi | --psd | --ps)
   1246     ac_prev=psdir ;;
   1247   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1248     psdir=$ac_optarg ;;
   1249 
   1250   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1251   | -silent | --silent | --silen | --sile | --sil)
   1252     silent=yes ;;
   1253 
   1254   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1255     ac_prev=sbindir ;;
   1256   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1257   | --sbi=* | --sb=*)
   1258     sbindir=$ac_optarg ;;
   1259 
   1260   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1261   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1262   | --sharedst | --shareds | --shared | --share | --shar \
   1263   | --sha | --sh)
   1264     ac_prev=sharedstatedir ;;
   1265   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1266   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1267   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1268   | --sha=* | --sh=*)
   1269     sharedstatedir=$ac_optarg ;;
   1270 
   1271   -site | --site | --sit)
   1272     ac_prev=site ;;
   1273   -site=* | --site=* | --sit=*)
   1274     site=$ac_optarg ;;
   1275 
   1276   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1277     ac_prev=srcdir ;;
   1278   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1279     srcdir=$ac_optarg ;;
   1280 
   1281   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1282   | --syscon | --sysco | --sysc | --sys | --sy)
   1283     ac_prev=sysconfdir ;;
   1284   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1285   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1286     sysconfdir=$ac_optarg ;;
   1287 
   1288   -target | --target | --targe | --targ | --tar | --ta | --t)
   1289     ac_prev=target_alias ;;
   1290   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1291     target_alias=$ac_optarg ;;
   1292 
   1293   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1294     verbose=yes ;;
   1295 
   1296   -version | --version | --versio | --versi | --vers | -V)
   1297     ac_init_version=: ;;
   1298 
   1299   -with-* | --with-*)
   1300     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1301     # Reject names that are not valid shell variable names.
   1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1303       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1304    { (exit 1); exit 1; }; }
   1305     ac_useropt_orig=$ac_useropt
   1306     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1307     case $ac_user_opts in
   1308       *"
   1309 "with_$ac_useropt"
   1310 "*) ;;
   1311       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1312 	 ac_unrecognized_sep=', ';;
   1313     esac
   1314     eval with_$ac_useropt=\$ac_optarg ;;
   1315 
   1316   -without-* | --without-*)
   1317     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1318     # Reject names that are not valid shell variable names.
   1319     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1320       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1321    { (exit 1); exit 1; }; }
   1322     ac_useropt_orig=$ac_useropt
   1323     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1324     case $ac_user_opts in
   1325       *"
   1326 "with_$ac_useropt"
   1327 "*) ;;
   1328       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1329 	 ac_unrecognized_sep=', ';;
   1330     esac
   1331     eval with_$ac_useropt=no ;;
   1332 
   1333   --x)
   1334     # Obsolete; use --with-x.
   1335     with_x=yes ;;
   1336 
   1337   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1338   | --x-incl | --x-inc | --x-in | --x-i)
   1339     ac_prev=x_includes ;;
   1340   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1341   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1342     x_includes=$ac_optarg ;;
   1343 
   1344   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1345   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1346     ac_prev=x_libraries ;;
   1347   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1348   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1349     x_libraries=$ac_optarg ;;
   1350 
   1351   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1352 Try \`$0 --help' for more information." >&2
   1353    { (exit 1); exit 1; }; }
   1354     ;;
   1355 
   1356   *=*)
   1357     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1358     # Reject names that are not valid shell variable names.
   1359     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1360       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1361    { (exit 1); exit 1; }; }
   1362     eval $ac_envvar=\$ac_optarg
   1363     export $ac_envvar ;;
   1364 
   1365   *)
   1366     # FIXME: should be removed in autoconf 3.0.
   1367     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1368     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1369       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1370     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1371     ;;
   1372 
   1373   esac
   1374 done
   1375 
   1376 if test -n "$ac_prev"; then
   1377   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1378   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1379    { (exit 1); exit 1; }; }
   1380 fi
   1381 
   1382 if test -n "$ac_unrecognized_opts"; then
   1383   case $enable_option_checking in
   1384     no) ;;
   1385     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1386    { (exit 1); exit 1; }; } ;;
   1387     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1388   esac
   1389 fi
   1390 
   1391 # Check all directory arguments for consistency.
   1392 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1393 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1394 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1395 		libdir localedir mandir
   1396 do
   1397   eval ac_val=\$$ac_var
   1398   # Remove trailing slashes.
   1399   case $ac_val in
   1400     */ )
   1401       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1402       eval $ac_var=\$ac_val;;
   1403   esac
   1404   # Be sure to have absolute directory names.
   1405   case $ac_val in
   1406     [\\/$]* | ?:[\\/]* )  continue;;
   1407     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1408   esac
   1409   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1410    { (exit 1); exit 1; }; }
   1411 done
   1412 
   1413 # There might be people who depend on the old broken behavior: `$host'
   1414 # used to hold the argument of --host etc.
   1415 # FIXME: To remove some day.
   1416 build=$build_alias
   1417 host=$host_alias
   1418 target=$target_alias
   1419 
   1420 # FIXME: To remove some day.
   1421 if test "x$host_alias" != x; then
   1422   if test "x$build_alias" = x; then
   1423     cross_compiling=maybe
   1424     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1425     If a cross compiler is detected then cross compile mode will be used." >&2
   1426   elif test "x$build_alias" != "x$host_alias"; then
   1427     cross_compiling=yes
   1428   fi
   1429 fi
   1430 
   1431 ac_tool_prefix=
   1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1433 
   1434 test "$silent" = yes && exec 6>/dev/null
   1435 
   1436 
   1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1438 ac_ls_di=`ls -di .` &&
   1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1440   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1441    { (exit 1); exit 1; }; }
   1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1443   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1444    { (exit 1); exit 1; }; }
   1445 
   1446 
   1447 # Find the source files, if location was not specified.
   1448 if test -z "$srcdir"; then
   1449   ac_srcdir_defaulted=yes
   1450   # Try the directory containing this script, then the parent directory.
   1451   ac_confdir=`$as_dirname -- "$as_myself" ||
   1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1453 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1454 	 X"$as_myself" : 'X\(//\)$' \| \
   1455 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1456 $as_echo X"$as_myself" |
   1457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1458 	    s//\1/
   1459 	    q
   1460 	  }
   1461 	  /^X\(\/\/\)[^/].*/{
   1462 	    s//\1/
   1463 	    q
   1464 	  }
   1465 	  /^X\(\/\/\)$/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  /^X\(\/\).*/{
   1470 	    s//\1/
   1471 	    q
   1472 	  }
   1473 	  s/.*/./; q'`
   1474   srcdir=$ac_confdir
   1475   if test ! -r "$srcdir/$ac_unique_file"; then
   1476     srcdir=..
   1477   fi
   1478 else
   1479   ac_srcdir_defaulted=no
   1480 fi
   1481 if test ! -r "$srcdir/$ac_unique_file"; then
   1482   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1483   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1484    { (exit 1); exit 1; }; }
   1485 fi
   1486 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1487 ac_abs_confdir=`(
   1488 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1489    { (exit 1); exit 1; }; }
   1490 	pwd)`
   1491 # When building in place, set srcdir=.
   1492 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1493   srcdir=.
   1494 fi
   1495 # Remove unnecessary trailing slashes from srcdir.
   1496 # Double slashes in file names in object file debugging info
   1497 # mess up M-x gdb in Emacs.
   1498 case $srcdir in
   1499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1500 esac
   1501 for ac_var in $ac_precious_vars; do
   1502   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1503   eval ac_env_${ac_var}_value=\$${ac_var}
   1504   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1505   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1506 done
   1507 
   1508 #
   1509 # Report the --help message.
   1510 #
   1511 if test "$ac_init_help" = "long"; then
   1512   # Omit some internal or obsolete options to make the list less imposing.
   1513   # This message is too long to be a string in the A/UX 3.1 sh.
   1514   cat <<_ACEOF
   1515 \`configure' configures xf86-video-vesa 2.3.0 to adapt to many kinds of systems.
   1516 
   1517 Usage: $0 [OPTION]... [VAR=VALUE]...
   1518 
   1519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1520 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1521 
   1522 Defaults for the options are specified in brackets.
   1523 
   1524 Configuration:
   1525   -h, --help              display this help and exit
   1526       --help=short        display options specific to this package
   1527       --help=recursive    display the short help of all the included packages
   1528   -V, --version           display version information and exit
   1529   -q, --quiet, --silent   do not print \`checking...' messages
   1530       --cache-file=FILE   cache test results in FILE [disabled]
   1531   -C, --config-cache      alias for \`--cache-file=config.cache'
   1532   -n, --no-create         do not create output files
   1533       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1534 
   1535 Installation directories:
   1536   --prefix=PREFIX         install architecture-independent files in PREFIX
   1537                           [$ac_default_prefix]
   1538   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1539                           [PREFIX]
   1540 
   1541 By default, \`make install' will install all the files in
   1542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1544 for instance \`--prefix=\$HOME'.
   1545 
   1546 For better control, use the options below.
   1547 
   1548 Fine tuning of the installation directories:
   1549   --bindir=DIR            user executables [EPREFIX/bin]
   1550   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1551   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1552   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1553   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1554   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1555   --libdir=DIR            object code libraries [EPREFIX/lib]
   1556   --includedir=DIR        C header files [PREFIX/include]
   1557   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1558   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1559   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1560   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1561   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1562   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1563   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-vesa]
   1564   --htmldir=DIR           html documentation [DOCDIR]
   1565   --dvidir=DIR            dvi documentation [DOCDIR]
   1566   --pdfdir=DIR            pdf documentation [DOCDIR]
   1567   --psdir=DIR             ps documentation [DOCDIR]
   1568 _ACEOF
   1569 
   1570   cat <<\_ACEOF
   1571 
   1572 Program names:
   1573   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1574   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1575   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1576 
   1577 System types:
   1578   --build=BUILD     configure for building on BUILD [guessed]
   1579   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1580 _ACEOF
   1581 fi
   1582 
   1583 if test -n "$ac_init_help"; then
   1584   case $ac_init_help in
   1585      short | recursive ) echo "Configuration of xf86-video-vesa 2.3.0:";;
   1586    esac
   1587   cat <<\_ACEOF
   1588 
   1589 Optional Features:
   1590   --disable-option-checking  ignore unrecognized --enable/--with options
   1591   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1592   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1593   --enable-maintainer-mode  enable make rules and dependencies not useful
   1594 			  (and sometimes confusing) to the casual installer
   1595   --disable-dependency-tracking  speeds up one-time build
   1596   --enable-dependency-tracking   do not reject slow dependency extractors
   1597   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1598   --disable-silent-rules         verbose build output (undo: `make V=0')
   1599   --enable-strict-compilation
   1600                           Enable all warnings from compiler and make them
   1601                           errors (default: disabled)
   1602   --enable-static[=PKGS]  build static libraries [default=no]
   1603   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1604   --enable-fast-install[=PKGS]
   1605                           optimize for fast installation [default=yes]
   1606   --disable-libtool-lock  avoid locking (might break parallel builds)
   1607 
   1608 Optional Packages:
   1609   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1610   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1611   --with-release-version=STRING
   1612                           Use release version string in package name
   1613   --with-pic              try to use only PIC/non-PIC objects [default=use
   1614                           both]
   1615   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1616   --with-xorg-module-dir=DIR
   1617 
   1618 Some influential environment variables:
   1619   CC          C compiler command
   1620   CFLAGS      C compiler flags
   1621   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1622               nonstandard directory <lib dir>
   1623   LIBS        libraries to pass to the linker, e.g. -l<library>
   1624   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1625               you have headers in a nonstandard directory <include dir>
   1626   CPP         C preprocessor
   1627   PKG_CONFIG  path to pkg-config utility
   1628   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1629   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1630   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1631   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1632   PCIACCESS_CFLAGS
   1633               C compiler flags for PCIACCESS, overriding pkg-config
   1634   PCIACCESS_LIBS
   1635               linker flags for PCIACCESS, overriding pkg-config
   1636 
   1637 Use these variables to override the choices made by `configure' or to help
   1638 it to find libraries and programs with nonstandard names/locations.
   1639 
   1640 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1641 _ACEOF
   1642 ac_status=$?
   1643 fi
   1644 
   1645 if test "$ac_init_help" = "recursive"; then
   1646   # If there are subdirs, report their specific --help.
   1647   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1648     test -d "$ac_dir" ||
   1649       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1650       continue
   1651     ac_builddir=.
   1652 
   1653 case "$ac_dir" in
   1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1655 *)
   1656   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1657   # A ".." for each directory in $ac_dir_suffix.
   1658   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1659   case $ac_top_builddir_sub in
   1660   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1661   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1662   esac ;;
   1663 esac
   1664 ac_abs_top_builddir=$ac_pwd
   1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1666 # for backward compatibility:
   1667 ac_top_builddir=$ac_top_build_prefix
   1668 
   1669 case $srcdir in
   1670   .)  # We are building in place.
   1671     ac_srcdir=.
   1672     ac_top_srcdir=$ac_top_builddir_sub
   1673     ac_abs_top_srcdir=$ac_pwd ;;
   1674   [\\/]* | ?:[\\/]* )  # Absolute name.
   1675     ac_srcdir=$srcdir$ac_dir_suffix;
   1676     ac_top_srcdir=$srcdir
   1677     ac_abs_top_srcdir=$srcdir ;;
   1678   *) # Relative name.
   1679     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1680     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1681     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1682 esac
   1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1684 
   1685     cd "$ac_dir" || { ac_status=$?; continue; }
   1686     # Check for guested configure.
   1687     if test -f "$ac_srcdir/configure.gnu"; then
   1688       echo &&
   1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1690     elif test -f "$ac_srcdir/configure"; then
   1691       echo &&
   1692       $SHELL "$ac_srcdir/configure" --help=recursive
   1693     else
   1694       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1695     fi || ac_status=$?
   1696     cd "$ac_pwd" || { ac_status=$?; break; }
   1697   done
   1698 fi
   1699 
   1700 test -n "$ac_init_help" && exit $ac_status
   1701 if $ac_init_version; then
   1702   cat <<\_ACEOF
   1703 xf86-video-vesa configure 2.3.0
   1704 generated by GNU Autoconf 2.63
   1705 
   1706 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1707 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1708 This configure script is free software; the Free Software Foundation
   1709 gives unlimited permission to copy, distribute and modify it.
   1710 _ACEOF
   1711   exit
   1712 fi
   1713 cat >config.log <<_ACEOF
   1714 This file contains any messages produced by compilers while
   1715 running configure, to aid debugging if configure makes a mistake.
   1716 
   1717 It was created by xf86-video-vesa $as_me 2.3.0, which was
   1718 generated by GNU Autoconf 2.63.  Invocation command line was
   1719 
   1720   $ $0 $@
   1721 
   1722 _ACEOF
   1723 exec 5>>config.log
   1724 {
   1725 cat <<_ASUNAME
   1726 ## --------- ##
   1727 ## Platform. ##
   1728 ## --------- ##
   1729 
   1730 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1731 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1732 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1733 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1734 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1735 
   1736 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1737 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1738 
   1739 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1740 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1741 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1742 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1743 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1744 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1745 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1746 
   1747 _ASUNAME
   1748 
   1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1750 for as_dir in $PATH
   1751 do
   1752   IFS=$as_save_IFS
   1753   test -z "$as_dir" && as_dir=.
   1754   $as_echo "PATH: $as_dir"
   1755 done
   1756 IFS=$as_save_IFS
   1757 
   1758 } >&5
   1759 
   1760 cat >&5 <<_ACEOF
   1761 
   1762 
   1763 ## ----------- ##
   1764 ## Core tests. ##
   1765 ## ----------- ##
   1766 
   1767 _ACEOF
   1768 
   1769 
   1770 # Keep a trace of the command line.
   1771 # Strip out --no-create and --no-recursion so they do not pile up.
   1772 # Strip out --silent because we don't want to record it for future runs.
   1773 # Also quote any args containing shell meta-characters.
   1774 # Make two passes to allow for proper duplicate-argument suppression.
   1775 ac_configure_args=
   1776 ac_configure_args0=
   1777 ac_configure_args1=
   1778 ac_must_keep_next=false
   1779 for ac_pass in 1 2
   1780 do
   1781   for ac_arg
   1782   do
   1783     case $ac_arg in
   1784     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1785     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1786     | -silent | --silent | --silen | --sile | --sil)
   1787       continue ;;
   1788     *\'*)
   1789       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1790     esac
   1791     case $ac_pass in
   1792     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1793     2)
   1794       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1795       if test $ac_must_keep_next = true; then
   1796 	ac_must_keep_next=false # Got value, back to normal.
   1797       else
   1798 	case $ac_arg in
   1799 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1800 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1801 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1802 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1803 	    case "$ac_configure_args0 " in
   1804 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1805 	    esac
   1806 	    ;;
   1807 	  -* ) ac_must_keep_next=true ;;
   1808 	esac
   1809       fi
   1810       ac_configure_args="$ac_configure_args '$ac_arg'"
   1811       ;;
   1812     esac
   1813   done
   1814 done
   1815 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1816 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1817 
   1818 # When interrupted or exit'd, cleanup temporary files, and complete
   1819 # config.log.  We remove comments because anyway the quotes in there
   1820 # would cause problems or look ugly.
   1821 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1822 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1823 trap 'exit_status=$?
   1824   # Save into config.log some information that might help in debugging.
   1825   {
   1826     echo
   1827 
   1828     cat <<\_ASBOX
   1829 ## ---------------- ##
   1830 ## Cache variables. ##
   1831 ## ---------------- ##
   1832 _ASBOX
   1833     echo
   1834     # The following way of writing the cache mishandles newlines in values,
   1835 (
   1836   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1837     eval ac_val=\$$ac_var
   1838     case $ac_val in #(
   1839     *${as_nl}*)
   1840       case $ac_var in #(
   1841       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1843       esac
   1844       case $ac_var in #(
   1845       _ | IFS | as_nl) ;; #(
   1846       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1847       *) $as_unset $ac_var ;;
   1848       esac ;;
   1849     esac
   1850   done
   1851   (set) 2>&1 |
   1852     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1853     *${as_nl}ac_space=\ *)
   1854       sed -n \
   1855 	"s/'\''/'\''\\\\'\'''\''/g;
   1856 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1857       ;; #(
   1858     *)
   1859       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1860       ;;
   1861     esac |
   1862     sort
   1863 )
   1864     echo
   1865 
   1866     cat <<\_ASBOX
   1867 ## ----------------- ##
   1868 ## Output variables. ##
   1869 ## ----------------- ##
   1870 _ASBOX
   1871     echo
   1872     for ac_var in $ac_subst_vars
   1873     do
   1874       eval ac_val=\$$ac_var
   1875       case $ac_val in
   1876       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1877       esac
   1878       $as_echo "$ac_var='\''$ac_val'\''"
   1879     done | sort
   1880     echo
   1881 
   1882     if test -n "$ac_subst_files"; then
   1883       cat <<\_ASBOX
   1884 ## ------------------- ##
   1885 ## File substitutions. ##
   1886 ## ------------------- ##
   1887 _ASBOX
   1888       echo
   1889       for ac_var in $ac_subst_files
   1890       do
   1891 	eval ac_val=\$$ac_var
   1892 	case $ac_val in
   1893 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894 	esac
   1895 	$as_echo "$ac_var='\''$ac_val'\''"
   1896       done | sort
   1897       echo
   1898     fi
   1899 
   1900     if test -s confdefs.h; then
   1901       cat <<\_ASBOX
   1902 ## ----------- ##
   1903 ## confdefs.h. ##
   1904 ## ----------- ##
   1905 _ASBOX
   1906       echo
   1907       cat confdefs.h
   1908       echo
   1909     fi
   1910     test "$ac_signal" != 0 &&
   1911       $as_echo "$as_me: caught signal $ac_signal"
   1912     $as_echo "$as_me: exit $exit_status"
   1913   } >&5
   1914   rm -f core *.core core.conftest.* &&
   1915     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1916     exit $exit_status
   1917 ' 0
   1918 for ac_signal in 1 2 13 15; do
   1919   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1920 done
   1921 ac_signal=0
   1922 
   1923 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1924 rm -f -r conftest* confdefs.h
   1925 
   1926 # Predefined preprocessor variables.
   1927 
   1928 cat >>confdefs.h <<_ACEOF
   1929 #define PACKAGE_NAME "$PACKAGE_NAME"
   1930 _ACEOF
   1931 
   1932 
   1933 cat >>confdefs.h <<_ACEOF
   1934 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1935 _ACEOF
   1936 
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1940 _ACEOF
   1941 
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_STRING "$PACKAGE_STRING"
   1945 _ACEOF
   1946 
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1950 _ACEOF
   1951 
   1952 
   1953 # Let the site file select an alternate cache file if it wants to.
   1954 # Prefer an explicitly selected file to automatically selected ones.
   1955 ac_site_file1=NONE
   1956 ac_site_file2=NONE
   1957 if test -n "$CONFIG_SITE"; then
   1958   ac_site_file1=$CONFIG_SITE
   1959 elif test "x$prefix" != xNONE; then
   1960   ac_site_file1=$prefix/share/config.site
   1961   ac_site_file2=$prefix/etc/config.site
   1962 else
   1963   ac_site_file1=$ac_default_prefix/share/config.site
   1964   ac_site_file2=$ac_default_prefix/etc/config.site
   1965 fi
   1966 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1967 do
   1968   test "x$ac_site_file" = xNONE && continue
   1969   if test -r "$ac_site_file"; then
   1970     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1971 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1972     sed 's/^/| /' "$ac_site_file" >&5
   1973     . "$ac_site_file"
   1974   fi
   1975 done
   1976 
   1977 if test -r "$cache_file"; then
   1978   # Some versions of bash will fail to source /dev/null (special
   1979   # files actually), so we avoid doing that.
   1980   if test -f "$cache_file"; then
   1981     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1982 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1983     case $cache_file in
   1984       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1985       *)                      . "./$cache_file";;
   1986     esac
   1987   fi
   1988 else
   1989   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1990 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1991   >$cache_file
   1992 fi
   1993 
   1994 # Check that the precious variables saved in the cache have kept the same
   1995 # value.
   1996 ac_cache_corrupted=false
   1997 for ac_var in $ac_precious_vars; do
   1998   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1999   eval ac_new_set=\$ac_env_${ac_var}_set
   2000   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2001   eval ac_new_val=\$ac_env_${ac_var}_value
   2002   case $ac_old_set,$ac_new_set in
   2003     set,)
   2004       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2006       ac_cache_corrupted=: ;;
   2007     ,set)
   2008       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2010       ac_cache_corrupted=: ;;
   2011     ,);;
   2012     *)
   2013       if test "x$ac_old_val" != "x$ac_new_val"; then
   2014 	# differences in whitespace do not lead to failure.
   2015 	ac_old_val_w=`echo x $ac_old_val`
   2016 	ac_new_val_w=`echo x $ac_new_val`
   2017 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2018 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2020 	  ac_cache_corrupted=:
   2021 	else
   2022 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2024 	  eval $ac_var=\$ac_old_val
   2025 	fi
   2026 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2027 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2028 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2029 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2030       fi;;
   2031   esac
   2032   # Pass precious variables to config.status.
   2033   if test "$ac_new_set" = set; then
   2034     case $ac_new_val in
   2035     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2036     *) ac_arg=$ac_var=$ac_new_val ;;
   2037     esac
   2038     case " $ac_configure_args " in
   2039       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2040       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2041     esac
   2042   fi
   2043 done
   2044 if $ac_cache_corrupted; then
   2045   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2047   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2049   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2050 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2051    { (exit 1); exit 1; }; }
   2052 fi
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 ac_ext=c
   2079 ac_cpp='$CPP $CPPFLAGS'
   2080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2083 
   2084 
   2085 
   2086 
   2087 ac_config_headers="$ac_config_headers config.h"
   2088 
   2089 ac_aux_dir=
   2090 for ac_dir in . "$srcdir"/.; do
   2091   if test -f "$ac_dir/install-sh"; then
   2092     ac_aux_dir=$ac_dir
   2093     ac_install_sh="$ac_aux_dir/install-sh -c"
   2094     break
   2095   elif test -f "$ac_dir/install.sh"; then
   2096     ac_aux_dir=$ac_dir
   2097     ac_install_sh="$ac_aux_dir/install.sh -c"
   2098     break
   2099   elif test -f "$ac_dir/shtool"; then
   2100     ac_aux_dir=$ac_dir
   2101     ac_install_sh="$ac_aux_dir/shtool install -c"
   2102     break
   2103   fi
   2104 done
   2105 if test -z "$ac_aux_dir"; then
   2106   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2107 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2108    { (exit 1); exit 1; }; }
   2109 fi
   2110 
   2111 # These three variables are undocumented and unsupported,
   2112 # and are intended to be withdrawn in a future Autoconf release.
   2113 # They can cause serious problems if a builder's source tree is in a directory
   2114 # whose full name contains unusual characters.
   2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2117 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2118 
   2119 
   2120 
   2121 am__api_version='1.11'
   2122 
   2123 # Find a good install program.  We prefer a C program (faster),
   2124 # so one script is as good as another.  But avoid the broken or
   2125 # incompatible versions:
   2126 # SysV /etc/install, /usr/sbin/install
   2127 # SunOS /usr/etc/install
   2128 # IRIX /sbin/install
   2129 # AIX /bin/install
   2130 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2131 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2132 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2133 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2134 # OS/2's system install, which has a completely different semantic
   2135 # ./install, which can be erroneously created by make from ./install.sh.
   2136 # Reject install programs that cannot install multiple files.
   2137 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2138 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2139 if test -z "$INSTALL"; then
   2140 if test "${ac_cv_path_install+set}" = set; then
   2141   $as_echo_n "(cached) " >&6
   2142 else
   2143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2144 for as_dir in $PATH
   2145 do
   2146   IFS=$as_save_IFS
   2147   test -z "$as_dir" && as_dir=.
   2148   # Account for people who put trailing slashes in PATH elements.
   2149 case $as_dir/ in
   2150   ./ | .// | /cC/* | \
   2151   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2152   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2153   /usr/ucb/* ) ;;
   2154   *)
   2155     # OSF1 and SCO ODT 3.0 have their own names for install.
   2156     # Don't use installbsd from OSF since it installs stuff as root
   2157     # by default.
   2158     for ac_prog in ginstall scoinst install; do
   2159       for ac_exec_ext in '' $ac_executable_extensions; do
   2160 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2161 	  if test $ac_prog = install &&
   2162 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2163 	    # AIX install.  It has an incompatible calling convention.
   2164 	    :
   2165 	  elif test $ac_prog = install &&
   2166 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2167 	    # program-specific install script used by HP pwplus--don't use.
   2168 	    :
   2169 	  else
   2170 	    rm -rf conftest.one conftest.two conftest.dir
   2171 	    echo one > conftest.one
   2172 	    echo two > conftest.two
   2173 	    mkdir conftest.dir
   2174 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2175 	      test -s conftest.one && test -s conftest.two &&
   2176 	      test -s conftest.dir/conftest.one &&
   2177 	      test -s conftest.dir/conftest.two
   2178 	    then
   2179 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2180 	      break 3
   2181 	    fi
   2182 	  fi
   2183 	fi
   2184       done
   2185     done
   2186     ;;
   2187 esac
   2188 
   2189 done
   2190 IFS=$as_save_IFS
   2191 
   2192 rm -rf conftest.one conftest.two conftest.dir
   2193 
   2194 fi
   2195   if test "${ac_cv_path_install+set}" = set; then
   2196     INSTALL=$ac_cv_path_install
   2197   else
   2198     # As a last resort, use the slow shell script.  Don't cache a
   2199     # value for INSTALL within a source directory, because that will
   2200     # break other packages using the cache if that directory is
   2201     # removed, or if the value is a relative name.
   2202     INSTALL=$ac_install_sh
   2203   fi
   2204 fi
   2205 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2206 $as_echo "$INSTALL" >&6; }
   2207 
   2208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2209 # It thinks the first close brace ends the variable substitution.
   2210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2211 
   2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2215 
   2216 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2217 $as_echo_n "checking whether build environment is sane... " >&6; }
   2218 # Just in case
   2219 sleep 1
   2220 echo timestamp > conftest.file
   2221 # Reject unsafe characters in $srcdir or the absolute working directory
   2222 # name.  Accept space and tab only in the latter.
   2223 am_lf='
   2224 '
   2225 case `pwd` in
   2226   *[\\\"\#\$\&\'\`$am_lf]*)
   2227     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2228 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2229    { (exit 1); exit 1; }; };;
   2230 esac
   2231 case $srcdir in
   2232   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2233     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2234 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2235    { (exit 1); exit 1; }; };;
   2236 esac
   2237 
   2238 # Do `set' in a subshell so we don't clobber the current shell's
   2239 # arguments.  Must try -L first in case configure is actually a
   2240 # symlink; some systems play weird games with the mod time of symlinks
   2241 # (eg FreeBSD returns the mod time of the symlink's containing
   2242 # directory).
   2243 if (
   2244    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2245    if test "$*" = "X"; then
   2246       # -L didn't work.
   2247       set X `ls -t "$srcdir/configure" conftest.file`
   2248    fi
   2249    rm -f conftest.file
   2250    if test "$*" != "X $srcdir/configure conftest.file" \
   2251       && test "$*" != "X conftest.file $srcdir/configure"; then
   2252 
   2253       # If neither matched, then we have a broken ls.  This can happen
   2254       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2255       # broken ls alias from the environment.  This has actually
   2256       # happened.  Such a system could not be considered "sane".
   2257       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2258 alias in your environment" >&5
   2259 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2260 alias in your environment" >&2;}
   2261    { (exit 1); exit 1; }; }
   2262    fi
   2263 
   2264    test "$2" = conftest.file
   2265    )
   2266 then
   2267    # Ok.
   2268    :
   2269 else
   2270    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2271 Check your system clock" >&5
   2272 $as_echo "$as_me: error: newly created file is older than distributed files!
   2273 Check your system clock" >&2;}
   2274    { (exit 1); exit 1; }; }
   2275 fi
   2276 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2277 $as_echo "yes" >&6; }
   2278 test "$program_prefix" != NONE &&
   2279   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2280 # Use a double $ so make ignores it.
   2281 test "$program_suffix" != NONE &&
   2282   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2283 # Double any \ or $.
   2284 # By default was `s,x,x', remove it if useless.
   2285 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2286 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2287 
   2288 # expand $ac_aux_dir to an absolute path
   2289 am_aux_dir=`cd $ac_aux_dir && pwd`
   2290 
   2291 if test x"${MISSING+set}" != xset; then
   2292   case $am_aux_dir in
   2293   *\ * | *\	*)
   2294     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2295   *)
   2296     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2297   esac
   2298 fi
   2299 # Use eval to expand $SHELL
   2300 if eval "$MISSING --run true"; then
   2301   am_missing_run="$MISSING --run "
   2302 else
   2303   am_missing_run=
   2304   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2305 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2306 fi
   2307 
   2308 if test x"${install_sh}" != xset; then
   2309   case $am_aux_dir in
   2310   *\ * | *\	*)
   2311     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2312   *)
   2313     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2314   esac
   2315 fi
   2316 
   2317 # Installed binaries are usually stripped using `strip' when the user
   2318 # run `make install-strip'.  However `strip' might not be the right
   2319 # tool to use in cross-compilation environments, therefore Automake
   2320 # will honor the `STRIP' environment variable to overrule this program.
   2321 if test "$cross_compiling" != no; then
   2322   if test -n "$ac_tool_prefix"; then
   2323   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2324 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2326 $as_echo_n "checking for $ac_word... " >&6; }
   2327 if test "${ac_cv_prog_STRIP+set}" = set; then
   2328   $as_echo_n "(cached) " >&6
   2329 else
   2330   if test -n "$STRIP"; then
   2331   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2332 else
   2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 for as_dir in $PATH
   2335 do
   2336   IFS=$as_save_IFS
   2337   test -z "$as_dir" && as_dir=.
   2338   for ac_exec_ext in '' $ac_executable_extensions; do
   2339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2340     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2341     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2342     break 2
   2343   fi
   2344 done
   2345 done
   2346 IFS=$as_save_IFS
   2347 
   2348 fi
   2349 fi
   2350 STRIP=$ac_cv_prog_STRIP
   2351 if test -n "$STRIP"; then
   2352   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2353 $as_echo "$STRIP" >&6; }
   2354 else
   2355   { $as_echo "$as_me:$LINENO: result: no" >&5
   2356 $as_echo "no" >&6; }
   2357 fi
   2358 
   2359 
   2360 fi
   2361 if test -z "$ac_cv_prog_STRIP"; then
   2362   ac_ct_STRIP=$STRIP
   2363   # Extract the first word of "strip", so it can be a program name with args.
   2364 set dummy strip; ac_word=$2
   2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2366 $as_echo_n "checking for $ac_word... " >&6; }
   2367 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2368   $as_echo_n "(cached) " >&6
   2369 else
   2370   if test -n "$ac_ct_STRIP"; then
   2371   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2372 else
   2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2374 for as_dir in $PATH
   2375 do
   2376   IFS=$as_save_IFS
   2377   test -z "$as_dir" && as_dir=.
   2378   for ac_exec_ext in '' $ac_executable_extensions; do
   2379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2380     ac_cv_prog_ac_ct_STRIP="strip"
   2381     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2382     break 2
   2383   fi
   2384 done
   2385 done
   2386 IFS=$as_save_IFS
   2387 
   2388 fi
   2389 fi
   2390 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2391 if test -n "$ac_ct_STRIP"; then
   2392   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2393 $as_echo "$ac_ct_STRIP" >&6; }
   2394 else
   2395   { $as_echo "$as_me:$LINENO: result: no" >&5
   2396 $as_echo "no" >&6; }
   2397 fi
   2398 
   2399   if test "x$ac_ct_STRIP" = x; then
   2400     STRIP=":"
   2401   else
   2402     case $cross_compiling:$ac_tool_warned in
   2403 yes:)
   2404 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2406 ac_tool_warned=yes ;;
   2407 esac
   2408     STRIP=$ac_ct_STRIP
   2409   fi
   2410 else
   2411   STRIP="$ac_cv_prog_STRIP"
   2412 fi
   2413 
   2414 fi
   2415 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2416 
   2417 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2418 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2419 if test -z "$MKDIR_P"; then
   2420   if test "${ac_cv_path_mkdir+set}" = set; then
   2421   $as_echo_n "(cached) " >&6
   2422 else
   2423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2424 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2425 do
   2426   IFS=$as_save_IFS
   2427   test -z "$as_dir" && as_dir=.
   2428   for ac_prog in mkdir gmkdir; do
   2429 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2430 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2431 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2432 	     'mkdir (GNU coreutils) '* | \
   2433 	     'mkdir (coreutils) '* | \
   2434 	     'mkdir (fileutils) '4.1*)
   2435 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2436 	       break 3;;
   2437 	   esac
   2438 	 done
   2439        done
   2440 done
   2441 IFS=$as_save_IFS
   2442 
   2443 fi
   2444 
   2445   if test "${ac_cv_path_mkdir+set}" = set; then
   2446     MKDIR_P="$ac_cv_path_mkdir -p"
   2447   else
   2448     # As a last resort, use the slow shell script.  Don't cache a
   2449     # value for MKDIR_P within a source directory, because that will
   2450     # break other packages using the cache if that directory is
   2451     # removed, or if the value is a relative name.
   2452     test -d ./--version && rmdir ./--version
   2453     MKDIR_P="$ac_install_sh -d"
   2454   fi
   2455 fi
   2456 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2457 $as_echo "$MKDIR_P" >&6; }
   2458 
   2459 mkdir_p="$MKDIR_P"
   2460 case $mkdir_p in
   2461   [\\/$]* | ?:[\\/]*) ;;
   2462   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2463 esac
   2464 
   2465 for ac_prog in gawk mawk nawk awk
   2466 do
   2467   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2468 set dummy $ac_prog; ac_word=$2
   2469 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2470 $as_echo_n "checking for $ac_word... " >&6; }
   2471 if test "${ac_cv_prog_AWK+set}" = set; then
   2472   $as_echo_n "(cached) " >&6
   2473 else
   2474   if test -n "$AWK"; then
   2475   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2476 else
   2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2478 for as_dir in $PATH
   2479 do
   2480   IFS=$as_save_IFS
   2481   test -z "$as_dir" && as_dir=.
   2482   for ac_exec_ext in '' $ac_executable_extensions; do
   2483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2484     ac_cv_prog_AWK="$ac_prog"
   2485     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2486     break 2
   2487   fi
   2488 done
   2489 done
   2490 IFS=$as_save_IFS
   2491 
   2492 fi
   2493 fi
   2494 AWK=$ac_cv_prog_AWK
   2495 if test -n "$AWK"; then
   2496   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2497 $as_echo "$AWK" >&6; }
   2498 else
   2499   { $as_echo "$as_me:$LINENO: result: no" >&5
   2500 $as_echo "no" >&6; }
   2501 fi
   2502 
   2503 
   2504   test -n "$AWK" && break
   2505 done
   2506 
   2507 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2508 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2509 set x ${MAKE-make}
   2510 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2511 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2512   $as_echo_n "(cached) " >&6
   2513 else
   2514   cat >conftest.make <<\_ACEOF
   2515 SHELL = /bin/sh
   2516 all:
   2517 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2518 _ACEOF
   2519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2520 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2521   *@@@%%%=?*=@@@%%%*)
   2522     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2523   *)
   2524     eval ac_cv_prog_make_${ac_make}_set=no;;
   2525 esac
   2526 rm -f conftest.make
   2527 fi
   2528 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2529   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2530 $as_echo "yes" >&6; }
   2531   SET_MAKE=
   2532 else
   2533   { $as_echo "$as_me:$LINENO: result: no" >&5
   2534 $as_echo "no" >&6; }
   2535   SET_MAKE="MAKE=${MAKE-make}"
   2536 fi
   2537 
   2538 rm -rf .tst 2>/dev/null
   2539 mkdir .tst 2>/dev/null
   2540 if test -d .tst; then
   2541   am__leading_dot=.
   2542 else
   2543   am__leading_dot=_
   2544 fi
   2545 rmdir .tst 2>/dev/null
   2546 
   2547 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2548   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2549   # is not polluted with repeated "-I."
   2550   am__isrc=' -I$(srcdir)'
   2551   # test to see if srcdir already configured
   2552   if test -f $srcdir/config.status; then
   2553     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2554 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2555    { (exit 1); exit 1; }; }
   2556   fi
   2557 fi
   2558 
   2559 # test whether we have cygpath
   2560 if test -z "$CYGPATH_W"; then
   2561   if (cygpath --version) >/dev/null 2>/dev/null; then
   2562     CYGPATH_W='cygpath -w'
   2563   else
   2564     CYGPATH_W=echo
   2565   fi
   2566 fi
   2567 
   2568 
   2569 # Define the identity of the package.
   2570  PACKAGE='xf86-video-vesa'
   2571  VERSION='2.3.0'
   2572 
   2573 
   2574 cat >>confdefs.h <<_ACEOF
   2575 #define PACKAGE "$PACKAGE"
   2576 _ACEOF
   2577 
   2578 
   2579 cat >>confdefs.h <<_ACEOF
   2580 #define VERSION "$VERSION"
   2581 _ACEOF
   2582 
   2583 # Some tools Automake needs.
   2584 
   2585 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2586 
   2587 
   2588 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2589 
   2590 
   2591 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2592 
   2593 
   2594 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2595 
   2596 
   2597 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2598 
   2599 # We need awk for the "check" target.  The system "awk" is bad on
   2600 # some platforms.
   2601 # Always define AMTAR for backward compatibility.
   2602 
   2603 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2604 
   2605 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2606 
   2607 
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2614 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2615     # Check whether --enable-maintainer-mode was given.
   2616 if test "${enable_maintainer_mode+set}" = set; then
   2617   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2618 else
   2619   USE_MAINTAINER_MODE=no
   2620 fi
   2621 
   2622   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2623 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2624    if test $USE_MAINTAINER_MODE = yes; then
   2625   MAINTAINER_MODE_TRUE=
   2626   MAINTAINER_MODE_FALSE='#'
   2627 else
   2628   MAINTAINER_MODE_TRUE='#'
   2629   MAINTAINER_MODE_FALSE=
   2630 fi
   2631 
   2632   MAINT=$MAINTAINER_MODE_TRUE
   2633 
   2634 
   2635 
   2636 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 DEPDIR="${am__leading_dot}deps"
   2649 
   2650 ac_config_commands="$ac_config_commands depfiles"
   2651 
   2652 
   2653 am_make=${MAKE-make}
   2654 cat > confinc << 'END'
   2655 am__doit:
   2656 	@echo this is the am__doit target
   2657 .PHONY: am__doit
   2658 END
   2659 # If we don't find an include directive, just comment out the code.
   2660 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2661 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2662 am__include="#"
   2663 am__quote=
   2664 _am_result=none
   2665 # First try GNU make style include.
   2666 echo "include confinc" > confmf
   2667 # Ignore all kinds of additional output from `make'.
   2668 case `$am_make -s -f confmf 2> /dev/null` in #(
   2669 *the\ am__doit\ target*)
   2670   am__include=include
   2671   am__quote=
   2672   _am_result=GNU
   2673   ;;
   2674 esac
   2675 # Now try BSD make style include.
   2676 if test "$am__include" = "#"; then
   2677    echo '.include "confinc"' > confmf
   2678    case `$am_make -s -f confmf 2> /dev/null` in #(
   2679    *the\ am__doit\ target*)
   2680      am__include=.include
   2681      am__quote="\""
   2682      _am_result=BSD
   2683      ;;
   2684    esac
   2685 fi
   2686 
   2687 
   2688 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2689 $as_echo "$_am_result" >&6; }
   2690 rm -f confinc confmf
   2691 
   2692 # Check whether --enable-dependency-tracking was given.
   2693 if test "${enable_dependency_tracking+set}" = set; then
   2694   enableval=$enable_dependency_tracking;
   2695 fi
   2696 
   2697 if test "x$enable_dependency_tracking" != xno; then
   2698   am_depcomp="$ac_aux_dir/depcomp"
   2699   AMDEPBACKSLASH='\'
   2700 fi
   2701  if test "x$enable_dependency_tracking" != xno; then
   2702   AMDEP_TRUE=
   2703   AMDEP_FALSE='#'
   2704 else
   2705   AMDEP_TRUE='#'
   2706   AMDEP_FALSE=
   2707 fi
   2708 
   2709 
   2710 ac_ext=c
   2711 ac_cpp='$CPP $CPPFLAGS'
   2712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2715 if test -n "$ac_tool_prefix"; then
   2716   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2717 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2719 $as_echo_n "checking for $ac_word... " >&6; }
   2720 if test "${ac_cv_prog_CC+set}" = set; then
   2721   $as_echo_n "(cached) " >&6
   2722 else
   2723   if test -n "$CC"; then
   2724   ac_cv_prog_CC="$CC" # Let the user override the test.
   2725 else
   2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2727 for as_dir in $PATH
   2728 do
   2729   IFS=$as_save_IFS
   2730   test -z "$as_dir" && as_dir=.
   2731   for ac_exec_ext in '' $ac_executable_extensions; do
   2732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2733     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2734     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2735     break 2
   2736   fi
   2737 done
   2738 done
   2739 IFS=$as_save_IFS
   2740 
   2741 fi
   2742 fi
   2743 CC=$ac_cv_prog_CC
   2744 if test -n "$CC"; then
   2745   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2746 $as_echo "$CC" >&6; }
   2747 else
   2748   { $as_echo "$as_me:$LINENO: result: no" >&5
   2749 $as_echo "no" >&6; }
   2750 fi
   2751 
   2752 
   2753 fi
   2754 if test -z "$ac_cv_prog_CC"; then
   2755   ac_ct_CC=$CC
   2756   # Extract the first word of "gcc", so it can be a program name with args.
   2757 set dummy gcc; ac_word=$2
   2758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2759 $as_echo_n "checking for $ac_word... " >&6; }
   2760 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2761   $as_echo_n "(cached) " >&6
   2762 else
   2763   if test -n "$ac_ct_CC"; then
   2764   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2765 else
   2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2767 for as_dir in $PATH
   2768 do
   2769   IFS=$as_save_IFS
   2770   test -z "$as_dir" && as_dir=.
   2771   for ac_exec_ext in '' $ac_executable_extensions; do
   2772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2773     ac_cv_prog_ac_ct_CC="gcc"
   2774     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2775     break 2
   2776   fi
   2777 done
   2778 done
   2779 IFS=$as_save_IFS
   2780 
   2781 fi
   2782 fi
   2783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2784 if test -n "$ac_ct_CC"; then
   2785   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2786 $as_echo "$ac_ct_CC" >&6; }
   2787 else
   2788   { $as_echo "$as_me:$LINENO: result: no" >&5
   2789 $as_echo "no" >&6; }
   2790 fi
   2791 
   2792   if test "x$ac_ct_CC" = x; then
   2793     CC=""
   2794   else
   2795     case $cross_compiling:$ac_tool_warned in
   2796 yes:)
   2797 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2799 ac_tool_warned=yes ;;
   2800 esac
   2801     CC=$ac_ct_CC
   2802   fi
   2803 else
   2804   CC="$ac_cv_prog_CC"
   2805 fi
   2806 
   2807 if test -z "$CC"; then
   2808           if test -n "$ac_tool_prefix"; then
   2809     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2810 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2812 $as_echo_n "checking for $ac_word... " >&6; }
   2813 if test "${ac_cv_prog_CC+set}" = set; then
   2814   $as_echo_n "(cached) " >&6
   2815 else
   2816   if test -n "$CC"; then
   2817   ac_cv_prog_CC="$CC" # Let the user override the test.
   2818 else
   2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2820 for as_dir in $PATH
   2821 do
   2822   IFS=$as_save_IFS
   2823   test -z "$as_dir" && as_dir=.
   2824   for ac_exec_ext in '' $ac_executable_extensions; do
   2825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2826     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2827     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2828     break 2
   2829   fi
   2830 done
   2831 done
   2832 IFS=$as_save_IFS
   2833 
   2834 fi
   2835 fi
   2836 CC=$ac_cv_prog_CC
   2837 if test -n "$CC"; then
   2838   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2839 $as_echo "$CC" >&6; }
   2840 else
   2841   { $as_echo "$as_me:$LINENO: result: no" >&5
   2842 $as_echo "no" >&6; }
   2843 fi
   2844 
   2845 
   2846   fi
   2847 fi
   2848 if test -z "$CC"; then
   2849   # Extract the first word of "cc", so it can be a program name with args.
   2850 set dummy cc; ac_word=$2
   2851 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2852 $as_echo_n "checking for $ac_word... " >&6; }
   2853 if test "${ac_cv_prog_CC+set}" = set; then
   2854   $as_echo_n "(cached) " >&6
   2855 else
   2856   if test -n "$CC"; then
   2857   ac_cv_prog_CC="$CC" # Let the user override the test.
   2858 else
   2859   ac_prog_rejected=no
   2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 for as_dir in $PATH
   2862 do
   2863   IFS=$as_save_IFS
   2864   test -z "$as_dir" && as_dir=.
   2865   for ac_exec_ext in '' $ac_executable_extensions; do
   2866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2867     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2868        ac_prog_rejected=yes
   2869        continue
   2870      fi
   2871     ac_cv_prog_CC="cc"
   2872     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2873     break 2
   2874   fi
   2875 done
   2876 done
   2877 IFS=$as_save_IFS
   2878 
   2879 if test $ac_prog_rejected = yes; then
   2880   # We found a bogon in the path, so make sure we never use it.
   2881   set dummy $ac_cv_prog_CC
   2882   shift
   2883   if test $# != 0; then
   2884     # We chose a different compiler from the bogus one.
   2885     # However, it has the same basename, so the bogon will be chosen
   2886     # first if we set CC to just the basename; use the full file name.
   2887     shift
   2888     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2889   fi
   2890 fi
   2891 fi
   2892 fi
   2893 CC=$ac_cv_prog_CC
   2894 if test -n "$CC"; then
   2895   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2896 $as_echo "$CC" >&6; }
   2897 else
   2898   { $as_echo "$as_me:$LINENO: result: no" >&5
   2899 $as_echo "no" >&6; }
   2900 fi
   2901 
   2902 
   2903 fi
   2904 if test -z "$CC"; then
   2905   if test -n "$ac_tool_prefix"; then
   2906   for ac_prog in cl.exe
   2907   do
   2908     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2910 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2911 $as_echo_n "checking for $ac_word... " >&6; }
   2912 if test "${ac_cv_prog_CC+set}" = set; then
   2913   $as_echo_n "(cached) " >&6
   2914 else
   2915   if test -n "$CC"; then
   2916   ac_cv_prog_CC="$CC" # Let the user override the test.
   2917 else
   2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2919 for as_dir in $PATH
   2920 do
   2921   IFS=$as_save_IFS
   2922   test -z "$as_dir" && as_dir=.
   2923   for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2925     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2926     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930 done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi
   2934 fi
   2935 CC=$ac_cv_prog_CC
   2936 if test -n "$CC"; then
   2937   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2938 $as_echo "$CC" >&6; }
   2939 else
   2940   { $as_echo "$as_me:$LINENO: result: no" >&5
   2941 $as_echo "no" >&6; }
   2942 fi
   2943 
   2944 
   2945     test -n "$CC" && break
   2946   done
   2947 fi
   2948 if test -z "$CC"; then
   2949   ac_ct_CC=$CC
   2950   for ac_prog in cl.exe
   2951 do
   2952   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2953 set dummy $ac_prog; ac_word=$2
   2954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2955 $as_echo_n "checking for $ac_word... " >&6; }
   2956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2957   $as_echo_n "(cached) " >&6
   2958 else
   2959   if test -n "$ac_ct_CC"; then
   2960   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2961 else
   2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967   for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2969     ac_cv_prog_ac_ct_CC="$ac_prog"
   2970     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974 done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2980 if test -n "$ac_ct_CC"; then
   2981   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2982 $as_echo "$ac_ct_CC" >&6; }
   2983 else
   2984   { $as_echo "$as_me:$LINENO: result: no" >&5
   2985 $as_echo "no" >&6; }
   2986 fi
   2987 
   2988 
   2989   test -n "$ac_ct_CC" && break
   2990 done
   2991 
   2992   if test "x$ac_ct_CC" = x; then
   2993     CC=""
   2994   else
   2995     case $cross_compiling:$ac_tool_warned in
   2996 yes:)
   2997 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2999 ac_tool_warned=yes ;;
   3000 esac
   3001     CC=$ac_ct_CC
   3002   fi
   3003 fi
   3004 
   3005 fi
   3006 
   3007 
   3008 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3010 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3011 See \`config.log' for more details." >&5
   3012 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3013 See \`config.log' for more details." >&2;}
   3014    { (exit 1); exit 1; }; }; }
   3015 
   3016 # Provide some information about the compiler.
   3017 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3018 set X $ac_compile
   3019 ac_compiler=$2
   3020 { (ac_try="$ac_compiler --version >&5"
   3021 case "(($ac_try" in
   3022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3023   *) ac_try_echo=$ac_try;;
   3024 esac
   3025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3026 $as_echo "$ac_try_echo") >&5
   3027   (eval "$ac_compiler --version >&5") 2>&5
   3028   ac_status=$?
   3029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3030   (exit $ac_status); }
   3031 { (ac_try="$ac_compiler -v >&5"
   3032 case "(($ac_try" in
   3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3034   *) ac_try_echo=$ac_try;;
   3035 esac
   3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3037 $as_echo "$ac_try_echo") >&5
   3038   (eval "$ac_compiler -v >&5") 2>&5
   3039   ac_status=$?
   3040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3041   (exit $ac_status); }
   3042 { (ac_try="$ac_compiler -V >&5"
   3043 case "(($ac_try" in
   3044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3045   *) ac_try_echo=$ac_try;;
   3046 esac
   3047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3048 $as_echo "$ac_try_echo") >&5
   3049   (eval "$ac_compiler -V >&5") 2>&5
   3050   ac_status=$?
   3051   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3052   (exit $ac_status); }
   3053 
   3054 cat >conftest.$ac_ext <<_ACEOF
   3055 /* confdefs.h.  */
   3056 _ACEOF
   3057 cat confdefs.h >>conftest.$ac_ext
   3058 cat >>conftest.$ac_ext <<_ACEOF
   3059 /* end confdefs.h.  */
   3060 
   3061 int
   3062 main ()
   3063 {
   3064 
   3065   ;
   3066   return 0;
   3067 }
   3068 _ACEOF
   3069 ac_clean_files_save=$ac_clean_files
   3070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3071 # Try to create an executable without -o first, disregard a.out.
   3072 # It will help us diagnose broken compilers, and finding out an intuition
   3073 # of exeext.
   3074 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3075 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3076 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3077 
   3078 # The possible output files:
   3079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3080 
   3081 ac_rmfiles=
   3082 for ac_file in $ac_files
   3083 do
   3084   case $ac_file in
   3085     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3086     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3087   esac
   3088 done
   3089 rm -f $ac_rmfiles
   3090 
   3091 if { (ac_try="$ac_link_default"
   3092 case "(($ac_try" in
   3093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3094   *) ac_try_echo=$ac_try;;
   3095 esac
   3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3097 $as_echo "$ac_try_echo") >&5
   3098   (eval "$ac_link_default") 2>&5
   3099   ac_status=$?
   3100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3101   (exit $ac_status); }; then
   3102   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3104 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3105 # so that the user can short-circuit this test for compilers unknown to
   3106 # Autoconf.
   3107 for ac_file in $ac_files ''
   3108 do
   3109   test -f "$ac_file" || continue
   3110   case $ac_file in
   3111     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3112 	;;
   3113     [ab].out )
   3114 	# We found the default executable, but exeext='' is most
   3115 	# certainly right.
   3116 	break;;
   3117     *.* )
   3118         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3119 	then :; else
   3120 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3121 	fi
   3122 	# We set ac_cv_exeext here because the later test for it is not
   3123 	# safe: cross compilers may not add the suffix if given an `-o'
   3124 	# argument, so we may need to know it at that point already.
   3125 	# Even if this section looks crufty: it has the advantage of
   3126 	# actually working.
   3127 	break;;
   3128     * )
   3129 	break;;
   3130   esac
   3131 done
   3132 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3133 
   3134 else
   3135   ac_file=''
   3136 fi
   3137 
   3138 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3139 $as_echo "$ac_file" >&6; }
   3140 if test -z "$ac_file"; then
   3141   $as_echo "$as_me: failed program was:" >&5
   3142 sed 's/^/| /' conftest.$ac_ext >&5
   3143 
   3144 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3146 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3147 See \`config.log' for more details." >&5
   3148 $as_echo "$as_me: error: C compiler cannot create executables
   3149 See \`config.log' for more details." >&2;}
   3150    { (exit 77); exit 77; }; }; }
   3151 fi
   3152 
   3153 ac_exeext=$ac_cv_exeext
   3154 
   3155 # Check that the compiler produces executables we can run.  If not, either
   3156 # the compiler is broken, or we cross compile.
   3157 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3158 $as_echo_n "checking whether the C compiler works... " >&6; }
   3159 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3160 # If not cross compiling, check that we can run a simple program.
   3161 if test "$cross_compiling" != yes; then
   3162   if { ac_try='./$ac_file'
   3163   { (case "(($ac_try" in
   3164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3165   *) ac_try_echo=$ac_try;;
   3166 esac
   3167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3168 $as_echo "$ac_try_echo") >&5
   3169   (eval "$ac_try") 2>&5
   3170   ac_status=$?
   3171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3172   (exit $ac_status); }; }; then
   3173     cross_compiling=no
   3174   else
   3175     if test "$cross_compiling" = maybe; then
   3176 	cross_compiling=yes
   3177     else
   3178 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3180 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3181 If you meant to cross compile, use \`--host'.
   3182 See \`config.log' for more details." >&5
   3183 $as_echo "$as_me: error: cannot run C compiled programs.
   3184 If you meant to cross compile, use \`--host'.
   3185 See \`config.log' for more details." >&2;}
   3186    { (exit 1); exit 1; }; }; }
   3187     fi
   3188   fi
   3189 fi
   3190 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3191 $as_echo "yes" >&6; }
   3192 
   3193 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3194 ac_clean_files=$ac_clean_files_save
   3195 # Check that the compiler produces executables we can run.  If not, either
   3196 # the compiler is broken, or we cross compile.
   3197 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3198 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3199 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3200 $as_echo "$cross_compiling" >&6; }
   3201 
   3202 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3203 $as_echo_n "checking for suffix of executables... " >&6; }
   3204 if { (ac_try="$ac_link"
   3205 case "(($ac_try" in
   3206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3207   *) ac_try_echo=$ac_try;;
   3208 esac
   3209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3210 $as_echo "$ac_try_echo") >&5
   3211   (eval "$ac_link") 2>&5
   3212   ac_status=$?
   3213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3214   (exit $ac_status); }; then
   3215   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3216 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3217 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3218 # `rm'.
   3219 for ac_file in conftest.exe conftest conftest.*; do
   3220   test -f "$ac_file" || continue
   3221   case $ac_file in
   3222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3223     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3224 	  break;;
   3225     * ) break;;
   3226   esac
   3227 done
   3228 else
   3229   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3231 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3232 See \`config.log' for more details." >&5
   3233 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3234 See \`config.log' for more details." >&2;}
   3235    { (exit 1); exit 1; }; }; }
   3236 fi
   3237 
   3238 rm -f conftest$ac_cv_exeext
   3239 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3240 $as_echo "$ac_cv_exeext" >&6; }
   3241 
   3242 rm -f conftest.$ac_ext
   3243 EXEEXT=$ac_cv_exeext
   3244 ac_exeext=$EXEEXT
   3245 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3246 $as_echo_n "checking for suffix of object files... " >&6; }
   3247 if test "${ac_cv_objext+set}" = set; then
   3248   $as_echo_n "(cached) " >&6
   3249 else
   3250   cat >conftest.$ac_ext <<_ACEOF
   3251 /* confdefs.h.  */
   3252 _ACEOF
   3253 cat confdefs.h >>conftest.$ac_ext
   3254 cat >>conftest.$ac_ext <<_ACEOF
   3255 /* end confdefs.h.  */
   3256 
   3257 int
   3258 main ()
   3259 {
   3260 
   3261   ;
   3262   return 0;
   3263 }
   3264 _ACEOF
   3265 rm -f conftest.o conftest.obj
   3266 if { (ac_try="$ac_compile"
   3267 case "(($ac_try" in
   3268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3269   *) ac_try_echo=$ac_try;;
   3270 esac
   3271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3272 $as_echo "$ac_try_echo") >&5
   3273   (eval "$ac_compile") 2>&5
   3274   ac_status=$?
   3275   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3276   (exit $ac_status); }; then
   3277   for ac_file in conftest.o conftest.obj conftest.*; do
   3278   test -f "$ac_file" || continue;
   3279   case $ac_file in
   3280     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3281     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3282        break;;
   3283   esac
   3284 done
   3285 else
   3286   $as_echo "$as_me: failed program was:" >&5
   3287 sed 's/^/| /' conftest.$ac_ext >&5
   3288 
   3289 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3291 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3292 See \`config.log' for more details." >&5
   3293 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3294 See \`config.log' for more details." >&2;}
   3295    { (exit 1); exit 1; }; }; }
   3296 fi
   3297 
   3298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3299 fi
   3300 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3301 $as_echo "$ac_cv_objext" >&6; }
   3302 OBJEXT=$ac_cv_objext
   3303 ac_objext=$OBJEXT
   3304 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3306 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3307   $as_echo_n "(cached) " >&6
   3308 else
   3309   cat >conftest.$ac_ext <<_ACEOF
   3310 /* confdefs.h.  */
   3311 _ACEOF
   3312 cat confdefs.h >>conftest.$ac_ext
   3313 cat >>conftest.$ac_ext <<_ACEOF
   3314 /* end confdefs.h.  */
   3315 
   3316 int
   3317 main ()
   3318 {
   3319 #ifndef __GNUC__
   3320        choke me
   3321 #endif
   3322 
   3323   ;
   3324   return 0;
   3325 }
   3326 _ACEOF
   3327 rm -f conftest.$ac_objext
   3328 if { (ac_try="$ac_compile"
   3329 case "(($ac_try" in
   3330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3331   *) ac_try_echo=$ac_try;;
   3332 esac
   3333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3334 $as_echo "$ac_try_echo") >&5
   3335   (eval "$ac_compile") 2>conftest.er1
   3336   ac_status=$?
   3337   grep -v '^ *+' conftest.er1 >conftest.err
   3338   rm -f conftest.er1
   3339   cat conftest.err >&5
   3340   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3341   (exit $ac_status); } && {
   3342 	 test -z "$ac_c_werror_flag" ||
   3343 	 test ! -s conftest.err
   3344        } && test -s conftest.$ac_objext; then
   3345   ac_compiler_gnu=yes
   3346 else
   3347   $as_echo "$as_me: failed program was:" >&5
   3348 sed 's/^/| /' conftest.$ac_ext >&5
   3349 
   3350 	ac_compiler_gnu=no
   3351 fi
   3352 
   3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3355 
   3356 fi
   3357 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3359 if test $ac_compiler_gnu = yes; then
   3360   GCC=yes
   3361 else
   3362   GCC=
   3363 fi
   3364 ac_test_CFLAGS=${CFLAGS+set}
   3365 ac_save_CFLAGS=$CFLAGS
   3366 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3368 if test "${ac_cv_prog_cc_g+set}" = set; then
   3369   $as_echo_n "(cached) " >&6
   3370 else
   3371   ac_save_c_werror_flag=$ac_c_werror_flag
   3372    ac_c_werror_flag=yes
   3373    ac_cv_prog_cc_g=no
   3374    CFLAGS="-g"
   3375    cat >conftest.$ac_ext <<_ACEOF
   3376 /* confdefs.h.  */
   3377 _ACEOF
   3378 cat confdefs.h >>conftest.$ac_ext
   3379 cat >>conftest.$ac_ext <<_ACEOF
   3380 /* end confdefs.h.  */
   3381 
   3382 int
   3383 main ()
   3384 {
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 rm -f conftest.$ac_objext
   3391 if { (ac_try="$ac_compile"
   3392 case "(($ac_try" in
   3393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3394   *) ac_try_echo=$ac_try;;
   3395 esac
   3396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3397 $as_echo "$ac_try_echo") >&5
   3398   (eval "$ac_compile") 2>conftest.er1
   3399   ac_status=$?
   3400   grep -v '^ *+' conftest.er1 >conftest.err
   3401   rm -f conftest.er1
   3402   cat conftest.err >&5
   3403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3404   (exit $ac_status); } && {
   3405 	 test -z "$ac_c_werror_flag" ||
   3406 	 test ! -s conftest.err
   3407        } && test -s conftest.$ac_objext; then
   3408   ac_cv_prog_cc_g=yes
   3409 else
   3410   $as_echo "$as_me: failed program was:" >&5
   3411 sed 's/^/| /' conftest.$ac_ext >&5
   3412 
   3413 	CFLAGS=""
   3414       cat >conftest.$ac_ext <<_ACEOF
   3415 /* confdefs.h.  */
   3416 _ACEOF
   3417 cat confdefs.h >>conftest.$ac_ext
   3418 cat >>conftest.$ac_ext <<_ACEOF
   3419 /* end confdefs.h.  */
   3420 
   3421 int
   3422 main ()
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 rm -f conftest.$ac_objext
   3430 if { (ac_try="$ac_compile"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo") >&5
   3437   (eval "$ac_compile") 2>conftest.er1
   3438   ac_status=$?
   3439   grep -v '^ *+' conftest.er1 >conftest.err
   3440   rm -f conftest.er1
   3441   cat conftest.err >&5
   3442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3443   (exit $ac_status); } && {
   3444 	 test -z "$ac_c_werror_flag" ||
   3445 	 test ! -s conftest.err
   3446        } && test -s conftest.$ac_objext; then
   3447   :
   3448 else
   3449   $as_echo "$as_me: failed program was:" >&5
   3450 sed 's/^/| /' conftest.$ac_ext >&5
   3451 
   3452 	ac_c_werror_flag=$ac_save_c_werror_flag
   3453 	 CFLAGS="-g"
   3454 	 cat >conftest.$ac_ext <<_ACEOF
   3455 /* confdefs.h.  */
   3456 _ACEOF
   3457 cat confdefs.h >>conftest.$ac_ext
   3458 cat >>conftest.$ac_ext <<_ACEOF
   3459 /* end confdefs.h.  */
   3460 
   3461 int
   3462 main ()
   3463 {
   3464 
   3465   ;
   3466   return 0;
   3467 }
   3468 _ACEOF
   3469 rm -f conftest.$ac_objext
   3470 if { (ac_try="$ac_compile"
   3471 case "(($ac_try" in
   3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3473   *) ac_try_echo=$ac_try;;
   3474 esac
   3475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3476 $as_echo "$ac_try_echo") >&5
   3477   (eval "$ac_compile") 2>conftest.er1
   3478   ac_status=$?
   3479   grep -v '^ *+' conftest.er1 >conftest.err
   3480   rm -f conftest.er1
   3481   cat conftest.err >&5
   3482   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3483   (exit $ac_status); } && {
   3484 	 test -z "$ac_c_werror_flag" ||
   3485 	 test ! -s conftest.err
   3486        } && test -s conftest.$ac_objext; then
   3487   ac_cv_prog_cc_g=yes
   3488 else
   3489   $as_echo "$as_me: failed program was:" >&5
   3490 sed 's/^/| /' conftest.$ac_ext >&5
   3491 
   3492 
   3493 fi
   3494 
   3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3496 fi
   3497 
   3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3499 fi
   3500 
   3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3502    ac_c_werror_flag=$ac_save_c_werror_flag
   3503 fi
   3504 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3505 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3506 if test "$ac_test_CFLAGS" = set; then
   3507   CFLAGS=$ac_save_CFLAGS
   3508 elif test $ac_cv_prog_cc_g = yes; then
   3509   if test "$GCC" = yes; then
   3510     CFLAGS="-g -O2"
   3511   else
   3512     CFLAGS="-g"
   3513   fi
   3514 else
   3515   if test "$GCC" = yes; then
   3516     CFLAGS="-O2"
   3517   else
   3518     CFLAGS=
   3519   fi
   3520 fi
   3521 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3522 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3523 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3524   $as_echo_n "(cached) " >&6
   3525 else
   3526   ac_cv_prog_cc_c89=no
   3527 ac_save_CC=$CC
   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 #include <stdarg.h>
   3535 #include <stdio.h>
   3536 #include <sys/types.h>
   3537 #include <sys/stat.h>
   3538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3539 struct buf { int x; };
   3540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3541 static char *e (p, i)
   3542      char **p;
   3543      int i;
   3544 {
   3545   return p[i];
   3546 }
   3547 static char *f (char * (*g) (char **, int), char **p, ...)
   3548 {
   3549   char *s;
   3550   va_list v;
   3551   va_start (v,p);
   3552   s = g (p, va_arg (v,int));
   3553   va_end (v);
   3554   return s;
   3555 }
   3556 
   3557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3558    function prototypes and stuff, but not '\xHH' hex character constants.
   3559    These don't provoke an error unfortunately, instead are silently treated
   3560    as 'x'.  The following induces an error, until -std is added to get
   3561    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3562    array size at least.  It's necessary to write '\x00'==0 to get something
   3563    that's true only with -std.  */
   3564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3565 
   3566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3567    inside strings and character constants.  */
   3568 #define FOO(x) 'x'
   3569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3570 
   3571 int test (int i, double x);
   3572 struct s1 {int (*f) (int a);};
   3573 struct s2 {int (*f) (double a);};
   3574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3575 int argc;
   3576 char **argv;
   3577 int
   3578 main ()
   3579 {
   3580 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3586 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3587 do
   3588   CC="$ac_save_CC $ac_arg"
   3589   rm -f conftest.$ac_objext
   3590 if { (ac_try="$ac_compile"
   3591 case "(($ac_try" in
   3592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3593   *) ac_try_echo=$ac_try;;
   3594 esac
   3595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3596 $as_echo "$ac_try_echo") >&5
   3597   (eval "$ac_compile") 2>conftest.er1
   3598   ac_status=$?
   3599   grep -v '^ *+' conftest.er1 >conftest.err
   3600   rm -f conftest.er1
   3601   cat conftest.err >&5
   3602   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3603   (exit $ac_status); } && {
   3604 	 test -z "$ac_c_werror_flag" ||
   3605 	 test ! -s conftest.err
   3606        } && test -s conftest.$ac_objext; then
   3607   ac_cv_prog_cc_c89=$ac_arg
   3608 else
   3609   $as_echo "$as_me: failed program was:" >&5
   3610 sed 's/^/| /' conftest.$ac_ext >&5
   3611 
   3612 
   3613 fi
   3614 
   3615 rm -f core conftest.err conftest.$ac_objext
   3616   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3617 done
   3618 rm -f conftest.$ac_ext
   3619 CC=$ac_save_CC
   3620 
   3621 fi
   3622 # AC_CACHE_VAL
   3623 case "x$ac_cv_prog_cc_c89" in
   3624   x)
   3625     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3626 $as_echo "none needed" >&6; } ;;
   3627   xno)
   3628     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3629 $as_echo "unsupported" >&6; } ;;
   3630   *)
   3631     CC="$CC $ac_cv_prog_cc_c89"
   3632     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3633 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3634 esac
   3635 
   3636 
   3637 ac_ext=c
   3638 ac_cpp='$CPP $CPPFLAGS'
   3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3642 
   3643 depcc="$CC"   am_compiler_list=
   3644 
   3645 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3646 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3647 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3651   # We make a subdir and do the tests there.  Otherwise we can end up
   3652   # making bogus files that we don't know about and never remove.  For
   3653   # instance it was reported that on HP-UX the gcc test will end up
   3654   # making a dummy file named `D' -- because `-MD' means `put the output
   3655   # in D'.
   3656   mkdir conftest.dir
   3657   # Copy depcomp to subdir because otherwise we won't find it if we're
   3658   # using a relative directory.
   3659   cp "$am_depcomp" conftest.dir
   3660   cd conftest.dir
   3661   # We will build objects and dependencies in a subdirectory because
   3662   # it helps to detect inapplicable dependency modes.  For instance
   3663   # both Tru64's cc and ICC support -MD to output dependencies as a
   3664   # side effect of compilation, but ICC will put the dependencies in
   3665   # the current directory while Tru64 will put them in the object
   3666   # directory.
   3667   mkdir sub
   3668 
   3669   am_cv_CC_dependencies_compiler_type=none
   3670   if test "$am_compiler_list" = ""; then
   3671      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3672   fi
   3673   am__universal=false
   3674   case " $depcc " in #(
   3675      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3676      esac
   3677 
   3678   for depmode in $am_compiler_list; do
   3679     # Setup a source with many dependencies, because some compilers
   3680     # like to wrap large dependency lists on column 80 (with \), and
   3681     # we should not choose a depcomp mode which is confused by this.
   3682     #
   3683     # We need to recreate these files for each test, as the compiler may
   3684     # overwrite some of them when testing with obscure command lines.
   3685     # This happens at least with the AIX C compiler.
   3686     : > sub/conftest.c
   3687     for i in 1 2 3 4 5 6; do
   3688       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3689       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3690       # Solaris 8's {/usr,}/bin/sh.
   3691       touch sub/conftst$i.h
   3692     done
   3693     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3694 
   3695     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3696     # mode.  It turns out that the SunPro C++ compiler does not properly
   3697     # handle `-M -o', and we need to detect this.  Also, some Intel
   3698     # versions had trouble with output in subdirs
   3699     am__obj=sub/conftest.${OBJEXT-o}
   3700     am__minus_obj="-o $am__obj"
   3701     case $depmode in
   3702     gcc)
   3703       # This depmode causes a compiler race in universal mode.
   3704       test "$am__universal" = false || continue
   3705       ;;
   3706     nosideeffect)
   3707       # after this tag, mechanisms are not by side-effect, so they'll
   3708       # only be used when explicitly requested
   3709       if test "x$enable_dependency_tracking" = xyes; then
   3710 	continue
   3711       else
   3712 	break
   3713       fi
   3714       ;;
   3715     msvisualcpp | msvcmsys)
   3716       # This compiler won't grok `-c -o', but also, the minuso test has
   3717       # not run yet.  These depmodes are late enough in the game, and
   3718       # so weak that their functioning should not be impacted.
   3719       am__obj=conftest.${OBJEXT-o}
   3720       am__minus_obj=
   3721       ;;
   3722     none) break ;;
   3723     esac
   3724     if depmode=$depmode \
   3725        source=sub/conftest.c object=$am__obj \
   3726        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3727        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3728          >/dev/null 2>conftest.err &&
   3729        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3730        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3731        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3732        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3733       # icc doesn't choke on unknown options, it will just issue warnings
   3734       # or remarks (even with -Werror).  So we grep stderr for any message
   3735       # that says an option was ignored or not supported.
   3736       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3737       #   icc: Command line warning: ignoring option '-M'; no argument required
   3738       # The diagnosis changed in icc 8.0:
   3739       #   icc: Command line remark: option '-MP' not supported
   3740       if (grep 'ignoring option' conftest.err ||
   3741           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3742         am_cv_CC_dependencies_compiler_type=$depmode
   3743         break
   3744       fi
   3745     fi
   3746   done
   3747 
   3748   cd ..
   3749   rm -rf conftest.dir
   3750 else
   3751   am_cv_CC_dependencies_compiler_type=none
   3752 fi
   3753 
   3754 fi
   3755 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3756 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3757 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3758 
   3759  if
   3760   test "x$enable_dependency_tracking" != xno \
   3761   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3762   am__fastdepCC_TRUE=
   3763   am__fastdepCC_FALSE='#'
   3764 else
   3765   am__fastdepCC_TRUE='#'
   3766   am__fastdepCC_FALSE=
   3767 fi
   3768 
   3769 
   3770 
   3771 ac_ext=c
   3772 ac_cpp='$CPP $CPPFLAGS'
   3773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3776 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3777 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3778 # On Suns, sometimes $CPP names a directory.
   3779 if test -n "$CPP" && test -d "$CPP"; then
   3780   CPP=
   3781 fi
   3782 if test -z "$CPP"; then
   3783   if test "${ac_cv_prog_CPP+set}" = set; then
   3784   $as_echo_n "(cached) " >&6
   3785 else
   3786       # Double quotes because CPP needs to be expanded
   3787     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3788     do
   3789       ac_preproc_ok=false
   3790 for ac_c_preproc_warn_flag in '' yes
   3791 do
   3792   # Use a header file that comes with gcc, so configuring glibc
   3793   # with a fresh cross-compiler works.
   3794   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3795   # <limits.h> exists even on freestanding compilers.
   3796   # On the NeXT, cc -E runs the code through the compiler's parser,
   3797   # not just through cpp. "Syntax error" is here to catch this case.
   3798   cat >conftest.$ac_ext <<_ACEOF
   3799 /* confdefs.h.  */
   3800 _ACEOF
   3801 cat confdefs.h >>conftest.$ac_ext
   3802 cat >>conftest.$ac_ext <<_ACEOF
   3803 /* end confdefs.h.  */
   3804 #ifdef __STDC__
   3805 # include <limits.h>
   3806 #else
   3807 # include <assert.h>
   3808 #endif
   3809 		     Syntax error
   3810 _ACEOF
   3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3812 case "(($ac_try" in
   3813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3814   *) ac_try_echo=$ac_try;;
   3815 esac
   3816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3817 $as_echo "$ac_try_echo") >&5
   3818   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3819   ac_status=$?
   3820   grep -v '^ *+' conftest.er1 >conftest.err
   3821   rm -f conftest.er1
   3822   cat conftest.err >&5
   3823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3824   (exit $ac_status); } >/dev/null && {
   3825 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3826 	 test ! -s conftest.err
   3827        }; then
   3828   :
   3829 else
   3830   $as_echo "$as_me: failed program was:" >&5
   3831 sed 's/^/| /' conftest.$ac_ext >&5
   3832 
   3833   # Broken: fails on valid input.
   3834 continue
   3835 fi
   3836 
   3837 rm -f conftest.err conftest.$ac_ext
   3838 
   3839   # OK, works on sane cases.  Now check whether nonexistent headers
   3840   # can be detected and how.
   3841   cat >conftest.$ac_ext <<_ACEOF
   3842 /* confdefs.h.  */
   3843 _ACEOF
   3844 cat confdefs.h >>conftest.$ac_ext
   3845 cat >>conftest.$ac_ext <<_ACEOF
   3846 /* end confdefs.h.  */
   3847 #include <ac_nonexistent.h>
   3848 _ACEOF
   3849 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3850 case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3855 $as_echo "$ac_try_echo") >&5
   3856   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3857   ac_status=$?
   3858   grep -v '^ *+' conftest.er1 >conftest.err
   3859   rm -f conftest.er1
   3860   cat conftest.err >&5
   3861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3862   (exit $ac_status); } >/dev/null && {
   3863 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3864 	 test ! -s conftest.err
   3865        }; then
   3866   # Broken: success on invalid input.
   3867 continue
   3868 else
   3869   $as_echo "$as_me: failed program was:" >&5
   3870 sed 's/^/| /' conftest.$ac_ext >&5
   3871 
   3872   # Passes both tests.
   3873 ac_preproc_ok=:
   3874 break
   3875 fi
   3876 
   3877 rm -f conftest.err conftest.$ac_ext
   3878 
   3879 done
   3880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3881 rm -f conftest.err conftest.$ac_ext
   3882 if $ac_preproc_ok; then
   3883   break
   3884 fi
   3885 
   3886     done
   3887     ac_cv_prog_CPP=$CPP
   3888 
   3889 fi
   3890   CPP=$ac_cv_prog_CPP
   3891 else
   3892   ac_cv_prog_CPP=$CPP
   3893 fi
   3894 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3895 $as_echo "$CPP" >&6; }
   3896 ac_preproc_ok=false
   3897 for ac_c_preproc_warn_flag in '' yes
   3898 do
   3899   # Use a header file that comes with gcc, so configuring glibc
   3900   # with a fresh cross-compiler works.
   3901   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3902   # <limits.h> exists even on freestanding compilers.
   3903   # On the NeXT, cc -E runs the code through the compiler's parser,
   3904   # not just through cpp. "Syntax error" is here to catch this case.
   3905   cat >conftest.$ac_ext <<_ACEOF
   3906 /* confdefs.h.  */
   3907 _ACEOF
   3908 cat confdefs.h >>conftest.$ac_ext
   3909 cat >>conftest.$ac_ext <<_ACEOF
   3910 /* end confdefs.h.  */
   3911 #ifdef __STDC__
   3912 # include <limits.h>
   3913 #else
   3914 # include <assert.h>
   3915 #endif
   3916 		     Syntax error
   3917 _ACEOF
   3918 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3919 case "(($ac_try" in
   3920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3921   *) ac_try_echo=$ac_try;;
   3922 esac
   3923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3924 $as_echo "$ac_try_echo") >&5
   3925   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3926   ac_status=$?
   3927   grep -v '^ *+' conftest.er1 >conftest.err
   3928   rm -f conftest.er1
   3929   cat conftest.err >&5
   3930   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3931   (exit $ac_status); } >/dev/null && {
   3932 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3933 	 test ! -s conftest.err
   3934        }; then
   3935   :
   3936 else
   3937   $as_echo "$as_me: failed program was:" >&5
   3938 sed 's/^/| /' conftest.$ac_ext >&5
   3939 
   3940   # Broken: fails on valid input.
   3941 continue
   3942 fi
   3943 
   3944 rm -f conftest.err conftest.$ac_ext
   3945 
   3946   # OK, works on sane cases.  Now check whether nonexistent headers
   3947   # can be detected and how.
   3948   cat >conftest.$ac_ext <<_ACEOF
   3949 /* confdefs.h.  */
   3950 _ACEOF
   3951 cat confdefs.h >>conftest.$ac_ext
   3952 cat >>conftest.$ac_ext <<_ACEOF
   3953 /* end confdefs.h.  */
   3954 #include <ac_nonexistent.h>
   3955 _ACEOF
   3956 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3957 case "(($ac_try" in
   3958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3959   *) ac_try_echo=$ac_try;;
   3960 esac
   3961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3962 $as_echo "$ac_try_echo") >&5
   3963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3964   ac_status=$?
   3965   grep -v '^ *+' conftest.er1 >conftest.err
   3966   rm -f conftest.er1
   3967   cat conftest.err >&5
   3968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3969   (exit $ac_status); } >/dev/null && {
   3970 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3971 	 test ! -s conftest.err
   3972        }; then
   3973   # Broken: success on invalid input.
   3974 continue
   3975 else
   3976   $as_echo "$as_me: failed program was:" >&5
   3977 sed 's/^/| /' conftest.$ac_ext >&5
   3978 
   3979   # Passes both tests.
   3980 ac_preproc_ok=:
   3981 break
   3982 fi
   3983 
   3984 rm -f conftest.err conftest.$ac_ext
   3985 
   3986 done
   3987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3988 rm -f conftest.err conftest.$ac_ext
   3989 if $ac_preproc_ok; then
   3990   :
   3991 else
   3992   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3994 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3995 See \`config.log' for more details." >&5
   3996 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3997 See \`config.log' for more details." >&2;}
   3998    { (exit 1); exit 1; }; }; }
   3999 fi
   4000 
   4001 ac_ext=c
   4002 ac_cpp='$CPP $CPPFLAGS'
   4003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4006 
   4007 
   4008 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4009 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4010 if test "${ac_cv_path_GREP+set}" = set; then
   4011   $as_echo_n "(cached) " >&6
   4012 else
   4013   if test -z "$GREP"; then
   4014   ac_path_GREP_found=false
   4015   # Loop through the user's path and test for each of PROGNAME-LIST
   4016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4018 do
   4019   IFS=$as_save_IFS
   4020   test -z "$as_dir" && as_dir=.
   4021   for ac_prog in grep ggrep; do
   4022     for ac_exec_ext in '' $ac_executable_extensions; do
   4023       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4024       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4025 # Check for GNU ac_path_GREP and select it if it is found.
   4026   # Check for GNU $ac_path_GREP
   4027 case `"$ac_path_GREP" --version 2>&1` in
   4028 *GNU*)
   4029   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4030 *)
   4031   ac_count=0
   4032   $as_echo_n 0123456789 >"conftest.in"
   4033   while :
   4034   do
   4035     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4036     mv "conftest.tmp" "conftest.in"
   4037     cp "conftest.in" "conftest.nl"
   4038     $as_echo 'GREP' >> "conftest.nl"
   4039     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4040     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4041     ac_count=`expr $ac_count + 1`
   4042     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4043       # Best one so far, save it but keep looking for a better one
   4044       ac_cv_path_GREP="$ac_path_GREP"
   4045       ac_path_GREP_max=$ac_count
   4046     fi
   4047     # 10*(2^10) chars as input seems more than enough
   4048     test $ac_count -gt 10 && break
   4049   done
   4050   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4051 esac
   4052 
   4053       $ac_path_GREP_found && break 3
   4054     done
   4055   done
   4056 done
   4057 IFS=$as_save_IFS
   4058   if test -z "$ac_cv_path_GREP"; then
   4059     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4060 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4061    { (exit 1); exit 1; }; }
   4062   fi
   4063 else
   4064   ac_cv_path_GREP=$GREP
   4065 fi
   4066 
   4067 fi
   4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4069 $as_echo "$ac_cv_path_GREP" >&6; }
   4070  GREP="$ac_cv_path_GREP"
   4071 
   4072 
   4073 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4074 $as_echo_n "checking for egrep... " >&6; }
   4075 if test "${ac_cv_path_EGREP+set}" = set; then
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4079    then ac_cv_path_EGREP="$GREP -E"
   4080    else
   4081      if test -z "$EGREP"; then
   4082   ac_path_EGREP_found=false
   4083   # Loop through the user's path and test for each of PROGNAME-LIST
   4084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4085 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4086 do
   4087   IFS=$as_save_IFS
   4088   test -z "$as_dir" && as_dir=.
   4089   for ac_prog in egrep; do
   4090     for ac_exec_ext in '' $ac_executable_extensions; do
   4091       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4092       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4093 # Check for GNU ac_path_EGREP and select it if it is found.
   4094   # Check for GNU $ac_path_EGREP
   4095 case `"$ac_path_EGREP" --version 2>&1` in
   4096 *GNU*)
   4097   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4098 *)
   4099   ac_count=0
   4100   $as_echo_n 0123456789 >"conftest.in"
   4101   while :
   4102   do
   4103     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4104     mv "conftest.tmp" "conftest.in"
   4105     cp "conftest.in" "conftest.nl"
   4106     $as_echo 'EGREP' >> "conftest.nl"
   4107     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4108     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4109     ac_count=`expr $ac_count + 1`
   4110     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4111       # Best one so far, save it but keep looking for a better one
   4112       ac_cv_path_EGREP="$ac_path_EGREP"
   4113       ac_path_EGREP_max=$ac_count
   4114     fi
   4115     # 10*(2^10) chars as input seems more than enough
   4116     test $ac_count -gt 10 && break
   4117   done
   4118   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4119 esac
   4120 
   4121       $ac_path_EGREP_found && break 3
   4122     done
   4123   done
   4124 done
   4125 IFS=$as_save_IFS
   4126   if test -z "$ac_cv_path_EGREP"; then
   4127     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4128 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4129    { (exit 1); exit 1; }; }
   4130   fi
   4131 else
   4132   ac_cv_path_EGREP=$EGREP
   4133 fi
   4134 
   4135    fi
   4136 fi
   4137 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4138 $as_echo "$ac_cv_path_EGREP" >&6; }
   4139  EGREP="$ac_cv_path_EGREP"
   4140 
   4141 
   4142 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4143 $as_echo_n "checking for ANSI C header files... " >&6; }
   4144 if test "${ac_cv_header_stdc+set}" = set; then
   4145   $as_echo_n "(cached) " >&6
   4146 else
   4147   cat >conftest.$ac_ext <<_ACEOF
   4148 /* confdefs.h.  */
   4149 _ACEOF
   4150 cat confdefs.h >>conftest.$ac_ext
   4151 cat >>conftest.$ac_ext <<_ACEOF
   4152 /* end confdefs.h.  */
   4153 #include <stdlib.h>
   4154 #include <stdarg.h>
   4155 #include <string.h>
   4156 #include <float.h>
   4157 
   4158 int
   4159 main ()
   4160 {
   4161 
   4162   ;
   4163   return 0;
   4164 }
   4165 _ACEOF
   4166 rm -f conftest.$ac_objext
   4167 if { (ac_try="$ac_compile"
   4168 case "(($ac_try" in
   4169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4170   *) ac_try_echo=$ac_try;;
   4171 esac
   4172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4173 $as_echo "$ac_try_echo") >&5
   4174   (eval "$ac_compile") 2>conftest.er1
   4175   ac_status=$?
   4176   grep -v '^ *+' conftest.er1 >conftest.err
   4177   rm -f conftest.er1
   4178   cat conftest.err >&5
   4179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4180   (exit $ac_status); } && {
   4181 	 test -z "$ac_c_werror_flag" ||
   4182 	 test ! -s conftest.err
   4183        } && test -s conftest.$ac_objext; then
   4184   ac_cv_header_stdc=yes
   4185 else
   4186   $as_echo "$as_me: failed program was:" >&5
   4187 sed 's/^/| /' conftest.$ac_ext >&5
   4188 
   4189 	ac_cv_header_stdc=no
   4190 fi
   4191 
   4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4193 
   4194 if test $ac_cv_header_stdc = yes; then
   4195   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4196   cat >conftest.$ac_ext <<_ACEOF
   4197 /* confdefs.h.  */
   4198 _ACEOF
   4199 cat confdefs.h >>conftest.$ac_ext
   4200 cat >>conftest.$ac_ext <<_ACEOF
   4201 /* end confdefs.h.  */
   4202 #include <string.h>
   4203 
   4204 _ACEOF
   4205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4206   $EGREP "memchr" >/dev/null 2>&1; then
   4207   :
   4208 else
   4209   ac_cv_header_stdc=no
   4210 fi
   4211 rm -f conftest*
   4212 
   4213 fi
   4214 
   4215 if test $ac_cv_header_stdc = yes; then
   4216   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4217   cat >conftest.$ac_ext <<_ACEOF
   4218 /* confdefs.h.  */
   4219 _ACEOF
   4220 cat confdefs.h >>conftest.$ac_ext
   4221 cat >>conftest.$ac_ext <<_ACEOF
   4222 /* end confdefs.h.  */
   4223 #include <stdlib.h>
   4224 
   4225 _ACEOF
   4226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4227   $EGREP "free" >/dev/null 2>&1; then
   4228   :
   4229 else
   4230   ac_cv_header_stdc=no
   4231 fi
   4232 rm -f conftest*
   4233 
   4234 fi
   4235 
   4236 if test $ac_cv_header_stdc = yes; then
   4237   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4238   if test "$cross_compiling" = yes; then
   4239   :
   4240 else
   4241   cat >conftest.$ac_ext <<_ACEOF
   4242 /* confdefs.h.  */
   4243 _ACEOF
   4244 cat confdefs.h >>conftest.$ac_ext
   4245 cat >>conftest.$ac_ext <<_ACEOF
   4246 /* end confdefs.h.  */
   4247 #include <ctype.h>
   4248 #include <stdlib.h>
   4249 #if ((' ' & 0x0FF) == 0x020)
   4250 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4251 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4252 #else
   4253 # define ISLOWER(c) \
   4254 		   (('a' <= (c) && (c) <= 'i') \
   4255 		     || ('j' <= (c) && (c) <= 'r') \
   4256 		     || ('s' <= (c) && (c) <= 'z'))
   4257 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4258 #endif
   4259 
   4260 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4261 int
   4262 main ()
   4263 {
   4264   int i;
   4265   for (i = 0; i < 256; i++)
   4266     if (XOR (islower (i), ISLOWER (i))
   4267 	|| toupper (i) != TOUPPER (i))
   4268       return 2;
   4269   return 0;
   4270 }
   4271 _ACEOF
   4272 rm -f conftest$ac_exeext
   4273 if { (ac_try="$ac_link"
   4274 case "(($ac_try" in
   4275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4276   *) ac_try_echo=$ac_try;;
   4277 esac
   4278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4279 $as_echo "$ac_try_echo") >&5
   4280   (eval "$ac_link") 2>&5
   4281   ac_status=$?
   4282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4283   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4284   { (case "(($ac_try" in
   4285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4286   *) ac_try_echo=$ac_try;;
   4287 esac
   4288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4289 $as_echo "$ac_try_echo") >&5
   4290   (eval "$ac_try") 2>&5
   4291   ac_status=$?
   4292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4293   (exit $ac_status); }; }; then
   4294   :
   4295 else
   4296   $as_echo "$as_me: program exited with status $ac_status" >&5
   4297 $as_echo "$as_me: failed program was:" >&5
   4298 sed 's/^/| /' conftest.$ac_ext >&5
   4299 
   4300 ( exit $ac_status )
   4301 ac_cv_header_stdc=no
   4302 fi
   4303 rm -rf conftest.dSYM
   4304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4305 fi
   4306 
   4307 
   4308 fi
   4309 fi
   4310 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4311 $as_echo "$ac_cv_header_stdc" >&6; }
   4312 if test $ac_cv_header_stdc = yes; then
   4313 
   4314 cat >>confdefs.h <<\_ACEOF
   4315 #define STDC_HEADERS 1
   4316 _ACEOF
   4317 
   4318 fi
   4319 
   4320 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4321 
   4322 
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4331 		  inttypes.h stdint.h unistd.h
   4332 do
   4333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4334 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4335 $as_echo_n "checking for $ac_header... " >&6; }
   4336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4337   $as_echo_n "(cached) " >&6
   4338 else
   4339   cat >conftest.$ac_ext <<_ACEOF
   4340 /* confdefs.h.  */
   4341 _ACEOF
   4342 cat confdefs.h >>conftest.$ac_ext
   4343 cat >>conftest.$ac_ext <<_ACEOF
   4344 /* end confdefs.h.  */
   4345 $ac_includes_default
   4346 
   4347 #include <$ac_header>
   4348 _ACEOF
   4349 rm -f conftest.$ac_objext
   4350 if { (ac_try="$ac_compile"
   4351 case "(($ac_try" in
   4352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4353   *) ac_try_echo=$ac_try;;
   4354 esac
   4355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4356 $as_echo "$ac_try_echo") >&5
   4357   (eval "$ac_compile") 2>conftest.er1
   4358   ac_status=$?
   4359   grep -v '^ *+' conftest.er1 >conftest.err
   4360   rm -f conftest.er1
   4361   cat conftest.err >&5
   4362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4363   (exit $ac_status); } && {
   4364 	 test -z "$ac_c_werror_flag" ||
   4365 	 test ! -s conftest.err
   4366        } && test -s conftest.$ac_objext; then
   4367   eval "$as_ac_Header=yes"
   4368 else
   4369   $as_echo "$as_me: failed program was:" >&5
   4370 sed 's/^/| /' conftest.$ac_ext >&5
   4371 
   4372 	eval "$as_ac_Header=no"
   4373 fi
   4374 
   4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4376 fi
   4377 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4378 		 $as_echo "$as_val"'`
   4379 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4380 $as_echo "$ac_res" >&6; }
   4381 as_val=`eval 'as_val=${'$as_ac_Header'}
   4382 		 $as_echo "$as_val"'`
   4383    if test "x$as_val" = x""yes; then
   4384   cat >>confdefs.h <<_ACEOF
   4385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4386 _ACEOF
   4387 
   4388 fi
   4389 
   4390 done
   4391 
   4392 
   4393    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   4394 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4395 if test "${ac_cv_prog_cc_c99+set}" = set; then
   4396   $as_echo_n "(cached) " >&6
   4397 else
   4398   ac_cv_prog_cc_c99=no
   4399 ac_save_CC=$CC
   4400 cat >conftest.$ac_ext <<_ACEOF
   4401 /* confdefs.h.  */
   4402 _ACEOF
   4403 cat confdefs.h >>conftest.$ac_ext
   4404 cat >>conftest.$ac_ext <<_ACEOF
   4405 /* end confdefs.h.  */
   4406 #include <stdarg.h>
   4407 #include <stdbool.h>
   4408 #include <stdlib.h>
   4409 #include <wchar.h>
   4410 #include <stdio.h>
   4411 
   4412 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4413 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4414 #define showlist(...) puts (#__VA_ARGS__)
   4415 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4416 static void
   4417 test_varargs_macros (void)
   4418 {
   4419   int x = 1234;
   4420   int y = 5678;
   4421   debug ("Flag");
   4422   debug ("X = %d\n", x);
   4423   showlist (The first, second, and third items.);
   4424   report (x>y, "x is %d but y is %d", x, y);
   4425 }
   4426 
   4427 // Check long long types.
   4428 #define BIG64 18446744073709551615ull
   4429 #define BIG32 4294967295ul
   4430 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4431 #if !BIG_OK
   4432   your preprocessor is broken;
   4433 #endif
   4434 #if BIG_OK
   4435 #else
   4436   your preprocessor is broken;
   4437 #endif
   4438 static long long int bignum = -9223372036854775807LL;
   4439 static unsigned long long int ubignum = BIG64;
   4440 
   4441 struct incomplete_array
   4442 {
   4443   int datasize;
   4444   double data[];
   4445 };
   4446 
   4447 struct named_init {
   4448   int number;
   4449   const wchar_t *name;
   4450   double average;
   4451 };
   4452 
   4453 typedef const char *ccp;
   4454 
   4455 static inline int
   4456 test_restrict (ccp restrict text)
   4457 {
   4458   // See if C++-style comments work.
   4459   // Iterate through items via the restricted pointer.
   4460   // Also check for declarations in for loops.
   4461   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4462     continue;
   4463   return 0;
   4464 }
   4465 
   4466 // Check varargs and va_copy.
   4467 static void
   4468 test_varargs (const char *format, ...)
   4469 {
   4470   va_list args;
   4471   va_start (args, format);
   4472   va_list args_copy;
   4473   va_copy (args_copy, args);
   4474 
   4475   const char *str;
   4476   int number;
   4477   float fnumber;
   4478 
   4479   while (*format)
   4480     {
   4481       switch (*format++)
   4482 	{
   4483 	case 's': // string
   4484 	  str = va_arg (args_copy, const char *);
   4485 	  break;
   4486 	case 'd': // int
   4487 	  number = va_arg (args_copy, int);
   4488 	  break;
   4489 	case 'f': // float
   4490 	  fnumber = va_arg (args_copy, double);
   4491 	  break;
   4492 	default:
   4493 	  break;
   4494 	}
   4495     }
   4496   va_end (args_copy);
   4497   va_end (args);
   4498 }
   4499 
   4500 int
   4501 main ()
   4502 {
   4503 
   4504   // Check bool.
   4505   _Bool success = false;
   4506 
   4507   // Check restrict.
   4508   if (test_restrict ("String literal") == 0)
   4509     success = true;
   4510   char *restrict newvar = "Another string";
   4511 
   4512   // Check varargs.
   4513   test_varargs ("s, d' f .", "string", 65, 34.234);
   4514   test_varargs_macros ();
   4515 
   4516   // Check flexible array members.
   4517   struct incomplete_array *ia =
   4518     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4519   ia->datasize = 10;
   4520   for (int i = 0; i < ia->datasize; ++i)
   4521     ia->data[i] = i * 1.234;
   4522 
   4523   // Check named initializers.
   4524   struct named_init ni = {
   4525     .number = 34,
   4526     .name = L"Test wide string",
   4527     .average = 543.34343,
   4528   };
   4529 
   4530   ni.number = 58;
   4531 
   4532   int dynamic_array[ni.number];
   4533   dynamic_array[ni.number - 1] = 543;
   4534 
   4535   // work around unused variable warnings
   4536   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4537 	  || dynamic_array[ni.number - 1] != 543);
   4538 
   4539   ;
   4540   return 0;
   4541 }
   4542 _ACEOF
   4543 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4544 do
   4545   CC="$ac_save_CC $ac_arg"
   4546   rm -f conftest.$ac_objext
   4547 if { (ac_try="$ac_compile"
   4548 case "(($ac_try" in
   4549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4550   *) ac_try_echo=$ac_try;;
   4551 esac
   4552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4553 $as_echo "$ac_try_echo") >&5
   4554   (eval "$ac_compile") 2>conftest.er1
   4555   ac_status=$?
   4556   grep -v '^ *+' conftest.er1 >conftest.err
   4557   rm -f conftest.er1
   4558   cat conftest.err >&5
   4559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4560   (exit $ac_status); } && {
   4561 	 test -z "$ac_c_werror_flag" ||
   4562 	 test ! -s conftest.err
   4563        } && test -s conftest.$ac_objext; then
   4564   ac_cv_prog_cc_c99=$ac_arg
   4565 else
   4566   $as_echo "$as_me: failed program was:" >&5
   4567 sed 's/^/| /' conftest.$ac_ext >&5
   4568 
   4569 
   4570 fi
   4571 
   4572 rm -f core conftest.err conftest.$ac_objext
   4573   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4574 done
   4575 rm -f conftest.$ac_ext
   4576 CC=$ac_save_CC
   4577 
   4578 fi
   4579 # AC_CACHE_VAL
   4580 case "x$ac_cv_prog_cc_c99" in
   4581   x)
   4582     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   4583 $as_echo "none needed" >&6; } ;;
   4584   xno)
   4585     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   4586 $as_echo "unsupported" >&6; } ;;
   4587   *)
   4588     CC="$CC $ac_cv_prog_cc_c99"
   4589     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   4590 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4591 esac
   4592 
   4593 
   4594 
   4595 
   4596 
   4597 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4598 	if test -n "$ac_tool_prefix"; then
   4599   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4600 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4601 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4602 $as_echo_n "checking for $ac_word... " >&6; }
   4603 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   case $PKG_CONFIG in
   4607   [\\/]* | ?:[\\/]*)
   4608   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4609   ;;
   4610   *)
   4611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4612 for as_dir in $PATH
   4613 do
   4614   IFS=$as_save_IFS
   4615   test -z "$as_dir" && as_dir=.
   4616   for ac_exec_ext in '' $ac_executable_extensions; do
   4617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4618     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4619     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4620     break 2
   4621   fi
   4622 done
   4623 done
   4624 IFS=$as_save_IFS
   4625 
   4626   ;;
   4627 esac
   4628 fi
   4629 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4630 if test -n "$PKG_CONFIG"; then
   4631   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   4632 $as_echo "$PKG_CONFIG" >&6; }
   4633 else
   4634   { $as_echo "$as_me:$LINENO: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 fi
   4637 
   4638 
   4639 fi
   4640 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4641   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4642   # Extract the first word of "pkg-config", so it can be a program name with args.
   4643 set dummy pkg-config; ac_word=$2
   4644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4645 $as_echo_n "checking for $ac_word... " >&6; }
   4646 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   4647   $as_echo_n "(cached) " >&6
   4648 else
   4649   case $ac_pt_PKG_CONFIG in
   4650   [\\/]* | ?:[\\/]*)
   4651   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4652   ;;
   4653   *)
   4654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4655 for as_dir in $PATH
   4656 do
   4657   IFS=$as_save_IFS
   4658   test -z "$as_dir" && as_dir=.
   4659   for ac_exec_ext in '' $ac_executable_extensions; do
   4660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4661     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4662     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4663     break 2
   4664   fi
   4665 done
   4666 done
   4667 IFS=$as_save_IFS
   4668 
   4669   ;;
   4670 esac
   4671 fi
   4672 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4673 if test -n "$ac_pt_PKG_CONFIG"; then
   4674   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   4675 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4676 else
   4677   { $as_echo "$as_me:$LINENO: result: no" >&5
   4678 $as_echo "no" >&6; }
   4679 fi
   4680 
   4681   if test "x$ac_pt_PKG_CONFIG" = x; then
   4682     PKG_CONFIG=""
   4683   else
   4684     case $cross_compiling:$ac_tool_warned in
   4685 yes:)
   4686 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4688 ac_tool_warned=yes ;;
   4689 esac
   4690     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4691   fi
   4692 else
   4693   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4694 fi
   4695 
   4696 fi
   4697 if test -n "$PKG_CONFIG"; then
   4698 	_pkg_min_version=0.9.0
   4699 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   4700 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4701 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4702 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   4703 $as_echo "yes" >&6; }
   4704 	else
   4705 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   4706 $as_echo "no" >&6; }
   4707 		PKG_CONFIG=""
   4708 	fi
   4709 
   4710 fi
   4711 # Make sure we can run config.sub.
   4712 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4713   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4714 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4715    { (exit 1); exit 1; }; }
   4716 
   4717 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4718 $as_echo_n "checking build system type... " >&6; }
   4719 if test "${ac_cv_build+set}" = set; then
   4720   $as_echo_n "(cached) " >&6
   4721 else
   4722   ac_build_alias=$build_alias
   4723 test "x$ac_build_alias" = x &&
   4724   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4725 test "x$ac_build_alias" = x &&
   4726   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4727 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4728    { (exit 1); exit 1; }; }
   4729 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4730   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4731 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4732    { (exit 1); exit 1; }; }
   4733 
   4734 fi
   4735 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4736 $as_echo "$ac_cv_build" >&6; }
   4737 case $ac_cv_build in
   4738 *-*-*) ;;
   4739 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4740 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4741    { (exit 1); exit 1; }; };;
   4742 esac
   4743 build=$ac_cv_build
   4744 ac_save_IFS=$IFS; IFS='-'
   4745 set x $ac_cv_build
   4746 shift
   4747 build_cpu=$1
   4748 build_vendor=$2
   4749 shift; shift
   4750 # Remember, the first character of IFS is used to create $*,
   4751 # except with old shells:
   4752 build_os=$*
   4753 IFS=$ac_save_IFS
   4754 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4755 
   4756 
   4757 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4758 $as_echo_n "checking host system type... " >&6; }
   4759 if test "${ac_cv_host+set}" = set; then
   4760   $as_echo_n "(cached) " >&6
   4761 else
   4762   if test "x$host_alias" = x; then
   4763   ac_cv_host=$ac_cv_build
   4764 else
   4765   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4766     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4767 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4768    { (exit 1); exit 1; }; }
   4769 fi
   4770 
   4771 fi
   4772 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4773 $as_echo "$ac_cv_host" >&6; }
   4774 case $ac_cv_host in
   4775 *-*-*) ;;
   4776 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4777 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4778    { (exit 1); exit 1; }; };;
   4779 esac
   4780 host=$ac_cv_host
   4781 ac_save_IFS=$IFS; IFS='-'
   4782 set x $ac_cv_host
   4783 shift
   4784 host_cpu=$1
   4785 host_vendor=$2
   4786 shift; shift
   4787 # Remember, the first character of IFS is used to create $*,
   4788 # except with old shells:
   4789 host_os=$*
   4790 IFS=$ac_save_IFS
   4791 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 if  test "x$GCC" = xyes ; then
   4798     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4799 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4800 -Wbad-function-cast"
   4801     case `$CC -dumpversion` in
   4802     3.4.* | 4.*)
   4803 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4804 	;;
   4805     esac
   4806 else
   4807     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4808 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4809 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   cat >conftest.$ac_ext <<_ACEOF
   4813 /* confdefs.h.  */
   4814 _ACEOF
   4815 cat confdefs.h >>conftest.$ac_ext
   4816 cat >>conftest.$ac_ext <<_ACEOF
   4817 /* end confdefs.h.  */
   4818 $ac_includes_default
   4819 int
   4820 main ()
   4821 {
   4822 #ifndef __SUNPRO_C
   4823   (void) __SUNPRO_C;
   4824 #endif
   4825 
   4826   ;
   4827   return 0;
   4828 }
   4829 _ACEOF
   4830 rm -f conftest.$ac_objext
   4831 if { (ac_try="$ac_compile"
   4832 case "(($ac_try" in
   4833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4834   *) ac_try_echo=$ac_try;;
   4835 esac
   4836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4837 $as_echo "$ac_try_echo") >&5
   4838   (eval "$ac_compile") 2>conftest.er1
   4839   ac_status=$?
   4840   grep -v '^ *+' conftest.er1 >conftest.err
   4841   rm -f conftest.er1
   4842   cat conftest.err >&5
   4843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4844   (exit $ac_status); } && {
   4845 	 test -z "$ac_c_werror_flag" ||
   4846 	 test ! -s conftest.err
   4847        } && test -s conftest.$ac_objext; then
   4848   ac_cv_have_decl___SUNPRO_C=yes
   4849 else
   4850   $as_echo "$as_me: failed program was:" >&5
   4851 sed 's/^/| /' conftest.$ac_ext >&5
   4852 
   4853 	ac_cv_have_decl___SUNPRO_C=no
   4854 fi
   4855 
   4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4857 fi
   4858 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4859 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4860 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4861   SUNCC="yes"
   4862 else
   4863   SUNCC="no"
   4864 fi
   4865 
   4866     if test "x$SUNCC" = "xyes"; then
   4867 	CWARNFLAGS="-v"
   4868     fi
   4869 fi
   4870 
   4871 # Check whether --enable-silent-rules was given.
   4872 if test "${enable_silent_rules+set}" = set; then
   4873   enableval=$enable_silent_rules;
   4874 fi
   4875 
   4876 case $enable_silent_rules in
   4877 yes) AM_DEFAULT_VERBOSITY=0;;
   4878 no)  AM_DEFAULT_VERBOSITY=1;;
   4879 *)   AM_DEFAULT_VERBOSITY=0;;
   4880 esac
   4881 AM_BACKSLASH='\'
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 # Check whether --enable-strict-compilation was given.
   4890 if test "${enable_strict_compilation+set}" = set; then
   4891   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4892 else
   4893   STRICT_COMPILE=no
   4894 fi
   4895 
   4896 if test "x$STRICT_COMPILE" = "xyes"; then
   4897 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4898 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4899 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   cat >conftest.$ac_ext <<_ACEOF
   4903 /* confdefs.h.  */
   4904 _ACEOF
   4905 cat confdefs.h >>conftest.$ac_ext
   4906 cat >>conftest.$ac_ext <<_ACEOF
   4907 /* end confdefs.h.  */
   4908 $ac_includes_default
   4909 int
   4910 main ()
   4911 {
   4912 #ifndef __SUNPRO_C
   4913   (void) __SUNPRO_C;
   4914 #endif
   4915 
   4916   ;
   4917   return 0;
   4918 }
   4919 _ACEOF
   4920 rm -f conftest.$ac_objext
   4921 if { (ac_try="$ac_compile"
   4922 case "(($ac_try" in
   4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4924   *) ac_try_echo=$ac_try;;
   4925 esac
   4926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4927 $as_echo "$ac_try_echo") >&5
   4928   (eval "$ac_compile") 2>conftest.er1
   4929   ac_status=$?
   4930   grep -v '^ *+' conftest.er1 >conftest.err
   4931   rm -f conftest.er1
   4932   cat conftest.err >&5
   4933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934   (exit $ac_status); } && {
   4935 	 test -z "$ac_c_werror_flag" ||
   4936 	 test ! -s conftest.err
   4937        } && test -s conftest.$ac_objext; then
   4938   ac_cv_have_decl___SUNPRO_C=yes
   4939 else
   4940   $as_echo "$as_me: failed program was:" >&5
   4941 sed 's/^/| /' conftest.$ac_ext >&5
   4942 
   4943 	ac_cv_have_decl___SUNPRO_C=no
   4944 fi
   4945 
   4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4947 fi
   4948 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4949 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4950 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4951   SUNCC="yes"
   4952 else
   4953   SUNCC="no"
   4954 fi
   4955 
   4956 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4957 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   4958 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4959   $as_echo_n "(cached) " >&6
   4960 else
   4961   cat >conftest.$ac_ext <<_ACEOF
   4962 /* confdefs.h.  */
   4963 _ACEOF
   4964 cat confdefs.h >>conftest.$ac_ext
   4965 cat >>conftest.$ac_ext <<_ACEOF
   4966 /* end confdefs.h.  */
   4967 $ac_includes_default
   4968 int
   4969 main ()
   4970 {
   4971 #ifndef __INTEL_COMPILER
   4972   (void) __INTEL_COMPILER;
   4973 #endif
   4974 
   4975   ;
   4976   return 0;
   4977 }
   4978 _ACEOF
   4979 rm -f conftest.$ac_objext
   4980 if { (ac_try="$ac_compile"
   4981 case "(($ac_try" in
   4982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4983   *) ac_try_echo=$ac_try;;
   4984 esac
   4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4986 $as_echo "$ac_try_echo") >&5
   4987   (eval "$ac_compile") 2>conftest.er1
   4988   ac_status=$?
   4989   grep -v '^ *+' conftest.er1 >conftest.err
   4990   rm -f conftest.er1
   4991   cat conftest.err >&5
   4992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4993   (exit $ac_status); } && {
   4994 	 test -z "$ac_c_werror_flag" ||
   4995 	 test ! -s conftest.err
   4996        } && test -s conftest.$ac_objext; then
   4997   ac_cv_have_decl___INTEL_COMPILER=yes
   4998 else
   4999   $as_echo "$as_me: failed program was:" >&5
   5000 sed 's/^/| /' conftest.$ac_ext >&5
   5001 
   5002 	ac_cv_have_decl___INTEL_COMPILER=no
   5003 fi
   5004 
   5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5006 fi
   5007 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   5008 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   5009 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   5010   INTELCC="yes"
   5011 else
   5012   INTELCC="no"
   5013 fi
   5014 
   5015 	if test "x$GCC" = xyes ; then
   5016 		STRICT_CFLAGS="-pedantic -Werror"
   5017 	elif test "x$SUNCC" = "xyes"; then
   5018 		STRICT_CFLAGS="-errwarn"
   5019     elif test "x$INTELCC" = "xyes"; then
   5020 		STRICT_CFLAGS="-Werror"
   5021 	fi
   5022 fi
   5023 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   5024 
   5025 
   5026 
   5027 
   5028 # Check whether --with-release-version was given.
   5029 if test "${with_release_version+set}" = set; then
   5030   withval=$with_release_version; RELEASE_VERSION="$withval"
   5031 else
   5032   RELEASE_VERSION=""
   5033 fi
   5034 
   5035 	if test "x$RELEASE_VERSION" != "x"; then
   5036 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   5037 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   5038 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   5039 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   5040 	fi
   5041 
   5042 cat >>confdefs.h <<_ACEOF
   5043 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   5044 _ACEOF
   5045 
   5046 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   5047 	if test "x$PVM" = "x"; then
   5048 		PVM="0"
   5049 	fi
   5050 
   5051 cat >>confdefs.h <<_ACEOF
   5052 #define PACKAGE_VERSION_MINOR $PVM
   5053 _ACEOF
   5054 
   5055 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   5056 	if test "x$PVP" = "x"; then
   5057 		PVP="0"
   5058 	fi
   5059 
   5060 cat >>confdefs.h <<_ACEOF
   5061 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   5062 _ACEOF
   5063 
   5064 
   5065 
   5066 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   5067 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   5068 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   5069 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   5070 
   5071 
   5072 
   5073 
   5074 macros_docdir=$($PKG_CONFIG --print-errors --variable=docdir xorg-macros)
   5075 INSTALL_CMD="(cp -f "$macros_docdir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   5076 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   5077 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   5078 echo 'util-macros \"docdir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 if test x$APP_MAN_SUFFIX = x    ; then
   5085     APP_MAN_SUFFIX=1
   5086 fi
   5087 if test x$APP_MAN_DIR = x    ; then
   5088     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   5089 fi
   5090 
   5091 if test x$LIB_MAN_SUFFIX = x    ; then
   5092     LIB_MAN_SUFFIX=3
   5093 fi
   5094 if test x$LIB_MAN_DIR = x    ; then
   5095     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   5096 fi
   5097 
   5098 if test x$FILE_MAN_SUFFIX = x    ; then
   5099     case $host_os in
   5100 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   5101 	*)		FILE_MAN_SUFFIX=5  ;;
   5102     esac
   5103 fi
   5104 if test x$FILE_MAN_DIR = x    ; then
   5105     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   5106 fi
   5107 
   5108 if test x$MISC_MAN_SUFFIX = x    ; then
   5109     case $host_os in
   5110 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   5111 	*)		MISC_MAN_SUFFIX=7  ;;
   5112     esac
   5113 fi
   5114 if test x$MISC_MAN_DIR = x    ; then
   5115     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   5116 fi
   5117 
   5118 if test x$DRIVER_MAN_SUFFIX = x    ; then
   5119     case $host_os in
   5120 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   5121 	*)		DRIVER_MAN_SUFFIX=4  ;;
   5122     esac
   5123 fi
   5124 if test x$DRIVER_MAN_DIR = x    ; then
   5125     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   5126 fi
   5127 
   5128 if test x$ADMIN_MAN_SUFFIX = x    ; then
   5129     case $host_os in
   5130 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   5131 	*)		ADMIN_MAN_SUFFIX=8  ;;
   5132     esac
   5133 fi
   5134 if test x$ADMIN_MAN_DIR = x    ; then
   5135     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   5136 fi
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 # Checks for programs.
   5155 # Check whether --enable-static was given.
   5156 if test "${enable_static+set}" = set; then
   5157   enableval=$enable_static; p=${PACKAGE-default}
   5158     case $enableval in
   5159     yes) enable_static=yes ;;
   5160     no) enable_static=no ;;
   5161     *)
   5162      enable_static=no
   5163       # Look at the argument we got.  We use all the common list separators.
   5164       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5165       for pkg in $enableval; do
   5166 	IFS="$lt_save_ifs"
   5167 	if test "X$pkg" = "X$p"; then
   5168 	  enable_static=yes
   5169 	fi
   5170       done
   5171       IFS="$lt_save_ifs"
   5172       ;;
   5173     esac
   5174 else
   5175   enable_static=no
   5176 fi
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 case `pwd` in
   5187   *\ * | *\	*)
   5188     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5189 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5190 esac
   5191 
   5192 
   5193 
   5194 macro_version='2.2.6'
   5195 macro_revision='1.3012'
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 ltmain="$ac_aux_dir/ltmain.sh"
   5210 
   5211 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5212 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5213 if test "${ac_cv_path_SED+set}" = set; then
   5214   $as_echo_n "(cached) " >&6
   5215 else
   5216             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5217      for ac_i in 1 2 3 4 5 6 7; do
   5218        ac_script="$ac_script$as_nl$ac_script"
   5219      done
   5220      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5221      $as_unset ac_script || ac_script=
   5222      if test -z "$SED"; then
   5223   ac_path_SED_found=false
   5224   # Loop through the user's path and test for each of PROGNAME-LIST
   5225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5226 for as_dir in $PATH
   5227 do
   5228   IFS=$as_save_IFS
   5229   test -z "$as_dir" && as_dir=.
   5230   for ac_prog in sed gsed; do
   5231     for ac_exec_ext in '' $ac_executable_extensions; do
   5232       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5233       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5234 # Check for GNU ac_path_SED and select it if it is found.
   5235   # Check for GNU $ac_path_SED
   5236 case `"$ac_path_SED" --version 2>&1` in
   5237 *GNU*)
   5238   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5239 *)
   5240   ac_count=0
   5241   $as_echo_n 0123456789 >"conftest.in"
   5242   while :
   5243   do
   5244     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5245     mv "conftest.tmp" "conftest.in"
   5246     cp "conftest.in" "conftest.nl"
   5247     $as_echo '' >> "conftest.nl"
   5248     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5249     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5250     ac_count=`expr $ac_count + 1`
   5251     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5252       # Best one so far, save it but keep looking for a better one
   5253       ac_cv_path_SED="$ac_path_SED"
   5254       ac_path_SED_max=$ac_count
   5255     fi
   5256     # 10*(2^10) chars as input seems more than enough
   5257     test $ac_count -gt 10 && break
   5258   done
   5259   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5260 esac
   5261 
   5262       $ac_path_SED_found && break 3
   5263     done
   5264   done
   5265 done
   5266 IFS=$as_save_IFS
   5267   if test -z "$ac_cv_path_SED"; then
   5268     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   5269 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   5270    { (exit 1); exit 1; }; }
   5271   fi
   5272 else
   5273   ac_cv_path_SED=$SED
   5274 fi
   5275 
   5276 fi
   5277 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   5278 $as_echo "$ac_cv_path_SED" >&6; }
   5279  SED="$ac_cv_path_SED"
   5280   rm -f conftest.sed
   5281 
   5282 test -z "$SED" && SED=sed
   5283 Xsed="$SED -e 1s/^X//"
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   5296 $as_echo_n "checking for fgrep... " >&6; }
   5297 if test "${ac_cv_path_FGREP+set}" = set; then
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5301    then ac_cv_path_FGREP="$GREP -F"
   5302    else
   5303      if test -z "$FGREP"; then
   5304   ac_path_FGREP_found=false
   5305   # Loop through the user's path and test for each of PROGNAME-LIST
   5306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5308 do
   5309   IFS=$as_save_IFS
   5310   test -z "$as_dir" && as_dir=.
   5311   for ac_prog in fgrep; do
   5312     for ac_exec_ext in '' $ac_executable_extensions; do
   5313       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5314       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5315 # Check for GNU ac_path_FGREP and select it if it is found.
   5316   # Check for GNU $ac_path_FGREP
   5317 case `"$ac_path_FGREP" --version 2>&1` in
   5318 *GNU*)
   5319   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5320 *)
   5321   ac_count=0
   5322   $as_echo_n 0123456789 >"conftest.in"
   5323   while :
   5324   do
   5325     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5326     mv "conftest.tmp" "conftest.in"
   5327     cp "conftest.in" "conftest.nl"
   5328     $as_echo 'FGREP' >> "conftest.nl"
   5329     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5330     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5331     ac_count=`expr $ac_count + 1`
   5332     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5333       # Best one so far, save it but keep looking for a better one
   5334       ac_cv_path_FGREP="$ac_path_FGREP"
   5335       ac_path_FGREP_max=$ac_count
   5336     fi
   5337     # 10*(2^10) chars as input seems more than enough
   5338     test $ac_count -gt 10 && break
   5339   done
   5340   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5341 esac
   5342 
   5343       $ac_path_FGREP_found && break 3
   5344     done
   5345   done
   5346 done
   5347 IFS=$as_save_IFS
   5348   if test -z "$ac_cv_path_FGREP"; then
   5349     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   5350 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   5351    { (exit 1); exit 1; }; }
   5352   fi
   5353 else
   5354   ac_cv_path_FGREP=$FGREP
   5355 fi
   5356 
   5357    fi
   5358 fi
   5359 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   5360 $as_echo "$ac_cv_path_FGREP" >&6; }
   5361  FGREP="$ac_cv_path_FGREP"
   5362 
   5363 
   5364 test -z "$GREP" && GREP=grep
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 # Check whether --with-gnu-ld was given.
   5385 if test "${with_gnu_ld+set}" = set; then
   5386   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5387 else
   5388   with_gnu_ld=no
   5389 fi
   5390 
   5391 ac_prog=ld
   5392 if test "$GCC" = yes; then
   5393   # Check if gcc -print-prog-name=ld gives a path.
   5394   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5395 $as_echo_n "checking for ld used by $CC... " >&6; }
   5396   case $host in
   5397   *-*-mingw*)
   5398     # gcc leaves a trailing carriage return which upsets mingw
   5399     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5400   *)
   5401     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5402   esac
   5403   case $ac_prog in
   5404     # Accept absolute paths.
   5405     [\\/]* | ?:[\\/]*)
   5406       re_direlt='/[^/][^/]*/\.\./'
   5407       # Canonicalize the pathname of ld
   5408       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5409       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5410 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5411       done
   5412       test -z "$LD" && LD="$ac_prog"
   5413       ;;
   5414   "")
   5415     # If it fails, then pretend we aren't using GCC.
   5416     ac_prog=ld
   5417     ;;
   5418   *)
   5419     # If it is relative, then search for the first ld in PATH.
   5420     with_gnu_ld=unknown
   5421     ;;
   5422   esac
   5423 elif test "$with_gnu_ld" = yes; then
   5424   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   5425 $as_echo_n "checking for GNU ld... " >&6; }
   5426 else
   5427   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5428 $as_echo_n "checking for non-GNU ld... " >&6; }
   5429 fi
   5430 if test "${lt_cv_path_LD+set}" = set; then
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   if test -z "$LD"; then
   5434   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5435   for ac_dir in $PATH; do
   5436     IFS="$lt_save_ifs"
   5437     test -z "$ac_dir" && ac_dir=.
   5438     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5439       lt_cv_path_LD="$ac_dir/$ac_prog"
   5440       # Check to see if the program is GNU ld.  I'd rather use --version,
   5441       # but apparently some variants of GNU ld only accept -v.
   5442       # Break only if it was the GNU/non-GNU ld that we prefer.
   5443       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5444       *GNU* | *'with BFD'*)
   5445 	test "$with_gnu_ld" != no && break
   5446 	;;
   5447       *)
   5448 	test "$with_gnu_ld" != yes && break
   5449 	;;
   5450       esac
   5451     fi
   5452   done
   5453   IFS="$lt_save_ifs"
   5454 else
   5455   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5456 fi
   5457 fi
   5458 
   5459 LD="$lt_cv_path_LD"
   5460 if test -n "$LD"; then
   5461   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   5462 $as_echo "$LD" >&6; }
   5463 else
   5464   { $as_echo "$as_me:$LINENO: result: no" >&5
   5465 $as_echo "no" >&6; }
   5466 fi
   5467 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5468 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5469    { (exit 1); exit 1; }; }
   5470 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5472 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5476 case `$LD -v 2>&1 </dev/null` in
   5477 *GNU* | *'with BFD'*)
   5478   lt_cv_prog_gnu_ld=yes
   5479   ;;
   5480 *)
   5481   lt_cv_prog_gnu_ld=no
   5482   ;;
   5483 esac
   5484 fi
   5485 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5486 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5487 with_gnu_ld=$lt_cv_prog_gnu_ld
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5498 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5499 if test "${lt_cv_path_NM+set}" = set; then
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   if test -n "$NM"; then
   5503   # Let the user override the test.
   5504   lt_cv_path_NM="$NM"
   5505 else
   5506   lt_nm_to_check="${ac_tool_prefix}nm"
   5507   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5508     lt_nm_to_check="$lt_nm_to_check nm"
   5509   fi
   5510   for lt_tmp_nm in $lt_nm_to_check; do
   5511     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5512     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5513       IFS="$lt_save_ifs"
   5514       test -z "$ac_dir" && ac_dir=.
   5515       tmp_nm="$ac_dir/$lt_tmp_nm"
   5516       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5517 	# Check to see if the nm accepts a BSD-compat flag.
   5518 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5519 	#   nm: unknown option "B" ignored
   5520 	# Tru64's nm complains that /dev/null is an invalid object file
   5521 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5522 	*/dev/null* | *'Invalid file or object type'*)
   5523 	  lt_cv_path_NM="$tmp_nm -B"
   5524 	  break
   5525 	  ;;
   5526 	*)
   5527 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5528 	  */dev/null*)
   5529 	    lt_cv_path_NM="$tmp_nm -p"
   5530 	    break
   5531 	    ;;
   5532 	  *)
   5533 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5534 	    continue # so that we can try to find one that supports BSD flags
   5535 	    ;;
   5536 	  esac
   5537 	  ;;
   5538 	esac
   5539       fi
   5540     done
   5541     IFS="$lt_save_ifs"
   5542   done
   5543   : ${lt_cv_path_NM=no}
   5544 fi
   5545 fi
   5546 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5547 $as_echo "$lt_cv_path_NM" >&6; }
   5548 if test "$lt_cv_path_NM" != "no"; then
   5549   NM="$lt_cv_path_NM"
   5550 else
   5551   # Didn't find any BSD compatible name lister, look for dumpbin.
   5552   if test -n "$ac_tool_prefix"; then
   5553   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5554   do
   5555     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5558 $as_echo_n "checking for $ac_word... " >&6; }
   5559 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   if test -n "$DUMPBIN"; then
   5563   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5564 else
   5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570   for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5572     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5573     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577 done
   5578 IFS=$as_save_IFS
   5579 
   5580 fi
   5581 fi
   5582 DUMPBIN=$ac_cv_prog_DUMPBIN
   5583 if test -n "$DUMPBIN"; then
   5584   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5585 $as_echo "$DUMPBIN" >&6; }
   5586 else
   5587   { $as_echo "$as_me:$LINENO: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 
   5591 
   5592     test -n "$DUMPBIN" && break
   5593   done
   5594 fi
   5595 if test -z "$DUMPBIN"; then
   5596   ac_ct_DUMPBIN=$DUMPBIN
   5597   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5598 do
   5599   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5600 set dummy $ac_prog; ac_word=$2
   5601 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5602 $as_echo_n "checking for $ac_word... " >&6; }
   5603 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5604   $as_echo_n "(cached) " >&6
   5605 else
   5606   if test -n "$ac_ct_DUMPBIN"; then
   5607   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5608 else
   5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5610 for as_dir in $PATH
   5611 do
   5612   IFS=$as_save_IFS
   5613   test -z "$as_dir" && as_dir=.
   5614   for ac_exec_ext in '' $ac_executable_extensions; do
   5615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5616     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5617     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5618     break 2
   5619   fi
   5620 done
   5621 done
   5622 IFS=$as_save_IFS
   5623 
   5624 fi
   5625 fi
   5626 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5627 if test -n "$ac_ct_DUMPBIN"; then
   5628   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5629 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5630 else
   5631   { $as_echo "$as_me:$LINENO: result: no" >&5
   5632 $as_echo "no" >&6; }
   5633 fi
   5634 
   5635 
   5636   test -n "$ac_ct_DUMPBIN" && break
   5637 done
   5638 
   5639   if test "x$ac_ct_DUMPBIN" = x; then
   5640     DUMPBIN=":"
   5641   else
   5642     case $cross_compiling:$ac_tool_warned in
   5643 yes:)
   5644 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5646 ac_tool_warned=yes ;;
   5647 esac
   5648     DUMPBIN=$ac_ct_DUMPBIN
   5649   fi
   5650 fi
   5651 
   5652 
   5653   if test "$DUMPBIN" != ":"; then
   5654     NM="$DUMPBIN"
   5655   fi
   5656 fi
   5657 test -z "$NM" && NM=nm
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5665 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5666 if test "${lt_cv_nm_interface+set}" = set; then
   5667   $as_echo_n "(cached) " >&6
   5668 else
   5669   lt_cv_nm_interface="BSD nm"
   5670   echo "int some_variable = 0;" > conftest.$ac_ext
   5671   (eval echo "\"\$as_me:5671: $ac_compile\"" >&5)
   5672   (eval "$ac_compile" 2>conftest.err)
   5673   cat conftest.err >&5
   5674   (eval echo "\"\$as_me:5674: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5675   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5676   cat conftest.err >&5
   5677   (eval echo "\"\$as_me:5677: output\"" >&5)
   5678   cat conftest.out >&5
   5679   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5680     lt_cv_nm_interface="MS dumpbin"
   5681   fi
   5682   rm -f conftest*
   5683 fi
   5684 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5685 $as_echo "$lt_cv_nm_interface" >&6; }
   5686 
   5687 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5688 $as_echo_n "checking whether ln -s works... " >&6; }
   5689 LN_S=$as_ln_s
   5690 if test "$LN_S" = "ln -s"; then
   5691   { $as_echo "$as_me:$LINENO: result: yes" >&5
   5692 $as_echo "yes" >&6; }
   5693 else
   5694   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5695 $as_echo "no, using $LN_S" >&6; }
   5696 fi
   5697 
   5698 # find the maximum length of command line arguments
   5699 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5700 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5701 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704     i=0
   5705   teststring="ABCD"
   5706 
   5707   case $build_os in
   5708   msdosdjgpp*)
   5709     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5710     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5711     # during glob expansion).  Even if it were fixed, the result of this
   5712     # check would be larger than it should be.
   5713     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5714     ;;
   5715 
   5716   gnu*)
   5717     # Under GNU Hurd, this test is not required because there is
   5718     # no limit to the length of command line arguments.
   5719     # Libtool will interpret -1 as no limit whatsoever
   5720     lt_cv_sys_max_cmd_len=-1;
   5721     ;;
   5722 
   5723   cygwin* | mingw* | cegcc*)
   5724     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5725     # about 5 minutes as the teststring grows exponentially.
   5726     # Worse, since 9x/ME are not pre-emptively multitasking,
   5727     # you end up with a "frozen" computer, even though with patience
   5728     # the test eventually succeeds (with a max line length of 256k).
   5729     # Instead, let's just punt: use the minimum linelength reported by
   5730     # all of the supported platforms: 8192 (on NT/2K/XP).
   5731     lt_cv_sys_max_cmd_len=8192;
   5732     ;;
   5733 
   5734   amigaos*)
   5735     # On AmigaOS with pdksh, this test takes hours, literally.
   5736     # So we just punt and use a minimum line length of 8192.
   5737     lt_cv_sys_max_cmd_len=8192;
   5738     ;;
   5739 
   5740   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5741     # This has been around since 386BSD, at least.  Likely further.
   5742     if test -x /sbin/sysctl; then
   5743       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5744     elif test -x /usr/sbin/sysctl; then
   5745       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5746     else
   5747       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5748     fi
   5749     # And add a safety zone
   5750     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5751     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5752     ;;
   5753 
   5754   interix*)
   5755     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5756     lt_cv_sys_max_cmd_len=196608
   5757     ;;
   5758 
   5759   osf*)
   5760     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5761     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5762     # nice to cause kernel panics so lets avoid the loop below.
   5763     # First set a reasonable default.
   5764     lt_cv_sys_max_cmd_len=16384
   5765     #
   5766     if test -x /sbin/sysconfig; then
   5767       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5768         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5769       esac
   5770     fi
   5771     ;;
   5772   sco3.2v5*)
   5773     lt_cv_sys_max_cmd_len=102400
   5774     ;;
   5775   sysv5* | sco5v6* | sysv4.2uw2*)
   5776     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5777     if test -n "$kargmax"; then
   5778       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5779     else
   5780       lt_cv_sys_max_cmd_len=32768
   5781     fi
   5782     ;;
   5783   *)
   5784     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5785     if test -n "$lt_cv_sys_max_cmd_len"; then
   5786       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5787       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5788     else
   5789       # Make teststring a little bigger before we do anything with it.
   5790       # a 1K string should be a reasonable start.
   5791       for i in 1 2 3 4 5 6 7 8 ; do
   5792         teststring=$teststring$teststring
   5793       done
   5794       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5795       # If test is not a shell built-in, we'll probably end up computing a
   5796       # maximum length that is only half of the actual maximum length, but
   5797       # we can't tell.
   5798       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5799 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5800 	      test $i != 17 # 1/2 MB should be enough
   5801       do
   5802         i=`expr $i + 1`
   5803         teststring=$teststring$teststring
   5804       done
   5805       # Only check the string length outside the loop.
   5806       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5807       teststring=
   5808       # Add a significant safety factor because C++ compilers can tack on
   5809       # massive amounts of additional arguments before passing them to the
   5810       # linker.  It appears as though 1/2 is a usable value.
   5811       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5812     fi
   5813     ;;
   5814   esac
   5815 
   5816 fi
   5817 
   5818 if test -n $lt_cv_sys_max_cmd_len ; then
   5819   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5820 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5821 else
   5822   { $as_echo "$as_me:$LINENO: result: none" >&5
   5823 $as_echo "none" >&6; }
   5824 fi
   5825 max_cmd_len=$lt_cv_sys_max_cmd_len
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 : ${CP="cp -f"}
   5833 : ${MV="mv -f"}
   5834 : ${RM="rm -f"}
   5835 
   5836 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5837 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5838 # Try some XSI features
   5839 xsi_shell=no
   5840 ( _lt_dummy="a/b/c"
   5841   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5842       = c,a/b,, \
   5843     && eval 'test $(( 1 + 1 )) -eq 2 \
   5844     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5845   && xsi_shell=yes
   5846 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5847 $as_echo "$xsi_shell" >&6; }
   5848 
   5849 
   5850 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5851 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5852 lt_shell_append=no
   5853 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5854     >/dev/null 2>&1 \
   5855   && lt_shell_append=yes
   5856 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5857 $as_echo "$lt_shell_append" >&6; }
   5858 
   5859 
   5860 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5861   lt_unset=unset
   5862 else
   5863   lt_unset=false
   5864 fi
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 # test EBCDIC or ASCII
   5871 case `echo X|tr X '\101'` in
   5872  A) # ASCII based system
   5873     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5874   lt_SP2NL='tr \040 \012'
   5875   lt_NL2SP='tr \015\012 \040\040'
   5876   ;;
   5877  *) # EBCDIC based system
   5878   lt_SP2NL='tr \100 \n'
   5879   lt_NL2SP='tr \r\n \100\100'
   5880   ;;
   5881 esac
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5892 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5893 if test "${lt_cv_ld_reload_flag+set}" = set; then
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   lt_cv_ld_reload_flag='-r'
   5897 fi
   5898 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5899 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5900 reload_flag=$lt_cv_ld_reload_flag
   5901 case $reload_flag in
   5902 "" | " "*) ;;
   5903 *) reload_flag=" $reload_flag" ;;
   5904 esac
   5905 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5906 case $host_os in
   5907   darwin*)
   5908     if test "$GCC" = yes; then
   5909       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5910     else
   5911       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5912     fi
   5913     ;;
   5914 esac
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 if test -n "$ac_tool_prefix"; then
   5925   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5926 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5928 $as_echo_n "checking for $ac_word... " >&6; }
   5929 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   if test -n "$OBJDUMP"; then
   5933   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5934 else
   5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5936 for as_dir in $PATH
   5937 do
   5938   IFS=$as_save_IFS
   5939   test -z "$as_dir" && as_dir=.
   5940   for ac_exec_ext in '' $ac_executable_extensions; do
   5941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5942     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5943     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5944     break 2
   5945   fi
   5946 done
   5947 done
   5948 IFS=$as_save_IFS
   5949 
   5950 fi
   5951 fi
   5952 OBJDUMP=$ac_cv_prog_OBJDUMP
   5953 if test -n "$OBJDUMP"; then
   5954   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   5955 $as_echo "$OBJDUMP" >&6; }
   5956 else
   5957   { $as_echo "$as_me:$LINENO: result: no" >&5
   5958 $as_echo "no" >&6; }
   5959 fi
   5960 
   5961 
   5962 fi
   5963 if test -z "$ac_cv_prog_OBJDUMP"; then
   5964   ac_ct_OBJDUMP=$OBJDUMP
   5965   # Extract the first word of "objdump", so it can be a program name with args.
   5966 set dummy objdump; ac_word=$2
   5967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5968 $as_echo_n "checking for $ac_word... " >&6; }
   5969 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   5970   $as_echo_n "(cached) " >&6
   5971 else
   5972   if test -n "$ac_ct_OBJDUMP"; then
   5973   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5974 else
   5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5976 for as_dir in $PATH
   5977 do
   5978   IFS=$as_save_IFS
   5979   test -z "$as_dir" && as_dir=.
   5980   for ac_exec_ext in '' $ac_executable_extensions; do
   5981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5982     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5983     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5984     break 2
   5985   fi
   5986 done
   5987 done
   5988 IFS=$as_save_IFS
   5989 
   5990 fi
   5991 fi
   5992 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5993 if test -n "$ac_ct_OBJDUMP"; then
   5994   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   5995 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5996 else
   5997   { $as_echo "$as_me:$LINENO: result: no" >&5
   5998 $as_echo "no" >&6; }
   5999 fi
   6000 
   6001   if test "x$ac_ct_OBJDUMP" = x; then
   6002     OBJDUMP="false"
   6003   else
   6004     case $cross_compiling:$ac_tool_warned in
   6005 yes:)
   6006 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6008 ac_tool_warned=yes ;;
   6009 esac
   6010     OBJDUMP=$ac_ct_OBJDUMP
   6011   fi
   6012 else
   6013   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6014 fi
   6015 
   6016 test -z "$OBJDUMP" && OBJDUMP=objdump
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   6027 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6028 if test "${lt_cv_deplibs_check_method+set}" = set; then
   6029   $as_echo_n "(cached) " >&6
   6030 else
   6031   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6032 lt_cv_file_magic_test_file=
   6033 lt_cv_deplibs_check_method='unknown'
   6034 # Need to set the preceding variable on all platforms that support
   6035 # interlibrary dependencies.
   6036 # 'none' -- dependencies not supported.
   6037 # `unknown' -- same as none, but documents that we really don't know.
   6038 # 'pass_all' -- all dependencies passed with no checks.
   6039 # 'test_compile' -- check by making test program.
   6040 # 'file_magic [[regex]]' -- check by looking for files in library path
   6041 # which responds to the $file_magic_cmd with a given extended regex.
   6042 # If you have `file' or equivalent on your system and you're not sure
   6043 # whether `pass_all' will *always* work, you probably want this one.
   6044 
   6045 case $host_os in
   6046 aix[4-9]*)
   6047   lt_cv_deplibs_check_method=pass_all
   6048   ;;
   6049 
   6050 beos*)
   6051   lt_cv_deplibs_check_method=pass_all
   6052   ;;
   6053 
   6054 bsdi[45]*)
   6055   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6056   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6057   lt_cv_file_magic_test_file=/shlib/libc.so
   6058   ;;
   6059 
   6060 cygwin*)
   6061   # func_win32_libid is a shell function defined in ltmain.sh
   6062   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6063   lt_cv_file_magic_cmd='func_win32_libid'
   6064   ;;
   6065 
   6066 mingw* | pw32*)
   6067   # Base MSYS/MinGW do not provide the 'file' command needed by
   6068   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6069   # unless we find 'file', for example because we are cross-compiling.
   6070   if ( file / ) >/dev/null 2>&1; then
   6071     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6072     lt_cv_file_magic_cmd='func_win32_libid'
   6073   else
   6074     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6075     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6076   fi
   6077   ;;
   6078 
   6079 cegcc)
   6080   # use the weaker test based on 'objdump'. See mingw*.
   6081   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6082   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6083   ;;
   6084 
   6085 darwin* | rhapsody*)
   6086   lt_cv_deplibs_check_method=pass_all
   6087   ;;
   6088 
   6089 freebsd* | dragonfly*)
   6090   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6091     case $host_cpu in
   6092     i*86 )
   6093       # Not sure whether the presence of OpenBSD here was a mistake.
   6094       # Let's accept both of them until this is cleared up.
   6095       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6096       lt_cv_file_magic_cmd=/usr/bin/file
   6097       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6098       ;;
   6099     esac
   6100   else
   6101     lt_cv_deplibs_check_method=pass_all
   6102   fi
   6103   ;;
   6104 
   6105 gnu*)
   6106   lt_cv_deplibs_check_method=pass_all
   6107   ;;
   6108 
   6109 hpux10.20* | hpux11*)
   6110   lt_cv_file_magic_cmd=/usr/bin/file
   6111   case $host_cpu in
   6112   ia64*)
   6113     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6114     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6115     ;;
   6116   hppa*64*)
   6117     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]'
   6118     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6119     ;;
   6120   *)
   6121     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6122     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6123     ;;
   6124   esac
   6125   ;;
   6126 
   6127 interix[3-9]*)
   6128   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6129   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6130   ;;
   6131 
   6132 irix5* | irix6* | nonstopux*)
   6133   case $LD in
   6134   *-32|*"-32 ") libmagic=32-bit;;
   6135   *-n32|*"-n32 ") libmagic=N32;;
   6136   *-64|*"-64 ") libmagic=64-bit;;
   6137   *) libmagic=never-match;;
   6138   esac
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 # This must be Linux ELF.
   6143 linux* | k*bsd*-gnu)
   6144   lt_cv_deplibs_check_method=pass_all
   6145   ;;
   6146 
   6147 netbsd*)
   6148   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6149     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6150   else
   6151     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6152   fi
   6153   ;;
   6154 
   6155 newos6*)
   6156   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6157   lt_cv_file_magic_cmd=/usr/bin/file
   6158   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6159   ;;
   6160 
   6161 *nto* | *qnx*)
   6162   lt_cv_deplibs_check_method=pass_all
   6163   ;;
   6164 
   6165 openbsd*)
   6166   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6167     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6168   else
   6169     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6170   fi
   6171   ;;
   6172 
   6173 osf3* | osf4* | osf5*)
   6174   lt_cv_deplibs_check_method=pass_all
   6175   ;;
   6176 
   6177 rdos*)
   6178   lt_cv_deplibs_check_method=pass_all
   6179   ;;
   6180 
   6181 solaris*)
   6182   lt_cv_deplibs_check_method=pass_all
   6183   ;;
   6184 
   6185 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6186   lt_cv_deplibs_check_method=pass_all
   6187   ;;
   6188 
   6189 sysv4 | sysv4.3*)
   6190   case $host_vendor in
   6191   motorola)
   6192     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]'
   6193     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6194     ;;
   6195   ncr)
   6196     lt_cv_deplibs_check_method=pass_all
   6197     ;;
   6198   sequent)
   6199     lt_cv_file_magic_cmd='/bin/file'
   6200     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6201     ;;
   6202   sni)
   6203     lt_cv_file_magic_cmd='/bin/file'
   6204     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6205     lt_cv_file_magic_test_file=/lib/libc.so
   6206     ;;
   6207   siemens)
   6208     lt_cv_deplibs_check_method=pass_all
   6209     ;;
   6210   pc)
   6211     lt_cv_deplibs_check_method=pass_all
   6212     ;;
   6213   esac
   6214   ;;
   6215 
   6216 tpf*)
   6217   lt_cv_deplibs_check_method=pass_all
   6218   ;;
   6219 esac
   6220 
   6221 fi
   6222 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   6223 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6224 file_magic_cmd=$lt_cv_file_magic_cmd
   6225 deplibs_check_method=$lt_cv_deplibs_check_method
   6226 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 if test -n "$ac_tool_prefix"; then
   6240   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6241 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6243 $as_echo_n "checking for $ac_word... " >&6; }
   6244 if test "${ac_cv_prog_AR+set}" = set; then
   6245   $as_echo_n "(cached) " >&6
   6246 else
   6247   if test -n "$AR"; then
   6248   ac_cv_prog_AR="$AR" # Let the user override the test.
   6249 else
   6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6251 for as_dir in $PATH
   6252 do
   6253   IFS=$as_save_IFS
   6254   test -z "$as_dir" && as_dir=.
   6255   for ac_exec_ext in '' $ac_executable_extensions; do
   6256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6257     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6258     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6259     break 2
   6260   fi
   6261 done
   6262 done
   6263 IFS=$as_save_IFS
   6264 
   6265 fi
   6266 fi
   6267 AR=$ac_cv_prog_AR
   6268 if test -n "$AR"; then
   6269   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6270 $as_echo "$AR" >&6; }
   6271 else
   6272   { $as_echo "$as_me:$LINENO: result: no" >&5
   6273 $as_echo "no" >&6; }
   6274 fi
   6275 
   6276 
   6277 fi
   6278 if test -z "$ac_cv_prog_AR"; then
   6279   ac_ct_AR=$AR
   6280   # Extract the first word of "ar", so it can be a program name with args.
   6281 set dummy ar; ac_word=$2
   6282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6283 $as_echo_n "checking for $ac_word... " >&6; }
   6284 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6285   $as_echo_n "(cached) " >&6
   6286 else
   6287   if test -n "$ac_ct_AR"; then
   6288   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6289 else
   6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6291 for as_dir in $PATH
   6292 do
   6293   IFS=$as_save_IFS
   6294   test -z "$as_dir" && as_dir=.
   6295   for ac_exec_ext in '' $ac_executable_extensions; do
   6296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6297     ac_cv_prog_ac_ct_AR="ar"
   6298     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6299     break 2
   6300   fi
   6301 done
   6302 done
   6303 IFS=$as_save_IFS
   6304 
   6305 fi
   6306 fi
   6307 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6308 if test -n "$ac_ct_AR"; then
   6309   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6310 $as_echo "$ac_ct_AR" >&6; }
   6311 else
   6312   { $as_echo "$as_me:$LINENO: result: no" >&5
   6313 $as_echo "no" >&6; }
   6314 fi
   6315 
   6316   if test "x$ac_ct_AR" = x; then
   6317     AR="false"
   6318   else
   6319     case $cross_compiling:$ac_tool_warned in
   6320 yes:)
   6321 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6323 ac_tool_warned=yes ;;
   6324 esac
   6325     AR=$ac_ct_AR
   6326   fi
   6327 else
   6328   AR="$ac_cv_prog_AR"
   6329 fi
   6330 
   6331 test -z "$AR" && AR=ar
   6332 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 if test -n "$ac_tool_prefix"; then
   6345   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6346 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6348 $as_echo_n "checking for $ac_word... " >&6; }
   6349 if test "${ac_cv_prog_STRIP+set}" = set; then
   6350   $as_echo_n "(cached) " >&6
   6351 else
   6352   if test -n "$STRIP"; then
   6353   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6354 else
   6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6356 for as_dir in $PATH
   6357 do
   6358   IFS=$as_save_IFS
   6359   test -z "$as_dir" && as_dir=.
   6360   for ac_exec_ext in '' $ac_executable_extensions; do
   6361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6362     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6364     break 2
   6365   fi
   6366 done
   6367 done
   6368 IFS=$as_save_IFS
   6369 
   6370 fi
   6371 fi
   6372 STRIP=$ac_cv_prog_STRIP
   6373 if test -n "$STRIP"; then
   6374   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6375 $as_echo "$STRIP" >&6; }
   6376 else
   6377   { $as_echo "$as_me:$LINENO: result: no" >&5
   6378 $as_echo "no" >&6; }
   6379 fi
   6380 
   6381 
   6382 fi
   6383 if test -z "$ac_cv_prog_STRIP"; then
   6384   ac_ct_STRIP=$STRIP
   6385   # Extract the first word of "strip", so it can be a program name with args.
   6386 set dummy strip; ac_word=$2
   6387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6388 $as_echo_n "checking for $ac_word... " >&6; }
   6389 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6390   $as_echo_n "(cached) " >&6
   6391 else
   6392   if test -n "$ac_ct_STRIP"; then
   6393   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6394 else
   6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6396 for as_dir in $PATH
   6397 do
   6398   IFS=$as_save_IFS
   6399   test -z "$as_dir" && as_dir=.
   6400   for ac_exec_ext in '' $ac_executable_extensions; do
   6401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6402     ac_cv_prog_ac_ct_STRIP="strip"
   6403     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6404     break 2
   6405   fi
   6406 done
   6407 done
   6408 IFS=$as_save_IFS
   6409 
   6410 fi
   6411 fi
   6412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6413 if test -n "$ac_ct_STRIP"; then
   6414   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6415 $as_echo "$ac_ct_STRIP" >&6; }
   6416 else
   6417   { $as_echo "$as_me:$LINENO: result: no" >&5
   6418 $as_echo "no" >&6; }
   6419 fi
   6420 
   6421   if test "x$ac_ct_STRIP" = x; then
   6422     STRIP=":"
   6423   else
   6424     case $cross_compiling:$ac_tool_warned in
   6425 yes:)
   6426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6428 ac_tool_warned=yes ;;
   6429 esac
   6430     STRIP=$ac_ct_STRIP
   6431   fi
   6432 else
   6433   STRIP="$ac_cv_prog_STRIP"
   6434 fi
   6435 
   6436 test -z "$STRIP" && STRIP=:
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 if test -n "$ac_tool_prefix"; then
   6444   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6445 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6446 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6447 $as_echo_n "checking for $ac_word... " >&6; }
   6448 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451   if test -n "$RANLIB"; then
   6452   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6453 else
   6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6455 for as_dir in $PATH
   6456 do
   6457   IFS=$as_save_IFS
   6458   test -z "$as_dir" && as_dir=.
   6459   for ac_exec_ext in '' $ac_executable_extensions; do
   6460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6461     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6462     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6463     break 2
   6464   fi
   6465 done
   6466 done
   6467 IFS=$as_save_IFS
   6468 
   6469 fi
   6470 fi
   6471 RANLIB=$ac_cv_prog_RANLIB
   6472 if test -n "$RANLIB"; then
   6473   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6474 $as_echo "$RANLIB" >&6; }
   6475 else
   6476   { $as_echo "$as_me:$LINENO: result: no" >&5
   6477 $as_echo "no" >&6; }
   6478 fi
   6479 
   6480 
   6481 fi
   6482 if test -z "$ac_cv_prog_RANLIB"; then
   6483   ac_ct_RANLIB=$RANLIB
   6484   # Extract the first word of "ranlib", so it can be a program name with args.
   6485 set dummy ranlib; ac_word=$2
   6486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6487 $as_echo_n "checking for $ac_word... " >&6; }
   6488 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   if test -n "$ac_ct_RANLIB"; then
   6492   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6493 else
   6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6495 for as_dir in $PATH
   6496 do
   6497   IFS=$as_save_IFS
   6498   test -z "$as_dir" && as_dir=.
   6499   for ac_exec_ext in '' $ac_executable_extensions; do
   6500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6501     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6502     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6503     break 2
   6504   fi
   6505 done
   6506 done
   6507 IFS=$as_save_IFS
   6508 
   6509 fi
   6510 fi
   6511 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6512 if test -n "$ac_ct_RANLIB"; then
   6513   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6514 $as_echo "$ac_ct_RANLIB" >&6; }
   6515 else
   6516   { $as_echo "$as_me:$LINENO: result: no" >&5
   6517 $as_echo "no" >&6; }
   6518 fi
   6519 
   6520   if test "x$ac_ct_RANLIB" = x; then
   6521     RANLIB=":"
   6522   else
   6523     case $cross_compiling:$ac_tool_warned in
   6524 yes:)
   6525 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6527 ac_tool_warned=yes ;;
   6528 esac
   6529     RANLIB=$ac_ct_RANLIB
   6530   fi
   6531 else
   6532   RANLIB="$ac_cv_prog_RANLIB"
   6533 fi
   6534 
   6535 test -z "$RANLIB" && RANLIB=:
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 # Determine commands to create old-style static archives.
   6543 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6544 old_postinstall_cmds='chmod 644 $oldlib'
   6545 old_postuninstall_cmds=
   6546 
   6547 if test -n "$RANLIB"; then
   6548   case $host_os in
   6549   openbsd*)
   6550     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6551     ;;
   6552   *)
   6553     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6554     ;;
   6555   esac
   6556   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6557 fi
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 # If no C compiler was specified, use CC.
   6593 LTCC=${LTCC-"$CC"}
   6594 
   6595 # If no C compiler flags were specified, use CFLAGS.
   6596 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6597 
   6598 # Allow CC to be a program name with arguments.
   6599 compiler=$CC
   6600 
   6601 
   6602 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6603 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6604 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6605 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608 
   6609 # These are sane defaults that work on at least a few old systems.
   6610 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6611 
   6612 # Character class describing NM global symbol codes.
   6613 symcode='[BCDEGRST]'
   6614 
   6615 # Regexp to match symbols that can be accessed directly from C.
   6616 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6617 
   6618 # Define system-specific variables.
   6619 case $host_os in
   6620 aix*)
   6621   symcode='[BCDT]'
   6622   ;;
   6623 cygwin* | mingw* | pw32* | cegcc*)
   6624   symcode='[ABCDGISTW]'
   6625   ;;
   6626 hpux*)
   6627   if test "$host_cpu" = ia64; then
   6628     symcode='[ABCDEGRST]'
   6629   fi
   6630   ;;
   6631 irix* | nonstopux*)
   6632   symcode='[BCDEGRST]'
   6633   ;;
   6634 osf*)
   6635   symcode='[BCDEGQRST]'
   6636   ;;
   6637 solaris*)
   6638   symcode='[BDRT]'
   6639   ;;
   6640 sco3.2v5*)
   6641   symcode='[DT]'
   6642   ;;
   6643 sysv4.2uw2*)
   6644   symcode='[DT]'
   6645   ;;
   6646 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6647   symcode='[ABDT]'
   6648   ;;
   6649 sysv4)
   6650   symcode='[DFNSTU]'
   6651   ;;
   6652 esac
   6653 
   6654 # If we're using GNU nm, then use its standard symbol codes.
   6655 case `$NM -V 2>&1` in
   6656 *GNU* | *'with BFD'*)
   6657   symcode='[ABCDGIRSTW]' ;;
   6658 esac
   6659 
   6660 # Transform an extracted symbol line into a proper C declaration.
   6661 # Some systems (esp. on ia64) link data and code symbols differently,
   6662 # so use this general approach.
   6663 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6664 
   6665 # Transform an extracted symbol line into symbol name and symbol address
   6666 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6667 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'"
   6668 
   6669 # Handle CRLF in mingw tool chain
   6670 opt_cr=
   6671 case $build_os in
   6672 mingw*)
   6673   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6674   ;;
   6675 esac
   6676 
   6677 # Try without a prefix underscore, then with it.
   6678 for ac_symprfx in "" "_"; do
   6679 
   6680   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6681   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6682 
   6683   # Write the raw and C identifiers.
   6684   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6685     # Fake it for dumpbin and say T for any non-static function
   6686     # and D for any global variable.
   6687     # Also find C++ and __fastcall symbols from MSVC++,
   6688     # which start with @ or ?.
   6689     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6690 "     {last_section=section; section=\$ 3};"\
   6691 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6692 "     \$ 0!~/External *\|/{next};"\
   6693 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6694 "     {if(hide[section]) next};"\
   6695 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6696 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6697 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6698 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6699 "     ' prfx=^$ac_symprfx"
   6700   else
   6701     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6702   fi
   6703 
   6704   # Check to see that the pipe works correctly.
   6705   pipe_works=no
   6706 
   6707   rm -f conftest*
   6708   cat > conftest.$ac_ext <<_LT_EOF
   6709 #ifdef __cplusplus
   6710 extern "C" {
   6711 #endif
   6712 char nm_test_var;
   6713 void nm_test_func(void);
   6714 void nm_test_func(void){}
   6715 #ifdef __cplusplus
   6716 }
   6717 #endif
   6718 int main(){nm_test_var='a';nm_test_func();return(0);}
   6719 _LT_EOF
   6720 
   6721   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6722   (eval $ac_compile) 2>&5
   6723   ac_status=$?
   6724   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6725   (exit $ac_status); }; then
   6726     # Now try to grab the symbols.
   6727     nlist=conftest.nm
   6728     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6729   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6730   ac_status=$?
   6731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6732   (exit $ac_status); } && test -s "$nlist"; then
   6733       # Try sorting and uniquifying the output.
   6734       if sort "$nlist" | uniq > "$nlist"T; then
   6735 	mv -f "$nlist"T "$nlist"
   6736       else
   6737 	rm -f "$nlist"T
   6738       fi
   6739 
   6740       # Make sure that we snagged all the symbols we need.
   6741       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6742 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6743 	  cat <<_LT_EOF > conftest.$ac_ext
   6744 #ifdef __cplusplus
   6745 extern "C" {
   6746 #endif
   6747 
   6748 _LT_EOF
   6749 	  # Now generate the symbol file.
   6750 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6751 
   6752 	  cat <<_LT_EOF >> conftest.$ac_ext
   6753 
   6754 /* The mapping between symbol names and symbols.  */
   6755 const struct {
   6756   const char *name;
   6757   void       *address;
   6758 }
   6759 lt__PROGRAM__LTX_preloaded_symbols[] =
   6760 {
   6761   { "@PROGRAM@", (void *) 0 },
   6762 _LT_EOF
   6763 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6764 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6765   {0, (void *) 0}
   6766 };
   6767 
   6768 /* This works around a problem in FreeBSD linker */
   6769 #ifdef FREEBSD_WORKAROUND
   6770 static const void *lt_preloaded_setup() {
   6771   return lt__PROGRAM__LTX_preloaded_symbols;
   6772 }
   6773 #endif
   6774 
   6775 #ifdef __cplusplus
   6776 }
   6777 #endif
   6778 _LT_EOF
   6779 	  # Now try linking the two files.
   6780 	  mv conftest.$ac_objext conftstm.$ac_objext
   6781 	  lt_save_LIBS="$LIBS"
   6782 	  lt_save_CFLAGS="$CFLAGS"
   6783 	  LIBS="conftstm.$ac_objext"
   6784 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6785 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6786   (eval $ac_link) 2>&5
   6787   ac_status=$?
   6788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6789   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6790 	    pipe_works=yes
   6791 	  fi
   6792 	  LIBS="$lt_save_LIBS"
   6793 	  CFLAGS="$lt_save_CFLAGS"
   6794 	else
   6795 	  echo "cannot find nm_test_func in $nlist" >&5
   6796 	fi
   6797       else
   6798 	echo "cannot find nm_test_var in $nlist" >&5
   6799       fi
   6800     else
   6801       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6802     fi
   6803   else
   6804     echo "$progname: failed program was:" >&5
   6805     cat conftest.$ac_ext >&5
   6806   fi
   6807   rm -rf conftest* conftst*
   6808 
   6809   # Do not use the global_symbol_pipe unless it works.
   6810   if test "$pipe_works" = yes; then
   6811     break
   6812   else
   6813     lt_cv_sys_global_symbol_pipe=
   6814   fi
   6815 done
   6816 
   6817 fi
   6818 
   6819 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6820   lt_cv_sys_global_symbol_to_cdecl=
   6821 fi
   6822 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6823   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6824 $as_echo "failed" >&6; }
   6825 else
   6826   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6827 $as_echo "ok" >&6; }
   6828 fi
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 # Check whether --enable-libtool-lock was given.
   6852 if test "${enable_libtool_lock+set}" = set; then
   6853   enableval=$enable_libtool_lock;
   6854 fi
   6855 
   6856 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6857 
   6858 # Some flags need to be propagated to the compiler or linker for good
   6859 # libtool support.
   6860 case $host in
   6861 ia64-*-hpux*)
   6862   # Find out which ABI we are using.
   6863   echo 'int i;' > conftest.$ac_ext
   6864   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6865   (eval $ac_compile) 2>&5
   6866   ac_status=$?
   6867   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6868   (exit $ac_status); }; then
   6869     case `/usr/bin/file conftest.$ac_objext` in
   6870       *ELF-32*)
   6871 	HPUX_IA64_MODE="32"
   6872 	;;
   6873       *ELF-64*)
   6874 	HPUX_IA64_MODE="64"
   6875 	;;
   6876     esac
   6877   fi
   6878   rm -rf conftest*
   6879   ;;
   6880 *-*-irix6*)
   6881   # Find out which ABI we are using.
   6882   echo '#line 6882 "configure"' > conftest.$ac_ext
   6883   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6884   (eval $ac_compile) 2>&5
   6885   ac_status=$?
   6886   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6887   (exit $ac_status); }; then
   6888     if test "$lt_cv_prog_gnu_ld" = yes; then
   6889       case `/usr/bin/file conftest.$ac_objext` in
   6890 	*32-bit*)
   6891 	  LD="${LD-ld} -melf32bsmip"
   6892 	  ;;
   6893 	*N32*)
   6894 	  LD="${LD-ld} -melf32bmipn32"
   6895 	  ;;
   6896 	*64-bit*)
   6897 	  LD="${LD-ld} -melf64bmip"
   6898 	;;
   6899       esac
   6900     else
   6901       case `/usr/bin/file conftest.$ac_objext` in
   6902 	*32-bit*)
   6903 	  LD="${LD-ld} -32"
   6904 	  ;;
   6905 	*N32*)
   6906 	  LD="${LD-ld} -n32"
   6907 	  ;;
   6908 	*64-bit*)
   6909 	  LD="${LD-ld} -64"
   6910 	  ;;
   6911       esac
   6912     fi
   6913   fi
   6914   rm -rf conftest*
   6915   ;;
   6916 
   6917 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6918 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6919   # Find out which ABI we are using.
   6920   echo 'int i;' > conftest.$ac_ext
   6921   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6922   (eval $ac_compile) 2>&5
   6923   ac_status=$?
   6924   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6925   (exit $ac_status); }; then
   6926     case `/usr/bin/file conftest.o` in
   6927       *32-bit*)
   6928 	case $host in
   6929 	  x86_64-*kfreebsd*-gnu)
   6930 	    LD="${LD-ld} -m elf_i386_fbsd"
   6931 	    ;;
   6932 	  x86_64-*linux*)
   6933 	    LD="${LD-ld} -m elf_i386"
   6934 	    ;;
   6935 	  ppc64-*linux*|powerpc64-*linux*)
   6936 	    LD="${LD-ld} -m elf32ppclinux"
   6937 	    ;;
   6938 	  s390x-*linux*)
   6939 	    LD="${LD-ld} -m elf_s390"
   6940 	    ;;
   6941 	  sparc64-*linux*)
   6942 	    LD="${LD-ld} -m elf32_sparc"
   6943 	    ;;
   6944 	esac
   6945 	;;
   6946       *64-bit*)
   6947 	case $host in
   6948 	  x86_64-*kfreebsd*-gnu)
   6949 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6950 	    ;;
   6951 	  x86_64-*linux*)
   6952 	    LD="${LD-ld} -m elf_x86_64"
   6953 	    ;;
   6954 	  ppc*-*linux*|powerpc*-*linux*)
   6955 	    LD="${LD-ld} -m elf64ppc"
   6956 	    ;;
   6957 	  s390*-*linux*|s390*-*tpf*)
   6958 	    LD="${LD-ld} -m elf64_s390"
   6959 	    ;;
   6960 	  sparc*-*linux*)
   6961 	    LD="${LD-ld} -m elf64_sparc"
   6962 	    ;;
   6963 	esac
   6964 	;;
   6965     esac
   6966   fi
   6967   rm -rf conftest*
   6968   ;;
   6969 
   6970 *-*-sco3.2v5*)
   6971   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6972   SAVE_CFLAGS="$CFLAGS"
   6973   CFLAGS="$CFLAGS -belf"
   6974   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   6975 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6976 if test "${lt_cv_cc_needs_belf+set}" = set; then
   6977   $as_echo_n "(cached) " >&6
   6978 else
   6979   ac_ext=c
   6980 ac_cpp='$CPP $CPPFLAGS'
   6981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6984 
   6985      cat >conftest.$ac_ext <<_ACEOF
   6986 /* confdefs.h.  */
   6987 _ACEOF
   6988 cat confdefs.h >>conftest.$ac_ext
   6989 cat >>conftest.$ac_ext <<_ACEOF
   6990 /* end confdefs.h.  */
   6991 
   6992 int
   6993 main ()
   6994 {
   6995 
   6996   ;
   6997   return 0;
   6998 }
   6999 _ACEOF
   7000 rm -f conftest.$ac_objext conftest$ac_exeext
   7001 if { (ac_try="$ac_link"
   7002 case "(($ac_try" in
   7003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7004   *) ac_try_echo=$ac_try;;
   7005 esac
   7006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7007 $as_echo "$ac_try_echo") >&5
   7008   (eval "$ac_link") 2>conftest.er1
   7009   ac_status=$?
   7010   grep -v '^ *+' conftest.er1 >conftest.err
   7011   rm -f conftest.er1
   7012   cat conftest.err >&5
   7013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7014   (exit $ac_status); } && {
   7015 	 test -z "$ac_c_werror_flag" ||
   7016 	 test ! -s conftest.err
   7017        } && test -s conftest$ac_exeext && {
   7018 	 test "$cross_compiling" = yes ||
   7019 	 $as_test_x conftest$ac_exeext
   7020        }; then
   7021   lt_cv_cc_needs_belf=yes
   7022 else
   7023   $as_echo "$as_me: failed program was:" >&5
   7024 sed 's/^/| /' conftest.$ac_ext >&5
   7025 
   7026 	lt_cv_cc_needs_belf=no
   7027 fi
   7028 
   7029 rm -rf conftest.dSYM
   7030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7031       conftest$ac_exeext conftest.$ac_ext
   7032      ac_ext=c
   7033 ac_cpp='$CPP $CPPFLAGS'
   7034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7037 
   7038 fi
   7039 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   7040 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7041   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7042     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7043     CFLAGS="$SAVE_CFLAGS"
   7044   fi
   7045   ;;
   7046 sparc*-*solaris*)
   7047   # Find out which ABI we are using.
   7048   echo 'int i;' > conftest.$ac_ext
   7049   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7050   (eval $ac_compile) 2>&5
   7051   ac_status=$?
   7052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7053   (exit $ac_status); }; then
   7054     case `/usr/bin/file conftest.o` in
   7055     *64-bit*)
   7056       case $lt_cv_prog_gnu_ld in
   7057       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7058       *)
   7059 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7060 	  LD="${LD-ld} -64"
   7061 	fi
   7062 	;;
   7063       esac
   7064       ;;
   7065     esac
   7066   fi
   7067   rm -rf conftest*
   7068   ;;
   7069 esac
   7070 
   7071 need_locks="$enable_libtool_lock"
   7072 
   7073 
   7074   case $host_os in
   7075     rhapsody* | darwin*)
   7076     if test -n "$ac_tool_prefix"; then
   7077   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7078 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7080 $as_echo_n "checking for $ac_word... " >&6; }
   7081 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   if test -n "$DSYMUTIL"; then
   7085   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7086 else
   7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7088 for as_dir in $PATH
   7089 do
   7090   IFS=$as_save_IFS
   7091   test -z "$as_dir" && as_dir=.
   7092   for ac_exec_ext in '' $ac_executable_extensions; do
   7093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7094     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7096     break 2
   7097   fi
   7098 done
   7099 done
   7100 IFS=$as_save_IFS
   7101 
   7102 fi
   7103 fi
   7104 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7105 if test -n "$DSYMUTIL"; then
   7106   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7107 $as_echo "$DSYMUTIL" >&6; }
   7108 else
   7109   { $as_echo "$as_me:$LINENO: result: no" >&5
   7110 $as_echo "no" >&6; }
   7111 fi
   7112 
   7113 
   7114 fi
   7115 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7116   ac_ct_DSYMUTIL=$DSYMUTIL
   7117   # Extract the first word of "dsymutil", so it can be a program name with args.
   7118 set dummy dsymutil; ac_word=$2
   7119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7120 $as_echo_n "checking for $ac_word... " >&6; }
   7121 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7122   $as_echo_n "(cached) " >&6
   7123 else
   7124   if test -n "$ac_ct_DSYMUTIL"; then
   7125   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7126 else
   7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7128 for as_dir in $PATH
   7129 do
   7130   IFS=$as_save_IFS
   7131   test -z "$as_dir" && as_dir=.
   7132   for ac_exec_ext in '' $ac_executable_extensions; do
   7133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7134     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7135     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7136     break 2
   7137   fi
   7138 done
   7139 done
   7140 IFS=$as_save_IFS
   7141 
   7142 fi
   7143 fi
   7144 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7145 if test -n "$ac_ct_DSYMUTIL"; then
   7146   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7147 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7148 else
   7149   { $as_echo "$as_me:$LINENO: result: no" >&5
   7150 $as_echo "no" >&6; }
   7151 fi
   7152 
   7153   if test "x$ac_ct_DSYMUTIL" = x; then
   7154     DSYMUTIL=":"
   7155   else
   7156     case $cross_compiling:$ac_tool_warned in
   7157 yes:)
   7158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7160 ac_tool_warned=yes ;;
   7161 esac
   7162     DSYMUTIL=$ac_ct_DSYMUTIL
   7163   fi
   7164 else
   7165   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7166 fi
   7167 
   7168     if test -n "$ac_tool_prefix"; then
   7169   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7170 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7172 $as_echo_n "checking for $ac_word... " >&6; }
   7173 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7174   $as_echo_n "(cached) " >&6
   7175 else
   7176   if test -n "$NMEDIT"; then
   7177   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7178 else
   7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7180 for as_dir in $PATH
   7181 do
   7182   IFS=$as_save_IFS
   7183   test -z "$as_dir" && as_dir=.
   7184   for ac_exec_ext in '' $ac_executable_extensions; do
   7185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7186     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7187     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7188     break 2
   7189   fi
   7190 done
   7191 done
   7192 IFS=$as_save_IFS
   7193 
   7194 fi
   7195 fi
   7196 NMEDIT=$ac_cv_prog_NMEDIT
   7197 if test -n "$NMEDIT"; then
   7198   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7199 $as_echo "$NMEDIT" >&6; }
   7200 else
   7201   { $as_echo "$as_me:$LINENO: result: no" >&5
   7202 $as_echo "no" >&6; }
   7203 fi
   7204 
   7205 
   7206 fi
   7207 if test -z "$ac_cv_prog_NMEDIT"; then
   7208   ac_ct_NMEDIT=$NMEDIT
   7209   # Extract the first word of "nmedit", so it can be a program name with args.
   7210 set dummy nmedit; ac_word=$2
   7211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7212 $as_echo_n "checking for $ac_word... " >&6; }
   7213 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   if test -n "$ac_ct_NMEDIT"; then
   7217   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7218 else
   7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7220 for as_dir in $PATH
   7221 do
   7222   IFS=$as_save_IFS
   7223   test -z "$as_dir" && as_dir=.
   7224   for ac_exec_ext in '' $ac_executable_extensions; do
   7225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7226     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7227     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7228     break 2
   7229   fi
   7230 done
   7231 done
   7232 IFS=$as_save_IFS
   7233 
   7234 fi
   7235 fi
   7236 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7237 if test -n "$ac_ct_NMEDIT"; then
   7238   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7239 $as_echo "$ac_ct_NMEDIT" >&6; }
   7240 else
   7241   { $as_echo "$as_me:$LINENO: result: no" >&5
   7242 $as_echo "no" >&6; }
   7243 fi
   7244 
   7245   if test "x$ac_ct_NMEDIT" = x; then
   7246     NMEDIT=":"
   7247   else
   7248     case $cross_compiling:$ac_tool_warned in
   7249 yes:)
   7250 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7252 ac_tool_warned=yes ;;
   7253 esac
   7254     NMEDIT=$ac_ct_NMEDIT
   7255   fi
   7256 else
   7257   NMEDIT="$ac_cv_prog_NMEDIT"
   7258 fi
   7259 
   7260     if test -n "$ac_tool_prefix"; then
   7261   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7262 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7264 $as_echo_n "checking for $ac_word... " >&6; }
   7265 if test "${ac_cv_prog_LIPO+set}" = set; then
   7266   $as_echo_n "(cached) " >&6
   7267 else
   7268   if test -n "$LIPO"; then
   7269   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7270 else
   7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7272 for as_dir in $PATH
   7273 do
   7274   IFS=$as_save_IFS
   7275   test -z "$as_dir" && as_dir=.
   7276   for ac_exec_ext in '' $ac_executable_extensions; do
   7277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7278     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7279     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7280     break 2
   7281   fi
   7282 done
   7283 done
   7284 IFS=$as_save_IFS
   7285 
   7286 fi
   7287 fi
   7288 LIPO=$ac_cv_prog_LIPO
   7289 if test -n "$LIPO"; then
   7290   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   7291 $as_echo "$LIPO" >&6; }
   7292 else
   7293   { $as_echo "$as_me:$LINENO: result: no" >&5
   7294 $as_echo "no" >&6; }
   7295 fi
   7296 
   7297 
   7298 fi
   7299 if test -z "$ac_cv_prog_LIPO"; then
   7300   ac_ct_LIPO=$LIPO
   7301   # Extract the first word of "lipo", so it can be a program name with args.
   7302 set dummy lipo; ac_word=$2
   7303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7304 $as_echo_n "checking for $ac_word... " >&6; }
   7305 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   7306   $as_echo_n "(cached) " >&6
   7307 else
   7308   if test -n "$ac_ct_LIPO"; then
   7309   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7310 else
   7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7312 for as_dir in $PATH
   7313 do
   7314   IFS=$as_save_IFS
   7315   test -z "$as_dir" && as_dir=.
   7316   for ac_exec_ext in '' $ac_executable_extensions; do
   7317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7318     ac_cv_prog_ac_ct_LIPO="lipo"
   7319     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7320     break 2
   7321   fi
   7322 done
   7323 done
   7324 IFS=$as_save_IFS
   7325 
   7326 fi
   7327 fi
   7328 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7329 if test -n "$ac_ct_LIPO"; then
   7330   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   7331 $as_echo "$ac_ct_LIPO" >&6; }
   7332 else
   7333   { $as_echo "$as_me:$LINENO: result: no" >&5
   7334 $as_echo "no" >&6; }
   7335 fi
   7336 
   7337   if test "x$ac_ct_LIPO" = x; then
   7338     LIPO=":"
   7339   else
   7340     case $cross_compiling:$ac_tool_warned in
   7341 yes:)
   7342 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7344 ac_tool_warned=yes ;;
   7345 esac
   7346     LIPO=$ac_ct_LIPO
   7347   fi
   7348 else
   7349   LIPO="$ac_cv_prog_LIPO"
   7350 fi
   7351 
   7352     if test -n "$ac_tool_prefix"; then
   7353   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7354 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7356 $as_echo_n "checking for $ac_word... " >&6; }
   7357 if test "${ac_cv_prog_OTOOL+set}" = set; then
   7358   $as_echo_n "(cached) " >&6
   7359 else
   7360   if test -n "$OTOOL"; then
   7361   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7362 else
   7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7364 for as_dir in $PATH
   7365 do
   7366   IFS=$as_save_IFS
   7367   test -z "$as_dir" && as_dir=.
   7368   for ac_exec_ext in '' $ac_executable_extensions; do
   7369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7370     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7371     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7372     break 2
   7373   fi
   7374 done
   7375 done
   7376 IFS=$as_save_IFS
   7377 
   7378 fi
   7379 fi
   7380 OTOOL=$ac_cv_prog_OTOOL
   7381 if test -n "$OTOOL"; then
   7382   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   7383 $as_echo "$OTOOL" >&6; }
   7384 else
   7385   { $as_echo "$as_me:$LINENO: result: no" >&5
   7386 $as_echo "no" >&6; }
   7387 fi
   7388 
   7389 
   7390 fi
   7391 if test -z "$ac_cv_prog_OTOOL"; then
   7392   ac_ct_OTOOL=$OTOOL
   7393   # Extract the first word of "otool", so it can be a program name with args.
   7394 set dummy otool; ac_word=$2
   7395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7396 $as_echo_n "checking for $ac_word... " >&6; }
   7397 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   7398   $as_echo_n "(cached) " >&6
   7399 else
   7400   if test -n "$ac_ct_OTOOL"; then
   7401   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7402 else
   7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7404 for as_dir in $PATH
   7405 do
   7406   IFS=$as_save_IFS
   7407   test -z "$as_dir" && as_dir=.
   7408   for ac_exec_ext in '' $ac_executable_extensions; do
   7409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7410     ac_cv_prog_ac_ct_OTOOL="otool"
   7411     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7412     break 2
   7413   fi
   7414 done
   7415 done
   7416 IFS=$as_save_IFS
   7417 
   7418 fi
   7419 fi
   7420 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7421 if test -n "$ac_ct_OTOOL"; then
   7422   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   7423 $as_echo "$ac_ct_OTOOL" >&6; }
   7424 else
   7425   { $as_echo "$as_me:$LINENO: result: no" >&5
   7426 $as_echo "no" >&6; }
   7427 fi
   7428 
   7429   if test "x$ac_ct_OTOOL" = x; then
   7430     OTOOL=":"
   7431   else
   7432     case $cross_compiling:$ac_tool_warned in
   7433 yes:)
   7434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7436 ac_tool_warned=yes ;;
   7437 esac
   7438     OTOOL=$ac_ct_OTOOL
   7439   fi
   7440 else
   7441   OTOOL="$ac_cv_prog_OTOOL"
   7442 fi
   7443 
   7444     if test -n "$ac_tool_prefix"; then
   7445   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7446 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7447 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7448 $as_echo_n "checking for $ac_word... " >&6; }
   7449 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   7450   $as_echo_n "(cached) " >&6
   7451 else
   7452   if test -n "$OTOOL64"; then
   7453   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7454 else
   7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7456 for as_dir in $PATH
   7457 do
   7458   IFS=$as_save_IFS
   7459   test -z "$as_dir" && as_dir=.
   7460   for ac_exec_ext in '' $ac_executable_extensions; do
   7461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7462     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7463     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7464     break 2
   7465   fi
   7466 done
   7467 done
   7468 IFS=$as_save_IFS
   7469 
   7470 fi
   7471 fi
   7472 OTOOL64=$ac_cv_prog_OTOOL64
   7473 if test -n "$OTOOL64"; then
   7474   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   7475 $as_echo "$OTOOL64" >&6; }
   7476 else
   7477   { $as_echo "$as_me:$LINENO: result: no" >&5
   7478 $as_echo "no" >&6; }
   7479 fi
   7480 
   7481 
   7482 fi
   7483 if test -z "$ac_cv_prog_OTOOL64"; then
   7484   ac_ct_OTOOL64=$OTOOL64
   7485   # Extract the first word of "otool64", so it can be a program name with args.
   7486 set dummy otool64; ac_word=$2
   7487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7488 $as_echo_n "checking for $ac_word... " >&6; }
   7489 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   7490   $as_echo_n "(cached) " >&6
   7491 else
   7492   if test -n "$ac_ct_OTOOL64"; then
   7493   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7494 else
   7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7496 for as_dir in $PATH
   7497 do
   7498   IFS=$as_save_IFS
   7499   test -z "$as_dir" && as_dir=.
   7500   for ac_exec_ext in '' $ac_executable_extensions; do
   7501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7502     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7503     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7504     break 2
   7505   fi
   7506 done
   7507 done
   7508 IFS=$as_save_IFS
   7509 
   7510 fi
   7511 fi
   7512 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7513 if test -n "$ac_ct_OTOOL64"; then
   7514   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   7515 $as_echo "$ac_ct_OTOOL64" >&6; }
   7516 else
   7517   { $as_echo "$as_me:$LINENO: result: no" >&5
   7518 $as_echo "no" >&6; }
   7519 fi
   7520 
   7521   if test "x$ac_ct_OTOOL64" = x; then
   7522     OTOOL64=":"
   7523   else
   7524     case $cross_compiling:$ac_tool_warned in
   7525 yes:)
   7526 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7528 ac_tool_warned=yes ;;
   7529 esac
   7530     OTOOL64=$ac_ct_OTOOL64
   7531   fi
   7532 else
   7533   OTOOL64="$ac_cv_prog_OTOOL64"
   7534 fi
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7563 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7564 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7565   $as_echo_n "(cached) " >&6
   7566 else
   7567   lt_cv_apple_cc_single_mod=no
   7568       if test -z "${LT_MULTI_MODULE}"; then
   7569 	# By default we will add the -single_module flag. You can override
   7570 	# by either setting the environment variable LT_MULTI_MODULE
   7571 	# non-empty at configure time, or by adding -multi_module to the
   7572 	# link flags.
   7573 	rm -rf libconftest.dylib*
   7574 	echo "int foo(void){return 1;}" > conftest.c
   7575 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7576 -dynamiclib -Wl,-single_module conftest.c" >&5
   7577 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7578 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7579         _lt_result=$?
   7580 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7581 	  lt_cv_apple_cc_single_mod=yes
   7582 	else
   7583 	  cat conftest.err >&5
   7584 	fi
   7585 	rm -rf libconftest.dylib*
   7586 	rm -f conftest.*
   7587       fi
   7588 fi
   7589 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7590 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7591     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7592 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7593 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7594   $as_echo_n "(cached) " >&6
   7595 else
   7596   lt_cv_ld_exported_symbols_list=no
   7597       save_LDFLAGS=$LDFLAGS
   7598       echo "_main" > conftest.sym
   7599       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7600       cat >conftest.$ac_ext <<_ACEOF
   7601 /* confdefs.h.  */
   7602 _ACEOF
   7603 cat confdefs.h >>conftest.$ac_ext
   7604 cat >>conftest.$ac_ext <<_ACEOF
   7605 /* end confdefs.h.  */
   7606 
   7607 int
   7608 main ()
   7609 {
   7610 
   7611   ;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 rm -f conftest.$ac_objext conftest$ac_exeext
   7616 if { (ac_try="$ac_link"
   7617 case "(($ac_try" in
   7618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7619   *) ac_try_echo=$ac_try;;
   7620 esac
   7621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7622 $as_echo "$ac_try_echo") >&5
   7623   (eval "$ac_link") 2>conftest.er1
   7624   ac_status=$?
   7625   grep -v '^ *+' conftest.er1 >conftest.err
   7626   rm -f conftest.er1
   7627   cat conftest.err >&5
   7628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7629   (exit $ac_status); } && {
   7630 	 test -z "$ac_c_werror_flag" ||
   7631 	 test ! -s conftest.err
   7632        } && test -s conftest$ac_exeext && {
   7633 	 test "$cross_compiling" = yes ||
   7634 	 $as_test_x conftest$ac_exeext
   7635        }; then
   7636   lt_cv_ld_exported_symbols_list=yes
   7637 else
   7638   $as_echo "$as_me: failed program was:" >&5
   7639 sed 's/^/| /' conftest.$ac_ext >&5
   7640 
   7641 	lt_cv_ld_exported_symbols_list=no
   7642 fi
   7643 
   7644 rm -rf conftest.dSYM
   7645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7646       conftest$ac_exeext conftest.$ac_ext
   7647 	LDFLAGS="$save_LDFLAGS"
   7648 
   7649 fi
   7650 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7651 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7652     case $host_os in
   7653     rhapsody* | darwin1.[012])
   7654       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7655     darwin1.*)
   7656       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7657     darwin*) # darwin 5.x on
   7658       # if running on 10.5 or later, the deployment target defaults
   7659       # to the OS version, if on x86, and 10.4, the deployment
   7660       # target defaults to 10.4. Don't you love it?
   7661       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7662 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7663 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7664 	10.[012]*)
   7665 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7666 	10.*)
   7667 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7668       esac
   7669     ;;
   7670   esac
   7671     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7672       _lt_dar_single_mod='$single_module'
   7673     fi
   7674     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7675       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7676     else
   7677       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7678     fi
   7679     if test "$DSYMUTIL" != ":"; then
   7680       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7681     else
   7682       _lt_dsymutil=
   7683     fi
   7684     ;;
   7685   esac
   7686 
   7687 
   7688 for ac_header in dlfcn.h
   7689 do
   7690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7691 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   7692 $as_echo_n "checking for $ac_header... " >&6; }
   7693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   7694   $as_echo_n "(cached) " >&6
   7695 else
   7696   cat >conftest.$ac_ext <<_ACEOF
   7697 /* confdefs.h.  */
   7698 _ACEOF
   7699 cat confdefs.h >>conftest.$ac_ext
   7700 cat >>conftest.$ac_ext <<_ACEOF
   7701 /* end confdefs.h.  */
   7702 $ac_includes_default
   7703 
   7704 #include <$ac_header>
   7705 _ACEOF
   7706 rm -f conftest.$ac_objext
   7707 if { (ac_try="$ac_compile"
   7708 case "(($ac_try" in
   7709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7710   *) ac_try_echo=$ac_try;;
   7711 esac
   7712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7713 $as_echo "$ac_try_echo") >&5
   7714   (eval "$ac_compile") 2>conftest.er1
   7715   ac_status=$?
   7716   grep -v '^ *+' conftest.er1 >conftest.err
   7717   rm -f conftest.er1
   7718   cat conftest.err >&5
   7719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7720   (exit $ac_status); } && {
   7721 	 test -z "$ac_c_werror_flag" ||
   7722 	 test ! -s conftest.err
   7723        } && test -s conftest.$ac_objext; then
   7724   eval "$as_ac_Header=yes"
   7725 else
   7726   $as_echo "$as_me: failed program was:" >&5
   7727 sed 's/^/| /' conftest.$ac_ext >&5
   7728 
   7729 	eval "$as_ac_Header=no"
   7730 fi
   7731 
   7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7733 fi
   7734 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7735 		 $as_echo "$as_val"'`
   7736 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7737 $as_echo "$ac_res" >&6; }
   7738 as_val=`eval 'as_val=${'$as_ac_Header'}
   7739 		 $as_echo "$as_val"'`
   7740    if test "x$as_val" = x""yes; then
   7741   cat >>confdefs.h <<_ACEOF
   7742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7743 _ACEOF
   7744 
   7745 fi
   7746 
   7747 done
   7748 
   7749 
   7750 
   7751 # Set options
   7752 
   7753 
   7754 
   7755         enable_dlopen=no
   7756 
   7757 
   7758   enable_win32_dll=no
   7759 
   7760 
   7761             # Check whether --enable-shared was given.
   7762 if test "${enable_shared+set}" = set; then
   7763   enableval=$enable_shared; p=${PACKAGE-default}
   7764     case $enableval in
   7765     yes) enable_shared=yes ;;
   7766     no) enable_shared=no ;;
   7767     *)
   7768       enable_shared=no
   7769       # Look at the argument we got.  We use all the common list separators.
   7770       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7771       for pkg in $enableval; do
   7772 	IFS="$lt_save_ifs"
   7773 	if test "X$pkg" = "X$p"; then
   7774 	  enable_shared=yes
   7775 	fi
   7776       done
   7777       IFS="$lt_save_ifs"
   7778       ;;
   7779     esac
   7780 else
   7781   enable_shared=yes
   7782 fi
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 # Check whether --with-pic was given.
   7795 if test "${with_pic+set}" = set; then
   7796   withval=$with_pic; pic_mode="$withval"
   7797 else
   7798   pic_mode=default
   7799 fi
   7800 
   7801 
   7802 test -z "$pic_mode" && pic_mode=default
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810   # Check whether --enable-fast-install was given.
   7811 if test "${enable_fast_install+set}" = set; then
   7812   enableval=$enable_fast_install; p=${PACKAGE-default}
   7813     case $enableval in
   7814     yes) enable_fast_install=yes ;;
   7815     no) enable_fast_install=no ;;
   7816     *)
   7817       enable_fast_install=no
   7818       # Look at the argument we got.  We use all the common list separators.
   7819       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7820       for pkg in $enableval; do
   7821 	IFS="$lt_save_ifs"
   7822 	if test "X$pkg" = "X$p"; then
   7823 	  enable_fast_install=yes
   7824 	fi
   7825       done
   7826       IFS="$lt_save_ifs"
   7827       ;;
   7828     esac
   7829 else
   7830   enable_fast_install=yes
   7831 fi
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 # This can be used to rebuild libtool when needed
   7844 LIBTOOL_DEPS="$ltmain"
   7845 
   7846 # Always use our own libtool.
   7847 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 test -z "$LN_S" && LN_S="ln -s"
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 if test -n "${ZSH_VERSION+set}" ; then
   7889    setopt NO_GLOB_SUBST
   7890 fi
   7891 
   7892 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7893 $as_echo_n "checking for objdir... " >&6; }
   7894 if test "${lt_cv_objdir+set}" = set; then
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   rm -f .libs 2>/dev/null
   7898 mkdir .libs 2>/dev/null
   7899 if test -d .libs; then
   7900   lt_cv_objdir=.libs
   7901 else
   7902   # MS-DOS does not allow filenames that begin with a dot.
   7903   lt_cv_objdir=_libs
   7904 fi
   7905 rmdir .libs 2>/dev/null
   7906 fi
   7907 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7908 $as_echo "$lt_cv_objdir" >&6; }
   7909 objdir=$lt_cv_objdir
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 cat >>confdefs.h <<_ACEOF
   7916 #define LT_OBJDIR "$lt_cv_objdir/"
   7917 _ACEOF
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 case $host_os in
   7936 aix3*)
   7937   # AIX sometimes has problems with the GCC collect2 program.  For some
   7938   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7939   # vanish in a puff of smoke.
   7940   if test "X${COLLECT_NAMES+set}" != Xset; then
   7941     COLLECT_NAMES=
   7942     export COLLECT_NAMES
   7943   fi
   7944   ;;
   7945 esac
   7946 
   7947 # Sed substitution that helps us do robust quoting.  It backslashifies
   7948 # metacharacters that are still active within double-quoted strings.
   7949 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7950 
   7951 # Same as above, but do not quote variable references.
   7952 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7953 
   7954 # Sed substitution to delay expansion of an escaped shell variable in a
   7955 # double_quote_subst'ed string.
   7956 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7957 
   7958 # Sed substitution to delay expansion of an escaped single quote.
   7959 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7960 
   7961 # Sed substitution to avoid accidental globbing in evaled expressions
   7962 no_glob_subst='s/\*/\\\*/g'
   7963 
   7964 # Global variables:
   7965 ofile=libtool
   7966 can_build_shared=yes
   7967 
   7968 # All known linkers require a `.a' archive for static linking (except MSVC,
   7969 # which needs '.lib').
   7970 libext=a
   7971 
   7972 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7973 
   7974 old_CC="$CC"
   7975 old_CFLAGS="$CFLAGS"
   7976 
   7977 # Set sane defaults for various variables
   7978 test -z "$CC" && CC=cc
   7979 test -z "$LTCC" && LTCC=$CC
   7980 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7981 test -z "$LD" && LD=ld
   7982 test -z "$ac_objext" && ac_objext=o
   7983 
   7984 for cc_temp in $compiler""; do
   7985   case $cc_temp in
   7986     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7987     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7988     \-*) ;;
   7989     *) break;;
   7990   esac
   7991 done
   7992 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7993 
   7994 
   7995 # Only perform the check for file, if the check method requires it
   7996 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7997 case $deplibs_check_method in
   7998 file_magic*)
   7999   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8000     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   8001 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8002 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8003   $as_echo_n "(cached) " >&6
   8004 else
   8005   case $MAGIC_CMD in
   8006 [\\/*] |  ?:[\\/]*)
   8007   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8008   ;;
   8009 *)
   8010   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8011   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8012   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8013   for ac_dir in $ac_dummy; do
   8014     IFS="$lt_save_ifs"
   8015     test -z "$ac_dir" && ac_dir=.
   8016     if test -f $ac_dir/${ac_tool_prefix}file; then
   8017       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8018       if test -n "$file_magic_test_file"; then
   8019 	case $deplibs_check_method in
   8020 	"file_magic "*)
   8021 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8022 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8023 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8024 	    $EGREP "$file_magic_regex" > /dev/null; then
   8025 	    :
   8026 	  else
   8027 	    cat <<_LT_EOF 1>&2
   8028 
   8029 *** Warning: the command libtool uses to detect shared libraries,
   8030 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8031 *** The result is that libtool may fail to recognize shared libraries
   8032 *** as such.  This will affect the creation of libtool libraries that
   8033 *** depend on shared libraries, but programs linked with such libtool
   8034 *** libraries will work regardless of this problem.  Nevertheless, you
   8035 *** may want to report the problem to your system manager and/or to
   8036 *** bug-libtool@gnu.org
   8037 
   8038 _LT_EOF
   8039 	  fi ;;
   8040 	esac
   8041       fi
   8042       break
   8043     fi
   8044   done
   8045   IFS="$lt_save_ifs"
   8046   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8047   ;;
   8048 esac
   8049 fi
   8050 
   8051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8052 if test -n "$MAGIC_CMD"; then
   8053   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8054 $as_echo "$MAGIC_CMD" >&6; }
   8055 else
   8056   { $as_echo "$as_me:$LINENO: result: no" >&5
   8057 $as_echo "no" >&6; }
   8058 fi
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8065   if test -n "$ac_tool_prefix"; then
   8066     { $as_echo "$as_me:$LINENO: checking for file" >&5
   8067 $as_echo_n "checking for file... " >&6; }
   8068 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   8069   $as_echo_n "(cached) " >&6
   8070 else
   8071   case $MAGIC_CMD in
   8072 [\\/*] |  ?:[\\/]*)
   8073   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8074   ;;
   8075 *)
   8076   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8077   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8078   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8079   for ac_dir in $ac_dummy; do
   8080     IFS="$lt_save_ifs"
   8081     test -z "$ac_dir" && ac_dir=.
   8082     if test -f $ac_dir/file; then
   8083       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8084       if test -n "$file_magic_test_file"; then
   8085 	case $deplibs_check_method in
   8086 	"file_magic "*)
   8087 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8088 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8089 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8090 	    $EGREP "$file_magic_regex" > /dev/null; then
   8091 	    :
   8092 	  else
   8093 	    cat <<_LT_EOF 1>&2
   8094 
   8095 *** Warning: the command libtool uses to detect shared libraries,
   8096 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8097 *** The result is that libtool may fail to recognize shared libraries
   8098 *** as such.  This will affect the creation of libtool libraries that
   8099 *** depend on shared libraries, but programs linked with such libtool
   8100 *** libraries will work regardless of this problem.  Nevertheless, you
   8101 *** may want to report the problem to your system manager and/or to
   8102 *** bug-libtool@gnu.org
   8103 
   8104 _LT_EOF
   8105 	  fi ;;
   8106 	esac
   8107       fi
   8108       break
   8109     fi
   8110   done
   8111   IFS="$lt_save_ifs"
   8112   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8113   ;;
   8114 esac
   8115 fi
   8116 
   8117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8118 if test -n "$MAGIC_CMD"; then
   8119   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   8120 $as_echo "$MAGIC_CMD" >&6; }
   8121 else
   8122   { $as_echo "$as_me:$LINENO: result: no" >&5
   8123 $as_echo "no" >&6; }
   8124 fi
   8125 
   8126 
   8127   else
   8128     MAGIC_CMD=:
   8129   fi
   8130 fi
   8131 
   8132   fi
   8133   ;;
   8134 esac
   8135 
   8136 # Use C for the default configuration in the libtool script
   8137 
   8138 lt_save_CC="$CC"
   8139 ac_ext=c
   8140 ac_cpp='$CPP $CPPFLAGS'
   8141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8144 
   8145 
   8146 # Source file extension for C test sources.
   8147 ac_ext=c
   8148 
   8149 # Object file extension for compiled C test sources.
   8150 objext=o
   8151 objext=$objext
   8152 
   8153 # Code to be used in simple compile tests
   8154 lt_simple_compile_test_code="int some_variable = 0;"
   8155 
   8156 # Code to be used in simple link tests
   8157 lt_simple_link_test_code='int main(){return(0);}'
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 # If no C compiler was specified, use CC.
   8166 LTCC=${LTCC-"$CC"}
   8167 
   8168 # If no C compiler flags were specified, use CFLAGS.
   8169 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8170 
   8171 # Allow CC to be a program name with arguments.
   8172 compiler=$CC
   8173 
   8174 # Save the default compiler, since it gets overwritten when the other
   8175 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8176 compiler_DEFAULT=$CC
   8177 
   8178 # save warnings/boilerplate of simple test code
   8179 ac_outfile=conftest.$ac_objext
   8180 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8181 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8182 _lt_compiler_boilerplate=`cat conftest.err`
   8183 $RM conftest*
   8184 
   8185 ac_outfile=conftest.$ac_objext
   8186 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8187 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8188 _lt_linker_boilerplate=`cat conftest.err`
   8189 $RM -r conftest*
   8190 
   8191 
   8192 if test -n "$compiler"; then
   8193 
   8194 lt_prog_compiler_no_builtin_flag=
   8195 
   8196 if test "$GCC" = yes; then
   8197   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8198 
   8199   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8200 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8201 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   8202   $as_echo_n "(cached) " >&6
   8203 else
   8204   lt_cv_prog_compiler_rtti_exceptions=no
   8205    ac_outfile=conftest.$ac_objext
   8206    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8207    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8208    # Insert the option either (1) after the last *FLAGS variable, or
   8209    # (2) before a word containing "conftest.", or (3) at the end.
   8210    # Note that $ac_compile itself does not contain backslashes and begins
   8211    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8212    # The option is referenced via a variable to avoid confusing sed.
   8213    lt_compile=`echo "$ac_compile" | $SED \
   8214    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8215    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8216    -e 's:$: $lt_compiler_flag:'`
   8217    (eval echo "\"\$as_me:8217: $lt_compile\"" >&5)
   8218    (eval "$lt_compile" 2>conftest.err)
   8219    ac_status=$?
   8220    cat conftest.err >&5
   8221    echo "$as_me:8221: \$? = $ac_status" >&5
   8222    if (exit $ac_status) && test -s "$ac_outfile"; then
   8223      # The compiler can only warn and ignore the option if not recognized
   8224      # So say no if there are warnings other than the usual output.
   8225      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8226      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8227      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8228        lt_cv_prog_compiler_rtti_exceptions=yes
   8229      fi
   8230    fi
   8231    $RM conftest*
   8232 
   8233 fi
   8234 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8235 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8236 
   8237 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8238     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8239 else
   8240     :
   8241 fi
   8242 
   8243 fi
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250   lt_prog_compiler_wl=
   8251 lt_prog_compiler_pic=
   8252 lt_prog_compiler_static=
   8253 
   8254 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   8255 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8256 
   8257   if test "$GCC" = yes; then
   8258     lt_prog_compiler_wl='-Wl,'
   8259     lt_prog_compiler_static='-static'
   8260 
   8261     case $host_os in
   8262       aix*)
   8263       # All AIX code is PIC.
   8264       if test "$host_cpu" = ia64; then
   8265 	# AIX 5 now supports IA64 processor
   8266 	lt_prog_compiler_static='-Bstatic'
   8267       fi
   8268       ;;
   8269 
   8270     amigaos*)
   8271       case $host_cpu in
   8272       powerpc)
   8273             # see comment about AmigaOS4 .so support
   8274             lt_prog_compiler_pic='-fPIC'
   8275         ;;
   8276       m68k)
   8277             # FIXME: we need at least 68020 code to build shared libraries, but
   8278             # adding the `-m68020' flag to GCC prevents building anything better,
   8279             # like `-m68040'.
   8280             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8281         ;;
   8282       esac
   8283       ;;
   8284 
   8285     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8286       # PIC is the default for these OSes.
   8287       ;;
   8288 
   8289     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8290       # This hack is so that the source file can tell whether it is being
   8291       # built for inclusion in a dll (and should export symbols for example).
   8292       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8293       # (--disable-auto-import) libraries
   8294       lt_prog_compiler_pic='-DDLL_EXPORT'
   8295       ;;
   8296 
   8297     darwin* | rhapsody*)
   8298       # PIC is the default on this platform
   8299       # Common symbols not allowed in MH_DYLIB files
   8300       lt_prog_compiler_pic='-fno-common'
   8301       ;;
   8302 
   8303     hpux*)
   8304       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8305       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8306       # sets the default TLS model and affects inlining.
   8307       case $host_cpu in
   8308       hppa*64*)
   8309 	# +Z the default
   8310 	;;
   8311       *)
   8312 	lt_prog_compiler_pic='-fPIC'
   8313 	;;
   8314       esac
   8315       ;;
   8316 
   8317     interix[3-9]*)
   8318       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8319       # Instead, we relocate shared libraries at runtime.
   8320       ;;
   8321 
   8322     msdosdjgpp*)
   8323       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8324       # on systems that don't support them.
   8325       lt_prog_compiler_can_build_shared=no
   8326       enable_shared=no
   8327       ;;
   8328 
   8329     *nto* | *qnx*)
   8330       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8331       # it will coredump.
   8332       lt_prog_compiler_pic='-fPIC -shared'
   8333       ;;
   8334 
   8335     sysv4*MP*)
   8336       if test -d /usr/nec; then
   8337 	lt_prog_compiler_pic=-Kconform_pic
   8338       fi
   8339       ;;
   8340 
   8341     *)
   8342       lt_prog_compiler_pic='-fPIC'
   8343       ;;
   8344     esac
   8345   else
   8346     # PORTME Check for flag to pass linker flags through the system compiler.
   8347     case $host_os in
   8348     aix*)
   8349       lt_prog_compiler_wl='-Wl,'
   8350       if test "$host_cpu" = ia64; then
   8351 	# AIX 5 now supports IA64 processor
   8352 	lt_prog_compiler_static='-Bstatic'
   8353       else
   8354 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8355       fi
   8356       ;;
   8357 
   8358     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8359       # This hack is so that the source file can tell whether it is being
   8360       # built for inclusion in a dll (and should export symbols for example).
   8361       lt_prog_compiler_pic='-DDLL_EXPORT'
   8362       ;;
   8363 
   8364     hpux9* | hpux10* | hpux11*)
   8365       lt_prog_compiler_wl='-Wl,'
   8366       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8367       # not for PA HP-UX.
   8368       case $host_cpu in
   8369       hppa*64*|ia64*)
   8370 	# +Z the default
   8371 	;;
   8372       *)
   8373 	lt_prog_compiler_pic='+Z'
   8374 	;;
   8375       esac
   8376       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8377       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8378       ;;
   8379 
   8380     irix5* | irix6* | nonstopux*)
   8381       lt_prog_compiler_wl='-Wl,'
   8382       # PIC (with -KPIC) is the default.
   8383       lt_prog_compiler_static='-non_shared'
   8384       ;;
   8385 
   8386     linux* | k*bsd*-gnu)
   8387       case $cc_basename in
   8388       # old Intel for x86_64 which still supported -KPIC.
   8389       ecc*)
   8390 	lt_prog_compiler_wl='-Wl,'
   8391 	lt_prog_compiler_pic='-KPIC'
   8392 	lt_prog_compiler_static='-static'
   8393         ;;
   8394       # icc used to be incompatible with GCC.
   8395       # ICC 10 doesn't accept -KPIC any more.
   8396       icc* | ifort*)
   8397 	lt_prog_compiler_wl='-Wl,'
   8398 	lt_prog_compiler_pic='-fPIC'
   8399 	lt_prog_compiler_static='-static'
   8400         ;;
   8401       # Lahey Fortran 8.1.
   8402       lf95*)
   8403 	lt_prog_compiler_wl='-Wl,'
   8404 	lt_prog_compiler_pic='--shared'
   8405 	lt_prog_compiler_static='--static'
   8406 	;;
   8407       pgcc* | pgf77* | pgf90* | pgf95*)
   8408         # Portland Group compilers (*not* the Pentium gcc compiler,
   8409 	# which looks to be a dead project)
   8410 	lt_prog_compiler_wl='-Wl,'
   8411 	lt_prog_compiler_pic='-fpic'
   8412 	lt_prog_compiler_static='-Bstatic'
   8413         ;;
   8414       ccc*)
   8415         lt_prog_compiler_wl='-Wl,'
   8416         # All Alpha code is PIC.
   8417         lt_prog_compiler_static='-non_shared'
   8418         ;;
   8419       xl*)
   8420 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8421 	lt_prog_compiler_wl='-Wl,'
   8422 	lt_prog_compiler_pic='-qpic'
   8423 	lt_prog_compiler_static='-qstaticlink'
   8424 	;;
   8425       *)
   8426 	case `$CC -V 2>&1 | sed 5q` in
   8427 	*Sun\ C*)
   8428 	  # Sun C 5.9
   8429 	  lt_prog_compiler_pic='-KPIC'
   8430 	  lt_prog_compiler_static='-Bstatic'
   8431 	  lt_prog_compiler_wl='-Wl,'
   8432 	  ;;
   8433 	*Sun\ F*)
   8434 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8435 	  lt_prog_compiler_pic='-KPIC'
   8436 	  lt_prog_compiler_static='-Bstatic'
   8437 	  lt_prog_compiler_wl=''
   8438 	  ;;
   8439 	esac
   8440 	;;
   8441       esac
   8442       ;;
   8443 
   8444     newsos6)
   8445       lt_prog_compiler_pic='-KPIC'
   8446       lt_prog_compiler_static='-Bstatic'
   8447       ;;
   8448 
   8449     *nto* | *qnx*)
   8450       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8451       # it will coredump.
   8452       lt_prog_compiler_pic='-fPIC -shared'
   8453       ;;
   8454 
   8455     osf3* | osf4* | osf5*)
   8456       lt_prog_compiler_wl='-Wl,'
   8457       # All OSF/1 code is PIC.
   8458       lt_prog_compiler_static='-non_shared'
   8459       ;;
   8460 
   8461     rdos*)
   8462       lt_prog_compiler_static='-non_shared'
   8463       ;;
   8464 
   8465     solaris*)
   8466       lt_prog_compiler_pic='-KPIC'
   8467       lt_prog_compiler_static='-Bstatic'
   8468       case $cc_basename in
   8469       f77* | f90* | f95*)
   8470 	lt_prog_compiler_wl='-Qoption ld ';;
   8471       *)
   8472 	lt_prog_compiler_wl='-Wl,';;
   8473       esac
   8474       ;;
   8475 
   8476     sunos4*)
   8477       lt_prog_compiler_wl='-Qoption ld '
   8478       lt_prog_compiler_pic='-PIC'
   8479       lt_prog_compiler_static='-Bstatic'
   8480       ;;
   8481 
   8482     sysv4 | sysv4.2uw2* | sysv4.3*)
   8483       lt_prog_compiler_wl='-Wl,'
   8484       lt_prog_compiler_pic='-KPIC'
   8485       lt_prog_compiler_static='-Bstatic'
   8486       ;;
   8487 
   8488     sysv4*MP*)
   8489       if test -d /usr/nec ;then
   8490 	lt_prog_compiler_pic='-Kconform_pic'
   8491 	lt_prog_compiler_static='-Bstatic'
   8492       fi
   8493       ;;
   8494 
   8495     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8496       lt_prog_compiler_wl='-Wl,'
   8497       lt_prog_compiler_pic='-KPIC'
   8498       lt_prog_compiler_static='-Bstatic'
   8499       ;;
   8500 
   8501     unicos*)
   8502       lt_prog_compiler_wl='-Wl,'
   8503       lt_prog_compiler_can_build_shared=no
   8504       ;;
   8505 
   8506     uts4*)
   8507       lt_prog_compiler_pic='-pic'
   8508       lt_prog_compiler_static='-Bstatic'
   8509       ;;
   8510 
   8511     *)
   8512       lt_prog_compiler_can_build_shared=no
   8513       ;;
   8514     esac
   8515   fi
   8516 
   8517 case $host_os in
   8518   # For platforms which do not support PIC, -DPIC is meaningless:
   8519   *djgpp*)
   8520     lt_prog_compiler_pic=
   8521     ;;
   8522   *)
   8523     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8524     ;;
   8525 esac
   8526 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8527 $as_echo "$lt_prog_compiler_pic" >&6; }
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 #
   8535 # Check to make sure the PIC flag actually works.
   8536 #
   8537 if test -n "$lt_prog_compiler_pic"; then
   8538   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8539 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8540 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   8541   $as_echo_n "(cached) " >&6
   8542 else
   8543   lt_cv_prog_compiler_pic_works=no
   8544    ac_outfile=conftest.$ac_objext
   8545    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8546    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8547    # Insert the option either (1) after the last *FLAGS variable, or
   8548    # (2) before a word containing "conftest.", or (3) at the end.
   8549    # Note that $ac_compile itself does not contain backslashes and begins
   8550    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8551    # The option is referenced via a variable to avoid confusing sed.
   8552    lt_compile=`echo "$ac_compile" | $SED \
   8553    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8554    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8555    -e 's:$: $lt_compiler_flag:'`
   8556    (eval echo "\"\$as_me:8556: $lt_compile\"" >&5)
   8557    (eval "$lt_compile" 2>conftest.err)
   8558    ac_status=$?
   8559    cat conftest.err >&5
   8560    echo "$as_me:8560: \$? = $ac_status" >&5
   8561    if (exit $ac_status) && test -s "$ac_outfile"; then
   8562      # The compiler can only warn and ignore the option if not recognized
   8563      # So say no if there are warnings other than the usual output.
   8564      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8565      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8566      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8567        lt_cv_prog_compiler_pic_works=yes
   8568      fi
   8569    fi
   8570    $RM conftest*
   8571 
   8572 fi
   8573 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   8574 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8575 
   8576 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8577     case $lt_prog_compiler_pic in
   8578      "" | " "*) ;;
   8579      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8580      esac
   8581 else
   8582     lt_prog_compiler_pic=
   8583      lt_prog_compiler_can_build_shared=no
   8584 fi
   8585 
   8586 fi
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 #
   8594 # Check to make sure the static flag actually works.
   8595 #
   8596 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8597 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8598 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8599 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8600   $as_echo_n "(cached) " >&6
   8601 else
   8602   lt_cv_prog_compiler_static_works=no
   8603    save_LDFLAGS="$LDFLAGS"
   8604    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8605    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8606    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8607      # The linker can only warn and ignore the option if not recognized
   8608      # So say no if there are warnings
   8609      if test -s conftest.err; then
   8610        # Append any errors to the config.log.
   8611        cat conftest.err 1>&5
   8612        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8613        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8614        if diff conftest.exp conftest.er2 >/dev/null; then
   8615          lt_cv_prog_compiler_static_works=yes
   8616        fi
   8617      else
   8618        lt_cv_prog_compiler_static_works=yes
   8619      fi
   8620    fi
   8621    $RM -r conftest*
   8622    LDFLAGS="$save_LDFLAGS"
   8623 
   8624 fi
   8625 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8626 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8627 
   8628 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8629     :
   8630 else
   8631     lt_prog_compiler_static=
   8632 fi
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8641 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8642 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8643   $as_echo_n "(cached) " >&6
   8644 else
   8645   lt_cv_prog_compiler_c_o=no
   8646    $RM -r conftest 2>/dev/null
   8647    mkdir conftest
   8648    cd conftest
   8649    mkdir out
   8650    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8651 
   8652    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8653    # Insert the option either (1) after the last *FLAGS variable, or
   8654    # (2) before a word containing "conftest.", or (3) at the end.
   8655    # Note that $ac_compile itself does not contain backslashes and begins
   8656    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8657    lt_compile=`echo "$ac_compile" | $SED \
   8658    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8659    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8660    -e 's:$: $lt_compiler_flag:'`
   8661    (eval echo "\"\$as_me:8661: $lt_compile\"" >&5)
   8662    (eval "$lt_compile" 2>out/conftest.err)
   8663    ac_status=$?
   8664    cat out/conftest.err >&5
   8665    echo "$as_me:8665: \$? = $ac_status" >&5
   8666    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8667    then
   8668      # The compiler can only warn and ignore the option if not recognized
   8669      # So say no if there are warnings
   8670      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8671      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8672      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8673        lt_cv_prog_compiler_c_o=yes
   8674      fi
   8675    fi
   8676    chmod u+w . 2>&5
   8677    $RM conftest*
   8678    # SGI C++ compiler will create directory out/ii_files/ for
   8679    # template instantiation
   8680    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8681    $RM out/* && rmdir out
   8682    cd ..
   8683    $RM -r conftest
   8684    $RM conftest*
   8685 
   8686 fi
   8687 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8688 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8696 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8697 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   lt_cv_prog_compiler_c_o=no
   8701    $RM -r conftest 2>/dev/null
   8702    mkdir conftest
   8703    cd conftest
   8704    mkdir out
   8705    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8706 
   8707    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8708    # Insert the option either (1) after the last *FLAGS variable, or
   8709    # (2) before a word containing "conftest.", or (3) at the end.
   8710    # Note that $ac_compile itself does not contain backslashes and begins
   8711    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8712    lt_compile=`echo "$ac_compile" | $SED \
   8713    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8714    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8715    -e 's:$: $lt_compiler_flag:'`
   8716    (eval echo "\"\$as_me:8716: $lt_compile\"" >&5)
   8717    (eval "$lt_compile" 2>out/conftest.err)
   8718    ac_status=$?
   8719    cat out/conftest.err >&5
   8720    echo "$as_me:8720: \$? = $ac_status" >&5
   8721    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8722    then
   8723      # The compiler can only warn and ignore the option if not recognized
   8724      # So say no if there are warnings
   8725      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8726      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8727      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8728        lt_cv_prog_compiler_c_o=yes
   8729      fi
   8730    fi
   8731    chmod u+w . 2>&5
   8732    $RM conftest*
   8733    # SGI C++ compiler will create directory out/ii_files/ for
   8734    # template instantiation
   8735    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8736    $RM out/* && rmdir out
   8737    cd ..
   8738    $RM -r conftest
   8739    $RM conftest*
   8740 
   8741 fi
   8742 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8743 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8744 
   8745 
   8746 
   8747 
   8748 hard_links="nottested"
   8749 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8750   # do not overwrite the value of need_locks provided by the user
   8751   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8752 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8753   hard_links=yes
   8754   $RM conftest*
   8755   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8756   touch conftest.a
   8757   ln conftest.a conftest.b 2>&5 || hard_links=no
   8758   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8759   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8760 $as_echo "$hard_links" >&6; }
   8761   if test "$hard_links" = no; then
   8762     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8763 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8764     need_locks=warn
   8765   fi
   8766 else
   8767   need_locks=no
   8768 fi
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8776 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8777 
   8778   runpath_var=
   8779   allow_undefined_flag=
   8780   always_export_symbols=no
   8781   archive_cmds=
   8782   archive_expsym_cmds=
   8783   compiler_needs_object=no
   8784   enable_shared_with_static_runtimes=no
   8785   export_dynamic_flag_spec=
   8786   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8787   hardcode_automatic=no
   8788   hardcode_direct=no
   8789   hardcode_direct_absolute=no
   8790   hardcode_libdir_flag_spec=
   8791   hardcode_libdir_flag_spec_ld=
   8792   hardcode_libdir_separator=
   8793   hardcode_minus_L=no
   8794   hardcode_shlibpath_var=unsupported
   8795   inherit_rpath=no
   8796   link_all_deplibs=unknown
   8797   module_cmds=
   8798   module_expsym_cmds=
   8799   old_archive_from_new_cmds=
   8800   old_archive_from_expsyms_cmds=
   8801   thread_safe_flag_spec=
   8802   whole_archive_flag_spec=
   8803   # include_expsyms should be a list of space-separated symbols to be *always*
   8804   # included in the symbol list
   8805   include_expsyms=
   8806   # exclude_expsyms can be an extended regexp of symbols to exclude
   8807   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8808   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8809   # as well as any symbol that contains `d'.
   8810   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8811   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8812   # platforms (ab)use it in PIC code, but their linkers get confused if
   8813   # the symbol is explicitly referenced.  Since portable code cannot
   8814   # rely on this symbol name, it's probably fine to never include it in
   8815   # preloaded symbol tables.
   8816   # Exclude shared library initialization/finalization symbols.
   8817   extract_expsyms_cmds=
   8818 
   8819   case $host_os in
   8820   cygwin* | mingw* | pw32* | cegcc*)
   8821     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8822     # When not using gcc, we currently assume that we are using
   8823     # Microsoft Visual C++.
   8824     if test "$GCC" != yes; then
   8825       with_gnu_ld=no
   8826     fi
   8827     ;;
   8828   interix*)
   8829     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8830     with_gnu_ld=yes
   8831     ;;
   8832   openbsd*)
   8833     with_gnu_ld=no
   8834     ;;
   8835   esac
   8836 
   8837   ld_shlibs=yes
   8838   if test "$with_gnu_ld" = yes; then
   8839     # If archive_cmds runs LD, not CC, wlarc should be empty
   8840     wlarc='${wl}'
   8841 
   8842     # Set some defaults for GNU ld with shared library support. These
   8843     # are reset later if shared libraries are not supported. Putting them
   8844     # here allows them to be overridden if necessary.
   8845     runpath_var=LD_RUN_PATH
   8846     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8847     export_dynamic_flag_spec='${wl}--export-dynamic'
   8848     # ancient GNU ld didn't support --whole-archive et. al.
   8849     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8850       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8851     else
   8852       whole_archive_flag_spec=
   8853     fi
   8854     supports_anon_versioning=no
   8855     case `$LD -v 2>&1` in
   8856       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8857       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8858       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8859       *\ 2.11.*) ;; # other 2.11 versions
   8860       *) supports_anon_versioning=yes ;;
   8861     esac
   8862 
   8863     # See if GNU ld supports shared libraries.
   8864     case $host_os in
   8865     aix[3-9]*)
   8866       # On AIX/PPC, the GNU linker is very broken
   8867       if test "$host_cpu" != ia64; then
   8868 	ld_shlibs=no
   8869 	cat <<_LT_EOF 1>&2
   8870 
   8871 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8872 *** to be unable to reliably create shared libraries on AIX.
   8873 *** Therefore, libtool is disabling shared libraries support.  If you
   8874 *** really care for shared libraries, you may want to modify your PATH
   8875 *** so that a non-GNU linker is found, and then restart.
   8876 
   8877 _LT_EOF
   8878       fi
   8879       ;;
   8880 
   8881     amigaos*)
   8882       case $host_cpu in
   8883       powerpc)
   8884             # see comment about AmigaOS4 .so support
   8885             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8886             archive_expsym_cmds=''
   8887         ;;
   8888       m68k)
   8889             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)'
   8890             hardcode_libdir_flag_spec='-L$libdir'
   8891             hardcode_minus_L=yes
   8892         ;;
   8893       esac
   8894       ;;
   8895 
   8896     beos*)
   8897       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8898 	allow_undefined_flag=unsupported
   8899 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8900 	# support --undefined.  This deserves some investigation.  FIXME
   8901 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8902       else
   8903 	ld_shlibs=no
   8904       fi
   8905       ;;
   8906 
   8907     cygwin* | mingw* | pw32* | cegcc*)
   8908       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8909       # as there is no search path for DLLs.
   8910       hardcode_libdir_flag_spec='-L$libdir'
   8911       allow_undefined_flag=unsupported
   8912       always_export_symbols=no
   8913       enable_shared_with_static_runtimes=yes
   8914       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8915 
   8916       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8917         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8918 	# If the export-symbols file already is a .def file (1st line
   8919 	# is EXPORTS), use it as is; otherwise, prepend...
   8920 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8921 	  cp $export_symbols $output_objdir/$soname.def;
   8922 	else
   8923 	  echo EXPORTS > $output_objdir/$soname.def;
   8924 	  cat $export_symbols >> $output_objdir/$soname.def;
   8925 	fi~
   8926 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8927       else
   8928 	ld_shlibs=no
   8929       fi
   8930       ;;
   8931 
   8932     interix[3-9]*)
   8933       hardcode_direct=no
   8934       hardcode_shlibpath_var=no
   8935       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8936       export_dynamic_flag_spec='${wl}-E'
   8937       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8938       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8939       # default) and relocated if they conflict, which is a slow very memory
   8940       # consuming and fragmenting process.  To avoid this, we pick a random,
   8941       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8942       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8943       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8944       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'
   8945       ;;
   8946 
   8947     gnu* | linux* | tpf* | k*bsd*-gnu)
   8948       tmp_diet=no
   8949       if test "$host_os" = linux-dietlibc; then
   8950 	case $cc_basename in
   8951 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8952 	esac
   8953       fi
   8954       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8955 	 && test "$tmp_diet" = no
   8956       then
   8957 	tmp_addflag=
   8958 	tmp_sharedflag='-shared'
   8959 	case $cc_basename,$host_cpu in
   8960         pgcc*)				# Portland Group C compiler
   8961 	  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'
   8962 	  tmp_addflag=' $pic_flag'
   8963 	  ;;
   8964 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8965 	  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'
   8966 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8967 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8968 	  tmp_addflag=' -i_dynamic' ;;
   8969 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8970 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8971 	ifc* | ifort*)			# Intel Fortran compiler
   8972 	  tmp_addflag=' -nofor_main' ;;
   8973 	lf95*)				# Lahey Fortran 8.1
   8974 	  whole_archive_flag_spec=
   8975 	  tmp_sharedflag='--shared' ;;
   8976 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8977 	  tmp_sharedflag='-qmkshrobj'
   8978 	  tmp_addflag= ;;
   8979 	esac
   8980 	case `$CC -V 2>&1 | sed 5q` in
   8981 	*Sun\ C*)			# Sun C 5.9
   8982 	  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'
   8983 	  compiler_needs_object=yes
   8984 	  tmp_sharedflag='-G' ;;
   8985 	*Sun\ F*)			# Sun Fortran 8.3
   8986 	  tmp_sharedflag='-G' ;;
   8987 	esac
   8988 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8989 
   8990         if test "x$supports_anon_versioning" = xyes; then
   8991           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8992 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8993 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8994 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8995         fi
   8996 
   8997 	case $cc_basename in
   8998 	xlf*)
   8999 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9000 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9001 	  hardcode_libdir_flag_spec=
   9002 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9003 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9004 	  if test "x$supports_anon_versioning" = xyes; then
   9005 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9006 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9007 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9008 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9009 	  fi
   9010 	  ;;
   9011 	esac
   9012       else
   9013         ld_shlibs=no
   9014       fi
   9015       ;;
   9016 
   9017     netbsd*)
   9018       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9019 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9020 	wlarc=
   9021       else
   9022 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9023 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9024       fi
   9025       ;;
   9026 
   9027     solaris*)
   9028       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9029 	ld_shlibs=no
   9030 	cat <<_LT_EOF 1>&2
   9031 
   9032 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9033 *** create shared libraries on Solaris systems.  Therefore, libtool
   9034 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9035 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9036 *** your PATH or compiler configuration so that the native linker is
   9037 *** used, and then restart.
   9038 
   9039 _LT_EOF
   9040       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9041 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9042 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9043       else
   9044 	ld_shlibs=no
   9045       fi
   9046       ;;
   9047 
   9048     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9049       case `$LD -v 2>&1` in
   9050         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9051 	ld_shlibs=no
   9052 	cat <<_LT_EOF 1>&2
   9053 
   9054 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9055 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9056 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9057 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9058 *** your PATH or compiler configuration so that the native linker is
   9059 *** used, and then restart.
   9060 
   9061 _LT_EOF
   9062 	;;
   9063 	*)
   9064 	  # For security reasons, it is highly recommended that you always
   9065 	  # use absolute paths for naming shared libraries, and exclude the
   9066 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9067 	  # requires that you compile everything twice, which is a pain.
   9068 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9069 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9070 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9071 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9072 	  else
   9073 	    ld_shlibs=no
   9074 	  fi
   9075 	;;
   9076       esac
   9077       ;;
   9078 
   9079     sunos4*)
   9080       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9081       wlarc=
   9082       hardcode_direct=yes
   9083       hardcode_shlibpath_var=no
   9084       ;;
   9085 
   9086     *)
   9087       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9088 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9089 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9090       else
   9091 	ld_shlibs=no
   9092       fi
   9093       ;;
   9094     esac
   9095 
   9096     if test "$ld_shlibs" = no; then
   9097       runpath_var=
   9098       hardcode_libdir_flag_spec=
   9099       export_dynamic_flag_spec=
   9100       whole_archive_flag_spec=
   9101     fi
   9102   else
   9103     # PORTME fill in a description of your system's linker (not GNU ld)
   9104     case $host_os in
   9105     aix3*)
   9106       allow_undefined_flag=unsupported
   9107       always_export_symbols=yes
   9108       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'
   9109       # Note: this linker hardcodes the directories in LIBPATH if there
   9110       # are no directories specified by -L.
   9111       hardcode_minus_L=yes
   9112       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9113 	# Neither direct hardcoding nor static linking is supported with a
   9114 	# broken collect2.
   9115 	hardcode_direct=unsupported
   9116       fi
   9117       ;;
   9118 
   9119     aix[4-9]*)
   9120       if test "$host_cpu" = ia64; then
   9121 	# On IA64, the linker does run time linking by default, so we don't
   9122 	# have to do anything special.
   9123 	aix_use_runtimelinking=no
   9124 	exp_sym_flag='-Bexport'
   9125 	no_entry_flag=""
   9126       else
   9127 	# If we're using GNU nm, then we don't want the "-C" option.
   9128 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9129 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9130 	  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'
   9131 	else
   9132 	  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'
   9133 	fi
   9134 	aix_use_runtimelinking=no
   9135 
   9136 	# Test if we are trying to use run time linking or normal
   9137 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9138 	# need to do runtime linking.
   9139 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9140 	  for ld_flag in $LDFLAGS; do
   9141 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9142 	    aix_use_runtimelinking=yes
   9143 	    break
   9144 	  fi
   9145 	  done
   9146 	  ;;
   9147 	esac
   9148 
   9149 	exp_sym_flag='-bexport'
   9150 	no_entry_flag='-bnoentry'
   9151       fi
   9152 
   9153       # When large executables or shared objects are built, AIX ld can
   9154       # have problems creating the table of contents.  If linking a library
   9155       # or program results in "error TOC overflow" add -mminimal-toc to
   9156       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9157       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9158 
   9159       archive_cmds=''
   9160       hardcode_direct=yes
   9161       hardcode_direct_absolute=yes
   9162       hardcode_libdir_separator=':'
   9163       link_all_deplibs=yes
   9164       file_list_spec='${wl}-f,'
   9165 
   9166       if test "$GCC" = yes; then
   9167 	case $host_os in aix4.[012]|aix4.[012].*)
   9168 	# We only want to do this on AIX 4.2 and lower, the check
   9169 	# below for broken collect2 doesn't work under 4.3+
   9170 	  collect2name=`${CC} -print-prog-name=collect2`
   9171 	  if test -f "$collect2name" &&
   9172 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9173 	  then
   9174 	  # We have reworked collect2
   9175 	  :
   9176 	  else
   9177 	  # We have old collect2
   9178 	  hardcode_direct=unsupported
   9179 	  # It fails to find uninstalled libraries when the uninstalled
   9180 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9181 	  # to unsupported forces relinking
   9182 	  hardcode_minus_L=yes
   9183 	  hardcode_libdir_flag_spec='-L$libdir'
   9184 	  hardcode_libdir_separator=
   9185 	  fi
   9186 	  ;;
   9187 	esac
   9188 	shared_flag='-shared'
   9189 	if test "$aix_use_runtimelinking" = yes; then
   9190 	  shared_flag="$shared_flag "'${wl}-G'
   9191 	fi
   9192       else
   9193 	# not using gcc
   9194 	if test "$host_cpu" = ia64; then
   9195 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9196 	# chokes on -Wl,-G. The following line is correct:
   9197 	  shared_flag='-G'
   9198 	else
   9199 	  if test "$aix_use_runtimelinking" = yes; then
   9200 	    shared_flag='${wl}-G'
   9201 	  else
   9202 	    shared_flag='${wl}-bM:SRE'
   9203 	  fi
   9204 	fi
   9205       fi
   9206 
   9207       export_dynamic_flag_spec='${wl}-bexpall'
   9208       # It seems that -bexpall does not export symbols beginning with
   9209       # underscore (_), so it is better to generate a list of symbols to export.
   9210       always_export_symbols=yes
   9211       if test "$aix_use_runtimelinking" = yes; then
   9212 	# Warning - without using the other runtime loading flags (-brtl),
   9213 	# -berok will link without error, but may produce a broken library.
   9214 	allow_undefined_flag='-berok'
   9215         # Determine the default libpath from the value encoded in an
   9216         # empty executable.
   9217         cat >conftest.$ac_ext <<_ACEOF
   9218 /* confdefs.h.  */
   9219 _ACEOF
   9220 cat confdefs.h >>conftest.$ac_ext
   9221 cat >>conftest.$ac_ext <<_ACEOF
   9222 /* end confdefs.h.  */
   9223 
   9224 int
   9225 main ()
   9226 {
   9227 
   9228   ;
   9229   return 0;
   9230 }
   9231 _ACEOF
   9232 rm -f conftest.$ac_objext conftest$ac_exeext
   9233 if { (ac_try="$ac_link"
   9234 case "(($ac_try" in
   9235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9236   *) ac_try_echo=$ac_try;;
   9237 esac
   9238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9239 $as_echo "$ac_try_echo") >&5
   9240   (eval "$ac_link") 2>conftest.er1
   9241   ac_status=$?
   9242   grep -v '^ *+' conftest.er1 >conftest.err
   9243   rm -f conftest.er1
   9244   cat conftest.err >&5
   9245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9246   (exit $ac_status); } && {
   9247 	 test -z "$ac_c_werror_flag" ||
   9248 	 test ! -s conftest.err
   9249        } && test -s conftest$ac_exeext && {
   9250 	 test "$cross_compiling" = yes ||
   9251 	 $as_test_x conftest$ac_exeext
   9252        }; then
   9253 
   9254 lt_aix_libpath_sed='
   9255     /Import File Strings/,/^$/ {
   9256 	/^0/ {
   9257 	    s/^0  *\(.*\)$/\1/
   9258 	    p
   9259 	}
   9260     }'
   9261 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9262 # Check for a 64-bit object if we didn't find anything.
   9263 if test -z "$aix_libpath"; then
   9264   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9265 fi
   9266 else
   9267   $as_echo "$as_me: failed program was:" >&5
   9268 sed 's/^/| /' conftest.$ac_ext >&5
   9269 
   9270 
   9271 fi
   9272 
   9273 rm -rf conftest.dSYM
   9274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9275       conftest$ac_exeext conftest.$ac_ext
   9276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9277 
   9278         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9279         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"
   9280       else
   9281 	if test "$host_cpu" = ia64; then
   9282 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9283 	  allow_undefined_flag="-z nodefs"
   9284 	  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"
   9285 	else
   9286 	 # Determine the default libpath from the value encoded in an
   9287 	 # empty executable.
   9288 	 cat >conftest.$ac_ext <<_ACEOF
   9289 /* confdefs.h.  */
   9290 _ACEOF
   9291 cat confdefs.h >>conftest.$ac_ext
   9292 cat >>conftest.$ac_ext <<_ACEOF
   9293 /* end confdefs.h.  */
   9294 
   9295 int
   9296 main ()
   9297 {
   9298 
   9299   ;
   9300   return 0;
   9301 }
   9302 _ACEOF
   9303 rm -f conftest.$ac_objext conftest$ac_exeext
   9304 if { (ac_try="$ac_link"
   9305 case "(($ac_try" in
   9306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9307   *) ac_try_echo=$ac_try;;
   9308 esac
   9309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9310 $as_echo "$ac_try_echo") >&5
   9311   (eval "$ac_link") 2>conftest.er1
   9312   ac_status=$?
   9313   grep -v '^ *+' conftest.er1 >conftest.err
   9314   rm -f conftest.er1
   9315   cat conftest.err >&5
   9316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9317   (exit $ac_status); } && {
   9318 	 test -z "$ac_c_werror_flag" ||
   9319 	 test ! -s conftest.err
   9320        } && test -s conftest$ac_exeext && {
   9321 	 test "$cross_compiling" = yes ||
   9322 	 $as_test_x conftest$ac_exeext
   9323        }; then
   9324 
   9325 lt_aix_libpath_sed='
   9326     /Import File Strings/,/^$/ {
   9327 	/^0/ {
   9328 	    s/^0  *\(.*\)$/\1/
   9329 	    p
   9330 	}
   9331     }'
   9332 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9333 # Check for a 64-bit object if we didn't find anything.
   9334 if test -z "$aix_libpath"; then
   9335   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9336 fi
   9337 else
   9338   $as_echo "$as_me: failed program was:" >&5
   9339 sed 's/^/| /' conftest.$ac_ext >&5
   9340 
   9341 
   9342 fi
   9343 
   9344 rm -rf conftest.dSYM
   9345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9346       conftest$ac_exeext conftest.$ac_ext
   9347 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9348 
   9349 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9350 	  # Warning - without using the other run time loading flags,
   9351 	  # -berok will link without error, but may produce a broken library.
   9352 	  no_undefined_flag=' ${wl}-bernotok'
   9353 	  allow_undefined_flag=' ${wl}-berok'
   9354 	  # Exported symbols can be pulled into shared objects from archives
   9355 	  whole_archive_flag_spec='$convenience'
   9356 	  archive_cmds_need_lc=yes
   9357 	  # This is similar to how AIX traditionally builds its shared libraries.
   9358 	  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'
   9359 	fi
   9360       fi
   9361       ;;
   9362 
   9363     amigaos*)
   9364       case $host_cpu in
   9365       powerpc)
   9366             # see comment about AmigaOS4 .so support
   9367             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9368             archive_expsym_cmds=''
   9369         ;;
   9370       m68k)
   9371             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)'
   9372             hardcode_libdir_flag_spec='-L$libdir'
   9373             hardcode_minus_L=yes
   9374         ;;
   9375       esac
   9376       ;;
   9377 
   9378     bsdi[45]*)
   9379       export_dynamic_flag_spec=-rdynamic
   9380       ;;
   9381 
   9382     cygwin* | mingw* | pw32* | cegcc*)
   9383       # When not using gcc, we currently assume that we are using
   9384       # Microsoft Visual C++.
   9385       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9386       # no search path for DLLs.
   9387       hardcode_libdir_flag_spec=' '
   9388       allow_undefined_flag=unsupported
   9389       # Tell ltmain to make .lib files, not .a files.
   9390       libext=lib
   9391       # Tell ltmain to make .dll files, not .so files.
   9392       shrext_cmds=".dll"
   9393       # FIXME: Setting linknames here is a bad hack.
   9394       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9395       # The linker will automatically build a .lib file if we build a DLL.
   9396       old_archive_from_new_cmds='true'
   9397       # FIXME: Should let the user specify the lib program.
   9398       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9399       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9400       enable_shared_with_static_runtimes=yes
   9401       ;;
   9402 
   9403     darwin* | rhapsody*)
   9404 
   9405 
   9406   archive_cmds_need_lc=no
   9407   hardcode_direct=no
   9408   hardcode_automatic=yes
   9409   hardcode_shlibpath_var=unsupported
   9410   whole_archive_flag_spec=''
   9411   link_all_deplibs=yes
   9412   allow_undefined_flag="$_lt_dar_allow_undefined"
   9413   case $cc_basename in
   9414      ifort*) _lt_dar_can_shared=yes ;;
   9415      *) _lt_dar_can_shared=$GCC ;;
   9416   esac
   9417   if test "$_lt_dar_can_shared" = "yes"; then
   9418     output_verbose_link_cmd=echo
   9419     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9420     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9421     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}"
   9422     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}"
   9423 
   9424   else
   9425   ld_shlibs=no
   9426   fi
   9427 
   9428       ;;
   9429 
   9430     dgux*)
   9431       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9432       hardcode_libdir_flag_spec='-L$libdir'
   9433       hardcode_shlibpath_var=no
   9434       ;;
   9435 
   9436     freebsd1*)
   9437       ld_shlibs=no
   9438       ;;
   9439 
   9440     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9441     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9442     # does not break anything, and helps significantly (at the cost of a little
   9443     # extra space).
   9444     freebsd2.2*)
   9445       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9446       hardcode_libdir_flag_spec='-R$libdir'
   9447       hardcode_direct=yes
   9448       hardcode_shlibpath_var=no
   9449       ;;
   9450 
   9451     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9452     freebsd2*)
   9453       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9454       hardcode_direct=yes
   9455       hardcode_minus_L=yes
   9456       hardcode_shlibpath_var=no
   9457       ;;
   9458 
   9459     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9460     freebsd* | dragonfly*)
   9461       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9462       hardcode_libdir_flag_spec='-R$libdir'
   9463       hardcode_direct=yes
   9464       hardcode_shlibpath_var=no
   9465       ;;
   9466 
   9467     hpux9*)
   9468       if test "$GCC" = yes; then
   9469 	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'
   9470       else
   9471 	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'
   9472       fi
   9473       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9474       hardcode_libdir_separator=:
   9475       hardcode_direct=yes
   9476 
   9477       # hardcode_minus_L: Not really in the search PATH,
   9478       # but as the default location of the library.
   9479       hardcode_minus_L=yes
   9480       export_dynamic_flag_spec='${wl}-E'
   9481       ;;
   9482 
   9483     hpux10*)
   9484       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9485 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9486       else
   9487 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9488       fi
   9489       if test "$with_gnu_ld" = no; then
   9490 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9491 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9492 	hardcode_libdir_separator=:
   9493 	hardcode_direct=yes
   9494 	hardcode_direct_absolute=yes
   9495 	export_dynamic_flag_spec='${wl}-E'
   9496 	# hardcode_minus_L: Not really in the search PATH,
   9497 	# but as the default location of the library.
   9498 	hardcode_minus_L=yes
   9499       fi
   9500       ;;
   9501 
   9502     hpux11*)
   9503       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9504 	case $host_cpu in
   9505 	hppa*64*)
   9506 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9507 	  ;;
   9508 	ia64*)
   9509 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9510 	  ;;
   9511 	*)
   9512 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9513 	  ;;
   9514 	esac
   9515       else
   9516 	case $host_cpu in
   9517 	hppa*64*)
   9518 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9519 	  ;;
   9520 	ia64*)
   9521 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9522 	  ;;
   9523 	*)
   9524 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9525 	  ;;
   9526 	esac
   9527       fi
   9528       if test "$with_gnu_ld" = no; then
   9529 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9530 	hardcode_libdir_separator=:
   9531 
   9532 	case $host_cpu in
   9533 	hppa*64*|ia64*)
   9534 	  hardcode_direct=no
   9535 	  hardcode_shlibpath_var=no
   9536 	  ;;
   9537 	*)
   9538 	  hardcode_direct=yes
   9539 	  hardcode_direct_absolute=yes
   9540 	  export_dynamic_flag_spec='${wl}-E'
   9541 
   9542 	  # hardcode_minus_L: Not really in the search PATH,
   9543 	  # but as the default location of the library.
   9544 	  hardcode_minus_L=yes
   9545 	  ;;
   9546 	esac
   9547       fi
   9548       ;;
   9549 
   9550     irix5* | irix6* | nonstopux*)
   9551       if test "$GCC" = yes; then
   9552 	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'
   9553 	# Try to use the -exported_symbol ld option, if it does not
   9554 	# work, assume that -exports_file does not work either and
   9555 	# implicitly export all symbols.
   9556         save_LDFLAGS="$LDFLAGS"
   9557         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9558         cat >conftest.$ac_ext <<_ACEOF
   9559 int foo(void) {}
   9560 _ACEOF
   9561 rm -f conftest.$ac_objext conftest$ac_exeext
   9562 if { (ac_try="$ac_link"
   9563 case "(($ac_try" in
   9564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9565   *) ac_try_echo=$ac_try;;
   9566 esac
   9567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9568 $as_echo "$ac_try_echo") >&5
   9569   (eval "$ac_link") 2>conftest.er1
   9570   ac_status=$?
   9571   grep -v '^ *+' conftest.er1 >conftest.err
   9572   rm -f conftest.er1
   9573   cat conftest.err >&5
   9574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9575   (exit $ac_status); } && {
   9576 	 test -z "$ac_c_werror_flag" ||
   9577 	 test ! -s conftest.err
   9578        } && test -s conftest$ac_exeext && {
   9579 	 test "$cross_compiling" = yes ||
   9580 	 $as_test_x conftest$ac_exeext
   9581        }; then
   9582   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'
   9583 
   9584 else
   9585   $as_echo "$as_me: failed program was:" >&5
   9586 sed 's/^/| /' conftest.$ac_ext >&5
   9587 
   9588 
   9589 fi
   9590 
   9591 rm -rf conftest.dSYM
   9592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9593       conftest$ac_exeext conftest.$ac_ext
   9594         LDFLAGS="$save_LDFLAGS"
   9595       else
   9596 	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'
   9597 	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'
   9598       fi
   9599       archive_cmds_need_lc='no'
   9600       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9601       hardcode_libdir_separator=:
   9602       inherit_rpath=yes
   9603       link_all_deplibs=yes
   9604       ;;
   9605 
   9606     netbsd*)
   9607       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9608 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9609       else
   9610 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9611       fi
   9612       hardcode_libdir_flag_spec='-R$libdir'
   9613       hardcode_direct=yes
   9614       hardcode_shlibpath_var=no
   9615       ;;
   9616 
   9617     newsos6)
   9618       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9619       hardcode_direct=yes
   9620       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9621       hardcode_libdir_separator=:
   9622       hardcode_shlibpath_var=no
   9623       ;;
   9624 
   9625     *nto* | *qnx*)
   9626       ;;
   9627 
   9628     openbsd*)
   9629       if test -f /usr/libexec/ld.so; then
   9630 	hardcode_direct=yes
   9631 	hardcode_shlibpath_var=no
   9632 	hardcode_direct_absolute=yes
   9633 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9634 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9635 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9636 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9637 	  export_dynamic_flag_spec='${wl}-E'
   9638 	else
   9639 	  case $host_os in
   9640 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9641 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9642 	     hardcode_libdir_flag_spec='-R$libdir'
   9643 	     ;;
   9644 	   *)
   9645 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9646 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9647 	     ;;
   9648 	  esac
   9649 	fi
   9650       else
   9651 	ld_shlibs=no
   9652       fi
   9653       ;;
   9654 
   9655     os2*)
   9656       hardcode_libdir_flag_spec='-L$libdir'
   9657       hardcode_minus_L=yes
   9658       allow_undefined_flag=unsupported
   9659       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'
   9660       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9661       ;;
   9662 
   9663     osf3*)
   9664       if test "$GCC" = yes; then
   9665 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9666 	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'
   9667       else
   9668 	allow_undefined_flag=' -expect_unresolved \*'
   9669 	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'
   9670       fi
   9671       archive_cmds_need_lc='no'
   9672       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9673       hardcode_libdir_separator=:
   9674       ;;
   9675 
   9676     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9677       if test "$GCC" = yes; then
   9678 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9679 	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'
   9680 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9681       else
   9682 	allow_undefined_flag=' -expect_unresolved \*'
   9683 	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'
   9684 	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~
   9685 	$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'
   9686 
   9687 	# Both c and cxx compiler support -rpath directly
   9688 	hardcode_libdir_flag_spec='-rpath $libdir'
   9689       fi
   9690       archive_cmds_need_lc='no'
   9691       hardcode_libdir_separator=:
   9692       ;;
   9693 
   9694     solaris*)
   9695       no_undefined_flag=' -z defs'
   9696       if test "$GCC" = yes; then
   9697 	wlarc='${wl}'
   9698 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9699 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9700 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9701       else
   9702 	case `$CC -V 2>&1` in
   9703 	*"Compilers 5.0"*)
   9704 	  wlarc=''
   9705 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9706 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9707 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9708 	  ;;
   9709 	*)
   9710 	  wlarc='${wl}'
   9711 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9712 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9713 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9714 	  ;;
   9715 	esac
   9716       fi
   9717       hardcode_libdir_flag_spec='-R$libdir'
   9718       hardcode_shlibpath_var=no
   9719       case $host_os in
   9720       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9721       *)
   9722 	# The compiler driver will combine and reorder linker options,
   9723 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9724 	# but is careful enough not to reorder.
   9725 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9726 	if test "$GCC" = yes; then
   9727 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9728 	else
   9729 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9730 	fi
   9731 	;;
   9732       esac
   9733       link_all_deplibs=yes
   9734       ;;
   9735 
   9736     sunos4*)
   9737       if test "x$host_vendor" = xsequent; then
   9738 	# Use $CC to link under sequent, because it throws in some extra .o
   9739 	# files that make .init and .fini sections work.
   9740 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9741       else
   9742 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9743       fi
   9744       hardcode_libdir_flag_spec='-L$libdir'
   9745       hardcode_direct=yes
   9746       hardcode_minus_L=yes
   9747       hardcode_shlibpath_var=no
   9748       ;;
   9749 
   9750     sysv4)
   9751       case $host_vendor in
   9752 	sni)
   9753 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9754 	  hardcode_direct=yes # is this really true???
   9755 	;;
   9756 	siemens)
   9757 	  ## LD is ld it makes a PLAMLIB
   9758 	  ## CC just makes a GrossModule.
   9759 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9760 	  reload_cmds='$CC -r -o $output$reload_objs'
   9761 	  hardcode_direct=no
   9762         ;;
   9763 	motorola)
   9764 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9765 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9766 	;;
   9767       esac
   9768       runpath_var='LD_RUN_PATH'
   9769       hardcode_shlibpath_var=no
   9770       ;;
   9771 
   9772     sysv4.3*)
   9773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9774       hardcode_shlibpath_var=no
   9775       export_dynamic_flag_spec='-Bexport'
   9776       ;;
   9777 
   9778     sysv4*MP*)
   9779       if test -d /usr/nec; then
   9780 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9781 	hardcode_shlibpath_var=no
   9782 	runpath_var=LD_RUN_PATH
   9783 	hardcode_runpath_var=yes
   9784 	ld_shlibs=yes
   9785       fi
   9786       ;;
   9787 
   9788     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9789       no_undefined_flag='${wl}-z,text'
   9790       archive_cmds_need_lc=no
   9791       hardcode_shlibpath_var=no
   9792       runpath_var='LD_RUN_PATH'
   9793 
   9794       if test "$GCC" = yes; then
   9795 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9796 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9797       else
   9798 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9799 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9800       fi
   9801       ;;
   9802 
   9803     sysv5* | sco3.2v5* | sco5v6*)
   9804       # Note: We can NOT use -z defs as we might desire, because we do not
   9805       # link with -lc, and that would cause any symbols used from libc to
   9806       # always be unresolved, which means just about no library would
   9807       # ever link correctly.  If we're not using GNU ld we use -z text
   9808       # though, which does catch some bad symbols but isn't as heavy-handed
   9809       # as -z defs.
   9810       no_undefined_flag='${wl}-z,text'
   9811       allow_undefined_flag='${wl}-z,nodefs'
   9812       archive_cmds_need_lc=no
   9813       hardcode_shlibpath_var=no
   9814       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9815       hardcode_libdir_separator=':'
   9816       link_all_deplibs=yes
   9817       export_dynamic_flag_spec='${wl}-Bexport'
   9818       runpath_var='LD_RUN_PATH'
   9819 
   9820       if test "$GCC" = yes; then
   9821 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9822 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9823       else
   9824 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9825 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9826       fi
   9827       ;;
   9828 
   9829     uts4*)
   9830       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9831       hardcode_libdir_flag_spec='-L$libdir'
   9832       hardcode_shlibpath_var=no
   9833       ;;
   9834 
   9835     *)
   9836       ld_shlibs=no
   9837       ;;
   9838     esac
   9839 
   9840     if test x$host_vendor = xsni; then
   9841       case $host in
   9842       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9843 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9844 	;;
   9845       esac
   9846     fi
   9847   fi
   9848 
   9849 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9850 $as_echo "$ld_shlibs" >&6; }
   9851 test "$ld_shlibs" = no && can_build_shared=no
   9852 
   9853 with_gnu_ld=$with_gnu_ld
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 #
   9870 # Do we need to explicitly link libc?
   9871 #
   9872 case "x$archive_cmds_need_lc" in
   9873 x|xyes)
   9874   # Assume -lc should be added
   9875   archive_cmds_need_lc=yes
   9876 
   9877   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9878     case $archive_cmds in
   9879     *'~'*)
   9880       # FIXME: we may have to deal with multi-command sequences.
   9881       ;;
   9882     '$CC '*)
   9883       # Test whether the compiler implicitly links with -lc since on some
   9884       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9885       # to ld, don't add -lc before -lgcc.
   9886       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9887 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9888       $RM conftest*
   9889       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9890 
   9891       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9892   (eval $ac_compile) 2>&5
   9893   ac_status=$?
   9894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9895   (exit $ac_status); } 2>conftest.err; then
   9896         soname=conftest
   9897         lib=conftest
   9898         libobjs=conftest.$ac_objext
   9899         deplibs=
   9900         wl=$lt_prog_compiler_wl
   9901 	pic_flag=$lt_prog_compiler_pic
   9902         compiler_flags=-v
   9903         linker_flags=-v
   9904         verstring=
   9905         output_objdir=.
   9906         libname=conftest
   9907         lt_save_allow_undefined_flag=$allow_undefined_flag
   9908         allow_undefined_flag=
   9909         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9910   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9911   ac_status=$?
   9912   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9913   (exit $ac_status); }
   9914         then
   9915 	  archive_cmds_need_lc=no
   9916         else
   9917 	  archive_cmds_need_lc=yes
   9918         fi
   9919         allow_undefined_flag=$lt_save_allow_undefined_flag
   9920       else
   9921         cat conftest.err 1>&5
   9922       fi
   9923       $RM conftest*
   9924       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9925 $as_echo "$archive_cmds_need_lc" >&6; }
   9926       ;;
   9927     esac
   9928   fi
   9929   ;;
   9930 esac
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   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   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   10089 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10090 
   10091 if test "$GCC" = yes; then
   10092   case $host_os in
   10093     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10094     *) lt_awk_arg="/^libraries:/" ;;
   10095   esac
   10096   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10097   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10098     # if the path contains ";" then we assume it to be the separator
   10099     # otherwise default to the standard path separator (i.e. ":") - it is
   10100     # assumed that no part of a normal pathname contains ";" but that should
   10101     # okay in the real world where ";" in dirpaths is itself problematic.
   10102     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10103   else
   10104     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10105   fi
   10106   # Ok, now we have the path, separated by spaces, we can step through it
   10107   # and add multilib dir if necessary.
   10108   lt_tmp_lt_search_path_spec=
   10109   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10110   for lt_sys_path in $lt_search_path_spec; do
   10111     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10112       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10113     else
   10114       test -d "$lt_sys_path" && \
   10115 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10116     fi
   10117   done
   10118   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10119 BEGIN {RS=" "; FS="/|\n";} {
   10120   lt_foo="";
   10121   lt_count=0;
   10122   for (lt_i = NF; lt_i > 0; lt_i--) {
   10123     if ($lt_i != "" && $lt_i != ".") {
   10124       if ($lt_i == "..") {
   10125         lt_count++;
   10126       } else {
   10127         if (lt_count == 0) {
   10128           lt_foo="/" $lt_i lt_foo;
   10129         } else {
   10130           lt_count--;
   10131         }
   10132       }
   10133     }
   10134   }
   10135   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10136   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10137 }'`
   10138   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10139 else
   10140   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10141 fi
   10142 library_names_spec=
   10143 libname_spec='lib$name'
   10144 soname_spec=
   10145 shrext_cmds=".so"
   10146 postinstall_cmds=
   10147 postuninstall_cmds=
   10148 finish_cmds=
   10149 finish_eval=
   10150 shlibpath_var=
   10151 shlibpath_overrides_runpath=unknown
   10152 version_type=none
   10153 dynamic_linker="$host_os ld.so"
   10154 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10155 need_lib_prefix=unknown
   10156 hardcode_into_libs=no
   10157 
   10158 # when you set need_version to no, make sure it does not cause -set_version
   10159 # flags to be left without arguments
   10160 need_version=unknown
   10161 
   10162 case $host_os in
   10163 aix3*)
   10164   version_type=linux
   10165   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10166   shlibpath_var=LIBPATH
   10167 
   10168   # AIX 3 has no versioning support, so we append a major version to the name.
   10169   soname_spec='${libname}${release}${shared_ext}$major'
   10170   ;;
   10171 
   10172 aix[4-9]*)
   10173   version_type=linux
   10174   need_lib_prefix=no
   10175   need_version=no
   10176   hardcode_into_libs=yes
   10177   if test "$host_cpu" = ia64; then
   10178     # AIX 5 supports IA64
   10179     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10180     shlibpath_var=LD_LIBRARY_PATH
   10181   else
   10182     # With GCC up to 2.95.x, collect2 would create an import file
   10183     # for dependence libraries.  The import file would start with
   10184     # the line `#! .'.  This would cause the generated library to
   10185     # depend on `.', always an invalid library.  This was fixed in
   10186     # development snapshots of GCC prior to 3.0.
   10187     case $host_os in
   10188       aix4 | aix4.[01] | aix4.[01].*)
   10189       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10190 	   echo ' yes '
   10191 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10192 	:
   10193       else
   10194 	can_build_shared=no
   10195       fi
   10196       ;;
   10197     esac
   10198     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10199     # soname into executable. Probably we can add versioning support to
   10200     # collect2, so additional links can be useful in future.
   10201     if test "$aix_use_runtimelinking" = yes; then
   10202       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10203       # instead of lib<name>.a to let people know that these are not
   10204       # typical AIX shared libraries.
   10205       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10206     else
   10207       # We preserve .a as extension for shared libraries through AIX4.2
   10208       # and later when we are not doing run time linking.
   10209       library_names_spec='${libname}${release}.a $libname.a'
   10210       soname_spec='${libname}${release}${shared_ext}$major'
   10211     fi
   10212     shlibpath_var=LIBPATH
   10213   fi
   10214   ;;
   10215 
   10216 amigaos*)
   10217   case $host_cpu in
   10218   powerpc)
   10219     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10220     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10221     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10222     ;;
   10223   m68k)
   10224     library_names_spec='$libname.ixlibrary $libname.a'
   10225     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10226     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'
   10227     ;;
   10228   esac
   10229   ;;
   10230 
   10231 beos*)
   10232   library_names_spec='${libname}${shared_ext}'
   10233   dynamic_linker="$host_os ld.so"
   10234   shlibpath_var=LIBRARY_PATH
   10235   ;;
   10236 
   10237 bsdi[45]*)
   10238   version_type=linux
   10239   need_version=no
   10240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10241   soname_spec='${libname}${release}${shared_ext}$major'
   10242   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10243   shlibpath_var=LD_LIBRARY_PATH
   10244   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10245   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10246   # the default ld.so.conf also contains /usr/contrib/lib and
   10247   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10248   # libtool to hard-code these into programs
   10249   ;;
   10250 
   10251 cygwin* | mingw* | pw32* | cegcc*)
   10252   version_type=windows
   10253   shrext_cmds=".dll"
   10254   need_version=no
   10255   need_lib_prefix=no
   10256 
   10257   case $GCC,$host_os in
   10258   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10259     library_names_spec='$libname.dll.a'
   10260     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10261     postinstall_cmds='base_file=`basename \${file}`~
   10262       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10263       dldir=$destdir/`dirname \$dlpath`~
   10264       test -d \$dldir || mkdir -p \$dldir~
   10265       $install_prog $dir/$dlname \$dldir/$dlname~
   10266       chmod a+x \$dldir/$dlname~
   10267       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10268         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10269       fi'
   10270     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10271       dlpath=$dir/\$dldll~
   10272        $RM \$dlpath'
   10273     shlibpath_overrides_runpath=yes
   10274 
   10275     case $host_os in
   10276     cygwin*)
   10277       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10278       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10279       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10280       ;;
   10281     mingw* | cegcc*)
   10282       # MinGW DLLs use traditional 'lib' prefix
   10283       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10284       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10285       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10286         # It is most probably a Windows format PATH printed by
   10287         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10288         # path with ; separators, and with drive letters. We can handle the
   10289         # drive letters (cygwin fileutils understands them), so leave them,
   10290         # especially as we might pass files found there to a mingw objdump,
   10291         # which wouldn't understand a cygwinified path. Ahh.
   10292         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10293       else
   10294         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10295       fi
   10296       ;;
   10297     pw32*)
   10298       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10299       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10300       ;;
   10301     esac
   10302     ;;
   10303 
   10304   *)
   10305     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10306     ;;
   10307   esac
   10308   dynamic_linker='Win32 ld.exe'
   10309   # FIXME: first we should search . and the directory the executable is in
   10310   shlibpath_var=PATH
   10311   ;;
   10312 
   10313 darwin* | rhapsody*)
   10314   dynamic_linker="$host_os dyld"
   10315   version_type=darwin
   10316   need_lib_prefix=no
   10317   need_version=no
   10318   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10319   soname_spec='${libname}${release}${major}$shared_ext'
   10320   shlibpath_overrides_runpath=yes
   10321   shlibpath_var=DYLD_LIBRARY_PATH
   10322   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10323 
   10324   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10325   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10326   ;;
   10327 
   10328 dgux*)
   10329   version_type=linux
   10330   need_lib_prefix=no
   10331   need_version=no
   10332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10333   soname_spec='${libname}${release}${shared_ext}$major'
   10334   shlibpath_var=LD_LIBRARY_PATH
   10335   ;;
   10336 
   10337 freebsd1*)
   10338   dynamic_linker=no
   10339   ;;
   10340 
   10341 freebsd* | dragonfly*)
   10342   # DragonFly does not have aout.  When/if they implement a new
   10343   # versioning mechanism, adjust this.
   10344   if test -x /usr/bin/objformat; then
   10345     objformat=`/usr/bin/objformat`
   10346   else
   10347     case $host_os in
   10348     freebsd[123]*) objformat=aout ;;
   10349     *) objformat=elf ;;
   10350     esac
   10351   fi
   10352   version_type=freebsd-$objformat
   10353   case $version_type in
   10354     freebsd-elf*)
   10355       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10356       need_version=no
   10357       need_lib_prefix=no
   10358       ;;
   10359     freebsd-*)
   10360       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10361       need_version=yes
   10362       ;;
   10363   esac
   10364   shlibpath_var=LD_LIBRARY_PATH
   10365   case $host_os in
   10366   freebsd2*)
   10367     shlibpath_overrides_runpath=yes
   10368     ;;
   10369   freebsd3.[01]* | freebsdelf3.[01]*)
   10370     shlibpath_overrides_runpath=yes
   10371     hardcode_into_libs=yes
   10372     ;;
   10373   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10374   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10375     shlibpath_overrides_runpath=no
   10376     hardcode_into_libs=yes
   10377     ;;
   10378   *) # from 4.6 on, and DragonFly
   10379     shlibpath_overrides_runpath=yes
   10380     hardcode_into_libs=yes
   10381     ;;
   10382   esac
   10383   ;;
   10384 
   10385 gnu*)
   10386   version_type=linux
   10387   need_lib_prefix=no
   10388   need_version=no
   10389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10390   soname_spec='${libname}${release}${shared_ext}$major'
   10391   shlibpath_var=LD_LIBRARY_PATH
   10392   hardcode_into_libs=yes
   10393   ;;
   10394 
   10395 hpux9* | hpux10* | hpux11*)
   10396   # Give a soname corresponding to the major version so that dld.sl refuses to
   10397   # link against other versions.
   10398   version_type=sunos
   10399   need_lib_prefix=no
   10400   need_version=no
   10401   case $host_cpu in
   10402   ia64*)
   10403     shrext_cmds='.so'
   10404     hardcode_into_libs=yes
   10405     dynamic_linker="$host_os dld.so"
   10406     shlibpath_var=LD_LIBRARY_PATH
   10407     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10408     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10409     soname_spec='${libname}${release}${shared_ext}$major'
   10410     if test "X$HPUX_IA64_MODE" = X32; then
   10411       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10412     else
   10413       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10414     fi
   10415     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10416     ;;
   10417   hppa*64*)
   10418     shrext_cmds='.sl'
   10419     hardcode_into_libs=yes
   10420     dynamic_linker="$host_os dld.sl"
   10421     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10422     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10423     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10424     soname_spec='${libname}${release}${shared_ext}$major'
   10425     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10426     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10427     ;;
   10428   *)
   10429     shrext_cmds='.sl'
   10430     dynamic_linker="$host_os dld.sl"
   10431     shlibpath_var=SHLIB_PATH
   10432     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10434     soname_spec='${libname}${release}${shared_ext}$major'
   10435     ;;
   10436   esac
   10437   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10438   postinstall_cmds='chmod 555 $lib'
   10439   ;;
   10440 
   10441 interix[3-9]*)
   10442   version_type=linux
   10443   need_lib_prefix=no
   10444   need_version=no
   10445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10446   soname_spec='${libname}${release}${shared_ext}$major'
   10447   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10448   shlibpath_var=LD_LIBRARY_PATH
   10449   shlibpath_overrides_runpath=no
   10450   hardcode_into_libs=yes
   10451   ;;
   10452 
   10453 irix5* | irix6* | nonstopux*)
   10454   case $host_os in
   10455     nonstopux*) version_type=nonstopux ;;
   10456     *)
   10457 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10458 		version_type=linux
   10459 	else
   10460 		version_type=irix
   10461 	fi ;;
   10462   esac
   10463   need_lib_prefix=no
   10464   need_version=no
   10465   soname_spec='${libname}${release}${shared_ext}$major'
   10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10467   case $host_os in
   10468   irix5* | nonstopux*)
   10469     libsuff= shlibsuff=
   10470     ;;
   10471   *)
   10472     case $LD in # libtool.m4 will add one of these switches to LD
   10473     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10474       libsuff= shlibsuff= libmagic=32-bit;;
   10475     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10476       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10477     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10478       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10479     *) libsuff= shlibsuff= libmagic=never-match;;
   10480     esac
   10481     ;;
   10482   esac
   10483   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10484   shlibpath_overrides_runpath=no
   10485   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10486   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10487   hardcode_into_libs=yes
   10488   ;;
   10489 
   10490 # No shared lib support for Linux oldld, aout, or coff.
   10491 linux*oldld* | linux*aout* | linux*coff*)
   10492   dynamic_linker=no
   10493   ;;
   10494 
   10495 # This must be Linux ELF.
   10496 linux* | k*bsd*-gnu)
   10497   version_type=linux
   10498   need_lib_prefix=no
   10499   need_version=no
   10500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10501   soname_spec='${libname}${release}${shared_ext}$major'
   10502   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10503   shlibpath_var=LD_LIBRARY_PATH
   10504   shlibpath_overrides_runpath=no
   10505   # Some binutils ld are patched to set DT_RUNPATH
   10506   save_LDFLAGS=$LDFLAGS
   10507   save_libdir=$libdir
   10508   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10509        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10510   cat >conftest.$ac_ext <<_ACEOF
   10511 /* confdefs.h.  */
   10512 _ACEOF
   10513 cat confdefs.h >>conftest.$ac_ext
   10514 cat >>conftest.$ac_ext <<_ACEOF
   10515 /* end confdefs.h.  */
   10516 
   10517 int
   10518 main ()
   10519 {
   10520 
   10521   ;
   10522   return 0;
   10523 }
   10524 _ACEOF
   10525 rm -f conftest.$ac_objext conftest$ac_exeext
   10526 if { (ac_try="$ac_link"
   10527 case "(($ac_try" in
   10528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10529   *) ac_try_echo=$ac_try;;
   10530 esac
   10531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10532 $as_echo "$ac_try_echo") >&5
   10533   (eval "$ac_link") 2>conftest.er1
   10534   ac_status=$?
   10535   grep -v '^ *+' conftest.er1 >conftest.err
   10536   rm -f conftest.er1
   10537   cat conftest.err >&5
   10538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10539   (exit $ac_status); } && {
   10540 	 test -z "$ac_c_werror_flag" ||
   10541 	 test ! -s conftest.err
   10542        } && test -s conftest$ac_exeext && {
   10543 	 test "$cross_compiling" = yes ||
   10544 	 $as_test_x conftest$ac_exeext
   10545        }; then
   10546   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   10547   shlibpath_overrides_runpath=yes
   10548 fi
   10549 
   10550 else
   10551   $as_echo "$as_me: failed program was:" >&5
   10552 sed 's/^/| /' conftest.$ac_ext >&5
   10553 
   10554 
   10555 fi
   10556 
   10557 rm -rf conftest.dSYM
   10558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10559       conftest$ac_exeext conftest.$ac_ext
   10560   LDFLAGS=$save_LDFLAGS
   10561   libdir=$save_libdir
   10562 
   10563   # This implies no fast_install, which is unacceptable.
   10564   # Some rework will be needed to allow for fast_install
   10565   # before this can be enabled.
   10566   hardcode_into_libs=yes
   10567 
   10568   # Add ABI-specific directories to the system library path.
   10569   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10570 
   10571   # Append ld.so.conf contents to the search path
   10572   if test -f /etc/ld.so.conf; then
   10573     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' ' '`
   10574     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10575   fi
   10576 
   10577   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10578   # powerpc, because MkLinux only supported shared libraries with the
   10579   # GNU dynamic linker.  Since this was broken with cross compilers,
   10580   # most powerpc-linux boxes support dynamic linking these days and
   10581   # people can always --disable-shared, the test was removed, and we
   10582   # assume the GNU/Linux dynamic linker is in use.
   10583   dynamic_linker='GNU/Linux ld.so'
   10584   ;;
   10585 
   10586 netbsd*)
   10587   version_type=sunos
   10588   need_lib_prefix=no
   10589   need_version=no
   10590   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10591     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10592     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10593     dynamic_linker='NetBSD (a.out) ld.so'
   10594   else
   10595     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10596     soname_spec='${libname}${release}${shared_ext}$major'
   10597     dynamic_linker='NetBSD ld.elf_so'
   10598   fi
   10599   shlibpath_var=LD_LIBRARY_PATH
   10600   shlibpath_overrides_runpath=yes
   10601   hardcode_into_libs=yes
   10602   ;;
   10603 
   10604 newsos6)
   10605   version_type=linux
   10606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10607   shlibpath_var=LD_LIBRARY_PATH
   10608   shlibpath_overrides_runpath=yes
   10609   ;;
   10610 
   10611 *nto* | *qnx*)
   10612   version_type=qnx
   10613   need_lib_prefix=no
   10614   need_version=no
   10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10616   soname_spec='${libname}${release}${shared_ext}$major'
   10617   shlibpath_var=LD_LIBRARY_PATH
   10618   shlibpath_overrides_runpath=no
   10619   hardcode_into_libs=yes
   10620   dynamic_linker='ldqnx.so'
   10621   ;;
   10622 
   10623 openbsd*)
   10624   version_type=sunos
   10625   sys_lib_dlsearch_path_spec="/usr/lib"
   10626   need_lib_prefix=no
   10627   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10628   case $host_os in
   10629     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10630     *)				need_version=no  ;;
   10631   esac
   10632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10633   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10634   shlibpath_var=LD_LIBRARY_PATH
   10635   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10636     case $host_os in
   10637       openbsd2.[89] | openbsd2.[89].*)
   10638 	shlibpath_overrides_runpath=no
   10639 	;;
   10640       *)
   10641 	shlibpath_overrides_runpath=yes
   10642 	;;
   10643       esac
   10644   else
   10645     shlibpath_overrides_runpath=yes
   10646   fi
   10647   ;;
   10648 
   10649 os2*)
   10650   libname_spec='$name'
   10651   shrext_cmds=".dll"
   10652   need_lib_prefix=no
   10653   library_names_spec='$libname${shared_ext} $libname.a'
   10654   dynamic_linker='OS/2 ld.exe'
   10655   shlibpath_var=LIBPATH
   10656   ;;
   10657 
   10658 osf3* | osf4* | osf5*)
   10659   version_type=osf
   10660   need_lib_prefix=no
   10661   need_version=no
   10662   soname_spec='${libname}${release}${shared_ext}$major'
   10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10664   shlibpath_var=LD_LIBRARY_PATH
   10665   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10666   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10667   ;;
   10668 
   10669 rdos*)
   10670   dynamic_linker=no
   10671   ;;
   10672 
   10673 solaris*)
   10674   version_type=linux
   10675   need_lib_prefix=no
   10676   need_version=no
   10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10678   soname_spec='${libname}${release}${shared_ext}$major'
   10679   shlibpath_var=LD_LIBRARY_PATH
   10680   shlibpath_overrides_runpath=yes
   10681   hardcode_into_libs=yes
   10682   # ldd complains unless libraries are executable
   10683   postinstall_cmds='chmod +x $lib'
   10684   ;;
   10685 
   10686 sunos4*)
   10687   version_type=sunos
   10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10689   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10690   shlibpath_var=LD_LIBRARY_PATH
   10691   shlibpath_overrides_runpath=yes
   10692   if test "$with_gnu_ld" = yes; then
   10693     need_lib_prefix=no
   10694   fi
   10695   need_version=yes
   10696   ;;
   10697 
   10698 sysv4 | sysv4.3*)
   10699   version_type=linux
   10700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10701   soname_spec='${libname}${release}${shared_ext}$major'
   10702   shlibpath_var=LD_LIBRARY_PATH
   10703   case $host_vendor in
   10704     sni)
   10705       shlibpath_overrides_runpath=no
   10706       need_lib_prefix=no
   10707       runpath_var=LD_RUN_PATH
   10708       ;;
   10709     siemens)
   10710       need_lib_prefix=no
   10711       ;;
   10712     motorola)
   10713       need_lib_prefix=no
   10714       need_version=no
   10715       shlibpath_overrides_runpath=no
   10716       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10717       ;;
   10718   esac
   10719   ;;
   10720 
   10721 sysv4*MP*)
   10722   if test -d /usr/nec ;then
   10723     version_type=linux
   10724     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10725     soname_spec='$libname${shared_ext}.$major'
   10726     shlibpath_var=LD_LIBRARY_PATH
   10727   fi
   10728   ;;
   10729 
   10730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10731   version_type=freebsd-elf
   10732   need_lib_prefix=no
   10733   need_version=no
   10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10735   soname_spec='${libname}${release}${shared_ext}$major'
   10736   shlibpath_var=LD_LIBRARY_PATH
   10737   shlibpath_overrides_runpath=yes
   10738   hardcode_into_libs=yes
   10739   if test "$with_gnu_ld" = yes; then
   10740     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10741   else
   10742     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10743     case $host_os in
   10744       sco3.2v5*)
   10745         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10746 	;;
   10747     esac
   10748   fi
   10749   sys_lib_dlsearch_path_spec='/usr/lib'
   10750   ;;
   10751 
   10752 tpf*)
   10753   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10754   version_type=linux
   10755   need_lib_prefix=no
   10756   need_version=no
   10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10758   shlibpath_var=LD_LIBRARY_PATH
   10759   shlibpath_overrides_runpath=no
   10760   hardcode_into_libs=yes
   10761   ;;
   10762 
   10763 uts4*)
   10764   version_type=linux
   10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10766   soname_spec='${libname}${release}${shared_ext}$major'
   10767   shlibpath_var=LD_LIBRARY_PATH
   10768   ;;
   10769 
   10770 *)
   10771   dynamic_linker=no
   10772   ;;
   10773 esac
   10774 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10775 $as_echo "$dynamic_linker" >&6; }
   10776 test "$dynamic_linker" = no && can_build_shared=no
   10777 
   10778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10779 if test "$GCC" = yes; then
   10780   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10781 fi
   10782 
   10783 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10784   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10785 fi
   10786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10787   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10788 fi
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10877 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10878 hardcode_action=
   10879 if test -n "$hardcode_libdir_flag_spec" ||
   10880    test -n "$runpath_var" ||
   10881    test "X$hardcode_automatic" = "Xyes" ; then
   10882 
   10883   # We can hardcode non-existent directories.
   10884   if test "$hardcode_direct" != no &&
   10885      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10886      # have to relink, otherwise we might link with an installed library
   10887      # when we should be linking with a yet-to-be-installed one
   10888      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10889      test "$hardcode_minus_L" != no; then
   10890     # Linking always hardcodes the temporary library directory.
   10891     hardcode_action=relink
   10892   else
   10893     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10894     hardcode_action=immediate
   10895   fi
   10896 else
   10897   # We cannot hardcode anything, or else we can only hardcode existing
   10898   # directories.
   10899   hardcode_action=unsupported
   10900 fi
   10901 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10902 $as_echo "$hardcode_action" >&6; }
   10903 
   10904 if test "$hardcode_action" = relink ||
   10905    test "$inherit_rpath" = yes; then
   10906   # Fast installation is not supported
   10907   enable_fast_install=no
   10908 elif test "$shlibpath_overrides_runpath" = yes ||
   10909      test "$enable_shared" = no; then
   10910   # Fast installation is not necessary
   10911   enable_fast_install=needless
   10912 fi
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919   if test "x$enable_dlopen" != xyes; then
   10920   enable_dlopen=unknown
   10921   enable_dlopen_self=unknown
   10922   enable_dlopen_self_static=unknown
   10923 else
   10924   lt_cv_dlopen=no
   10925   lt_cv_dlopen_libs=
   10926 
   10927   case $host_os in
   10928   beos*)
   10929     lt_cv_dlopen="load_add_on"
   10930     lt_cv_dlopen_libs=
   10931     lt_cv_dlopen_self=yes
   10932     ;;
   10933 
   10934   mingw* | pw32* | cegcc*)
   10935     lt_cv_dlopen="LoadLibrary"
   10936     lt_cv_dlopen_libs=
   10937     ;;
   10938 
   10939   cygwin*)
   10940     lt_cv_dlopen="dlopen"
   10941     lt_cv_dlopen_libs=
   10942     ;;
   10943 
   10944   darwin*)
   10945   # if libdl is installed we need to link against it
   10946     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10947 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10948 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10949   $as_echo_n "(cached) " >&6
   10950 else
   10951   ac_check_lib_save_LIBS=$LIBS
   10952 LIBS="-ldl  $LIBS"
   10953 cat >conftest.$ac_ext <<_ACEOF
   10954 /* confdefs.h.  */
   10955 _ACEOF
   10956 cat confdefs.h >>conftest.$ac_ext
   10957 cat >>conftest.$ac_ext <<_ACEOF
   10958 /* end confdefs.h.  */
   10959 
   10960 /* Override any GCC internal prototype to avoid an error.
   10961    Use char because int might match the return type of a GCC
   10962    builtin and then its argument prototype would still apply.  */
   10963 #ifdef __cplusplus
   10964 extern "C"
   10965 #endif
   10966 char dlopen ();
   10967 int
   10968 main ()
   10969 {
   10970 return dlopen ();
   10971   ;
   10972   return 0;
   10973 }
   10974 _ACEOF
   10975 rm -f conftest.$ac_objext conftest$ac_exeext
   10976 if { (ac_try="$ac_link"
   10977 case "(($ac_try" in
   10978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10979   *) ac_try_echo=$ac_try;;
   10980 esac
   10981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10982 $as_echo "$ac_try_echo") >&5
   10983   (eval "$ac_link") 2>conftest.er1
   10984   ac_status=$?
   10985   grep -v '^ *+' conftest.er1 >conftest.err
   10986   rm -f conftest.er1
   10987   cat conftest.err >&5
   10988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10989   (exit $ac_status); } && {
   10990 	 test -z "$ac_c_werror_flag" ||
   10991 	 test ! -s conftest.err
   10992        } && test -s conftest$ac_exeext && {
   10993 	 test "$cross_compiling" = yes ||
   10994 	 $as_test_x conftest$ac_exeext
   10995        }; then
   10996   ac_cv_lib_dl_dlopen=yes
   10997 else
   10998   $as_echo "$as_me: failed program was:" >&5
   10999 sed 's/^/| /' conftest.$ac_ext >&5
   11000 
   11001 	ac_cv_lib_dl_dlopen=no
   11002 fi
   11003 
   11004 rm -rf conftest.dSYM
   11005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11006       conftest$ac_exeext conftest.$ac_ext
   11007 LIBS=$ac_check_lib_save_LIBS
   11008 fi
   11009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11010 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11011 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11012   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11013 else
   11014 
   11015     lt_cv_dlopen="dyld"
   11016     lt_cv_dlopen_libs=
   11017     lt_cv_dlopen_self=yes
   11018 
   11019 fi
   11020 
   11021     ;;
   11022 
   11023   *)
   11024     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   11025 $as_echo_n "checking for shl_load... " >&6; }
   11026 if test "${ac_cv_func_shl_load+set}" = set; then
   11027   $as_echo_n "(cached) " >&6
   11028 else
   11029   cat >conftest.$ac_ext <<_ACEOF
   11030 /* confdefs.h.  */
   11031 _ACEOF
   11032 cat confdefs.h >>conftest.$ac_ext
   11033 cat >>conftest.$ac_ext <<_ACEOF
   11034 /* end confdefs.h.  */
   11035 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   11036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11037 #define shl_load innocuous_shl_load
   11038 
   11039 /* System header to define __stub macros and hopefully few prototypes,
   11040     which can conflict with char shl_load (); below.
   11041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11042     <limits.h> exists even on freestanding compilers.  */
   11043 
   11044 #ifdef __STDC__
   11045 # include <limits.h>
   11046 #else
   11047 # include <assert.h>
   11048 #endif
   11049 
   11050 #undef shl_load
   11051 
   11052 /* Override any GCC internal prototype to avoid an error.
   11053    Use char because int might match the return type of a GCC
   11054    builtin and then its argument prototype would still apply.  */
   11055 #ifdef __cplusplus
   11056 extern "C"
   11057 #endif
   11058 char shl_load ();
   11059 /* The GNU C library defines this for functions which it implements
   11060     to always fail with ENOSYS.  Some functions are actually named
   11061     something starting with __ and the normal name is an alias.  */
   11062 #if defined __stub_shl_load || defined __stub___shl_load
   11063 choke me
   11064 #endif
   11065 
   11066 int
   11067 main ()
   11068 {
   11069 return shl_load ();
   11070   ;
   11071   return 0;
   11072 }
   11073 _ACEOF
   11074 rm -f conftest.$ac_objext conftest$ac_exeext
   11075 if { (ac_try="$ac_link"
   11076 case "(($ac_try" in
   11077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11078   *) ac_try_echo=$ac_try;;
   11079 esac
   11080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11081 $as_echo "$ac_try_echo") >&5
   11082   (eval "$ac_link") 2>conftest.er1
   11083   ac_status=$?
   11084   grep -v '^ *+' conftest.er1 >conftest.err
   11085   rm -f conftest.er1
   11086   cat conftest.err >&5
   11087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11088   (exit $ac_status); } && {
   11089 	 test -z "$ac_c_werror_flag" ||
   11090 	 test ! -s conftest.err
   11091        } && test -s conftest$ac_exeext && {
   11092 	 test "$cross_compiling" = yes ||
   11093 	 $as_test_x conftest$ac_exeext
   11094        }; then
   11095   ac_cv_func_shl_load=yes
   11096 else
   11097   $as_echo "$as_me: failed program was:" >&5
   11098 sed 's/^/| /' conftest.$ac_ext >&5
   11099 
   11100 	ac_cv_func_shl_load=no
   11101 fi
   11102 
   11103 rm -rf conftest.dSYM
   11104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11105       conftest$ac_exeext conftest.$ac_ext
   11106 fi
   11107 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   11108 $as_echo "$ac_cv_func_shl_load" >&6; }
   11109 if test "x$ac_cv_func_shl_load" = x""yes; then
   11110   lt_cv_dlopen="shl_load"
   11111 else
   11112   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   11113 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11114 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   11115   $as_echo_n "(cached) " >&6
   11116 else
   11117   ac_check_lib_save_LIBS=$LIBS
   11118 LIBS="-ldld  $LIBS"
   11119 cat >conftest.$ac_ext <<_ACEOF
   11120 /* confdefs.h.  */
   11121 _ACEOF
   11122 cat confdefs.h >>conftest.$ac_ext
   11123 cat >>conftest.$ac_ext <<_ACEOF
   11124 /* end confdefs.h.  */
   11125 
   11126 /* Override any GCC internal prototype to avoid an error.
   11127    Use char because int might match the return type of a GCC
   11128    builtin and then its argument prototype would still apply.  */
   11129 #ifdef __cplusplus
   11130 extern "C"
   11131 #endif
   11132 char shl_load ();
   11133 int
   11134 main ()
   11135 {
   11136 return shl_load ();
   11137   ;
   11138   return 0;
   11139 }
   11140 _ACEOF
   11141 rm -f conftest.$ac_objext conftest$ac_exeext
   11142 if { (ac_try="$ac_link"
   11143 case "(($ac_try" in
   11144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11145   *) ac_try_echo=$ac_try;;
   11146 esac
   11147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11148 $as_echo "$ac_try_echo") >&5
   11149   (eval "$ac_link") 2>conftest.er1
   11150   ac_status=$?
   11151   grep -v '^ *+' conftest.er1 >conftest.err
   11152   rm -f conftest.er1
   11153   cat conftest.err >&5
   11154   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11155   (exit $ac_status); } && {
   11156 	 test -z "$ac_c_werror_flag" ||
   11157 	 test ! -s conftest.err
   11158        } && test -s conftest$ac_exeext && {
   11159 	 test "$cross_compiling" = yes ||
   11160 	 $as_test_x conftest$ac_exeext
   11161        }; then
   11162   ac_cv_lib_dld_shl_load=yes
   11163 else
   11164   $as_echo "$as_me: failed program was:" >&5
   11165 sed 's/^/| /' conftest.$ac_ext >&5
   11166 
   11167 	ac_cv_lib_dld_shl_load=no
   11168 fi
   11169 
   11170 rm -rf conftest.dSYM
   11171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11172       conftest$ac_exeext conftest.$ac_ext
   11173 LIBS=$ac_check_lib_save_LIBS
   11174 fi
   11175 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   11176 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11177 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   11178   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11179 else
   11180   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   11181 $as_echo_n "checking for dlopen... " >&6; }
   11182 if test "${ac_cv_func_dlopen+set}" = set; then
   11183   $as_echo_n "(cached) " >&6
   11184 else
   11185   cat >conftest.$ac_ext <<_ACEOF
   11186 /* confdefs.h.  */
   11187 _ACEOF
   11188 cat confdefs.h >>conftest.$ac_ext
   11189 cat >>conftest.$ac_ext <<_ACEOF
   11190 /* end confdefs.h.  */
   11191 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   11192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11193 #define dlopen innocuous_dlopen
   11194 
   11195 /* System header to define __stub macros and hopefully few prototypes,
   11196     which can conflict with char dlopen (); below.
   11197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11198     <limits.h> exists even on freestanding compilers.  */
   11199 
   11200 #ifdef __STDC__
   11201 # include <limits.h>
   11202 #else
   11203 # include <assert.h>
   11204 #endif
   11205 
   11206 #undef dlopen
   11207 
   11208 /* Override any GCC internal prototype to avoid an error.
   11209    Use char because int might match the return type of a GCC
   11210    builtin and then its argument prototype would still apply.  */
   11211 #ifdef __cplusplus
   11212 extern "C"
   11213 #endif
   11214 char dlopen ();
   11215 /* The GNU C library defines this for functions which it implements
   11216     to always fail with ENOSYS.  Some functions are actually named
   11217     something starting with __ and the normal name is an alias.  */
   11218 #if defined __stub_dlopen || defined __stub___dlopen
   11219 choke me
   11220 #endif
   11221 
   11222 int
   11223 main ()
   11224 {
   11225 return dlopen ();
   11226   ;
   11227   return 0;
   11228 }
   11229 _ACEOF
   11230 rm -f conftest.$ac_objext conftest$ac_exeext
   11231 if { (ac_try="$ac_link"
   11232 case "(($ac_try" in
   11233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11234   *) ac_try_echo=$ac_try;;
   11235 esac
   11236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11237 $as_echo "$ac_try_echo") >&5
   11238   (eval "$ac_link") 2>conftest.er1
   11239   ac_status=$?
   11240   grep -v '^ *+' conftest.er1 >conftest.err
   11241   rm -f conftest.er1
   11242   cat conftest.err >&5
   11243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11244   (exit $ac_status); } && {
   11245 	 test -z "$ac_c_werror_flag" ||
   11246 	 test ! -s conftest.err
   11247        } && test -s conftest$ac_exeext && {
   11248 	 test "$cross_compiling" = yes ||
   11249 	 $as_test_x conftest$ac_exeext
   11250        }; then
   11251   ac_cv_func_dlopen=yes
   11252 else
   11253   $as_echo "$as_me: failed program was:" >&5
   11254 sed 's/^/| /' conftest.$ac_ext >&5
   11255 
   11256 	ac_cv_func_dlopen=no
   11257 fi
   11258 
   11259 rm -rf conftest.dSYM
   11260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11261       conftest$ac_exeext conftest.$ac_ext
   11262 fi
   11263 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   11264 $as_echo "$ac_cv_func_dlopen" >&6; }
   11265 if test "x$ac_cv_func_dlopen" = x""yes; then
   11266   lt_cv_dlopen="dlopen"
   11267 else
   11268   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   11269 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11270 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   11271   $as_echo_n "(cached) " >&6
   11272 else
   11273   ac_check_lib_save_LIBS=$LIBS
   11274 LIBS="-ldl  $LIBS"
   11275 cat >conftest.$ac_ext <<_ACEOF
   11276 /* confdefs.h.  */
   11277 _ACEOF
   11278 cat confdefs.h >>conftest.$ac_ext
   11279 cat >>conftest.$ac_ext <<_ACEOF
   11280 /* end confdefs.h.  */
   11281 
   11282 /* Override any GCC internal prototype to avoid an error.
   11283    Use char because int might match the return type of a GCC
   11284    builtin and then its argument prototype would still apply.  */
   11285 #ifdef __cplusplus
   11286 extern "C"
   11287 #endif
   11288 char dlopen ();
   11289 int
   11290 main ()
   11291 {
   11292 return dlopen ();
   11293   ;
   11294   return 0;
   11295 }
   11296 _ACEOF
   11297 rm -f conftest.$ac_objext conftest$ac_exeext
   11298 if { (ac_try="$ac_link"
   11299 case "(($ac_try" in
   11300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11301   *) ac_try_echo=$ac_try;;
   11302 esac
   11303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11304 $as_echo "$ac_try_echo") >&5
   11305   (eval "$ac_link") 2>conftest.er1
   11306   ac_status=$?
   11307   grep -v '^ *+' conftest.er1 >conftest.err
   11308   rm -f conftest.er1
   11309   cat conftest.err >&5
   11310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11311   (exit $ac_status); } && {
   11312 	 test -z "$ac_c_werror_flag" ||
   11313 	 test ! -s conftest.err
   11314        } && test -s conftest$ac_exeext && {
   11315 	 test "$cross_compiling" = yes ||
   11316 	 $as_test_x conftest$ac_exeext
   11317        }; then
   11318   ac_cv_lib_dl_dlopen=yes
   11319 else
   11320   $as_echo "$as_me: failed program was:" >&5
   11321 sed 's/^/| /' conftest.$ac_ext >&5
   11322 
   11323 	ac_cv_lib_dl_dlopen=no
   11324 fi
   11325 
   11326 rm -rf conftest.dSYM
   11327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11328       conftest$ac_exeext conftest.$ac_ext
   11329 LIBS=$ac_check_lib_save_LIBS
   11330 fi
   11331 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   11332 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11333 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   11334   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11335 else
   11336   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   11337 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11338 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   11339   $as_echo_n "(cached) " >&6
   11340 else
   11341   ac_check_lib_save_LIBS=$LIBS
   11342 LIBS="-lsvld  $LIBS"
   11343 cat >conftest.$ac_ext <<_ACEOF
   11344 /* confdefs.h.  */
   11345 _ACEOF
   11346 cat confdefs.h >>conftest.$ac_ext
   11347 cat >>conftest.$ac_ext <<_ACEOF
   11348 /* end confdefs.h.  */
   11349 
   11350 /* Override any GCC internal prototype to avoid an error.
   11351    Use char because int might match the return type of a GCC
   11352    builtin and then its argument prototype would still apply.  */
   11353 #ifdef __cplusplus
   11354 extern "C"
   11355 #endif
   11356 char dlopen ();
   11357 int
   11358 main ()
   11359 {
   11360 return dlopen ();
   11361   ;
   11362   return 0;
   11363 }
   11364 _ACEOF
   11365 rm -f conftest.$ac_objext conftest$ac_exeext
   11366 if { (ac_try="$ac_link"
   11367 case "(($ac_try" in
   11368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11369   *) ac_try_echo=$ac_try;;
   11370 esac
   11371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11372 $as_echo "$ac_try_echo") >&5
   11373   (eval "$ac_link") 2>conftest.er1
   11374   ac_status=$?
   11375   grep -v '^ *+' conftest.er1 >conftest.err
   11376   rm -f conftest.er1
   11377   cat conftest.err >&5
   11378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11379   (exit $ac_status); } && {
   11380 	 test -z "$ac_c_werror_flag" ||
   11381 	 test ! -s conftest.err
   11382        } && test -s conftest$ac_exeext && {
   11383 	 test "$cross_compiling" = yes ||
   11384 	 $as_test_x conftest$ac_exeext
   11385        }; then
   11386   ac_cv_lib_svld_dlopen=yes
   11387 else
   11388   $as_echo "$as_me: failed program was:" >&5
   11389 sed 's/^/| /' conftest.$ac_ext >&5
   11390 
   11391 	ac_cv_lib_svld_dlopen=no
   11392 fi
   11393 
   11394 rm -rf conftest.dSYM
   11395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11396       conftest$ac_exeext conftest.$ac_ext
   11397 LIBS=$ac_check_lib_save_LIBS
   11398 fi
   11399 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   11400 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11401 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   11402   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11403 else
   11404   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   11405 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11406 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   11407   $as_echo_n "(cached) " >&6
   11408 else
   11409   ac_check_lib_save_LIBS=$LIBS
   11410 LIBS="-ldld  $LIBS"
   11411 cat >conftest.$ac_ext <<_ACEOF
   11412 /* confdefs.h.  */
   11413 _ACEOF
   11414 cat confdefs.h >>conftest.$ac_ext
   11415 cat >>conftest.$ac_ext <<_ACEOF
   11416 /* end confdefs.h.  */
   11417 
   11418 /* Override any GCC internal prototype to avoid an error.
   11419    Use char because int might match the return type of a GCC
   11420    builtin and then its argument prototype would still apply.  */
   11421 #ifdef __cplusplus
   11422 extern "C"
   11423 #endif
   11424 char dld_link ();
   11425 int
   11426 main ()
   11427 {
   11428 return dld_link ();
   11429   ;
   11430   return 0;
   11431 }
   11432 _ACEOF
   11433 rm -f conftest.$ac_objext conftest$ac_exeext
   11434 if { (ac_try="$ac_link"
   11435 case "(($ac_try" in
   11436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11437   *) ac_try_echo=$ac_try;;
   11438 esac
   11439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11440 $as_echo "$ac_try_echo") >&5
   11441   (eval "$ac_link") 2>conftest.er1
   11442   ac_status=$?
   11443   grep -v '^ *+' conftest.er1 >conftest.err
   11444   rm -f conftest.er1
   11445   cat conftest.err >&5
   11446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11447   (exit $ac_status); } && {
   11448 	 test -z "$ac_c_werror_flag" ||
   11449 	 test ! -s conftest.err
   11450        } && test -s conftest$ac_exeext && {
   11451 	 test "$cross_compiling" = yes ||
   11452 	 $as_test_x conftest$ac_exeext
   11453        }; then
   11454   ac_cv_lib_dld_dld_link=yes
   11455 else
   11456   $as_echo "$as_me: failed program was:" >&5
   11457 sed 's/^/| /' conftest.$ac_ext >&5
   11458 
   11459 	ac_cv_lib_dld_dld_link=no
   11460 fi
   11461 
   11462 rm -rf conftest.dSYM
   11463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11464       conftest$ac_exeext conftest.$ac_ext
   11465 LIBS=$ac_check_lib_save_LIBS
   11466 fi
   11467 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   11468 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11469 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   11470   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11471 fi
   11472 
   11473 
   11474 fi
   11475 
   11476 
   11477 fi
   11478 
   11479 
   11480 fi
   11481 
   11482 
   11483 fi
   11484 
   11485 
   11486 fi
   11487 
   11488     ;;
   11489   esac
   11490 
   11491   if test "x$lt_cv_dlopen" != xno; then
   11492     enable_dlopen=yes
   11493   else
   11494     enable_dlopen=no
   11495   fi
   11496 
   11497   case $lt_cv_dlopen in
   11498   dlopen)
   11499     save_CPPFLAGS="$CPPFLAGS"
   11500     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11501 
   11502     save_LDFLAGS="$LDFLAGS"
   11503     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11504 
   11505     save_LIBS="$LIBS"
   11506     LIBS="$lt_cv_dlopen_libs $LIBS"
   11507 
   11508     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   11509 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11510 if test "${lt_cv_dlopen_self+set}" = set; then
   11511   $as_echo_n "(cached) " >&6
   11512 else
   11513   	  if test "$cross_compiling" = yes; then :
   11514   lt_cv_dlopen_self=cross
   11515 else
   11516   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11517   lt_status=$lt_dlunknown
   11518   cat > conftest.$ac_ext <<_LT_EOF
   11519 #line 11519 "configure"
   11520 #include "confdefs.h"
   11521 
   11522 #if HAVE_DLFCN_H
   11523 #include <dlfcn.h>
   11524 #endif
   11525 
   11526 #include <stdio.h>
   11527 
   11528 #ifdef RTLD_GLOBAL
   11529 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11530 #else
   11531 #  ifdef DL_GLOBAL
   11532 #    define LT_DLGLOBAL		DL_GLOBAL
   11533 #  else
   11534 #    define LT_DLGLOBAL		0
   11535 #  endif
   11536 #endif
   11537 
   11538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11539    find out it does not work in some platform. */
   11540 #ifndef LT_DLLAZY_OR_NOW
   11541 #  ifdef RTLD_LAZY
   11542 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11543 #  else
   11544 #    ifdef DL_LAZY
   11545 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11546 #    else
   11547 #      ifdef RTLD_NOW
   11548 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11549 #      else
   11550 #        ifdef DL_NOW
   11551 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11552 #        else
   11553 #          define LT_DLLAZY_OR_NOW	0
   11554 #        endif
   11555 #      endif
   11556 #    endif
   11557 #  endif
   11558 #endif
   11559 
   11560 void fnord() { int i=42;}
   11561 int main ()
   11562 {
   11563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11564   int status = $lt_dlunknown;
   11565 
   11566   if (self)
   11567     {
   11568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11569       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11570       /* dlclose (self); */
   11571     }
   11572   else
   11573     puts (dlerror ());
   11574 
   11575   return status;
   11576 }
   11577 _LT_EOF
   11578   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11579   (eval $ac_link) 2>&5
   11580   ac_status=$?
   11581   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11582   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11583     (./conftest; exit; ) >&5 2>/dev/null
   11584     lt_status=$?
   11585     case x$lt_status in
   11586       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11587       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11588       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11589     esac
   11590   else :
   11591     # compilation failed
   11592     lt_cv_dlopen_self=no
   11593   fi
   11594 fi
   11595 rm -fr conftest*
   11596 
   11597 
   11598 fi
   11599 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   11600 $as_echo "$lt_cv_dlopen_self" >&6; }
   11601 
   11602     if test "x$lt_cv_dlopen_self" = xyes; then
   11603       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11604       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   11605 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11606 if test "${lt_cv_dlopen_self_static+set}" = set; then
   11607   $as_echo_n "(cached) " >&6
   11608 else
   11609   	  if test "$cross_compiling" = yes; then :
   11610   lt_cv_dlopen_self_static=cross
   11611 else
   11612   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11613   lt_status=$lt_dlunknown
   11614   cat > conftest.$ac_ext <<_LT_EOF
   11615 #line 11615 "configure"
   11616 #include "confdefs.h"
   11617 
   11618 #if HAVE_DLFCN_H
   11619 #include <dlfcn.h>
   11620 #endif
   11621 
   11622 #include <stdio.h>
   11623 
   11624 #ifdef RTLD_GLOBAL
   11625 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11626 #else
   11627 #  ifdef DL_GLOBAL
   11628 #    define LT_DLGLOBAL		DL_GLOBAL
   11629 #  else
   11630 #    define LT_DLGLOBAL		0
   11631 #  endif
   11632 #endif
   11633 
   11634 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11635    find out it does not work in some platform. */
   11636 #ifndef LT_DLLAZY_OR_NOW
   11637 #  ifdef RTLD_LAZY
   11638 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11639 #  else
   11640 #    ifdef DL_LAZY
   11641 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11642 #    else
   11643 #      ifdef RTLD_NOW
   11644 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11645 #      else
   11646 #        ifdef DL_NOW
   11647 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11648 #        else
   11649 #          define LT_DLLAZY_OR_NOW	0
   11650 #        endif
   11651 #      endif
   11652 #    endif
   11653 #  endif
   11654 #endif
   11655 
   11656 void fnord() { int i=42;}
   11657 int main ()
   11658 {
   11659   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11660   int status = $lt_dlunknown;
   11661 
   11662   if (self)
   11663     {
   11664       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11665       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11666       /* dlclose (self); */
   11667     }
   11668   else
   11669     puts (dlerror ());
   11670 
   11671   return status;
   11672 }
   11673 _LT_EOF
   11674   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11675   (eval $ac_link) 2>&5
   11676   ac_status=$?
   11677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11678   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   11679     (./conftest; exit; ) >&5 2>/dev/null
   11680     lt_status=$?
   11681     case x$lt_status in
   11682       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11683       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11684       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11685     esac
   11686   else :
   11687     # compilation failed
   11688     lt_cv_dlopen_self_static=no
   11689   fi
   11690 fi
   11691 rm -fr conftest*
   11692 
   11693 
   11694 fi
   11695 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11696 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11697     fi
   11698 
   11699     CPPFLAGS="$save_CPPFLAGS"
   11700     LDFLAGS="$save_LDFLAGS"
   11701     LIBS="$save_LIBS"
   11702     ;;
   11703   esac
   11704 
   11705   case $lt_cv_dlopen_self in
   11706   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11707   *) enable_dlopen_self=unknown ;;
   11708   esac
   11709 
   11710   case $lt_cv_dlopen_self_static in
   11711   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11712   *) enable_dlopen_self_static=unknown ;;
   11713   esac
   11714 fi
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 striplib=
   11733 old_striplib=
   11734 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11735 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11736 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11737   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11738   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11739   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11740 $as_echo "yes" >&6; }
   11741 else
   11742 # FIXME - insert some real tests, host_os isn't really good enough
   11743   case $host_os in
   11744   darwin*)
   11745     if test -n "$STRIP" ; then
   11746       striplib="$STRIP -x"
   11747       old_striplib="$STRIP -S"
   11748       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11749 $as_echo "yes" >&6; }
   11750     else
   11751       { $as_echo "$as_me:$LINENO: result: no" >&5
   11752 $as_echo "no" >&6; }
   11753     fi
   11754     ;;
   11755   *)
   11756     { $as_echo "$as_me:$LINENO: result: no" >&5
   11757 $as_echo "no" >&6; }
   11758     ;;
   11759   esac
   11760 fi
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773   # Report which library types will actually be built
   11774   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11775 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11776   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11777 $as_echo "$can_build_shared" >&6; }
   11778 
   11779   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11780 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11781   test "$can_build_shared" = "no" && enable_shared=no
   11782 
   11783   # On AIX, shared libraries and static libraries use the same namespace, and
   11784   # are all built from PIC.
   11785   case $host_os in
   11786   aix3*)
   11787     test "$enable_shared" = yes && enable_static=no
   11788     if test -n "$RANLIB"; then
   11789       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11790       postinstall_cmds='$RANLIB $lib'
   11791     fi
   11792     ;;
   11793 
   11794   aix[4-9]*)
   11795     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11796       test "$enable_shared" = yes && enable_static=no
   11797     fi
   11798     ;;
   11799   esac
   11800   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11801 $as_echo "$enable_shared" >&6; }
   11802 
   11803   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11804 $as_echo_n "checking whether to build static libraries... " >&6; }
   11805   # Make sure either enable_shared or enable_static is yes.
   11806   test "$enable_shared" = yes || enable_static=yes
   11807   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11808 $as_echo "$enable_static" >&6; }
   11809 
   11810 
   11811 
   11812 
   11813 fi
   11814 ac_ext=c
   11815 ac_cpp='$CPP $CPPFLAGS'
   11816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11819 
   11820 CC="$lt_save_CC"
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834         ac_config_commands="$ac_config_commands libtool"
   11835 
   11836 
   11837 
   11838 
   11839 # Only expand once:
   11840 
   11841 
   11842 ac_ext=c
   11843 ac_cpp='$CPP $CPPFLAGS'
   11844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11847 if test -n "$ac_tool_prefix"; then
   11848   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11849 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11851 $as_echo_n "checking for $ac_word... " >&6; }
   11852 if test "${ac_cv_prog_CC+set}" = set; then
   11853   $as_echo_n "(cached) " >&6
   11854 else
   11855   if test -n "$CC"; then
   11856   ac_cv_prog_CC="$CC" # Let the user override the test.
   11857 else
   11858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11859 for as_dir in $PATH
   11860 do
   11861   IFS=$as_save_IFS
   11862   test -z "$as_dir" && as_dir=.
   11863   for ac_exec_ext in '' $ac_executable_extensions; do
   11864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11865     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11866     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11867     break 2
   11868   fi
   11869 done
   11870 done
   11871 IFS=$as_save_IFS
   11872 
   11873 fi
   11874 fi
   11875 CC=$ac_cv_prog_CC
   11876 if test -n "$CC"; then
   11877   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11878 $as_echo "$CC" >&6; }
   11879 else
   11880   { $as_echo "$as_me:$LINENO: result: no" >&5
   11881 $as_echo "no" >&6; }
   11882 fi
   11883 
   11884 
   11885 fi
   11886 if test -z "$ac_cv_prog_CC"; then
   11887   ac_ct_CC=$CC
   11888   # Extract the first word of "gcc", so it can be a program name with args.
   11889 set dummy gcc; ac_word=$2
   11890 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11891 $as_echo_n "checking for $ac_word... " >&6; }
   11892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11893   $as_echo_n "(cached) " >&6
   11894 else
   11895   if test -n "$ac_ct_CC"; then
   11896   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11897 else
   11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11899 for as_dir in $PATH
   11900 do
   11901   IFS=$as_save_IFS
   11902   test -z "$as_dir" && as_dir=.
   11903   for ac_exec_ext in '' $ac_executable_extensions; do
   11904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11905     ac_cv_prog_ac_ct_CC="gcc"
   11906     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11907     break 2
   11908   fi
   11909 done
   11910 done
   11911 IFS=$as_save_IFS
   11912 
   11913 fi
   11914 fi
   11915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11916 if test -n "$ac_ct_CC"; then
   11917   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11918 $as_echo "$ac_ct_CC" >&6; }
   11919 else
   11920   { $as_echo "$as_me:$LINENO: result: no" >&5
   11921 $as_echo "no" >&6; }
   11922 fi
   11923 
   11924   if test "x$ac_ct_CC" = x; then
   11925     CC=""
   11926   else
   11927     case $cross_compiling:$ac_tool_warned in
   11928 yes:)
   11929 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11931 ac_tool_warned=yes ;;
   11932 esac
   11933     CC=$ac_ct_CC
   11934   fi
   11935 else
   11936   CC="$ac_cv_prog_CC"
   11937 fi
   11938 
   11939 if test -z "$CC"; then
   11940           if test -n "$ac_tool_prefix"; then
   11941     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11942 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11943 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11944 $as_echo_n "checking for $ac_word... " >&6; }
   11945 if test "${ac_cv_prog_CC+set}" = set; then
   11946   $as_echo_n "(cached) " >&6
   11947 else
   11948   if test -n "$CC"; then
   11949   ac_cv_prog_CC="$CC" # Let the user override the test.
   11950 else
   11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11952 for as_dir in $PATH
   11953 do
   11954   IFS=$as_save_IFS
   11955   test -z "$as_dir" && as_dir=.
   11956   for ac_exec_ext in '' $ac_executable_extensions; do
   11957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11958     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11959     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11960     break 2
   11961   fi
   11962 done
   11963 done
   11964 IFS=$as_save_IFS
   11965 
   11966 fi
   11967 fi
   11968 CC=$ac_cv_prog_CC
   11969 if test -n "$CC"; then
   11970   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11971 $as_echo "$CC" >&6; }
   11972 else
   11973   { $as_echo "$as_me:$LINENO: result: no" >&5
   11974 $as_echo "no" >&6; }
   11975 fi
   11976 
   11977 
   11978   fi
   11979 fi
   11980 if test -z "$CC"; then
   11981   # Extract the first word of "cc", so it can be a program name with args.
   11982 set dummy cc; ac_word=$2
   11983 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11984 $as_echo_n "checking for $ac_word... " >&6; }
   11985 if test "${ac_cv_prog_CC+set}" = set; then
   11986   $as_echo_n "(cached) " >&6
   11987 else
   11988   if test -n "$CC"; then
   11989   ac_cv_prog_CC="$CC" # Let the user override the test.
   11990 else
   11991   ac_prog_rejected=no
   11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11993 for as_dir in $PATH
   11994 do
   11995   IFS=$as_save_IFS
   11996   test -z "$as_dir" && as_dir=.
   11997   for ac_exec_ext in '' $ac_executable_extensions; do
   11998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11999     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12000        ac_prog_rejected=yes
   12001        continue
   12002      fi
   12003     ac_cv_prog_CC="cc"
   12004     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12005     break 2
   12006   fi
   12007 done
   12008 done
   12009 IFS=$as_save_IFS
   12010 
   12011 if test $ac_prog_rejected = yes; then
   12012   # We found a bogon in the path, so make sure we never use it.
   12013   set dummy $ac_cv_prog_CC
   12014   shift
   12015   if test $# != 0; then
   12016     # We chose a different compiler from the bogus one.
   12017     # However, it has the same basename, so the bogon will be chosen
   12018     # first if we set CC to just the basename; use the full file name.
   12019     shift
   12020     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12021   fi
   12022 fi
   12023 fi
   12024 fi
   12025 CC=$ac_cv_prog_CC
   12026 if test -n "$CC"; then
   12027   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12028 $as_echo "$CC" >&6; }
   12029 else
   12030   { $as_echo "$as_me:$LINENO: result: no" >&5
   12031 $as_echo "no" >&6; }
   12032 fi
   12033 
   12034 
   12035 fi
   12036 if test -z "$CC"; then
   12037   if test -n "$ac_tool_prefix"; then
   12038   for ac_prog in cl.exe
   12039   do
   12040     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12042 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12043 $as_echo_n "checking for $ac_word... " >&6; }
   12044 if test "${ac_cv_prog_CC+set}" = set; then
   12045   $as_echo_n "(cached) " >&6
   12046 else
   12047   if test -n "$CC"; then
   12048   ac_cv_prog_CC="$CC" # Let the user override the test.
   12049 else
   12050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12051 for as_dir in $PATH
   12052 do
   12053   IFS=$as_save_IFS
   12054   test -z "$as_dir" && as_dir=.
   12055   for ac_exec_ext in '' $ac_executable_extensions; do
   12056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12057     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12058     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12059     break 2
   12060   fi
   12061 done
   12062 done
   12063 IFS=$as_save_IFS
   12064 
   12065 fi
   12066 fi
   12067 CC=$ac_cv_prog_CC
   12068 if test -n "$CC"; then
   12069   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   12070 $as_echo "$CC" >&6; }
   12071 else
   12072   { $as_echo "$as_me:$LINENO: result: no" >&5
   12073 $as_echo "no" >&6; }
   12074 fi
   12075 
   12076 
   12077     test -n "$CC" && break
   12078   done
   12079 fi
   12080 if test -z "$CC"; then
   12081   ac_ct_CC=$CC
   12082   for ac_prog in cl.exe
   12083 do
   12084   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12085 set dummy $ac_prog; ac_word=$2
   12086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12087 $as_echo_n "checking for $ac_word... " >&6; }
   12088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   12089   $as_echo_n "(cached) " >&6
   12090 else
   12091   if test -n "$ac_ct_CC"; then
   12092   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12093 else
   12094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12095 for as_dir in $PATH
   12096 do
   12097   IFS=$as_save_IFS
   12098   test -z "$as_dir" && as_dir=.
   12099   for ac_exec_ext in '' $ac_executable_extensions; do
   12100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12101     ac_cv_prog_ac_ct_CC="$ac_prog"
   12102     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12103     break 2
   12104   fi
   12105 done
   12106 done
   12107 IFS=$as_save_IFS
   12108 
   12109 fi
   12110 fi
   12111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12112 if test -n "$ac_ct_CC"; then
   12113   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   12114 $as_echo "$ac_ct_CC" >&6; }
   12115 else
   12116   { $as_echo "$as_me:$LINENO: result: no" >&5
   12117 $as_echo "no" >&6; }
   12118 fi
   12119 
   12120 
   12121   test -n "$ac_ct_CC" && break
   12122 done
   12123 
   12124   if test "x$ac_ct_CC" = x; then
   12125     CC=""
   12126   else
   12127     case $cross_compiling:$ac_tool_warned in
   12128 yes:)
   12129 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12131 ac_tool_warned=yes ;;
   12132 esac
   12133     CC=$ac_ct_CC
   12134   fi
   12135 fi
   12136 
   12137 fi
   12138 
   12139 
   12140 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12142 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   12143 See \`config.log' for more details." >&5
   12144 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   12145 See \`config.log' for more details." >&2;}
   12146    { (exit 1); exit 1; }; }; }
   12147 
   12148 # Provide some information about the compiler.
   12149 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   12150 set X $ac_compile
   12151 ac_compiler=$2
   12152 { (ac_try="$ac_compiler --version >&5"
   12153 case "(($ac_try" in
   12154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12155   *) ac_try_echo=$ac_try;;
   12156 esac
   12157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12158 $as_echo "$ac_try_echo") >&5
   12159   (eval "$ac_compiler --version >&5") 2>&5
   12160   ac_status=$?
   12161   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12162   (exit $ac_status); }
   12163 { (ac_try="$ac_compiler -v >&5"
   12164 case "(($ac_try" in
   12165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12166   *) ac_try_echo=$ac_try;;
   12167 esac
   12168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12169 $as_echo "$ac_try_echo") >&5
   12170   (eval "$ac_compiler -v >&5") 2>&5
   12171   ac_status=$?
   12172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12173   (exit $ac_status); }
   12174 { (ac_try="$ac_compiler -V >&5"
   12175 case "(($ac_try" in
   12176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12177   *) ac_try_echo=$ac_try;;
   12178 esac
   12179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12180 $as_echo "$ac_try_echo") >&5
   12181   (eval "$ac_compiler -V >&5") 2>&5
   12182   ac_status=$?
   12183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12184   (exit $ac_status); }
   12185 
   12186 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   12187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   12188 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   cat >conftest.$ac_ext <<_ACEOF
   12192 /* confdefs.h.  */
   12193 _ACEOF
   12194 cat confdefs.h >>conftest.$ac_ext
   12195 cat >>conftest.$ac_ext <<_ACEOF
   12196 /* end confdefs.h.  */
   12197 
   12198 int
   12199 main ()
   12200 {
   12201 #ifndef __GNUC__
   12202        choke me
   12203 #endif
   12204 
   12205   ;
   12206   return 0;
   12207 }
   12208 _ACEOF
   12209 rm -f conftest.$ac_objext
   12210 if { (ac_try="$ac_compile"
   12211 case "(($ac_try" in
   12212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12213   *) ac_try_echo=$ac_try;;
   12214 esac
   12215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12216 $as_echo "$ac_try_echo") >&5
   12217   (eval "$ac_compile") 2>conftest.er1
   12218   ac_status=$?
   12219   grep -v '^ *+' conftest.er1 >conftest.err
   12220   rm -f conftest.er1
   12221   cat conftest.err >&5
   12222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12223   (exit $ac_status); } && {
   12224 	 test -z "$ac_c_werror_flag" ||
   12225 	 test ! -s conftest.err
   12226        } && test -s conftest.$ac_objext; then
   12227   ac_compiler_gnu=yes
   12228 else
   12229   $as_echo "$as_me: failed program was:" >&5
   12230 sed 's/^/| /' conftest.$ac_ext >&5
   12231 
   12232 	ac_compiler_gnu=no
   12233 fi
   12234 
   12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12237 
   12238 fi
   12239 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   12240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   12241 if test $ac_compiler_gnu = yes; then
   12242   GCC=yes
   12243 else
   12244   GCC=
   12245 fi
   12246 ac_test_CFLAGS=${CFLAGS+set}
   12247 ac_save_CFLAGS=$CFLAGS
   12248 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   12249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   12250 if test "${ac_cv_prog_cc_g+set}" = set; then
   12251   $as_echo_n "(cached) " >&6
   12252 else
   12253   ac_save_c_werror_flag=$ac_c_werror_flag
   12254    ac_c_werror_flag=yes
   12255    ac_cv_prog_cc_g=no
   12256    CFLAGS="-g"
   12257    cat >conftest.$ac_ext <<_ACEOF
   12258 /* confdefs.h.  */
   12259 _ACEOF
   12260 cat confdefs.h >>conftest.$ac_ext
   12261 cat >>conftest.$ac_ext <<_ACEOF
   12262 /* end confdefs.h.  */
   12263 
   12264 int
   12265 main ()
   12266 {
   12267 
   12268   ;
   12269   return 0;
   12270 }
   12271 _ACEOF
   12272 rm -f conftest.$ac_objext
   12273 if { (ac_try="$ac_compile"
   12274 case "(($ac_try" in
   12275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12276   *) ac_try_echo=$ac_try;;
   12277 esac
   12278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12279 $as_echo "$ac_try_echo") >&5
   12280   (eval "$ac_compile") 2>conftest.er1
   12281   ac_status=$?
   12282   grep -v '^ *+' conftest.er1 >conftest.err
   12283   rm -f conftest.er1
   12284   cat conftest.err >&5
   12285   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12286   (exit $ac_status); } && {
   12287 	 test -z "$ac_c_werror_flag" ||
   12288 	 test ! -s conftest.err
   12289        } && test -s conftest.$ac_objext; then
   12290   ac_cv_prog_cc_g=yes
   12291 else
   12292   $as_echo "$as_me: failed program was:" >&5
   12293 sed 's/^/| /' conftest.$ac_ext >&5
   12294 
   12295 	CFLAGS=""
   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 
   12303 int
   12304 main ()
   12305 {
   12306 
   12307   ;
   12308   return 0;
   12309 }
   12310 _ACEOF
   12311 rm -f conftest.$ac_objext
   12312 if { (ac_try="$ac_compile"
   12313 case "(($ac_try" in
   12314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12315   *) ac_try_echo=$ac_try;;
   12316 esac
   12317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12318 $as_echo "$ac_try_echo") >&5
   12319   (eval "$ac_compile") 2>conftest.er1
   12320   ac_status=$?
   12321   grep -v '^ *+' conftest.er1 >conftest.err
   12322   rm -f conftest.er1
   12323   cat conftest.err >&5
   12324   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12325   (exit $ac_status); } && {
   12326 	 test -z "$ac_c_werror_flag" ||
   12327 	 test ! -s conftest.err
   12328        } && test -s conftest.$ac_objext; then
   12329   :
   12330 else
   12331   $as_echo "$as_me: failed program was:" >&5
   12332 sed 's/^/| /' conftest.$ac_ext >&5
   12333 
   12334 	ac_c_werror_flag=$ac_save_c_werror_flag
   12335 	 CFLAGS="-g"
   12336 	 cat >conftest.$ac_ext <<_ACEOF
   12337 /* confdefs.h.  */
   12338 _ACEOF
   12339 cat confdefs.h >>conftest.$ac_ext
   12340 cat >>conftest.$ac_ext <<_ACEOF
   12341 /* end confdefs.h.  */
   12342 
   12343 int
   12344 main ()
   12345 {
   12346 
   12347   ;
   12348   return 0;
   12349 }
   12350 _ACEOF
   12351 rm -f conftest.$ac_objext
   12352 if { (ac_try="$ac_compile"
   12353 case "(($ac_try" in
   12354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12355   *) ac_try_echo=$ac_try;;
   12356 esac
   12357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12358 $as_echo "$ac_try_echo") >&5
   12359   (eval "$ac_compile") 2>conftest.er1
   12360   ac_status=$?
   12361   grep -v '^ *+' conftest.er1 >conftest.err
   12362   rm -f conftest.er1
   12363   cat conftest.err >&5
   12364   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12365   (exit $ac_status); } && {
   12366 	 test -z "$ac_c_werror_flag" ||
   12367 	 test ! -s conftest.err
   12368        } && test -s conftest.$ac_objext; then
   12369   ac_cv_prog_cc_g=yes
   12370 else
   12371   $as_echo "$as_me: failed program was:" >&5
   12372 sed 's/^/| /' conftest.$ac_ext >&5
   12373 
   12374 
   12375 fi
   12376 
   12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12378 fi
   12379 
   12380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12381 fi
   12382 
   12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12384    ac_c_werror_flag=$ac_save_c_werror_flag
   12385 fi
   12386 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   12387 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12388 if test "$ac_test_CFLAGS" = set; then
   12389   CFLAGS=$ac_save_CFLAGS
   12390 elif test $ac_cv_prog_cc_g = yes; then
   12391   if test "$GCC" = yes; then
   12392     CFLAGS="-g -O2"
   12393   else
   12394     CFLAGS="-g"
   12395   fi
   12396 else
   12397   if test "$GCC" = yes; then
   12398     CFLAGS="-O2"
   12399   else
   12400     CFLAGS=
   12401   fi
   12402 fi
   12403 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   12404 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12405 if test "${ac_cv_prog_cc_c89+set}" = set; then
   12406   $as_echo_n "(cached) " >&6
   12407 else
   12408   ac_cv_prog_cc_c89=no
   12409 ac_save_CC=$CC
   12410 cat >conftest.$ac_ext <<_ACEOF
   12411 /* confdefs.h.  */
   12412 _ACEOF
   12413 cat confdefs.h >>conftest.$ac_ext
   12414 cat >>conftest.$ac_ext <<_ACEOF
   12415 /* end confdefs.h.  */
   12416 #include <stdarg.h>
   12417 #include <stdio.h>
   12418 #include <sys/types.h>
   12419 #include <sys/stat.h>
   12420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12421 struct buf { int x; };
   12422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12423 static char *e (p, i)
   12424      char **p;
   12425      int i;
   12426 {
   12427   return p[i];
   12428 }
   12429 static char *f (char * (*g) (char **, int), char **p, ...)
   12430 {
   12431   char *s;
   12432   va_list v;
   12433   va_start (v,p);
   12434   s = g (p, va_arg (v,int));
   12435   va_end (v);
   12436   return s;
   12437 }
   12438 
   12439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12440    function prototypes and stuff, but not '\xHH' hex character constants.
   12441    These don't provoke an error unfortunately, instead are silently treated
   12442    as 'x'.  The following induces an error, until -std is added to get
   12443    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12444    array size at least.  It's necessary to write '\x00'==0 to get something
   12445    that's true only with -std.  */
   12446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12447 
   12448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12449    inside strings and character constants.  */
   12450 #define FOO(x) 'x'
   12451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12452 
   12453 int test (int i, double x);
   12454 struct s1 {int (*f) (int a);};
   12455 struct s2 {int (*f) (double a);};
   12456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12457 int argc;
   12458 char **argv;
   12459 int
   12460 main ()
   12461 {
   12462 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12463   ;
   12464   return 0;
   12465 }
   12466 _ACEOF
   12467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12468 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12469 do
   12470   CC="$ac_save_CC $ac_arg"
   12471   rm -f conftest.$ac_objext
   12472 if { (ac_try="$ac_compile"
   12473 case "(($ac_try" in
   12474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12475   *) ac_try_echo=$ac_try;;
   12476 esac
   12477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12478 $as_echo "$ac_try_echo") >&5
   12479   (eval "$ac_compile") 2>conftest.er1
   12480   ac_status=$?
   12481   grep -v '^ *+' conftest.er1 >conftest.err
   12482   rm -f conftest.er1
   12483   cat conftest.err >&5
   12484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12485   (exit $ac_status); } && {
   12486 	 test -z "$ac_c_werror_flag" ||
   12487 	 test ! -s conftest.err
   12488        } && test -s conftest.$ac_objext; then
   12489   ac_cv_prog_cc_c89=$ac_arg
   12490 else
   12491   $as_echo "$as_me: failed program was:" >&5
   12492 sed 's/^/| /' conftest.$ac_ext >&5
   12493 
   12494 
   12495 fi
   12496 
   12497 rm -f core conftest.err conftest.$ac_objext
   12498   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12499 done
   12500 rm -f conftest.$ac_ext
   12501 CC=$ac_save_CC
   12502 
   12503 fi
   12504 # AC_CACHE_VAL
   12505 case "x$ac_cv_prog_cc_c89" in
   12506   x)
   12507     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   12508 $as_echo "none needed" >&6; } ;;
   12509   xno)
   12510     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   12511 $as_echo "unsupported" >&6; } ;;
   12512   *)
   12513     CC="$CC $ac_cv_prog_cc_c89"
   12514     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   12515 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   12516 esac
   12517 
   12518 
   12519 ac_ext=c
   12520 ac_cpp='$CPP $CPPFLAGS'
   12521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12524 
   12525 depcc="$CC"   am_compiler_list=
   12526 
   12527 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   12528 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12529 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   12530   $as_echo_n "(cached) " >&6
   12531 else
   12532   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12533   # We make a subdir and do the tests there.  Otherwise we can end up
   12534   # making bogus files that we don't know about and never remove.  For
   12535   # instance it was reported that on HP-UX the gcc test will end up
   12536   # making a dummy file named `D' -- because `-MD' means `put the output
   12537   # in D'.
   12538   mkdir conftest.dir
   12539   # Copy depcomp to subdir because otherwise we won't find it if we're
   12540   # using a relative directory.
   12541   cp "$am_depcomp" conftest.dir
   12542   cd conftest.dir
   12543   # We will build objects and dependencies in a subdirectory because
   12544   # it helps to detect inapplicable dependency modes.  For instance
   12545   # both Tru64's cc and ICC support -MD to output dependencies as a
   12546   # side effect of compilation, but ICC will put the dependencies in
   12547   # the current directory while Tru64 will put them in the object
   12548   # directory.
   12549   mkdir sub
   12550 
   12551   am_cv_CC_dependencies_compiler_type=none
   12552   if test "$am_compiler_list" = ""; then
   12553      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12554   fi
   12555   am__universal=false
   12556   case " $depcc " in #(
   12557      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   12558      esac
   12559 
   12560   for depmode in $am_compiler_list; do
   12561     # Setup a source with many dependencies, because some compilers
   12562     # like to wrap large dependency lists on column 80 (with \), and
   12563     # we should not choose a depcomp mode which is confused by this.
   12564     #
   12565     # We need to recreate these files for each test, as the compiler may
   12566     # overwrite some of them when testing with obscure command lines.
   12567     # This happens at least with the AIX C compiler.
   12568     : > sub/conftest.c
   12569     for i in 1 2 3 4 5 6; do
   12570       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12571       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   12572       # Solaris 8's {/usr,}/bin/sh.
   12573       touch sub/conftst$i.h
   12574     done
   12575     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12576 
   12577     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   12578     # mode.  It turns out that the SunPro C++ compiler does not properly
   12579     # handle `-M -o', and we need to detect this.  Also, some Intel
   12580     # versions had trouble with output in subdirs
   12581     am__obj=sub/conftest.${OBJEXT-o}
   12582     am__minus_obj="-o $am__obj"
   12583     case $depmode in
   12584     gcc)
   12585       # This depmode causes a compiler race in universal mode.
   12586       test "$am__universal" = false || continue
   12587       ;;
   12588     nosideeffect)
   12589       # after this tag, mechanisms are not by side-effect, so they'll
   12590       # only be used when explicitly requested
   12591       if test "x$enable_dependency_tracking" = xyes; then
   12592 	continue
   12593       else
   12594 	break
   12595       fi
   12596       ;;
   12597     msvisualcpp | msvcmsys)
   12598       # This compiler won't grok `-c -o', but also, the minuso test has
   12599       # not run yet.  These depmodes are late enough in the game, and
   12600       # so weak that their functioning should not be impacted.
   12601       am__obj=conftest.${OBJEXT-o}
   12602       am__minus_obj=
   12603       ;;
   12604     none) break ;;
   12605     esac
   12606     if depmode=$depmode \
   12607        source=sub/conftest.c object=$am__obj \
   12608        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12609        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   12610          >/dev/null 2>conftest.err &&
   12611        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12612        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12613        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   12614        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12615       # icc doesn't choke on unknown options, it will just issue warnings
   12616       # or remarks (even with -Werror).  So we grep stderr for any message
   12617       # that says an option was ignored or not supported.
   12618       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12619       #   icc: Command line warning: ignoring option '-M'; no argument required
   12620       # The diagnosis changed in icc 8.0:
   12621       #   icc: Command line remark: option '-MP' not supported
   12622       if (grep 'ignoring option' conftest.err ||
   12623           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12624         am_cv_CC_dependencies_compiler_type=$depmode
   12625         break
   12626       fi
   12627     fi
   12628   done
   12629 
   12630   cd ..
   12631   rm -rf conftest.dir
   12632 else
   12633   am_cv_CC_dependencies_compiler_type=none
   12634 fi
   12635 
   12636 fi
   12637 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   12638 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   12639 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   12640 
   12641  if
   12642   test "x$enable_dependency_tracking" != xno \
   12643   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   12644   am__fastdepCC_TRUE=
   12645   am__fastdepCC_FALSE='#'
   12646 else
   12647   am__fastdepCC_TRUE='#'
   12648   am__fastdepCC_FALSE=
   12649 fi
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 # Check whether --with-xorg-module-dir was given.
   12658 if test "${with_xorg_module_dir+set}" = set; then
   12659   withval=$with_xorg_module_dir;  moduledir="$withval"
   12660 else
   12661    moduledir="$libdir/xorg/modules"
   12662 fi
   12663 
   12664 
   12665 
   12666 
   12667 # Checks for extensions
   12668 
   12669 	SAVE_CFLAGS="$CFLAGS"
   12670 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12671 	cat >conftest.$ac_ext <<_ACEOF
   12672 /* confdefs.h.  */
   12673 _ACEOF
   12674 cat confdefs.h >>conftest.$ac_ext
   12675 cat >>conftest.$ac_ext <<_ACEOF
   12676 /* end confdefs.h.  */
   12677 
   12678 #include "xorg-server.h"
   12679 #if !defined RANDR
   12680 #error RANDR not defined
   12681 #endif
   12682 
   12683 int
   12684 main ()
   12685 {
   12686 
   12687   ;
   12688   return 0;
   12689 }
   12690 _ACEOF
   12691 rm -f conftest.$ac_objext
   12692 if { (ac_try="$ac_compile"
   12693 case "(($ac_try" in
   12694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12695   *) ac_try_echo=$ac_try;;
   12696 esac
   12697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12698 $as_echo "$ac_try_echo") >&5
   12699   (eval "$ac_compile") 2>conftest.er1
   12700   ac_status=$?
   12701   grep -v '^ *+' conftest.er1 >conftest.err
   12702   rm -f conftest.er1
   12703   cat conftest.err >&5
   12704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12705   (exit $ac_status); } && {
   12706 	 test -z "$ac_c_werror_flag" ||
   12707 	 test ! -s conftest.err
   12708        } && test -s conftest.$ac_objext; then
   12709   _EXT_CHECK=yes
   12710 else
   12711   $as_echo "$as_me: failed program was:" >&5
   12712 sed 's/^/| /' conftest.$ac_ext >&5
   12713 
   12714 	_EXT_CHECK=no
   12715 fi
   12716 
   12717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12718 	CFLAGS="$SAVE_CFLAGS"
   12719 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   12720 $as_echo_n "checking if RANDR is defined... " >&6; }
   12721 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12722 $as_echo "$_EXT_CHECK" >&6; }
   12723 	if test "$_EXT_CHECK" != no; then
   12724 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   12725 	fi
   12726 
   12727 
   12728 	SAVE_CFLAGS="$CFLAGS"
   12729 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12730 	cat >conftest.$ac_ext <<_ACEOF
   12731 /* confdefs.h.  */
   12732 _ACEOF
   12733 cat confdefs.h >>conftest.$ac_ext
   12734 cat >>conftest.$ac_ext <<_ACEOF
   12735 /* end confdefs.h.  */
   12736 
   12737 #include "xorg-server.h"
   12738 #if !defined RENDER
   12739 #error RENDER not defined
   12740 #endif
   12741 
   12742 int
   12743 main ()
   12744 {
   12745 
   12746   ;
   12747   return 0;
   12748 }
   12749 _ACEOF
   12750 rm -f conftest.$ac_objext
   12751 if { (ac_try="$ac_compile"
   12752 case "(($ac_try" in
   12753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12754   *) ac_try_echo=$ac_try;;
   12755 esac
   12756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12757 $as_echo "$ac_try_echo") >&5
   12758   (eval "$ac_compile") 2>conftest.er1
   12759   ac_status=$?
   12760   grep -v '^ *+' conftest.er1 >conftest.err
   12761   rm -f conftest.er1
   12762   cat conftest.err >&5
   12763   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12764   (exit $ac_status); } && {
   12765 	 test -z "$ac_c_werror_flag" ||
   12766 	 test ! -s conftest.err
   12767        } && test -s conftest.$ac_objext; then
   12768   _EXT_CHECK=yes
   12769 else
   12770   $as_echo "$as_me: failed program was:" >&5
   12771 sed 's/^/| /' conftest.$ac_ext >&5
   12772 
   12773 	_EXT_CHECK=no
   12774 fi
   12775 
   12776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12777 	CFLAGS="$SAVE_CFLAGS"
   12778 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   12779 $as_echo_n "checking if RENDER is defined... " >&6; }
   12780 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12781 $as_echo "$_EXT_CHECK" >&6; }
   12782 	if test "$_EXT_CHECK" != no; then
   12783 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   12784 	fi
   12785 
   12786 
   12787 	SAVE_CFLAGS="$CFLAGS"
   12788 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12789 	cat >conftest.$ac_ext <<_ACEOF
   12790 /* confdefs.h.  */
   12791 _ACEOF
   12792 cat confdefs.h >>conftest.$ac_ext
   12793 cat >>conftest.$ac_ext <<_ACEOF
   12794 /* end confdefs.h.  */
   12795 
   12796 #include "xorg-server.h"
   12797 #if !defined DPMSExtension
   12798 #error DPMSExtension not defined
   12799 #endif
   12800 
   12801 int
   12802 main ()
   12803 {
   12804 
   12805   ;
   12806   return 0;
   12807 }
   12808 _ACEOF
   12809 rm -f conftest.$ac_objext
   12810 if { (ac_try="$ac_compile"
   12811 case "(($ac_try" in
   12812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12813   *) ac_try_echo=$ac_try;;
   12814 esac
   12815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12816 $as_echo "$ac_try_echo") >&5
   12817   (eval "$ac_compile") 2>conftest.er1
   12818   ac_status=$?
   12819   grep -v '^ *+' conftest.er1 >conftest.err
   12820   rm -f conftest.er1
   12821   cat conftest.err >&5
   12822   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12823   (exit $ac_status); } && {
   12824 	 test -z "$ac_c_werror_flag" ||
   12825 	 test ! -s conftest.err
   12826        } && test -s conftest.$ac_objext; then
   12827   _EXT_CHECK=yes
   12828 else
   12829   $as_echo "$as_me: failed program was:" >&5
   12830 sed 's/^/| /' conftest.$ac_ext >&5
   12831 
   12832 	_EXT_CHECK=no
   12833 fi
   12834 
   12835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12836 	CFLAGS="$SAVE_CFLAGS"
   12837 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12838 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   12839 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12840 $as_echo "$_EXT_CHECK" >&6; }
   12841 	if test "$_EXT_CHECK" != no; then
   12842 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12843 	fi
   12844 
   12845 
   12846 # Checks for pkg-config packages
   12847 
   12848 pkg_failed=no
   12849 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12850 $as_echo_n "checking for XORG... " >&6; }
   12851 
   12852 if test -n "$XORG_CFLAGS"; then
   12853     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12854  elif test -n "$PKG_CONFIG"; then
   12855     if test -n "$PKG_CONFIG" && \
   12856     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12857   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12858   ac_status=$?
   12859   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12860   (exit $ac_status); }; then
   12861   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12862 else
   12863   pkg_failed=yes
   12864 fi
   12865  else
   12866     pkg_failed=untried
   12867 fi
   12868 if test -n "$XORG_LIBS"; then
   12869     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12870  elif test -n "$PKG_CONFIG"; then
   12871     if test -n "$PKG_CONFIG" && \
   12872     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12873   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12874   ac_status=$?
   12875   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12876   (exit $ac_status); }; then
   12877   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12878 else
   12879   pkg_failed=yes
   12880 fi
   12881  else
   12882     pkg_failed=untried
   12883 fi
   12884 
   12885 
   12886 
   12887 if test $pkg_failed = yes; then
   12888 
   12889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12890         _pkg_short_errors_supported=yes
   12891 else
   12892         _pkg_short_errors_supported=no
   12893 fi
   12894         if test $_pkg_short_errors_supported = yes; then
   12895 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12896         else
   12897 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12898         fi
   12899 	# Put the nasty error message in config.log where it belongs
   12900 	echo "$XORG_PKG_ERRORS" >&5
   12901 
   12902 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12903 
   12904 $XORG_PKG_ERRORS
   12905 
   12906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12907 installed software in a non-standard prefix.
   12908 
   12909 Alternatively, you may set the environment variables XORG_CFLAGS
   12910 and XORG_LIBS to avoid the need to call pkg-config.
   12911 See the pkg-config man page for more details.
   12912 " >&5
   12913 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12914 
   12915 $XORG_PKG_ERRORS
   12916 
   12917 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12918 installed software in a non-standard prefix.
   12919 
   12920 Alternatively, you may set the environment variables XORG_CFLAGS
   12921 and XORG_LIBS to avoid the need to call pkg-config.
   12922 See the pkg-config man page for more details.
   12923 " >&2;}
   12924    { (exit 1); exit 1; }; }
   12925 elif test $pkg_failed = untried; then
   12926 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12928 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12929 is in your PATH or set the PKG_CONFIG environment variable to the full
   12930 path to pkg-config.
   12931 
   12932 Alternatively, you may set the environment variables XORG_CFLAGS
   12933 and XORG_LIBS to avoid the need to call pkg-config.
   12934 See the pkg-config man page for more details.
   12935 
   12936 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12937 See \`config.log' for more details." >&5
   12938 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12939 is in your PATH or set the PKG_CONFIG environment variable to the full
   12940 path to pkg-config.
   12941 
   12942 Alternatively, you may set the environment variables XORG_CFLAGS
   12943 and XORG_LIBS to avoid the need to call pkg-config.
   12944 See the pkg-config man page for more details.
   12945 
   12946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12947 See \`config.log' for more details." >&2;}
   12948    { (exit 1); exit 1; }; }; }
   12949 else
   12950 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12951 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12952         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12953 $as_echo "yes" >&6; }
   12954 	:
   12955 fi
   12956 
   12957 pkg_failed=no
   12958 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   12959 $as_echo_n "checking for XEXT... " >&6; }
   12960 
   12961 if test -n "$XEXT_CFLAGS"; then
   12962     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   12963  elif test -n "$PKG_CONFIG"; then
   12964     if test -n "$PKG_CONFIG" && \
   12965     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   12966   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   12967   ac_status=$?
   12968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12969   (exit $ac_status); }; then
   12970   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   12971 else
   12972   pkg_failed=yes
   12973 fi
   12974  else
   12975     pkg_failed=untried
   12976 fi
   12977 if test -n "$XEXT_LIBS"; then
   12978     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   12979  elif test -n "$PKG_CONFIG"; then
   12980     if test -n "$PKG_CONFIG" && \
   12981     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   12982   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   12983   ac_status=$?
   12984   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12985   (exit $ac_status); }; then
   12986   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   12987 else
   12988   pkg_failed=yes
   12989 fi
   12990  else
   12991     pkg_failed=untried
   12992 fi
   12993 
   12994 
   12995 
   12996 if test $pkg_failed = yes; then
   12997 
   12998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12999         _pkg_short_errors_supported=yes
   13000 else
   13001         _pkg_short_errors_supported=no
   13002 fi
   13003         if test $_pkg_short_errors_supported = yes; then
   13004 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13005         else
   13006 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   13007         fi
   13008 	# Put the nasty error message in config.log where it belongs
   13009 	echo "$XEXT_PKG_ERRORS" >&5
   13010 
   13011 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   13012 $as_echo "no" >&6; }
   13013                 HAVE_XEXTPROTO_71="no"
   13014 elif test $pkg_failed = untried; then
   13015 	HAVE_XEXTPROTO_71="no"
   13016 else
   13017 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   13018 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   13019         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13020 $as_echo "yes" >&6; }
   13021 	HAVE_XEXTPROTO_71="yes";
   13022 cat >>confdefs.h <<\_ACEOF
   13023 #define HAVE_XEXTPROTO_71 1
   13024 _ACEOF
   13025 
   13026 fi
   13027  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   13028   HAVE_XEXTPROTO_71_TRUE=
   13029   HAVE_XEXTPROTO_71_FALSE='#'
   13030 else
   13031   HAVE_XEXTPROTO_71_TRUE='#'
   13032   HAVE_XEXTPROTO_71_FALSE=
   13033 fi
   13034 
   13035 
   13036 save_CFLAGS="$CFLAGS"
   13037 CFLAGS="$XORG_CFLAGS"
   13038 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   13039 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   13040 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   13041   $as_echo_n "(cached) " >&6
   13042 else
   13043   cat >conftest.$ac_ext <<_ACEOF
   13044 /* confdefs.h.  */
   13045 _ACEOF
   13046 cat confdefs.h >>conftest.$ac_ext
   13047 cat >>conftest.$ac_ext <<_ACEOF
   13048 /* end confdefs.h.  */
   13049 #include "xf86.h"
   13050 
   13051 int
   13052 main ()
   13053 {
   13054 #ifndef xf86ConfigIsaEntity
   13055   (void) xf86ConfigIsaEntity;
   13056 #endif
   13057 
   13058   ;
   13059   return 0;
   13060 }
   13061 _ACEOF
   13062 rm -f conftest.$ac_objext
   13063 if { (ac_try="$ac_compile"
   13064 case "(($ac_try" in
   13065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13066   *) ac_try_echo=$ac_try;;
   13067 esac
   13068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13069 $as_echo "$ac_try_echo") >&5
   13070   (eval "$ac_compile") 2>conftest.er1
   13071   ac_status=$?
   13072   grep -v '^ *+' conftest.er1 >conftest.err
   13073   rm -f conftest.er1
   13074   cat conftest.err >&5
   13075   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13076   (exit $ac_status); } && {
   13077 	 test -z "$ac_c_werror_flag" ||
   13078 	 test ! -s conftest.err
   13079        } && test -s conftest.$ac_objext; then
   13080   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   13081 else
   13082   $as_echo "$as_me: failed program was:" >&5
   13083 sed 's/^/| /' conftest.$ac_ext >&5
   13084 
   13085 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   13086 fi
   13087 
   13088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13089 fi
   13090 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   13091 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   13092 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   13093 
   13094 cat >>confdefs.h <<\_ACEOF
   13095 #define HAVE_ISA 1
   13096 _ACEOF
   13097 
   13098 fi
   13099 
   13100 CFLAGS="$save_CFLAGS"
   13101 
   13102 save_CFLAGS="$CFLAGS"
   13103 CFLAGS="$XORG_CFLAGS"
   13104 { $as_echo "$as_me:$LINENO: checking whether VBEReadPanelID is declared" >&5
   13105 $as_echo_n "checking whether VBEReadPanelID is declared... " >&6; }
   13106 if test "${ac_cv_have_decl_VBEReadPanelID+set}" = set; then
   13107   $as_echo_n "(cached) " >&6
   13108 else
   13109   cat >conftest.$ac_ext <<_ACEOF
   13110 /* confdefs.h.  */
   13111 _ACEOF
   13112 cat confdefs.h >>conftest.$ac_ext
   13113 cat >>conftest.$ac_ext <<_ACEOF
   13114 /* end confdefs.h.  */
   13115 #include "vbe.h"
   13116 
   13117 int
   13118 main ()
   13119 {
   13120 #ifndef VBEReadPanelID
   13121   (void) VBEReadPanelID;
   13122 #endif
   13123 
   13124   ;
   13125   return 0;
   13126 }
   13127 _ACEOF
   13128 rm -f conftest.$ac_objext
   13129 if { (ac_try="$ac_compile"
   13130 case "(($ac_try" in
   13131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13132   *) ac_try_echo=$ac_try;;
   13133 esac
   13134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13135 $as_echo "$ac_try_echo") >&5
   13136   (eval "$ac_compile") 2>conftest.er1
   13137   ac_status=$?
   13138   grep -v '^ *+' conftest.er1 >conftest.err
   13139   rm -f conftest.er1
   13140   cat conftest.err >&5
   13141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13142   (exit $ac_status); } && {
   13143 	 test -z "$ac_c_werror_flag" ||
   13144 	 test ! -s conftest.err
   13145        } && test -s conftest.$ac_objext; then
   13146   ac_cv_have_decl_VBEReadPanelID=yes
   13147 else
   13148   $as_echo "$as_me: failed program was:" >&5
   13149 sed 's/^/| /' conftest.$ac_ext >&5
   13150 
   13151 	ac_cv_have_decl_VBEReadPanelID=no
   13152 fi
   13153 
   13154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13155 fi
   13156 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_VBEReadPanelID" >&5
   13157 $as_echo "$ac_cv_have_decl_VBEReadPanelID" >&6; }
   13158 if test "x$ac_cv_have_decl_VBEReadPanelID" = x""yes; then
   13159 
   13160 cat >>confdefs.h <<\_ACEOF
   13161 #define HAVE_PANELID 1
   13162 _ACEOF
   13163 
   13164 fi
   13165 
   13166 CFLAGS="$save_CFLAGS"
   13167 
   13168 save_CFLAGS="$CFLAGS"
   13169 CFLAGS="$XORG_CFLAGS"
   13170 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   13171 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   13172 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   13173   $as_echo_n "(cached) " >&6
   13174 else
   13175   cat >conftest.$ac_ext <<_ACEOF
   13176 /* confdefs.h.  */
   13177 _ACEOF
   13178 cat confdefs.h >>conftest.$ac_ext
   13179 cat >>conftest.$ac_ext <<_ACEOF
   13180 /* end confdefs.h.  */
   13181 #include "xorg-server.h"
   13182 
   13183 int
   13184 main ()
   13185 {
   13186 #ifndef XSERVER_LIBPCIACCESS
   13187   (void) XSERVER_LIBPCIACCESS;
   13188 #endif
   13189 
   13190   ;
   13191   return 0;
   13192 }
   13193 _ACEOF
   13194 rm -f conftest.$ac_objext
   13195 if { (ac_try="$ac_compile"
   13196 case "(($ac_try" in
   13197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13198   *) ac_try_echo=$ac_try;;
   13199 esac
   13200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13201 $as_echo "$ac_try_echo") >&5
   13202   (eval "$ac_compile") 2>conftest.er1
   13203   ac_status=$?
   13204   grep -v '^ *+' conftest.er1 >conftest.err
   13205   rm -f conftest.er1
   13206   cat conftest.err >&5
   13207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13208   (exit $ac_status); } && {
   13209 	 test -z "$ac_c_werror_flag" ||
   13210 	 test ! -s conftest.err
   13211        } && test -s conftest.$ac_objext; then
   13212   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   13213 else
   13214   $as_echo "$as_me: failed program was:" >&5
   13215 sed 's/^/| /' conftest.$ac_ext >&5
   13216 
   13217 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   13218 fi
   13219 
   13220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13221 fi
   13222 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   13223 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   13224 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   13225   XSERVER_LIBPCIACCESS=yes
   13226 else
   13227   XSERVER_LIBPCIACCESS=no
   13228 fi
   13229 
   13230 CFLAGS="$save_CFLAGS"
   13231 
   13232 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   13233 
   13234 pkg_failed=no
   13235 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   13236 $as_echo_n "checking for PCIACCESS... " >&6; }
   13237 
   13238 if test -n "$PCIACCESS_CFLAGS"; then
   13239     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   13240  elif test -n "$PKG_CONFIG"; then
   13241     if test -n "$PKG_CONFIG" && \
   13242     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   13243   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   13244   ac_status=$?
   13245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13246   (exit $ac_status); }; then
   13247   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   13248 else
   13249   pkg_failed=yes
   13250 fi
   13251  else
   13252     pkg_failed=untried
   13253 fi
   13254 if test -n "$PCIACCESS_LIBS"; then
   13255     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   13256  elif test -n "$PKG_CONFIG"; then
   13257     if test -n "$PKG_CONFIG" && \
   13258     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   13259   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   13260   ac_status=$?
   13261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13262   (exit $ac_status); }; then
   13263   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   13264 else
   13265   pkg_failed=yes
   13266 fi
   13267  else
   13268     pkg_failed=untried
   13269 fi
   13270 
   13271 
   13272 
   13273 if test $pkg_failed = yes; then
   13274 
   13275 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13276         _pkg_short_errors_supported=yes
   13277 else
   13278         _pkg_short_errors_supported=no
   13279 fi
   13280         if test $_pkg_short_errors_supported = yes; then
   13281 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   13282         else
   13283 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   13284         fi
   13285 	# Put the nasty error message in config.log where it belongs
   13286 	echo "$PCIACCESS_PKG_ERRORS" >&5
   13287 
   13288 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   13289 
   13290 $PCIACCESS_PKG_ERRORS
   13291 
   13292 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13293 installed software in a non-standard prefix.
   13294 
   13295 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13296 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13297 See the pkg-config man page for more details.
   13298 " >&5
   13299 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   13300 
   13301 $PCIACCESS_PKG_ERRORS
   13302 
   13303 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13304 installed software in a non-standard prefix.
   13305 
   13306 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13307 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13308 See the pkg-config man page for more details.
   13309 " >&2;}
   13310    { (exit 1); exit 1; }; }
   13311 elif test $pkg_failed = untried; then
   13312 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13314 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   13315 is in your PATH or set the PKG_CONFIG environment variable to the full
   13316 path to pkg-config.
   13317 
   13318 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13319 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13320 See the pkg-config man page for more details.
   13321 
   13322 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13323 See \`config.log' for more details." >&5
   13324 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   13325 is in your PATH or set the PKG_CONFIG environment variable to the full
   13326 path to pkg-config.
   13327 
   13328 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   13329 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   13330 See the pkg-config man page for more details.
   13331 
   13332 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13333 See \`config.log' for more details." >&2;}
   13334    { (exit 1); exit 1; }; }; }
   13335 else
   13336 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   13337 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   13338         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13339 $as_echo "yes" >&6; }
   13340 	:
   13341 fi
   13342 fi
   13343  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   13344   XSERVER_LIBPCIACCESS_TRUE=
   13345   XSERVER_LIBPCIACCESS_FALSE='#'
   13346 else
   13347   XSERVER_LIBPCIACCESS_TRUE='#'
   13348   XSERVER_LIBPCIACCESS_FALSE=
   13349 fi
   13350 
   13351 
   13352 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
   13353 INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src'
   13354 
   13355 
   13356 
   13357 # Checks for libraries.
   13358 
   13359 # Checks for header files.
   13360 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   13361 $as_echo_n "checking for ANSI C header files... " >&6; }
   13362 if test "${ac_cv_header_stdc+set}" = set; then
   13363   $as_echo_n "(cached) " >&6
   13364 else
   13365   cat >conftest.$ac_ext <<_ACEOF
   13366 /* confdefs.h.  */
   13367 _ACEOF
   13368 cat confdefs.h >>conftest.$ac_ext
   13369 cat >>conftest.$ac_ext <<_ACEOF
   13370 /* end confdefs.h.  */
   13371 #include <stdlib.h>
   13372 #include <stdarg.h>
   13373 #include <string.h>
   13374 #include <float.h>
   13375 
   13376 int
   13377 main ()
   13378 {
   13379 
   13380   ;
   13381   return 0;
   13382 }
   13383 _ACEOF
   13384 rm -f conftest.$ac_objext
   13385 if { (ac_try="$ac_compile"
   13386 case "(($ac_try" in
   13387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13388   *) ac_try_echo=$ac_try;;
   13389 esac
   13390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13391 $as_echo "$ac_try_echo") >&5
   13392   (eval "$ac_compile") 2>conftest.er1
   13393   ac_status=$?
   13394   grep -v '^ *+' conftest.er1 >conftest.err
   13395   rm -f conftest.er1
   13396   cat conftest.err >&5
   13397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13398   (exit $ac_status); } && {
   13399 	 test -z "$ac_c_werror_flag" ||
   13400 	 test ! -s conftest.err
   13401        } && test -s conftest.$ac_objext; then
   13402   ac_cv_header_stdc=yes
   13403 else
   13404   $as_echo "$as_me: failed program was:" >&5
   13405 sed 's/^/| /' conftest.$ac_ext >&5
   13406 
   13407 	ac_cv_header_stdc=no
   13408 fi
   13409 
   13410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13411 
   13412 if test $ac_cv_header_stdc = yes; then
   13413   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13414   cat >conftest.$ac_ext <<_ACEOF
   13415 /* confdefs.h.  */
   13416 _ACEOF
   13417 cat confdefs.h >>conftest.$ac_ext
   13418 cat >>conftest.$ac_ext <<_ACEOF
   13419 /* end confdefs.h.  */
   13420 #include <string.h>
   13421 
   13422 _ACEOF
   13423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13424   $EGREP "memchr" >/dev/null 2>&1; then
   13425   :
   13426 else
   13427   ac_cv_header_stdc=no
   13428 fi
   13429 rm -f conftest*
   13430 
   13431 fi
   13432 
   13433 if test $ac_cv_header_stdc = yes; then
   13434   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13435   cat >conftest.$ac_ext <<_ACEOF
   13436 /* confdefs.h.  */
   13437 _ACEOF
   13438 cat confdefs.h >>conftest.$ac_ext
   13439 cat >>conftest.$ac_ext <<_ACEOF
   13440 /* end confdefs.h.  */
   13441 #include <stdlib.h>
   13442 
   13443 _ACEOF
   13444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13445   $EGREP "free" >/dev/null 2>&1; then
   13446   :
   13447 else
   13448   ac_cv_header_stdc=no
   13449 fi
   13450 rm -f conftest*
   13451 
   13452 fi
   13453 
   13454 if test $ac_cv_header_stdc = yes; then
   13455   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13456   if test "$cross_compiling" = yes; then
   13457   :
   13458 else
   13459   cat >conftest.$ac_ext <<_ACEOF
   13460 /* confdefs.h.  */
   13461 _ACEOF
   13462 cat confdefs.h >>conftest.$ac_ext
   13463 cat >>conftest.$ac_ext <<_ACEOF
   13464 /* end confdefs.h.  */
   13465 #include <ctype.h>
   13466 #include <stdlib.h>
   13467 #if ((' ' & 0x0FF) == 0x020)
   13468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13470 #else
   13471 # define ISLOWER(c) \
   13472 		   (('a' <= (c) && (c) <= 'i') \
   13473 		     || ('j' <= (c) && (c) <= 'r') \
   13474 		     || ('s' <= (c) && (c) <= 'z'))
   13475 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13476 #endif
   13477 
   13478 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13479 int
   13480 main ()
   13481 {
   13482   int i;
   13483   for (i = 0; i < 256; i++)
   13484     if (XOR (islower (i), ISLOWER (i))
   13485 	|| toupper (i) != TOUPPER (i))
   13486       return 2;
   13487   return 0;
   13488 }
   13489 _ACEOF
   13490 rm -f conftest$ac_exeext
   13491 if { (ac_try="$ac_link"
   13492 case "(($ac_try" in
   13493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13494   *) ac_try_echo=$ac_try;;
   13495 esac
   13496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13497 $as_echo "$ac_try_echo") >&5
   13498   (eval "$ac_link") 2>&5
   13499   ac_status=$?
   13500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13501   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13502   { (case "(($ac_try" in
   13503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13504   *) ac_try_echo=$ac_try;;
   13505 esac
   13506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13507 $as_echo "$ac_try_echo") >&5
   13508   (eval "$ac_try") 2>&5
   13509   ac_status=$?
   13510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13511   (exit $ac_status); }; }; then
   13512   :
   13513 else
   13514   $as_echo "$as_me: program exited with status $ac_status" >&5
   13515 $as_echo "$as_me: failed program was:" >&5
   13516 sed 's/^/| /' conftest.$ac_ext >&5
   13517 
   13518 ( exit $ac_status )
   13519 ac_cv_header_stdc=no
   13520 fi
   13521 rm -rf conftest.dSYM
   13522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13523 fi
   13524 
   13525 
   13526 fi
   13527 fi
   13528 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13529 $as_echo "$ac_cv_header_stdc" >&6; }
   13530 if test $ac_cv_header_stdc = yes; then
   13531 
   13532 cat >>confdefs.h <<\_ACEOF
   13533 #define STDC_HEADERS 1
   13534 _ACEOF
   13535 
   13536 fi
   13537 
   13538 
   13539 DRIVER_NAME=vesa
   13540 
   13541 
   13542 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   13543 
   13544 cat >confcache <<\_ACEOF
   13545 # This file is a shell script that caches the results of configure
   13546 # tests run on this system so they can be shared between configure
   13547 # scripts and configure runs, see configure's option --config-cache.
   13548 # It is not useful on other systems.  If it contains results you don't
   13549 # want to keep, you may remove or edit it.
   13550 #
   13551 # config.status only pays attention to the cache file if you give it
   13552 # the --recheck option to rerun configure.
   13553 #
   13554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13556 # following values.
   13557 
   13558 _ACEOF
   13559 
   13560 # The following way of writing the cache mishandles newlines in values,
   13561 # but we know of no workaround that is simple, portable, and efficient.
   13562 # So, we kill variables containing newlines.
   13563 # Ultrix sh set writes to stderr and can't be redirected directly,
   13564 # and sets the high bit in the cache file unless we assign to the vars.
   13565 (
   13566   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13567     eval ac_val=\$$ac_var
   13568     case $ac_val in #(
   13569     *${as_nl}*)
   13570       case $ac_var in #(
   13571       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13572 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13573       esac
   13574       case $ac_var in #(
   13575       _ | IFS | as_nl) ;; #(
   13576       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13577       *) $as_unset $ac_var ;;
   13578       esac ;;
   13579     esac
   13580   done
   13581 
   13582   (set) 2>&1 |
   13583     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13584     *${as_nl}ac_space=\ *)
   13585       # `set' does not quote correctly, so add quotes (double-quote
   13586       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13587       sed -n \
   13588 	"s/'/'\\\\''/g;
   13589 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13590       ;; #(
   13591     *)
   13592       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13593       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13594       ;;
   13595     esac |
   13596     sort
   13597 ) |
   13598   sed '
   13599      /^ac_cv_env_/b end
   13600      t clear
   13601      :clear
   13602      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13603      t end
   13604      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13605      :end' >>confcache
   13606 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13607   if test -w "$cache_file"; then
   13608     test "x$cache_file" != "x/dev/null" &&
   13609       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   13610 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13611     cat confcache >$cache_file
   13612   else
   13613     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   13614 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13615   fi
   13616 fi
   13617 rm -f confcache
   13618 
   13619 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13620 # Let make expand exec_prefix.
   13621 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13622 
   13623 DEFS=-DHAVE_CONFIG_H
   13624 
   13625 ac_libobjs=
   13626 ac_ltlibobjs=
   13627 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13628   # 1. Remove the extension, and $U if already installed.
   13629   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13630   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13631   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13632   #    will be set to the directory where LIBOBJS objects are built.
   13633   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13634   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   13635 done
   13636 LIBOBJS=$ac_libobjs
   13637 
   13638 LTLIBOBJS=$ac_ltlibobjs
   13639 
   13640 
   13641  if test -n "$EXEEXT"; then
   13642   am__EXEEXT_TRUE=
   13643   am__EXEEXT_FALSE='#'
   13644 else
   13645   am__EXEEXT_TRUE='#'
   13646   am__EXEEXT_FALSE=
   13647 fi
   13648 
   13649 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13650   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13651 Usually this means the macro was only invoked conditionally." >&5
   13652 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13653 Usually this means the macro was only invoked conditionally." >&2;}
   13654    { (exit 1); exit 1; }; }
   13655 fi
   13656 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13657   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13658 Usually this means the macro was only invoked conditionally." >&5
   13659 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13660 Usually this means the macro was only invoked conditionally." >&2;}
   13661    { (exit 1); exit 1; }; }
   13662 fi
   13663 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13664   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13665 Usually this means the macro was only invoked conditionally." >&5
   13666 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13667 Usually this means the macro was only invoked conditionally." >&2;}
   13668    { (exit 1); exit 1; }; }
   13669 fi
   13670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13671   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13672 Usually this means the macro was only invoked conditionally." >&5
   13673 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13674 Usually this means the macro was only invoked conditionally." >&2;}
   13675    { (exit 1); exit 1; }; }
   13676 fi
   13677 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   13678   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   13679 Usually this means the macro was only invoked conditionally." >&5
   13680 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   13681 Usually this means the macro was only invoked conditionally." >&2;}
   13682    { (exit 1); exit 1; }; }
   13683 fi
   13684 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   13685   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13686 Usually this means the macro was only invoked conditionally." >&5
   13687 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13688 Usually this means the macro was only invoked conditionally." >&2;}
   13689    { (exit 1); exit 1; }; }
   13690 fi
   13691 
   13692 : ${CONFIG_STATUS=./config.status}
   13693 ac_write_fail=0
   13694 ac_clean_files_save=$ac_clean_files
   13695 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13696 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13697 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13698 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13699 #! $SHELL
   13700 # Generated by $as_me.
   13701 # Run this file to recreate the current configuration.
   13702 # Compiler output produced by configure, useful for debugging
   13703 # configure, is in config.log if it exists.
   13704 
   13705 debug=false
   13706 ac_cs_recheck=false
   13707 ac_cs_silent=false
   13708 SHELL=\${CONFIG_SHELL-$SHELL}
   13709 _ACEOF
   13710 
   13711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13712 ## --------------------- ##
   13713 ## M4sh Initialization.  ##
   13714 ## --------------------- ##
   13715 
   13716 # Be more Bourne compatible
   13717 DUALCASE=1; export DUALCASE # for MKS sh
   13718 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13719   emulate sh
   13720   NULLCMD=:
   13721   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13722   # is contrary to our usage.  Disable this feature.
   13723   alias -g '${1+"$@"}'='"$@"'
   13724   setopt NO_GLOB_SUBST
   13725 else
   13726   case `(set -o) 2>/dev/null` in
   13727   *posix*) set -o posix ;;
   13728 esac
   13729 
   13730 fi
   13731 
   13732 
   13733 
   13734 
   13735 # PATH needs CR
   13736 # Avoid depending upon Character Ranges.
   13737 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13738 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13739 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13740 as_cr_digits='0123456789'
   13741 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13742 
   13743 as_nl='
   13744 '
   13745 export as_nl
   13746 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13747 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13748 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13749 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13750 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13751   as_echo='printf %s\n'
   13752   as_echo_n='printf %s'
   13753 else
   13754   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13755     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13756     as_echo_n='/usr/ucb/echo -n'
   13757   else
   13758     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13759     as_echo_n_body='eval
   13760       arg=$1;
   13761       case $arg in
   13762       *"$as_nl"*)
   13763 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13764 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13765       esac;
   13766       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13767     '
   13768     export as_echo_n_body
   13769     as_echo_n='sh -c $as_echo_n_body as_echo'
   13770   fi
   13771   export as_echo_body
   13772   as_echo='sh -c $as_echo_body as_echo'
   13773 fi
   13774 
   13775 # The user is always right.
   13776 if test "${PATH_SEPARATOR+set}" != set; then
   13777   PATH_SEPARATOR=:
   13778   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13779     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13780       PATH_SEPARATOR=';'
   13781   }
   13782 fi
   13783 
   13784 # Support unset when possible.
   13785 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13786   as_unset=unset
   13787 else
   13788   as_unset=false
   13789 fi
   13790 
   13791 
   13792 # IFS
   13793 # We need space, tab and new line, in precisely that order.  Quoting is
   13794 # there to prevent editors from complaining about space-tab.
   13795 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13796 # splitting by setting IFS to empty value.)
   13797 IFS=" ""	$as_nl"
   13798 
   13799 # Find who we are.  Look in the path if we contain no directory separator.
   13800 case $0 in
   13801   *[\\/]* ) as_myself=$0 ;;
   13802   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13803 for as_dir in $PATH
   13804 do
   13805   IFS=$as_save_IFS
   13806   test -z "$as_dir" && as_dir=.
   13807   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13808 done
   13809 IFS=$as_save_IFS
   13810 
   13811      ;;
   13812 esac
   13813 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13814 # in which case we are not to be found in the path.
   13815 if test "x$as_myself" = x; then
   13816   as_myself=$0
   13817 fi
   13818 if test ! -f "$as_myself"; then
   13819   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13820   { (exit 1); exit 1; }
   13821 fi
   13822 
   13823 # Work around bugs in pre-3.0 UWIN ksh.
   13824 for as_var in ENV MAIL MAILPATH
   13825 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13826 done
   13827 PS1='$ '
   13828 PS2='> '
   13829 PS4='+ '
   13830 
   13831 # NLS nuisances.
   13832 LC_ALL=C
   13833 export LC_ALL
   13834 LANGUAGE=C
   13835 export LANGUAGE
   13836 
   13837 # Required to use basename.
   13838 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13839    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13840   as_expr=expr
   13841 else
   13842   as_expr=false
   13843 fi
   13844 
   13845 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13846   as_basename=basename
   13847 else
   13848   as_basename=false
   13849 fi
   13850 
   13851 
   13852 # Name of the executable.
   13853 as_me=`$as_basename -- "$0" ||
   13854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13855 	 X"$0" : 'X\(//\)$' \| \
   13856 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13857 $as_echo X/"$0" |
   13858     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13859 	    s//\1/
   13860 	    q
   13861 	  }
   13862 	  /^X\/\(\/\/\)$/{
   13863 	    s//\1/
   13864 	    q
   13865 	  }
   13866 	  /^X\/\(\/\).*/{
   13867 	    s//\1/
   13868 	    q
   13869 	  }
   13870 	  s/.*/./; q'`
   13871 
   13872 # CDPATH.
   13873 $as_unset CDPATH
   13874 
   13875 
   13876 
   13877   as_lineno_1=$LINENO
   13878   as_lineno_2=$LINENO
   13879   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13880   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13881 
   13882   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13883   # uniformly replaced by the line number.  The first 'sed' inserts a
   13884   # line-number line after each line using $LINENO; the second 'sed'
   13885   # does the real work.  The second script uses 'N' to pair each
   13886   # line-number line with the line containing $LINENO, and appends
   13887   # trailing '-' during substitution so that $LINENO is not a special
   13888   # case at line end.
   13889   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13890   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13891   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13892   sed -n '
   13893     p
   13894     /[$]LINENO/=
   13895   ' <$as_myself |
   13896     sed '
   13897       s/[$]LINENO.*/&-/
   13898       t lineno
   13899       b
   13900       :lineno
   13901       N
   13902       :loop
   13903       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13904       t loop
   13905       s/-\n.*//
   13906     ' >$as_me.lineno &&
   13907   chmod +x "$as_me.lineno" ||
   13908     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13909    { (exit 1); exit 1; }; }
   13910 
   13911   # Don't try to exec as it changes $[0], causing all sort of problems
   13912   # (the dirname of $[0] is not the place where we might find the
   13913   # original and so on.  Autoconf is especially sensitive to this).
   13914   . "./$as_me.lineno"
   13915   # Exit status is that of the last command.
   13916   exit
   13917 }
   13918 
   13919 
   13920 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13921   as_dirname=dirname
   13922 else
   13923   as_dirname=false
   13924 fi
   13925 
   13926 ECHO_C= ECHO_N= ECHO_T=
   13927 case `echo -n x` in
   13928 -n*)
   13929   case `echo 'x\c'` in
   13930   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13931   *)   ECHO_C='\c';;
   13932   esac;;
   13933 *)
   13934   ECHO_N='-n';;
   13935 esac
   13936 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13937    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13938   as_expr=expr
   13939 else
   13940   as_expr=false
   13941 fi
   13942 
   13943 rm -f conf$$ conf$$.exe conf$$.file
   13944 if test -d conf$$.dir; then
   13945   rm -f conf$$.dir/conf$$.file
   13946 else
   13947   rm -f conf$$.dir
   13948   mkdir conf$$.dir 2>/dev/null
   13949 fi
   13950 if (echo >conf$$.file) 2>/dev/null; then
   13951   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13952     as_ln_s='ln -s'
   13953     # ... but there are two gotchas:
   13954     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13955     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13956     # In both cases, we have to default to `cp -p'.
   13957     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13958       as_ln_s='cp -p'
   13959   elif ln conf$$.file conf$$ 2>/dev/null; then
   13960     as_ln_s=ln
   13961   else
   13962     as_ln_s='cp -p'
   13963   fi
   13964 else
   13965   as_ln_s='cp -p'
   13966 fi
   13967 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13968 rmdir conf$$.dir 2>/dev/null
   13969 
   13970 if mkdir -p . 2>/dev/null; then
   13971   as_mkdir_p=:
   13972 else
   13973   test -d ./-p && rmdir ./-p
   13974   as_mkdir_p=false
   13975 fi
   13976 
   13977 if test -x / >/dev/null 2>&1; then
   13978   as_test_x='test -x'
   13979 else
   13980   if ls -dL / >/dev/null 2>&1; then
   13981     as_ls_L_option=L
   13982   else
   13983     as_ls_L_option=
   13984   fi
   13985   as_test_x='
   13986     eval sh -c '\''
   13987       if test -d "$1"; then
   13988 	test -d "$1/.";
   13989       else
   13990 	case $1 in
   13991 	-*)set "./$1";;
   13992 	esac;
   13993 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13994 	???[sx]*):;;*)false;;esac;fi
   13995     '\'' sh
   13996   '
   13997 fi
   13998 as_executable_p=$as_test_x
   13999 
   14000 # Sed expression to map a string onto a valid CPP name.
   14001 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14002 
   14003 # Sed expression to map a string onto a valid variable name.
   14004 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14005 
   14006 
   14007 exec 6>&1
   14008 
   14009 # Save the log message, to keep $[0] and so on meaningful, and to
   14010 # report actual input values of CONFIG_FILES etc. instead of their
   14011 # values after options handling.
   14012 ac_log="
   14013 This file was extended by xf86-video-vesa $as_me 2.3.0, which was
   14014 generated by GNU Autoconf 2.63.  Invocation command line was
   14015 
   14016   CONFIG_FILES    = $CONFIG_FILES
   14017   CONFIG_HEADERS  = $CONFIG_HEADERS
   14018   CONFIG_LINKS    = $CONFIG_LINKS
   14019   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14020   $ $0 $@
   14021 
   14022 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14023 "
   14024 
   14025 _ACEOF
   14026 
   14027 case $ac_config_files in *"
   14028 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14029 esac
   14030 
   14031 case $ac_config_headers in *"
   14032 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14033 esac
   14034 
   14035 
   14036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14037 # Files that config.status was made for.
   14038 config_files="$ac_config_files"
   14039 config_headers="$ac_config_headers"
   14040 config_commands="$ac_config_commands"
   14041 
   14042 _ACEOF
   14043 
   14044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14045 ac_cs_usage="\
   14046 \`$as_me' instantiates files from templates according to the
   14047 current configuration.
   14048 
   14049 Usage: $0 [OPTION]... [FILE]...
   14050 
   14051   -h, --help       print this help, then exit
   14052   -V, --version    print version number and configuration settings, then exit
   14053   -q, --quiet, --silent
   14054                    do not print progress messages
   14055   -d, --debug      don't remove temporary files
   14056       --recheck    update $as_me by reconfiguring in the same conditions
   14057       --file=FILE[:TEMPLATE]
   14058                    instantiate the configuration file FILE
   14059       --header=FILE[:TEMPLATE]
   14060                    instantiate the configuration header FILE
   14061 
   14062 Configuration files:
   14063 $config_files
   14064 
   14065 Configuration headers:
   14066 $config_headers
   14067 
   14068 Configuration commands:
   14069 $config_commands
   14070 
   14071 Report bugs to <bug-autoconf (at] gnu.org>."
   14072 
   14073 _ACEOF
   14074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14075 ac_cs_version="\\
   14076 xf86-video-vesa config.status 2.3.0
   14077 configured by $0, generated by GNU Autoconf 2.63,
   14078   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   14079 
   14080 Copyright (C) 2008 Free Software Foundation, Inc.
   14081 This config.status script is free software; the Free Software Foundation
   14082 gives unlimited permission to copy, distribute and modify it."
   14083 
   14084 ac_pwd='$ac_pwd'
   14085 srcdir='$srcdir'
   14086 INSTALL='$INSTALL'
   14087 MKDIR_P='$MKDIR_P'
   14088 AWK='$AWK'
   14089 test -n "\$AWK" || AWK=awk
   14090 _ACEOF
   14091 
   14092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14093 # The default lists apply if the user does not specify any file.
   14094 ac_need_defaults=:
   14095 while test $# != 0
   14096 do
   14097   case $1 in
   14098   --*=*)
   14099     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14100     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14101     ac_shift=:
   14102     ;;
   14103   *)
   14104     ac_option=$1
   14105     ac_optarg=$2
   14106     ac_shift=shift
   14107     ;;
   14108   esac
   14109 
   14110   case $ac_option in
   14111   # Handling of the options.
   14112   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14113     ac_cs_recheck=: ;;
   14114   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14115     $as_echo "$ac_cs_version"; exit ;;
   14116   --debug | --debu | --deb | --de | --d | -d )
   14117     debug=: ;;
   14118   --file | --fil | --fi | --f )
   14119     $ac_shift
   14120     case $ac_optarg in
   14121     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14122     esac
   14123     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   14124     ac_need_defaults=false;;
   14125   --header | --heade | --head | --hea )
   14126     $ac_shift
   14127     case $ac_optarg in
   14128     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14129     esac
   14130     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   14131     ac_need_defaults=false;;
   14132   --he | --h)
   14133     # Conflict between --help and --header
   14134     { $as_echo "$as_me: error: ambiguous option: $1
   14135 Try \`$0 --help' for more information." >&2
   14136    { (exit 1); exit 1; }; };;
   14137   --help | --hel | -h )
   14138     $as_echo "$ac_cs_usage"; exit ;;
   14139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14140   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14141     ac_cs_silent=: ;;
   14142 
   14143   # This is an error.
   14144   -*) { $as_echo "$as_me: error: unrecognized option: $1
   14145 Try \`$0 --help' for more information." >&2
   14146    { (exit 1); exit 1; }; } ;;
   14147 
   14148   *) ac_config_targets="$ac_config_targets $1"
   14149      ac_need_defaults=false ;;
   14150 
   14151   esac
   14152   shift
   14153 done
   14154 
   14155 ac_configure_extra_args=
   14156 
   14157 if $ac_cs_silent; then
   14158   exec 6>/dev/null
   14159   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14160 fi
   14161 
   14162 _ACEOF
   14163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14164 if \$ac_cs_recheck; then
   14165   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14166   shift
   14167   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14168   CONFIG_SHELL='$SHELL'
   14169   export CONFIG_SHELL
   14170   exec "\$@"
   14171 fi
   14172 
   14173 _ACEOF
   14174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14175 exec 5>>config.log
   14176 {
   14177   echo
   14178   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14179 ## Running $as_me. ##
   14180 _ASBOX
   14181   $as_echo "$ac_log"
   14182 } >&5
   14183 
   14184 _ACEOF
   14185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14186 #
   14187 # INIT-COMMANDS
   14188 #
   14189 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14190 
   14191 
   14192 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14193 # if CDPATH is set.
   14194 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14195 
   14196 sed_quote_subst='$sed_quote_subst'
   14197 double_quote_subst='$double_quote_subst'
   14198 delay_variable_subst='$delay_variable_subst'
   14199 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14200 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14201 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14202 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14203 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14204 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14205 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14206 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14207 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14208 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14209 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14210 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14211 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14212 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14213 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14214 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14215 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14216 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14217 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14218 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14219 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14220 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14221 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14222 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14223 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14224 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14225 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14226 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14227 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   14228 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14229 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14230 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14231 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14232 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14233 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14234 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14235 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14236 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14237 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14238 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14239 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14240 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14241 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14242 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14243 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"`'
   14244 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"`'
   14245 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14246 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14247 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14248 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14249 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14250 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14251 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14252 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14253 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14254 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14255 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14256 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14257 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14258 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14259 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14260 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14261 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14262 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14263 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14264 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14265 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14266 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14267 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14268 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14269 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14270 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14271 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14272 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14273 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14274 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14275 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14276 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14277 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14278 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14279 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14280 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14281 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14282 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14283 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14284 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14285 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14286 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14287 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14288 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14289 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14290 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14291 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14292 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14293 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14294 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14295 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14296 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14297 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14298 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14299 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14300 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14301 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14302 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14303 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14304 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14305 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14306 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14307 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14308 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14309 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14310 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14311 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14312 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14313 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14314 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14315 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14316 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14317 
   14318 LTCC='$LTCC'
   14319 LTCFLAGS='$LTCFLAGS'
   14320 compiler='$compiler_DEFAULT'
   14321 
   14322 # Quote evaled strings.
   14323 for var in SED \
   14324 GREP \
   14325 EGREP \
   14326 FGREP \
   14327 LD \
   14328 NM \
   14329 LN_S \
   14330 lt_SP2NL \
   14331 lt_NL2SP \
   14332 reload_flag \
   14333 OBJDUMP \
   14334 deplibs_check_method \
   14335 file_magic_cmd \
   14336 AR \
   14337 AR_FLAGS \
   14338 STRIP \
   14339 RANLIB \
   14340 CC \
   14341 CFLAGS \
   14342 compiler \
   14343 lt_cv_sys_global_symbol_pipe \
   14344 lt_cv_sys_global_symbol_to_cdecl \
   14345 lt_cv_sys_global_symbol_to_c_name_address \
   14346 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14347 SHELL \
   14348 ECHO \
   14349 lt_prog_compiler_no_builtin_flag \
   14350 lt_prog_compiler_wl \
   14351 lt_prog_compiler_pic \
   14352 lt_prog_compiler_static \
   14353 lt_cv_prog_compiler_c_o \
   14354 need_locks \
   14355 DSYMUTIL \
   14356 NMEDIT \
   14357 LIPO \
   14358 OTOOL \
   14359 OTOOL64 \
   14360 shrext_cmds \
   14361 export_dynamic_flag_spec \
   14362 whole_archive_flag_spec \
   14363 compiler_needs_object \
   14364 with_gnu_ld \
   14365 allow_undefined_flag \
   14366 no_undefined_flag \
   14367 hardcode_libdir_flag_spec \
   14368 hardcode_libdir_flag_spec_ld \
   14369 hardcode_libdir_separator \
   14370 fix_srcfile_path \
   14371 exclude_expsyms \
   14372 include_expsyms \
   14373 file_list_spec \
   14374 variables_saved_for_relink \
   14375 libname_spec \
   14376 library_names_spec \
   14377 soname_spec \
   14378 finish_eval \
   14379 old_striplib \
   14380 striplib; do
   14381     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14382     *[\\\\\\\`\\"\\\$]*)
   14383       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14384       ;;
   14385     *)
   14386       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14387       ;;
   14388     esac
   14389 done
   14390 
   14391 # Double-quote double-evaled strings.
   14392 for var in reload_cmds \
   14393 old_postinstall_cmds \
   14394 old_postuninstall_cmds \
   14395 old_archive_cmds \
   14396 extract_expsyms_cmds \
   14397 old_archive_from_new_cmds \
   14398 old_archive_from_expsyms_cmds \
   14399 archive_cmds \
   14400 archive_expsym_cmds \
   14401 module_cmds \
   14402 module_expsym_cmds \
   14403 export_symbols_cmds \
   14404 prelink_cmds \
   14405 postinstall_cmds \
   14406 postuninstall_cmds \
   14407 finish_cmds \
   14408 sys_lib_search_path_spec \
   14409 sys_lib_dlsearch_path_spec; do
   14410     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14411     *[\\\\\\\`\\"\\\$]*)
   14412       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14413       ;;
   14414     *)
   14415       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14416       ;;
   14417     esac
   14418 done
   14419 
   14420 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14421 case \$lt_ECHO in
   14422 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14423   ;;
   14424 esac
   14425 
   14426 ac_aux_dir='$ac_aux_dir'
   14427 xsi_shell='$xsi_shell'
   14428 lt_shell_append='$lt_shell_append'
   14429 
   14430 # See if we are running on zsh, and set the options which allow our
   14431 # commands through without removal of \ escapes INIT.
   14432 if test -n "\${ZSH_VERSION+set}" ; then
   14433    setopt NO_GLOB_SUBST
   14434 fi
   14435 
   14436 
   14437     PACKAGE='$PACKAGE'
   14438     VERSION='$VERSION'
   14439     TIMESTAMP='$TIMESTAMP'
   14440     RM='$RM'
   14441     ofile='$ofile'
   14442 
   14443 
   14444 
   14445 
   14446 _ACEOF
   14447 
   14448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14449 
   14450 # Handling of arguments.
   14451 for ac_config_target in $ac_config_targets
   14452 do
   14453   case $ac_config_target in
   14454     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14455     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14456     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14457     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14458     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14459     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14460 
   14461   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14462 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14463    { (exit 1); exit 1; }; };;
   14464   esac
   14465 done
   14466 
   14467 
   14468 # If the user did not use the arguments to specify the items to instantiate,
   14469 # then the envvar interface is used.  Set only those that are not.
   14470 # We use the long form for the default assignment because of an extremely
   14471 # bizarre bug on SunOS 4.1.3.
   14472 if $ac_need_defaults; then
   14473   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14474   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14475   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14476 fi
   14477 
   14478 # Have a temporary directory for convenience.  Make it in the build tree
   14479 # simply because there is no reason against having it here, and in addition,
   14480 # creating and moving files from /tmp can sometimes cause problems.
   14481 # Hook for its removal unless debugging.
   14482 # Note that there is a small window in which the directory will not be cleaned:
   14483 # after its creation but before its name has been assigned to `$tmp'.
   14484 $debug ||
   14485 {
   14486   tmp=
   14487   trap 'exit_status=$?
   14488   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14489 ' 0
   14490   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14491 }
   14492 # Create a (secure) tmp directory for tmp files.
   14493 
   14494 {
   14495   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14496   test -n "$tmp" && test -d "$tmp"
   14497 }  ||
   14498 {
   14499   tmp=./conf$$-$RANDOM
   14500   (umask 077 && mkdir "$tmp")
   14501 } ||
   14502 {
   14503    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   14504    { (exit 1); exit 1; }
   14505 }
   14506 
   14507 # Set up the scripts for CONFIG_FILES section.
   14508 # No need to generate them if there are no CONFIG_FILES.
   14509 # This happens for instance with `./config.status config.h'.
   14510 if test -n "$CONFIG_FILES"; then
   14511 
   14512 
   14513 ac_cr='
'
   14515 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14516 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14517   ac_cs_awk_cr='\\r'
   14518 else
   14519   ac_cs_awk_cr=$ac_cr
   14520 fi
   14521 
   14522 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14523 _ACEOF
   14524 
   14525 
   14526 {
   14527   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14528   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14529   echo "_ACEOF"
   14530 } >conf$$subs.sh ||
   14531   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14532 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14533    { (exit 1); exit 1; }; }
   14534 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14535 ac_delim='%!_!# '
   14536 for ac_last_try in false false false false false :; do
   14537   . ./conf$$subs.sh ||
   14538     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14539 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14540    { (exit 1); exit 1; }; }
   14541 
   14542   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14543   if test $ac_delim_n = $ac_delim_num; then
   14544     break
   14545   elif $ac_last_try; then
   14546     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14547 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14548    { (exit 1); exit 1; }; }
   14549   else
   14550     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14551   fi
   14552 done
   14553 rm -f conf$$subs.sh
   14554 
   14555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14556 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14557 _ACEOF
   14558 sed -n '
   14559 h
   14560 s/^/S["/; s/!.*/"]=/
   14561 p
   14562 g
   14563 s/^[^!]*!//
   14564 :repl
   14565 t repl
   14566 s/'"$ac_delim"'$//
   14567 t delim
   14568 :nl
   14569 h
   14570 s/\(.\{148\}\).*/\1/
   14571 t more1
   14572 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14573 p
   14574 n
   14575 b repl
   14576 :more1
   14577 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14578 p
   14579 g
   14580 s/.\{148\}//
   14581 t nl
   14582 :delim
   14583 h
   14584 s/\(.\{148\}\).*/\1/
   14585 t more2
   14586 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14587 p
   14588 b
   14589 :more2
   14590 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14591 p
   14592 g
   14593 s/.\{148\}//
   14594 t delim
   14595 ' <conf$$subs.awk | sed '
   14596 /^[^""]/{
   14597   N
   14598   s/\n//
   14599 }
   14600 ' >>$CONFIG_STATUS || ac_write_fail=1
   14601 rm -f conf$$subs.awk
   14602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14603 _ACAWK
   14604 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14605   for (key in S) S_is_set[key] = 1
   14606   FS = ""
   14607 
   14608 }
   14609 {
   14610   line = $ 0
   14611   nfields = split(line, field, "@")
   14612   substed = 0
   14613   len = length(field[1])
   14614   for (i = 2; i < nfields; i++) {
   14615     key = field[i]
   14616     keylen = length(key)
   14617     if (S_is_set[key]) {
   14618       value = S[key]
   14619       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14620       len += length(value) + length(field[++i])
   14621       substed = 1
   14622     } else
   14623       len += 1 + keylen
   14624   }
   14625 
   14626   print line
   14627 }
   14628 
   14629 _ACAWK
   14630 _ACEOF
   14631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14632 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14633   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14634 else
   14635   cat
   14636 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14637   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   14638 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   14639    { (exit 1); exit 1; }; }
   14640 _ACEOF
   14641 
   14642 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14643 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14644 # trailing colons and then remove the whole line if VPATH becomes empty
   14645 # (actually we leave an empty line to preserve line numbers).
   14646 if test "x$srcdir" = x.; then
   14647   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14648 s/:*\$(srcdir):*/:/
   14649 s/:*\${srcdir}:*/:/
   14650 s/:*@srcdir@:*/:/
   14651 s/^\([^=]*=[	 ]*\):*/\1/
   14652 s/:*$//
   14653 s/^[^=]*=[	 ]*$//
   14654 }'
   14655 fi
   14656 
   14657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14658 fi # test -n "$CONFIG_FILES"
   14659 
   14660 # Set up the scripts for CONFIG_HEADERS section.
   14661 # No need to generate them if there are no CONFIG_HEADERS.
   14662 # This happens for instance with `./config.status Makefile'.
   14663 if test -n "$CONFIG_HEADERS"; then
   14664 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14665 BEGIN {
   14666 _ACEOF
   14667 
   14668 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14669 # here-document in config.status, that substitutes the proper values into
   14670 # config.h.in to produce config.h.
   14671 
   14672 # Create a delimiter string that does not exist in confdefs.h, to ease
   14673 # handling of long lines.
   14674 ac_delim='%!_!# '
   14675 for ac_last_try in false false :; do
   14676   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14677   if test -z "$ac_t"; then
   14678     break
   14679   elif $ac_last_try; then
   14680     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   14681 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   14682    { (exit 1); exit 1; }; }
   14683   else
   14684     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14685   fi
   14686 done
   14687 
   14688 # For the awk script, D is an array of macro values keyed by name,
   14689 # likewise P contains macro parameters if any.  Preserve backslash
   14690 # newline sequences.
   14691 
   14692 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14693 sed -n '
   14694 s/.\{148\}/&'"$ac_delim"'/g
   14695 t rset
   14696 :rset
   14697 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14698 t def
   14699 d
   14700 :def
   14701 s/\\$//
   14702 t bsnl
   14703 s/["\\]/\\&/g
   14704 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14705 D["\1"]=" \3"/p
   14706 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14707 d
   14708 :bsnl
   14709 s/["\\]/\\&/g
   14710 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14711 D["\1"]=" \3\\\\\\n"\\/p
   14712 t cont
   14713 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14714 t cont
   14715 d
   14716 :cont
   14717 n
   14718 s/.\{148\}/&'"$ac_delim"'/g
   14719 t clear
   14720 :clear
   14721 s/\\$//
   14722 t bsnlc
   14723 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14724 d
   14725 :bsnlc
   14726 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14727 b cont
   14728 ' <confdefs.h | sed '
   14729 s/'"$ac_delim"'/"\\\
   14730 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14731 
   14732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14733   for (key in D) D_is_set[key] = 1
   14734   FS = ""
   14735 }
   14736 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14737   line = \$ 0
   14738   split(line, arg, " ")
   14739   if (arg[1] == "#") {
   14740     defundef = arg[2]
   14741     mac1 = arg[3]
   14742   } else {
   14743     defundef = substr(arg[1], 2)
   14744     mac1 = arg[2]
   14745   }
   14746   split(mac1, mac2, "(") #)
   14747   macro = mac2[1]
   14748   prefix = substr(line, 1, index(line, defundef) - 1)
   14749   if (D_is_set[macro]) {
   14750     # Preserve the white space surrounding the "#".
   14751     print prefix "define", macro P[macro] D[macro]
   14752     next
   14753   } else {
   14754     # Replace #undef with comments.  This is necessary, for example,
   14755     # in the case of _POSIX_SOURCE, which is predefined and required
   14756     # on some systems where configure will not decide to define it.
   14757     if (defundef == "undef") {
   14758       print "/*", prefix defundef, macro, "*/"
   14759       next
   14760     }
   14761   }
   14762 }
   14763 { print }
   14764 _ACAWK
   14765 _ACEOF
   14766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14767   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14768 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14769    { (exit 1); exit 1; }; }
   14770 fi # test -n "$CONFIG_HEADERS"
   14771 
   14772 
   14773 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14774 shift
   14775 for ac_tag
   14776 do
   14777   case $ac_tag in
   14778   :[FHLC]) ac_mode=$ac_tag; continue;;
   14779   esac
   14780   case $ac_mode$ac_tag in
   14781   :[FHL]*:*);;
   14782   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14783 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14784    { (exit 1); exit 1; }; };;
   14785   :[FH]-) ac_tag=-:-;;
   14786   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14787   esac
   14788   ac_save_IFS=$IFS
   14789   IFS=:
   14790   set x $ac_tag
   14791   IFS=$ac_save_IFS
   14792   shift
   14793   ac_file=$1
   14794   shift
   14795 
   14796   case $ac_mode in
   14797   :L) ac_source=$1;;
   14798   :[FH])
   14799     ac_file_inputs=
   14800     for ac_f
   14801     do
   14802       case $ac_f in
   14803       -) ac_f="$tmp/stdin";;
   14804       *) # Look for the file first in the build tree, then in the source tree
   14805 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14806 	 # because $ac_f cannot contain `:'.
   14807 	 test -f "$ac_f" ||
   14808 	   case $ac_f in
   14809 	   [\\/$]*) false;;
   14810 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14811 	   esac ||
   14812 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14813 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14814    { (exit 1); exit 1; }; };;
   14815       esac
   14816       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14817       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14818     done
   14819 
   14820     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14821     # use $as_me), people would be surprised to read:
   14822     #    /* config.h.  Generated by config.status.  */
   14823     configure_input='Generated from '`
   14824 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14825 	`' by configure.'
   14826     if test x"$ac_file" != x-; then
   14827       configure_input="$ac_file.  $configure_input"
   14828       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14829 $as_echo "$as_me: creating $ac_file" >&6;}
   14830     fi
   14831     # Neutralize special characters interpreted by sed in replacement strings.
   14832     case $configure_input in #(
   14833     *\&* | *\|* | *\\* )
   14834        ac_sed_conf_input=`$as_echo "$configure_input" |
   14835        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14836     *) ac_sed_conf_input=$configure_input;;
   14837     esac
   14838 
   14839     case $ac_tag in
   14840     *:-:* | *:-) cat >"$tmp/stdin" \
   14841       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14842 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14843    { (exit 1); exit 1; }; } ;;
   14844     esac
   14845     ;;
   14846   esac
   14847 
   14848   ac_dir=`$as_dirname -- "$ac_file" ||
   14849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14850 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14851 	 X"$ac_file" : 'X\(//\)$' \| \
   14852 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14853 $as_echo X"$ac_file" |
   14854     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14855 	    s//\1/
   14856 	    q
   14857 	  }
   14858 	  /^X\(\/\/\)[^/].*/{
   14859 	    s//\1/
   14860 	    q
   14861 	  }
   14862 	  /^X\(\/\/\)$/{
   14863 	    s//\1/
   14864 	    q
   14865 	  }
   14866 	  /^X\(\/\).*/{
   14867 	    s//\1/
   14868 	    q
   14869 	  }
   14870 	  s/.*/./; q'`
   14871   { as_dir="$ac_dir"
   14872   case $as_dir in #(
   14873   -*) as_dir=./$as_dir;;
   14874   esac
   14875   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14876     as_dirs=
   14877     while :; do
   14878       case $as_dir in #(
   14879       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14880       *) as_qdir=$as_dir;;
   14881       esac
   14882       as_dirs="'$as_qdir' $as_dirs"
   14883       as_dir=`$as_dirname -- "$as_dir" ||
   14884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14885 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14886 	 X"$as_dir" : 'X\(//\)$' \| \
   14887 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14888 $as_echo X"$as_dir" |
   14889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14890 	    s//\1/
   14891 	    q
   14892 	  }
   14893 	  /^X\(\/\/\)[^/].*/{
   14894 	    s//\1/
   14895 	    q
   14896 	  }
   14897 	  /^X\(\/\/\)$/{
   14898 	    s//\1/
   14899 	    q
   14900 	  }
   14901 	  /^X\(\/\).*/{
   14902 	    s//\1/
   14903 	    q
   14904 	  }
   14905 	  s/.*/./; q'`
   14906       test -d "$as_dir" && break
   14907     done
   14908     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14909   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14910 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14911    { (exit 1); exit 1; }; }; }
   14912   ac_builddir=.
   14913 
   14914 case "$ac_dir" in
   14915 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14916 *)
   14917   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14918   # A ".." for each directory in $ac_dir_suffix.
   14919   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14920   case $ac_top_builddir_sub in
   14921   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14922   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14923   esac ;;
   14924 esac
   14925 ac_abs_top_builddir=$ac_pwd
   14926 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14927 # for backward compatibility:
   14928 ac_top_builddir=$ac_top_build_prefix
   14929 
   14930 case $srcdir in
   14931   .)  # We are building in place.
   14932     ac_srcdir=.
   14933     ac_top_srcdir=$ac_top_builddir_sub
   14934     ac_abs_top_srcdir=$ac_pwd ;;
   14935   [\\/]* | ?:[\\/]* )  # Absolute name.
   14936     ac_srcdir=$srcdir$ac_dir_suffix;
   14937     ac_top_srcdir=$srcdir
   14938     ac_abs_top_srcdir=$srcdir ;;
   14939   *) # Relative name.
   14940     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14941     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14942     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14943 esac
   14944 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14945 
   14946 
   14947   case $ac_mode in
   14948   :F)
   14949   #
   14950   # CONFIG_FILE
   14951   #
   14952 
   14953   case $INSTALL in
   14954   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14955   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14956   esac
   14957   ac_MKDIR_P=$MKDIR_P
   14958   case $MKDIR_P in
   14959   [\\/$]* | ?:[\\/]* ) ;;
   14960   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14961   esac
   14962 _ACEOF
   14963 
   14964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14965 # If the template does not know about datarootdir, expand it.
   14966 # FIXME: This hack should be removed a few years after 2.60.
   14967 ac_datarootdir_hack=; ac_datarootdir_seen=
   14968 
   14969 ac_sed_dataroot='
   14970 /datarootdir/ {
   14971   p
   14972   q
   14973 }
   14974 /@datadir@/p
   14975 /@docdir@/p
   14976 /@infodir@/p
   14977 /@localedir@/p
   14978 /@mandir@/p
   14979 '
   14980 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14981 *datarootdir*) ac_datarootdir_seen=yes;;
   14982 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14983   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14984 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14985 _ACEOF
   14986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14987   ac_datarootdir_hack='
   14988   s&@datadir@&$datadir&g
   14989   s&@docdir@&$docdir&g
   14990   s&@infodir@&$infodir&g
   14991   s&@localedir@&$localedir&g
   14992   s&@mandir@&$mandir&g
   14993     s&\\\${datarootdir}&$datarootdir&g' ;;
   14994 esac
   14995 _ACEOF
   14996 
   14997 # Neutralize VPATH when `$srcdir' = `.'.
   14998 # Shell code in configure.ac might set extrasub.
   14999 # FIXME: do we really want to maintain this feature?
   15000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15001 ac_sed_extra="$ac_vpsub
   15002 $extrasub
   15003 _ACEOF
   15004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15005 :t
   15006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15007 s|@configure_input@|$ac_sed_conf_input|;t t
   15008 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15009 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15010 s&@srcdir@&$ac_srcdir&;t t
   15011 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15012 s&@top_srcdir@&$ac_top_srcdir&;t t
   15013 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15014 s&@builddir@&$ac_builddir&;t t
   15015 s&@abs_builddir@&$ac_abs_builddir&;t t
   15016 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15017 s&@INSTALL@&$ac_INSTALL&;t t
   15018 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15019 $ac_datarootdir_hack
   15020 "
   15021 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   15022   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15023 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15024    { (exit 1); exit 1; }; }
   15025 
   15026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15027   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   15028   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   15029   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15030 which seems to be undefined.  Please make sure it is defined." >&5
   15031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15032 which seems to be undefined.  Please make sure it is defined." >&2;}
   15033 
   15034   rm -f "$tmp/stdin"
   15035   case $ac_file in
   15036   -) cat "$tmp/out" && rm -f "$tmp/out";;
   15037   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   15038   esac \
   15039   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15040 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15041    { (exit 1); exit 1; }; }
   15042  ;;
   15043   :H)
   15044   #
   15045   # CONFIG_HEADER
   15046   #
   15047   if test x"$ac_file" != x-; then
   15048     {
   15049       $as_echo "/* $configure_input  */" \
   15050       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   15051     } >"$tmp/config.h" \
   15052       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15053 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15054    { (exit 1); exit 1; }; }
   15055     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   15056       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   15057 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15058     else
   15059       rm -f "$ac_file"
   15060       mv "$tmp/config.h" "$ac_file" \
   15061 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15062 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15063    { (exit 1); exit 1; }; }
   15064     fi
   15065   else
   15066     $as_echo "/* $configure_input  */" \
   15067       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   15068       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   15069 $as_echo "$as_me: error: could not create -" >&2;}
   15070    { (exit 1); exit 1; }; }
   15071   fi
   15072 # Compute "$ac_file"'s index in $config_headers.
   15073 _am_arg="$ac_file"
   15074 _am_stamp_count=1
   15075 for _am_header in $config_headers :; do
   15076   case $_am_header in
   15077     $_am_arg | $_am_arg:* )
   15078       break ;;
   15079     * )
   15080       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15081   esac
   15082 done
   15083 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15084 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15085 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15086 	 X"$_am_arg" : 'X\(//\)$' \| \
   15087 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15088 $as_echo X"$_am_arg" |
   15089     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15090 	    s//\1/
   15091 	    q
   15092 	  }
   15093 	  /^X\(\/\/\)[^/].*/{
   15094 	    s//\1/
   15095 	    q
   15096 	  }
   15097 	  /^X\(\/\/\)$/{
   15098 	    s//\1/
   15099 	    q
   15100 	  }
   15101 	  /^X\(\/\).*/{
   15102 	    s//\1/
   15103 	    q
   15104 	  }
   15105 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15106  ;;
   15107 
   15108   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   15109 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15110  ;;
   15111   esac
   15112 
   15113 
   15114   case $ac_file$ac_mode in
   15115     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15116   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15117   # are listed without --file.  Let's play safe and only enable the eval
   15118   # if we detect the quoting.
   15119   case $CONFIG_FILES in
   15120   *\'*) eval set x "$CONFIG_FILES" ;;
   15121   *)   set x $CONFIG_FILES ;;
   15122   esac
   15123   shift
   15124   for mf
   15125   do
   15126     # Strip MF so we end up with the name of the file.
   15127     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15128     # Check whether this is an Automake generated Makefile or not.
   15129     # We used to match only the files named `Makefile.in', but
   15130     # some people rename them; so instead we look at the file content.
   15131     # Grep'ing the first line is not enough: some people post-process
   15132     # each Makefile.in and add a new line on top of each file to say so.
   15133     # Grep'ing the whole file is not good either: AIX grep has a line
   15134     # limit of 2048, but all sed's we know have understand at least 4000.
   15135     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15136       dirpart=`$as_dirname -- "$mf" ||
   15137 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15138 	 X"$mf" : 'X\(//\)[^/]' \| \
   15139 	 X"$mf" : 'X\(//\)$' \| \
   15140 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15141 $as_echo X"$mf" |
   15142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15143 	    s//\1/
   15144 	    q
   15145 	  }
   15146 	  /^X\(\/\/\)[^/].*/{
   15147 	    s//\1/
   15148 	    q
   15149 	  }
   15150 	  /^X\(\/\/\)$/{
   15151 	    s//\1/
   15152 	    q
   15153 	  }
   15154 	  /^X\(\/\).*/{
   15155 	    s//\1/
   15156 	    q
   15157 	  }
   15158 	  s/.*/./; q'`
   15159     else
   15160       continue
   15161     fi
   15162     # Extract the definition of DEPDIR, am__include, and am__quote
   15163     # from the Makefile without running `make'.
   15164     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15165     test -z "$DEPDIR" && continue
   15166     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15167     test -z "am__include" && continue
   15168     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15169     # When using ansi2knr, U may be empty or an underscore; expand it
   15170     U=`sed -n 's/^U = //p' < "$mf"`
   15171     # Find all dependency output files, they are included files with
   15172     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15173     # simplest approach to changing $(DEPDIR) to its actual value in the
   15174     # expansion.
   15175     for file in `sed -n "
   15176       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15177 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15178       # Make sure the directory exists.
   15179       test -f "$dirpart/$file" && continue
   15180       fdir=`$as_dirname -- "$file" ||
   15181 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15182 	 X"$file" : 'X\(//\)[^/]' \| \
   15183 	 X"$file" : 'X\(//\)$' \| \
   15184 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15185 $as_echo X"$file" |
   15186     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15187 	    s//\1/
   15188 	    q
   15189 	  }
   15190 	  /^X\(\/\/\)[^/].*/{
   15191 	    s//\1/
   15192 	    q
   15193 	  }
   15194 	  /^X\(\/\/\)$/{
   15195 	    s//\1/
   15196 	    q
   15197 	  }
   15198 	  /^X\(\/\).*/{
   15199 	    s//\1/
   15200 	    q
   15201 	  }
   15202 	  s/.*/./; q'`
   15203       { as_dir=$dirpart/$fdir
   15204   case $as_dir in #(
   15205   -*) as_dir=./$as_dir;;
   15206   esac
   15207   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   15208     as_dirs=
   15209     while :; do
   15210       case $as_dir in #(
   15211       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15212       *) as_qdir=$as_dir;;
   15213       esac
   15214       as_dirs="'$as_qdir' $as_dirs"
   15215       as_dir=`$as_dirname -- "$as_dir" ||
   15216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15217 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15218 	 X"$as_dir" : 'X\(//\)$' \| \
   15219 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15220 $as_echo X"$as_dir" |
   15221     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15222 	    s//\1/
   15223 	    q
   15224 	  }
   15225 	  /^X\(\/\/\)[^/].*/{
   15226 	    s//\1/
   15227 	    q
   15228 	  }
   15229 	  /^X\(\/\/\)$/{
   15230 	    s//\1/
   15231 	    q
   15232 	  }
   15233 	  /^X\(\/\).*/{
   15234 	    s//\1/
   15235 	    q
   15236 	  }
   15237 	  s/.*/./; q'`
   15238       test -d "$as_dir" && break
   15239     done
   15240     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15241   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   15242 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   15243    { (exit 1); exit 1; }; }; }
   15244       # echo "creating $dirpart/$file"
   15245       echo '# dummy' > "$dirpart/$file"
   15246     done
   15247   done
   15248 }
   15249  ;;
   15250     "libtool":C)
   15251 
   15252     # See if we are running on zsh, and set the options which allow our
   15253     # commands through without removal of \ escapes.
   15254     if test -n "${ZSH_VERSION+set}" ; then
   15255       setopt NO_GLOB_SUBST
   15256     fi
   15257 
   15258     cfgfile="${ofile}T"
   15259     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15260     $RM "$cfgfile"
   15261 
   15262     cat <<_LT_EOF >> "$cfgfile"
   15263 #! $SHELL
   15264 
   15265 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15266 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15268 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15269 #
   15270 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15271 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15272 #   Written by Gordon Matzigkeit, 1996
   15273 #
   15274 #   This file is part of GNU Libtool.
   15275 #
   15276 # GNU Libtool is free software; you can redistribute it and/or
   15277 # modify it under the terms of the GNU General Public License as
   15278 # published by the Free Software Foundation; either version 2 of
   15279 # the License, or (at your option) any later version.
   15280 #
   15281 # As a special exception to the GNU General Public License,
   15282 # if you distribute this file as part of a program or library that
   15283 # is built using GNU Libtool, you may include this file under the
   15284 # same distribution terms that you use for the rest of that program.
   15285 #
   15286 # GNU Libtool is distributed in the hope that it will be useful,
   15287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15289 # GNU General Public License for more details.
   15290 #
   15291 # You should have received a copy of the GNU General Public License
   15292 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15293 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15294 # obtained by writing to the Free Software Foundation, Inc.,
   15295 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15296 
   15297 
   15298 # The names of the tagged configurations supported by this script.
   15299 available_tags=""
   15300 
   15301 # ### BEGIN LIBTOOL CONFIG
   15302 
   15303 # Whether or not to build static libraries.
   15304 build_old_libs=$enable_static
   15305 
   15306 # Which release of libtool.m4 was used?
   15307 macro_version=$macro_version
   15308 macro_revision=$macro_revision
   15309 
   15310 # Whether or not to build shared libraries.
   15311 build_libtool_libs=$enable_shared
   15312 
   15313 # What type of objects to build.
   15314 pic_mode=$pic_mode
   15315 
   15316 # Whether or not to optimize for fast installation.
   15317 fast_install=$enable_fast_install
   15318 
   15319 # The host system.
   15320 host_alias=$host_alias
   15321 host=$host
   15322 host_os=$host_os
   15323 
   15324 # The build system.
   15325 build_alias=$build_alias
   15326 build=$build
   15327 build_os=$build_os
   15328 
   15329 # A sed program that does not truncate output.
   15330 SED=$lt_SED
   15331 
   15332 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15333 Xsed="\$SED -e 1s/^X//"
   15334 
   15335 # A grep program that handles long lines.
   15336 GREP=$lt_GREP
   15337 
   15338 # An ERE matcher.
   15339 EGREP=$lt_EGREP
   15340 
   15341 # A literal string matcher.
   15342 FGREP=$lt_FGREP
   15343 
   15344 # A BSD- or MS-compatible name lister.
   15345 NM=$lt_NM
   15346 
   15347 # Whether we need soft or hard links.
   15348 LN_S=$lt_LN_S
   15349 
   15350 # What is the maximum length of a command?
   15351 max_cmd_len=$max_cmd_len
   15352 
   15353 # Object file suffix (normally "o").
   15354 objext=$ac_objext
   15355 
   15356 # Executable file suffix (normally "").
   15357 exeext=$exeext
   15358 
   15359 # whether the shell understands "unset".
   15360 lt_unset=$lt_unset
   15361 
   15362 # turn spaces into newlines.
   15363 SP2NL=$lt_lt_SP2NL
   15364 
   15365 # turn newlines into spaces.
   15366 NL2SP=$lt_lt_NL2SP
   15367 
   15368 # How to create reloadable object files.
   15369 reload_flag=$lt_reload_flag
   15370 reload_cmds=$lt_reload_cmds
   15371 
   15372 # An object symbol dumper.
   15373 OBJDUMP=$lt_OBJDUMP
   15374 
   15375 # Method to check whether dependent libraries are shared objects.
   15376 deplibs_check_method=$lt_deplibs_check_method
   15377 
   15378 # Command to use when deplibs_check_method == "file_magic".
   15379 file_magic_cmd=$lt_file_magic_cmd
   15380 
   15381 # The archiver.
   15382 AR=$lt_AR
   15383 AR_FLAGS=$lt_AR_FLAGS
   15384 
   15385 # A symbol stripping program.
   15386 STRIP=$lt_STRIP
   15387 
   15388 # Commands used to install an old-style archive.
   15389 RANLIB=$lt_RANLIB
   15390 old_postinstall_cmds=$lt_old_postinstall_cmds
   15391 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15392 
   15393 # A C compiler.
   15394 LTCC=$lt_CC
   15395 
   15396 # LTCC compiler flags.
   15397 LTCFLAGS=$lt_CFLAGS
   15398 
   15399 # Take the output of nm and produce a listing of raw symbols and C names.
   15400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15401 
   15402 # Transform the output of nm in a proper C declaration.
   15403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15404 
   15405 # Transform the output of nm in a C name address pair.
   15406 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15407 
   15408 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15409 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15410 
   15411 # The name of the directory that contains temporary libtool files.
   15412 objdir=$objdir
   15413 
   15414 # Shell to use when invoking shell scripts.
   15415 SHELL=$lt_SHELL
   15416 
   15417 # An echo program that does not interpret backslashes.
   15418 ECHO=$lt_ECHO
   15419 
   15420 # Used to examine libraries when file_magic_cmd begins with "file".
   15421 MAGIC_CMD=$MAGIC_CMD
   15422 
   15423 # Must we lock files when doing compilation?
   15424 need_locks=$lt_need_locks
   15425 
   15426 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15427 DSYMUTIL=$lt_DSYMUTIL
   15428 
   15429 # Tool to change global to local symbols on Mac OS X.
   15430 NMEDIT=$lt_NMEDIT
   15431 
   15432 # Tool to manipulate fat objects and archives on Mac OS X.
   15433 LIPO=$lt_LIPO
   15434 
   15435 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15436 OTOOL=$lt_OTOOL
   15437 
   15438 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15439 OTOOL64=$lt_OTOOL64
   15440 
   15441 # Old archive suffix (normally "a").
   15442 libext=$libext
   15443 
   15444 # Shared library suffix (normally ".so").
   15445 shrext_cmds=$lt_shrext_cmds
   15446 
   15447 # The commands to extract the exported symbol list from a shared archive.
   15448 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15449 
   15450 # Variables whose values should be saved in libtool wrapper scripts and
   15451 # restored at link time.
   15452 variables_saved_for_relink=$lt_variables_saved_for_relink
   15453 
   15454 # Do we need the "lib" prefix for modules?
   15455 need_lib_prefix=$need_lib_prefix
   15456 
   15457 # Do we need a version for libraries?
   15458 need_version=$need_version
   15459 
   15460 # Library versioning type.
   15461 version_type=$version_type
   15462 
   15463 # Shared library runtime path variable.
   15464 runpath_var=$runpath_var
   15465 
   15466 # Shared library path variable.
   15467 shlibpath_var=$shlibpath_var
   15468 
   15469 # Is shlibpath searched before the hard-coded library search path?
   15470 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15471 
   15472 # Format of library name prefix.
   15473 libname_spec=$lt_libname_spec
   15474 
   15475 # List of archive names.  First name is the real one, the rest are links.
   15476 # The last name is the one that the linker finds with -lNAME
   15477 library_names_spec=$lt_library_names_spec
   15478 
   15479 # The coded name of the library, if different from the real name.
   15480 soname_spec=$lt_soname_spec
   15481 
   15482 # Command to use after installation of a shared archive.
   15483 postinstall_cmds=$lt_postinstall_cmds
   15484 
   15485 # Command to use after uninstallation of a shared archive.
   15486 postuninstall_cmds=$lt_postuninstall_cmds
   15487 
   15488 # Commands used to finish a libtool library installation in a directory.
   15489 finish_cmds=$lt_finish_cmds
   15490 
   15491 # As "finish_cmds", except a single script fragment to be evaled but
   15492 # not shown.
   15493 finish_eval=$lt_finish_eval
   15494 
   15495 # Whether we should hardcode library paths into libraries.
   15496 hardcode_into_libs=$hardcode_into_libs
   15497 
   15498 # Compile-time system search path for libraries.
   15499 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15500 
   15501 # Run-time system search path for libraries.
   15502 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15503 
   15504 # Whether dlopen is supported.
   15505 dlopen_support=$enable_dlopen
   15506 
   15507 # Whether dlopen of programs is supported.
   15508 dlopen_self=$enable_dlopen_self
   15509 
   15510 # Whether dlopen of statically linked programs is supported.
   15511 dlopen_self_static=$enable_dlopen_self_static
   15512 
   15513 # Commands to strip libraries.
   15514 old_striplib=$lt_old_striplib
   15515 striplib=$lt_striplib
   15516 
   15517 
   15518 # The linker used to build libraries.
   15519 LD=$lt_LD
   15520 
   15521 # Commands used to build an old-style archive.
   15522 old_archive_cmds=$lt_old_archive_cmds
   15523 
   15524 # A language specific compiler.
   15525 CC=$lt_compiler
   15526 
   15527 # Is the compiler the GNU compiler?
   15528 with_gcc=$GCC
   15529 
   15530 # Compiler flag to turn off builtin functions.
   15531 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15532 
   15533 # How to pass a linker flag through the compiler.
   15534 wl=$lt_lt_prog_compiler_wl
   15535 
   15536 # Additional compiler flags for building library objects.
   15537 pic_flag=$lt_lt_prog_compiler_pic
   15538 
   15539 # Compiler flag to prevent dynamic linking.
   15540 link_static_flag=$lt_lt_prog_compiler_static
   15541 
   15542 # Does compiler simultaneously support -c and -o options?
   15543 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15544 
   15545 # Whether or not to add -lc for building shared libraries.
   15546 build_libtool_need_lc=$archive_cmds_need_lc
   15547 
   15548 # Whether or not to disallow shared libs when runtime libs are static.
   15549 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15550 
   15551 # Compiler flag to allow reflexive dlopens.
   15552 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15553 
   15554 # Compiler flag to generate shared objects directly from archives.
   15555 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15556 
   15557 # Whether the compiler copes with passing no objects directly.
   15558 compiler_needs_object=$lt_compiler_needs_object
   15559 
   15560 # Create an old-style archive from a shared archive.
   15561 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15562 
   15563 # Create a temporary old-style archive to link instead of a shared archive.
   15564 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15565 
   15566 # Commands used to build a shared archive.
   15567 archive_cmds=$lt_archive_cmds
   15568 archive_expsym_cmds=$lt_archive_expsym_cmds
   15569 
   15570 # Commands used to build a loadable module if different from building
   15571 # a shared archive.
   15572 module_cmds=$lt_module_cmds
   15573 module_expsym_cmds=$lt_module_expsym_cmds
   15574 
   15575 # Whether we are building with GNU ld or not.
   15576 with_gnu_ld=$lt_with_gnu_ld
   15577 
   15578 # Flag that allows shared libraries with undefined symbols to be built.
   15579 allow_undefined_flag=$lt_allow_undefined_flag
   15580 
   15581 # Flag that enforces no undefined symbols.
   15582 no_undefined_flag=$lt_no_undefined_flag
   15583 
   15584 # Flag to hardcode \$libdir into a binary during linking.
   15585 # This must work even if \$libdir does not exist
   15586 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15587 
   15588 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15589 # during linking.  This must work even if \$libdir does not exist.
   15590 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15591 
   15592 # Whether we need a single "-rpath" flag with a separated argument.
   15593 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15594 
   15595 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15596 # DIR into the resulting binary.
   15597 hardcode_direct=$hardcode_direct
   15598 
   15599 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15600 # DIR into the resulting binary and the resulting library dependency is
   15601 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15602 # library is relocated.
   15603 hardcode_direct_absolute=$hardcode_direct_absolute
   15604 
   15605 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15606 # into the resulting binary.
   15607 hardcode_minus_L=$hardcode_minus_L
   15608 
   15609 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15610 # into the resulting binary.
   15611 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15612 
   15613 # Set to "yes" if building a shared library automatically hardcodes DIR
   15614 # into the library and all subsequent libraries and executables linked
   15615 # against it.
   15616 hardcode_automatic=$hardcode_automatic
   15617 
   15618 # Set to yes if linker adds runtime paths of dependent libraries
   15619 # to runtime path list.
   15620 inherit_rpath=$inherit_rpath
   15621 
   15622 # Whether libtool must link a program against all its dependency libraries.
   15623 link_all_deplibs=$link_all_deplibs
   15624 
   15625 # Fix the shell variable \$srcfile for the compiler.
   15626 fix_srcfile_path=$lt_fix_srcfile_path
   15627 
   15628 # Set to "yes" if exported symbols are required.
   15629 always_export_symbols=$always_export_symbols
   15630 
   15631 # The commands to list exported symbols.
   15632 export_symbols_cmds=$lt_export_symbols_cmds
   15633 
   15634 # Symbols that should not be listed in the preloaded symbols.
   15635 exclude_expsyms=$lt_exclude_expsyms
   15636 
   15637 # Symbols that must always be exported.
   15638 include_expsyms=$lt_include_expsyms
   15639 
   15640 # Commands necessary for linking programs (against libraries) with templates.
   15641 prelink_cmds=$lt_prelink_cmds
   15642 
   15643 # Specify filename containing input files.
   15644 file_list_spec=$lt_file_list_spec
   15645 
   15646 # How to hardcode a shared library path into an executable.
   15647 hardcode_action=$hardcode_action
   15648 
   15649 # ### END LIBTOOL CONFIG
   15650 
   15651 _LT_EOF
   15652 
   15653   case $host_os in
   15654   aix3*)
   15655     cat <<\_LT_EOF >> "$cfgfile"
   15656 # AIX sometimes has problems with the GCC collect2 program.  For some
   15657 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15658 # vanish in a puff of smoke.
   15659 if test "X${COLLECT_NAMES+set}" != Xset; then
   15660   COLLECT_NAMES=
   15661   export COLLECT_NAMES
   15662 fi
   15663 _LT_EOF
   15664     ;;
   15665   esac
   15666 
   15667 
   15668 ltmain="$ac_aux_dir/ltmain.sh"
   15669 
   15670 
   15671   # We use sed instead of cat because bash on DJGPP gets confused if
   15672   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15673   # text mode, it properly converts lines to CR/LF.  This bash problem
   15674   # is reportedly fixed, but why not run on old versions too?
   15675   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15676     || (rm -f "$cfgfile"; exit 1)
   15677 
   15678   case $xsi_shell in
   15679   yes)
   15680     cat << \_LT_EOF >> "$cfgfile"
   15681 
   15682 # func_dirname file append nondir_replacement
   15683 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15684 # otherwise set result to NONDIR_REPLACEMENT.
   15685 func_dirname ()
   15686 {
   15687   case ${1} in
   15688     */*) func_dirname_result="${1%/*}${2}" ;;
   15689     *  ) func_dirname_result="${3}" ;;
   15690   esac
   15691 }
   15692 
   15693 # func_basename file
   15694 func_basename ()
   15695 {
   15696   func_basename_result="${1##*/}"
   15697 }
   15698 
   15699 # func_dirname_and_basename file append nondir_replacement
   15700 # perform func_basename and func_dirname in a single function
   15701 # call:
   15702 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15703 #             add APPEND to the result, otherwise set result
   15704 #             to NONDIR_REPLACEMENT.
   15705 #             value returned in "$func_dirname_result"
   15706 #   basename: Compute filename of FILE.
   15707 #             value retuned in "$func_basename_result"
   15708 # Implementation must be kept synchronized with func_dirname
   15709 # and func_basename. For efficiency, we do not delegate to
   15710 # those functions but instead duplicate the functionality here.
   15711 func_dirname_and_basename ()
   15712 {
   15713   case ${1} in
   15714     */*) func_dirname_result="${1%/*}${2}" ;;
   15715     *  ) func_dirname_result="${3}" ;;
   15716   esac
   15717   func_basename_result="${1##*/}"
   15718 }
   15719 
   15720 # func_stripname prefix suffix name
   15721 # strip PREFIX and SUFFIX off of NAME.
   15722 # PREFIX and SUFFIX must not contain globbing or regex special
   15723 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15724 # dot (in which case that matches only a dot).
   15725 func_stripname ()
   15726 {
   15727   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15728   # positional parameters, so assign one to ordinary parameter first.
   15729   func_stripname_result=${3}
   15730   func_stripname_result=${func_stripname_result#"${1}"}
   15731   func_stripname_result=${func_stripname_result%"${2}"}
   15732 }
   15733 
   15734 # func_opt_split
   15735 func_opt_split ()
   15736 {
   15737   func_opt_split_opt=${1%%=*}
   15738   func_opt_split_arg=${1#*=}
   15739 }
   15740 
   15741 # func_lo2o object
   15742 func_lo2o ()
   15743 {
   15744   case ${1} in
   15745     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15746     *)    func_lo2o_result=${1} ;;
   15747   esac
   15748 }
   15749 
   15750 # func_xform libobj-or-source
   15751 func_xform ()
   15752 {
   15753   func_xform_result=${1%.*}.lo
   15754 }
   15755 
   15756 # func_arith arithmetic-term...
   15757 func_arith ()
   15758 {
   15759   func_arith_result=$(( $* ))
   15760 }
   15761 
   15762 # func_len string
   15763 # STRING may not start with a hyphen.
   15764 func_len ()
   15765 {
   15766   func_len_result=${#1}
   15767 }
   15768 
   15769 _LT_EOF
   15770     ;;
   15771   *) # Bourne compatible functions.
   15772     cat << \_LT_EOF >> "$cfgfile"
   15773 
   15774 # func_dirname file append nondir_replacement
   15775 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15776 # otherwise set result to NONDIR_REPLACEMENT.
   15777 func_dirname ()
   15778 {
   15779   # Extract subdirectory from the argument.
   15780   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15781   if test "X$func_dirname_result" = "X${1}"; then
   15782     func_dirname_result="${3}"
   15783   else
   15784     func_dirname_result="$func_dirname_result${2}"
   15785   fi
   15786 }
   15787 
   15788 # func_basename file
   15789 func_basename ()
   15790 {
   15791   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15792 }
   15793 
   15794 
   15795 # func_stripname prefix suffix name
   15796 # strip PREFIX and SUFFIX off of NAME.
   15797 # PREFIX and SUFFIX must not contain globbing or regex special
   15798 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15799 # dot (in which case that matches only a dot).
   15800 # func_strip_suffix prefix name
   15801 func_stripname ()
   15802 {
   15803   case ${2} in
   15804     .*) func_stripname_result=`$ECHO "X${3}" \
   15805            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15806     *)  func_stripname_result=`$ECHO "X${3}" \
   15807            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15808   esac
   15809 }
   15810 
   15811 # sed scripts:
   15812 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15813 my_sed_long_arg='1s/^-[^=]*=//'
   15814 
   15815 # func_opt_split
   15816 func_opt_split ()
   15817 {
   15818   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15819   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15820 }
   15821 
   15822 # func_lo2o object
   15823 func_lo2o ()
   15824 {
   15825   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15826 }
   15827 
   15828 # func_xform libobj-or-source
   15829 func_xform ()
   15830 {
   15831   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15832 }
   15833 
   15834 # func_arith arithmetic-term...
   15835 func_arith ()
   15836 {
   15837   func_arith_result=`expr "$@"`
   15838 }
   15839 
   15840 # func_len string
   15841 # STRING may not start with a hyphen.
   15842 func_len ()
   15843 {
   15844   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15845 }
   15846 
   15847 _LT_EOF
   15848 esac
   15849 
   15850 case $lt_shell_append in
   15851   yes)
   15852     cat << \_LT_EOF >> "$cfgfile"
   15853 
   15854 # func_append var value
   15855 # Append VALUE to the end of shell variable VAR.
   15856 func_append ()
   15857 {
   15858   eval "$1+=\$2"
   15859 }
   15860 _LT_EOF
   15861     ;;
   15862   *)
   15863     cat << \_LT_EOF >> "$cfgfile"
   15864 
   15865 # func_append var value
   15866 # Append VALUE to the end of shell variable VAR.
   15867 func_append ()
   15868 {
   15869   eval "$1=\$$1\$2"
   15870 }
   15871 
   15872 _LT_EOF
   15873     ;;
   15874   esac
   15875 
   15876 
   15877   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15878     || (rm -f "$cfgfile"; exit 1)
   15879 
   15880   mv -f "$cfgfile" "$ofile" ||
   15881     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15882   chmod +x "$ofile"
   15883 
   15884  ;;
   15885 
   15886   esac
   15887 done # for ac_tag
   15888 
   15889 
   15890 { (exit 0); exit 0; }
   15891 _ACEOF
   15892 chmod +x $CONFIG_STATUS
   15893 ac_clean_files=$ac_clean_files_save
   15894 
   15895 test $ac_write_fail = 0 ||
   15896   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15897 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15898    { (exit 1); exit 1; }; }
   15899 
   15900 
   15901 # configure is writing to config.log, and then calls config.status.
   15902 # config.status does its own redirection, appending to config.log.
   15903 # Unfortunately, on DOS this fails, as config.log is still kept open
   15904 # by configure, so config.status won't be able to write to it; its
   15905 # output is simply discarded.  So we exec the FD to /dev/null,
   15906 # effectively closing config.log, so it can be properly (re)opened and
   15907 # appended to by config.status.  When coming back to configure, we
   15908 # need to make the FD available again.
   15909 if test "$no_create" != yes; then
   15910   ac_cs_success=:
   15911   ac_config_status_args=
   15912   test "$silent" = yes &&
   15913     ac_config_status_args="$ac_config_status_args --quiet"
   15914   exec 5>/dev/null
   15915   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15916   exec 5>>config.log
   15917   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15918   # would make configure fail if this is the last instruction.
   15919   $ac_cs_success || { (exit 1); exit 1; }
   15920 fi
   15921 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15922   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15923 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15924 fi
   15925 
   15926