Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-i128 1.3.2.
      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-i128'
    747 PACKAGE_TARNAME='xf86-video-i128'
    748 PACKAGE_VERSION='1.3.2'
    749 PACKAGE_STRING='xf86-video-i128 1.3.2'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='LTLIBOBJS
    790 LIBOBJS
    791 MAKE_HTML
    792 MAKE_PDF
    793 MAKE_PS
    794 MAKE_TEXT
    795 BUILD_PDFDOC_FALSE
    796 BUILD_PDFDOC_TRUE
    797 BUILD_LINUXDOC_FALSE
    798 BUILD_LINUXDOC_TRUE
    799 PS2PDF
    800 LINUXDOC
    801 ADMIN_MAN_DIR
    802 DRIVER_MAN_DIR
    803 MISC_MAN_DIR
    804 FILE_MAN_DIR
    805 LIB_MAN_DIR
    806 APP_MAN_DIR
    807 ADMIN_MAN_SUFFIX
    808 DRIVER_MAN_SUFFIX
    809 MISC_MAN_SUFFIX
    810 FILE_MAN_SUFFIX
    811 LIB_MAN_SUFFIX
    812 APP_MAN_SUFFIX
    813 DRIVER_NAME
    814 moduledir
    815 XSERVER_LIBPCIACCESS_FALSE
    816 XSERVER_LIBPCIACCESS_TRUE
    817 PCIACCESS_LIBS
    818 PCIACCESS_CFLAGS
    819 XORG_LIBS
    820 XORG_CFLAGS
    821 PKG_CONFIG
    822 CPP
    823 OTOOL64
    824 OTOOL
    825 LIPO
    826 NMEDIT
    827 DSYMUTIL
    828 lt_ECHO
    829 RANLIB
    830 AR
    831 OBJDUMP
    832 LN_S
    833 NM
    834 ac_ct_DUMPBIN
    835 DUMPBIN
    836 LD
    837 FGREP
    838 EGREP
    839 GREP
    840 SED
    841 am__fastdepCC_FALSE
    842 am__fastdepCC_TRUE
    843 CCDEPMODE
    844 AMDEPBACKSLASH
    845 AMDEP_FALSE
    846 AMDEP_TRUE
    847 am__quote
    848 am__include
    849 DEPDIR
    850 OBJEXT
    851 EXEEXT
    852 ac_ct_CC
    853 CPPFLAGS
    854 LDFLAGS
    855 CFLAGS
    856 CC
    857 host_os
    858 host_vendor
    859 host_cpu
    860 host
    861 build_os
    862 build_vendor
    863 build_cpu
    864 build
    865 LIBTOOL
    866 MAINT
    867 MAINTAINER_MODE_FALSE
    868 MAINTAINER_MODE_TRUE
    869 am__untar
    870 am__tar
    871 AMTAR
    872 am__leading_dot
    873 SET_MAKE
    874 AWK
    875 mkdir_p
    876 MKDIR_P
    877 INSTALL_STRIP_PROGRAM
    878 STRIP
    879 install_sh
    880 MAKEINFO
    881 AUTOHEADER
    882 AUTOMAKE
    883 AUTOCONF
    884 ACLOCAL
    885 VERSION
    886 PACKAGE
    887 CYGPATH_W
    888 am__isrc
    889 INSTALL_DATA
    890 INSTALL_SCRIPT
    891 INSTALL_PROGRAM
    892 target_alias
    893 host_alias
    894 build_alias
    895 LIBS
    896 ECHO_T
    897 ECHO_N
    898 ECHO_C
    899 DEFS
    900 mandir
    901 localedir
    902 libdir
    903 psdir
    904 pdfdir
    905 dvidir
    906 htmldir
    907 infodir
    908 docdir
    909 oldincludedir
    910 includedir
    911 localstatedir
    912 sharedstatedir
    913 sysconfdir
    914 datadir
    915 datarootdir
    916 libexecdir
    917 sbindir
    918 bindir
    919 program_transform_name
    920 prefix
    921 exec_prefix
    922 PACKAGE_BUGREPORT
    923 PACKAGE_STRING
    924 PACKAGE_VERSION
    925 PACKAGE_TARNAME
    926 PACKAGE_NAME
    927 PATH_SEPARATOR
    928 SHELL'
    929 ac_subst_files=''
    930 ac_user_opts='
    931 enable_option_checking
    932 enable_maintainer_mode
    933 enable_static
    934 enable_shared
    935 with_pic
    936 enable_fast_install
    937 enable_dependency_tracking
    938 with_gnu_ld
    939 enable_libtool_lock
    940 with_xorg_module_dir
    941 with_release_version
    942 '
    943       ac_precious_vars='build_alias
    944 host_alias
    945 target_alias
    946 CC
    947 CFLAGS
    948 LDFLAGS
    949 LIBS
    950 CPPFLAGS
    951 CPP
    952 PKG_CONFIG
    953 XORG_CFLAGS
    954 XORG_LIBS
    955 PCIACCESS_CFLAGS
    956 PCIACCESS_LIBS'
    957 
    958 
    959 # Initialize some variables set by options.
    960 ac_init_help=
    961 ac_init_version=false
    962 ac_unrecognized_opts=
    963 ac_unrecognized_sep=
    964 # The variables have the same names as the options, with
    965 # dashes changed to underlines.
    966 cache_file=/dev/null
    967 exec_prefix=NONE
    968 no_create=
    969 no_recursion=
    970 prefix=NONE
    971 program_prefix=NONE
    972 program_suffix=NONE
    973 program_transform_name=s,x,x,
    974 silent=
    975 site=
    976 srcdir=
    977 verbose=
    978 x_includes=NONE
    979 x_libraries=NONE
    980 
    981 # Installation directory options.
    982 # These are left unexpanded so users can "make install exec_prefix=/foo"
    983 # and all the variables that are supposed to be based on exec_prefix
    984 # by default will actually change.
    985 # Use braces instead of parens because sh, perl, etc. also accept them.
    986 # (The list follows the same order as the GNU Coding Standards.)
    987 bindir='${exec_prefix}/bin'
    988 sbindir='${exec_prefix}/sbin'
    989 libexecdir='${exec_prefix}/libexec'
    990 datarootdir='${prefix}/share'
    991 datadir='${datarootdir}'
    992 sysconfdir='${prefix}/etc'
    993 sharedstatedir='${prefix}/com'
    994 localstatedir='${prefix}/var'
    995 includedir='${prefix}/include'
    996 oldincludedir='/usr/include'
    997 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    998 infodir='${datarootdir}/info'
    999 htmldir='${docdir}'
   1000 dvidir='${docdir}'
   1001 pdfdir='${docdir}'
   1002 psdir='${docdir}'
   1003 libdir='${exec_prefix}/lib'
   1004 localedir='${datarootdir}/locale'
   1005 mandir='${datarootdir}/man'
   1006 
   1007 ac_prev=
   1008 ac_dashdash=
   1009 for ac_option
   1010 do
   1011   # If the previous option needs an argument, assign it.
   1012   if test -n "$ac_prev"; then
   1013     eval $ac_prev=\$ac_option
   1014     ac_prev=
   1015     continue
   1016   fi
   1017 
   1018   case $ac_option in
   1019   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1020   *)	ac_optarg=yes ;;
   1021   esac
   1022 
   1023   # Accept the important Cygnus configure options, so we can diagnose typos.
   1024 
   1025   case $ac_dashdash$ac_option in
   1026   --)
   1027     ac_dashdash=yes ;;
   1028 
   1029   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1030     ac_prev=bindir ;;
   1031   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1032     bindir=$ac_optarg ;;
   1033 
   1034   -build | --build | --buil | --bui | --bu)
   1035     ac_prev=build_alias ;;
   1036   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1037     build_alias=$ac_optarg ;;
   1038 
   1039   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1040   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1041     ac_prev=cache_file ;;
   1042   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1043   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1044     cache_file=$ac_optarg ;;
   1045 
   1046   --config-cache | -C)
   1047     cache_file=config.cache ;;
   1048 
   1049   -datadir | --datadir | --datadi | --datad)
   1050     ac_prev=datadir ;;
   1051   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1052     datadir=$ac_optarg ;;
   1053 
   1054   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1055   | --dataroo | --dataro | --datar)
   1056     ac_prev=datarootdir ;;
   1057   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1058   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1059     datarootdir=$ac_optarg ;;
   1060 
   1061   -disable-* | --disable-*)
   1062     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1063     # Reject names that are not valid shell variable names.
   1064     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1065       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1066    { (exit 1); exit 1; }; }
   1067     ac_useropt_orig=$ac_useropt
   1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1069     case $ac_user_opts in
   1070       *"
   1071 "enable_$ac_useropt"
   1072 "*) ;;
   1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1074 	 ac_unrecognized_sep=', ';;
   1075     esac
   1076     eval enable_$ac_useropt=no ;;
   1077 
   1078   -docdir | --docdir | --docdi | --doc | --do)
   1079     ac_prev=docdir ;;
   1080   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1081     docdir=$ac_optarg ;;
   1082 
   1083   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1084     ac_prev=dvidir ;;
   1085   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1086     dvidir=$ac_optarg ;;
   1087 
   1088   -enable-* | --enable-*)
   1089     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1090     # Reject names that are not valid shell variable names.
   1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1092       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1093    { (exit 1); exit 1; }; }
   1094     ac_useropt_orig=$ac_useropt
   1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1096     case $ac_user_opts in
   1097       *"
   1098 "enable_$ac_useropt"
   1099 "*) ;;
   1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1101 	 ac_unrecognized_sep=', ';;
   1102     esac
   1103     eval enable_$ac_useropt=\$ac_optarg ;;
   1104 
   1105   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1106   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1107   | --exec | --exe | --ex)
   1108     ac_prev=exec_prefix ;;
   1109   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1110   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1111   | --exec=* | --exe=* | --ex=*)
   1112     exec_prefix=$ac_optarg ;;
   1113 
   1114   -gas | --gas | --ga | --g)
   1115     # Obsolete; use --with-gas.
   1116     with_gas=yes ;;
   1117 
   1118   -help | --help | --hel | --he | -h)
   1119     ac_init_help=long ;;
   1120   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1121     ac_init_help=recursive ;;
   1122   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1123     ac_init_help=short ;;
   1124 
   1125   -host | --host | --hos | --ho)
   1126     ac_prev=host_alias ;;
   1127   -host=* | --host=* | --hos=* | --ho=*)
   1128     host_alias=$ac_optarg ;;
   1129 
   1130   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1131     ac_prev=htmldir ;;
   1132   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1133   | --ht=*)
   1134     htmldir=$ac_optarg ;;
   1135 
   1136   -includedir | --includedir | --includedi | --included | --include \
   1137   | --includ | --inclu | --incl | --inc)
   1138     ac_prev=includedir ;;
   1139   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1140   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1141     includedir=$ac_optarg ;;
   1142 
   1143   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1144     ac_prev=infodir ;;
   1145   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1146     infodir=$ac_optarg ;;
   1147 
   1148   -libdir | --libdir | --libdi | --libd)
   1149     ac_prev=libdir ;;
   1150   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1151     libdir=$ac_optarg ;;
   1152 
   1153   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1154   | --libexe | --libex | --libe)
   1155     ac_prev=libexecdir ;;
   1156   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1157   | --libexe=* | --libex=* | --libe=*)
   1158     libexecdir=$ac_optarg ;;
   1159 
   1160   -localedir | --localedir | --localedi | --localed | --locale)
   1161     ac_prev=localedir ;;
   1162   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1163     localedir=$ac_optarg ;;
   1164 
   1165   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1166   | --localstate | --localstat | --localsta | --localst | --locals)
   1167     ac_prev=localstatedir ;;
   1168   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1169   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1170     localstatedir=$ac_optarg ;;
   1171 
   1172   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1173     ac_prev=mandir ;;
   1174   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1175     mandir=$ac_optarg ;;
   1176 
   1177   -nfp | --nfp | --nf)
   1178     # Obsolete; use --without-fp.
   1179     with_fp=no ;;
   1180 
   1181   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1182   | --no-cr | --no-c | -n)
   1183     no_create=yes ;;
   1184 
   1185   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1186   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1187     no_recursion=yes ;;
   1188 
   1189   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1190   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1191   | --oldin | --oldi | --old | --ol | --o)
   1192     ac_prev=oldincludedir ;;
   1193   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1194   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1195   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1196     oldincludedir=$ac_optarg ;;
   1197 
   1198   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1199     ac_prev=prefix ;;
   1200   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1201     prefix=$ac_optarg ;;
   1202 
   1203   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1204   | --program-pre | --program-pr | --program-p)
   1205     ac_prev=program_prefix ;;
   1206   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1207   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1208     program_prefix=$ac_optarg ;;
   1209 
   1210   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1211   | --program-suf | --program-su | --program-s)
   1212     ac_prev=program_suffix ;;
   1213   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1214   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1215     program_suffix=$ac_optarg ;;
   1216 
   1217   -program-transform-name | --program-transform-name \
   1218   | --program-transform-nam | --program-transform-na \
   1219   | --program-transform-n | --program-transform- \
   1220   | --program-transform | --program-transfor \
   1221   | --program-transfo | --program-transf \
   1222   | --program-trans | --program-tran \
   1223   | --progr-tra | --program-tr | --program-t)
   1224     ac_prev=program_transform_name ;;
   1225   -program-transform-name=* | --program-transform-name=* \
   1226   | --program-transform-nam=* | --program-transform-na=* \
   1227   | --program-transform-n=* | --program-transform-=* \
   1228   | --program-transform=* | --program-transfor=* \
   1229   | --program-transfo=* | --program-transf=* \
   1230   | --program-trans=* | --program-tran=* \
   1231   | --progr-tra=* | --program-tr=* | --program-t=*)
   1232     program_transform_name=$ac_optarg ;;
   1233 
   1234   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1235     ac_prev=pdfdir ;;
   1236   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1237     pdfdir=$ac_optarg ;;
   1238 
   1239   -psdir | --psdir | --psdi | --psd | --ps)
   1240     ac_prev=psdir ;;
   1241   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1242     psdir=$ac_optarg ;;
   1243 
   1244   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1245   | -silent | --silent | --silen | --sile | --sil)
   1246     silent=yes ;;
   1247 
   1248   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1249     ac_prev=sbindir ;;
   1250   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1251   | --sbi=* | --sb=*)
   1252     sbindir=$ac_optarg ;;
   1253 
   1254   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1255   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1256   | --sharedst | --shareds | --shared | --share | --shar \
   1257   | --sha | --sh)
   1258     ac_prev=sharedstatedir ;;
   1259   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1260   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1261   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1262   | --sha=* | --sh=*)
   1263     sharedstatedir=$ac_optarg ;;
   1264 
   1265   -site | --site | --sit)
   1266     ac_prev=site ;;
   1267   -site=* | --site=* | --sit=*)
   1268     site=$ac_optarg ;;
   1269 
   1270   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1271     ac_prev=srcdir ;;
   1272   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1273     srcdir=$ac_optarg ;;
   1274 
   1275   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1276   | --syscon | --sysco | --sysc | --sys | --sy)
   1277     ac_prev=sysconfdir ;;
   1278   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1279   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1280     sysconfdir=$ac_optarg ;;
   1281 
   1282   -target | --target | --targe | --targ | --tar | --ta | --t)
   1283     ac_prev=target_alias ;;
   1284   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1285     target_alias=$ac_optarg ;;
   1286 
   1287   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1288     verbose=yes ;;
   1289 
   1290   -version | --version | --versio | --versi | --vers | -V)
   1291     ac_init_version=: ;;
   1292 
   1293   -with-* | --with-*)
   1294     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1295     # Reject names that are not valid shell variable names.
   1296     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1297       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1298    { (exit 1); exit 1; }; }
   1299     ac_useropt_orig=$ac_useropt
   1300     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1301     case $ac_user_opts in
   1302       *"
   1303 "with_$ac_useropt"
   1304 "*) ;;
   1305       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1306 	 ac_unrecognized_sep=', ';;
   1307     esac
   1308     eval with_$ac_useropt=\$ac_optarg ;;
   1309 
   1310   -without-* | --without-*)
   1311     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1312     # Reject names that are not valid shell variable names.
   1313     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1314       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1315    { (exit 1); exit 1; }; }
   1316     ac_useropt_orig=$ac_useropt
   1317     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1318     case $ac_user_opts in
   1319       *"
   1320 "with_$ac_useropt"
   1321 "*) ;;
   1322       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1323 	 ac_unrecognized_sep=', ';;
   1324     esac
   1325     eval with_$ac_useropt=no ;;
   1326 
   1327   --x)
   1328     # Obsolete; use --with-x.
   1329     with_x=yes ;;
   1330 
   1331   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1332   | --x-incl | --x-inc | --x-in | --x-i)
   1333     ac_prev=x_includes ;;
   1334   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1335   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1336     x_includes=$ac_optarg ;;
   1337 
   1338   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1339   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1340     ac_prev=x_libraries ;;
   1341   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1342   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1343     x_libraries=$ac_optarg ;;
   1344 
   1345   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1346 Try \`$0 --help' for more information." >&2
   1347    { (exit 1); exit 1; }; }
   1348     ;;
   1349 
   1350   *=*)
   1351     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1352     # Reject names that are not valid shell variable names.
   1353     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1354       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1355    { (exit 1); exit 1; }; }
   1356     eval $ac_envvar=\$ac_optarg
   1357     export $ac_envvar ;;
   1358 
   1359   *)
   1360     # FIXME: should be removed in autoconf 3.0.
   1361     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1362     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1363       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1364     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1365     ;;
   1366 
   1367   esac
   1368 done
   1369 
   1370 if test -n "$ac_prev"; then
   1371   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1372   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1373    { (exit 1); exit 1; }; }
   1374 fi
   1375 
   1376 if test -n "$ac_unrecognized_opts"; then
   1377   case $enable_option_checking in
   1378     no) ;;
   1379     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1380    { (exit 1); exit 1; }; } ;;
   1381     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1382   esac
   1383 fi
   1384 
   1385 # Check all directory arguments for consistency.
   1386 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1387 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1388 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1389 		libdir localedir mandir
   1390 do
   1391   eval ac_val=\$$ac_var
   1392   # Remove trailing slashes.
   1393   case $ac_val in
   1394     */ )
   1395       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1396       eval $ac_var=\$ac_val;;
   1397   esac
   1398   # Be sure to have absolute directory names.
   1399   case $ac_val in
   1400     [\\/$]* | ?:[\\/]* )  continue;;
   1401     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1402   esac
   1403   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1404    { (exit 1); exit 1; }; }
   1405 done
   1406 
   1407 # There might be people who depend on the old broken behavior: `$host'
   1408 # used to hold the argument of --host etc.
   1409 # FIXME: To remove some day.
   1410 build=$build_alias
   1411 host=$host_alias
   1412 target=$target_alias
   1413 
   1414 # FIXME: To remove some day.
   1415 if test "x$host_alias" != x; then
   1416   if test "x$build_alias" = x; then
   1417     cross_compiling=maybe
   1418     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1419     If a cross compiler is detected then cross compile mode will be used." >&2
   1420   elif test "x$build_alias" != "x$host_alias"; then
   1421     cross_compiling=yes
   1422   fi
   1423 fi
   1424 
   1425 ac_tool_prefix=
   1426 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1427 
   1428 test "$silent" = yes && exec 6>/dev/null
   1429 
   1430 
   1431 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1432 ac_ls_di=`ls -di .` &&
   1433 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1434   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1435    { (exit 1); exit 1; }; }
   1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1437   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1438    { (exit 1); exit 1; }; }
   1439 
   1440 
   1441 # Find the source files, if location was not specified.
   1442 if test -z "$srcdir"; then
   1443   ac_srcdir_defaulted=yes
   1444   # Try the directory containing this script, then the parent directory.
   1445   ac_confdir=`$as_dirname -- "$as_myself" ||
   1446 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1447 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1448 	 X"$as_myself" : 'X\(//\)$' \| \
   1449 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1450 $as_echo X"$as_myself" |
   1451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1452 	    s//\1/
   1453 	    q
   1454 	  }
   1455 	  /^X\(\/\/\)[^/].*/{
   1456 	    s//\1/
   1457 	    q
   1458 	  }
   1459 	  /^X\(\/\/\)$/{
   1460 	    s//\1/
   1461 	    q
   1462 	  }
   1463 	  /^X\(\/\).*/{
   1464 	    s//\1/
   1465 	    q
   1466 	  }
   1467 	  s/.*/./; q'`
   1468   srcdir=$ac_confdir
   1469   if test ! -r "$srcdir/$ac_unique_file"; then
   1470     srcdir=..
   1471   fi
   1472 else
   1473   ac_srcdir_defaulted=no
   1474 fi
   1475 if test ! -r "$srcdir/$ac_unique_file"; then
   1476   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1477   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1478    { (exit 1); exit 1; }; }
   1479 fi
   1480 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1481 ac_abs_confdir=`(
   1482 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1483    { (exit 1); exit 1; }; }
   1484 	pwd)`
   1485 # When building in place, set srcdir=.
   1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1487   srcdir=.
   1488 fi
   1489 # Remove unnecessary trailing slashes from srcdir.
   1490 # Double slashes in file names in object file debugging info
   1491 # mess up M-x gdb in Emacs.
   1492 case $srcdir in
   1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1494 esac
   1495 for ac_var in $ac_precious_vars; do
   1496   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1497   eval ac_env_${ac_var}_value=\$${ac_var}
   1498   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1499   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1500 done
   1501 
   1502 #
   1503 # Report the --help message.
   1504 #
   1505 if test "$ac_init_help" = "long"; then
   1506   # Omit some internal or obsolete options to make the list less imposing.
   1507   # This message is too long to be a string in the A/UX 3.1 sh.
   1508   cat <<_ACEOF
   1509 \`configure' configures xf86-video-i128 1.3.2 to adapt to many kinds of systems.
   1510 
   1511 Usage: $0 [OPTION]... [VAR=VALUE]...
   1512 
   1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1514 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1515 
   1516 Defaults for the options are specified in brackets.
   1517 
   1518 Configuration:
   1519   -h, --help              display this help and exit
   1520       --help=short        display options specific to this package
   1521       --help=recursive    display the short help of all the included packages
   1522   -V, --version           display version information and exit
   1523   -q, --quiet, --silent   do not print \`checking...' messages
   1524       --cache-file=FILE   cache test results in FILE [disabled]
   1525   -C, --config-cache      alias for \`--cache-file=config.cache'
   1526   -n, --no-create         do not create output files
   1527       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1528 
   1529 Installation directories:
   1530   --prefix=PREFIX         install architecture-independent files in PREFIX
   1531                           [$ac_default_prefix]
   1532   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1533                           [PREFIX]
   1534 
   1535 By default, \`make install' will install all the files in
   1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1538 for instance \`--prefix=\$HOME'.
   1539 
   1540 For better control, use the options below.
   1541 
   1542 Fine tuning of the installation directories:
   1543   --bindir=DIR            user executables [EPREFIX/bin]
   1544   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1545   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1546   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1547   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1548   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1549   --libdir=DIR            object code libraries [EPREFIX/lib]
   1550   --includedir=DIR        C header files [PREFIX/include]
   1551   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1552   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1553   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1554   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1555   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1556   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1557   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-i128]
   1558   --htmldir=DIR           html documentation [DOCDIR]
   1559   --dvidir=DIR            dvi documentation [DOCDIR]
   1560   --pdfdir=DIR            pdf documentation [DOCDIR]
   1561   --psdir=DIR             ps documentation [DOCDIR]
   1562 _ACEOF
   1563 
   1564   cat <<\_ACEOF
   1565 
   1566 Program names:
   1567   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1568   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1569   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1570 
   1571 System types:
   1572   --build=BUILD     configure for building on BUILD [guessed]
   1573   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1574 _ACEOF
   1575 fi
   1576 
   1577 if test -n "$ac_init_help"; then
   1578   case $ac_init_help in
   1579      short | recursive ) echo "Configuration of xf86-video-i128 1.3.2:";;
   1580    esac
   1581   cat <<\_ACEOF
   1582 
   1583 Optional Features:
   1584   --disable-option-checking  ignore unrecognized --enable/--with options
   1585   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1586   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1587   --enable-maintainer-mode  enable make rules and dependencies not useful
   1588 			  (and sometimes confusing) to the casual installer
   1589   --enable-static[=PKGS]  build static libraries [default=no]
   1590   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1591   --enable-fast-install[=PKGS]
   1592                           optimize for fast installation [default=yes]
   1593   --disable-dependency-tracking  speeds up one-time build
   1594   --enable-dependency-tracking   do not reject slow dependency extractors
   1595   --disable-libtool-lock  avoid locking (might break parallel builds)
   1596 
   1597 Optional Packages:
   1598   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1599   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1600   --with-pic              try to use only PIC/non-PIC objects [default=use
   1601                           both]
   1602   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1603   --with-xorg-module-dir=DIR
   1604                           Default xorg module directory
   1605                           [default=$libdir/xorg/modules]
   1606   --with-release-version=STRING
   1607                           Use release version string in package name
   1608 
   1609 Some influential environment variables:
   1610   CC          C compiler command
   1611   CFLAGS      C compiler flags
   1612   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1613               nonstandard directory <lib dir>
   1614   LIBS        libraries to pass to the linker, e.g. -l<library>
   1615   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1616               you have headers in a nonstandard directory <include dir>
   1617   CPP         C preprocessor
   1618   PKG_CONFIG  path to pkg-config utility
   1619   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1620   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1621   PCIACCESS_CFLAGS
   1622               C compiler flags for PCIACCESS, overriding pkg-config
   1623   PCIACCESS_LIBS
   1624               linker flags for PCIACCESS, overriding pkg-config
   1625 
   1626 Use these variables to override the choices made by `configure' or to help
   1627 it to find libraries and programs with nonstandard names/locations.
   1628 
   1629 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1630 _ACEOF
   1631 ac_status=$?
   1632 fi
   1633 
   1634 if test "$ac_init_help" = "recursive"; then
   1635   # If there are subdirs, report their specific --help.
   1636   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1637     test -d "$ac_dir" ||
   1638       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1639       continue
   1640     ac_builddir=.
   1641 
   1642 case "$ac_dir" in
   1643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1644 *)
   1645   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1646   # A ".." for each directory in $ac_dir_suffix.
   1647   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1648   case $ac_top_builddir_sub in
   1649   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1650   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1651   esac ;;
   1652 esac
   1653 ac_abs_top_builddir=$ac_pwd
   1654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1655 # for backward compatibility:
   1656 ac_top_builddir=$ac_top_build_prefix
   1657 
   1658 case $srcdir in
   1659   .)  # We are building in place.
   1660     ac_srcdir=.
   1661     ac_top_srcdir=$ac_top_builddir_sub
   1662     ac_abs_top_srcdir=$ac_pwd ;;
   1663   [\\/]* | ?:[\\/]* )  # Absolute name.
   1664     ac_srcdir=$srcdir$ac_dir_suffix;
   1665     ac_top_srcdir=$srcdir
   1666     ac_abs_top_srcdir=$srcdir ;;
   1667   *) # Relative name.
   1668     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1669     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1670     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1671 esac
   1672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1673 
   1674     cd "$ac_dir" || { ac_status=$?; continue; }
   1675     # Check for guested configure.
   1676     if test -f "$ac_srcdir/configure.gnu"; then
   1677       echo &&
   1678       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1679     elif test -f "$ac_srcdir/configure"; then
   1680       echo &&
   1681       $SHELL "$ac_srcdir/configure" --help=recursive
   1682     else
   1683       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1684     fi || ac_status=$?
   1685     cd "$ac_pwd" || { ac_status=$?; break; }
   1686   done
   1687 fi
   1688 
   1689 test -n "$ac_init_help" && exit $ac_status
   1690 if $ac_init_version; then
   1691   cat <<\_ACEOF
   1692 xf86-video-i128 configure 1.3.2
   1693 generated by GNU Autoconf 2.63
   1694 
   1695 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1696 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1697 This configure script is free software; the Free Software Foundation
   1698 gives unlimited permission to copy, distribute and modify it.
   1699 _ACEOF
   1700   exit
   1701 fi
   1702 cat >config.log <<_ACEOF
   1703 This file contains any messages produced by compilers while
   1704 running configure, to aid debugging if configure makes a mistake.
   1705 
   1706 It was created by xf86-video-i128 $as_me 1.3.2, which was
   1707 generated by GNU Autoconf 2.63.  Invocation command line was
   1708 
   1709   $ $0 $@
   1710 
   1711 _ACEOF
   1712 exec 5>>config.log
   1713 {
   1714 cat <<_ASUNAME
   1715 ## --------- ##
   1716 ## Platform. ##
   1717 ## --------- ##
   1718 
   1719 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1720 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1721 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1722 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1723 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1724 
   1725 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1726 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1727 
   1728 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1729 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1730 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1731 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1732 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1733 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1734 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1735 
   1736 _ASUNAME
   1737 
   1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1739 for as_dir in $PATH
   1740 do
   1741   IFS=$as_save_IFS
   1742   test -z "$as_dir" && as_dir=.
   1743   $as_echo "PATH: $as_dir"
   1744 done
   1745 IFS=$as_save_IFS
   1746 
   1747 } >&5
   1748 
   1749 cat >&5 <<_ACEOF
   1750 
   1751 
   1752 ## ----------- ##
   1753 ## Core tests. ##
   1754 ## ----------- ##
   1755 
   1756 _ACEOF
   1757 
   1758 
   1759 # Keep a trace of the command line.
   1760 # Strip out --no-create and --no-recursion so they do not pile up.
   1761 # Strip out --silent because we don't want to record it for future runs.
   1762 # Also quote any args containing shell meta-characters.
   1763 # Make two passes to allow for proper duplicate-argument suppression.
   1764 ac_configure_args=
   1765 ac_configure_args0=
   1766 ac_configure_args1=
   1767 ac_must_keep_next=false
   1768 for ac_pass in 1 2
   1769 do
   1770   for ac_arg
   1771   do
   1772     case $ac_arg in
   1773     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1774     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1775     | -silent | --silent | --silen | --sile | --sil)
   1776       continue ;;
   1777     *\'*)
   1778       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1779     esac
   1780     case $ac_pass in
   1781     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1782     2)
   1783       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1784       if test $ac_must_keep_next = true; then
   1785 	ac_must_keep_next=false # Got value, back to normal.
   1786       else
   1787 	case $ac_arg in
   1788 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1789 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1790 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1791 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1792 	    case "$ac_configure_args0 " in
   1793 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1794 	    esac
   1795 	    ;;
   1796 	  -* ) ac_must_keep_next=true ;;
   1797 	esac
   1798       fi
   1799       ac_configure_args="$ac_configure_args '$ac_arg'"
   1800       ;;
   1801     esac
   1802   done
   1803 done
   1804 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1805 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1806 
   1807 # When interrupted or exit'd, cleanup temporary files, and complete
   1808 # config.log.  We remove comments because anyway the quotes in there
   1809 # would cause problems or look ugly.
   1810 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1811 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1812 trap 'exit_status=$?
   1813   # Save into config.log some information that might help in debugging.
   1814   {
   1815     echo
   1816 
   1817     cat <<\_ASBOX
   1818 ## ---------------- ##
   1819 ## Cache variables. ##
   1820 ## ---------------- ##
   1821 _ASBOX
   1822     echo
   1823     # The following way of writing the cache mishandles newlines in values,
   1824 (
   1825   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1826     eval ac_val=\$$ac_var
   1827     case $ac_val in #(
   1828     *${as_nl}*)
   1829       case $ac_var in #(
   1830       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1832       esac
   1833       case $ac_var in #(
   1834       _ | IFS | as_nl) ;; #(
   1835       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1836       *) $as_unset $ac_var ;;
   1837       esac ;;
   1838     esac
   1839   done
   1840   (set) 2>&1 |
   1841     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1842     *${as_nl}ac_space=\ *)
   1843       sed -n \
   1844 	"s/'\''/'\''\\\\'\'''\''/g;
   1845 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1846       ;; #(
   1847     *)
   1848       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1849       ;;
   1850     esac |
   1851     sort
   1852 )
   1853     echo
   1854 
   1855     cat <<\_ASBOX
   1856 ## ----------------- ##
   1857 ## Output variables. ##
   1858 ## ----------------- ##
   1859 _ASBOX
   1860     echo
   1861     for ac_var in $ac_subst_vars
   1862     do
   1863       eval ac_val=\$$ac_var
   1864       case $ac_val in
   1865       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1866       esac
   1867       $as_echo "$ac_var='\''$ac_val'\''"
   1868     done | sort
   1869     echo
   1870 
   1871     if test -n "$ac_subst_files"; then
   1872       cat <<\_ASBOX
   1873 ## ------------------- ##
   1874 ## File substitutions. ##
   1875 ## ------------------- ##
   1876 _ASBOX
   1877       echo
   1878       for ac_var in $ac_subst_files
   1879       do
   1880 	eval ac_val=\$$ac_var
   1881 	case $ac_val in
   1882 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1883 	esac
   1884 	$as_echo "$ac_var='\''$ac_val'\''"
   1885       done | sort
   1886       echo
   1887     fi
   1888 
   1889     if test -s confdefs.h; then
   1890       cat <<\_ASBOX
   1891 ## ----------- ##
   1892 ## confdefs.h. ##
   1893 ## ----------- ##
   1894 _ASBOX
   1895       echo
   1896       cat confdefs.h
   1897       echo
   1898     fi
   1899     test "$ac_signal" != 0 &&
   1900       $as_echo "$as_me: caught signal $ac_signal"
   1901     $as_echo "$as_me: exit $exit_status"
   1902   } >&5
   1903   rm -f core *.core core.conftest.* &&
   1904     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1905     exit $exit_status
   1906 ' 0
   1907 for ac_signal in 1 2 13 15; do
   1908   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1909 done
   1910 ac_signal=0
   1911 
   1912 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1913 rm -f -r conftest* confdefs.h
   1914 
   1915 # Predefined preprocessor variables.
   1916 
   1917 cat >>confdefs.h <<_ACEOF
   1918 #define PACKAGE_NAME "$PACKAGE_NAME"
   1919 _ACEOF
   1920 
   1921 
   1922 cat >>confdefs.h <<_ACEOF
   1923 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1924 _ACEOF
   1925 
   1926 
   1927 cat >>confdefs.h <<_ACEOF
   1928 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1929 _ACEOF
   1930 
   1931 
   1932 cat >>confdefs.h <<_ACEOF
   1933 #define PACKAGE_STRING "$PACKAGE_STRING"
   1934 _ACEOF
   1935 
   1936 
   1937 cat >>confdefs.h <<_ACEOF
   1938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1939 _ACEOF
   1940 
   1941 
   1942 # Let the site file select an alternate cache file if it wants to.
   1943 # Prefer an explicitly selected file to automatically selected ones.
   1944 ac_site_file1=NONE
   1945 ac_site_file2=NONE
   1946 if test -n "$CONFIG_SITE"; then
   1947   ac_site_file1=$CONFIG_SITE
   1948 elif test "x$prefix" != xNONE; then
   1949   ac_site_file1=$prefix/share/config.site
   1950   ac_site_file2=$prefix/etc/config.site
   1951 else
   1952   ac_site_file1=$ac_default_prefix/share/config.site
   1953   ac_site_file2=$ac_default_prefix/etc/config.site
   1954 fi
   1955 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1956 do
   1957   test "x$ac_site_file" = xNONE && continue
   1958   if test -r "$ac_site_file"; then
   1959     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1960 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1961     sed 's/^/| /' "$ac_site_file" >&5
   1962     . "$ac_site_file"
   1963   fi
   1964 done
   1965 
   1966 if test -r "$cache_file"; then
   1967   # Some versions of bash will fail to source /dev/null (special
   1968   # files actually), so we avoid doing that.
   1969   if test -f "$cache_file"; then
   1970     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1971 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1972     case $cache_file in
   1973       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1974       *)                      . "./$cache_file";;
   1975     esac
   1976   fi
   1977 else
   1978   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1979 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1980   >$cache_file
   1981 fi
   1982 
   1983 # Check that the precious variables saved in the cache have kept the same
   1984 # value.
   1985 ac_cache_corrupted=false
   1986 for ac_var in $ac_precious_vars; do
   1987   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1988   eval ac_new_set=\$ac_env_${ac_var}_set
   1989   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1990   eval ac_new_val=\$ac_env_${ac_var}_value
   1991   case $ac_old_set,$ac_new_set in
   1992     set,)
   1993       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1994 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1995       ac_cache_corrupted=: ;;
   1996     ,set)
   1997       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1998 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1999       ac_cache_corrupted=: ;;
   2000     ,);;
   2001     *)
   2002       if test "x$ac_old_val" != "x$ac_new_val"; then
   2003 	# differences in whitespace do not lead to failure.
   2004 	ac_old_val_w=`echo x $ac_old_val`
   2005 	ac_new_val_w=`echo x $ac_new_val`
   2006 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2007 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2008 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2009 	  ac_cache_corrupted=:
   2010 	else
   2011 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2012 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2013 	  eval $ac_var=\$ac_old_val
   2014 	fi
   2015 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2016 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2017 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2018 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2019       fi;;
   2020   esac
   2021   # Pass precious variables to config.status.
   2022   if test "$ac_new_set" = set; then
   2023     case $ac_new_val in
   2024     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2025     *) ac_arg=$ac_var=$ac_new_val ;;
   2026     esac
   2027     case " $ac_configure_args " in
   2028       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2029       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2030     esac
   2031   fi
   2032 done
   2033 if $ac_cache_corrupted; then
   2034   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2036   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2037 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2038   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2039 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2040    { (exit 1); exit 1; }; }
   2041 fi
   2042 
   2043 
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 ac_ext=c
   2068 ac_cpp='$CPP $CPPFLAGS'
   2069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2072 
   2073 
   2074 
   2075 
   2076 ac_config_headers="$ac_config_headers config.h"
   2077 
   2078 ac_aux_dir=
   2079 for ac_dir in . "$srcdir"/.; do
   2080   if test -f "$ac_dir/install-sh"; then
   2081     ac_aux_dir=$ac_dir
   2082     ac_install_sh="$ac_aux_dir/install-sh -c"
   2083     break
   2084   elif test -f "$ac_dir/install.sh"; then
   2085     ac_aux_dir=$ac_dir
   2086     ac_install_sh="$ac_aux_dir/install.sh -c"
   2087     break
   2088   elif test -f "$ac_dir/shtool"; then
   2089     ac_aux_dir=$ac_dir
   2090     ac_install_sh="$ac_aux_dir/shtool install -c"
   2091     break
   2092   fi
   2093 done
   2094 if test -z "$ac_aux_dir"; then
   2095   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2096 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2097    { (exit 1); exit 1; }; }
   2098 fi
   2099 
   2100 # These three variables are undocumented and unsupported,
   2101 # and are intended to be withdrawn in a future Autoconf release.
   2102 # They can cause serious problems if a builder's source tree is in a directory
   2103 # whose full name contains unusual characters.
   2104 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2105 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2106 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2107 
   2108 
   2109 
   2110 am__api_version='1.10'
   2111 
   2112 # Find a good install program.  We prefer a C program (faster),
   2113 # so one script is as good as another.  But avoid the broken or
   2114 # incompatible versions:
   2115 # SysV /etc/install, /usr/sbin/install
   2116 # SunOS /usr/etc/install
   2117 # IRIX /sbin/install
   2118 # AIX /bin/install
   2119 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2123 # OS/2's system install, which has a completely different semantic
   2124 # ./install, which can be erroneously created by make from ./install.sh.
   2125 # Reject install programs that cannot install multiple files.
   2126 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2127 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2128 if test -z "$INSTALL"; then
   2129 if test "${ac_cv_path_install+set}" = set; then
   2130   $as_echo_n "(cached) " >&6
   2131 else
   2132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2133 for as_dir in $PATH
   2134 do
   2135   IFS=$as_save_IFS
   2136   test -z "$as_dir" && as_dir=.
   2137   # Account for people who put trailing slashes in PATH elements.
   2138 case $as_dir/ in
   2139   ./ | .// | /cC/* | \
   2140   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2141   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2142   /usr/ucb/* ) ;;
   2143   *)
   2144     # OSF1 and SCO ODT 3.0 have their own names for install.
   2145     # Don't use installbsd from OSF since it installs stuff as root
   2146     # by default.
   2147     for ac_prog in ginstall scoinst install; do
   2148       for ac_exec_ext in '' $ac_executable_extensions; do
   2149 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2150 	  if test $ac_prog = install &&
   2151 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2152 	    # AIX install.  It has an incompatible calling convention.
   2153 	    :
   2154 	  elif test $ac_prog = install &&
   2155 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2156 	    # program-specific install script used by HP pwplus--don't use.
   2157 	    :
   2158 	  else
   2159 	    rm -rf conftest.one conftest.two conftest.dir
   2160 	    echo one > conftest.one
   2161 	    echo two > conftest.two
   2162 	    mkdir conftest.dir
   2163 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2164 	      test -s conftest.one && test -s conftest.two &&
   2165 	      test -s conftest.dir/conftest.one &&
   2166 	      test -s conftest.dir/conftest.two
   2167 	    then
   2168 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2169 	      break 3
   2170 	    fi
   2171 	  fi
   2172 	fi
   2173       done
   2174     done
   2175     ;;
   2176 esac
   2177 
   2178 done
   2179 IFS=$as_save_IFS
   2180 
   2181 rm -rf conftest.one conftest.two conftest.dir
   2182 
   2183 fi
   2184   if test "${ac_cv_path_install+set}" = set; then
   2185     INSTALL=$ac_cv_path_install
   2186   else
   2187     # As a last resort, use the slow shell script.  Don't cache a
   2188     # value for INSTALL within a source directory, because that will
   2189     # break other packages using the cache if that directory is
   2190     # removed, or if the value is a relative name.
   2191     INSTALL=$ac_install_sh
   2192   fi
   2193 fi
   2194 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2195 $as_echo "$INSTALL" >&6; }
   2196 
   2197 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2198 # It thinks the first close brace ends the variable substitution.
   2199 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2200 
   2201 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2202 
   2203 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2204 
   2205 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2206 $as_echo_n "checking whether build environment is sane... " >&6; }
   2207 # Just in case
   2208 sleep 1
   2209 echo timestamp > conftest.file
   2210 # Do `set' in a subshell so we don't clobber the current shell's
   2211 # arguments.  Must try -L first in case configure is actually a
   2212 # symlink; some systems play weird games with the mod time of symlinks
   2213 # (eg FreeBSD returns the mod time of the symlink's containing
   2214 # directory).
   2215 if (
   2216    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2217    if test "$*" = "X"; then
   2218       # -L didn't work.
   2219       set X `ls -t $srcdir/configure conftest.file`
   2220    fi
   2221    rm -f conftest.file
   2222    if test "$*" != "X $srcdir/configure conftest.file" \
   2223       && test "$*" != "X conftest.file $srcdir/configure"; then
   2224 
   2225       # If neither matched, then we have a broken ls.  This can happen
   2226       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2227       # broken ls alias from the environment.  This has actually
   2228       # happened.  Such a system could not be considered "sane".
   2229       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2230 alias in your environment" >&5
   2231 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2232 alias in your environment" >&2;}
   2233    { (exit 1); exit 1; }; }
   2234    fi
   2235 
   2236    test "$2" = conftest.file
   2237    )
   2238 then
   2239    # Ok.
   2240    :
   2241 else
   2242    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2243 Check your system clock" >&5
   2244 $as_echo "$as_me: error: newly created file is older than distributed files!
   2245 Check your system clock" >&2;}
   2246    { (exit 1); exit 1; }; }
   2247 fi
   2248 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2249 $as_echo "yes" >&6; }
   2250 test "$program_prefix" != NONE &&
   2251   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2252 # Use a double $ so make ignores it.
   2253 test "$program_suffix" != NONE &&
   2254   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2255 # Double any \ or $.
   2256 # By default was `s,x,x', remove it if useless.
   2257 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2258 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2259 
   2260 # expand $ac_aux_dir to an absolute path
   2261 am_aux_dir=`cd $ac_aux_dir && pwd`
   2262 
   2263 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2264 # Use eval to expand $SHELL
   2265 if eval "$MISSING --run true"; then
   2266   am_missing_run="$MISSING --run "
   2267 else
   2268   am_missing_run=
   2269   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2270 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2271 fi
   2272 
   2273 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2274 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2275 if test -z "$MKDIR_P"; then
   2276   if test "${ac_cv_path_mkdir+set}" = set; then
   2277   $as_echo_n "(cached) " >&6
   2278 else
   2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284   for ac_prog in mkdir gmkdir; do
   2285 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2286 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2287 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2288 	     'mkdir (GNU coreutils) '* | \
   2289 	     'mkdir (coreutils) '* | \
   2290 	     'mkdir (fileutils) '4.1*)
   2291 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2292 	       break 3;;
   2293 	   esac
   2294 	 done
   2295        done
   2296 done
   2297 IFS=$as_save_IFS
   2298 
   2299 fi
   2300 
   2301   if test "${ac_cv_path_mkdir+set}" = set; then
   2302     MKDIR_P="$ac_cv_path_mkdir -p"
   2303   else
   2304     # As a last resort, use the slow shell script.  Don't cache a
   2305     # value for MKDIR_P within a source directory, because that will
   2306     # break other packages using the cache if that directory is
   2307     # removed, or if the value is a relative name.
   2308     test -d ./--version && rmdir ./--version
   2309     MKDIR_P="$ac_install_sh -d"
   2310   fi
   2311 fi
   2312 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2313 $as_echo "$MKDIR_P" >&6; }
   2314 
   2315 mkdir_p="$MKDIR_P"
   2316 case $mkdir_p in
   2317   [\\/$]* | ?:[\\/]*) ;;
   2318   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2319 esac
   2320 
   2321 for ac_prog in gawk mawk nawk awk
   2322 do
   2323   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2324 set dummy $ac_prog; 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_AWK+set}" = set; then
   2328   $as_echo_n "(cached) " >&6
   2329 else
   2330   if test -n "$AWK"; then
   2331   ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
   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 AWK=$ac_cv_prog_AWK
   2351 if test -n "$AWK"; then
   2352   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2353 $as_echo "$AWK" >&6; }
   2354 else
   2355   { $as_echo "$as_me:$LINENO: result: no" >&5
   2356 $as_echo "no" >&6; }
   2357 fi
   2358 
   2359 
   2360   test -n "$AWK" && break
   2361 done
   2362 
   2363 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2364 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2365 set x ${MAKE-make}
   2366 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2367 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2368   $as_echo_n "(cached) " >&6
   2369 else
   2370   cat >conftest.make <<\_ACEOF
   2371 SHELL = /bin/sh
   2372 all:
   2373 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2374 _ACEOF
   2375 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2376 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2377   *@@@%%%=?*=@@@%%%*)
   2378     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2379   *)
   2380     eval ac_cv_prog_make_${ac_make}_set=no;;
   2381 esac
   2382 rm -f conftest.make
   2383 fi
   2384 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2385   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2386 $as_echo "yes" >&6; }
   2387   SET_MAKE=
   2388 else
   2389   { $as_echo "$as_me:$LINENO: result: no" >&5
   2390 $as_echo "no" >&6; }
   2391   SET_MAKE="MAKE=${MAKE-make}"
   2392 fi
   2393 
   2394 rm -rf .tst 2>/dev/null
   2395 mkdir .tst 2>/dev/null
   2396 if test -d .tst; then
   2397   am__leading_dot=.
   2398 else
   2399   am__leading_dot=_
   2400 fi
   2401 rmdir .tst 2>/dev/null
   2402 
   2403 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2404   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2405   # is not polluted with repeated "-I."
   2406   am__isrc=' -I$(srcdir)'
   2407   # test to see if srcdir already configured
   2408   if test -f $srcdir/config.status; then
   2409     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2410 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2411    { (exit 1); exit 1; }; }
   2412   fi
   2413 fi
   2414 
   2415 # test whether we have cygpath
   2416 if test -z "$CYGPATH_W"; then
   2417   if (cygpath --version) >/dev/null 2>/dev/null; then
   2418     CYGPATH_W='cygpath -w'
   2419   else
   2420     CYGPATH_W=echo
   2421   fi
   2422 fi
   2423 
   2424 
   2425 # Define the identity of the package.
   2426  PACKAGE='xf86-video-i128'
   2427  VERSION='1.3.2'
   2428 
   2429 
   2430 cat >>confdefs.h <<_ACEOF
   2431 #define PACKAGE "$PACKAGE"
   2432 _ACEOF
   2433 
   2434 
   2435 cat >>confdefs.h <<_ACEOF
   2436 #define VERSION "$VERSION"
   2437 _ACEOF
   2438 
   2439 # Some tools Automake needs.
   2440 
   2441 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2442 
   2443 
   2444 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2445 
   2446 
   2447 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2448 
   2449 
   2450 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2451 
   2452 
   2453 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2454 
   2455 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2456 
   2457 # Installed binaries are usually stripped using `strip' when the user
   2458 # run `make install-strip'.  However `strip' might not be the right
   2459 # tool to use in cross-compilation environments, therefore Automake
   2460 # will honor the `STRIP' environment variable to overrule this program.
   2461 if test "$cross_compiling" != no; then
   2462   if test -n "$ac_tool_prefix"; then
   2463   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2464 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2465 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2466 $as_echo_n "checking for $ac_word... " >&6; }
   2467 if test "${ac_cv_prog_STRIP+set}" = set; then
   2468   $as_echo_n "(cached) " >&6
   2469 else
   2470   if test -n "$STRIP"; then
   2471   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2472 else
   2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2474 for as_dir in $PATH
   2475 do
   2476   IFS=$as_save_IFS
   2477   test -z "$as_dir" && as_dir=.
   2478   for ac_exec_ext in '' $ac_executable_extensions; do
   2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2480     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2481     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2482     break 2
   2483   fi
   2484 done
   2485 done
   2486 IFS=$as_save_IFS
   2487 
   2488 fi
   2489 fi
   2490 STRIP=$ac_cv_prog_STRIP
   2491 if test -n "$STRIP"; then
   2492   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2493 $as_echo "$STRIP" >&6; }
   2494 else
   2495   { $as_echo "$as_me:$LINENO: result: no" >&5
   2496 $as_echo "no" >&6; }
   2497 fi
   2498 
   2499 
   2500 fi
   2501 if test -z "$ac_cv_prog_STRIP"; then
   2502   ac_ct_STRIP=$STRIP
   2503   # Extract the first word of "strip", so it can be a program name with args.
   2504 set dummy strip; ac_word=$2
   2505 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2506 $as_echo_n "checking for $ac_word... " >&6; }
   2507 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2508   $as_echo_n "(cached) " >&6
   2509 else
   2510   if test -n "$ac_ct_STRIP"; then
   2511   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2512 else
   2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 for as_dir in $PATH
   2515 do
   2516   IFS=$as_save_IFS
   2517   test -z "$as_dir" && as_dir=.
   2518   for ac_exec_ext in '' $ac_executable_extensions; do
   2519   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2520     ac_cv_prog_ac_ct_STRIP="strip"
   2521     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2522     break 2
   2523   fi
   2524 done
   2525 done
   2526 IFS=$as_save_IFS
   2527 
   2528 fi
   2529 fi
   2530 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2531 if test -n "$ac_ct_STRIP"; then
   2532   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2533 $as_echo "$ac_ct_STRIP" >&6; }
   2534 else
   2535   { $as_echo "$as_me:$LINENO: result: no" >&5
   2536 $as_echo "no" >&6; }
   2537 fi
   2538 
   2539   if test "x$ac_ct_STRIP" = x; then
   2540     STRIP=":"
   2541   else
   2542     case $cross_compiling:$ac_tool_warned in
   2543 yes:)
   2544 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2546 ac_tool_warned=yes ;;
   2547 esac
   2548     STRIP=$ac_ct_STRIP
   2549   fi
   2550 else
   2551   STRIP="$ac_cv_prog_STRIP"
   2552 fi
   2553 
   2554 fi
   2555 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2556 
   2557 # We need awk for the "check" target.  The system "awk" is bad on
   2558 # some platforms.
   2559 # Always define AMTAR for backward compatibility.
   2560 
   2561 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2562 
   2563 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2564 
   2565 
   2566 
   2567 
   2568 
   2569 
   2570 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2571 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2572     # Check whether --enable-maintainer-mode was given.
   2573 if test "${enable_maintainer_mode+set}" = set; then
   2574   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2575 else
   2576   USE_MAINTAINER_MODE=no
   2577 fi
   2578 
   2579   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2580 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2581    if test $USE_MAINTAINER_MODE = yes; then
   2582   MAINTAINER_MODE_TRUE=
   2583   MAINTAINER_MODE_FALSE='#'
   2584 else
   2585   MAINTAINER_MODE_TRUE='#'
   2586   MAINTAINER_MODE_FALSE=
   2587 fi
   2588 
   2589   MAINT=$MAINTAINER_MODE_TRUE
   2590 
   2591 
   2592 
   2593 # Checks for programs.
   2594 # Check whether --enable-static was given.
   2595 if test "${enable_static+set}" = set; then
   2596   enableval=$enable_static; p=${PACKAGE-default}
   2597     case $enableval in
   2598     yes) enable_static=yes ;;
   2599     no) enable_static=no ;;
   2600     *)
   2601      enable_static=no
   2602       # Look at the argument we got.  We use all the common list separators.
   2603       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2604       for pkg in $enableval; do
   2605 	IFS="$lt_save_ifs"
   2606 	if test "X$pkg" = "X$p"; then
   2607 	  enable_static=yes
   2608 	fi
   2609       done
   2610       IFS="$lt_save_ifs"
   2611       ;;
   2612     esac
   2613 else
   2614   enable_static=no
   2615 fi
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 case `pwd` in
   2626   *\ * | *\	*)
   2627     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2628 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2629 esac
   2630 
   2631 
   2632 
   2633 macro_version='2.2.6'
   2634 macro_revision='1.3012'
   2635 
   2636 
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 ltmain="$ac_aux_dir/ltmain.sh"
   2649 
   2650 # Make sure we can run config.sub.
   2651 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2652   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2653 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2654    { (exit 1); exit 1; }; }
   2655 
   2656 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2657 $as_echo_n "checking build system type... " >&6; }
   2658 if test "${ac_cv_build+set}" = set; then
   2659   $as_echo_n "(cached) " >&6
   2660 else
   2661   ac_build_alias=$build_alias
   2662 test "x$ac_build_alias" = x &&
   2663   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2664 test "x$ac_build_alias" = x &&
   2665   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2666 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2667    { (exit 1); exit 1; }; }
   2668 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2669   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2670 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2671    { (exit 1); exit 1; }; }
   2672 
   2673 fi
   2674 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2675 $as_echo "$ac_cv_build" >&6; }
   2676 case $ac_cv_build in
   2677 *-*-*) ;;
   2678 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2679 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2680    { (exit 1); exit 1; }; };;
   2681 esac
   2682 build=$ac_cv_build
   2683 ac_save_IFS=$IFS; IFS='-'
   2684 set x $ac_cv_build
   2685 shift
   2686 build_cpu=$1
   2687 build_vendor=$2
   2688 shift; shift
   2689 # Remember, the first character of IFS is used to create $*,
   2690 # except with old shells:
   2691 build_os=$*
   2692 IFS=$ac_save_IFS
   2693 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2694 
   2695 
   2696 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2697 $as_echo_n "checking host system type... " >&6; }
   2698 if test "${ac_cv_host+set}" = set; then
   2699   $as_echo_n "(cached) " >&6
   2700 else
   2701   if test "x$host_alias" = x; then
   2702   ac_cv_host=$ac_cv_build
   2703 else
   2704   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2705     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2706 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2707    { (exit 1); exit 1; }; }
   2708 fi
   2709 
   2710 fi
   2711 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2712 $as_echo "$ac_cv_host" >&6; }
   2713 case $ac_cv_host in
   2714 *-*-*) ;;
   2715 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2716 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2717    { (exit 1); exit 1; }; };;
   2718 esac
   2719 host=$ac_cv_host
   2720 ac_save_IFS=$IFS; IFS='-'
   2721 set x $ac_cv_host
   2722 shift
   2723 host_cpu=$1
   2724 host_vendor=$2
   2725 shift; shift
   2726 # Remember, the first character of IFS is used to create $*,
   2727 # except with old shells:
   2728 host_os=$*
   2729 IFS=$ac_save_IFS
   2730 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2731 
   2732 
   2733 DEPDIR="${am__leading_dot}deps"
   2734 
   2735 ac_config_commands="$ac_config_commands depfiles"
   2736 
   2737 
   2738 am_make=${MAKE-make}
   2739 cat > confinc << 'END'
   2740 am__doit:
   2741 	@echo done
   2742 .PHONY: am__doit
   2743 END
   2744 # If we don't find an include directive, just comment out the code.
   2745 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2746 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2747 am__include="#"
   2748 am__quote=
   2749 _am_result=none
   2750 # First try GNU make style include.
   2751 echo "include confinc" > confmf
   2752 # We grep out `Entering directory' and `Leaving directory'
   2753 # messages which can occur if `w' ends up in MAKEFLAGS.
   2754 # In particular we don't look at `^make:' because GNU make might
   2755 # be invoked under some other name (usually "gmake"), in which
   2756 # case it prints its new name instead of `make'.
   2757 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2758    am__include=include
   2759    am__quote=
   2760    _am_result=GNU
   2761 fi
   2762 # Now try BSD make style include.
   2763 if test "$am__include" = "#"; then
   2764    echo '.include "confinc"' > confmf
   2765    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2766       am__include=.include
   2767       am__quote="\""
   2768       _am_result=BSD
   2769    fi
   2770 fi
   2771 
   2772 
   2773 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2774 $as_echo "$_am_result" >&6; }
   2775 rm -f confinc confmf
   2776 
   2777 # Check whether --enable-dependency-tracking was given.
   2778 if test "${enable_dependency_tracking+set}" = set; then
   2779   enableval=$enable_dependency_tracking;
   2780 fi
   2781 
   2782 if test "x$enable_dependency_tracking" != xno; then
   2783   am_depcomp="$ac_aux_dir/depcomp"
   2784   AMDEPBACKSLASH='\'
   2785 fi
   2786  if test "x$enable_dependency_tracking" != xno; then
   2787   AMDEP_TRUE=
   2788   AMDEP_FALSE='#'
   2789 else
   2790   AMDEP_TRUE='#'
   2791   AMDEP_FALSE=
   2792 fi
   2793 
   2794 
   2795 ac_ext=c
   2796 ac_cpp='$CPP $CPPFLAGS'
   2797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2800 if test -n "$ac_tool_prefix"; then
   2801   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2804 $as_echo_n "checking for $ac_word... " >&6; }
   2805 if test "${ac_cv_prog_CC+set}" = set; then
   2806   $as_echo_n "(cached) " >&6
   2807 else
   2808   if test -n "$CC"; then
   2809   ac_cv_prog_CC="$CC" # Let the user override the test.
   2810 else
   2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH
   2813 do
   2814   IFS=$as_save_IFS
   2815   test -z "$as_dir" && as_dir=.
   2816   for ac_exec_ext in '' $ac_executable_extensions; do
   2817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2818     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2819     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2820     break 2
   2821   fi
   2822 done
   2823 done
   2824 IFS=$as_save_IFS
   2825 
   2826 fi
   2827 fi
   2828 CC=$ac_cv_prog_CC
   2829 if test -n "$CC"; then
   2830   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2831 $as_echo "$CC" >&6; }
   2832 else
   2833   { $as_echo "$as_me:$LINENO: result: no" >&5
   2834 $as_echo "no" >&6; }
   2835 fi
   2836 
   2837 
   2838 fi
   2839 if test -z "$ac_cv_prog_CC"; then
   2840   ac_ct_CC=$CC
   2841   # Extract the first word of "gcc", so it can be a program name with args.
   2842 set dummy gcc; ac_word=$2
   2843 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2844 $as_echo_n "checking for $ac_word... " >&6; }
   2845 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test -n "$ac_ct_CC"; then
   2849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   test -z "$as_dir" && as_dir=.
   2856   for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2858     ac_cv_prog_ac_ct_CC="gcc"
   2859     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863 done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2869 if test -n "$ac_ct_CC"; then
   2870   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2871 $as_echo "$ac_ct_CC" >&6; }
   2872 else
   2873   { $as_echo "$as_me:$LINENO: result: no" >&5
   2874 $as_echo "no" >&6; }
   2875 fi
   2876 
   2877   if test "x$ac_ct_CC" = x; then
   2878     CC=""
   2879   else
   2880     case $cross_compiling:$ac_tool_warned in
   2881 yes:)
   2882 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2884 ac_tool_warned=yes ;;
   2885 esac
   2886     CC=$ac_ct_CC
   2887   fi
   2888 else
   2889   CC="$ac_cv_prog_CC"
   2890 fi
   2891 
   2892 if test -z "$CC"; then
   2893           if test -n "$ac_tool_prefix"; then
   2894     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2897 $as_echo_n "checking for $ac_word... " >&6; }
   2898 if test "${ac_cv_prog_CC+set}" = set; then
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   if test -n "$CC"; then
   2902   ac_cv_prog_CC="$CC" # Let the user override the test.
   2903 else
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   test -z "$as_dir" && as_dir=.
   2909   for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2911     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2912     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2913     break 2
   2914   fi
   2915 done
   2916 done
   2917 IFS=$as_save_IFS
   2918 
   2919 fi
   2920 fi
   2921 CC=$ac_cv_prog_CC
   2922 if test -n "$CC"; then
   2923   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2924 $as_echo "$CC" >&6; }
   2925 else
   2926   { $as_echo "$as_me:$LINENO: result: no" >&5
   2927 $as_echo "no" >&6; }
   2928 fi
   2929 
   2930 
   2931   fi
   2932 fi
   2933 if test -z "$CC"; then
   2934   # Extract the first word of "cc", so it can be a program name with args.
   2935 set dummy cc; ac_word=$2
   2936 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2937 $as_echo_n "checking for $ac_word... " >&6; }
   2938 if test "${ac_cv_prog_CC+set}" = set; then
   2939   $as_echo_n "(cached) " >&6
   2940 else
   2941   if test -n "$CC"; then
   2942   ac_cv_prog_CC="$CC" # Let the user override the test.
   2943 else
   2944   ac_prog_rejected=no
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950   for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2952     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2953        ac_prog_rejected=yes
   2954        continue
   2955      fi
   2956     ac_cv_prog_CC="cc"
   2957     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2958     break 2
   2959   fi
   2960 done
   2961 done
   2962 IFS=$as_save_IFS
   2963 
   2964 if test $ac_prog_rejected = yes; then
   2965   # We found a bogon in the path, so make sure we never use it.
   2966   set dummy $ac_cv_prog_CC
   2967   shift
   2968   if test $# != 0; then
   2969     # We chose a different compiler from the bogus one.
   2970     # However, it has the same basename, so the bogon will be chosen
   2971     # first if we set CC to just the basename; use the full file name.
   2972     shift
   2973     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2974   fi
   2975 fi
   2976 fi
   2977 fi
   2978 CC=$ac_cv_prog_CC
   2979 if test -n "$CC"; then
   2980   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2981 $as_echo "$CC" >&6; }
   2982 else
   2983   { $as_echo "$as_me:$LINENO: result: no" >&5
   2984 $as_echo "no" >&6; }
   2985 fi
   2986 
   2987 
   2988 fi
   2989 if test -z "$CC"; then
   2990   if test -n "$ac_tool_prefix"; then
   2991   for ac_prog in cl.exe
   2992   do
   2993     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2996 $as_echo_n "checking for $ac_word... " >&6; }
   2997 if test "${ac_cv_prog_CC+set}" = set; then
   2998   $as_echo_n "(cached) " >&6
   2999 else
   3000   if test -n "$CC"; then
   3001   ac_cv_prog_CC="$CC" # Let the user override the test.
   3002 else
   3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH
   3005 do
   3006   IFS=$as_save_IFS
   3007   test -z "$as_dir" && as_dir=.
   3008   for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3010     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3011     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015 done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi
   3019 fi
   3020 CC=$ac_cv_prog_CC
   3021 if test -n "$CC"; then
   3022   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3023 $as_echo "$CC" >&6; }
   3024 else
   3025   { $as_echo "$as_me:$LINENO: result: no" >&5
   3026 $as_echo "no" >&6; }
   3027 fi
   3028 
   3029 
   3030     test -n "$CC" && break
   3031   done
   3032 fi
   3033 if test -z "$CC"; then
   3034   ac_ct_CC=$CC
   3035   for ac_prog in cl.exe
   3036 do
   3037   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3038 set dummy $ac_prog; ac_word=$2
   3039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3040 $as_echo_n "checking for $ac_word... " >&6; }
   3041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   if test -n "$ac_ct_CC"; then
   3045   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3046 else
   3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3048 for as_dir in $PATH
   3049 do
   3050   IFS=$as_save_IFS
   3051   test -z "$as_dir" && as_dir=.
   3052   for ac_exec_ext in '' $ac_executable_extensions; do
   3053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3054     ac_cv_prog_ac_ct_CC="$ac_prog"
   3055     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3056     break 2
   3057   fi
   3058 done
   3059 done
   3060 IFS=$as_save_IFS
   3061 
   3062 fi
   3063 fi
   3064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3065 if test -n "$ac_ct_CC"; then
   3066   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3067 $as_echo "$ac_ct_CC" >&6; }
   3068 else
   3069   { $as_echo "$as_me:$LINENO: result: no" >&5
   3070 $as_echo "no" >&6; }
   3071 fi
   3072 
   3073 
   3074   test -n "$ac_ct_CC" && break
   3075 done
   3076 
   3077   if test "x$ac_ct_CC" = x; then
   3078     CC=""
   3079   else
   3080     case $cross_compiling:$ac_tool_warned in
   3081 yes:)
   3082 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3084 ac_tool_warned=yes ;;
   3085 esac
   3086     CC=$ac_ct_CC
   3087   fi
   3088 fi
   3089 
   3090 fi
   3091 
   3092 
   3093 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3095 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3096 See \`config.log' for more details." >&5
   3097 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3098 See \`config.log' for more details." >&2;}
   3099    { (exit 1); exit 1; }; }; }
   3100 
   3101 # Provide some information about the compiler.
   3102 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3103 set X $ac_compile
   3104 ac_compiler=$2
   3105 { (ac_try="$ac_compiler --version >&5"
   3106 case "(($ac_try" in
   3107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3108   *) ac_try_echo=$ac_try;;
   3109 esac
   3110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3111 $as_echo "$ac_try_echo") >&5
   3112   (eval "$ac_compiler --version >&5") 2>&5
   3113   ac_status=$?
   3114   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3115   (exit $ac_status); }
   3116 { (ac_try="$ac_compiler -v >&5"
   3117 case "(($ac_try" in
   3118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3119   *) ac_try_echo=$ac_try;;
   3120 esac
   3121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3122 $as_echo "$ac_try_echo") >&5
   3123   (eval "$ac_compiler -v >&5") 2>&5
   3124   ac_status=$?
   3125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3126   (exit $ac_status); }
   3127 { (ac_try="$ac_compiler -V >&5"
   3128 case "(($ac_try" in
   3129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3130   *) ac_try_echo=$ac_try;;
   3131 esac
   3132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3133 $as_echo "$ac_try_echo") >&5
   3134   (eval "$ac_compiler -V >&5") 2>&5
   3135   ac_status=$?
   3136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3137   (exit $ac_status); }
   3138 
   3139 cat >conftest.$ac_ext <<_ACEOF
   3140 /* confdefs.h.  */
   3141 _ACEOF
   3142 cat confdefs.h >>conftest.$ac_ext
   3143 cat >>conftest.$ac_ext <<_ACEOF
   3144 /* end confdefs.h.  */
   3145 
   3146 int
   3147 main ()
   3148 {
   3149 
   3150   ;
   3151   return 0;
   3152 }
   3153 _ACEOF
   3154 ac_clean_files_save=$ac_clean_files
   3155 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3156 # Try to create an executable without -o first, disregard a.out.
   3157 # It will help us diagnose broken compilers, and finding out an intuition
   3158 # of exeext.
   3159 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3160 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3161 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3162 
   3163 # The possible output files:
   3164 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3165 
   3166 ac_rmfiles=
   3167 for ac_file in $ac_files
   3168 do
   3169   case $ac_file in
   3170     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3171     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3172   esac
   3173 done
   3174 rm -f $ac_rmfiles
   3175 
   3176 if { (ac_try="$ac_link_default"
   3177 case "(($ac_try" in
   3178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3179   *) ac_try_echo=$ac_try;;
   3180 esac
   3181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3182 $as_echo "$ac_try_echo") >&5
   3183   (eval "$ac_link_default") 2>&5
   3184   ac_status=$?
   3185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3186   (exit $ac_status); }; then
   3187   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3188 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3189 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3190 # so that the user can short-circuit this test for compilers unknown to
   3191 # Autoconf.
   3192 for ac_file in $ac_files ''
   3193 do
   3194   test -f "$ac_file" || continue
   3195   case $ac_file in
   3196     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3197 	;;
   3198     [ab].out )
   3199 	# We found the default executable, but exeext='' is most
   3200 	# certainly right.
   3201 	break;;
   3202     *.* )
   3203         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3204 	then :; else
   3205 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3206 	fi
   3207 	# We set ac_cv_exeext here because the later test for it is not
   3208 	# safe: cross compilers may not add the suffix if given an `-o'
   3209 	# argument, so we may need to know it at that point already.
   3210 	# Even if this section looks crufty: it has the advantage of
   3211 	# actually working.
   3212 	break;;
   3213     * )
   3214 	break;;
   3215   esac
   3216 done
   3217 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3218 
   3219 else
   3220   ac_file=''
   3221 fi
   3222 
   3223 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3224 $as_echo "$ac_file" >&6; }
   3225 if test -z "$ac_file"; then
   3226   $as_echo "$as_me: failed program was:" >&5
   3227 sed 's/^/| /' conftest.$ac_ext >&5
   3228 
   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: C compiler cannot create executables
   3232 See \`config.log' for more details." >&5
   3233 $as_echo "$as_me: error: C compiler cannot create executables
   3234 See \`config.log' for more details." >&2;}
   3235    { (exit 77); exit 77; }; }; }
   3236 fi
   3237 
   3238 ac_exeext=$ac_cv_exeext
   3239 
   3240 # Check that the compiler produces executables we can run.  If not, either
   3241 # the compiler is broken, or we cross compile.
   3242 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3243 $as_echo_n "checking whether the C compiler works... " >&6; }
   3244 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3245 # If not cross compiling, check that we can run a simple program.
   3246 if test "$cross_compiling" != yes; then
   3247   if { ac_try='./$ac_file'
   3248   { (case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3253 $as_echo "$ac_try_echo") >&5
   3254   (eval "$ac_try") 2>&5
   3255   ac_status=$?
   3256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3257   (exit $ac_status); }; }; then
   3258     cross_compiling=no
   3259   else
   3260     if test "$cross_compiling" = maybe; then
   3261 	cross_compiling=yes
   3262     else
   3263 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3265 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3266 If you meant to cross compile, use \`--host'.
   3267 See \`config.log' for more details." >&5
   3268 $as_echo "$as_me: error: cannot run C compiled programs.
   3269 If you meant to cross compile, use \`--host'.
   3270 See \`config.log' for more details." >&2;}
   3271    { (exit 1); exit 1; }; }; }
   3272     fi
   3273   fi
   3274 fi
   3275 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3276 $as_echo "yes" >&6; }
   3277 
   3278 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3279 ac_clean_files=$ac_clean_files_save
   3280 # Check that the compiler produces executables we can run.  If not, either
   3281 # the compiler is broken, or we cross compile.
   3282 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3283 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3284 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3285 $as_echo "$cross_compiling" >&6; }
   3286 
   3287 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3288 $as_echo_n "checking for suffix of executables... " >&6; }
   3289 if { (ac_try="$ac_link"
   3290 case "(($ac_try" in
   3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3292   *) ac_try_echo=$ac_try;;
   3293 esac
   3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3295 $as_echo "$ac_try_echo") >&5
   3296   (eval "$ac_link") 2>&5
   3297   ac_status=$?
   3298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3299   (exit $ac_status); }; then
   3300   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3301 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3302 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3303 # `rm'.
   3304 for ac_file in conftest.exe conftest conftest.*; do
   3305   test -f "$ac_file" || continue
   3306   case $ac_file in
   3307     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3308     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3309 	  break;;
   3310     * ) break;;
   3311   esac
   3312 done
   3313 else
   3314   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3316 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3317 See \`config.log' for more details." >&5
   3318 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3319 See \`config.log' for more details." >&2;}
   3320    { (exit 1); exit 1; }; }; }
   3321 fi
   3322 
   3323 rm -f conftest$ac_cv_exeext
   3324 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3325 $as_echo "$ac_cv_exeext" >&6; }
   3326 
   3327 rm -f conftest.$ac_ext
   3328 EXEEXT=$ac_cv_exeext
   3329 ac_exeext=$EXEEXT
   3330 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3331 $as_echo_n "checking for suffix of object files... " >&6; }
   3332 if test "${ac_cv_objext+set}" = set; then
   3333   $as_echo_n "(cached) " >&6
   3334 else
   3335   cat >conftest.$ac_ext <<_ACEOF
   3336 /* confdefs.h.  */
   3337 _ACEOF
   3338 cat confdefs.h >>conftest.$ac_ext
   3339 cat >>conftest.$ac_ext <<_ACEOF
   3340 /* end confdefs.h.  */
   3341 
   3342 int
   3343 main ()
   3344 {
   3345 
   3346   ;
   3347   return 0;
   3348 }
   3349 _ACEOF
   3350 rm -f conftest.o conftest.obj
   3351 if { (ac_try="$ac_compile"
   3352 case "(($ac_try" in
   3353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3354   *) ac_try_echo=$ac_try;;
   3355 esac
   3356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3357 $as_echo "$ac_try_echo") >&5
   3358   (eval "$ac_compile") 2>&5
   3359   ac_status=$?
   3360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3361   (exit $ac_status); }; then
   3362   for ac_file in conftest.o conftest.obj conftest.*; do
   3363   test -f "$ac_file" || continue;
   3364   case $ac_file in
   3365     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3366     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3367        break;;
   3368   esac
   3369 done
   3370 else
   3371   $as_echo "$as_me: failed program was:" >&5
   3372 sed 's/^/| /' conftest.$ac_ext >&5
   3373 
   3374 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3376 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3377 See \`config.log' for more details." >&5
   3378 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3379 See \`config.log' for more details." >&2;}
   3380    { (exit 1); exit 1; }; }; }
   3381 fi
   3382 
   3383 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3384 fi
   3385 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3386 $as_echo "$ac_cv_objext" >&6; }
   3387 OBJEXT=$ac_cv_objext
   3388 ac_objext=$OBJEXT
   3389 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3390 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3391 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3392   $as_echo_n "(cached) " >&6
   3393 else
   3394   cat >conftest.$ac_ext <<_ACEOF
   3395 /* confdefs.h.  */
   3396 _ACEOF
   3397 cat confdefs.h >>conftest.$ac_ext
   3398 cat >>conftest.$ac_ext <<_ACEOF
   3399 /* end confdefs.h.  */
   3400 
   3401 int
   3402 main ()
   3403 {
   3404 #ifndef __GNUC__
   3405        choke me
   3406 #endif
   3407 
   3408   ;
   3409   return 0;
   3410 }
   3411 _ACEOF
   3412 rm -f conftest.$ac_objext
   3413 if { (ac_try="$ac_compile"
   3414 case "(($ac_try" in
   3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3416   *) ac_try_echo=$ac_try;;
   3417 esac
   3418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3419 $as_echo "$ac_try_echo") >&5
   3420   (eval "$ac_compile") 2>conftest.er1
   3421   ac_status=$?
   3422   grep -v '^ *+' conftest.er1 >conftest.err
   3423   rm -f conftest.er1
   3424   cat conftest.err >&5
   3425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3426   (exit $ac_status); } && {
   3427 	 test -z "$ac_c_werror_flag" ||
   3428 	 test ! -s conftest.err
   3429        } && test -s conftest.$ac_objext; then
   3430   ac_compiler_gnu=yes
   3431 else
   3432   $as_echo "$as_me: failed program was:" >&5
   3433 sed 's/^/| /' conftest.$ac_ext >&5
   3434 
   3435 	ac_compiler_gnu=no
   3436 fi
   3437 
   3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3440 
   3441 fi
   3442 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3444 if test $ac_compiler_gnu = yes; then
   3445   GCC=yes
   3446 else
   3447   GCC=
   3448 fi
   3449 ac_test_CFLAGS=${CFLAGS+set}
   3450 ac_save_CFLAGS=$CFLAGS
   3451 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3453 if test "${ac_cv_prog_cc_g+set}" = set; then
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   ac_save_c_werror_flag=$ac_c_werror_flag
   3457    ac_c_werror_flag=yes
   3458    ac_cv_prog_cc_g=no
   3459    CFLAGS="-g"
   3460    cat >conftest.$ac_ext <<_ACEOF
   3461 /* confdefs.h.  */
   3462 _ACEOF
   3463 cat confdefs.h >>conftest.$ac_ext
   3464 cat >>conftest.$ac_ext <<_ACEOF
   3465 /* end confdefs.h.  */
   3466 
   3467 int
   3468 main ()
   3469 {
   3470 
   3471   ;
   3472   return 0;
   3473 }
   3474 _ACEOF
   3475 rm -f conftest.$ac_objext
   3476 if { (ac_try="$ac_compile"
   3477 case "(($ac_try" in
   3478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3479   *) ac_try_echo=$ac_try;;
   3480 esac
   3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3482 $as_echo "$ac_try_echo") >&5
   3483   (eval "$ac_compile") 2>conftest.er1
   3484   ac_status=$?
   3485   grep -v '^ *+' conftest.er1 >conftest.err
   3486   rm -f conftest.er1
   3487   cat conftest.err >&5
   3488   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3489   (exit $ac_status); } && {
   3490 	 test -z "$ac_c_werror_flag" ||
   3491 	 test ! -s conftest.err
   3492        } && test -s conftest.$ac_objext; then
   3493   ac_cv_prog_cc_g=yes
   3494 else
   3495   $as_echo "$as_me: failed program was:" >&5
   3496 sed 's/^/| /' conftest.$ac_ext >&5
   3497 
   3498 	CFLAGS=""
   3499       cat >conftest.$ac_ext <<_ACEOF
   3500 /* confdefs.h.  */
   3501 _ACEOF
   3502 cat confdefs.h >>conftest.$ac_ext
   3503 cat >>conftest.$ac_ext <<_ACEOF
   3504 /* end confdefs.h.  */
   3505 
   3506 int
   3507 main ()
   3508 {
   3509 
   3510   ;
   3511   return 0;
   3512 }
   3513 _ACEOF
   3514 rm -f conftest.$ac_objext
   3515 if { (ac_try="$ac_compile"
   3516 case "(($ac_try" in
   3517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3518   *) ac_try_echo=$ac_try;;
   3519 esac
   3520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3521 $as_echo "$ac_try_echo") >&5
   3522   (eval "$ac_compile") 2>conftest.er1
   3523   ac_status=$?
   3524   grep -v '^ *+' conftest.er1 >conftest.err
   3525   rm -f conftest.er1
   3526   cat conftest.err >&5
   3527   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3528   (exit $ac_status); } && {
   3529 	 test -z "$ac_c_werror_flag" ||
   3530 	 test ! -s conftest.err
   3531        } && test -s conftest.$ac_objext; then
   3532   :
   3533 else
   3534   $as_echo "$as_me: failed program was:" >&5
   3535 sed 's/^/| /' conftest.$ac_ext >&5
   3536 
   3537 	ac_c_werror_flag=$ac_save_c_werror_flag
   3538 	 CFLAGS="-g"
   3539 	 cat >conftest.$ac_ext <<_ACEOF
   3540 /* confdefs.h.  */
   3541 _ACEOF
   3542 cat confdefs.h >>conftest.$ac_ext
   3543 cat >>conftest.$ac_ext <<_ACEOF
   3544 /* end confdefs.h.  */
   3545 
   3546 int
   3547 main ()
   3548 {
   3549 
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 rm -f conftest.$ac_objext
   3555 if { (ac_try="$ac_compile"
   3556 case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3561 $as_echo "$ac_try_echo") >&5
   3562   (eval "$ac_compile") 2>conftest.er1
   3563   ac_status=$?
   3564   grep -v '^ *+' conftest.er1 >conftest.err
   3565   rm -f conftest.er1
   3566   cat conftest.err >&5
   3567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3568   (exit $ac_status); } && {
   3569 	 test -z "$ac_c_werror_flag" ||
   3570 	 test ! -s conftest.err
   3571        } && test -s conftest.$ac_objext; then
   3572   ac_cv_prog_cc_g=yes
   3573 else
   3574   $as_echo "$as_me: failed program was:" >&5
   3575 sed 's/^/| /' conftest.$ac_ext >&5
   3576 
   3577 
   3578 fi
   3579 
   3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3581 fi
   3582 
   3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3584 fi
   3585 
   3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3587    ac_c_werror_flag=$ac_save_c_werror_flag
   3588 fi
   3589 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3590 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3591 if test "$ac_test_CFLAGS" = set; then
   3592   CFLAGS=$ac_save_CFLAGS
   3593 elif test $ac_cv_prog_cc_g = yes; then
   3594   if test "$GCC" = yes; then
   3595     CFLAGS="-g -O2"
   3596   else
   3597     CFLAGS="-g"
   3598   fi
   3599 else
   3600   if test "$GCC" = yes; then
   3601     CFLAGS="-O2"
   3602   else
   3603     CFLAGS=
   3604   fi
   3605 fi
   3606 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3607 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3608 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3609   $as_echo_n "(cached) " >&6
   3610 else
   3611   ac_cv_prog_cc_c89=no
   3612 ac_save_CC=$CC
   3613 cat >conftest.$ac_ext <<_ACEOF
   3614 /* confdefs.h.  */
   3615 _ACEOF
   3616 cat confdefs.h >>conftest.$ac_ext
   3617 cat >>conftest.$ac_ext <<_ACEOF
   3618 /* end confdefs.h.  */
   3619 #include <stdarg.h>
   3620 #include <stdio.h>
   3621 #include <sys/types.h>
   3622 #include <sys/stat.h>
   3623 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3624 struct buf { int x; };
   3625 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3626 static char *e (p, i)
   3627      char **p;
   3628      int i;
   3629 {
   3630   return p[i];
   3631 }
   3632 static char *f (char * (*g) (char **, int), char **p, ...)
   3633 {
   3634   char *s;
   3635   va_list v;
   3636   va_start (v,p);
   3637   s = g (p, va_arg (v,int));
   3638   va_end (v);
   3639   return s;
   3640 }
   3641 
   3642 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3643    function prototypes and stuff, but not '\xHH' hex character constants.
   3644    These don't provoke an error unfortunately, instead are silently treated
   3645    as 'x'.  The following induces an error, until -std is added to get
   3646    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3647    array size at least.  It's necessary to write '\x00'==0 to get something
   3648    that's true only with -std.  */
   3649 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3650 
   3651 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3652    inside strings and character constants.  */
   3653 #define FOO(x) 'x'
   3654 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3655 
   3656 int test (int i, double x);
   3657 struct s1 {int (*f) (int a);};
   3658 struct s2 {int (*f) (double a);};
   3659 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3660 int argc;
   3661 char **argv;
   3662 int
   3663 main ()
   3664 {
   3665 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3666   ;
   3667   return 0;
   3668 }
   3669 _ACEOF
   3670 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3671 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3672 do
   3673   CC="$ac_save_CC $ac_arg"
   3674   rm -f conftest.$ac_objext
   3675 if { (ac_try="$ac_compile"
   3676 case "(($ac_try" in
   3677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3678   *) ac_try_echo=$ac_try;;
   3679 esac
   3680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3681 $as_echo "$ac_try_echo") >&5
   3682   (eval "$ac_compile") 2>conftest.er1
   3683   ac_status=$?
   3684   grep -v '^ *+' conftest.er1 >conftest.err
   3685   rm -f conftest.er1
   3686   cat conftest.err >&5
   3687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3688   (exit $ac_status); } && {
   3689 	 test -z "$ac_c_werror_flag" ||
   3690 	 test ! -s conftest.err
   3691        } && test -s conftest.$ac_objext; then
   3692   ac_cv_prog_cc_c89=$ac_arg
   3693 else
   3694   $as_echo "$as_me: failed program was:" >&5
   3695 sed 's/^/| /' conftest.$ac_ext >&5
   3696 
   3697 
   3698 fi
   3699 
   3700 rm -f core conftest.err conftest.$ac_objext
   3701   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3702 done
   3703 rm -f conftest.$ac_ext
   3704 CC=$ac_save_CC
   3705 
   3706 fi
   3707 # AC_CACHE_VAL
   3708 case "x$ac_cv_prog_cc_c89" in
   3709   x)
   3710     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3711 $as_echo "none needed" >&6; } ;;
   3712   xno)
   3713     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3714 $as_echo "unsupported" >&6; } ;;
   3715   *)
   3716     CC="$CC $ac_cv_prog_cc_c89"
   3717     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3718 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3719 esac
   3720 
   3721 
   3722 ac_ext=c
   3723 ac_cpp='$CPP $CPPFLAGS'
   3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3727 
   3728 depcc="$CC"   am_compiler_list=
   3729 
   3730 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3731 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3732 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3733   $as_echo_n "(cached) " >&6
   3734 else
   3735   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3736   # We make a subdir and do the tests there.  Otherwise we can end up
   3737   # making bogus files that we don't know about and never remove.  For
   3738   # instance it was reported that on HP-UX the gcc test will end up
   3739   # making a dummy file named `D' -- because `-MD' means `put the output
   3740   # in D'.
   3741   mkdir conftest.dir
   3742   # Copy depcomp to subdir because otherwise we won't find it if we're
   3743   # using a relative directory.
   3744   cp "$am_depcomp" conftest.dir
   3745   cd conftest.dir
   3746   # We will build objects and dependencies in a subdirectory because
   3747   # it helps to detect inapplicable dependency modes.  For instance
   3748   # both Tru64's cc and ICC support -MD to output dependencies as a
   3749   # side effect of compilation, but ICC will put the dependencies in
   3750   # the current directory while Tru64 will put them in the object
   3751   # directory.
   3752   mkdir sub
   3753 
   3754   am_cv_CC_dependencies_compiler_type=none
   3755   if test "$am_compiler_list" = ""; then
   3756      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3757   fi
   3758   for depmode in $am_compiler_list; do
   3759     # Setup a source with many dependencies, because some compilers
   3760     # like to wrap large dependency lists on column 80 (with \), and
   3761     # we should not choose a depcomp mode which is confused by this.
   3762     #
   3763     # We need to recreate these files for each test, as the compiler may
   3764     # overwrite some of them when testing with obscure command lines.
   3765     # This happens at least with the AIX C compiler.
   3766     : > sub/conftest.c
   3767     for i in 1 2 3 4 5 6; do
   3768       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3769       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3770       # Solaris 8's {/usr,}/bin/sh.
   3771       touch sub/conftst$i.h
   3772     done
   3773     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3774 
   3775     case $depmode in
   3776     nosideeffect)
   3777       # after this tag, mechanisms are not by side-effect, so they'll
   3778       # only be used when explicitly requested
   3779       if test "x$enable_dependency_tracking" = xyes; then
   3780 	continue
   3781       else
   3782 	break
   3783       fi
   3784       ;;
   3785     none) break ;;
   3786     esac
   3787     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3788     # mode.  It turns out that the SunPro C++ compiler does not properly
   3789     # handle `-M -o', and we need to detect this.
   3790     if depmode=$depmode \
   3791        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3792        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3793        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3794          >/dev/null 2>conftest.err &&
   3795        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3796        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3797        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3798        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3799       # icc doesn't choke on unknown options, it will just issue warnings
   3800       # or remarks (even with -Werror).  So we grep stderr for any message
   3801       # that says an option was ignored or not supported.
   3802       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3803       #   icc: Command line warning: ignoring option '-M'; no argument required
   3804       # The diagnosis changed in icc 8.0:
   3805       #   icc: Command line remark: option '-MP' not supported
   3806       if (grep 'ignoring option' conftest.err ||
   3807           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3808         am_cv_CC_dependencies_compiler_type=$depmode
   3809         break
   3810       fi
   3811     fi
   3812   done
   3813 
   3814   cd ..
   3815   rm -rf conftest.dir
   3816 else
   3817   am_cv_CC_dependencies_compiler_type=none
   3818 fi
   3819 
   3820 fi
   3821 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3822 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3823 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3824 
   3825  if
   3826   test "x$enable_dependency_tracking" != xno \
   3827   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3828   am__fastdepCC_TRUE=
   3829   am__fastdepCC_FALSE='#'
   3830 else
   3831   am__fastdepCC_TRUE='#'
   3832   am__fastdepCC_FALSE=
   3833 fi
   3834 
   3835 
   3836 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3837 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3838 if test "${ac_cv_path_SED+set}" = set; then
   3839   $as_echo_n "(cached) " >&6
   3840 else
   3841             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3842      for ac_i in 1 2 3 4 5 6 7; do
   3843        ac_script="$ac_script$as_nl$ac_script"
   3844      done
   3845      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3846      $as_unset ac_script || ac_script=
   3847      if test -z "$SED"; then
   3848   ac_path_SED_found=false
   3849   # Loop through the user's path and test for each of PROGNAME-LIST
   3850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3851 for as_dir in $PATH
   3852 do
   3853   IFS=$as_save_IFS
   3854   test -z "$as_dir" && as_dir=.
   3855   for ac_prog in sed gsed; do
   3856     for ac_exec_ext in '' $ac_executable_extensions; do
   3857       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3858       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3859 # Check for GNU ac_path_SED and select it if it is found.
   3860   # Check for GNU $ac_path_SED
   3861 case `"$ac_path_SED" --version 2>&1` in
   3862 *GNU*)
   3863   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3864 *)
   3865   ac_count=0
   3866   $as_echo_n 0123456789 >"conftest.in"
   3867   while :
   3868   do
   3869     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3870     mv "conftest.tmp" "conftest.in"
   3871     cp "conftest.in" "conftest.nl"
   3872     $as_echo '' >> "conftest.nl"
   3873     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3874     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3875     ac_count=`expr $ac_count + 1`
   3876     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3877       # Best one so far, save it but keep looking for a better one
   3878       ac_cv_path_SED="$ac_path_SED"
   3879       ac_path_SED_max=$ac_count
   3880     fi
   3881     # 10*(2^10) chars as input seems more than enough
   3882     test $ac_count -gt 10 && break
   3883   done
   3884   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3885 esac
   3886 
   3887       $ac_path_SED_found && break 3
   3888     done
   3889   done
   3890 done
   3891 IFS=$as_save_IFS
   3892   if test -z "$ac_cv_path_SED"; then
   3893     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3894 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3895    { (exit 1); exit 1; }; }
   3896   fi
   3897 else
   3898   ac_cv_path_SED=$SED
   3899 fi
   3900 
   3901 fi
   3902 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3903 $as_echo "$ac_cv_path_SED" >&6; }
   3904  SED="$ac_cv_path_SED"
   3905   rm -f conftest.sed
   3906 
   3907 test -z "$SED" && SED=sed
   3908 Xsed="$SED -e 1s/^X//"
   3909 
   3910 
   3911 
   3912 
   3913 
   3914 
   3915 
   3916 
   3917 
   3918 
   3919 
   3920 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3921 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3922 if test "${ac_cv_path_GREP+set}" = set; then
   3923   $as_echo_n "(cached) " >&6
   3924 else
   3925   if test -z "$GREP"; then
   3926   ac_path_GREP_found=false
   3927   # Loop through the user's path and test for each of PROGNAME-LIST
   3928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3929 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3930 do
   3931   IFS=$as_save_IFS
   3932   test -z "$as_dir" && as_dir=.
   3933   for ac_prog in grep ggrep; do
   3934     for ac_exec_ext in '' $ac_executable_extensions; do
   3935       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3936       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3937 # Check for GNU ac_path_GREP and select it if it is found.
   3938   # Check for GNU $ac_path_GREP
   3939 case `"$ac_path_GREP" --version 2>&1` in
   3940 *GNU*)
   3941   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3942 *)
   3943   ac_count=0
   3944   $as_echo_n 0123456789 >"conftest.in"
   3945   while :
   3946   do
   3947     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3948     mv "conftest.tmp" "conftest.in"
   3949     cp "conftest.in" "conftest.nl"
   3950     $as_echo 'GREP' >> "conftest.nl"
   3951     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3952     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3953     ac_count=`expr $ac_count + 1`
   3954     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3955       # Best one so far, save it but keep looking for a better one
   3956       ac_cv_path_GREP="$ac_path_GREP"
   3957       ac_path_GREP_max=$ac_count
   3958     fi
   3959     # 10*(2^10) chars as input seems more than enough
   3960     test $ac_count -gt 10 && break
   3961   done
   3962   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3963 esac
   3964 
   3965       $ac_path_GREP_found && break 3
   3966     done
   3967   done
   3968 done
   3969 IFS=$as_save_IFS
   3970   if test -z "$ac_cv_path_GREP"; then
   3971     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3972 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3973    { (exit 1); exit 1; }; }
   3974   fi
   3975 else
   3976   ac_cv_path_GREP=$GREP
   3977 fi
   3978 
   3979 fi
   3980 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3981 $as_echo "$ac_cv_path_GREP" >&6; }
   3982  GREP="$ac_cv_path_GREP"
   3983 
   3984 
   3985 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3986 $as_echo_n "checking for egrep... " >&6; }
   3987 if test "${ac_cv_path_EGREP+set}" = set; then
   3988   $as_echo_n "(cached) " >&6
   3989 else
   3990   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3991    then ac_cv_path_EGREP="$GREP -E"
   3992    else
   3993      if test -z "$EGREP"; then
   3994   ac_path_EGREP_found=false
   3995   # Loop through the user's path and test for each of PROGNAME-LIST
   3996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3998 do
   3999   IFS=$as_save_IFS
   4000   test -z "$as_dir" && as_dir=.
   4001   for ac_prog in egrep; do
   4002     for ac_exec_ext in '' $ac_executable_extensions; do
   4003       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4004       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4005 # Check for GNU ac_path_EGREP and select it if it is found.
   4006   # Check for GNU $ac_path_EGREP
   4007 case `"$ac_path_EGREP" --version 2>&1` in
   4008 *GNU*)
   4009   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4010 *)
   4011   ac_count=0
   4012   $as_echo_n 0123456789 >"conftest.in"
   4013   while :
   4014   do
   4015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4016     mv "conftest.tmp" "conftest.in"
   4017     cp "conftest.in" "conftest.nl"
   4018     $as_echo 'EGREP' >> "conftest.nl"
   4019     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4021     ac_count=`expr $ac_count + 1`
   4022     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4023       # Best one so far, save it but keep looking for a better one
   4024       ac_cv_path_EGREP="$ac_path_EGREP"
   4025       ac_path_EGREP_max=$ac_count
   4026     fi
   4027     # 10*(2^10) chars as input seems more than enough
   4028     test $ac_count -gt 10 && break
   4029   done
   4030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4031 esac
   4032 
   4033       $ac_path_EGREP_found && break 3
   4034     done
   4035   done
   4036 done
   4037 IFS=$as_save_IFS
   4038   if test -z "$ac_cv_path_EGREP"; then
   4039     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4040 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4041    { (exit 1); exit 1; }; }
   4042   fi
   4043 else
   4044   ac_cv_path_EGREP=$EGREP
   4045 fi
   4046 
   4047    fi
   4048 fi
   4049 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4050 $as_echo "$ac_cv_path_EGREP" >&6; }
   4051  EGREP="$ac_cv_path_EGREP"
   4052 
   4053 
   4054 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4055 $as_echo_n "checking for fgrep... " >&6; }
   4056 if test "${ac_cv_path_FGREP+set}" = set; then
   4057   $as_echo_n "(cached) " >&6
   4058 else
   4059   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4060    then ac_cv_path_FGREP="$GREP -F"
   4061    else
   4062      if test -z "$FGREP"; then
   4063   ac_path_FGREP_found=false
   4064   # Loop through the user's path and test for each of PROGNAME-LIST
   4065   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4066 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4067 do
   4068   IFS=$as_save_IFS
   4069   test -z "$as_dir" && as_dir=.
   4070   for ac_prog in fgrep; do
   4071     for ac_exec_ext in '' $ac_executable_extensions; do
   4072       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4073       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4074 # Check for GNU ac_path_FGREP and select it if it is found.
   4075   # Check for GNU $ac_path_FGREP
   4076 case `"$ac_path_FGREP" --version 2>&1` in
   4077 *GNU*)
   4078   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4079 *)
   4080   ac_count=0
   4081   $as_echo_n 0123456789 >"conftest.in"
   4082   while :
   4083   do
   4084     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4085     mv "conftest.tmp" "conftest.in"
   4086     cp "conftest.in" "conftest.nl"
   4087     $as_echo 'FGREP' >> "conftest.nl"
   4088     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4089     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4090     ac_count=`expr $ac_count + 1`
   4091     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4092       # Best one so far, save it but keep looking for a better one
   4093       ac_cv_path_FGREP="$ac_path_FGREP"
   4094       ac_path_FGREP_max=$ac_count
   4095     fi
   4096     # 10*(2^10) chars as input seems more than enough
   4097     test $ac_count -gt 10 && break
   4098   done
   4099   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4100 esac
   4101 
   4102       $ac_path_FGREP_found && break 3
   4103     done
   4104   done
   4105 done
   4106 IFS=$as_save_IFS
   4107   if test -z "$ac_cv_path_FGREP"; then
   4108     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4109 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4110    { (exit 1); exit 1; }; }
   4111   fi
   4112 else
   4113   ac_cv_path_FGREP=$FGREP
   4114 fi
   4115 
   4116    fi
   4117 fi
   4118 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4119 $as_echo "$ac_cv_path_FGREP" >&6; }
   4120  FGREP="$ac_cv_path_FGREP"
   4121 
   4122 
   4123 test -z "$GREP" && GREP=grep
   4124 
   4125 
   4126 
   4127 
   4128 
   4129 
   4130 
   4131 
   4132 
   4133 
   4134 
   4135 
   4136 
   4137 
   4138 
   4139 
   4140 
   4141 
   4142 
   4143 # Check whether --with-gnu-ld was given.
   4144 if test "${with_gnu_ld+set}" = set; then
   4145   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4146 else
   4147   with_gnu_ld=no
   4148 fi
   4149 
   4150 ac_prog=ld
   4151 if test "$GCC" = yes; then
   4152   # Check if gcc -print-prog-name=ld gives a path.
   4153   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4154 $as_echo_n "checking for ld used by $CC... " >&6; }
   4155   case $host in
   4156   *-*-mingw*)
   4157     # gcc leaves a trailing carriage return which upsets mingw
   4158     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4159   *)
   4160     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4161   esac
   4162   case $ac_prog in
   4163     # Accept absolute paths.
   4164     [\\/]* | ?:[\\/]*)
   4165       re_direlt='/[^/][^/]*/\.\./'
   4166       # Canonicalize the pathname of ld
   4167       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4168       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4169 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4170       done
   4171       test -z "$LD" && LD="$ac_prog"
   4172       ;;
   4173   "")
   4174     # If it fails, then pretend we aren't using GCC.
   4175     ac_prog=ld
   4176     ;;
   4177   *)
   4178     # If it is relative, then search for the first ld in PATH.
   4179     with_gnu_ld=unknown
   4180     ;;
   4181   esac
   4182 elif test "$with_gnu_ld" = yes; then
   4183   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4184 $as_echo_n "checking for GNU ld... " >&6; }
   4185 else
   4186   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4187 $as_echo_n "checking for non-GNU ld... " >&6; }
   4188 fi
   4189 if test "${lt_cv_path_LD+set}" = set; then
   4190   $as_echo_n "(cached) " >&6
   4191 else
   4192   if test -z "$LD"; then
   4193   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4194   for ac_dir in $PATH; do
   4195     IFS="$lt_save_ifs"
   4196     test -z "$ac_dir" && ac_dir=.
   4197     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4198       lt_cv_path_LD="$ac_dir/$ac_prog"
   4199       # Check to see if the program is GNU ld.  I'd rather use --version,
   4200       # but apparently some variants of GNU ld only accept -v.
   4201       # Break only if it was the GNU/non-GNU ld that we prefer.
   4202       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4203       *GNU* | *'with BFD'*)
   4204 	test "$with_gnu_ld" != no && break
   4205 	;;
   4206       *)
   4207 	test "$with_gnu_ld" != yes && break
   4208 	;;
   4209       esac
   4210     fi
   4211   done
   4212   IFS="$lt_save_ifs"
   4213 else
   4214   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4215 fi
   4216 fi
   4217 
   4218 LD="$lt_cv_path_LD"
   4219 if test -n "$LD"; then
   4220   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4221 $as_echo "$LD" >&6; }
   4222 else
   4223   { $as_echo "$as_me:$LINENO: result: no" >&5
   4224 $as_echo "no" >&6; }
   4225 fi
   4226 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4227 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4228    { (exit 1); exit 1; }; }
   4229 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4230 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4231 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4232   $as_echo_n "(cached) " >&6
   4233 else
   4234   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4235 case `$LD -v 2>&1 </dev/null` in
   4236 *GNU* | *'with BFD'*)
   4237   lt_cv_prog_gnu_ld=yes
   4238   ;;
   4239 *)
   4240   lt_cv_prog_gnu_ld=no
   4241   ;;
   4242 esac
   4243 fi
   4244 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4245 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4246 with_gnu_ld=$lt_cv_prog_gnu_ld
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 
   4256 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4257 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4258 if test "${lt_cv_path_NM+set}" = set; then
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   if test -n "$NM"; then
   4262   # Let the user override the test.
   4263   lt_cv_path_NM="$NM"
   4264 else
   4265   lt_nm_to_check="${ac_tool_prefix}nm"
   4266   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4267     lt_nm_to_check="$lt_nm_to_check nm"
   4268   fi
   4269   for lt_tmp_nm in $lt_nm_to_check; do
   4270     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4271     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4272       IFS="$lt_save_ifs"
   4273       test -z "$ac_dir" && ac_dir=.
   4274       tmp_nm="$ac_dir/$lt_tmp_nm"
   4275       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4276 	# Check to see if the nm accepts a BSD-compat flag.
   4277 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4278 	#   nm: unknown option "B" ignored
   4279 	# Tru64's nm complains that /dev/null is an invalid object file
   4280 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4281 	*/dev/null* | *'Invalid file or object type'*)
   4282 	  lt_cv_path_NM="$tmp_nm -B"
   4283 	  break
   4284 	  ;;
   4285 	*)
   4286 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4287 	  */dev/null*)
   4288 	    lt_cv_path_NM="$tmp_nm -p"
   4289 	    break
   4290 	    ;;
   4291 	  *)
   4292 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4293 	    continue # so that we can try to find one that supports BSD flags
   4294 	    ;;
   4295 	  esac
   4296 	  ;;
   4297 	esac
   4298       fi
   4299     done
   4300     IFS="$lt_save_ifs"
   4301   done
   4302   : ${lt_cv_path_NM=no}
   4303 fi
   4304 fi
   4305 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4306 $as_echo "$lt_cv_path_NM" >&6; }
   4307 if test "$lt_cv_path_NM" != "no"; then
   4308   NM="$lt_cv_path_NM"
   4309 else
   4310   # Didn't find any BSD compatible name lister, look for dumpbin.
   4311   if test -n "$ac_tool_prefix"; then
   4312   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4313   do
   4314     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4317 $as_echo_n "checking for $ac_word... " >&6; }
   4318 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   if test -n "$DUMPBIN"; then
   4322   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4323 else
   4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4325 for as_dir in $PATH
   4326 do
   4327   IFS=$as_save_IFS
   4328   test -z "$as_dir" && as_dir=.
   4329   for ac_exec_ext in '' $ac_executable_extensions; do
   4330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4331     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4332     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4333     break 2
   4334   fi
   4335 done
   4336 done
   4337 IFS=$as_save_IFS
   4338 
   4339 fi
   4340 fi
   4341 DUMPBIN=$ac_cv_prog_DUMPBIN
   4342 if test -n "$DUMPBIN"; then
   4343   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4344 $as_echo "$DUMPBIN" >&6; }
   4345 else
   4346   { $as_echo "$as_me:$LINENO: result: no" >&5
   4347 $as_echo "no" >&6; }
   4348 fi
   4349 
   4350 
   4351     test -n "$DUMPBIN" && break
   4352   done
   4353 fi
   4354 if test -z "$DUMPBIN"; then
   4355   ac_ct_DUMPBIN=$DUMPBIN
   4356   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4357 do
   4358   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4359 set dummy $ac_prog; ac_word=$2
   4360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4361 $as_echo_n "checking for $ac_word... " >&6; }
   4362 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4363   $as_echo_n "(cached) " >&6
   4364 else
   4365   if test -n "$ac_ct_DUMPBIN"; then
   4366   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4367 else
   4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4369 for as_dir in $PATH
   4370 do
   4371   IFS=$as_save_IFS
   4372   test -z "$as_dir" && as_dir=.
   4373   for ac_exec_ext in '' $ac_executable_extensions; do
   4374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4375     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4376     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4377     break 2
   4378   fi
   4379 done
   4380 done
   4381 IFS=$as_save_IFS
   4382 
   4383 fi
   4384 fi
   4385 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4386 if test -n "$ac_ct_DUMPBIN"; then
   4387   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4388 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4389 else
   4390   { $as_echo "$as_me:$LINENO: result: no" >&5
   4391 $as_echo "no" >&6; }
   4392 fi
   4393 
   4394 
   4395   test -n "$ac_ct_DUMPBIN" && break
   4396 done
   4397 
   4398   if test "x$ac_ct_DUMPBIN" = x; then
   4399     DUMPBIN=":"
   4400   else
   4401     case $cross_compiling:$ac_tool_warned in
   4402 yes:)
   4403 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4405 ac_tool_warned=yes ;;
   4406 esac
   4407     DUMPBIN=$ac_ct_DUMPBIN
   4408   fi
   4409 fi
   4410 
   4411 
   4412   if test "$DUMPBIN" != ":"; then
   4413     NM="$DUMPBIN"
   4414   fi
   4415 fi
   4416 test -z "$NM" && NM=nm
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4424 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4425 if test "${lt_cv_nm_interface+set}" = set; then
   4426   $as_echo_n "(cached) " >&6
   4427 else
   4428   lt_cv_nm_interface="BSD nm"
   4429   echo "int some_variable = 0;" > conftest.$ac_ext
   4430   (eval echo "\"\$as_me:4430: $ac_compile\"" >&5)
   4431   (eval "$ac_compile" 2>conftest.err)
   4432   cat conftest.err >&5
   4433   (eval echo "\"\$as_me:4433: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4434   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4435   cat conftest.err >&5
   4436   (eval echo "\"\$as_me:4436: output\"" >&5)
   4437   cat conftest.out >&5
   4438   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4439     lt_cv_nm_interface="MS dumpbin"
   4440   fi
   4441   rm -f conftest*
   4442 fi
   4443 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4444 $as_echo "$lt_cv_nm_interface" >&6; }
   4445 
   4446 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4447 $as_echo_n "checking whether ln -s works... " >&6; }
   4448 LN_S=$as_ln_s
   4449 if test "$LN_S" = "ln -s"; then
   4450   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4451 $as_echo "yes" >&6; }
   4452 else
   4453   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4454 $as_echo "no, using $LN_S" >&6; }
   4455 fi
   4456 
   4457 # find the maximum length of command line arguments
   4458 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4459 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4460 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4461   $as_echo_n "(cached) " >&6
   4462 else
   4463     i=0
   4464   teststring="ABCD"
   4465 
   4466   case $build_os in
   4467   msdosdjgpp*)
   4468     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4469     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4470     # during glob expansion).  Even if it were fixed, the result of this
   4471     # check would be larger than it should be.
   4472     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4473     ;;
   4474 
   4475   gnu*)
   4476     # Under GNU Hurd, this test is not required because there is
   4477     # no limit to the length of command line arguments.
   4478     # Libtool will interpret -1 as no limit whatsoever
   4479     lt_cv_sys_max_cmd_len=-1;
   4480     ;;
   4481 
   4482   cygwin* | mingw* | cegcc*)
   4483     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4484     # about 5 minutes as the teststring grows exponentially.
   4485     # Worse, since 9x/ME are not pre-emptively multitasking,
   4486     # you end up with a "frozen" computer, even though with patience
   4487     # the test eventually succeeds (with a max line length of 256k).
   4488     # Instead, let's just punt: use the minimum linelength reported by
   4489     # all of the supported platforms: 8192 (on NT/2K/XP).
   4490     lt_cv_sys_max_cmd_len=8192;
   4491     ;;
   4492 
   4493   amigaos*)
   4494     # On AmigaOS with pdksh, this test takes hours, literally.
   4495     # So we just punt and use a minimum line length of 8192.
   4496     lt_cv_sys_max_cmd_len=8192;
   4497     ;;
   4498 
   4499   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4500     # This has been around since 386BSD, at least.  Likely further.
   4501     if test -x /sbin/sysctl; then
   4502       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4503     elif test -x /usr/sbin/sysctl; then
   4504       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4505     else
   4506       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4507     fi
   4508     # And add a safety zone
   4509     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4510     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4511     ;;
   4512 
   4513   interix*)
   4514     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4515     lt_cv_sys_max_cmd_len=196608
   4516     ;;
   4517 
   4518   osf*)
   4519     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4520     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4521     # nice to cause kernel panics so lets avoid the loop below.
   4522     # First set a reasonable default.
   4523     lt_cv_sys_max_cmd_len=16384
   4524     #
   4525     if test -x /sbin/sysconfig; then
   4526       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4527         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4528       esac
   4529     fi
   4530     ;;
   4531   sco3.2v5*)
   4532     lt_cv_sys_max_cmd_len=102400
   4533     ;;
   4534   sysv5* | sco5v6* | sysv4.2uw2*)
   4535     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4536     if test -n "$kargmax"; then
   4537       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4538     else
   4539       lt_cv_sys_max_cmd_len=32768
   4540     fi
   4541     ;;
   4542   *)
   4543     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4544     if test -n "$lt_cv_sys_max_cmd_len"; then
   4545       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4546       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4547     else
   4548       # Make teststring a little bigger before we do anything with it.
   4549       # a 1K string should be a reasonable start.
   4550       for i in 1 2 3 4 5 6 7 8 ; do
   4551         teststring=$teststring$teststring
   4552       done
   4553       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4554       # If test is not a shell built-in, we'll probably end up computing a
   4555       # maximum length that is only half of the actual maximum length, but
   4556       # we can't tell.
   4557       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4558 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4559 	      test $i != 17 # 1/2 MB should be enough
   4560       do
   4561         i=`expr $i + 1`
   4562         teststring=$teststring$teststring
   4563       done
   4564       # Only check the string length outside the loop.
   4565       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4566       teststring=
   4567       # Add a significant safety factor because C++ compilers can tack on
   4568       # massive amounts of additional arguments before passing them to the
   4569       # linker.  It appears as though 1/2 is a usable value.
   4570       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4571     fi
   4572     ;;
   4573   esac
   4574 
   4575 fi
   4576 
   4577 if test -n $lt_cv_sys_max_cmd_len ; then
   4578   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4579 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4580 else
   4581   { $as_echo "$as_me:$LINENO: result: none" >&5
   4582 $as_echo "none" >&6; }
   4583 fi
   4584 max_cmd_len=$lt_cv_sys_max_cmd_len
   4585 
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 : ${CP="cp -f"}
   4592 : ${MV="mv -f"}
   4593 : ${RM="rm -f"}
   4594 
   4595 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4596 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4597 # Try some XSI features
   4598 xsi_shell=no
   4599 ( _lt_dummy="a/b/c"
   4600   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4601       = c,a/b,, \
   4602     && eval 'test $(( 1 + 1 )) -eq 2 \
   4603     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4604   && xsi_shell=yes
   4605 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4606 $as_echo "$xsi_shell" >&6; }
   4607 
   4608 
   4609 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4610 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4611 lt_shell_append=no
   4612 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4613     >/dev/null 2>&1 \
   4614   && lt_shell_append=yes
   4615 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4616 $as_echo "$lt_shell_append" >&6; }
   4617 
   4618 
   4619 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4620   lt_unset=unset
   4621 else
   4622   lt_unset=false
   4623 fi
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 # test EBCDIC or ASCII
   4630 case `echo X|tr X '\101'` in
   4631  A) # ASCII based system
   4632     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4633   lt_SP2NL='tr \040 \012'
   4634   lt_NL2SP='tr \015\012 \040\040'
   4635   ;;
   4636  *) # EBCDIC based system
   4637   lt_SP2NL='tr \100 \n'
   4638   lt_NL2SP='tr \r\n \100\100'
   4639   ;;
   4640 esac
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4651 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4652 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655   lt_cv_ld_reload_flag='-r'
   4656 fi
   4657 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4658 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4659 reload_flag=$lt_cv_ld_reload_flag
   4660 case $reload_flag in
   4661 "" | " "*) ;;
   4662 *) reload_flag=" $reload_flag" ;;
   4663 esac
   4664 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4665 case $host_os in
   4666   darwin*)
   4667     if test "$GCC" = yes; then
   4668       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4669     else
   4670       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4671     fi
   4672     ;;
   4673 esac
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 if test -n "$ac_tool_prefix"; then
   4684   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4685 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4687 $as_echo_n "checking for $ac_word... " >&6; }
   4688 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4689   $as_echo_n "(cached) " >&6
   4690 else
   4691   if test -n "$OBJDUMP"; then
   4692   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4693 else
   4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4695 for as_dir in $PATH
   4696 do
   4697   IFS=$as_save_IFS
   4698   test -z "$as_dir" && as_dir=.
   4699   for ac_exec_ext in '' $ac_executable_extensions; do
   4700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4701     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4702     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4703     break 2
   4704   fi
   4705 done
   4706 done
   4707 IFS=$as_save_IFS
   4708 
   4709 fi
   4710 fi
   4711 OBJDUMP=$ac_cv_prog_OBJDUMP
   4712 if test -n "$OBJDUMP"; then
   4713   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4714 $as_echo "$OBJDUMP" >&6; }
   4715 else
   4716   { $as_echo "$as_me:$LINENO: result: no" >&5
   4717 $as_echo "no" >&6; }
   4718 fi
   4719 
   4720 
   4721 fi
   4722 if test -z "$ac_cv_prog_OBJDUMP"; then
   4723   ac_ct_OBJDUMP=$OBJDUMP
   4724   # Extract the first word of "objdump", so it can be a program name with args.
   4725 set dummy objdump; ac_word=$2
   4726 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4727 $as_echo_n "checking for $ac_word... " >&6; }
   4728 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4729   $as_echo_n "(cached) " >&6
   4730 else
   4731   if test -n "$ac_ct_OBJDUMP"; then
   4732   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4733 else
   4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4735 for as_dir in $PATH
   4736 do
   4737   IFS=$as_save_IFS
   4738   test -z "$as_dir" && as_dir=.
   4739   for ac_exec_ext in '' $ac_executable_extensions; do
   4740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4741     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4742     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4743     break 2
   4744   fi
   4745 done
   4746 done
   4747 IFS=$as_save_IFS
   4748 
   4749 fi
   4750 fi
   4751 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4752 if test -n "$ac_ct_OBJDUMP"; then
   4753   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4754 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4755 else
   4756   { $as_echo "$as_me:$LINENO: result: no" >&5
   4757 $as_echo "no" >&6; }
   4758 fi
   4759 
   4760   if test "x$ac_ct_OBJDUMP" = x; then
   4761     OBJDUMP="false"
   4762   else
   4763     case $cross_compiling:$ac_tool_warned in
   4764 yes:)
   4765 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4767 ac_tool_warned=yes ;;
   4768 esac
   4769     OBJDUMP=$ac_ct_OBJDUMP
   4770   fi
   4771 else
   4772   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4773 fi
   4774 
   4775 test -z "$OBJDUMP" && OBJDUMP=objdump
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4786 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4787 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4788   $as_echo_n "(cached) " >&6
   4789 else
   4790   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4791 lt_cv_file_magic_test_file=
   4792 lt_cv_deplibs_check_method='unknown'
   4793 # Need to set the preceding variable on all platforms that support
   4794 # interlibrary dependencies.
   4795 # 'none' -- dependencies not supported.
   4796 # `unknown' -- same as none, but documents that we really don't know.
   4797 # 'pass_all' -- all dependencies passed with no checks.
   4798 # 'test_compile' -- check by making test program.
   4799 # 'file_magic [[regex]]' -- check by looking for files in library path
   4800 # which responds to the $file_magic_cmd with a given extended regex.
   4801 # If you have `file' or equivalent on your system and you're not sure
   4802 # whether `pass_all' will *always* work, you probably want this one.
   4803 
   4804 case $host_os in
   4805 aix[4-9]*)
   4806   lt_cv_deplibs_check_method=pass_all
   4807   ;;
   4808 
   4809 beos*)
   4810   lt_cv_deplibs_check_method=pass_all
   4811   ;;
   4812 
   4813 bsdi[45]*)
   4814   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4815   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4816   lt_cv_file_magic_test_file=/shlib/libc.so
   4817   ;;
   4818 
   4819 cygwin*)
   4820   # func_win32_libid is a shell function defined in ltmain.sh
   4821   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4822   lt_cv_file_magic_cmd='func_win32_libid'
   4823   ;;
   4824 
   4825 mingw* | pw32*)
   4826   # Base MSYS/MinGW do not provide the 'file' command needed by
   4827   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4828   # unless we find 'file', for example because we are cross-compiling.
   4829   if ( file / ) >/dev/null 2>&1; then
   4830     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4831     lt_cv_file_magic_cmd='func_win32_libid'
   4832   else
   4833     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4834     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4835   fi
   4836   ;;
   4837 
   4838 cegcc)
   4839   # use the weaker test based on 'objdump'. See mingw*.
   4840   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4841   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4842   ;;
   4843 
   4844 darwin* | rhapsody*)
   4845   lt_cv_deplibs_check_method=pass_all
   4846   ;;
   4847 
   4848 freebsd* | dragonfly*)
   4849   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4850     case $host_cpu in
   4851     i*86 )
   4852       # Not sure whether the presence of OpenBSD here was a mistake.
   4853       # Let's accept both of them until this is cleared up.
   4854       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4855       lt_cv_file_magic_cmd=/usr/bin/file
   4856       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4857       ;;
   4858     esac
   4859   else
   4860     lt_cv_deplibs_check_method=pass_all
   4861   fi
   4862   ;;
   4863 
   4864 gnu*)
   4865   lt_cv_deplibs_check_method=pass_all
   4866   ;;
   4867 
   4868 hpux10.20* | hpux11*)
   4869   lt_cv_file_magic_cmd=/usr/bin/file
   4870   case $host_cpu in
   4871   ia64*)
   4872     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4873     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4874     ;;
   4875   hppa*64*)
   4876     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]'
   4877     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4878     ;;
   4879   *)
   4880     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4881     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4882     ;;
   4883   esac
   4884   ;;
   4885 
   4886 interix[3-9]*)
   4887   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4888   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4889   ;;
   4890 
   4891 irix5* | irix6* | nonstopux*)
   4892   case $LD in
   4893   *-32|*"-32 ") libmagic=32-bit;;
   4894   *-n32|*"-n32 ") libmagic=N32;;
   4895   *-64|*"-64 ") libmagic=64-bit;;
   4896   *) libmagic=never-match;;
   4897   esac
   4898   lt_cv_deplibs_check_method=pass_all
   4899   ;;
   4900 
   4901 # This must be Linux ELF.
   4902 linux* | k*bsd*-gnu)
   4903   lt_cv_deplibs_check_method=pass_all
   4904   ;;
   4905 
   4906 netbsd*)
   4907   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4908     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4909   else
   4910     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4911   fi
   4912   ;;
   4913 
   4914 newos6*)
   4915   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4916   lt_cv_file_magic_cmd=/usr/bin/file
   4917   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4918   ;;
   4919 
   4920 *nto* | *qnx*)
   4921   lt_cv_deplibs_check_method=pass_all
   4922   ;;
   4923 
   4924 openbsd*)
   4925   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4926     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4927   else
   4928     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4929   fi
   4930   ;;
   4931 
   4932 osf3* | osf4* | osf5*)
   4933   lt_cv_deplibs_check_method=pass_all
   4934   ;;
   4935 
   4936 rdos*)
   4937   lt_cv_deplibs_check_method=pass_all
   4938   ;;
   4939 
   4940 solaris*)
   4941   lt_cv_deplibs_check_method=pass_all
   4942   ;;
   4943 
   4944 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4945   lt_cv_deplibs_check_method=pass_all
   4946   ;;
   4947 
   4948 sysv4 | sysv4.3*)
   4949   case $host_vendor in
   4950   motorola)
   4951     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]'
   4952     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4953     ;;
   4954   ncr)
   4955     lt_cv_deplibs_check_method=pass_all
   4956     ;;
   4957   sequent)
   4958     lt_cv_file_magic_cmd='/bin/file'
   4959     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4960     ;;
   4961   sni)
   4962     lt_cv_file_magic_cmd='/bin/file'
   4963     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4964     lt_cv_file_magic_test_file=/lib/libc.so
   4965     ;;
   4966   siemens)
   4967     lt_cv_deplibs_check_method=pass_all
   4968     ;;
   4969   pc)
   4970     lt_cv_deplibs_check_method=pass_all
   4971     ;;
   4972   esac
   4973   ;;
   4974 
   4975 tpf*)
   4976   lt_cv_deplibs_check_method=pass_all
   4977   ;;
   4978 esac
   4979 
   4980 fi
   4981 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4982 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4983 file_magic_cmd=$lt_cv_file_magic_cmd
   4984 deplibs_check_method=$lt_cv_deplibs_check_method
   4985 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 if test -n "$ac_tool_prefix"; then
   4999   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5000 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5002 $as_echo_n "checking for $ac_word... " >&6; }
   5003 if test "${ac_cv_prog_AR+set}" = set; then
   5004   $as_echo_n "(cached) " >&6
   5005 else
   5006   if test -n "$AR"; then
   5007   ac_cv_prog_AR="$AR" # Let the user override the test.
   5008 else
   5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5010 for as_dir in $PATH
   5011 do
   5012   IFS=$as_save_IFS
   5013   test -z "$as_dir" && as_dir=.
   5014   for ac_exec_ext in '' $ac_executable_extensions; do
   5015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5016     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5017     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5018     break 2
   5019   fi
   5020 done
   5021 done
   5022 IFS=$as_save_IFS
   5023 
   5024 fi
   5025 fi
   5026 AR=$ac_cv_prog_AR
   5027 if test -n "$AR"; then
   5028   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5029 $as_echo "$AR" >&6; }
   5030 else
   5031   { $as_echo "$as_me:$LINENO: result: no" >&5
   5032 $as_echo "no" >&6; }
   5033 fi
   5034 
   5035 
   5036 fi
   5037 if test -z "$ac_cv_prog_AR"; then
   5038   ac_ct_AR=$AR
   5039   # Extract the first word of "ar", so it can be a program name with args.
   5040 set dummy ar; ac_word=$2
   5041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5042 $as_echo_n "checking for $ac_word... " >&6; }
   5043 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   if test -n "$ac_ct_AR"; then
   5047   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5048 else
   5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5050 for as_dir in $PATH
   5051 do
   5052   IFS=$as_save_IFS
   5053   test -z "$as_dir" && as_dir=.
   5054   for ac_exec_ext in '' $ac_executable_extensions; do
   5055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5056     ac_cv_prog_ac_ct_AR="ar"
   5057     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5058     break 2
   5059   fi
   5060 done
   5061 done
   5062 IFS=$as_save_IFS
   5063 
   5064 fi
   5065 fi
   5066 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5067 if test -n "$ac_ct_AR"; then
   5068   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5069 $as_echo "$ac_ct_AR" >&6; }
   5070 else
   5071   { $as_echo "$as_me:$LINENO: result: no" >&5
   5072 $as_echo "no" >&6; }
   5073 fi
   5074 
   5075   if test "x$ac_ct_AR" = x; then
   5076     AR="false"
   5077   else
   5078     case $cross_compiling:$ac_tool_warned in
   5079 yes:)
   5080 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5082 ac_tool_warned=yes ;;
   5083 esac
   5084     AR=$ac_ct_AR
   5085   fi
   5086 else
   5087   AR="$ac_cv_prog_AR"
   5088 fi
   5089 
   5090 test -z "$AR" && AR=ar
   5091 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 if test -n "$ac_tool_prefix"; then
   5104   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5105 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5107 $as_echo_n "checking for $ac_word... " >&6; }
   5108 if test "${ac_cv_prog_STRIP+set}" = set; then
   5109   $as_echo_n "(cached) " >&6
   5110 else
   5111   if test -n "$STRIP"; then
   5112   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5113 else
   5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5115 for as_dir in $PATH
   5116 do
   5117   IFS=$as_save_IFS
   5118   test -z "$as_dir" && as_dir=.
   5119   for ac_exec_ext in '' $ac_executable_extensions; do
   5120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5121     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5122     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5123     break 2
   5124   fi
   5125 done
   5126 done
   5127 IFS=$as_save_IFS
   5128 
   5129 fi
   5130 fi
   5131 STRIP=$ac_cv_prog_STRIP
   5132 if test -n "$STRIP"; then
   5133   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5134 $as_echo "$STRIP" >&6; }
   5135 else
   5136   { $as_echo "$as_me:$LINENO: result: no" >&5
   5137 $as_echo "no" >&6; }
   5138 fi
   5139 
   5140 
   5141 fi
   5142 if test -z "$ac_cv_prog_STRIP"; then
   5143   ac_ct_STRIP=$STRIP
   5144   # Extract the first word of "strip", so it can be a program name with args.
   5145 set dummy strip; ac_word=$2
   5146 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5147 $as_echo_n "checking for $ac_word... " >&6; }
   5148 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5149   $as_echo_n "(cached) " >&6
   5150 else
   5151   if test -n "$ac_ct_STRIP"; then
   5152   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5153 else
   5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5155 for as_dir in $PATH
   5156 do
   5157   IFS=$as_save_IFS
   5158   test -z "$as_dir" && as_dir=.
   5159   for ac_exec_ext in '' $ac_executable_extensions; do
   5160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5161     ac_cv_prog_ac_ct_STRIP="strip"
   5162     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5163     break 2
   5164   fi
   5165 done
   5166 done
   5167 IFS=$as_save_IFS
   5168 
   5169 fi
   5170 fi
   5171 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5172 if test -n "$ac_ct_STRIP"; then
   5173   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5174 $as_echo "$ac_ct_STRIP" >&6; }
   5175 else
   5176   { $as_echo "$as_me:$LINENO: result: no" >&5
   5177 $as_echo "no" >&6; }
   5178 fi
   5179 
   5180   if test "x$ac_ct_STRIP" = x; then
   5181     STRIP=":"
   5182   else
   5183     case $cross_compiling:$ac_tool_warned in
   5184 yes:)
   5185 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5187 ac_tool_warned=yes ;;
   5188 esac
   5189     STRIP=$ac_ct_STRIP
   5190   fi
   5191 else
   5192   STRIP="$ac_cv_prog_STRIP"
   5193 fi
   5194 
   5195 test -z "$STRIP" && STRIP=:
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 if test -n "$ac_tool_prefix"; then
   5203   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5204 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5205 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5206 $as_echo_n "checking for $ac_word... " >&6; }
   5207 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   if test -n "$RANLIB"; then
   5211   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5212 else
   5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5214 for as_dir in $PATH
   5215 do
   5216   IFS=$as_save_IFS
   5217   test -z "$as_dir" && as_dir=.
   5218   for ac_exec_ext in '' $ac_executable_extensions; do
   5219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5220     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5221     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5222     break 2
   5223   fi
   5224 done
   5225 done
   5226 IFS=$as_save_IFS
   5227 
   5228 fi
   5229 fi
   5230 RANLIB=$ac_cv_prog_RANLIB
   5231 if test -n "$RANLIB"; then
   5232   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5233 $as_echo "$RANLIB" >&6; }
   5234 else
   5235   { $as_echo "$as_me:$LINENO: result: no" >&5
   5236 $as_echo "no" >&6; }
   5237 fi
   5238 
   5239 
   5240 fi
   5241 if test -z "$ac_cv_prog_RANLIB"; then
   5242   ac_ct_RANLIB=$RANLIB
   5243   # Extract the first word of "ranlib", so it can be a program name with args.
   5244 set dummy ranlib; ac_word=$2
   5245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5246 $as_echo_n "checking for $ac_word... " >&6; }
   5247 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5248   $as_echo_n "(cached) " >&6
   5249 else
   5250   if test -n "$ac_ct_RANLIB"; then
   5251   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5252 else
   5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5254 for as_dir in $PATH
   5255 do
   5256   IFS=$as_save_IFS
   5257   test -z "$as_dir" && as_dir=.
   5258   for ac_exec_ext in '' $ac_executable_extensions; do
   5259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5260     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5261     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5262     break 2
   5263   fi
   5264 done
   5265 done
   5266 IFS=$as_save_IFS
   5267 
   5268 fi
   5269 fi
   5270 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5271 if test -n "$ac_ct_RANLIB"; then
   5272   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5273 $as_echo "$ac_ct_RANLIB" >&6; }
   5274 else
   5275   { $as_echo "$as_me:$LINENO: result: no" >&5
   5276 $as_echo "no" >&6; }
   5277 fi
   5278 
   5279   if test "x$ac_ct_RANLIB" = x; then
   5280     RANLIB=":"
   5281   else
   5282     case $cross_compiling:$ac_tool_warned in
   5283 yes:)
   5284 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5286 ac_tool_warned=yes ;;
   5287 esac
   5288     RANLIB=$ac_ct_RANLIB
   5289   fi
   5290 else
   5291   RANLIB="$ac_cv_prog_RANLIB"
   5292 fi
   5293 
   5294 test -z "$RANLIB" && RANLIB=:
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 # Determine commands to create old-style static archives.
   5302 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5303 old_postinstall_cmds='chmod 644 $oldlib'
   5304 old_postuninstall_cmds=
   5305 
   5306 if test -n "$RANLIB"; then
   5307   case $host_os in
   5308   openbsd*)
   5309     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5310     ;;
   5311   *)
   5312     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5313     ;;
   5314   esac
   5315   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5316 fi
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 # If no C compiler was specified, use CC.
   5352 LTCC=${LTCC-"$CC"}
   5353 
   5354 # If no C compiler flags were specified, use CFLAGS.
   5355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5356 
   5357 # Allow CC to be a program name with arguments.
   5358 compiler=$CC
   5359 
   5360 
   5361 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5362 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5363 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5364 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367 
   5368 # These are sane defaults that work on at least a few old systems.
   5369 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5370 
   5371 # Character class describing NM global symbol codes.
   5372 symcode='[BCDEGRST]'
   5373 
   5374 # Regexp to match symbols that can be accessed directly from C.
   5375 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5376 
   5377 # Define system-specific variables.
   5378 case $host_os in
   5379 aix*)
   5380   symcode='[BCDT]'
   5381   ;;
   5382 cygwin* | mingw* | pw32* | cegcc*)
   5383   symcode='[ABCDGISTW]'
   5384   ;;
   5385 hpux*)
   5386   if test "$host_cpu" = ia64; then
   5387     symcode='[ABCDEGRST]'
   5388   fi
   5389   ;;
   5390 irix* | nonstopux*)
   5391   symcode='[BCDEGRST]'
   5392   ;;
   5393 osf*)
   5394   symcode='[BCDEGQRST]'
   5395   ;;
   5396 solaris*)
   5397   symcode='[BDRT]'
   5398   ;;
   5399 sco3.2v5*)
   5400   symcode='[DT]'
   5401   ;;
   5402 sysv4.2uw2*)
   5403   symcode='[DT]'
   5404   ;;
   5405 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5406   symcode='[ABDT]'
   5407   ;;
   5408 sysv4)
   5409   symcode='[DFNSTU]'
   5410   ;;
   5411 esac
   5412 
   5413 # If we're using GNU nm, then use its standard symbol codes.
   5414 case `$NM -V 2>&1` in
   5415 *GNU* | *'with BFD'*)
   5416   symcode='[ABCDGIRSTW]' ;;
   5417 esac
   5418 
   5419 # Transform an extracted symbol line into a proper C declaration.
   5420 # Some systems (esp. on ia64) link data and code symbols differently,
   5421 # so use this general approach.
   5422 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5423 
   5424 # Transform an extracted symbol line into symbol name and symbol address
   5425 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5426 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'"
   5427 
   5428 # Handle CRLF in mingw tool chain
   5429 opt_cr=
   5430 case $build_os in
   5431 mingw*)
   5432   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5433   ;;
   5434 esac
   5435 
   5436 # Try without a prefix underscore, then with it.
   5437 for ac_symprfx in "" "_"; do
   5438 
   5439   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5440   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5441 
   5442   # Write the raw and C identifiers.
   5443   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5444     # Fake it for dumpbin and say T for any non-static function
   5445     # and D for any global variable.
   5446     # Also find C++ and __fastcall symbols from MSVC++,
   5447     # which start with @ or ?.
   5448     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5449 "     {last_section=section; section=\$ 3};"\
   5450 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5451 "     \$ 0!~/External *\|/{next};"\
   5452 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5453 "     {if(hide[section]) next};"\
   5454 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5455 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5456 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5457 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5458 "     ' prfx=^$ac_symprfx"
   5459   else
   5460     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5461   fi
   5462 
   5463   # Check to see that the pipe works correctly.
   5464   pipe_works=no
   5465 
   5466   rm -f conftest*
   5467   cat > conftest.$ac_ext <<_LT_EOF
   5468 #ifdef __cplusplus
   5469 extern "C" {
   5470 #endif
   5471 char nm_test_var;
   5472 void nm_test_func(void);
   5473 void nm_test_func(void){}
   5474 #ifdef __cplusplus
   5475 }
   5476 #endif
   5477 int main(){nm_test_var='a';nm_test_func();return(0);}
   5478 _LT_EOF
   5479 
   5480   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5481   (eval $ac_compile) 2>&5
   5482   ac_status=$?
   5483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5484   (exit $ac_status); }; then
   5485     # Now try to grab the symbols.
   5486     nlist=conftest.nm
   5487     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5488   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5489   ac_status=$?
   5490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5491   (exit $ac_status); } && test -s "$nlist"; then
   5492       # Try sorting and uniquifying the output.
   5493       if sort "$nlist" | uniq > "$nlist"T; then
   5494 	mv -f "$nlist"T "$nlist"
   5495       else
   5496 	rm -f "$nlist"T
   5497       fi
   5498 
   5499       # Make sure that we snagged all the symbols we need.
   5500       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5501 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5502 	  cat <<_LT_EOF > conftest.$ac_ext
   5503 #ifdef __cplusplus
   5504 extern "C" {
   5505 #endif
   5506 
   5507 _LT_EOF
   5508 	  # Now generate the symbol file.
   5509 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5510 
   5511 	  cat <<_LT_EOF >> conftest.$ac_ext
   5512 
   5513 /* The mapping between symbol names and symbols.  */
   5514 const struct {
   5515   const char *name;
   5516   void       *address;
   5517 }
   5518 lt__PROGRAM__LTX_preloaded_symbols[] =
   5519 {
   5520   { "@PROGRAM@", (void *) 0 },
   5521 _LT_EOF
   5522 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5523 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5524   {0, (void *) 0}
   5525 };
   5526 
   5527 /* This works around a problem in FreeBSD linker */
   5528 #ifdef FREEBSD_WORKAROUND
   5529 static const void *lt_preloaded_setup() {
   5530   return lt__PROGRAM__LTX_preloaded_symbols;
   5531 }
   5532 #endif
   5533 
   5534 #ifdef __cplusplus
   5535 }
   5536 #endif
   5537 _LT_EOF
   5538 	  # Now try linking the two files.
   5539 	  mv conftest.$ac_objext conftstm.$ac_objext
   5540 	  lt_save_LIBS="$LIBS"
   5541 	  lt_save_CFLAGS="$CFLAGS"
   5542 	  LIBS="conftstm.$ac_objext"
   5543 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5544 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5545   (eval $ac_link) 2>&5
   5546   ac_status=$?
   5547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5548   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5549 	    pipe_works=yes
   5550 	  fi
   5551 	  LIBS="$lt_save_LIBS"
   5552 	  CFLAGS="$lt_save_CFLAGS"
   5553 	else
   5554 	  echo "cannot find nm_test_func in $nlist" >&5
   5555 	fi
   5556       else
   5557 	echo "cannot find nm_test_var in $nlist" >&5
   5558       fi
   5559     else
   5560       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5561     fi
   5562   else
   5563     echo "$progname: failed program was:" >&5
   5564     cat conftest.$ac_ext >&5
   5565   fi
   5566   rm -rf conftest* conftst*
   5567 
   5568   # Do not use the global_symbol_pipe unless it works.
   5569   if test "$pipe_works" = yes; then
   5570     break
   5571   else
   5572     lt_cv_sys_global_symbol_pipe=
   5573   fi
   5574 done
   5575 
   5576 fi
   5577 
   5578 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5579   lt_cv_sys_global_symbol_to_cdecl=
   5580 fi
   5581 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5582   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5583 $as_echo "failed" >&6; }
   5584 else
   5585   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5586 $as_echo "ok" >&6; }
   5587 fi
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 # Check whether --enable-libtool-lock was given.
   5612 if test "${enable_libtool_lock+set}" = set; then
   5613   enableval=$enable_libtool_lock;
   5614 fi
   5615 
   5616 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5617 
   5618 # Some flags need to be propagated to the compiler or linker for good
   5619 # libtool support.
   5620 case $host in
   5621 ia64-*-hpux*)
   5622   # Find out which ABI we are using.
   5623   echo 'int i;' > conftest.$ac_ext
   5624   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5625   (eval $ac_compile) 2>&5
   5626   ac_status=$?
   5627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5628   (exit $ac_status); }; then
   5629     case `/usr/bin/file conftest.$ac_objext` in
   5630       *ELF-32*)
   5631 	HPUX_IA64_MODE="32"
   5632 	;;
   5633       *ELF-64*)
   5634 	HPUX_IA64_MODE="64"
   5635 	;;
   5636     esac
   5637   fi
   5638   rm -rf conftest*
   5639   ;;
   5640 *-*-irix6*)
   5641   # Find out which ABI we are using.
   5642   echo '#line 5642 "configure"' > conftest.$ac_ext
   5643   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5644   (eval $ac_compile) 2>&5
   5645   ac_status=$?
   5646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5647   (exit $ac_status); }; then
   5648     if test "$lt_cv_prog_gnu_ld" = yes; then
   5649       case `/usr/bin/file conftest.$ac_objext` in
   5650 	*32-bit*)
   5651 	  LD="${LD-ld} -melf32bsmip"
   5652 	  ;;
   5653 	*N32*)
   5654 	  LD="${LD-ld} -melf32bmipn32"
   5655 	  ;;
   5656 	*64-bit*)
   5657 	  LD="${LD-ld} -melf64bmip"
   5658 	;;
   5659       esac
   5660     else
   5661       case `/usr/bin/file conftest.$ac_objext` in
   5662 	*32-bit*)
   5663 	  LD="${LD-ld} -32"
   5664 	  ;;
   5665 	*N32*)
   5666 	  LD="${LD-ld} -n32"
   5667 	  ;;
   5668 	*64-bit*)
   5669 	  LD="${LD-ld} -64"
   5670 	  ;;
   5671       esac
   5672     fi
   5673   fi
   5674   rm -rf conftest*
   5675   ;;
   5676 
   5677 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5678 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5679   # Find out which ABI we are using.
   5680   echo 'int i;' > conftest.$ac_ext
   5681   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5682   (eval $ac_compile) 2>&5
   5683   ac_status=$?
   5684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5685   (exit $ac_status); }; then
   5686     case `/usr/bin/file conftest.o` in
   5687       *32-bit*)
   5688 	case $host in
   5689 	  x86_64-*kfreebsd*-gnu)
   5690 	    LD="${LD-ld} -m elf_i386_fbsd"
   5691 	    ;;
   5692 	  x86_64-*linux*)
   5693 	    LD="${LD-ld} -m elf_i386"
   5694 	    ;;
   5695 	  ppc64-*linux*|powerpc64-*linux*)
   5696 	    LD="${LD-ld} -m elf32ppclinux"
   5697 	    ;;
   5698 	  s390x-*linux*)
   5699 	    LD="${LD-ld} -m elf_s390"
   5700 	    ;;
   5701 	  sparc64-*linux*)
   5702 	    LD="${LD-ld} -m elf32_sparc"
   5703 	    ;;
   5704 	esac
   5705 	;;
   5706       *64-bit*)
   5707 	case $host in
   5708 	  x86_64-*kfreebsd*-gnu)
   5709 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5710 	    ;;
   5711 	  x86_64-*linux*)
   5712 	    LD="${LD-ld} -m elf_x86_64"
   5713 	    ;;
   5714 	  ppc*-*linux*|powerpc*-*linux*)
   5715 	    LD="${LD-ld} -m elf64ppc"
   5716 	    ;;
   5717 	  s390*-*linux*|s390*-*tpf*)
   5718 	    LD="${LD-ld} -m elf64_s390"
   5719 	    ;;
   5720 	  sparc*-*linux*)
   5721 	    LD="${LD-ld} -m elf64_sparc"
   5722 	    ;;
   5723 	esac
   5724 	;;
   5725     esac
   5726   fi
   5727   rm -rf conftest*
   5728   ;;
   5729 
   5730 *-*-sco3.2v5*)
   5731   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5732   SAVE_CFLAGS="$CFLAGS"
   5733   CFLAGS="$CFLAGS -belf"
   5734   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5735 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5736 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   ac_ext=c
   5740 ac_cpp='$CPP $CPPFLAGS'
   5741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5744 
   5745      cat >conftest.$ac_ext <<_ACEOF
   5746 /* confdefs.h.  */
   5747 _ACEOF
   5748 cat confdefs.h >>conftest.$ac_ext
   5749 cat >>conftest.$ac_ext <<_ACEOF
   5750 /* end confdefs.h.  */
   5751 
   5752 int
   5753 main ()
   5754 {
   5755 
   5756   ;
   5757   return 0;
   5758 }
   5759 _ACEOF
   5760 rm -f conftest.$ac_objext conftest$ac_exeext
   5761 if { (ac_try="$ac_link"
   5762 case "(($ac_try" in
   5763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5764   *) ac_try_echo=$ac_try;;
   5765 esac
   5766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5767 $as_echo "$ac_try_echo") >&5
   5768   (eval "$ac_link") 2>conftest.er1
   5769   ac_status=$?
   5770   grep -v '^ *+' conftest.er1 >conftest.err
   5771   rm -f conftest.er1
   5772   cat conftest.err >&5
   5773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5774   (exit $ac_status); } && {
   5775 	 test -z "$ac_c_werror_flag" ||
   5776 	 test ! -s conftest.err
   5777        } && test -s conftest$ac_exeext && {
   5778 	 test "$cross_compiling" = yes ||
   5779 	 $as_test_x conftest$ac_exeext
   5780        }; then
   5781   lt_cv_cc_needs_belf=yes
   5782 else
   5783   $as_echo "$as_me: failed program was:" >&5
   5784 sed 's/^/| /' conftest.$ac_ext >&5
   5785 
   5786 	lt_cv_cc_needs_belf=no
   5787 fi
   5788 
   5789 rm -rf conftest.dSYM
   5790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5791       conftest$ac_exeext conftest.$ac_ext
   5792      ac_ext=c
   5793 ac_cpp='$CPP $CPPFLAGS'
   5794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5797 
   5798 fi
   5799 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5800 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5801   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5802     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5803     CFLAGS="$SAVE_CFLAGS"
   5804   fi
   5805   ;;
   5806 sparc*-*solaris*)
   5807   # Find out which ABI we are using.
   5808   echo 'int i;' > conftest.$ac_ext
   5809   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5810   (eval $ac_compile) 2>&5
   5811   ac_status=$?
   5812   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5813   (exit $ac_status); }; then
   5814     case `/usr/bin/file conftest.o` in
   5815     *64-bit*)
   5816       case $lt_cv_prog_gnu_ld in
   5817       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5818       *)
   5819 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5820 	  LD="${LD-ld} -64"
   5821 	fi
   5822 	;;
   5823       esac
   5824       ;;
   5825     esac
   5826   fi
   5827   rm -rf conftest*
   5828   ;;
   5829 esac
   5830 
   5831 need_locks="$enable_libtool_lock"
   5832 
   5833 
   5834   case $host_os in
   5835     rhapsody* | darwin*)
   5836     if test -n "$ac_tool_prefix"; then
   5837   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5838 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5840 $as_echo_n "checking for $ac_word... " >&6; }
   5841 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5842   $as_echo_n "(cached) " >&6
   5843 else
   5844   if test -n "$DSYMUTIL"; then
   5845   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5846 else
   5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5848 for as_dir in $PATH
   5849 do
   5850   IFS=$as_save_IFS
   5851   test -z "$as_dir" && as_dir=.
   5852   for ac_exec_ext in '' $ac_executable_extensions; do
   5853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5854     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5855     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5856     break 2
   5857   fi
   5858 done
   5859 done
   5860 IFS=$as_save_IFS
   5861 
   5862 fi
   5863 fi
   5864 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5865 if test -n "$DSYMUTIL"; then
   5866   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5867 $as_echo "$DSYMUTIL" >&6; }
   5868 else
   5869   { $as_echo "$as_me:$LINENO: result: no" >&5
   5870 $as_echo "no" >&6; }
   5871 fi
   5872 
   5873 
   5874 fi
   5875 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5876   ac_ct_DSYMUTIL=$DSYMUTIL
   5877   # Extract the first word of "dsymutil", so it can be a program name with args.
   5878 set dummy dsymutil; ac_word=$2
   5879 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5880 $as_echo_n "checking for $ac_word... " >&6; }
   5881 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   if test -n "$ac_ct_DSYMUTIL"; then
   5885   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5886 else
   5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5888 for as_dir in $PATH
   5889 do
   5890   IFS=$as_save_IFS
   5891   test -z "$as_dir" && as_dir=.
   5892   for ac_exec_ext in '' $ac_executable_extensions; do
   5893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5894     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5895     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5896     break 2
   5897   fi
   5898 done
   5899 done
   5900 IFS=$as_save_IFS
   5901 
   5902 fi
   5903 fi
   5904 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5905 if test -n "$ac_ct_DSYMUTIL"; then
   5906   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5907 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5908 else
   5909   { $as_echo "$as_me:$LINENO: result: no" >&5
   5910 $as_echo "no" >&6; }
   5911 fi
   5912 
   5913   if test "x$ac_ct_DSYMUTIL" = x; then
   5914     DSYMUTIL=":"
   5915   else
   5916     case $cross_compiling:$ac_tool_warned in
   5917 yes:)
   5918 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5920 ac_tool_warned=yes ;;
   5921 esac
   5922     DSYMUTIL=$ac_ct_DSYMUTIL
   5923   fi
   5924 else
   5925   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5926 fi
   5927 
   5928     if test -n "$ac_tool_prefix"; then
   5929   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5930 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5931 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5932 $as_echo_n "checking for $ac_word... " >&6; }
   5933 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5934   $as_echo_n "(cached) " >&6
   5935 else
   5936   if test -n "$NMEDIT"; then
   5937   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5938 else
   5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5940 for as_dir in $PATH
   5941 do
   5942   IFS=$as_save_IFS
   5943   test -z "$as_dir" && as_dir=.
   5944   for ac_exec_ext in '' $ac_executable_extensions; do
   5945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5946     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5947     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5948     break 2
   5949   fi
   5950 done
   5951 done
   5952 IFS=$as_save_IFS
   5953 
   5954 fi
   5955 fi
   5956 NMEDIT=$ac_cv_prog_NMEDIT
   5957 if test -n "$NMEDIT"; then
   5958   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5959 $as_echo "$NMEDIT" >&6; }
   5960 else
   5961   { $as_echo "$as_me:$LINENO: result: no" >&5
   5962 $as_echo "no" >&6; }
   5963 fi
   5964 
   5965 
   5966 fi
   5967 if test -z "$ac_cv_prog_NMEDIT"; then
   5968   ac_ct_NMEDIT=$NMEDIT
   5969   # Extract the first word of "nmedit", so it can be a program name with args.
   5970 set dummy nmedit; ac_word=$2
   5971 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5972 $as_echo_n "checking for $ac_word... " >&6; }
   5973 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   if test -n "$ac_ct_NMEDIT"; then
   5977   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   5978 else
   5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5980 for as_dir in $PATH
   5981 do
   5982   IFS=$as_save_IFS
   5983   test -z "$as_dir" && as_dir=.
   5984   for ac_exec_ext in '' $ac_executable_extensions; do
   5985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5986     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   5987     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5988     break 2
   5989   fi
   5990 done
   5991 done
   5992 IFS=$as_save_IFS
   5993 
   5994 fi
   5995 fi
   5996 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   5997 if test -n "$ac_ct_NMEDIT"; then
   5998   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   5999 $as_echo "$ac_ct_NMEDIT" >&6; }
   6000 else
   6001   { $as_echo "$as_me:$LINENO: result: no" >&5
   6002 $as_echo "no" >&6; }
   6003 fi
   6004 
   6005   if test "x$ac_ct_NMEDIT" = x; then
   6006     NMEDIT=":"
   6007   else
   6008     case $cross_compiling:$ac_tool_warned in
   6009 yes:)
   6010 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6012 ac_tool_warned=yes ;;
   6013 esac
   6014     NMEDIT=$ac_ct_NMEDIT
   6015   fi
   6016 else
   6017   NMEDIT="$ac_cv_prog_NMEDIT"
   6018 fi
   6019 
   6020     if test -n "$ac_tool_prefix"; then
   6021   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6022 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6023 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6024 $as_echo_n "checking for $ac_word... " >&6; }
   6025 if test "${ac_cv_prog_LIPO+set}" = set; then
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   if test -n "$LIPO"; then
   6029   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6030 else
   6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6032 for as_dir in $PATH
   6033 do
   6034   IFS=$as_save_IFS
   6035   test -z "$as_dir" && as_dir=.
   6036   for ac_exec_ext in '' $ac_executable_extensions; do
   6037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6038     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6039     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6040     break 2
   6041   fi
   6042 done
   6043 done
   6044 IFS=$as_save_IFS
   6045 
   6046 fi
   6047 fi
   6048 LIPO=$ac_cv_prog_LIPO
   6049 if test -n "$LIPO"; then
   6050   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6051 $as_echo "$LIPO" >&6; }
   6052 else
   6053   { $as_echo "$as_me:$LINENO: result: no" >&5
   6054 $as_echo "no" >&6; }
   6055 fi
   6056 
   6057 
   6058 fi
   6059 if test -z "$ac_cv_prog_LIPO"; then
   6060   ac_ct_LIPO=$LIPO
   6061   # Extract the first word of "lipo", so it can be a program name with args.
   6062 set dummy lipo; ac_word=$2
   6063 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6064 $as_echo_n "checking for $ac_word... " >&6; }
   6065 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6066   $as_echo_n "(cached) " >&6
   6067 else
   6068   if test -n "$ac_ct_LIPO"; then
   6069   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6070 else
   6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6072 for as_dir in $PATH
   6073 do
   6074   IFS=$as_save_IFS
   6075   test -z "$as_dir" && as_dir=.
   6076   for ac_exec_ext in '' $ac_executable_extensions; do
   6077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6078     ac_cv_prog_ac_ct_LIPO="lipo"
   6079     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6080     break 2
   6081   fi
   6082 done
   6083 done
   6084 IFS=$as_save_IFS
   6085 
   6086 fi
   6087 fi
   6088 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6089 if test -n "$ac_ct_LIPO"; then
   6090   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6091 $as_echo "$ac_ct_LIPO" >&6; }
   6092 else
   6093   { $as_echo "$as_me:$LINENO: result: no" >&5
   6094 $as_echo "no" >&6; }
   6095 fi
   6096 
   6097   if test "x$ac_ct_LIPO" = x; then
   6098     LIPO=":"
   6099   else
   6100     case $cross_compiling:$ac_tool_warned in
   6101 yes:)
   6102 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6104 ac_tool_warned=yes ;;
   6105 esac
   6106     LIPO=$ac_ct_LIPO
   6107   fi
   6108 else
   6109   LIPO="$ac_cv_prog_LIPO"
   6110 fi
   6111 
   6112     if test -n "$ac_tool_prefix"; then
   6113   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6114 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6116 $as_echo_n "checking for $ac_word... " >&6; }
   6117 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   if test -n "$OTOOL"; then
   6121   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6122 else
   6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6124 for as_dir in $PATH
   6125 do
   6126   IFS=$as_save_IFS
   6127   test -z "$as_dir" && as_dir=.
   6128   for ac_exec_ext in '' $ac_executable_extensions; do
   6129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6130     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6131     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6132     break 2
   6133   fi
   6134 done
   6135 done
   6136 IFS=$as_save_IFS
   6137 
   6138 fi
   6139 fi
   6140 OTOOL=$ac_cv_prog_OTOOL
   6141 if test -n "$OTOOL"; then
   6142   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6143 $as_echo "$OTOOL" >&6; }
   6144 else
   6145   { $as_echo "$as_me:$LINENO: result: no" >&5
   6146 $as_echo "no" >&6; }
   6147 fi
   6148 
   6149 
   6150 fi
   6151 if test -z "$ac_cv_prog_OTOOL"; then
   6152   ac_ct_OTOOL=$OTOOL
   6153   # Extract the first word of "otool", so it can be a program name with args.
   6154 set dummy otool; ac_word=$2
   6155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6156 $as_echo_n "checking for $ac_word... " >&6; }
   6157 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6158   $as_echo_n "(cached) " >&6
   6159 else
   6160   if test -n "$ac_ct_OTOOL"; then
   6161   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6162 else
   6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6164 for as_dir in $PATH
   6165 do
   6166   IFS=$as_save_IFS
   6167   test -z "$as_dir" && as_dir=.
   6168   for ac_exec_ext in '' $ac_executable_extensions; do
   6169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6170     ac_cv_prog_ac_ct_OTOOL="otool"
   6171     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6172     break 2
   6173   fi
   6174 done
   6175 done
   6176 IFS=$as_save_IFS
   6177 
   6178 fi
   6179 fi
   6180 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6181 if test -n "$ac_ct_OTOOL"; then
   6182   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6183 $as_echo "$ac_ct_OTOOL" >&6; }
   6184 else
   6185   { $as_echo "$as_me:$LINENO: result: no" >&5
   6186 $as_echo "no" >&6; }
   6187 fi
   6188 
   6189   if test "x$ac_ct_OTOOL" = x; then
   6190     OTOOL=":"
   6191   else
   6192     case $cross_compiling:$ac_tool_warned in
   6193 yes:)
   6194 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6196 ac_tool_warned=yes ;;
   6197 esac
   6198     OTOOL=$ac_ct_OTOOL
   6199   fi
   6200 else
   6201   OTOOL="$ac_cv_prog_OTOOL"
   6202 fi
   6203 
   6204     if test -n "$ac_tool_prefix"; then
   6205   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6206 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6208 $as_echo_n "checking for $ac_word... " >&6; }
   6209 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6210   $as_echo_n "(cached) " >&6
   6211 else
   6212   if test -n "$OTOOL64"; then
   6213   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6214 else
   6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6216 for as_dir in $PATH
   6217 do
   6218   IFS=$as_save_IFS
   6219   test -z "$as_dir" && as_dir=.
   6220   for ac_exec_ext in '' $ac_executable_extensions; do
   6221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6222     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6223     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6224     break 2
   6225   fi
   6226 done
   6227 done
   6228 IFS=$as_save_IFS
   6229 
   6230 fi
   6231 fi
   6232 OTOOL64=$ac_cv_prog_OTOOL64
   6233 if test -n "$OTOOL64"; then
   6234   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6235 $as_echo "$OTOOL64" >&6; }
   6236 else
   6237   { $as_echo "$as_me:$LINENO: result: no" >&5
   6238 $as_echo "no" >&6; }
   6239 fi
   6240 
   6241 
   6242 fi
   6243 if test -z "$ac_cv_prog_OTOOL64"; then
   6244   ac_ct_OTOOL64=$OTOOL64
   6245   # Extract the first word of "otool64", so it can be a program name with args.
   6246 set dummy otool64; ac_word=$2
   6247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6248 $as_echo_n "checking for $ac_word... " >&6; }
   6249 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6250   $as_echo_n "(cached) " >&6
   6251 else
   6252   if test -n "$ac_ct_OTOOL64"; then
   6253   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6254 else
   6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6256 for as_dir in $PATH
   6257 do
   6258   IFS=$as_save_IFS
   6259   test -z "$as_dir" && as_dir=.
   6260   for ac_exec_ext in '' $ac_executable_extensions; do
   6261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6262     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6263     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6264     break 2
   6265   fi
   6266 done
   6267 done
   6268 IFS=$as_save_IFS
   6269 
   6270 fi
   6271 fi
   6272 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6273 if test -n "$ac_ct_OTOOL64"; then
   6274   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6275 $as_echo "$ac_ct_OTOOL64" >&6; }
   6276 else
   6277   { $as_echo "$as_me:$LINENO: result: no" >&5
   6278 $as_echo "no" >&6; }
   6279 fi
   6280 
   6281   if test "x$ac_ct_OTOOL64" = x; then
   6282     OTOOL64=":"
   6283   else
   6284     case $cross_compiling:$ac_tool_warned in
   6285 yes:)
   6286 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6288 ac_tool_warned=yes ;;
   6289 esac
   6290     OTOOL64=$ac_ct_OTOOL64
   6291   fi
   6292 else
   6293   OTOOL64="$ac_cv_prog_OTOOL64"
   6294 fi
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6323 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6324 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   lt_cv_apple_cc_single_mod=no
   6328       if test -z "${LT_MULTI_MODULE}"; then
   6329 	# By default we will add the -single_module flag. You can override
   6330 	# by either setting the environment variable LT_MULTI_MODULE
   6331 	# non-empty at configure time, or by adding -multi_module to the
   6332 	# link flags.
   6333 	rm -rf libconftest.dylib*
   6334 	echo "int foo(void){return 1;}" > conftest.c
   6335 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6336 -dynamiclib -Wl,-single_module conftest.c" >&5
   6337 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6338 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6339         _lt_result=$?
   6340 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6341 	  lt_cv_apple_cc_single_mod=yes
   6342 	else
   6343 	  cat conftest.err >&5
   6344 	fi
   6345 	rm -rf libconftest.dylib*
   6346 	rm -f conftest.*
   6347       fi
   6348 fi
   6349 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6350 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6351     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6352 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6353 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6354   $as_echo_n "(cached) " >&6
   6355 else
   6356   lt_cv_ld_exported_symbols_list=no
   6357       save_LDFLAGS=$LDFLAGS
   6358       echo "_main" > conftest.sym
   6359       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6360       cat >conftest.$ac_ext <<_ACEOF
   6361 /* confdefs.h.  */
   6362 _ACEOF
   6363 cat confdefs.h >>conftest.$ac_ext
   6364 cat >>conftest.$ac_ext <<_ACEOF
   6365 /* end confdefs.h.  */
   6366 
   6367 int
   6368 main ()
   6369 {
   6370 
   6371   ;
   6372   return 0;
   6373 }
   6374 _ACEOF
   6375 rm -f conftest.$ac_objext conftest$ac_exeext
   6376 if { (ac_try="$ac_link"
   6377 case "(($ac_try" in
   6378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6379   *) ac_try_echo=$ac_try;;
   6380 esac
   6381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6382 $as_echo "$ac_try_echo") >&5
   6383   (eval "$ac_link") 2>conftest.er1
   6384   ac_status=$?
   6385   grep -v '^ *+' conftest.er1 >conftest.err
   6386   rm -f conftest.er1
   6387   cat conftest.err >&5
   6388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6389   (exit $ac_status); } && {
   6390 	 test -z "$ac_c_werror_flag" ||
   6391 	 test ! -s conftest.err
   6392        } && test -s conftest$ac_exeext && {
   6393 	 test "$cross_compiling" = yes ||
   6394 	 $as_test_x conftest$ac_exeext
   6395        }; then
   6396   lt_cv_ld_exported_symbols_list=yes
   6397 else
   6398   $as_echo "$as_me: failed program was:" >&5
   6399 sed 's/^/| /' conftest.$ac_ext >&5
   6400 
   6401 	lt_cv_ld_exported_symbols_list=no
   6402 fi
   6403 
   6404 rm -rf conftest.dSYM
   6405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6406       conftest$ac_exeext conftest.$ac_ext
   6407 	LDFLAGS="$save_LDFLAGS"
   6408 
   6409 fi
   6410 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6411 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6412     case $host_os in
   6413     rhapsody* | darwin1.[012])
   6414       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6415     darwin1.*)
   6416       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6417     darwin*) # darwin 5.x on
   6418       # if running on 10.5 or later, the deployment target defaults
   6419       # to the OS version, if on x86, and 10.4, the deployment
   6420       # target defaults to 10.4. Don't you love it?
   6421       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6422 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6423 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6424 	10.[012]*)
   6425 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6426 	10.*)
   6427 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6428       esac
   6429     ;;
   6430   esac
   6431     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6432       _lt_dar_single_mod='$single_module'
   6433     fi
   6434     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6435       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6436     else
   6437       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6438     fi
   6439     if test "$DSYMUTIL" != ":"; then
   6440       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6441     else
   6442       _lt_dsymutil=
   6443     fi
   6444     ;;
   6445   esac
   6446 
   6447 ac_ext=c
   6448 ac_cpp='$CPP $CPPFLAGS'
   6449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6452 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6453 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6454 # On Suns, sometimes $CPP names a directory.
   6455 if test -n "$CPP" && test -d "$CPP"; then
   6456   CPP=
   6457 fi
   6458 if test -z "$CPP"; then
   6459   if test "${ac_cv_prog_CPP+set}" = set; then
   6460   $as_echo_n "(cached) " >&6
   6461 else
   6462       # Double quotes because CPP needs to be expanded
   6463     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6464     do
   6465       ac_preproc_ok=false
   6466 for ac_c_preproc_warn_flag in '' yes
   6467 do
   6468   # Use a header file that comes with gcc, so configuring glibc
   6469   # with a fresh cross-compiler works.
   6470   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6471   # <limits.h> exists even on freestanding compilers.
   6472   # On the NeXT, cc -E runs the code through the compiler's parser,
   6473   # not just through cpp. "Syntax error" is here to catch this case.
   6474   cat >conftest.$ac_ext <<_ACEOF
   6475 /* confdefs.h.  */
   6476 _ACEOF
   6477 cat confdefs.h >>conftest.$ac_ext
   6478 cat >>conftest.$ac_ext <<_ACEOF
   6479 /* end confdefs.h.  */
   6480 #ifdef __STDC__
   6481 # include <limits.h>
   6482 #else
   6483 # include <assert.h>
   6484 #endif
   6485 		     Syntax error
   6486 _ACEOF
   6487 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6488 case "(($ac_try" in
   6489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6490   *) ac_try_echo=$ac_try;;
   6491 esac
   6492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6493 $as_echo "$ac_try_echo") >&5
   6494   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6495   ac_status=$?
   6496   grep -v '^ *+' conftest.er1 >conftest.err
   6497   rm -f conftest.er1
   6498   cat conftest.err >&5
   6499   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6500   (exit $ac_status); } >/dev/null && {
   6501 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6502 	 test ! -s conftest.err
   6503        }; then
   6504   :
   6505 else
   6506   $as_echo "$as_me: failed program was:" >&5
   6507 sed 's/^/| /' conftest.$ac_ext >&5
   6508 
   6509   # Broken: fails on valid input.
   6510 continue
   6511 fi
   6512 
   6513 rm -f conftest.err conftest.$ac_ext
   6514 
   6515   # OK, works on sane cases.  Now check whether nonexistent headers
   6516   # can be detected and how.
   6517   cat >conftest.$ac_ext <<_ACEOF
   6518 /* confdefs.h.  */
   6519 _ACEOF
   6520 cat confdefs.h >>conftest.$ac_ext
   6521 cat >>conftest.$ac_ext <<_ACEOF
   6522 /* end confdefs.h.  */
   6523 #include <ac_nonexistent.h>
   6524 _ACEOF
   6525 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6526 case "(($ac_try" in
   6527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6528   *) ac_try_echo=$ac_try;;
   6529 esac
   6530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6531 $as_echo "$ac_try_echo") >&5
   6532   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6533   ac_status=$?
   6534   grep -v '^ *+' conftest.er1 >conftest.err
   6535   rm -f conftest.er1
   6536   cat conftest.err >&5
   6537   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6538   (exit $ac_status); } >/dev/null && {
   6539 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6540 	 test ! -s conftest.err
   6541        }; then
   6542   # Broken: success on invalid input.
   6543 continue
   6544 else
   6545   $as_echo "$as_me: failed program was:" >&5
   6546 sed 's/^/| /' conftest.$ac_ext >&5
   6547 
   6548   # Passes both tests.
   6549 ac_preproc_ok=:
   6550 break
   6551 fi
   6552 
   6553 rm -f conftest.err conftest.$ac_ext
   6554 
   6555 done
   6556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6557 rm -f conftest.err conftest.$ac_ext
   6558 if $ac_preproc_ok; then
   6559   break
   6560 fi
   6561 
   6562     done
   6563     ac_cv_prog_CPP=$CPP
   6564 
   6565 fi
   6566   CPP=$ac_cv_prog_CPP
   6567 else
   6568   ac_cv_prog_CPP=$CPP
   6569 fi
   6570 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6571 $as_echo "$CPP" >&6; }
   6572 ac_preproc_ok=false
   6573 for ac_c_preproc_warn_flag in '' yes
   6574 do
   6575   # Use a header file that comes with gcc, so configuring glibc
   6576   # with a fresh cross-compiler works.
   6577   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6578   # <limits.h> exists even on freestanding compilers.
   6579   # On the NeXT, cc -E runs the code through the compiler's parser,
   6580   # not just through cpp. "Syntax error" is here to catch this case.
   6581   cat >conftest.$ac_ext <<_ACEOF
   6582 /* confdefs.h.  */
   6583 _ACEOF
   6584 cat confdefs.h >>conftest.$ac_ext
   6585 cat >>conftest.$ac_ext <<_ACEOF
   6586 /* end confdefs.h.  */
   6587 #ifdef __STDC__
   6588 # include <limits.h>
   6589 #else
   6590 # include <assert.h>
   6591 #endif
   6592 		     Syntax error
   6593 _ACEOF
   6594 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6595 case "(($ac_try" in
   6596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6597   *) ac_try_echo=$ac_try;;
   6598 esac
   6599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6600 $as_echo "$ac_try_echo") >&5
   6601   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6602   ac_status=$?
   6603   grep -v '^ *+' conftest.er1 >conftest.err
   6604   rm -f conftest.er1
   6605   cat conftest.err >&5
   6606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6607   (exit $ac_status); } >/dev/null && {
   6608 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6609 	 test ! -s conftest.err
   6610        }; then
   6611   :
   6612 else
   6613   $as_echo "$as_me: failed program was:" >&5
   6614 sed 's/^/| /' conftest.$ac_ext >&5
   6615 
   6616   # Broken: fails on valid input.
   6617 continue
   6618 fi
   6619 
   6620 rm -f conftest.err conftest.$ac_ext
   6621 
   6622   # OK, works on sane cases.  Now check whether nonexistent headers
   6623   # can be detected and how.
   6624   cat >conftest.$ac_ext <<_ACEOF
   6625 /* confdefs.h.  */
   6626 _ACEOF
   6627 cat confdefs.h >>conftest.$ac_ext
   6628 cat >>conftest.$ac_ext <<_ACEOF
   6629 /* end confdefs.h.  */
   6630 #include <ac_nonexistent.h>
   6631 _ACEOF
   6632 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6633 case "(($ac_try" in
   6634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6635   *) ac_try_echo=$ac_try;;
   6636 esac
   6637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6638 $as_echo "$ac_try_echo") >&5
   6639   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6640   ac_status=$?
   6641   grep -v '^ *+' conftest.er1 >conftest.err
   6642   rm -f conftest.er1
   6643   cat conftest.err >&5
   6644   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6645   (exit $ac_status); } >/dev/null && {
   6646 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6647 	 test ! -s conftest.err
   6648        }; then
   6649   # Broken: success on invalid input.
   6650 continue
   6651 else
   6652   $as_echo "$as_me: failed program was:" >&5
   6653 sed 's/^/| /' conftest.$ac_ext >&5
   6654 
   6655   # Passes both tests.
   6656 ac_preproc_ok=:
   6657 break
   6658 fi
   6659 
   6660 rm -f conftest.err conftest.$ac_ext
   6661 
   6662 done
   6663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6664 rm -f conftest.err conftest.$ac_ext
   6665 if $ac_preproc_ok; then
   6666   :
   6667 else
   6668   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6670 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6671 See \`config.log' for more details." >&5
   6672 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6673 See \`config.log' for more details." >&2;}
   6674    { (exit 1); exit 1; }; }; }
   6675 fi
   6676 
   6677 ac_ext=c
   6678 ac_cpp='$CPP $CPPFLAGS'
   6679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6682 
   6683 
   6684 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6685 $as_echo_n "checking for ANSI C header files... " >&6; }
   6686 if test "${ac_cv_header_stdc+set}" = set; then
   6687   $as_echo_n "(cached) " >&6
   6688 else
   6689   cat >conftest.$ac_ext <<_ACEOF
   6690 /* confdefs.h.  */
   6691 _ACEOF
   6692 cat confdefs.h >>conftest.$ac_ext
   6693 cat >>conftest.$ac_ext <<_ACEOF
   6694 /* end confdefs.h.  */
   6695 #include <stdlib.h>
   6696 #include <stdarg.h>
   6697 #include <string.h>
   6698 #include <float.h>
   6699 
   6700 int
   6701 main ()
   6702 {
   6703 
   6704   ;
   6705   return 0;
   6706 }
   6707 _ACEOF
   6708 rm -f conftest.$ac_objext
   6709 if { (ac_try="$ac_compile"
   6710 case "(($ac_try" in
   6711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6712   *) ac_try_echo=$ac_try;;
   6713 esac
   6714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6715 $as_echo "$ac_try_echo") >&5
   6716   (eval "$ac_compile") 2>conftest.er1
   6717   ac_status=$?
   6718   grep -v '^ *+' conftest.er1 >conftest.err
   6719   rm -f conftest.er1
   6720   cat conftest.err >&5
   6721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6722   (exit $ac_status); } && {
   6723 	 test -z "$ac_c_werror_flag" ||
   6724 	 test ! -s conftest.err
   6725        } && test -s conftest.$ac_objext; then
   6726   ac_cv_header_stdc=yes
   6727 else
   6728   $as_echo "$as_me: failed program was:" >&5
   6729 sed 's/^/| /' conftest.$ac_ext >&5
   6730 
   6731 	ac_cv_header_stdc=no
   6732 fi
   6733 
   6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6735 
   6736 if test $ac_cv_header_stdc = yes; then
   6737   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6738   cat >conftest.$ac_ext <<_ACEOF
   6739 /* confdefs.h.  */
   6740 _ACEOF
   6741 cat confdefs.h >>conftest.$ac_ext
   6742 cat >>conftest.$ac_ext <<_ACEOF
   6743 /* end confdefs.h.  */
   6744 #include <string.h>
   6745 
   6746 _ACEOF
   6747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6748   $EGREP "memchr" >/dev/null 2>&1; then
   6749   :
   6750 else
   6751   ac_cv_header_stdc=no
   6752 fi
   6753 rm -f conftest*
   6754 
   6755 fi
   6756 
   6757 if test $ac_cv_header_stdc = yes; then
   6758   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6759   cat >conftest.$ac_ext <<_ACEOF
   6760 /* confdefs.h.  */
   6761 _ACEOF
   6762 cat confdefs.h >>conftest.$ac_ext
   6763 cat >>conftest.$ac_ext <<_ACEOF
   6764 /* end confdefs.h.  */
   6765 #include <stdlib.h>
   6766 
   6767 _ACEOF
   6768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6769   $EGREP "free" >/dev/null 2>&1; then
   6770   :
   6771 else
   6772   ac_cv_header_stdc=no
   6773 fi
   6774 rm -f conftest*
   6775 
   6776 fi
   6777 
   6778 if test $ac_cv_header_stdc = yes; then
   6779   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6780   if test "$cross_compiling" = yes; then
   6781   :
   6782 else
   6783   cat >conftest.$ac_ext <<_ACEOF
   6784 /* confdefs.h.  */
   6785 _ACEOF
   6786 cat confdefs.h >>conftest.$ac_ext
   6787 cat >>conftest.$ac_ext <<_ACEOF
   6788 /* end confdefs.h.  */
   6789 #include <ctype.h>
   6790 #include <stdlib.h>
   6791 #if ((' ' & 0x0FF) == 0x020)
   6792 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6793 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6794 #else
   6795 # define ISLOWER(c) \
   6796 		   (('a' <= (c) && (c) <= 'i') \
   6797 		     || ('j' <= (c) && (c) <= 'r') \
   6798 		     || ('s' <= (c) && (c) <= 'z'))
   6799 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6800 #endif
   6801 
   6802 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6803 int
   6804 main ()
   6805 {
   6806   int i;
   6807   for (i = 0; i < 256; i++)
   6808     if (XOR (islower (i), ISLOWER (i))
   6809 	|| toupper (i) != TOUPPER (i))
   6810       return 2;
   6811   return 0;
   6812 }
   6813 _ACEOF
   6814 rm -f conftest$ac_exeext
   6815 if { (ac_try="$ac_link"
   6816 case "(($ac_try" in
   6817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6818   *) ac_try_echo=$ac_try;;
   6819 esac
   6820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6821 $as_echo "$ac_try_echo") >&5
   6822   (eval "$ac_link") 2>&5
   6823   ac_status=$?
   6824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6825   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6826   { (case "(($ac_try" in
   6827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6828   *) ac_try_echo=$ac_try;;
   6829 esac
   6830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6831 $as_echo "$ac_try_echo") >&5
   6832   (eval "$ac_try") 2>&5
   6833   ac_status=$?
   6834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6835   (exit $ac_status); }; }; then
   6836   :
   6837 else
   6838   $as_echo "$as_me: program exited with status $ac_status" >&5
   6839 $as_echo "$as_me: failed program was:" >&5
   6840 sed 's/^/| /' conftest.$ac_ext >&5
   6841 
   6842 ( exit $ac_status )
   6843 ac_cv_header_stdc=no
   6844 fi
   6845 rm -rf conftest.dSYM
   6846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6847 fi
   6848 
   6849 
   6850 fi
   6851 fi
   6852 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6853 $as_echo "$ac_cv_header_stdc" >&6; }
   6854 if test $ac_cv_header_stdc = yes; then
   6855 
   6856 cat >>confdefs.h <<\_ACEOF
   6857 #define STDC_HEADERS 1
   6858 _ACEOF
   6859 
   6860 fi
   6861 
   6862 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6873 		  inttypes.h stdint.h unistd.h
   6874 do
   6875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6876 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6877 $as_echo_n "checking for $ac_header... " >&6; }
   6878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6879   $as_echo_n "(cached) " >&6
   6880 else
   6881   cat >conftest.$ac_ext <<_ACEOF
   6882 /* confdefs.h.  */
   6883 _ACEOF
   6884 cat confdefs.h >>conftest.$ac_ext
   6885 cat >>conftest.$ac_ext <<_ACEOF
   6886 /* end confdefs.h.  */
   6887 $ac_includes_default
   6888 
   6889 #include <$ac_header>
   6890 _ACEOF
   6891 rm -f conftest.$ac_objext
   6892 if { (ac_try="$ac_compile"
   6893 case "(($ac_try" in
   6894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6895   *) ac_try_echo=$ac_try;;
   6896 esac
   6897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6898 $as_echo "$ac_try_echo") >&5
   6899   (eval "$ac_compile") 2>conftest.er1
   6900   ac_status=$?
   6901   grep -v '^ *+' conftest.er1 >conftest.err
   6902   rm -f conftest.er1
   6903   cat conftest.err >&5
   6904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6905   (exit $ac_status); } && {
   6906 	 test -z "$ac_c_werror_flag" ||
   6907 	 test ! -s conftest.err
   6908        } && test -s conftest.$ac_objext; then
   6909   eval "$as_ac_Header=yes"
   6910 else
   6911   $as_echo "$as_me: failed program was:" >&5
   6912 sed 's/^/| /' conftest.$ac_ext >&5
   6913 
   6914 	eval "$as_ac_Header=no"
   6915 fi
   6916 
   6917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6918 fi
   6919 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6920 		 $as_echo "$as_val"'`
   6921 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6922 $as_echo "$ac_res" >&6; }
   6923 as_val=`eval 'as_val=${'$as_ac_Header'}
   6924 		 $as_echo "$as_val"'`
   6925    if test "x$as_val" = x""yes; then
   6926   cat >>confdefs.h <<_ACEOF
   6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6928 _ACEOF
   6929 
   6930 fi
   6931 
   6932 done
   6933 
   6934 
   6935 
   6936 for ac_header in dlfcn.h
   6937 do
   6938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6939 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6940 $as_echo_n "checking for $ac_header... " >&6; }
   6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   cat >conftest.$ac_ext <<_ACEOF
   6945 /* confdefs.h.  */
   6946 _ACEOF
   6947 cat confdefs.h >>conftest.$ac_ext
   6948 cat >>conftest.$ac_ext <<_ACEOF
   6949 /* end confdefs.h.  */
   6950 $ac_includes_default
   6951 
   6952 #include <$ac_header>
   6953 _ACEOF
   6954 rm -f conftest.$ac_objext
   6955 if { (ac_try="$ac_compile"
   6956 case "(($ac_try" in
   6957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6958   *) ac_try_echo=$ac_try;;
   6959 esac
   6960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6961 $as_echo "$ac_try_echo") >&5
   6962   (eval "$ac_compile") 2>conftest.er1
   6963   ac_status=$?
   6964   grep -v '^ *+' conftest.er1 >conftest.err
   6965   rm -f conftest.er1
   6966   cat conftest.err >&5
   6967   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6968   (exit $ac_status); } && {
   6969 	 test -z "$ac_c_werror_flag" ||
   6970 	 test ! -s conftest.err
   6971        } && test -s conftest.$ac_objext; then
   6972   eval "$as_ac_Header=yes"
   6973 else
   6974   $as_echo "$as_me: failed program was:" >&5
   6975 sed 's/^/| /' conftest.$ac_ext >&5
   6976 
   6977 	eval "$as_ac_Header=no"
   6978 fi
   6979 
   6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6981 fi
   6982 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6983 		 $as_echo "$as_val"'`
   6984 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6985 $as_echo "$ac_res" >&6; }
   6986 as_val=`eval 'as_val=${'$as_ac_Header'}
   6987 		 $as_echo "$as_val"'`
   6988    if test "x$as_val" = x""yes; then
   6989   cat >>confdefs.h <<_ACEOF
   6990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6991 _ACEOF
   6992 
   6993 fi
   6994 
   6995 done
   6996 
   6997 
   6998 
   6999 # Set options
   7000 
   7001 
   7002 
   7003         enable_dlopen=no
   7004 
   7005 
   7006   enable_win32_dll=no
   7007 
   7008 
   7009             # Check whether --enable-shared was given.
   7010 if test "${enable_shared+set}" = set; then
   7011   enableval=$enable_shared; p=${PACKAGE-default}
   7012     case $enableval in
   7013     yes) enable_shared=yes ;;
   7014     no) enable_shared=no ;;
   7015     *)
   7016       enable_shared=no
   7017       # Look at the argument we got.  We use all the common list separators.
   7018       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7019       for pkg in $enableval; do
   7020 	IFS="$lt_save_ifs"
   7021 	if test "X$pkg" = "X$p"; then
   7022 	  enable_shared=yes
   7023 	fi
   7024       done
   7025       IFS="$lt_save_ifs"
   7026       ;;
   7027     esac
   7028 else
   7029   enable_shared=yes
   7030 fi
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 # Check whether --with-pic was given.
   7043 if test "${with_pic+set}" = set; then
   7044   withval=$with_pic; pic_mode="$withval"
   7045 else
   7046   pic_mode=default
   7047 fi
   7048 
   7049 
   7050 test -z "$pic_mode" && pic_mode=default
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058   # Check whether --enable-fast-install was given.
   7059 if test "${enable_fast_install+set}" = set; then
   7060   enableval=$enable_fast_install; p=${PACKAGE-default}
   7061     case $enableval in
   7062     yes) enable_fast_install=yes ;;
   7063     no) enable_fast_install=no ;;
   7064     *)
   7065       enable_fast_install=no
   7066       # Look at the argument we got.  We use all the common list separators.
   7067       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7068       for pkg in $enableval; do
   7069 	IFS="$lt_save_ifs"
   7070 	if test "X$pkg" = "X$p"; then
   7071 	  enable_fast_install=yes
   7072 	fi
   7073       done
   7074       IFS="$lt_save_ifs"
   7075       ;;
   7076     esac
   7077 else
   7078   enable_fast_install=yes
   7079 fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 # This can be used to rebuild libtool when needed
   7092 LIBTOOL_DEPS="$ltmain"
   7093 
   7094 # Always use our own libtool.
   7095 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 test -z "$LN_S" && LN_S="ln -s"
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 if test -n "${ZSH_VERSION+set}" ; then
   7137    setopt NO_GLOB_SUBST
   7138 fi
   7139 
   7140 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7141 $as_echo_n "checking for objdir... " >&6; }
   7142 if test "${lt_cv_objdir+set}" = set; then
   7143   $as_echo_n "(cached) " >&6
   7144 else
   7145   rm -f .libs 2>/dev/null
   7146 mkdir .libs 2>/dev/null
   7147 if test -d .libs; then
   7148   lt_cv_objdir=.libs
   7149 else
   7150   # MS-DOS does not allow filenames that begin with a dot.
   7151   lt_cv_objdir=_libs
   7152 fi
   7153 rmdir .libs 2>/dev/null
   7154 fi
   7155 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7156 $as_echo "$lt_cv_objdir" >&6; }
   7157 objdir=$lt_cv_objdir
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 cat >>confdefs.h <<_ACEOF
   7164 #define LT_OBJDIR "$lt_cv_objdir/"
   7165 _ACEOF
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 case $host_os in
   7184 aix3*)
   7185   # AIX sometimes has problems with the GCC collect2 program.  For some
   7186   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7187   # vanish in a puff of smoke.
   7188   if test "X${COLLECT_NAMES+set}" != Xset; then
   7189     COLLECT_NAMES=
   7190     export COLLECT_NAMES
   7191   fi
   7192   ;;
   7193 esac
   7194 
   7195 # Sed substitution that helps us do robust quoting.  It backslashifies
   7196 # metacharacters that are still active within double-quoted strings.
   7197 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7198 
   7199 # Same as above, but do not quote variable references.
   7200 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7201 
   7202 # Sed substitution to delay expansion of an escaped shell variable in a
   7203 # double_quote_subst'ed string.
   7204 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7205 
   7206 # Sed substitution to delay expansion of an escaped single quote.
   7207 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7208 
   7209 # Sed substitution to avoid accidental globbing in evaled expressions
   7210 no_glob_subst='s/\*/\\\*/g'
   7211 
   7212 # Global variables:
   7213 ofile=libtool
   7214 can_build_shared=yes
   7215 
   7216 # All known linkers require a `.a' archive for static linking (except MSVC,
   7217 # which needs '.lib').
   7218 libext=a
   7219 
   7220 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7221 
   7222 old_CC="$CC"
   7223 old_CFLAGS="$CFLAGS"
   7224 
   7225 # Set sane defaults for various variables
   7226 test -z "$CC" && CC=cc
   7227 test -z "$LTCC" && LTCC=$CC
   7228 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7229 test -z "$LD" && LD=ld
   7230 test -z "$ac_objext" && ac_objext=o
   7231 
   7232 for cc_temp in $compiler""; do
   7233   case $cc_temp in
   7234     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7235     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7236     \-*) ;;
   7237     *) break;;
   7238   esac
   7239 done
   7240 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7241 
   7242 
   7243 # Only perform the check for file, if the check method requires it
   7244 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7245 case $deplibs_check_method in
   7246 file_magic*)
   7247   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7248     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7249 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7250 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   case $MAGIC_CMD in
   7254 [\\/*] |  ?:[\\/]*)
   7255   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7256   ;;
   7257 *)
   7258   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7259   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7260   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7261   for ac_dir in $ac_dummy; do
   7262     IFS="$lt_save_ifs"
   7263     test -z "$ac_dir" && ac_dir=.
   7264     if test -f $ac_dir/${ac_tool_prefix}file; then
   7265       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7266       if test -n "$file_magic_test_file"; then
   7267 	case $deplibs_check_method in
   7268 	"file_magic "*)
   7269 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7270 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7271 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7272 	    $EGREP "$file_magic_regex" > /dev/null; then
   7273 	    :
   7274 	  else
   7275 	    cat <<_LT_EOF 1>&2
   7276 
   7277 *** Warning: the command libtool uses to detect shared libraries,
   7278 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7279 *** The result is that libtool may fail to recognize shared libraries
   7280 *** as such.  This will affect the creation of libtool libraries that
   7281 *** depend on shared libraries, but programs linked with such libtool
   7282 *** libraries will work regardless of this problem.  Nevertheless, you
   7283 *** may want to report the problem to your system manager and/or to
   7284 *** bug-libtool@gnu.org
   7285 
   7286 _LT_EOF
   7287 	  fi ;;
   7288 	esac
   7289       fi
   7290       break
   7291     fi
   7292   done
   7293   IFS="$lt_save_ifs"
   7294   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7295   ;;
   7296 esac
   7297 fi
   7298 
   7299 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7300 if test -n "$MAGIC_CMD"; then
   7301   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7302 $as_echo "$MAGIC_CMD" >&6; }
   7303 else
   7304   { $as_echo "$as_me:$LINENO: result: no" >&5
   7305 $as_echo "no" >&6; }
   7306 fi
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7313   if test -n "$ac_tool_prefix"; then
   7314     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7315 $as_echo_n "checking for file... " >&6; }
   7316 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   case $MAGIC_CMD in
   7320 [\\/*] |  ?:[\\/]*)
   7321   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7322   ;;
   7323 *)
   7324   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7325   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7326   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7327   for ac_dir in $ac_dummy; do
   7328     IFS="$lt_save_ifs"
   7329     test -z "$ac_dir" && ac_dir=.
   7330     if test -f $ac_dir/file; then
   7331       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7332       if test -n "$file_magic_test_file"; then
   7333 	case $deplibs_check_method in
   7334 	"file_magic "*)
   7335 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7336 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7337 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7338 	    $EGREP "$file_magic_regex" > /dev/null; then
   7339 	    :
   7340 	  else
   7341 	    cat <<_LT_EOF 1>&2
   7342 
   7343 *** Warning: the command libtool uses to detect shared libraries,
   7344 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7345 *** The result is that libtool may fail to recognize shared libraries
   7346 *** as such.  This will affect the creation of libtool libraries that
   7347 *** depend on shared libraries, but programs linked with such libtool
   7348 *** libraries will work regardless of this problem.  Nevertheless, you
   7349 *** may want to report the problem to your system manager and/or to
   7350 *** bug-libtool@gnu.org
   7351 
   7352 _LT_EOF
   7353 	  fi ;;
   7354 	esac
   7355       fi
   7356       break
   7357     fi
   7358   done
   7359   IFS="$lt_save_ifs"
   7360   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7361   ;;
   7362 esac
   7363 fi
   7364 
   7365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7366 if test -n "$MAGIC_CMD"; then
   7367   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7368 $as_echo "$MAGIC_CMD" >&6; }
   7369 else
   7370   { $as_echo "$as_me:$LINENO: result: no" >&5
   7371 $as_echo "no" >&6; }
   7372 fi
   7373 
   7374 
   7375   else
   7376     MAGIC_CMD=:
   7377   fi
   7378 fi
   7379 
   7380   fi
   7381   ;;
   7382 esac
   7383 
   7384 # Use C for the default configuration in the libtool script
   7385 
   7386 lt_save_CC="$CC"
   7387 ac_ext=c
   7388 ac_cpp='$CPP $CPPFLAGS'
   7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7392 
   7393 
   7394 # Source file extension for C test sources.
   7395 ac_ext=c
   7396 
   7397 # Object file extension for compiled C test sources.
   7398 objext=o
   7399 objext=$objext
   7400 
   7401 # Code to be used in simple compile tests
   7402 lt_simple_compile_test_code="int some_variable = 0;"
   7403 
   7404 # Code to be used in simple link tests
   7405 lt_simple_link_test_code='int main(){return(0);}'
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 # If no C compiler was specified, use CC.
   7414 LTCC=${LTCC-"$CC"}
   7415 
   7416 # If no C compiler flags were specified, use CFLAGS.
   7417 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7418 
   7419 # Allow CC to be a program name with arguments.
   7420 compiler=$CC
   7421 
   7422 # Save the default compiler, since it gets overwritten when the other
   7423 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7424 compiler_DEFAULT=$CC
   7425 
   7426 # save warnings/boilerplate of simple test code
   7427 ac_outfile=conftest.$ac_objext
   7428 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7429 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7430 _lt_compiler_boilerplate=`cat conftest.err`
   7431 $RM conftest*
   7432 
   7433 ac_outfile=conftest.$ac_objext
   7434 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7435 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7436 _lt_linker_boilerplate=`cat conftest.err`
   7437 $RM -r conftest*
   7438 
   7439 
   7440 if test -n "$compiler"; then
   7441 
   7442 lt_prog_compiler_no_builtin_flag=
   7443 
   7444 if test "$GCC" = yes; then
   7445   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7446 
   7447   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7449 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7450   $as_echo_n "(cached) " >&6
   7451 else
   7452   lt_cv_prog_compiler_rtti_exceptions=no
   7453    ac_outfile=conftest.$ac_objext
   7454    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7455    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7456    # Insert the option either (1) after the last *FLAGS variable, or
   7457    # (2) before a word containing "conftest.", or (3) at the end.
   7458    # Note that $ac_compile itself does not contain backslashes and begins
   7459    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7460    # The option is referenced via a variable to avoid confusing sed.
   7461    lt_compile=`echo "$ac_compile" | $SED \
   7462    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7463    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7464    -e 's:$: $lt_compiler_flag:'`
   7465    (eval echo "\"\$as_me:7465: $lt_compile\"" >&5)
   7466    (eval "$lt_compile" 2>conftest.err)
   7467    ac_status=$?
   7468    cat conftest.err >&5
   7469    echo "$as_me:7469: \$? = $ac_status" >&5
   7470    if (exit $ac_status) && test -s "$ac_outfile"; then
   7471      # The compiler can only warn and ignore the option if not recognized
   7472      # So say no if there are warnings other than the usual output.
   7473      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7474      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7475      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7476        lt_cv_prog_compiler_rtti_exceptions=yes
   7477      fi
   7478    fi
   7479    $RM conftest*
   7480 
   7481 fi
   7482 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7484 
   7485 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7486     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7487 else
   7488     :
   7489 fi
   7490 
   7491 fi
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498   lt_prog_compiler_wl=
   7499 lt_prog_compiler_pic=
   7500 lt_prog_compiler_static=
   7501 
   7502 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7504 
   7505   if test "$GCC" = yes; then
   7506     lt_prog_compiler_wl='-Wl,'
   7507     lt_prog_compiler_static='-static'
   7508 
   7509     case $host_os in
   7510       aix*)
   7511       # All AIX code is PIC.
   7512       if test "$host_cpu" = ia64; then
   7513 	# AIX 5 now supports IA64 processor
   7514 	lt_prog_compiler_static='-Bstatic'
   7515       fi
   7516       ;;
   7517 
   7518     amigaos*)
   7519       case $host_cpu in
   7520       powerpc)
   7521             # see comment about AmigaOS4 .so support
   7522             lt_prog_compiler_pic='-fPIC'
   7523         ;;
   7524       m68k)
   7525             # FIXME: we need at least 68020 code to build shared libraries, but
   7526             # adding the `-m68020' flag to GCC prevents building anything better,
   7527             # like `-m68040'.
   7528             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7529         ;;
   7530       esac
   7531       ;;
   7532 
   7533     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7534       # PIC is the default for these OSes.
   7535       ;;
   7536 
   7537     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7538       # This hack is so that the source file can tell whether it is being
   7539       # built for inclusion in a dll (and should export symbols for example).
   7540       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7541       # (--disable-auto-import) libraries
   7542       lt_prog_compiler_pic='-DDLL_EXPORT'
   7543       ;;
   7544 
   7545     darwin* | rhapsody*)
   7546       # PIC is the default on this platform
   7547       # Common symbols not allowed in MH_DYLIB files
   7548       lt_prog_compiler_pic='-fno-common'
   7549       ;;
   7550 
   7551     hpux*)
   7552       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7553       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7554       # sets the default TLS model and affects inlining.
   7555       case $host_cpu in
   7556       hppa*64*)
   7557 	# +Z the default
   7558 	;;
   7559       *)
   7560 	lt_prog_compiler_pic='-fPIC'
   7561 	;;
   7562       esac
   7563       ;;
   7564 
   7565     interix[3-9]*)
   7566       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7567       # Instead, we relocate shared libraries at runtime.
   7568       ;;
   7569 
   7570     msdosdjgpp*)
   7571       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7572       # on systems that don't support them.
   7573       lt_prog_compiler_can_build_shared=no
   7574       enable_shared=no
   7575       ;;
   7576 
   7577     *nto* | *qnx*)
   7578       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7579       # it will coredump.
   7580       lt_prog_compiler_pic='-fPIC -shared'
   7581       ;;
   7582 
   7583     sysv4*MP*)
   7584       if test -d /usr/nec; then
   7585 	lt_prog_compiler_pic=-Kconform_pic
   7586       fi
   7587       ;;
   7588 
   7589     *)
   7590       lt_prog_compiler_pic='-fPIC'
   7591       ;;
   7592     esac
   7593   else
   7594     # PORTME Check for flag to pass linker flags through the system compiler.
   7595     case $host_os in
   7596     aix*)
   7597       lt_prog_compiler_wl='-Wl,'
   7598       if test "$host_cpu" = ia64; then
   7599 	# AIX 5 now supports IA64 processor
   7600 	lt_prog_compiler_static='-Bstatic'
   7601       else
   7602 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7603       fi
   7604       ;;
   7605 
   7606     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7607       # This hack is so that the source file can tell whether it is being
   7608       # built for inclusion in a dll (and should export symbols for example).
   7609       lt_prog_compiler_pic='-DDLL_EXPORT'
   7610       ;;
   7611 
   7612     hpux9* | hpux10* | hpux11*)
   7613       lt_prog_compiler_wl='-Wl,'
   7614       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7615       # not for PA HP-UX.
   7616       case $host_cpu in
   7617       hppa*64*|ia64*)
   7618 	# +Z the default
   7619 	;;
   7620       *)
   7621 	lt_prog_compiler_pic='+Z'
   7622 	;;
   7623       esac
   7624       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7625       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7626       ;;
   7627 
   7628     irix5* | irix6* | nonstopux*)
   7629       lt_prog_compiler_wl='-Wl,'
   7630       # PIC (with -KPIC) is the default.
   7631       lt_prog_compiler_static='-non_shared'
   7632       ;;
   7633 
   7634     linux* | k*bsd*-gnu)
   7635       case $cc_basename in
   7636       # old Intel for x86_64 which still supported -KPIC.
   7637       ecc*)
   7638 	lt_prog_compiler_wl='-Wl,'
   7639 	lt_prog_compiler_pic='-KPIC'
   7640 	lt_prog_compiler_static='-static'
   7641         ;;
   7642       # icc used to be incompatible with GCC.
   7643       # ICC 10 doesn't accept -KPIC any more.
   7644       icc* | ifort*)
   7645 	lt_prog_compiler_wl='-Wl,'
   7646 	lt_prog_compiler_pic='-fPIC'
   7647 	lt_prog_compiler_static='-static'
   7648         ;;
   7649       # Lahey Fortran 8.1.
   7650       lf95*)
   7651 	lt_prog_compiler_wl='-Wl,'
   7652 	lt_prog_compiler_pic='--shared'
   7653 	lt_prog_compiler_static='--static'
   7654 	;;
   7655       pgcc* | pgf77* | pgf90* | pgf95*)
   7656         # Portland Group compilers (*not* the Pentium gcc compiler,
   7657 	# which looks to be a dead project)
   7658 	lt_prog_compiler_wl='-Wl,'
   7659 	lt_prog_compiler_pic='-fpic'
   7660 	lt_prog_compiler_static='-Bstatic'
   7661         ;;
   7662       ccc*)
   7663         lt_prog_compiler_wl='-Wl,'
   7664         # All Alpha code is PIC.
   7665         lt_prog_compiler_static='-non_shared'
   7666         ;;
   7667       xl*)
   7668 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7669 	lt_prog_compiler_wl='-Wl,'
   7670 	lt_prog_compiler_pic='-qpic'
   7671 	lt_prog_compiler_static='-qstaticlink'
   7672 	;;
   7673       *)
   7674 	case `$CC -V 2>&1 | sed 5q` in
   7675 	*Sun\ C*)
   7676 	  # Sun C 5.9
   7677 	  lt_prog_compiler_pic='-KPIC'
   7678 	  lt_prog_compiler_static='-Bstatic'
   7679 	  lt_prog_compiler_wl='-Wl,'
   7680 	  ;;
   7681 	*Sun\ F*)
   7682 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7683 	  lt_prog_compiler_pic='-KPIC'
   7684 	  lt_prog_compiler_static='-Bstatic'
   7685 	  lt_prog_compiler_wl=''
   7686 	  ;;
   7687 	esac
   7688 	;;
   7689       esac
   7690       ;;
   7691 
   7692     newsos6)
   7693       lt_prog_compiler_pic='-KPIC'
   7694       lt_prog_compiler_static='-Bstatic'
   7695       ;;
   7696 
   7697     *nto* | *qnx*)
   7698       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7699       # it will coredump.
   7700       lt_prog_compiler_pic='-fPIC -shared'
   7701       ;;
   7702 
   7703     osf3* | osf4* | osf5*)
   7704       lt_prog_compiler_wl='-Wl,'
   7705       # All OSF/1 code is PIC.
   7706       lt_prog_compiler_static='-non_shared'
   7707       ;;
   7708 
   7709     rdos*)
   7710       lt_prog_compiler_static='-non_shared'
   7711       ;;
   7712 
   7713     solaris*)
   7714       lt_prog_compiler_pic='-KPIC'
   7715       lt_prog_compiler_static='-Bstatic'
   7716       case $cc_basename in
   7717       f77* | f90* | f95*)
   7718 	lt_prog_compiler_wl='-Qoption ld ';;
   7719       *)
   7720 	lt_prog_compiler_wl='-Wl,';;
   7721       esac
   7722       ;;
   7723 
   7724     sunos4*)
   7725       lt_prog_compiler_wl='-Qoption ld '
   7726       lt_prog_compiler_pic='-PIC'
   7727       lt_prog_compiler_static='-Bstatic'
   7728       ;;
   7729 
   7730     sysv4 | sysv4.2uw2* | sysv4.3*)
   7731       lt_prog_compiler_wl='-Wl,'
   7732       lt_prog_compiler_pic='-KPIC'
   7733       lt_prog_compiler_static='-Bstatic'
   7734       ;;
   7735 
   7736     sysv4*MP*)
   7737       if test -d /usr/nec ;then
   7738 	lt_prog_compiler_pic='-Kconform_pic'
   7739 	lt_prog_compiler_static='-Bstatic'
   7740       fi
   7741       ;;
   7742 
   7743     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7744       lt_prog_compiler_wl='-Wl,'
   7745       lt_prog_compiler_pic='-KPIC'
   7746       lt_prog_compiler_static='-Bstatic'
   7747       ;;
   7748 
   7749     unicos*)
   7750       lt_prog_compiler_wl='-Wl,'
   7751       lt_prog_compiler_can_build_shared=no
   7752       ;;
   7753 
   7754     uts4*)
   7755       lt_prog_compiler_pic='-pic'
   7756       lt_prog_compiler_static='-Bstatic'
   7757       ;;
   7758 
   7759     *)
   7760       lt_prog_compiler_can_build_shared=no
   7761       ;;
   7762     esac
   7763   fi
   7764 
   7765 case $host_os in
   7766   # For platforms which do not support PIC, -DPIC is meaningless:
   7767   *djgpp*)
   7768     lt_prog_compiler_pic=
   7769     ;;
   7770   *)
   7771     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7772     ;;
   7773 esac
   7774 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7775 $as_echo "$lt_prog_compiler_pic" >&6; }
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 #
   7783 # Check to make sure the PIC flag actually works.
   7784 #
   7785 if test -n "$lt_prog_compiler_pic"; then
   7786   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7787 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7788 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7789   $as_echo_n "(cached) " >&6
   7790 else
   7791   lt_cv_prog_compiler_pic_works=no
   7792    ac_outfile=conftest.$ac_objext
   7793    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7794    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7795    # Insert the option either (1) after the last *FLAGS variable, or
   7796    # (2) before a word containing "conftest.", or (3) at the end.
   7797    # Note that $ac_compile itself does not contain backslashes and begins
   7798    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7799    # The option is referenced via a variable to avoid confusing sed.
   7800    lt_compile=`echo "$ac_compile" | $SED \
   7801    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7802    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7803    -e 's:$: $lt_compiler_flag:'`
   7804    (eval echo "\"\$as_me:7804: $lt_compile\"" >&5)
   7805    (eval "$lt_compile" 2>conftest.err)
   7806    ac_status=$?
   7807    cat conftest.err >&5
   7808    echo "$as_me:7808: \$? = $ac_status" >&5
   7809    if (exit $ac_status) && test -s "$ac_outfile"; then
   7810      # The compiler can only warn and ignore the option if not recognized
   7811      # So say no if there are warnings other than the usual output.
   7812      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7813      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7814      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7815        lt_cv_prog_compiler_pic_works=yes
   7816      fi
   7817    fi
   7818    $RM conftest*
   7819 
   7820 fi
   7821 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7822 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7823 
   7824 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7825     case $lt_prog_compiler_pic in
   7826      "" | " "*) ;;
   7827      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7828      esac
   7829 else
   7830     lt_prog_compiler_pic=
   7831      lt_prog_compiler_can_build_shared=no
   7832 fi
   7833 
   7834 fi
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 #
   7842 # Check to make sure the static flag actually works.
   7843 #
   7844 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7845 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7846 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7847 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7848   $as_echo_n "(cached) " >&6
   7849 else
   7850   lt_cv_prog_compiler_static_works=no
   7851    save_LDFLAGS="$LDFLAGS"
   7852    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7853    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7854    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7855      # The linker can only warn and ignore the option if not recognized
   7856      # So say no if there are warnings
   7857      if test -s conftest.err; then
   7858        # Append any errors to the config.log.
   7859        cat conftest.err 1>&5
   7860        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7861        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7862        if diff conftest.exp conftest.er2 >/dev/null; then
   7863          lt_cv_prog_compiler_static_works=yes
   7864        fi
   7865      else
   7866        lt_cv_prog_compiler_static_works=yes
   7867      fi
   7868    fi
   7869    $RM -r conftest*
   7870    LDFLAGS="$save_LDFLAGS"
   7871 
   7872 fi
   7873 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7874 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7875 
   7876 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7877     :
   7878 else
   7879     lt_prog_compiler_static=
   7880 fi
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7890 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7891   $as_echo_n "(cached) " >&6
   7892 else
   7893   lt_cv_prog_compiler_c_o=no
   7894    $RM -r conftest 2>/dev/null
   7895    mkdir conftest
   7896    cd conftest
   7897    mkdir out
   7898    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7899 
   7900    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7901    # Insert the option either (1) after the last *FLAGS variable, or
   7902    # (2) before a word containing "conftest.", or (3) at the end.
   7903    # Note that $ac_compile itself does not contain backslashes and begins
   7904    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7905    lt_compile=`echo "$ac_compile" | $SED \
   7906    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7907    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7908    -e 's:$: $lt_compiler_flag:'`
   7909    (eval echo "\"\$as_me:7909: $lt_compile\"" >&5)
   7910    (eval "$lt_compile" 2>out/conftest.err)
   7911    ac_status=$?
   7912    cat out/conftest.err >&5
   7913    echo "$as_me:7913: \$? = $ac_status" >&5
   7914    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7915    then
   7916      # The compiler can only warn and ignore the option if not recognized
   7917      # So say no if there are warnings
   7918      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7919      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7920      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7921        lt_cv_prog_compiler_c_o=yes
   7922      fi
   7923    fi
   7924    chmod u+w . 2>&5
   7925    $RM conftest*
   7926    # SGI C++ compiler will create directory out/ii_files/ for
   7927    # template instantiation
   7928    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7929    $RM out/* && rmdir out
   7930    cd ..
   7931    $RM -r conftest
   7932    $RM conftest*
   7933 
   7934 fi
   7935 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7945 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7946   $as_echo_n "(cached) " >&6
   7947 else
   7948   lt_cv_prog_compiler_c_o=no
   7949    $RM -r conftest 2>/dev/null
   7950    mkdir conftest
   7951    cd conftest
   7952    mkdir out
   7953    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7954 
   7955    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7956    # Insert the option either (1) after the last *FLAGS variable, or
   7957    # (2) before a word containing "conftest.", or (3) at the end.
   7958    # Note that $ac_compile itself does not contain backslashes and begins
   7959    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7960    lt_compile=`echo "$ac_compile" | $SED \
   7961    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7962    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7963    -e 's:$: $lt_compiler_flag:'`
   7964    (eval echo "\"\$as_me:7964: $lt_compile\"" >&5)
   7965    (eval "$lt_compile" 2>out/conftest.err)
   7966    ac_status=$?
   7967    cat out/conftest.err >&5
   7968    echo "$as_me:7968: \$? = $ac_status" >&5
   7969    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7970    then
   7971      # The compiler can only warn and ignore the option if not recognized
   7972      # So say no if there are warnings
   7973      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7974      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7975      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7976        lt_cv_prog_compiler_c_o=yes
   7977      fi
   7978    fi
   7979    chmod u+w . 2>&5
   7980    $RM conftest*
   7981    # SGI C++ compiler will create directory out/ii_files/ for
   7982    # template instantiation
   7983    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7984    $RM out/* && rmdir out
   7985    cd ..
   7986    $RM -r conftest
   7987    $RM conftest*
   7988 
   7989 fi
   7990 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7991 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7992 
   7993 
   7994 
   7995 
   7996 hard_links="nottested"
   7997 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7998   # do not overwrite the value of need_locks provided by the user
   7999   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8000 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8001   hard_links=yes
   8002   $RM conftest*
   8003   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8004   touch conftest.a
   8005   ln conftest.a conftest.b 2>&5 || hard_links=no
   8006   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8007   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8008 $as_echo "$hard_links" >&6; }
   8009   if test "$hard_links" = no; then
   8010     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8011 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8012     need_locks=warn
   8013   fi
   8014 else
   8015   need_locks=no
   8016 fi
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8024 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8025 
   8026   runpath_var=
   8027   allow_undefined_flag=
   8028   always_export_symbols=no
   8029   archive_cmds=
   8030   archive_expsym_cmds=
   8031   compiler_needs_object=no
   8032   enable_shared_with_static_runtimes=no
   8033   export_dynamic_flag_spec=
   8034   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8035   hardcode_automatic=no
   8036   hardcode_direct=no
   8037   hardcode_direct_absolute=no
   8038   hardcode_libdir_flag_spec=
   8039   hardcode_libdir_flag_spec_ld=
   8040   hardcode_libdir_separator=
   8041   hardcode_minus_L=no
   8042   hardcode_shlibpath_var=unsupported
   8043   inherit_rpath=no
   8044   link_all_deplibs=unknown
   8045   module_cmds=
   8046   module_expsym_cmds=
   8047   old_archive_from_new_cmds=
   8048   old_archive_from_expsyms_cmds=
   8049   thread_safe_flag_spec=
   8050   whole_archive_flag_spec=
   8051   # include_expsyms should be a list of space-separated symbols to be *always*
   8052   # included in the symbol list
   8053   include_expsyms=
   8054   # exclude_expsyms can be an extended regexp of symbols to exclude
   8055   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8056   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8057   # as well as any symbol that contains `d'.
   8058   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8059   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8060   # platforms (ab)use it in PIC code, but their linkers get confused if
   8061   # the symbol is explicitly referenced.  Since portable code cannot
   8062   # rely on this symbol name, it's probably fine to never include it in
   8063   # preloaded symbol tables.
   8064   # Exclude shared library initialization/finalization symbols.
   8065   extract_expsyms_cmds=
   8066 
   8067   case $host_os in
   8068   cygwin* | mingw* | pw32* | cegcc*)
   8069     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8070     # When not using gcc, we currently assume that we are using
   8071     # Microsoft Visual C++.
   8072     if test "$GCC" != yes; then
   8073       with_gnu_ld=no
   8074     fi
   8075     ;;
   8076   interix*)
   8077     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8078     with_gnu_ld=yes
   8079     ;;
   8080   openbsd*)
   8081     with_gnu_ld=no
   8082     ;;
   8083   esac
   8084 
   8085   ld_shlibs=yes
   8086   if test "$with_gnu_ld" = yes; then
   8087     # If archive_cmds runs LD, not CC, wlarc should be empty
   8088     wlarc='${wl}'
   8089 
   8090     # Set some defaults for GNU ld with shared library support. These
   8091     # are reset later if shared libraries are not supported. Putting them
   8092     # here allows them to be overridden if necessary.
   8093     runpath_var=LD_RUN_PATH
   8094     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8095     export_dynamic_flag_spec='${wl}--export-dynamic'
   8096     # ancient GNU ld didn't support --whole-archive et. al.
   8097     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8098       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8099     else
   8100       whole_archive_flag_spec=
   8101     fi
   8102     supports_anon_versioning=no
   8103     case `$LD -v 2>&1` in
   8104       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8105       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8106       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8107       *\ 2.11.*) ;; # other 2.11 versions
   8108       *) supports_anon_versioning=yes ;;
   8109     esac
   8110 
   8111     # See if GNU ld supports shared libraries.
   8112     case $host_os in
   8113     aix[3-9]*)
   8114       # On AIX/PPC, the GNU linker is very broken
   8115       if test "$host_cpu" != ia64; then
   8116 	ld_shlibs=no
   8117 	cat <<_LT_EOF 1>&2
   8118 
   8119 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8120 *** to be unable to reliably create shared libraries on AIX.
   8121 *** Therefore, libtool is disabling shared libraries support.  If you
   8122 *** really care for shared libraries, you may want to modify your PATH
   8123 *** so that a non-GNU linker is found, and then restart.
   8124 
   8125 _LT_EOF
   8126       fi
   8127       ;;
   8128 
   8129     amigaos*)
   8130       case $host_cpu in
   8131       powerpc)
   8132             # see comment about AmigaOS4 .so support
   8133             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8134             archive_expsym_cmds=''
   8135         ;;
   8136       m68k)
   8137             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)'
   8138             hardcode_libdir_flag_spec='-L$libdir'
   8139             hardcode_minus_L=yes
   8140         ;;
   8141       esac
   8142       ;;
   8143 
   8144     beos*)
   8145       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8146 	allow_undefined_flag=unsupported
   8147 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8148 	# support --undefined.  This deserves some investigation.  FIXME
   8149 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8150       else
   8151 	ld_shlibs=no
   8152       fi
   8153       ;;
   8154 
   8155     cygwin* | mingw* | pw32* | cegcc*)
   8156       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8157       # as there is no search path for DLLs.
   8158       hardcode_libdir_flag_spec='-L$libdir'
   8159       allow_undefined_flag=unsupported
   8160       always_export_symbols=no
   8161       enable_shared_with_static_runtimes=yes
   8162       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8163 
   8164       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8165         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8166 	# If the export-symbols file already is a .def file (1st line
   8167 	# is EXPORTS), use it as is; otherwise, prepend...
   8168 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8169 	  cp $export_symbols $output_objdir/$soname.def;
   8170 	else
   8171 	  echo EXPORTS > $output_objdir/$soname.def;
   8172 	  cat $export_symbols >> $output_objdir/$soname.def;
   8173 	fi~
   8174 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8175       else
   8176 	ld_shlibs=no
   8177       fi
   8178       ;;
   8179 
   8180     interix[3-9]*)
   8181       hardcode_direct=no
   8182       hardcode_shlibpath_var=no
   8183       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8184       export_dynamic_flag_spec='${wl}-E'
   8185       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8186       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8187       # default) and relocated if they conflict, which is a slow very memory
   8188       # consuming and fragmenting process.  To avoid this, we pick a random,
   8189       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8190       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8191       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8192       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'
   8193       ;;
   8194 
   8195     gnu* | linux* | tpf* | k*bsd*-gnu)
   8196       tmp_diet=no
   8197       if test "$host_os" = linux-dietlibc; then
   8198 	case $cc_basename in
   8199 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8200 	esac
   8201       fi
   8202       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8203 	 && test "$tmp_diet" = no
   8204       then
   8205 	tmp_addflag=
   8206 	tmp_sharedflag='-shared'
   8207 	case $cc_basename,$host_cpu in
   8208         pgcc*)				# Portland Group C compiler
   8209 	  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'
   8210 	  tmp_addflag=' $pic_flag'
   8211 	  ;;
   8212 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8213 	  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'
   8214 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8215 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8216 	  tmp_addflag=' -i_dynamic' ;;
   8217 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8218 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8219 	ifc* | ifort*)			# Intel Fortran compiler
   8220 	  tmp_addflag=' -nofor_main' ;;
   8221 	lf95*)				# Lahey Fortran 8.1
   8222 	  whole_archive_flag_spec=
   8223 	  tmp_sharedflag='--shared' ;;
   8224 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8225 	  tmp_sharedflag='-qmkshrobj'
   8226 	  tmp_addflag= ;;
   8227 	esac
   8228 	case `$CC -V 2>&1 | sed 5q` in
   8229 	*Sun\ C*)			# Sun C 5.9
   8230 	  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'
   8231 	  compiler_needs_object=yes
   8232 	  tmp_sharedflag='-G' ;;
   8233 	*Sun\ F*)			# Sun Fortran 8.3
   8234 	  tmp_sharedflag='-G' ;;
   8235 	esac
   8236 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8237 
   8238         if test "x$supports_anon_versioning" = xyes; then
   8239           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8240 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8241 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8242 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8243         fi
   8244 
   8245 	case $cc_basename in
   8246 	xlf*)
   8247 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8248 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8249 	  hardcode_libdir_flag_spec=
   8250 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8251 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8252 	  if test "x$supports_anon_versioning" = xyes; then
   8253 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8254 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8255 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8256 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8257 	  fi
   8258 	  ;;
   8259 	esac
   8260       else
   8261         ld_shlibs=no
   8262       fi
   8263       ;;
   8264 
   8265     netbsd*)
   8266       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8267 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8268 	wlarc=
   8269       else
   8270 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8271 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8272       fi
   8273       ;;
   8274 
   8275     solaris*)
   8276       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8277 	ld_shlibs=no
   8278 	cat <<_LT_EOF 1>&2
   8279 
   8280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8281 *** create shared libraries on Solaris systems.  Therefore, libtool
   8282 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8283 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8284 *** your PATH or compiler configuration so that the native linker is
   8285 *** used, and then restart.
   8286 
   8287 _LT_EOF
   8288       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8289 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8290 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8291       else
   8292 	ld_shlibs=no
   8293       fi
   8294       ;;
   8295 
   8296     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8297       case `$LD -v 2>&1` in
   8298         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8299 	ld_shlibs=no
   8300 	cat <<_LT_EOF 1>&2
   8301 
   8302 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8303 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8304 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8305 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8306 *** your PATH or compiler configuration so that the native linker is
   8307 *** used, and then restart.
   8308 
   8309 _LT_EOF
   8310 	;;
   8311 	*)
   8312 	  # For security reasons, it is highly recommended that you always
   8313 	  # use absolute paths for naming shared libraries, and exclude the
   8314 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8315 	  # requires that you compile everything twice, which is a pain.
   8316 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8317 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8318 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8319 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8320 	  else
   8321 	    ld_shlibs=no
   8322 	  fi
   8323 	;;
   8324       esac
   8325       ;;
   8326 
   8327     sunos4*)
   8328       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8329       wlarc=
   8330       hardcode_direct=yes
   8331       hardcode_shlibpath_var=no
   8332       ;;
   8333 
   8334     *)
   8335       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8336 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8337 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8338       else
   8339 	ld_shlibs=no
   8340       fi
   8341       ;;
   8342     esac
   8343 
   8344     if test "$ld_shlibs" = no; then
   8345       runpath_var=
   8346       hardcode_libdir_flag_spec=
   8347       export_dynamic_flag_spec=
   8348       whole_archive_flag_spec=
   8349     fi
   8350   else
   8351     # PORTME fill in a description of your system's linker (not GNU ld)
   8352     case $host_os in
   8353     aix3*)
   8354       allow_undefined_flag=unsupported
   8355       always_export_symbols=yes
   8356       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'
   8357       # Note: this linker hardcodes the directories in LIBPATH if there
   8358       # are no directories specified by -L.
   8359       hardcode_minus_L=yes
   8360       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8361 	# Neither direct hardcoding nor static linking is supported with a
   8362 	# broken collect2.
   8363 	hardcode_direct=unsupported
   8364       fi
   8365       ;;
   8366 
   8367     aix[4-9]*)
   8368       if test "$host_cpu" = ia64; then
   8369 	# On IA64, the linker does run time linking by default, so we don't
   8370 	# have to do anything special.
   8371 	aix_use_runtimelinking=no
   8372 	exp_sym_flag='-Bexport'
   8373 	no_entry_flag=""
   8374       else
   8375 	# If we're using GNU nm, then we don't want the "-C" option.
   8376 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8377 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8378 	  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'
   8379 	else
   8380 	  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'
   8381 	fi
   8382 	aix_use_runtimelinking=no
   8383 
   8384 	# Test if we are trying to use run time linking or normal
   8385 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8386 	# need to do runtime linking.
   8387 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8388 	  for ld_flag in $LDFLAGS; do
   8389 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8390 	    aix_use_runtimelinking=yes
   8391 	    break
   8392 	  fi
   8393 	  done
   8394 	  ;;
   8395 	esac
   8396 
   8397 	exp_sym_flag='-bexport'
   8398 	no_entry_flag='-bnoentry'
   8399       fi
   8400 
   8401       # When large executables or shared objects are built, AIX ld can
   8402       # have problems creating the table of contents.  If linking a library
   8403       # or program results in "error TOC overflow" add -mminimal-toc to
   8404       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8405       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8406 
   8407       archive_cmds=''
   8408       hardcode_direct=yes
   8409       hardcode_direct_absolute=yes
   8410       hardcode_libdir_separator=':'
   8411       link_all_deplibs=yes
   8412       file_list_spec='${wl}-f,'
   8413 
   8414       if test "$GCC" = yes; then
   8415 	case $host_os in aix4.[012]|aix4.[012].*)
   8416 	# We only want to do this on AIX 4.2 and lower, the check
   8417 	# below for broken collect2 doesn't work under 4.3+
   8418 	  collect2name=`${CC} -print-prog-name=collect2`
   8419 	  if test -f "$collect2name" &&
   8420 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8421 	  then
   8422 	  # We have reworked collect2
   8423 	  :
   8424 	  else
   8425 	  # We have old collect2
   8426 	  hardcode_direct=unsupported
   8427 	  # It fails to find uninstalled libraries when the uninstalled
   8428 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8429 	  # to unsupported forces relinking
   8430 	  hardcode_minus_L=yes
   8431 	  hardcode_libdir_flag_spec='-L$libdir'
   8432 	  hardcode_libdir_separator=
   8433 	  fi
   8434 	  ;;
   8435 	esac
   8436 	shared_flag='-shared'
   8437 	if test "$aix_use_runtimelinking" = yes; then
   8438 	  shared_flag="$shared_flag "'${wl}-G'
   8439 	fi
   8440       else
   8441 	# not using gcc
   8442 	if test "$host_cpu" = ia64; then
   8443 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8444 	# chokes on -Wl,-G. The following line is correct:
   8445 	  shared_flag='-G'
   8446 	else
   8447 	  if test "$aix_use_runtimelinking" = yes; then
   8448 	    shared_flag='${wl}-G'
   8449 	  else
   8450 	    shared_flag='${wl}-bM:SRE'
   8451 	  fi
   8452 	fi
   8453       fi
   8454 
   8455       export_dynamic_flag_spec='${wl}-bexpall'
   8456       # It seems that -bexpall does not export symbols beginning with
   8457       # underscore (_), so it is better to generate a list of symbols to export.
   8458       always_export_symbols=yes
   8459       if test "$aix_use_runtimelinking" = yes; then
   8460 	# Warning - without using the other runtime loading flags (-brtl),
   8461 	# -berok will link without error, but may produce a broken library.
   8462 	allow_undefined_flag='-berok'
   8463         # Determine the default libpath from the value encoded in an
   8464         # empty executable.
   8465         cat >conftest.$ac_ext <<_ACEOF
   8466 /* confdefs.h.  */
   8467 _ACEOF
   8468 cat confdefs.h >>conftest.$ac_ext
   8469 cat >>conftest.$ac_ext <<_ACEOF
   8470 /* end confdefs.h.  */
   8471 
   8472 int
   8473 main ()
   8474 {
   8475 
   8476   ;
   8477   return 0;
   8478 }
   8479 _ACEOF
   8480 rm -f conftest.$ac_objext conftest$ac_exeext
   8481 if { (ac_try="$ac_link"
   8482 case "(($ac_try" in
   8483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8484   *) ac_try_echo=$ac_try;;
   8485 esac
   8486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8487 $as_echo "$ac_try_echo") >&5
   8488   (eval "$ac_link") 2>conftest.er1
   8489   ac_status=$?
   8490   grep -v '^ *+' conftest.er1 >conftest.err
   8491   rm -f conftest.er1
   8492   cat conftest.err >&5
   8493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8494   (exit $ac_status); } && {
   8495 	 test -z "$ac_c_werror_flag" ||
   8496 	 test ! -s conftest.err
   8497        } && test -s conftest$ac_exeext && {
   8498 	 test "$cross_compiling" = yes ||
   8499 	 $as_test_x conftest$ac_exeext
   8500        }; then
   8501 
   8502 lt_aix_libpath_sed='
   8503     /Import File Strings/,/^$/ {
   8504 	/^0/ {
   8505 	    s/^0  *\(.*\)$/\1/
   8506 	    p
   8507 	}
   8508     }'
   8509 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8510 # Check for a 64-bit object if we didn't find anything.
   8511 if test -z "$aix_libpath"; then
   8512   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8513 fi
   8514 else
   8515   $as_echo "$as_me: failed program was:" >&5
   8516 sed 's/^/| /' conftest.$ac_ext >&5
   8517 
   8518 
   8519 fi
   8520 
   8521 rm -rf conftest.dSYM
   8522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8523       conftest$ac_exeext conftest.$ac_ext
   8524 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8525 
   8526         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8527         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"
   8528       else
   8529 	if test "$host_cpu" = ia64; then
   8530 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8531 	  allow_undefined_flag="-z nodefs"
   8532 	  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"
   8533 	else
   8534 	 # Determine the default libpath from the value encoded in an
   8535 	 # empty executable.
   8536 	 cat >conftest.$ac_ext <<_ACEOF
   8537 /* confdefs.h.  */
   8538 _ACEOF
   8539 cat confdefs.h >>conftest.$ac_ext
   8540 cat >>conftest.$ac_ext <<_ACEOF
   8541 /* end confdefs.h.  */
   8542 
   8543 int
   8544 main ()
   8545 {
   8546 
   8547   ;
   8548   return 0;
   8549 }
   8550 _ACEOF
   8551 rm -f conftest.$ac_objext conftest$ac_exeext
   8552 if { (ac_try="$ac_link"
   8553 case "(($ac_try" in
   8554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8555   *) ac_try_echo=$ac_try;;
   8556 esac
   8557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8558 $as_echo "$ac_try_echo") >&5
   8559   (eval "$ac_link") 2>conftest.er1
   8560   ac_status=$?
   8561   grep -v '^ *+' conftest.er1 >conftest.err
   8562   rm -f conftest.er1
   8563   cat conftest.err >&5
   8564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8565   (exit $ac_status); } && {
   8566 	 test -z "$ac_c_werror_flag" ||
   8567 	 test ! -s conftest.err
   8568        } && test -s conftest$ac_exeext && {
   8569 	 test "$cross_compiling" = yes ||
   8570 	 $as_test_x conftest$ac_exeext
   8571        }; then
   8572 
   8573 lt_aix_libpath_sed='
   8574     /Import File Strings/,/^$/ {
   8575 	/^0/ {
   8576 	    s/^0  *\(.*\)$/\1/
   8577 	    p
   8578 	}
   8579     }'
   8580 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8581 # Check for a 64-bit object if we didn't find anything.
   8582 if test -z "$aix_libpath"; then
   8583   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8584 fi
   8585 else
   8586   $as_echo "$as_me: failed program was:" >&5
   8587 sed 's/^/| /' conftest.$ac_ext >&5
   8588 
   8589 
   8590 fi
   8591 
   8592 rm -rf conftest.dSYM
   8593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8594       conftest$ac_exeext conftest.$ac_ext
   8595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8596 
   8597 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8598 	  # Warning - without using the other run time loading flags,
   8599 	  # -berok will link without error, but may produce a broken library.
   8600 	  no_undefined_flag=' ${wl}-bernotok'
   8601 	  allow_undefined_flag=' ${wl}-berok'
   8602 	  # Exported symbols can be pulled into shared objects from archives
   8603 	  whole_archive_flag_spec='$convenience'
   8604 	  archive_cmds_need_lc=yes
   8605 	  # This is similar to how AIX traditionally builds its shared libraries.
   8606 	  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'
   8607 	fi
   8608       fi
   8609       ;;
   8610 
   8611     amigaos*)
   8612       case $host_cpu in
   8613       powerpc)
   8614             # see comment about AmigaOS4 .so support
   8615             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8616             archive_expsym_cmds=''
   8617         ;;
   8618       m68k)
   8619             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)'
   8620             hardcode_libdir_flag_spec='-L$libdir'
   8621             hardcode_minus_L=yes
   8622         ;;
   8623       esac
   8624       ;;
   8625 
   8626     bsdi[45]*)
   8627       export_dynamic_flag_spec=-rdynamic
   8628       ;;
   8629 
   8630     cygwin* | mingw* | pw32* | cegcc*)
   8631       # When not using gcc, we currently assume that we are using
   8632       # Microsoft Visual C++.
   8633       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8634       # no search path for DLLs.
   8635       hardcode_libdir_flag_spec=' '
   8636       allow_undefined_flag=unsupported
   8637       # Tell ltmain to make .lib files, not .a files.
   8638       libext=lib
   8639       # Tell ltmain to make .dll files, not .so files.
   8640       shrext_cmds=".dll"
   8641       # FIXME: Setting linknames here is a bad hack.
   8642       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8643       # The linker will automatically build a .lib file if we build a DLL.
   8644       old_archive_from_new_cmds='true'
   8645       # FIXME: Should let the user specify the lib program.
   8646       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8647       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8648       enable_shared_with_static_runtimes=yes
   8649       ;;
   8650 
   8651     darwin* | rhapsody*)
   8652 
   8653 
   8654   archive_cmds_need_lc=no
   8655   hardcode_direct=no
   8656   hardcode_automatic=yes
   8657   hardcode_shlibpath_var=unsupported
   8658   whole_archive_flag_spec=''
   8659   link_all_deplibs=yes
   8660   allow_undefined_flag="$_lt_dar_allow_undefined"
   8661   case $cc_basename in
   8662      ifort*) _lt_dar_can_shared=yes ;;
   8663      *) _lt_dar_can_shared=$GCC ;;
   8664   esac
   8665   if test "$_lt_dar_can_shared" = "yes"; then
   8666     output_verbose_link_cmd=echo
   8667     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8668     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8669     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}"
   8670     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}"
   8671 
   8672   else
   8673   ld_shlibs=no
   8674   fi
   8675 
   8676       ;;
   8677 
   8678     dgux*)
   8679       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8680       hardcode_libdir_flag_spec='-L$libdir'
   8681       hardcode_shlibpath_var=no
   8682       ;;
   8683 
   8684     freebsd1*)
   8685       ld_shlibs=no
   8686       ;;
   8687 
   8688     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8689     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8690     # does not break anything, and helps significantly (at the cost of a little
   8691     # extra space).
   8692     freebsd2.2*)
   8693       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8694       hardcode_libdir_flag_spec='-R$libdir'
   8695       hardcode_direct=yes
   8696       hardcode_shlibpath_var=no
   8697       ;;
   8698 
   8699     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8700     freebsd2*)
   8701       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8702       hardcode_direct=yes
   8703       hardcode_minus_L=yes
   8704       hardcode_shlibpath_var=no
   8705       ;;
   8706 
   8707     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8708     freebsd* | dragonfly*)
   8709       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8710       hardcode_libdir_flag_spec='-R$libdir'
   8711       hardcode_direct=yes
   8712       hardcode_shlibpath_var=no
   8713       ;;
   8714 
   8715     hpux9*)
   8716       if test "$GCC" = yes; then
   8717 	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'
   8718       else
   8719 	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'
   8720       fi
   8721       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8722       hardcode_libdir_separator=:
   8723       hardcode_direct=yes
   8724 
   8725       # hardcode_minus_L: Not really in the search PATH,
   8726       # but as the default location of the library.
   8727       hardcode_minus_L=yes
   8728       export_dynamic_flag_spec='${wl}-E'
   8729       ;;
   8730 
   8731     hpux10*)
   8732       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8733 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8734       else
   8735 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8736       fi
   8737       if test "$with_gnu_ld" = no; then
   8738 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8739 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8740 	hardcode_libdir_separator=:
   8741 	hardcode_direct=yes
   8742 	hardcode_direct_absolute=yes
   8743 	export_dynamic_flag_spec='${wl}-E'
   8744 	# hardcode_minus_L: Not really in the search PATH,
   8745 	# but as the default location of the library.
   8746 	hardcode_minus_L=yes
   8747       fi
   8748       ;;
   8749 
   8750     hpux11*)
   8751       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8752 	case $host_cpu in
   8753 	hppa*64*)
   8754 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8755 	  ;;
   8756 	ia64*)
   8757 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8758 	  ;;
   8759 	*)
   8760 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8761 	  ;;
   8762 	esac
   8763       else
   8764 	case $host_cpu in
   8765 	hppa*64*)
   8766 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8767 	  ;;
   8768 	ia64*)
   8769 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8770 	  ;;
   8771 	*)
   8772 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8773 	  ;;
   8774 	esac
   8775       fi
   8776       if test "$with_gnu_ld" = no; then
   8777 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8778 	hardcode_libdir_separator=:
   8779 
   8780 	case $host_cpu in
   8781 	hppa*64*|ia64*)
   8782 	  hardcode_direct=no
   8783 	  hardcode_shlibpath_var=no
   8784 	  ;;
   8785 	*)
   8786 	  hardcode_direct=yes
   8787 	  hardcode_direct_absolute=yes
   8788 	  export_dynamic_flag_spec='${wl}-E'
   8789 
   8790 	  # hardcode_minus_L: Not really in the search PATH,
   8791 	  # but as the default location of the library.
   8792 	  hardcode_minus_L=yes
   8793 	  ;;
   8794 	esac
   8795       fi
   8796       ;;
   8797 
   8798     irix5* | irix6* | nonstopux*)
   8799       if test "$GCC" = yes; then
   8800 	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'
   8801 	# Try to use the -exported_symbol ld option, if it does not
   8802 	# work, assume that -exports_file does not work either and
   8803 	# implicitly export all symbols.
   8804         save_LDFLAGS="$LDFLAGS"
   8805         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8806         cat >conftest.$ac_ext <<_ACEOF
   8807 int foo(void) {}
   8808 _ACEOF
   8809 rm -f conftest.$ac_objext conftest$ac_exeext
   8810 if { (ac_try="$ac_link"
   8811 case "(($ac_try" in
   8812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8813   *) ac_try_echo=$ac_try;;
   8814 esac
   8815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8816 $as_echo "$ac_try_echo") >&5
   8817   (eval "$ac_link") 2>conftest.er1
   8818   ac_status=$?
   8819   grep -v '^ *+' conftest.er1 >conftest.err
   8820   rm -f conftest.er1
   8821   cat conftest.err >&5
   8822   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8823   (exit $ac_status); } && {
   8824 	 test -z "$ac_c_werror_flag" ||
   8825 	 test ! -s conftest.err
   8826        } && test -s conftest$ac_exeext && {
   8827 	 test "$cross_compiling" = yes ||
   8828 	 $as_test_x conftest$ac_exeext
   8829        }; then
   8830   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'
   8831 
   8832 else
   8833   $as_echo "$as_me: failed program was:" >&5
   8834 sed 's/^/| /' conftest.$ac_ext >&5
   8835 
   8836 
   8837 fi
   8838 
   8839 rm -rf conftest.dSYM
   8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8841       conftest$ac_exeext conftest.$ac_ext
   8842         LDFLAGS="$save_LDFLAGS"
   8843       else
   8844 	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'
   8845 	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'
   8846       fi
   8847       archive_cmds_need_lc='no'
   8848       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8849       hardcode_libdir_separator=:
   8850       inherit_rpath=yes
   8851       link_all_deplibs=yes
   8852       ;;
   8853 
   8854     netbsd*)
   8855       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8856 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8857       else
   8858 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8859       fi
   8860       hardcode_libdir_flag_spec='-R$libdir'
   8861       hardcode_direct=yes
   8862       hardcode_shlibpath_var=no
   8863       ;;
   8864 
   8865     newsos6)
   8866       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8867       hardcode_direct=yes
   8868       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8869       hardcode_libdir_separator=:
   8870       hardcode_shlibpath_var=no
   8871       ;;
   8872 
   8873     *nto* | *qnx*)
   8874       ;;
   8875 
   8876     openbsd*)
   8877       if test -f /usr/libexec/ld.so; then
   8878 	hardcode_direct=yes
   8879 	hardcode_shlibpath_var=no
   8880 	hardcode_direct_absolute=yes
   8881 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8882 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8883 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8884 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8885 	  export_dynamic_flag_spec='${wl}-E'
   8886 	else
   8887 	  case $host_os in
   8888 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8889 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8890 	     hardcode_libdir_flag_spec='-R$libdir'
   8891 	     ;;
   8892 	   *)
   8893 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8894 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8895 	     ;;
   8896 	  esac
   8897 	fi
   8898       else
   8899 	ld_shlibs=no
   8900       fi
   8901       ;;
   8902 
   8903     os2*)
   8904       hardcode_libdir_flag_spec='-L$libdir'
   8905       hardcode_minus_L=yes
   8906       allow_undefined_flag=unsupported
   8907       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'
   8908       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8909       ;;
   8910 
   8911     osf3*)
   8912       if test "$GCC" = yes; then
   8913 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8914 	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'
   8915       else
   8916 	allow_undefined_flag=' -expect_unresolved \*'
   8917 	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'
   8918       fi
   8919       archive_cmds_need_lc='no'
   8920       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8921       hardcode_libdir_separator=:
   8922       ;;
   8923 
   8924     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8925       if test "$GCC" = yes; then
   8926 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8927 	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'
   8928 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8929       else
   8930 	allow_undefined_flag=' -expect_unresolved \*'
   8931 	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'
   8932 	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~
   8933 	$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'
   8934 
   8935 	# Both c and cxx compiler support -rpath directly
   8936 	hardcode_libdir_flag_spec='-rpath $libdir'
   8937       fi
   8938       archive_cmds_need_lc='no'
   8939       hardcode_libdir_separator=:
   8940       ;;
   8941 
   8942     solaris*)
   8943       no_undefined_flag=' -z defs'
   8944       if test "$GCC" = yes; then
   8945 	wlarc='${wl}'
   8946 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8947 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8948 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8949       else
   8950 	case `$CC -V 2>&1` in
   8951 	*"Compilers 5.0"*)
   8952 	  wlarc=''
   8953 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8954 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8955 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8956 	  ;;
   8957 	*)
   8958 	  wlarc='${wl}'
   8959 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8960 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8961 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8962 	  ;;
   8963 	esac
   8964       fi
   8965       hardcode_libdir_flag_spec='-R$libdir'
   8966       hardcode_shlibpath_var=no
   8967       case $host_os in
   8968       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8969       *)
   8970 	# The compiler driver will combine and reorder linker options,
   8971 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8972 	# but is careful enough not to reorder.
   8973 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8974 	if test "$GCC" = yes; then
   8975 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8976 	else
   8977 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8978 	fi
   8979 	;;
   8980       esac
   8981       link_all_deplibs=yes
   8982       ;;
   8983 
   8984     sunos4*)
   8985       if test "x$host_vendor" = xsequent; then
   8986 	# Use $CC to link under sequent, because it throws in some extra .o
   8987 	# files that make .init and .fini sections work.
   8988 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8989       else
   8990 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8991       fi
   8992       hardcode_libdir_flag_spec='-L$libdir'
   8993       hardcode_direct=yes
   8994       hardcode_minus_L=yes
   8995       hardcode_shlibpath_var=no
   8996       ;;
   8997 
   8998     sysv4)
   8999       case $host_vendor in
   9000 	sni)
   9001 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9002 	  hardcode_direct=yes # is this really true???
   9003 	;;
   9004 	siemens)
   9005 	  ## LD is ld it makes a PLAMLIB
   9006 	  ## CC just makes a GrossModule.
   9007 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9008 	  reload_cmds='$CC -r -o $output$reload_objs'
   9009 	  hardcode_direct=no
   9010         ;;
   9011 	motorola)
   9012 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9013 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9014 	;;
   9015       esac
   9016       runpath_var='LD_RUN_PATH'
   9017       hardcode_shlibpath_var=no
   9018       ;;
   9019 
   9020     sysv4.3*)
   9021       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9022       hardcode_shlibpath_var=no
   9023       export_dynamic_flag_spec='-Bexport'
   9024       ;;
   9025 
   9026     sysv4*MP*)
   9027       if test -d /usr/nec; then
   9028 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9029 	hardcode_shlibpath_var=no
   9030 	runpath_var=LD_RUN_PATH
   9031 	hardcode_runpath_var=yes
   9032 	ld_shlibs=yes
   9033       fi
   9034       ;;
   9035 
   9036     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9037       no_undefined_flag='${wl}-z,text'
   9038       archive_cmds_need_lc=no
   9039       hardcode_shlibpath_var=no
   9040       runpath_var='LD_RUN_PATH'
   9041 
   9042       if test "$GCC" = yes; then
   9043 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9044 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9045       else
   9046 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9047 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9048       fi
   9049       ;;
   9050 
   9051     sysv5* | sco3.2v5* | sco5v6*)
   9052       # Note: We can NOT use -z defs as we might desire, because we do not
   9053       # link with -lc, and that would cause any symbols used from libc to
   9054       # always be unresolved, which means just about no library would
   9055       # ever link correctly.  If we're not using GNU ld we use -z text
   9056       # though, which does catch some bad symbols but isn't as heavy-handed
   9057       # as -z defs.
   9058       no_undefined_flag='${wl}-z,text'
   9059       allow_undefined_flag='${wl}-z,nodefs'
   9060       archive_cmds_need_lc=no
   9061       hardcode_shlibpath_var=no
   9062       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9063       hardcode_libdir_separator=':'
   9064       link_all_deplibs=yes
   9065       export_dynamic_flag_spec='${wl}-Bexport'
   9066       runpath_var='LD_RUN_PATH'
   9067 
   9068       if test "$GCC" = yes; then
   9069 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071       else
   9072 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9073 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9074       fi
   9075       ;;
   9076 
   9077     uts4*)
   9078       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9079       hardcode_libdir_flag_spec='-L$libdir'
   9080       hardcode_shlibpath_var=no
   9081       ;;
   9082 
   9083     *)
   9084       ld_shlibs=no
   9085       ;;
   9086     esac
   9087 
   9088     if test x$host_vendor = xsni; then
   9089       case $host in
   9090       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9091 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9092 	;;
   9093       esac
   9094     fi
   9095   fi
   9096 
   9097 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9098 $as_echo "$ld_shlibs" >&6; }
   9099 test "$ld_shlibs" = no && can_build_shared=no
   9100 
   9101 with_gnu_ld=$with_gnu_ld
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 #
   9118 # Do we need to explicitly link libc?
   9119 #
   9120 case "x$archive_cmds_need_lc" in
   9121 x|xyes)
   9122   # Assume -lc should be added
   9123   archive_cmds_need_lc=yes
   9124 
   9125   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9126     case $archive_cmds in
   9127     *'~'*)
   9128       # FIXME: we may have to deal with multi-command sequences.
   9129       ;;
   9130     '$CC '*)
   9131       # Test whether the compiler implicitly links with -lc since on some
   9132       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9133       # to ld, don't add -lc before -lgcc.
   9134       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9135 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9136       $RM conftest*
   9137       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9138 
   9139       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9140   (eval $ac_compile) 2>&5
   9141   ac_status=$?
   9142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9143   (exit $ac_status); } 2>conftest.err; then
   9144         soname=conftest
   9145         lib=conftest
   9146         libobjs=conftest.$ac_objext
   9147         deplibs=
   9148         wl=$lt_prog_compiler_wl
   9149 	pic_flag=$lt_prog_compiler_pic
   9150         compiler_flags=-v
   9151         linker_flags=-v
   9152         verstring=
   9153         output_objdir=.
   9154         libname=conftest
   9155         lt_save_allow_undefined_flag=$allow_undefined_flag
   9156         allow_undefined_flag=
   9157         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9158   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9159   ac_status=$?
   9160   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9161   (exit $ac_status); }
   9162         then
   9163 	  archive_cmds_need_lc=no
   9164         else
   9165 	  archive_cmds_need_lc=yes
   9166         fi
   9167         allow_undefined_flag=$lt_save_allow_undefined_flag
   9168       else
   9169         cat conftest.err 1>&5
   9170       fi
   9171       $RM conftest*
   9172       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9173 $as_echo "$archive_cmds_need_lc" >&6; }
   9174       ;;
   9175     esac
   9176   fi
   9177   ;;
   9178 esac
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9337 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9338 
   9339 if test "$GCC" = yes; then
   9340   case $host_os in
   9341     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9342     *) lt_awk_arg="/^libraries:/" ;;
   9343   esac
   9344   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9345   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9346     # if the path contains ";" then we assume it to be the separator
   9347     # otherwise default to the standard path separator (i.e. ":") - it is
   9348     # assumed that no part of a normal pathname contains ";" but that should
   9349     # okay in the real world where ";" in dirpaths is itself problematic.
   9350     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9351   else
   9352     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9353   fi
   9354   # Ok, now we have the path, separated by spaces, we can step through it
   9355   # and add multilib dir if necessary.
   9356   lt_tmp_lt_search_path_spec=
   9357   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9358   for lt_sys_path in $lt_search_path_spec; do
   9359     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9360       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9361     else
   9362       test -d "$lt_sys_path" && \
   9363 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9364     fi
   9365   done
   9366   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9367 BEGIN {RS=" "; FS="/|\n";} {
   9368   lt_foo="";
   9369   lt_count=0;
   9370   for (lt_i = NF; lt_i > 0; lt_i--) {
   9371     if ($lt_i != "" && $lt_i != ".") {
   9372       if ($lt_i == "..") {
   9373         lt_count++;
   9374       } else {
   9375         if (lt_count == 0) {
   9376           lt_foo="/" $lt_i lt_foo;
   9377         } else {
   9378           lt_count--;
   9379         }
   9380       }
   9381     }
   9382   }
   9383   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9384   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9385 }'`
   9386   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9387 else
   9388   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9389 fi
   9390 library_names_spec=
   9391 libname_spec='lib$name'
   9392 soname_spec=
   9393 shrext_cmds=".so"
   9394 postinstall_cmds=
   9395 postuninstall_cmds=
   9396 finish_cmds=
   9397 finish_eval=
   9398 shlibpath_var=
   9399 shlibpath_overrides_runpath=unknown
   9400 version_type=none
   9401 dynamic_linker="$host_os ld.so"
   9402 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9403 need_lib_prefix=unknown
   9404 hardcode_into_libs=no
   9405 
   9406 # when you set need_version to no, make sure it does not cause -set_version
   9407 # flags to be left without arguments
   9408 need_version=unknown
   9409 
   9410 case $host_os in
   9411 aix3*)
   9412   version_type=linux
   9413   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9414   shlibpath_var=LIBPATH
   9415 
   9416   # AIX 3 has no versioning support, so we append a major version to the name.
   9417   soname_spec='${libname}${release}${shared_ext}$major'
   9418   ;;
   9419 
   9420 aix[4-9]*)
   9421   version_type=linux
   9422   need_lib_prefix=no
   9423   need_version=no
   9424   hardcode_into_libs=yes
   9425   if test "$host_cpu" = ia64; then
   9426     # AIX 5 supports IA64
   9427     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9428     shlibpath_var=LD_LIBRARY_PATH
   9429   else
   9430     # With GCC up to 2.95.x, collect2 would create an import file
   9431     # for dependence libraries.  The import file would start with
   9432     # the line `#! .'.  This would cause the generated library to
   9433     # depend on `.', always an invalid library.  This was fixed in
   9434     # development snapshots of GCC prior to 3.0.
   9435     case $host_os in
   9436       aix4 | aix4.[01] | aix4.[01].*)
   9437       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9438 	   echo ' yes '
   9439 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9440 	:
   9441       else
   9442 	can_build_shared=no
   9443       fi
   9444       ;;
   9445     esac
   9446     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9447     # soname into executable. Probably we can add versioning support to
   9448     # collect2, so additional links can be useful in future.
   9449     if test "$aix_use_runtimelinking" = yes; then
   9450       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9451       # instead of lib<name>.a to let people know that these are not
   9452       # typical AIX shared libraries.
   9453       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9454     else
   9455       # We preserve .a as extension for shared libraries through AIX4.2
   9456       # and later when we are not doing run time linking.
   9457       library_names_spec='${libname}${release}.a $libname.a'
   9458       soname_spec='${libname}${release}${shared_ext}$major'
   9459     fi
   9460     shlibpath_var=LIBPATH
   9461   fi
   9462   ;;
   9463 
   9464 amigaos*)
   9465   case $host_cpu in
   9466   powerpc)
   9467     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9468     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9469     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9470     ;;
   9471   m68k)
   9472     library_names_spec='$libname.ixlibrary $libname.a'
   9473     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9474     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'
   9475     ;;
   9476   esac
   9477   ;;
   9478 
   9479 beos*)
   9480   library_names_spec='${libname}${shared_ext}'
   9481   dynamic_linker="$host_os ld.so"
   9482   shlibpath_var=LIBRARY_PATH
   9483   ;;
   9484 
   9485 bsdi[45]*)
   9486   version_type=linux
   9487   need_version=no
   9488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9489   soname_spec='${libname}${release}${shared_ext}$major'
   9490   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9491   shlibpath_var=LD_LIBRARY_PATH
   9492   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9493   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9494   # the default ld.so.conf also contains /usr/contrib/lib and
   9495   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9496   # libtool to hard-code these into programs
   9497   ;;
   9498 
   9499 cygwin* | mingw* | pw32* | cegcc*)
   9500   version_type=windows
   9501   shrext_cmds=".dll"
   9502   need_version=no
   9503   need_lib_prefix=no
   9504 
   9505   case $GCC,$host_os in
   9506   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9507     library_names_spec='$libname.dll.a'
   9508     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9509     postinstall_cmds='base_file=`basename \${file}`~
   9510       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9511       dldir=$destdir/`dirname \$dlpath`~
   9512       test -d \$dldir || mkdir -p \$dldir~
   9513       $install_prog $dir/$dlname \$dldir/$dlname~
   9514       chmod a+x \$dldir/$dlname~
   9515       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9516         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9517       fi'
   9518     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9519       dlpath=$dir/\$dldll~
   9520        $RM \$dlpath'
   9521     shlibpath_overrides_runpath=yes
   9522 
   9523     case $host_os in
   9524     cygwin*)
   9525       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9526       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9527       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9528       ;;
   9529     mingw* | cegcc*)
   9530       # MinGW DLLs use traditional 'lib' prefix
   9531       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9532       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9533       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9534         # It is most probably a Windows format PATH printed by
   9535         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9536         # path with ; separators, and with drive letters. We can handle the
   9537         # drive letters (cygwin fileutils understands them), so leave them,
   9538         # especially as we might pass files found there to a mingw objdump,
   9539         # which wouldn't understand a cygwinified path. Ahh.
   9540         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9541       else
   9542         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9543       fi
   9544       ;;
   9545     pw32*)
   9546       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9547       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9548       ;;
   9549     esac
   9550     ;;
   9551 
   9552   *)
   9553     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9554     ;;
   9555   esac
   9556   dynamic_linker='Win32 ld.exe'
   9557   # FIXME: first we should search . and the directory the executable is in
   9558   shlibpath_var=PATH
   9559   ;;
   9560 
   9561 darwin* | rhapsody*)
   9562   dynamic_linker="$host_os dyld"
   9563   version_type=darwin
   9564   need_lib_prefix=no
   9565   need_version=no
   9566   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9567   soname_spec='${libname}${release}${major}$shared_ext'
   9568   shlibpath_overrides_runpath=yes
   9569   shlibpath_var=DYLD_LIBRARY_PATH
   9570   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9571 
   9572   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9573   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9574   ;;
   9575 
   9576 dgux*)
   9577   version_type=linux
   9578   need_lib_prefix=no
   9579   need_version=no
   9580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9581   soname_spec='${libname}${release}${shared_ext}$major'
   9582   shlibpath_var=LD_LIBRARY_PATH
   9583   ;;
   9584 
   9585 freebsd1*)
   9586   dynamic_linker=no
   9587   ;;
   9588 
   9589 freebsd* | dragonfly*)
   9590   # DragonFly does not have aout.  When/if they implement a new
   9591   # versioning mechanism, adjust this.
   9592   if test -x /usr/bin/objformat; then
   9593     objformat=`/usr/bin/objformat`
   9594   else
   9595     case $host_os in
   9596     freebsd[123]*) objformat=aout ;;
   9597     *) objformat=elf ;;
   9598     esac
   9599   fi
   9600   version_type=freebsd-$objformat
   9601   case $version_type in
   9602     freebsd-elf*)
   9603       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9604       need_version=no
   9605       need_lib_prefix=no
   9606       ;;
   9607     freebsd-*)
   9608       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9609       need_version=yes
   9610       ;;
   9611   esac
   9612   shlibpath_var=LD_LIBRARY_PATH
   9613   case $host_os in
   9614   freebsd2*)
   9615     shlibpath_overrides_runpath=yes
   9616     ;;
   9617   freebsd3.[01]* | freebsdelf3.[01]*)
   9618     shlibpath_overrides_runpath=yes
   9619     hardcode_into_libs=yes
   9620     ;;
   9621   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9622   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9623     shlibpath_overrides_runpath=no
   9624     hardcode_into_libs=yes
   9625     ;;
   9626   *) # from 4.6 on, and DragonFly
   9627     shlibpath_overrides_runpath=yes
   9628     hardcode_into_libs=yes
   9629     ;;
   9630   esac
   9631   ;;
   9632 
   9633 gnu*)
   9634   version_type=linux
   9635   need_lib_prefix=no
   9636   need_version=no
   9637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9638   soname_spec='${libname}${release}${shared_ext}$major'
   9639   shlibpath_var=LD_LIBRARY_PATH
   9640   hardcode_into_libs=yes
   9641   ;;
   9642 
   9643 hpux9* | hpux10* | hpux11*)
   9644   # Give a soname corresponding to the major version so that dld.sl refuses to
   9645   # link against other versions.
   9646   version_type=sunos
   9647   need_lib_prefix=no
   9648   need_version=no
   9649   case $host_cpu in
   9650   ia64*)
   9651     shrext_cmds='.so'
   9652     hardcode_into_libs=yes
   9653     dynamic_linker="$host_os dld.so"
   9654     shlibpath_var=LD_LIBRARY_PATH
   9655     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9656     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9657     soname_spec='${libname}${release}${shared_ext}$major'
   9658     if test "X$HPUX_IA64_MODE" = X32; then
   9659       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9660     else
   9661       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9662     fi
   9663     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9664     ;;
   9665   hppa*64*)
   9666     shrext_cmds='.sl'
   9667     hardcode_into_libs=yes
   9668     dynamic_linker="$host_os dld.sl"
   9669     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9670     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9671     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9672     soname_spec='${libname}${release}${shared_ext}$major'
   9673     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9674     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9675     ;;
   9676   *)
   9677     shrext_cmds='.sl'
   9678     dynamic_linker="$host_os dld.sl"
   9679     shlibpath_var=SHLIB_PATH
   9680     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9681     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9682     soname_spec='${libname}${release}${shared_ext}$major'
   9683     ;;
   9684   esac
   9685   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9686   postinstall_cmds='chmod 555 $lib'
   9687   ;;
   9688 
   9689 interix[3-9]*)
   9690   version_type=linux
   9691   need_lib_prefix=no
   9692   need_version=no
   9693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9694   soname_spec='${libname}${release}${shared_ext}$major'
   9695   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9696   shlibpath_var=LD_LIBRARY_PATH
   9697   shlibpath_overrides_runpath=no
   9698   hardcode_into_libs=yes
   9699   ;;
   9700 
   9701 irix5* | irix6* | nonstopux*)
   9702   case $host_os in
   9703     nonstopux*) version_type=nonstopux ;;
   9704     *)
   9705 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9706 		version_type=linux
   9707 	else
   9708 		version_type=irix
   9709 	fi ;;
   9710   esac
   9711   need_lib_prefix=no
   9712   need_version=no
   9713   soname_spec='${libname}${release}${shared_ext}$major'
   9714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9715   case $host_os in
   9716   irix5* | nonstopux*)
   9717     libsuff= shlibsuff=
   9718     ;;
   9719   *)
   9720     case $LD in # libtool.m4 will add one of these switches to LD
   9721     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9722       libsuff= shlibsuff= libmagic=32-bit;;
   9723     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9724       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9725     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9726       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9727     *) libsuff= shlibsuff= libmagic=never-match;;
   9728     esac
   9729     ;;
   9730   esac
   9731   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9732   shlibpath_overrides_runpath=no
   9733   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9734   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9735   hardcode_into_libs=yes
   9736   ;;
   9737 
   9738 # No shared lib support for Linux oldld, aout, or coff.
   9739 linux*oldld* | linux*aout* | linux*coff*)
   9740   dynamic_linker=no
   9741   ;;
   9742 
   9743 # This must be Linux ELF.
   9744 linux* | k*bsd*-gnu)
   9745   version_type=linux
   9746   need_lib_prefix=no
   9747   need_version=no
   9748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9749   soname_spec='${libname}${release}${shared_ext}$major'
   9750   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9751   shlibpath_var=LD_LIBRARY_PATH
   9752   shlibpath_overrides_runpath=no
   9753   # Some binutils ld are patched to set DT_RUNPATH
   9754   save_LDFLAGS=$LDFLAGS
   9755   save_libdir=$libdir
   9756   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9757        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9758   cat >conftest.$ac_ext <<_ACEOF
   9759 /* confdefs.h.  */
   9760 _ACEOF
   9761 cat confdefs.h >>conftest.$ac_ext
   9762 cat >>conftest.$ac_ext <<_ACEOF
   9763 /* end confdefs.h.  */
   9764 
   9765 int
   9766 main ()
   9767 {
   9768 
   9769   ;
   9770   return 0;
   9771 }
   9772 _ACEOF
   9773 rm -f conftest.$ac_objext conftest$ac_exeext
   9774 if { (ac_try="$ac_link"
   9775 case "(($ac_try" in
   9776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9777   *) ac_try_echo=$ac_try;;
   9778 esac
   9779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9780 $as_echo "$ac_try_echo") >&5
   9781   (eval "$ac_link") 2>conftest.er1
   9782   ac_status=$?
   9783   grep -v '^ *+' conftest.er1 >conftest.err
   9784   rm -f conftest.er1
   9785   cat conftest.err >&5
   9786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9787   (exit $ac_status); } && {
   9788 	 test -z "$ac_c_werror_flag" ||
   9789 	 test ! -s conftest.err
   9790        } && test -s conftest$ac_exeext && {
   9791 	 test "$cross_compiling" = yes ||
   9792 	 $as_test_x conftest$ac_exeext
   9793        }; then
   9794   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9795   shlibpath_overrides_runpath=yes
   9796 fi
   9797 
   9798 else
   9799   $as_echo "$as_me: failed program was:" >&5
   9800 sed 's/^/| /' conftest.$ac_ext >&5
   9801 
   9802 
   9803 fi
   9804 
   9805 rm -rf conftest.dSYM
   9806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9807       conftest$ac_exeext conftest.$ac_ext
   9808   LDFLAGS=$save_LDFLAGS
   9809   libdir=$save_libdir
   9810 
   9811   # This implies no fast_install, which is unacceptable.
   9812   # Some rework will be needed to allow for fast_install
   9813   # before this can be enabled.
   9814   hardcode_into_libs=yes
   9815 
   9816   # Add ABI-specific directories to the system library path.
   9817   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9818 
   9819   # Append ld.so.conf contents to the search path
   9820   if test -f /etc/ld.so.conf; then
   9821     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' ' '`
   9822     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9823   fi
   9824 
   9825   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9826   # powerpc, because MkLinux only supported shared libraries with the
   9827   # GNU dynamic linker.  Since this was broken with cross compilers,
   9828   # most powerpc-linux boxes support dynamic linking these days and
   9829   # people can always --disable-shared, the test was removed, and we
   9830   # assume the GNU/Linux dynamic linker is in use.
   9831   dynamic_linker='GNU/Linux ld.so'
   9832   ;;
   9833 
   9834 netbsd*)
   9835   version_type=sunos
   9836   need_lib_prefix=no
   9837   need_version=no
   9838   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9839     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9840     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9841     dynamic_linker='NetBSD (a.out) ld.so'
   9842   else
   9843     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9844     soname_spec='${libname}${release}${shared_ext}$major'
   9845     dynamic_linker='NetBSD ld.elf_so'
   9846   fi
   9847   shlibpath_var=LD_LIBRARY_PATH
   9848   shlibpath_overrides_runpath=yes
   9849   hardcode_into_libs=yes
   9850   ;;
   9851 
   9852 newsos6)
   9853   version_type=linux
   9854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9855   shlibpath_var=LD_LIBRARY_PATH
   9856   shlibpath_overrides_runpath=yes
   9857   ;;
   9858 
   9859 *nto* | *qnx*)
   9860   version_type=qnx
   9861   need_lib_prefix=no
   9862   need_version=no
   9863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9864   soname_spec='${libname}${release}${shared_ext}$major'
   9865   shlibpath_var=LD_LIBRARY_PATH
   9866   shlibpath_overrides_runpath=no
   9867   hardcode_into_libs=yes
   9868   dynamic_linker='ldqnx.so'
   9869   ;;
   9870 
   9871 openbsd*)
   9872   version_type=sunos
   9873   sys_lib_dlsearch_path_spec="/usr/lib"
   9874   need_lib_prefix=no
   9875   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9876   case $host_os in
   9877     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9878     *)				need_version=no  ;;
   9879   esac
   9880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9881   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9882   shlibpath_var=LD_LIBRARY_PATH
   9883   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9884     case $host_os in
   9885       openbsd2.[89] | openbsd2.[89].*)
   9886 	shlibpath_overrides_runpath=no
   9887 	;;
   9888       *)
   9889 	shlibpath_overrides_runpath=yes
   9890 	;;
   9891       esac
   9892   else
   9893     shlibpath_overrides_runpath=yes
   9894   fi
   9895   ;;
   9896 
   9897 os2*)
   9898   libname_spec='$name'
   9899   shrext_cmds=".dll"
   9900   need_lib_prefix=no
   9901   library_names_spec='$libname${shared_ext} $libname.a'
   9902   dynamic_linker='OS/2 ld.exe'
   9903   shlibpath_var=LIBPATH
   9904   ;;
   9905 
   9906 osf3* | osf4* | osf5*)
   9907   version_type=osf
   9908   need_lib_prefix=no
   9909   need_version=no
   9910   soname_spec='${libname}${release}${shared_ext}$major'
   9911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9912   shlibpath_var=LD_LIBRARY_PATH
   9913   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9914   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9915   ;;
   9916 
   9917 rdos*)
   9918   dynamic_linker=no
   9919   ;;
   9920 
   9921 solaris*)
   9922   version_type=linux
   9923   need_lib_prefix=no
   9924   need_version=no
   9925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9926   soname_spec='${libname}${release}${shared_ext}$major'
   9927   shlibpath_var=LD_LIBRARY_PATH
   9928   shlibpath_overrides_runpath=yes
   9929   hardcode_into_libs=yes
   9930   # ldd complains unless libraries are executable
   9931   postinstall_cmds='chmod +x $lib'
   9932   ;;
   9933 
   9934 sunos4*)
   9935   version_type=sunos
   9936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9937   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9938   shlibpath_var=LD_LIBRARY_PATH
   9939   shlibpath_overrides_runpath=yes
   9940   if test "$with_gnu_ld" = yes; then
   9941     need_lib_prefix=no
   9942   fi
   9943   need_version=yes
   9944   ;;
   9945 
   9946 sysv4 | sysv4.3*)
   9947   version_type=linux
   9948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9949   soname_spec='${libname}${release}${shared_ext}$major'
   9950   shlibpath_var=LD_LIBRARY_PATH
   9951   case $host_vendor in
   9952     sni)
   9953       shlibpath_overrides_runpath=no
   9954       need_lib_prefix=no
   9955       runpath_var=LD_RUN_PATH
   9956       ;;
   9957     siemens)
   9958       need_lib_prefix=no
   9959       ;;
   9960     motorola)
   9961       need_lib_prefix=no
   9962       need_version=no
   9963       shlibpath_overrides_runpath=no
   9964       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9965       ;;
   9966   esac
   9967   ;;
   9968 
   9969 sysv4*MP*)
   9970   if test -d /usr/nec ;then
   9971     version_type=linux
   9972     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9973     soname_spec='$libname${shared_ext}.$major'
   9974     shlibpath_var=LD_LIBRARY_PATH
   9975   fi
   9976   ;;
   9977 
   9978 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9979   version_type=freebsd-elf
   9980   need_lib_prefix=no
   9981   need_version=no
   9982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9983   soname_spec='${libname}${release}${shared_ext}$major'
   9984   shlibpath_var=LD_LIBRARY_PATH
   9985   shlibpath_overrides_runpath=yes
   9986   hardcode_into_libs=yes
   9987   if test "$with_gnu_ld" = yes; then
   9988     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9989   else
   9990     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9991     case $host_os in
   9992       sco3.2v5*)
   9993         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9994 	;;
   9995     esac
   9996   fi
   9997   sys_lib_dlsearch_path_spec='/usr/lib'
   9998   ;;
   9999 
   10000 tpf*)
   10001   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10002   version_type=linux
   10003   need_lib_prefix=no
   10004   need_version=no
   10005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10006   shlibpath_var=LD_LIBRARY_PATH
   10007   shlibpath_overrides_runpath=no
   10008   hardcode_into_libs=yes
   10009   ;;
   10010 
   10011 uts4*)
   10012   version_type=linux
   10013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10014   soname_spec='${libname}${release}${shared_ext}$major'
   10015   shlibpath_var=LD_LIBRARY_PATH
   10016   ;;
   10017 
   10018 *)
   10019   dynamic_linker=no
   10020   ;;
   10021 esac
   10022 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10023 $as_echo "$dynamic_linker" >&6; }
   10024 test "$dynamic_linker" = no && can_build_shared=no
   10025 
   10026 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10027 if test "$GCC" = yes; then
   10028   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10029 fi
   10030 
   10031 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10032   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10033 fi
   10034 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10035   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10036 fi
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10125 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10126 hardcode_action=
   10127 if test -n "$hardcode_libdir_flag_spec" ||
   10128    test -n "$runpath_var" ||
   10129    test "X$hardcode_automatic" = "Xyes" ; then
   10130 
   10131   # We can hardcode non-existent directories.
   10132   if test "$hardcode_direct" != no &&
   10133      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10134      # have to relink, otherwise we might link with an installed library
   10135      # when we should be linking with a yet-to-be-installed one
   10136      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10137      test "$hardcode_minus_L" != no; then
   10138     # Linking always hardcodes the temporary library directory.
   10139     hardcode_action=relink
   10140   else
   10141     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10142     hardcode_action=immediate
   10143   fi
   10144 else
   10145   # We cannot hardcode anything, or else we can only hardcode existing
   10146   # directories.
   10147   hardcode_action=unsupported
   10148 fi
   10149 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10150 $as_echo "$hardcode_action" >&6; }
   10151 
   10152 if test "$hardcode_action" = relink ||
   10153    test "$inherit_rpath" = yes; then
   10154   # Fast installation is not supported
   10155   enable_fast_install=no
   10156 elif test "$shlibpath_overrides_runpath" = yes ||
   10157      test "$enable_shared" = no; then
   10158   # Fast installation is not necessary
   10159   enable_fast_install=needless
   10160 fi
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167   if test "x$enable_dlopen" != xyes; then
   10168   enable_dlopen=unknown
   10169   enable_dlopen_self=unknown
   10170   enable_dlopen_self_static=unknown
   10171 else
   10172   lt_cv_dlopen=no
   10173   lt_cv_dlopen_libs=
   10174 
   10175   case $host_os in
   10176   beos*)
   10177     lt_cv_dlopen="load_add_on"
   10178     lt_cv_dlopen_libs=
   10179     lt_cv_dlopen_self=yes
   10180     ;;
   10181 
   10182   mingw* | pw32* | cegcc*)
   10183     lt_cv_dlopen="LoadLibrary"
   10184     lt_cv_dlopen_libs=
   10185     ;;
   10186 
   10187   cygwin*)
   10188     lt_cv_dlopen="dlopen"
   10189     lt_cv_dlopen_libs=
   10190     ;;
   10191 
   10192   darwin*)
   10193   # if libdl is installed we need to link against it
   10194     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10196 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10197   $as_echo_n "(cached) " >&6
   10198 else
   10199   ac_check_lib_save_LIBS=$LIBS
   10200 LIBS="-ldl  $LIBS"
   10201 cat >conftest.$ac_ext <<_ACEOF
   10202 /* confdefs.h.  */
   10203 _ACEOF
   10204 cat confdefs.h >>conftest.$ac_ext
   10205 cat >>conftest.$ac_ext <<_ACEOF
   10206 /* end confdefs.h.  */
   10207 
   10208 /* Override any GCC internal prototype to avoid an error.
   10209    Use char because int might match the return type of a GCC
   10210    builtin and then its argument prototype would still apply.  */
   10211 #ifdef __cplusplus
   10212 extern "C"
   10213 #endif
   10214 char dlopen ();
   10215 int
   10216 main ()
   10217 {
   10218 return dlopen ();
   10219   ;
   10220   return 0;
   10221 }
   10222 _ACEOF
   10223 rm -f conftest.$ac_objext conftest$ac_exeext
   10224 if { (ac_try="$ac_link"
   10225 case "(($ac_try" in
   10226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10227   *) ac_try_echo=$ac_try;;
   10228 esac
   10229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10230 $as_echo "$ac_try_echo") >&5
   10231   (eval "$ac_link") 2>conftest.er1
   10232   ac_status=$?
   10233   grep -v '^ *+' conftest.er1 >conftest.err
   10234   rm -f conftest.er1
   10235   cat conftest.err >&5
   10236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10237   (exit $ac_status); } && {
   10238 	 test -z "$ac_c_werror_flag" ||
   10239 	 test ! -s conftest.err
   10240        } && test -s conftest$ac_exeext && {
   10241 	 test "$cross_compiling" = yes ||
   10242 	 $as_test_x conftest$ac_exeext
   10243        }; then
   10244   ac_cv_lib_dl_dlopen=yes
   10245 else
   10246   $as_echo "$as_me: failed program was:" >&5
   10247 sed 's/^/| /' conftest.$ac_ext >&5
   10248 
   10249 	ac_cv_lib_dl_dlopen=no
   10250 fi
   10251 
   10252 rm -rf conftest.dSYM
   10253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10254       conftest$ac_exeext conftest.$ac_ext
   10255 LIBS=$ac_check_lib_save_LIBS
   10256 fi
   10257 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10258 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10259 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10260   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10261 else
   10262 
   10263     lt_cv_dlopen="dyld"
   10264     lt_cv_dlopen_libs=
   10265     lt_cv_dlopen_self=yes
   10266 
   10267 fi
   10268 
   10269     ;;
   10270 
   10271   *)
   10272     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10273 $as_echo_n "checking for shl_load... " >&6; }
   10274 if test "${ac_cv_func_shl_load+set}" = set; then
   10275   $as_echo_n "(cached) " >&6
   10276 else
   10277   cat >conftest.$ac_ext <<_ACEOF
   10278 /* confdefs.h.  */
   10279 _ACEOF
   10280 cat confdefs.h >>conftest.$ac_ext
   10281 cat >>conftest.$ac_ext <<_ACEOF
   10282 /* end confdefs.h.  */
   10283 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10285 #define shl_load innocuous_shl_load
   10286 
   10287 /* System header to define __stub macros and hopefully few prototypes,
   10288     which can conflict with char shl_load (); below.
   10289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10290     <limits.h> exists even on freestanding compilers.  */
   10291 
   10292 #ifdef __STDC__
   10293 # include <limits.h>
   10294 #else
   10295 # include <assert.h>
   10296 #endif
   10297 
   10298 #undef shl_load
   10299 
   10300 /* Override any GCC internal prototype to avoid an error.
   10301    Use char because int might match the return type of a GCC
   10302    builtin and then its argument prototype would still apply.  */
   10303 #ifdef __cplusplus
   10304 extern "C"
   10305 #endif
   10306 char shl_load ();
   10307 /* The GNU C library defines this for functions which it implements
   10308     to always fail with ENOSYS.  Some functions are actually named
   10309     something starting with __ and the normal name is an alias.  */
   10310 #if defined __stub_shl_load || defined __stub___shl_load
   10311 choke me
   10312 #endif
   10313 
   10314 int
   10315 main ()
   10316 {
   10317 return shl_load ();
   10318   ;
   10319   return 0;
   10320 }
   10321 _ACEOF
   10322 rm -f conftest.$ac_objext conftest$ac_exeext
   10323 if { (ac_try="$ac_link"
   10324 case "(($ac_try" in
   10325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10326   *) ac_try_echo=$ac_try;;
   10327 esac
   10328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10329 $as_echo "$ac_try_echo") >&5
   10330   (eval "$ac_link") 2>conftest.er1
   10331   ac_status=$?
   10332   grep -v '^ *+' conftest.er1 >conftest.err
   10333   rm -f conftest.er1
   10334   cat conftest.err >&5
   10335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10336   (exit $ac_status); } && {
   10337 	 test -z "$ac_c_werror_flag" ||
   10338 	 test ! -s conftest.err
   10339        } && test -s conftest$ac_exeext && {
   10340 	 test "$cross_compiling" = yes ||
   10341 	 $as_test_x conftest$ac_exeext
   10342        }; then
   10343   ac_cv_func_shl_load=yes
   10344 else
   10345   $as_echo "$as_me: failed program was:" >&5
   10346 sed 's/^/| /' conftest.$ac_ext >&5
   10347 
   10348 	ac_cv_func_shl_load=no
   10349 fi
   10350 
   10351 rm -rf conftest.dSYM
   10352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10353       conftest$ac_exeext conftest.$ac_ext
   10354 fi
   10355 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10356 $as_echo "$ac_cv_func_shl_load" >&6; }
   10357 if test "x$ac_cv_func_shl_load" = x""yes; then
   10358   lt_cv_dlopen="shl_load"
   10359 else
   10360   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10361 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10362 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10363   $as_echo_n "(cached) " >&6
   10364 else
   10365   ac_check_lib_save_LIBS=$LIBS
   10366 LIBS="-ldld  $LIBS"
   10367 cat >conftest.$ac_ext <<_ACEOF
   10368 /* confdefs.h.  */
   10369 _ACEOF
   10370 cat confdefs.h >>conftest.$ac_ext
   10371 cat >>conftest.$ac_ext <<_ACEOF
   10372 /* end confdefs.h.  */
   10373 
   10374 /* Override any GCC internal prototype to avoid an error.
   10375    Use char because int might match the return type of a GCC
   10376    builtin and then its argument prototype would still apply.  */
   10377 #ifdef __cplusplus
   10378 extern "C"
   10379 #endif
   10380 char shl_load ();
   10381 int
   10382 main ()
   10383 {
   10384 return shl_load ();
   10385   ;
   10386   return 0;
   10387 }
   10388 _ACEOF
   10389 rm -f conftest.$ac_objext conftest$ac_exeext
   10390 if { (ac_try="$ac_link"
   10391 case "(($ac_try" in
   10392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10393   *) ac_try_echo=$ac_try;;
   10394 esac
   10395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10396 $as_echo "$ac_try_echo") >&5
   10397   (eval "$ac_link") 2>conftest.er1
   10398   ac_status=$?
   10399   grep -v '^ *+' conftest.er1 >conftest.err
   10400   rm -f conftest.er1
   10401   cat conftest.err >&5
   10402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10403   (exit $ac_status); } && {
   10404 	 test -z "$ac_c_werror_flag" ||
   10405 	 test ! -s conftest.err
   10406        } && test -s conftest$ac_exeext && {
   10407 	 test "$cross_compiling" = yes ||
   10408 	 $as_test_x conftest$ac_exeext
   10409        }; then
   10410   ac_cv_lib_dld_shl_load=yes
   10411 else
   10412   $as_echo "$as_me: failed program was:" >&5
   10413 sed 's/^/| /' conftest.$ac_ext >&5
   10414 
   10415 	ac_cv_lib_dld_shl_load=no
   10416 fi
   10417 
   10418 rm -rf conftest.dSYM
   10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10420       conftest$ac_exeext conftest.$ac_ext
   10421 LIBS=$ac_check_lib_save_LIBS
   10422 fi
   10423 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10424 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10425 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10426   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10427 else
   10428   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10429 $as_echo_n "checking for dlopen... " >&6; }
   10430 if test "${ac_cv_func_dlopen+set}" = set; then
   10431   $as_echo_n "(cached) " >&6
   10432 else
   10433   cat >conftest.$ac_ext <<_ACEOF
   10434 /* confdefs.h.  */
   10435 _ACEOF
   10436 cat confdefs.h >>conftest.$ac_ext
   10437 cat >>conftest.$ac_ext <<_ACEOF
   10438 /* end confdefs.h.  */
   10439 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10441 #define dlopen innocuous_dlopen
   10442 
   10443 /* System header to define __stub macros and hopefully few prototypes,
   10444     which can conflict with char dlopen (); below.
   10445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10446     <limits.h> exists even on freestanding compilers.  */
   10447 
   10448 #ifdef __STDC__
   10449 # include <limits.h>
   10450 #else
   10451 # include <assert.h>
   10452 #endif
   10453 
   10454 #undef dlopen
   10455 
   10456 /* Override any GCC internal prototype to avoid an error.
   10457    Use char because int might match the return type of a GCC
   10458    builtin and then its argument prototype would still apply.  */
   10459 #ifdef __cplusplus
   10460 extern "C"
   10461 #endif
   10462 char dlopen ();
   10463 /* The GNU C library defines this for functions which it implements
   10464     to always fail with ENOSYS.  Some functions are actually named
   10465     something starting with __ and the normal name is an alias.  */
   10466 #if defined __stub_dlopen || defined __stub___dlopen
   10467 choke me
   10468 #endif
   10469 
   10470 int
   10471 main ()
   10472 {
   10473 return dlopen ();
   10474   ;
   10475   return 0;
   10476 }
   10477 _ACEOF
   10478 rm -f conftest.$ac_objext conftest$ac_exeext
   10479 if { (ac_try="$ac_link"
   10480 case "(($ac_try" in
   10481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10482   *) ac_try_echo=$ac_try;;
   10483 esac
   10484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10485 $as_echo "$ac_try_echo") >&5
   10486   (eval "$ac_link") 2>conftest.er1
   10487   ac_status=$?
   10488   grep -v '^ *+' conftest.er1 >conftest.err
   10489   rm -f conftest.er1
   10490   cat conftest.err >&5
   10491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10492   (exit $ac_status); } && {
   10493 	 test -z "$ac_c_werror_flag" ||
   10494 	 test ! -s conftest.err
   10495        } && test -s conftest$ac_exeext && {
   10496 	 test "$cross_compiling" = yes ||
   10497 	 $as_test_x conftest$ac_exeext
   10498        }; then
   10499   ac_cv_func_dlopen=yes
   10500 else
   10501   $as_echo "$as_me: failed program was:" >&5
   10502 sed 's/^/| /' conftest.$ac_ext >&5
   10503 
   10504 	ac_cv_func_dlopen=no
   10505 fi
   10506 
   10507 rm -rf conftest.dSYM
   10508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10509       conftest$ac_exeext conftest.$ac_ext
   10510 fi
   10511 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10512 $as_echo "$ac_cv_func_dlopen" >&6; }
   10513 if test "x$ac_cv_func_dlopen" = x""yes; then
   10514   lt_cv_dlopen="dlopen"
   10515 else
   10516   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10517 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10518 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10519   $as_echo_n "(cached) " >&6
   10520 else
   10521   ac_check_lib_save_LIBS=$LIBS
   10522 LIBS="-ldl  $LIBS"
   10523 cat >conftest.$ac_ext <<_ACEOF
   10524 /* confdefs.h.  */
   10525 _ACEOF
   10526 cat confdefs.h >>conftest.$ac_ext
   10527 cat >>conftest.$ac_ext <<_ACEOF
   10528 /* end confdefs.h.  */
   10529 
   10530 /* Override any GCC internal prototype to avoid an error.
   10531    Use char because int might match the return type of a GCC
   10532    builtin and then its argument prototype would still apply.  */
   10533 #ifdef __cplusplus
   10534 extern "C"
   10535 #endif
   10536 char dlopen ();
   10537 int
   10538 main ()
   10539 {
   10540 return dlopen ();
   10541   ;
   10542   return 0;
   10543 }
   10544 _ACEOF
   10545 rm -f conftest.$ac_objext conftest$ac_exeext
   10546 if { (ac_try="$ac_link"
   10547 case "(($ac_try" in
   10548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10549   *) ac_try_echo=$ac_try;;
   10550 esac
   10551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10552 $as_echo "$ac_try_echo") >&5
   10553   (eval "$ac_link") 2>conftest.er1
   10554   ac_status=$?
   10555   grep -v '^ *+' conftest.er1 >conftest.err
   10556   rm -f conftest.er1
   10557   cat conftest.err >&5
   10558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10559   (exit $ac_status); } && {
   10560 	 test -z "$ac_c_werror_flag" ||
   10561 	 test ! -s conftest.err
   10562        } && test -s conftest$ac_exeext && {
   10563 	 test "$cross_compiling" = yes ||
   10564 	 $as_test_x conftest$ac_exeext
   10565        }; then
   10566   ac_cv_lib_dl_dlopen=yes
   10567 else
   10568   $as_echo "$as_me: failed program was:" >&5
   10569 sed 's/^/| /' conftest.$ac_ext >&5
   10570 
   10571 	ac_cv_lib_dl_dlopen=no
   10572 fi
   10573 
   10574 rm -rf conftest.dSYM
   10575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10576       conftest$ac_exeext conftest.$ac_ext
   10577 LIBS=$ac_check_lib_save_LIBS
   10578 fi
   10579 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10580 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10581 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10582   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10583 else
   10584   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10585 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10586 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10587   $as_echo_n "(cached) " >&6
   10588 else
   10589   ac_check_lib_save_LIBS=$LIBS
   10590 LIBS="-lsvld  $LIBS"
   10591 cat >conftest.$ac_ext <<_ACEOF
   10592 /* confdefs.h.  */
   10593 _ACEOF
   10594 cat confdefs.h >>conftest.$ac_ext
   10595 cat >>conftest.$ac_ext <<_ACEOF
   10596 /* end confdefs.h.  */
   10597 
   10598 /* Override any GCC internal prototype to avoid an error.
   10599    Use char because int might match the return type of a GCC
   10600    builtin and then its argument prototype would still apply.  */
   10601 #ifdef __cplusplus
   10602 extern "C"
   10603 #endif
   10604 char dlopen ();
   10605 int
   10606 main ()
   10607 {
   10608 return dlopen ();
   10609   ;
   10610   return 0;
   10611 }
   10612 _ACEOF
   10613 rm -f conftest.$ac_objext conftest$ac_exeext
   10614 if { (ac_try="$ac_link"
   10615 case "(($ac_try" in
   10616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10617   *) ac_try_echo=$ac_try;;
   10618 esac
   10619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10620 $as_echo "$ac_try_echo") >&5
   10621   (eval "$ac_link") 2>conftest.er1
   10622   ac_status=$?
   10623   grep -v '^ *+' conftest.er1 >conftest.err
   10624   rm -f conftest.er1
   10625   cat conftest.err >&5
   10626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10627   (exit $ac_status); } && {
   10628 	 test -z "$ac_c_werror_flag" ||
   10629 	 test ! -s conftest.err
   10630        } && test -s conftest$ac_exeext && {
   10631 	 test "$cross_compiling" = yes ||
   10632 	 $as_test_x conftest$ac_exeext
   10633        }; then
   10634   ac_cv_lib_svld_dlopen=yes
   10635 else
   10636   $as_echo "$as_me: failed program was:" >&5
   10637 sed 's/^/| /' conftest.$ac_ext >&5
   10638 
   10639 	ac_cv_lib_svld_dlopen=no
   10640 fi
   10641 
   10642 rm -rf conftest.dSYM
   10643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10644       conftest$ac_exeext conftest.$ac_ext
   10645 LIBS=$ac_check_lib_save_LIBS
   10646 fi
   10647 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10648 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10649 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10650   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10651 else
   10652   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10653 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10654 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10655   $as_echo_n "(cached) " >&6
   10656 else
   10657   ac_check_lib_save_LIBS=$LIBS
   10658 LIBS="-ldld  $LIBS"
   10659 cat >conftest.$ac_ext <<_ACEOF
   10660 /* confdefs.h.  */
   10661 _ACEOF
   10662 cat confdefs.h >>conftest.$ac_ext
   10663 cat >>conftest.$ac_ext <<_ACEOF
   10664 /* end confdefs.h.  */
   10665 
   10666 /* Override any GCC internal prototype to avoid an error.
   10667    Use char because int might match the return type of a GCC
   10668    builtin and then its argument prototype would still apply.  */
   10669 #ifdef __cplusplus
   10670 extern "C"
   10671 #endif
   10672 char dld_link ();
   10673 int
   10674 main ()
   10675 {
   10676 return dld_link ();
   10677   ;
   10678   return 0;
   10679 }
   10680 _ACEOF
   10681 rm -f conftest.$ac_objext conftest$ac_exeext
   10682 if { (ac_try="$ac_link"
   10683 case "(($ac_try" in
   10684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10685   *) ac_try_echo=$ac_try;;
   10686 esac
   10687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10688 $as_echo "$ac_try_echo") >&5
   10689   (eval "$ac_link") 2>conftest.er1
   10690   ac_status=$?
   10691   grep -v '^ *+' conftest.er1 >conftest.err
   10692   rm -f conftest.er1
   10693   cat conftest.err >&5
   10694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10695   (exit $ac_status); } && {
   10696 	 test -z "$ac_c_werror_flag" ||
   10697 	 test ! -s conftest.err
   10698        } && test -s conftest$ac_exeext && {
   10699 	 test "$cross_compiling" = yes ||
   10700 	 $as_test_x conftest$ac_exeext
   10701        }; then
   10702   ac_cv_lib_dld_dld_link=yes
   10703 else
   10704   $as_echo "$as_me: failed program was:" >&5
   10705 sed 's/^/| /' conftest.$ac_ext >&5
   10706 
   10707 	ac_cv_lib_dld_dld_link=no
   10708 fi
   10709 
   10710 rm -rf conftest.dSYM
   10711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10712       conftest$ac_exeext conftest.$ac_ext
   10713 LIBS=$ac_check_lib_save_LIBS
   10714 fi
   10715 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10716 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10717 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10718   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10719 fi
   10720 
   10721 
   10722 fi
   10723 
   10724 
   10725 fi
   10726 
   10727 
   10728 fi
   10729 
   10730 
   10731 fi
   10732 
   10733 
   10734 fi
   10735 
   10736     ;;
   10737   esac
   10738 
   10739   if test "x$lt_cv_dlopen" != xno; then
   10740     enable_dlopen=yes
   10741   else
   10742     enable_dlopen=no
   10743   fi
   10744 
   10745   case $lt_cv_dlopen in
   10746   dlopen)
   10747     save_CPPFLAGS="$CPPFLAGS"
   10748     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10749 
   10750     save_LDFLAGS="$LDFLAGS"
   10751     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10752 
   10753     save_LIBS="$LIBS"
   10754     LIBS="$lt_cv_dlopen_libs $LIBS"
   10755 
   10756     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10757 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10758 if test "${lt_cv_dlopen_self+set}" = set; then
   10759   $as_echo_n "(cached) " >&6
   10760 else
   10761   	  if test "$cross_compiling" = yes; then :
   10762   lt_cv_dlopen_self=cross
   10763 else
   10764   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10765   lt_status=$lt_dlunknown
   10766   cat > conftest.$ac_ext <<_LT_EOF
   10767 #line 10767 "configure"
   10768 #include "confdefs.h"
   10769 
   10770 #if HAVE_DLFCN_H
   10771 #include <dlfcn.h>
   10772 #endif
   10773 
   10774 #include <stdio.h>
   10775 
   10776 #ifdef RTLD_GLOBAL
   10777 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10778 #else
   10779 #  ifdef DL_GLOBAL
   10780 #    define LT_DLGLOBAL		DL_GLOBAL
   10781 #  else
   10782 #    define LT_DLGLOBAL		0
   10783 #  endif
   10784 #endif
   10785 
   10786 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10787    find out it does not work in some platform. */
   10788 #ifndef LT_DLLAZY_OR_NOW
   10789 #  ifdef RTLD_LAZY
   10790 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10791 #  else
   10792 #    ifdef DL_LAZY
   10793 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10794 #    else
   10795 #      ifdef RTLD_NOW
   10796 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10797 #      else
   10798 #        ifdef DL_NOW
   10799 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10800 #        else
   10801 #          define LT_DLLAZY_OR_NOW	0
   10802 #        endif
   10803 #      endif
   10804 #    endif
   10805 #  endif
   10806 #endif
   10807 
   10808 void fnord() { int i=42;}
   10809 int main ()
   10810 {
   10811   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10812   int status = $lt_dlunknown;
   10813 
   10814   if (self)
   10815     {
   10816       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10817       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10818       /* dlclose (self); */
   10819     }
   10820   else
   10821     puts (dlerror ());
   10822 
   10823   return status;
   10824 }
   10825 _LT_EOF
   10826   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10827   (eval $ac_link) 2>&5
   10828   ac_status=$?
   10829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10830   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10831     (./conftest; exit; ) >&5 2>/dev/null
   10832     lt_status=$?
   10833     case x$lt_status in
   10834       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10835       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10836       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10837     esac
   10838   else :
   10839     # compilation failed
   10840     lt_cv_dlopen_self=no
   10841   fi
   10842 fi
   10843 rm -fr conftest*
   10844 
   10845 
   10846 fi
   10847 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10848 $as_echo "$lt_cv_dlopen_self" >&6; }
   10849 
   10850     if test "x$lt_cv_dlopen_self" = xyes; then
   10851       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10852       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10853 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10854 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10855   $as_echo_n "(cached) " >&6
   10856 else
   10857   	  if test "$cross_compiling" = yes; then :
   10858   lt_cv_dlopen_self_static=cross
   10859 else
   10860   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10861   lt_status=$lt_dlunknown
   10862   cat > conftest.$ac_ext <<_LT_EOF
   10863 #line 10863 "configure"
   10864 #include "confdefs.h"
   10865 
   10866 #if HAVE_DLFCN_H
   10867 #include <dlfcn.h>
   10868 #endif
   10869 
   10870 #include <stdio.h>
   10871 
   10872 #ifdef RTLD_GLOBAL
   10873 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10874 #else
   10875 #  ifdef DL_GLOBAL
   10876 #    define LT_DLGLOBAL		DL_GLOBAL
   10877 #  else
   10878 #    define LT_DLGLOBAL		0
   10879 #  endif
   10880 #endif
   10881 
   10882 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10883    find out it does not work in some platform. */
   10884 #ifndef LT_DLLAZY_OR_NOW
   10885 #  ifdef RTLD_LAZY
   10886 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10887 #  else
   10888 #    ifdef DL_LAZY
   10889 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10890 #    else
   10891 #      ifdef RTLD_NOW
   10892 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10893 #      else
   10894 #        ifdef DL_NOW
   10895 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10896 #        else
   10897 #          define LT_DLLAZY_OR_NOW	0
   10898 #        endif
   10899 #      endif
   10900 #    endif
   10901 #  endif
   10902 #endif
   10903 
   10904 void fnord() { int i=42;}
   10905 int main ()
   10906 {
   10907   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10908   int status = $lt_dlunknown;
   10909 
   10910   if (self)
   10911     {
   10912       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10913       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10914       /* dlclose (self); */
   10915     }
   10916   else
   10917     puts (dlerror ());
   10918 
   10919   return status;
   10920 }
   10921 _LT_EOF
   10922   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10923   (eval $ac_link) 2>&5
   10924   ac_status=$?
   10925   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10926   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10927     (./conftest; exit; ) >&5 2>/dev/null
   10928     lt_status=$?
   10929     case x$lt_status in
   10930       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10931       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10932       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10933     esac
   10934   else :
   10935     # compilation failed
   10936     lt_cv_dlopen_self_static=no
   10937   fi
   10938 fi
   10939 rm -fr conftest*
   10940 
   10941 
   10942 fi
   10943 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10944 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10945     fi
   10946 
   10947     CPPFLAGS="$save_CPPFLAGS"
   10948     LDFLAGS="$save_LDFLAGS"
   10949     LIBS="$save_LIBS"
   10950     ;;
   10951   esac
   10952 
   10953   case $lt_cv_dlopen_self in
   10954   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10955   *) enable_dlopen_self=unknown ;;
   10956   esac
   10957 
   10958   case $lt_cv_dlopen_self_static in
   10959   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10960   *) enable_dlopen_self_static=unknown ;;
   10961   esac
   10962 fi
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 striplib=
   10981 old_striplib=
   10982 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10983 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10984 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10985   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10986   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10987   { $as_echo "$as_me:$LINENO: result: yes" >&5
   10988 $as_echo "yes" >&6; }
   10989 else
   10990 # FIXME - insert some real tests, host_os isn't really good enough
   10991   case $host_os in
   10992   darwin*)
   10993     if test -n "$STRIP" ; then
   10994       striplib="$STRIP -x"
   10995       old_striplib="$STRIP -S"
   10996       { $as_echo "$as_me:$LINENO: result: yes" >&5
   10997 $as_echo "yes" >&6; }
   10998     else
   10999       { $as_echo "$as_me:$LINENO: result: no" >&5
   11000 $as_echo "no" >&6; }
   11001     fi
   11002     ;;
   11003   *)
   11004     { $as_echo "$as_me:$LINENO: result: no" >&5
   11005 $as_echo "no" >&6; }
   11006     ;;
   11007   esac
   11008 fi
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021   # Report which library types will actually be built
   11022   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11023 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11024   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11025 $as_echo "$can_build_shared" >&6; }
   11026 
   11027   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11028 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11029   test "$can_build_shared" = "no" && enable_shared=no
   11030 
   11031   # On AIX, shared libraries and static libraries use the same namespace, and
   11032   # are all built from PIC.
   11033   case $host_os in
   11034   aix3*)
   11035     test "$enable_shared" = yes && enable_static=no
   11036     if test -n "$RANLIB"; then
   11037       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11038       postinstall_cmds='$RANLIB $lib'
   11039     fi
   11040     ;;
   11041 
   11042   aix[4-9]*)
   11043     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11044       test "$enable_shared" = yes && enable_static=no
   11045     fi
   11046     ;;
   11047   esac
   11048   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11049 $as_echo "$enable_shared" >&6; }
   11050 
   11051   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11052 $as_echo_n "checking whether to build static libraries... " >&6; }
   11053   # Make sure either enable_shared or enable_static is yes.
   11054   test "$enable_shared" = yes || enable_static=yes
   11055   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11056 $as_echo "$enable_static" >&6; }
   11057 
   11058 
   11059 
   11060 
   11061 fi
   11062 ac_ext=c
   11063 ac_cpp='$CPP $CPPFLAGS'
   11064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11067 
   11068 CC="$lt_save_CC"
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082         ac_config_commands="$ac_config_commands libtool"
   11083 
   11084 
   11085 
   11086 
   11087 # Only expand once:
   11088 
   11089 
   11090 ac_ext=c
   11091 ac_cpp='$CPP $CPPFLAGS'
   11092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11095 if test -n "$ac_tool_prefix"; then
   11096   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11097 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11099 $as_echo_n "checking for $ac_word... " >&6; }
   11100 if test "${ac_cv_prog_CC+set}" = set; then
   11101   $as_echo_n "(cached) " >&6
   11102 else
   11103   if test -n "$CC"; then
   11104   ac_cv_prog_CC="$CC" # Let the user override the test.
   11105 else
   11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11107 for as_dir in $PATH
   11108 do
   11109   IFS=$as_save_IFS
   11110   test -z "$as_dir" && as_dir=.
   11111   for ac_exec_ext in '' $ac_executable_extensions; do
   11112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11113     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11114     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11115     break 2
   11116   fi
   11117 done
   11118 done
   11119 IFS=$as_save_IFS
   11120 
   11121 fi
   11122 fi
   11123 CC=$ac_cv_prog_CC
   11124 if test -n "$CC"; then
   11125   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11126 $as_echo "$CC" >&6; }
   11127 else
   11128   { $as_echo "$as_me:$LINENO: result: no" >&5
   11129 $as_echo "no" >&6; }
   11130 fi
   11131 
   11132 
   11133 fi
   11134 if test -z "$ac_cv_prog_CC"; then
   11135   ac_ct_CC=$CC
   11136   # Extract the first word of "gcc", so it can be a program name with args.
   11137 set dummy gcc; ac_word=$2
   11138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11139 $as_echo_n "checking for $ac_word... " >&6; }
   11140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11141   $as_echo_n "(cached) " >&6
   11142 else
   11143   if test -n "$ac_ct_CC"; then
   11144   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11145 else
   11146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11147 for as_dir in $PATH
   11148 do
   11149   IFS=$as_save_IFS
   11150   test -z "$as_dir" && as_dir=.
   11151   for ac_exec_ext in '' $ac_executable_extensions; do
   11152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11153     ac_cv_prog_ac_ct_CC="gcc"
   11154     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11155     break 2
   11156   fi
   11157 done
   11158 done
   11159 IFS=$as_save_IFS
   11160 
   11161 fi
   11162 fi
   11163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11164 if test -n "$ac_ct_CC"; then
   11165   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11166 $as_echo "$ac_ct_CC" >&6; }
   11167 else
   11168   { $as_echo "$as_me:$LINENO: result: no" >&5
   11169 $as_echo "no" >&6; }
   11170 fi
   11171 
   11172   if test "x$ac_ct_CC" = x; then
   11173     CC=""
   11174   else
   11175     case $cross_compiling:$ac_tool_warned in
   11176 yes:)
   11177 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11179 ac_tool_warned=yes ;;
   11180 esac
   11181     CC=$ac_ct_CC
   11182   fi
   11183 else
   11184   CC="$ac_cv_prog_CC"
   11185 fi
   11186 
   11187 if test -z "$CC"; then
   11188           if test -n "$ac_tool_prefix"; then
   11189     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11190 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11192 $as_echo_n "checking for $ac_word... " >&6; }
   11193 if test "${ac_cv_prog_CC+set}" = set; then
   11194   $as_echo_n "(cached) " >&6
   11195 else
   11196   if test -n "$CC"; then
   11197   ac_cv_prog_CC="$CC" # Let the user override the test.
   11198 else
   11199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11200 for as_dir in $PATH
   11201 do
   11202   IFS=$as_save_IFS
   11203   test -z "$as_dir" && as_dir=.
   11204   for ac_exec_ext in '' $ac_executable_extensions; do
   11205   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11206     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11207     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11208     break 2
   11209   fi
   11210 done
   11211 done
   11212 IFS=$as_save_IFS
   11213 
   11214 fi
   11215 fi
   11216 CC=$ac_cv_prog_CC
   11217 if test -n "$CC"; then
   11218   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11219 $as_echo "$CC" >&6; }
   11220 else
   11221   { $as_echo "$as_me:$LINENO: result: no" >&5
   11222 $as_echo "no" >&6; }
   11223 fi
   11224 
   11225 
   11226   fi
   11227 fi
   11228 if test -z "$CC"; then
   11229   # Extract the first word of "cc", so it can be a program name with args.
   11230 set dummy cc; ac_word=$2
   11231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11232 $as_echo_n "checking for $ac_word... " >&6; }
   11233 if test "${ac_cv_prog_CC+set}" = set; then
   11234   $as_echo_n "(cached) " >&6
   11235 else
   11236   if test -n "$CC"; then
   11237   ac_cv_prog_CC="$CC" # Let the user override the test.
   11238 else
   11239   ac_prog_rejected=no
   11240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11241 for as_dir in $PATH
   11242 do
   11243   IFS=$as_save_IFS
   11244   test -z "$as_dir" && as_dir=.
   11245   for ac_exec_ext in '' $ac_executable_extensions; do
   11246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11247     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11248        ac_prog_rejected=yes
   11249        continue
   11250      fi
   11251     ac_cv_prog_CC="cc"
   11252     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11253     break 2
   11254   fi
   11255 done
   11256 done
   11257 IFS=$as_save_IFS
   11258 
   11259 if test $ac_prog_rejected = yes; then
   11260   # We found a bogon in the path, so make sure we never use it.
   11261   set dummy $ac_cv_prog_CC
   11262   shift
   11263   if test $# != 0; then
   11264     # We chose a different compiler from the bogus one.
   11265     # However, it has the same basename, so the bogon will be chosen
   11266     # first if we set CC to just the basename; use the full file name.
   11267     shift
   11268     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11269   fi
   11270 fi
   11271 fi
   11272 fi
   11273 CC=$ac_cv_prog_CC
   11274 if test -n "$CC"; then
   11275   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11276 $as_echo "$CC" >&6; }
   11277 else
   11278   { $as_echo "$as_me:$LINENO: result: no" >&5
   11279 $as_echo "no" >&6; }
   11280 fi
   11281 
   11282 
   11283 fi
   11284 if test -z "$CC"; then
   11285   if test -n "$ac_tool_prefix"; then
   11286   for ac_prog in cl.exe
   11287   do
   11288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11291 $as_echo_n "checking for $ac_word... " >&6; }
   11292 if test "${ac_cv_prog_CC+set}" = set; then
   11293   $as_echo_n "(cached) " >&6
   11294 else
   11295   if test -n "$CC"; then
   11296   ac_cv_prog_CC="$CC" # Let the user override the test.
   11297 else
   11298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11299 for as_dir in $PATH
   11300 do
   11301   IFS=$as_save_IFS
   11302   test -z "$as_dir" && as_dir=.
   11303   for ac_exec_ext in '' $ac_executable_extensions; do
   11304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11305     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11306     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11307     break 2
   11308   fi
   11309 done
   11310 done
   11311 IFS=$as_save_IFS
   11312 
   11313 fi
   11314 fi
   11315 CC=$ac_cv_prog_CC
   11316 if test -n "$CC"; then
   11317   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11318 $as_echo "$CC" >&6; }
   11319 else
   11320   { $as_echo "$as_me:$LINENO: result: no" >&5
   11321 $as_echo "no" >&6; }
   11322 fi
   11323 
   11324 
   11325     test -n "$CC" && break
   11326   done
   11327 fi
   11328 if test -z "$CC"; then
   11329   ac_ct_CC=$CC
   11330   for ac_prog in cl.exe
   11331 do
   11332   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11333 set dummy $ac_prog; ac_word=$2
   11334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11335 $as_echo_n "checking for $ac_word... " >&6; }
   11336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11337   $as_echo_n "(cached) " >&6
   11338 else
   11339   if test -n "$ac_ct_CC"; then
   11340   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11341 else
   11342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11343 for as_dir in $PATH
   11344 do
   11345   IFS=$as_save_IFS
   11346   test -z "$as_dir" && as_dir=.
   11347   for ac_exec_ext in '' $ac_executable_extensions; do
   11348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11349     ac_cv_prog_ac_ct_CC="$ac_prog"
   11350     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11351     break 2
   11352   fi
   11353 done
   11354 done
   11355 IFS=$as_save_IFS
   11356 
   11357 fi
   11358 fi
   11359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11360 if test -n "$ac_ct_CC"; then
   11361   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11362 $as_echo "$ac_ct_CC" >&6; }
   11363 else
   11364   { $as_echo "$as_me:$LINENO: result: no" >&5
   11365 $as_echo "no" >&6; }
   11366 fi
   11367 
   11368 
   11369   test -n "$ac_ct_CC" && break
   11370 done
   11371 
   11372   if test "x$ac_ct_CC" = x; then
   11373     CC=""
   11374   else
   11375     case $cross_compiling:$ac_tool_warned in
   11376 yes:)
   11377 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11379 ac_tool_warned=yes ;;
   11380 esac
   11381     CC=$ac_ct_CC
   11382   fi
   11383 fi
   11384 
   11385 fi
   11386 
   11387 
   11388 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11390 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   11391 See \`config.log' for more details." >&5
   11392 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   11393 See \`config.log' for more details." >&2;}
   11394    { (exit 1); exit 1; }; }; }
   11395 
   11396 # Provide some information about the compiler.
   11397 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   11398 set X $ac_compile
   11399 ac_compiler=$2
   11400 { (ac_try="$ac_compiler --version >&5"
   11401 case "(($ac_try" in
   11402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11403   *) ac_try_echo=$ac_try;;
   11404 esac
   11405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11406 $as_echo "$ac_try_echo") >&5
   11407   (eval "$ac_compiler --version >&5") 2>&5
   11408   ac_status=$?
   11409   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11410   (exit $ac_status); }
   11411 { (ac_try="$ac_compiler -v >&5"
   11412 case "(($ac_try" in
   11413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11414   *) ac_try_echo=$ac_try;;
   11415 esac
   11416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11417 $as_echo "$ac_try_echo") >&5
   11418   (eval "$ac_compiler -v >&5") 2>&5
   11419   ac_status=$?
   11420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11421   (exit $ac_status); }
   11422 { (ac_try="$ac_compiler -V >&5"
   11423 case "(($ac_try" in
   11424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11425   *) ac_try_echo=$ac_try;;
   11426 esac
   11427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11428 $as_echo "$ac_try_echo") >&5
   11429   (eval "$ac_compiler -V >&5") 2>&5
   11430   ac_status=$?
   11431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11432   (exit $ac_status); }
   11433 
   11434 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   11435 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11436 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   11437   $as_echo_n "(cached) " >&6
   11438 else
   11439   cat >conftest.$ac_ext <<_ACEOF
   11440 /* confdefs.h.  */
   11441 _ACEOF
   11442 cat confdefs.h >>conftest.$ac_ext
   11443 cat >>conftest.$ac_ext <<_ACEOF
   11444 /* end confdefs.h.  */
   11445 
   11446 int
   11447 main ()
   11448 {
   11449 #ifndef __GNUC__
   11450        choke me
   11451 #endif
   11452 
   11453   ;
   11454   return 0;
   11455 }
   11456 _ACEOF
   11457 rm -f conftest.$ac_objext
   11458 if { (ac_try="$ac_compile"
   11459 case "(($ac_try" in
   11460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11461   *) ac_try_echo=$ac_try;;
   11462 esac
   11463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11464 $as_echo "$ac_try_echo") >&5
   11465   (eval "$ac_compile") 2>conftest.er1
   11466   ac_status=$?
   11467   grep -v '^ *+' conftest.er1 >conftest.err
   11468   rm -f conftest.er1
   11469   cat conftest.err >&5
   11470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11471   (exit $ac_status); } && {
   11472 	 test -z "$ac_c_werror_flag" ||
   11473 	 test ! -s conftest.err
   11474        } && test -s conftest.$ac_objext; then
   11475   ac_compiler_gnu=yes
   11476 else
   11477   $as_echo "$as_me: failed program was:" >&5
   11478 sed 's/^/| /' conftest.$ac_ext >&5
   11479 
   11480 	ac_compiler_gnu=no
   11481 fi
   11482 
   11483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11485 
   11486 fi
   11487 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   11488 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11489 if test $ac_compiler_gnu = yes; then
   11490   GCC=yes
   11491 else
   11492   GCC=
   11493 fi
   11494 ac_test_CFLAGS=${CFLAGS+set}
   11495 ac_save_CFLAGS=$CFLAGS
   11496 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   11497 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11498 if test "${ac_cv_prog_cc_g+set}" = set; then
   11499   $as_echo_n "(cached) " >&6
   11500 else
   11501   ac_save_c_werror_flag=$ac_c_werror_flag
   11502    ac_c_werror_flag=yes
   11503    ac_cv_prog_cc_g=no
   11504    CFLAGS="-g"
   11505    cat >conftest.$ac_ext <<_ACEOF
   11506 /* confdefs.h.  */
   11507 _ACEOF
   11508 cat confdefs.h >>conftest.$ac_ext
   11509 cat >>conftest.$ac_ext <<_ACEOF
   11510 /* end confdefs.h.  */
   11511 
   11512 int
   11513 main ()
   11514 {
   11515 
   11516   ;
   11517   return 0;
   11518 }
   11519 _ACEOF
   11520 rm -f conftest.$ac_objext
   11521 if { (ac_try="$ac_compile"
   11522 case "(($ac_try" in
   11523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11524   *) ac_try_echo=$ac_try;;
   11525 esac
   11526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11527 $as_echo "$ac_try_echo") >&5
   11528   (eval "$ac_compile") 2>conftest.er1
   11529   ac_status=$?
   11530   grep -v '^ *+' conftest.er1 >conftest.err
   11531   rm -f conftest.er1
   11532   cat conftest.err >&5
   11533   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11534   (exit $ac_status); } && {
   11535 	 test -z "$ac_c_werror_flag" ||
   11536 	 test ! -s conftest.err
   11537        } && test -s conftest.$ac_objext; then
   11538   ac_cv_prog_cc_g=yes
   11539 else
   11540   $as_echo "$as_me: failed program was:" >&5
   11541 sed 's/^/| /' conftest.$ac_ext >&5
   11542 
   11543 	CFLAGS=""
   11544       cat >conftest.$ac_ext <<_ACEOF
   11545 /* confdefs.h.  */
   11546 _ACEOF
   11547 cat confdefs.h >>conftest.$ac_ext
   11548 cat >>conftest.$ac_ext <<_ACEOF
   11549 /* end confdefs.h.  */
   11550 
   11551 int
   11552 main ()
   11553 {
   11554 
   11555   ;
   11556   return 0;
   11557 }
   11558 _ACEOF
   11559 rm -f conftest.$ac_objext
   11560 if { (ac_try="$ac_compile"
   11561 case "(($ac_try" in
   11562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11563   *) ac_try_echo=$ac_try;;
   11564 esac
   11565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11566 $as_echo "$ac_try_echo") >&5
   11567   (eval "$ac_compile") 2>conftest.er1
   11568   ac_status=$?
   11569   grep -v '^ *+' conftest.er1 >conftest.err
   11570   rm -f conftest.er1
   11571   cat conftest.err >&5
   11572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11573   (exit $ac_status); } && {
   11574 	 test -z "$ac_c_werror_flag" ||
   11575 	 test ! -s conftest.err
   11576        } && test -s conftest.$ac_objext; then
   11577   :
   11578 else
   11579   $as_echo "$as_me: failed program was:" >&5
   11580 sed 's/^/| /' conftest.$ac_ext >&5
   11581 
   11582 	ac_c_werror_flag=$ac_save_c_werror_flag
   11583 	 CFLAGS="-g"
   11584 	 cat >conftest.$ac_ext <<_ACEOF
   11585 /* confdefs.h.  */
   11586 _ACEOF
   11587 cat confdefs.h >>conftest.$ac_ext
   11588 cat >>conftest.$ac_ext <<_ACEOF
   11589 /* end confdefs.h.  */
   11590 
   11591 int
   11592 main ()
   11593 {
   11594 
   11595   ;
   11596   return 0;
   11597 }
   11598 _ACEOF
   11599 rm -f conftest.$ac_objext
   11600 if { (ac_try="$ac_compile"
   11601 case "(($ac_try" in
   11602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11603   *) ac_try_echo=$ac_try;;
   11604 esac
   11605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11606 $as_echo "$ac_try_echo") >&5
   11607   (eval "$ac_compile") 2>conftest.er1
   11608   ac_status=$?
   11609   grep -v '^ *+' conftest.er1 >conftest.err
   11610   rm -f conftest.er1
   11611   cat conftest.err >&5
   11612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11613   (exit $ac_status); } && {
   11614 	 test -z "$ac_c_werror_flag" ||
   11615 	 test ! -s conftest.err
   11616        } && test -s conftest.$ac_objext; then
   11617   ac_cv_prog_cc_g=yes
   11618 else
   11619   $as_echo "$as_me: failed program was:" >&5
   11620 sed 's/^/| /' conftest.$ac_ext >&5
   11621 
   11622 
   11623 fi
   11624 
   11625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11626 fi
   11627 
   11628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11629 fi
   11630 
   11631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11632    ac_c_werror_flag=$ac_save_c_werror_flag
   11633 fi
   11634 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   11635 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11636 if test "$ac_test_CFLAGS" = set; then
   11637   CFLAGS=$ac_save_CFLAGS
   11638 elif test $ac_cv_prog_cc_g = yes; then
   11639   if test "$GCC" = yes; then
   11640     CFLAGS="-g -O2"
   11641   else
   11642     CFLAGS="-g"
   11643   fi
   11644 else
   11645   if test "$GCC" = yes; then
   11646     CFLAGS="-O2"
   11647   else
   11648     CFLAGS=
   11649   fi
   11650 fi
   11651 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   11652 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11653 if test "${ac_cv_prog_cc_c89+set}" = set; then
   11654   $as_echo_n "(cached) " >&6
   11655 else
   11656   ac_cv_prog_cc_c89=no
   11657 ac_save_CC=$CC
   11658 cat >conftest.$ac_ext <<_ACEOF
   11659 /* confdefs.h.  */
   11660 _ACEOF
   11661 cat confdefs.h >>conftest.$ac_ext
   11662 cat >>conftest.$ac_ext <<_ACEOF
   11663 /* end confdefs.h.  */
   11664 #include <stdarg.h>
   11665 #include <stdio.h>
   11666 #include <sys/types.h>
   11667 #include <sys/stat.h>
   11668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11669 struct buf { int x; };
   11670 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11671 static char *e (p, i)
   11672      char **p;
   11673      int i;
   11674 {
   11675   return p[i];
   11676 }
   11677 static char *f (char * (*g) (char **, int), char **p, ...)
   11678 {
   11679   char *s;
   11680   va_list v;
   11681   va_start (v,p);
   11682   s = g (p, va_arg (v,int));
   11683   va_end (v);
   11684   return s;
   11685 }
   11686 
   11687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11688    function prototypes and stuff, but not '\xHH' hex character constants.
   11689    These don't provoke an error unfortunately, instead are silently treated
   11690    as 'x'.  The following induces an error, until -std is added to get
   11691    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11692    array size at least.  It's necessary to write '\x00'==0 to get something
   11693    that's true only with -std.  */
   11694 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11695 
   11696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11697    inside strings and character constants.  */
   11698 #define FOO(x) 'x'
   11699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11700 
   11701 int test (int i, double x);
   11702 struct s1 {int (*f) (int a);};
   11703 struct s2 {int (*f) (double a);};
   11704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11705 int argc;
   11706 char **argv;
   11707 int
   11708 main ()
   11709 {
   11710 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11711   ;
   11712   return 0;
   11713 }
   11714 _ACEOF
   11715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11716 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11717 do
   11718   CC="$ac_save_CC $ac_arg"
   11719   rm -f conftest.$ac_objext
   11720 if { (ac_try="$ac_compile"
   11721 case "(($ac_try" in
   11722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11723   *) ac_try_echo=$ac_try;;
   11724 esac
   11725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11726 $as_echo "$ac_try_echo") >&5
   11727   (eval "$ac_compile") 2>conftest.er1
   11728   ac_status=$?
   11729   grep -v '^ *+' conftest.er1 >conftest.err
   11730   rm -f conftest.er1
   11731   cat conftest.err >&5
   11732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11733   (exit $ac_status); } && {
   11734 	 test -z "$ac_c_werror_flag" ||
   11735 	 test ! -s conftest.err
   11736        } && test -s conftest.$ac_objext; then
   11737   ac_cv_prog_cc_c89=$ac_arg
   11738 else
   11739   $as_echo "$as_me: failed program was:" >&5
   11740 sed 's/^/| /' conftest.$ac_ext >&5
   11741 
   11742 
   11743 fi
   11744 
   11745 rm -f core conftest.err conftest.$ac_objext
   11746   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11747 done
   11748 rm -f conftest.$ac_ext
   11749 CC=$ac_save_CC
   11750 
   11751 fi
   11752 # AC_CACHE_VAL
   11753 case "x$ac_cv_prog_cc_c89" in
   11754   x)
   11755     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11756 $as_echo "none needed" >&6; } ;;
   11757   xno)
   11758     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11759 $as_echo "unsupported" >&6; } ;;
   11760   *)
   11761     CC="$CC $ac_cv_prog_cc_c89"
   11762     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   11763 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11764 esac
   11765 
   11766 
   11767 ac_ext=c
   11768 ac_cpp='$CPP $CPPFLAGS'
   11769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11772 
   11773 depcc="$CC"   am_compiler_list=
   11774 
   11775 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   11776 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11777 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   11778   $as_echo_n "(cached) " >&6
   11779 else
   11780   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11781   # We make a subdir and do the tests there.  Otherwise we can end up
   11782   # making bogus files that we don't know about and never remove.  For
   11783   # instance it was reported that on HP-UX the gcc test will end up
   11784   # making a dummy file named `D' -- because `-MD' means `put the output
   11785   # in D'.
   11786   mkdir conftest.dir
   11787   # Copy depcomp to subdir because otherwise we won't find it if we're
   11788   # using a relative directory.
   11789   cp "$am_depcomp" conftest.dir
   11790   cd conftest.dir
   11791   # We will build objects and dependencies in a subdirectory because
   11792   # it helps to detect inapplicable dependency modes.  For instance
   11793   # both Tru64's cc and ICC support -MD to output dependencies as a
   11794   # side effect of compilation, but ICC will put the dependencies in
   11795   # the current directory while Tru64 will put them in the object
   11796   # directory.
   11797   mkdir sub
   11798 
   11799   am_cv_CC_dependencies_compiler_type=none
   11800   if test "$am_compiler_list" = ""; then
   11801      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11802   fi
   11803   for depmode in $am_compiler_list; do
   11804     # Setup a source with many dependencies, because some compilers
   11805     # like to wrap large dependency lists on column 80 (with \), and
   11806     # we should not choose a depcomp mode which is confused by this.
   11807     #
   11808     # We need to recreate these files for each test, as the compiler may
   11809     # overwrite some of them when testing with obscure command lines.
   11810     # This happens at least with the AIX C compiler.
   11811     : > sub/conftest.c
   11812     for i in 1 2 3 4 5 6; do
   11813       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11814       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11815       # Solaris 8's {/usr,}/bin/sh.
   11816       touch sub/conftst$i.h
   11817     done
   11818     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11819 
   11820     case $depmode in
   11821     nosideeffect)
   11822       # after this tag, mechanisms are not by side-effect, so they'll
   11823       # only be used when explicitly requested
   11824       if test "x$enable_dependency_tracking" = xyes; then
   11825 	continue
   11826       else
   11827 	break
   11828       fi
   11829       ;;
   11830     none) break ;;
   11831     esac
   11832     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11833     # mode.  It turns out that the SunPro C++ compiler does not properly
   11834     # handle `-M -o', and we need to detect this.
   11835     if depmode=$depmode \
   11836        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   11837        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11838        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   11839          >/dev/null 2>conftest.err &&
   11840        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11841        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11842        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   11843        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11844       # icc doesn't choke on unknown options, it will just issue warnings
   11845       # or remarks (even with -Werror).  So we grep stderr for any message
   11846       # that says an option was ignored or not supported.
   11847       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11848       #   icc: Command line warning: ignoring option '-M'; no argument required
   11849       # The diagnosis changed in icc 8.0:
   11850       #   icc: Command line remark: option '-MP' not supported
   11851       if (grep 'ignoring option' conftest.err ||
   11852           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11853         am_cv_CC_dependencies_compiler_type=$depmode
   11854         break
   11855       fi
   11856     fi
   11857   done
   11858 
   11859   cd ..
   11860   rm -rf conftest.dir
   11861 else
   11862   am_cv_CC_dependencies_compiler_type=none
   11863 fi
   11864 
   11865 fi
   11866 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   11867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11868 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11869 
   11870  if
   11871   test "x$enable_dependency_tracking" != xno \
   11872   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11873   am__fastdepCC_TRUE=
   11874   am__fastdepCC_FALSE='#'
   11875 else
   11876   am__fastdepCC_TRUE='#'
   11877   am__fastdepCC_FALSE=
   11878 fi
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 # Check whether --with-xorg-module-dir was given.
   11887 if test "${with_xorg_module_dir+set}" = set; then
   11888   withval=$with_xorg_module_dir; moduledir="$withval"
   11889 else
   11890   moduledir="$libdir/xorg/modules"
   11891 fi
   11892 
   11893 
   11894 # Checks for extensions
   11895 
   11896 	SAVE_CFLAGS="$CFLAGS"
   11897 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11898 	cat >conftest.$ac_ext <<_ACEOF
   11899 /* confdefs.h.  */
   11900 _ACEOF
   11901 cat confdefs.h >>conftest.$ac_ext
   11902 cat >>conftest.$ac_ext <<_ACEOF
   11903 /* end confdefs.h.  */
   11904 
   11905 #include "xorg-server.h"
   11906 #if !defined RANDR
   11907 #error RANDR not defined
   11908 #endif
   11909 
   11910 int
   11911 main ()
   11912 {
   11913 
   11914   ;
   11915   return 0;
   11916 }
   11917 _ACEOF
   11918 rm -f conftest.$ac_objext
   11919 if { (ac_try="$ac_compile"
   11920 case "(($ac_try" in
   11921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11922   *) ac_try_echo=$ac_try;;
   11923 esac
   11924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11925 $as_echo "$ac_try_echo") >&5
   11926   (eval "$ac_compile") 2>conftest.er1
   11927   ac_status=$?
   11928   grep -v '^ *+' conftest.er1 >conftest.err
   11929   rm -f conftest.er1
   11930   cat conftest.err >&5
   11931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11932   (exit $ac_status); } && {
   11933 	 test -z "$ac_c_werror_flag" ||
   11934 	 test ! -s conftest.err
   11935        } && test -s conftest.$ac_objext; then
   11936   _EXT_CHECK=yes
   11937 else
   11938   $as_echo "$as_me: failed program was:" >&5
   11939 sed 's/^/| /' conftest.$ac_ext >&5
   11940 
   11941 	_EXT_CHECK=no
   11942 fi
   11943 
   11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11945 	CFLAGS="$SAVE_CFLAGS"
   11946 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   11947 $as_echo_n "checking if RANDR is defined... " >&6; }
   11948 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   11949 $as_echo "$_EXT_CHECK" >&6; }
   11950 	if test "$_EXT_CHECK" != no; then
   11951 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11952 	fi
   11953 
   11954 
   11955 	SAVE_CFLAGS="$CFLAGS"
   11956 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11957 	cat >conftest.$ac_ext <<_ACEOF
   11958 /* confdefs.h.  */
   11959 _ACEOF
   11960 cat confdefs.h >>conftest.$ac_ext
   11961 cat >>conftest.$ac_ext <<_ACEOF
   11962 /* end confdefs.h.  */
   11963 
   11964 #include "xorg-server.h"
   11965 #if !defined RENDER
   11966 #error RENDER not defined
   11967 #endif
   11968 
   11969 int
   11970 main ()
   11971 {
   11972 
   11973   ;
   11974   return 0;
   11975 }
   11976 _ACEOF
   11977 rm -f conftest.$ac_objext
   11978 if { (ac_try="$ac_compile"
   11979 case "(($ac_try" in
   11980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11981   *) ac_try_echo=$ac_try;;
   11982 esac
   11983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11984 $as_echo "$ac_try_echo") >&5
   11985   (eval "$ac_compile") 2>conftest.er1
   11986   ac_status=$?
   11987   grep -v '^ *+' conftest.er1 >conftest.err
   11988   rm -f conftest.er1
   11989   cat conftest.err >&5
   11990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11991   (exit $ac_status); } && {
   11992 	 test -z "$ac_c_werror_flag" ||
   11993 	 test ! -s conftest.err
   11994        } && test -s conftest.$ac_objext; then
   11995   _EXT_CHECK=yes
   11996 else
   11997   $as_echo "$as_me: failed program was:" >&5
   11998 sed 's/^/| /' conftest.$ac_ext >&5
   11999 
   12000 	_EXT_CHECK=no
   12001 fi
   12002 
   12003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12004 	CFLAGS="$SAVE_CFLAGS"
   12005 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   12006 $as_echo_n "checking if RENDER is defined... " >&6; }
   12007 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12008 $as_echo "$_EXT_CHECK" >&6; }
   12009 	if test "$_EXT_CHECK" != no; then
   12010 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   12011 	fi
   12012 
   12013 
   12014 	SAVE_CFLAGS="$CFLAGS"
   12015 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12016 	cat >conftest.$ac_ext <<_ACEOF
   12017 /* confdefs.h.  */
   12018 _ACEOF
   12019 cat confdefs.h >>conftest.$ac_ext
   12020 cat >>conftest.$ac_ext <<_ACEOF
   12021 /* end confdefs.h.  */
   12022 
   12023 #include "xorg-server.h"
   12024 #if !defined XV
   12025 #error XV not defined
   12026 #endif
   12027 
   12028 int
   12029 main ()
   12030 {
   12031 
   12032   ;
   12033   return 0;
   12034 }
   12035 _ACEOF
   12036 rm -f conftest.$ac_objext
   12037 if { (ac_try="$ac_compile"
   12038 case "(($ac_try" in
   12039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12040   *) ac_try_echo=$ac_try;;
   12041 esac
   12042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12043 $as_echo "$ac_try_echo") >&5
   12044   (eval "$ac_compile") 2>conftest.er1
   12045   ac_status=$?
   12046   grep -v '^ *+' conftest.er1 >conftest.err
   12047   rm -f conftest.er1
   12048   cat conftest.err >&5
   12049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12050   (exit $ac_status); } && {
   12051 	 test -z "$ac_c_werror_flag" ||
   12052 	 test ! -s conftest.err
   12053        } && test -s conftest.$ac_objext; then
   12054   _EXT_CHECK=yes
   12055 else
   12056   $as_echo "$as_me: failed program was:" >&5
   12057 sed 's/^/| /' conftest.$ac_ext >&5
   12058 
   12059 	_EXT_CHECK=no
   12060 fi
   12061 
   12062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12063 	CFLAGS="$SAVE_CFLAGS"
   12064 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   12065 $as_echo_n "checking if XV is defined... " >&6; }
   12066 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12067 $as_echo "$_EXT_CHECK" >&6; }
   12068 	if test "$_EXT_CHECK" != no; then
   12069 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   12070 	fi
   12071 
   12072 
   12073 	SAVE_CFLAGS="$CFLAGS"
   12074 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12075 	cat >conftest.$ac_ext <<_ACEOF
   12076 /* confdefs.h.  */
   12077 _ACEOF
   12078 cat confdefs.h >>conftest.$ac_ext
   12079 cat >>conftest.$ac_ext <<_ACEOF
   12080 /* end confdefs.h.  */
   12081 
   12082 #include "xorg-server.h"
   12083 #if !defined DPMSExtension
   12084 #error DPMSExtension not defined
   12085 #endif
   12086 
   12087 int
   12088 main ()
   12089 {
   12090 
   12091   ;
   12092   return 0;
   12093 }
   12094 _ACEOF
   12095 rm -f conftest.$ac_objext
   12096 if { (ac_try="$ac_compile"
   12097 case "(($ac_try" in
   12098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12099   *) ac_try_echo=$ac_try;;
   12100 esac
   12101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12102 $as_echo "$ac_try_echo") >&5
   12103   (eval "$ac_compile") 2>conftest.er1
   12104   ac_status=$?
   12105   grep -v '^ *+' conftest.er1 >conftest.err
   12106   rm -f conftest.er1
   12107   cat conftest.err >&5
   12108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12109   (exit $ac_status); } && {
   12110 	 test -z "$ac_c_werror_flag" ||
   12111 	 test ! -s conftest.err
   12112        } && test -s conftest.$ac_objext; then
   12113   _EXT_CHECK=yes
   12114 else
   12115   $as_echo "$as_me: failed program was:" >&5
   12116 sed 's/^/| /' conftest.$ac_ext >&5
   12117 
   12118 	_EXT_CHECK=no
   12119 fi
   12120 
   12121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12122 	CFLAGS="$SAVE_CFLAGS"
   12123 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12124 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   12125 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12126 $as_echo "$_EXT_CHECK" >&6; }
   12127 	if test "$_EXT_CHECK" != no; then
   12128 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12129 	fi
   12130 
   12131 
   12132 # Checks for pkg-config packages
   12133 
   12134 
   12135 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12136 	if test -n "$ac_tool_prefix"; then
   12137   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12138 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12140 $as_echo_n "checking for $ac_word... " >&6; }
   12141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   12142   $as_echo_n "(cached) " >&6
   12143 else
   12144   case $PKG_CONFIG in
   12145   [\\/]* | ?:[\\/]*)
   12146   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12147   ;;
   12148   *)
   12149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12150 for as_dir in $PATH
   12151 do
   12152   IFS=$as_save_IFS
   12153   test -z "$as_dir" && as_dir=.
   12154   for ac_exec_ext in '' $ac_executable_extensions; do
   12155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12156     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12157     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12158     break 2
   12159   fi
   12160 done
   12161 done
   12162 IFS=$as_save_IFS
   12163 
   12164   ;;
   12165 esac
   12166 fi
   12167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12168 if test -n "$PKG_CONFIG"; then
   12169   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   12170 $as_echo "$PKG_CONFIG" >&6; }
   12171 else
   12172   { $as_echo "$as_me:$LINENO: result: no" >&5
   12173 $as_echo "no" >&6; }
   12174 fi
   12175 
   12176 
   12177 fi
   12178 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12179   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12180   # Extract the first word of "pkg-config", so it can be a program name with args.
   12181 set dummy pkg-config; ac_word=$2
   12182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12183 $as_echo_n "checking for $ac_word... " >&6; }
   12184 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   12185   $as_echo_n "(cached) " >&6
   12186 else
   12187   case $ac_pt_PKG_CONFIG in
   12188   [\\/]* | ?:[\\/]*)
   12189   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12190   ;;
   12191   *)
   12192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12193 for as_dir in $PATH
   12194 do
   12195   IFS=$as_save_IFS
   12196   test -z "$as_dir" && as_dir=.
   12197   for ac_exec_ext in '' $ac_executable_extensions; do
   12198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12199     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12200     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12201     break 2
   12202   fi
   12203 done
   12204 done
   12205 IFS=$as_save_IFS
   12206 
   12207   ;;
   12208 esac
   12209 fi
   12210 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12211 if test -n "$ac_pt_PKG_CONFIG"; then
   12212   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   12213 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12214 else
   12215   { $as_echo "$as_me:$LINENO: result: no" >&5
   12216 $as_echo "no" >&6; }
   12217 fi
   12218 
   12219   if test "x$ac_pt_PKG_CONFIG" = x; then
   12220     PKG_CONFIG=""
   12221   else
   12222     case $cross_compiling:$ac_tool_warned in
   12223 yes:)
   12224 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12226 ac_tool_warned=yes ;;
   12227 esac
   12228     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12229   fi
   12230 else
   12231   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12232 fi
   12233 
   12234 fi
   12235 if test -n "$PKG_CONFIG"; then
   12236 	_pkg_min_version=0.9.0
   12237 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   12238 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12239 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12240 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12241 $as_echo "yes" >&6; }
   12242 	else
   12243 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   12244 $as_echo "no" >&6; }
   12245 		PKG_CONFIG=""
   12246 	fi
   12247 
   12248 fi
   12249 
   12250 pkg_failed=no
   12251 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12252 $as_echo_n "checking for XORG... " >&6; }
   12253 
   12254 if test -n "$XORG_CFLAGS"; then
   12255     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12256  elif test -n "$PKG_CONFIG"; then
   12257     if test -n "$PKG_CONFIG" && \
   12258     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12259   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   12260   ac_status=$?
   12261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12262   (exit $ac_status); }; then
   12263   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12264 else
   12265   pkg_failed=yes
   12266 fi
   12267  else
   12268     pkg_failed=untried
   12269 fi
   12270 if test -n "$XORG_LIBS"; then
   12271     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12272  elif test -n "$PKG_CONFIG"; then
   12273     if test -n "$PKG_CONFIG" && \
   12274     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12275   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   12276   ac_status=$?
   12277   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12278   (exit $ac_status); }; then
   12279   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12280 else
   12281   pkg_failed=yes
   12282 fi
   12283  else
   12284     pkg_failed=untried
   12285 fi
   12286 
   12287 
   12288 
   12289 if test $pkg_failed = yes; then
   12290 
   12291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12292         _pkg_short_errors_supported=yes
   12293 else
   12294         _pkg_short_errors_supported=no
   12295 fi
   12296         if test $_pkg_short_errors_supported = yes; then
   12297 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12298         else
   12299 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12300         fi
   12301 	# Put the nasty error message in config.log where it belongs
   12302 	echo "$XORG_PKG_ERRORS" >&5
   12303 
   12304 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   12305 
   12306 $XORG_PKG_ERRORS
   12307 
   12308 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12309 installed software in a non-standard prefix.
   12310 
   12311 Alternatively, you may set the environment variables XORG_CFLAGS
   12312 and XORG_LIBS to avoid the need to call pkg-config.
   12313 See the pkg-config man page for more details.
   12314 " >&5
   12315 $as_echo "$as_me: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   12316 
   12317 $XORG_PKG_ERRORS
   12318 
   12319 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12320 installed software in a non-standard prefix.
   12321 
   12322 Alternatively, you may set the environment variables XORG_CFLAGS
   12323 and XORG_LIBS to avoid the need to call pkg-config.
   12324 See the pkg-config man page for more details.
   12325 " >&2;}
   12326    { (exit 1); exit 1; }; }
   12327 elif test $pkg_failed = untried; then
   12328 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12330 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12331 is in your PATH or set the PKG_CONFIG environment variable to the full
   12332 path to pkg-config.
   12333 
   12334 Alternatively, you may set the environment variables XORG_CFLAGS
   12335 and XORG_LIBS to avoid the need to call pkg-config.
   12336 See the pkg-config man page for more details.
   12337 
   12338 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12339 See \`config.log' for more details." >&5
   12340 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12341 is in your PATH or set the PKG_CONFIG environment variable to the full
   12342 path to pkg-config.
   12343 
   12344 Alternatively, you may set the environment variables XORG_CFLAGS
   12345 and XORG_LIBS to avoid the need to call pkg-config.
   12346 See the pkg-config man page for more details.
   12347 
   12348 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12349 See \`config.log' for more details." >&2;}
   12350    { (exit 1); exit 1; }; }; }
   12351 else
   12352 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12353 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12354         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12355 $as_echo "yes" >&6; }
   12356 	:
   12357 fi
   12358 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   12359 
   12360 # Checks for libraries.
   12361 SAVE_CPPFLAGS="$CPPFLAGS"
   12362 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   12363 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   12364 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   12365 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   cat >conftest.$ac_ext <<_ACEOF
   12369 /* confdefs.h.  */
   12370 _ACEOF
   12371 cat confdefs.h >>conftest.$ac_ext
   12372 cat >>conftest.$ac_ext <<_ACEOF
   12373 /* end confdefs.h.  */
   12374 #include "xorg-server.h"
   12375 
   12376 int
   12377 main ()
   12378 {
   12379 #ifndef XSERVER_LIBPCIACCESS
   12380   (void) XSERVER_LIBPCIACCESS;
   12381 #endif
   12382 
   12383   ;
   12384   return 0;
   12385 }
   12386 _ACEOF
   12387 rm -f conftest.$ac_objext
   12388 if { (ac_try="$ac_compile"
   12389 case "(($ac_try" in
   12390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12391   *) ac_try_echo=$ac_try;;
   12392 esac
   12393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12394 $as_echo "$ac_try_echo") >&5
   12395   (eval "$ac_compile") 2>conftest.er1
   12396   ac_status=$?
   12397   grep -v '^ *+' conftest.er1 >conftest.err
   12398   rm -f conftest.er1
   12399   cat conftest.err >&5
   12400   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12401   (exit $ac_status); } && {
   12402 	 test -z "$ac_c_werror_flag" ||
   12403 	 test ! -s conftest.err
   12404        } && test -s conftest.$ac_objext; then
   12405   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   12406 else
   12407   $as_echo "$as_me: failed program was:" >&5
   12408 sed 's/^/| /' conftest.$ac_ext >&5
   12409 
   12410 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   12411 fi
   12412 
   12413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12414 fi
   12415 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   12416 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   12417 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   12418   XSERVER_LIBPCIACCESS=yes
   12419 else
   12420   XSERVER_LIBPCIACCESS=no
   12421 fi
   12422 
   12423 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12424   { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   12425 $as_echo_n "checking for xf1bpp.h... " >&6; }
   12426 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12427   $as_echo_n "(cached) " >&6
   12428 fi
   12429 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   12430 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   12431 else
   12432   # Is the header compilable?
   12433 { $as_echo "$as_me:$LINENO: checking xf1bpp.h usability" >&5
   12434 $as_echo_n "checking xf1bpp.h usability... " >&6; }
   12435 cat >conftest.$ac_ext <<_ACEOF
   12436 /* confdefs.h.  */
   12437 _ACEOF
   12438 cat confdefs.h >>conftest.$ac_ext
   12439 cat >>conftest.$ac_ext <<_ACEOF
   12440 /* end confdefs.h.  */
   12441 $ac_includes_default
   12442 #include <xf1bpp.h>
   12443 _ACEOF
   12444 rm -f conftest.$ac_objext
   12445 if { (ac_try="$ac_compile"
   12446 case "(($ac_try" in
   12447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12448   *) ac_try_echo=$ac_try;;
   12449 esac
   12450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12451 $as_echo "$ac_try_echo") >&5
   12452   (eval "$ac_compile") 2>conftest.er1
   12453   ac_status=$?
   12454   grep -v '^ *+' conftest.er1 >conftest.err
   12455   rm -f conftest.er1
   12456   cat conftest.err >&5
   12457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12458   (exit $ac_status); } && {
   12459 	 test -z "$ac_c_werror_flag" ||
   12460 	 test ! -s conftest.err
   12461        } && test -s conftest.$ac_objext; then
   12462   ac_header_compiler=yes
   12463 else
   12464   $as_echo "$as_me: failed program was:" >&5
   12465 sed 's/^/| /' conftest.$ac_ext >&5
   12466 
   12467 	ac_header_compiler=no
   12468 fi
   12469 
   12470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12471 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   12472 $as_echo "$ac_header_compiler" >&6; }
   12473 
   12474 # Is the header present?
   12475 { $as_echo "$as_me:$LINENO: checking xf1bpp.h presence" >&5
   12476 $as_echo_n "checking xf1bpp.h presence... " >&6; }
   12477 cat >conftest.$ac_ext <<_ACEOF
   12478 /* confdefs.h.  */
   12479 _ACEOF
   12480 cat confdefs.h >>conftest.$ac_ext
   12481 cat >>conftest.$ac_ext <<_ACEOF
   12482 /* end confdefs.h.  */
   12483 #include <xf1bpp.h>
   12484 _ACEOF
   12485 if { (ac_try="$ac_cpp conftest.$ac_ext"
   12486 case "(($ac_try" in
   12487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12488   *) ac_try_echo=$ac_try;;
   12489 esac
   12490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12491 $as_echo "$ac_try_echo") >&5
   12492   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   12493   ac_status=$?
   12494   grep -v '^ *+' conftest.er1 >conftest.err
   12495   rm -f conftest.er1
   12496   cat conftest.err >&5
   12497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12498   (exit $ac_status); } >/dev/null && {
   12499 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   12500 	 test ! -s conftest.err
   12501        }; then
   12502   ac_header_preproc=yes
   12503 else
   12504   $as_echo "$as_me: failed program was:" >&5
   12505 sed 's/^/| /' conftest.$ac_ext >&5
   12506 
   12507   ac_header_preproc=no
   12508 fi
   12509 
   12510 rm -f conftest.err conftest.$ac_ext
   12511 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   12512 $as_echo "$ac_header_preproc" >&6; }
   12513 
   12514 # So?  What about this header?
   12515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   12516   yes:no: )
   12517     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   12518 $as_echo "$as_me: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   12519     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the compiler's result" >&5
   12520 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the compiler's result" >&2;}
   12521     ac_header_preproc=yes
   12522     ;;
   12523   no:yes:* )
   12524     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: present but cannot be compiled" >&5
   12525 $as_echo "$as_me: WARNING: xf1bpp.h: present but cannot be compiled" >&2;}
   12526     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&5
   12527 $as_echo "$as_me: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&2;}
   12528     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: see the Autoconf documentation" >&5
   12529 $as_echo "$as_me: WARNING: xf1bpp.h: see the Autoconf documentation" >&2;}
   12530     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   12531 $as_echo "$as_me: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   12532     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&5
   12533 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&2;}
   12534     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&5
   12535 $as_echo "$as_me: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&2;}
   12536     ( cat <<\_ASBOX
   12537 ## ---------------------------------------------------------------------- ##
   12538 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   12539 ## ---------------------------------------------------------------------- ##
   12540 _ASBOX
   12541      ) | sed "s/^/$as_me: WARNING:     /" >&2
   12542     ;;
   12543 esac
   12544 { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   12545 $as_echo_n "checking for xf1bpp.h... " >&6; }
   12546 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12547   $as_echo_n "(cached) " >&6
   12548 else
   12549   ac_cv_header_xf1bpp_h=$ac_header_preproc
   12550 fi
   12551 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   12552 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   12553 
   12554 fi
   12555 if test "x$ac_cv_header_xf1bpp_h" = x""yes; then
   12556 
   12557 cat >>confdefs.h <<\_ACEOF
   12558 #define HAVE_XF1BPP 1
   12559 _ACEOF
   12560 
   12561 fi
   12562 
   12563 
   12564 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12565   { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   12566 $as_echo_n "checking for xf4bpp.h... " >&6; }
   12567 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12568   $as_echo_n "(cached) " >&6
   12569 fi
   12570 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   12571 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   12572 else
   12573   # Is the header compilable?
   12574 { $as_echo "$as_me:$LINENO: checking xf4bpp.h usability" >&5
   12575 $as_echo_n "checking xf4bpp.h usability... " >&6; }
   12576 cat >conftest.$ac_ext <<_ACEOF
   12577 /* confdefs.h.  */
   12578 _ACEOF
   12579 cat confdefs.h >>conftest.$ac_ext
   12580 cat >>conftest.$ac_ext <<_ACEOF
   12581 /* end confdefs.h.  */
   12582 $ac_includes_default
   12583 #include <xf4bpp.h>
   12584 _ACEOF
   12585 rm -f conftest.$ac_objext
   12586 if { (ac_try="$ac_compile"
   12587 case "(($ac_try" in
   12588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12589   *) ac_try_echo=$ac_try;;
   12590 esac
   12591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12592 $as_echo "$ac_try_echo") >&5
   12593   (eval "$ac_compile") 2>conftest.er1
   12594   ac_status=$?
   12595   grep -v '^ *+' conftest.er1 >conftest.err
   12596   rm -f conftest.er1
   12597   cat conftest.err >&5
   12598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12599   (exit $ac_status); } && {
   12600 	 test -z "$ac_c_werror_flag" ||
   12601 	 test ! -s conftest.err
   12602        } && test -s conftest.$ac_objext; then
   12603   ac_header_compiler=yes
   12604 else
   12605   $as_echo "$as_me: failed program was:" >&5
   12606 sed 's/^/| /' conftest.$ac_ext >&5
   12607 
   12608 	ac_header_compiler=no
   12609 fi
   12610 
   12611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12612 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   12613 $as_echo "$ac_header_compiler" >&6; }
   12614 
   12615 # Is the header present?
   12616 { $as_echo "$as_me:$LINENO: checking xf4bpp.h presence" >&5
   12617 $as_echo_n "checking xf4bpp.h presence... " >&6; }
   12618 cat >conftest.$ac_ext <<_ACEOF
   12619 /* confdefs.h.  */
   12620 _ACEOF
   12621 cat confdefs.h >>conftest.$ac_ext
   12622 cat >>conftest.$ac_ext <<_ACEOF
   12623 /* end confdefs.h.  */
   12624 #include <xf4bpp.h>
   12625 _ACEOF
   12626 if { (ac_try="$ac_cpp conftest.$ac_ext"
   12627 case "(($ac_try" in
   12628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12629   *) ac_try_echo=$ac_try;;
   12630 esac
   12631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12632 $as_echo "$ac_try_echo") >&5
   12633   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   12634   ac_status=$?
   12635   grep -v '^ *+' conftest.er1 >conftest.err
   12636   rm -f conftest.er1
   12637   cat conftest.err >&5
   12638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12639   (exit $ac_status); } >/dev/null && {
   12640 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   12641 	 test ! -s conftest.err
   12642        }; then
   12643   ac_header_preproc=yes
   12644 else
   12645   $as_echo "$as_me: failed program was:" >&5
   12646 sed 's/^/| /' conftest.$ac_ext >&5
   12647 
   12648   ac_header_preproc=no
   12649 fi
   12650 
   12651 rm -f conftest.err conftest.$ac_ext
   12652 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   12653 $as_echo "$ac_header_preproc" >&6; }
   12654 
   12655 # So?  What about this header?
   12656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   12657   yes:no: )
   12658     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   12659 $as_echo "$as_me: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   12660     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the compiler's result" >&5
   12661 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the compiler's result" >&2;}
   12662     ac_header_preproc=yes
   12663     ;;
   12664   no:yes:* )
   12665     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: present but cannot be compiled" >&5
   12666 $as_echo "$as_me: WARNING: xf4bpp.h: present but cannot be compiled" >&2;}
   12667     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&5
   12668 $as_echo "$as_me: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&2;}
   12669     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: see the Autoconf documentation" >&5
   12670 $as_echo "$as_me: WARNING: xf4bpp.h: see the Autoconf documentation" >&2;}
   12671     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   12672 $as_echo "$as_me: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   12673     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&5
   12674 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&2;}
   12675     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&5
   12676 $as_echo "$as_me: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&2;}
   12677     ( cat <<\_ASBOX
   12678 ## ---------------------------------------------------------------------- ##
   12679 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   12680 ## ---------------------------------------------------------------------- ##
   12681 _ASBOX
   12682      ) | sed "s/^/$as_me: WARNING:     /" >&2
   12683     ;;
   12684 esac
   12685 { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   12686 $as_echo_n "checking for xf4bpp.h... " >&6; }
   12687 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12688   $as_echo_n "(cached) " >&6
   12689 else
   12690   ac_cv_header_xf4bpp_h=$ac_header_preproc
   12691 fi
   12692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   12693 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   12694 
   12695 fi
   12696 if test "x$ac_cv_header_xf4bpp_h" = x""yes; then
   12697 
   12698 cat >>confdefs.h <<\_ACEOF
   12699 #define HAVE_XF4BPP 1
   12700 _ACEOF
   12701 
   12702 fi
   12703 
   12704 
   12705 CPPFLAGS="$SAVE_CPPFLAGS"
   12706 
   12707 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12708 
   12709 pkg_failed=no
   12710 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   12711 $as_echo_n "checking for PCIACCESS... " >&6; }
   12712 
   12713 if test -n "$PCIACCESS_CFLAGS"; then
   12714     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12715  elif test -n "$PKG_CONFIG"; then
   12716     if test -n "$PKG_CONFIG" && \
   12717     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12718   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12719   ac_status=$?
   12720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12721   (exit $ac_status); }; then
   12722   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   12723 else
   12724   pkg_failed=yes
   12725 fi
   12726  else
   12727     pkg_failed=untried
   12728 fi
   12729 if test -n "$PCIACCESS_LIBS"; then
   12730     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12731  elif test -n "$PKG_CONFIG"; then
   12732     if test -n "$PKG_CONFIG" && \
   12733     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12734   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12735   ac_status=$?
   12736   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12737   (exit $ac_status); }; then
   12738   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   12739 else
   12740   pkg_failed=yes
   12741 fi
   12742  else
   12743     pkg_failed=untried
   12744 fi
   12745 
   12746 
   12747 
   12748 if test $pkg_failed = yes; then
   12749 
   12750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12751         _pkg_short_errors_supported=yes
   12752 else
   12753         _pkg_short_errors_supported=no
   12754 fi
   12755         if test $_pkg_short_errors_supported = yes; then
   12756 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   12757         else
   12758 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   12759         fi
   12760 	# Put the nasty error message in config.log where it belongs
   12761 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12762 
   12763 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12764 
   12765 $PCIACCESS_PKG_ERRORS
   12766 
   12767 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12768 installed software in a non-standard prefix.
   12769 
   12770 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12771 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12772 See the pkg-config man page for more details.
   12773 " >&5
   12774 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12775 
   12776 $PCIACCESS_PKG_ERRORS
   12777 
   12778 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12779 installed software in a non-standard prefix.
   12780 
   12781 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12782 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12783 See the pkg-config man page for more details.
   12784 " >&2;}
   12785    { (exit 1); exit 1; }; }
   12786 elif test $pkg_failed = untried; then
   12787 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12789 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12790 is in your PATH or set the PKG_CONFIG environment variable to the full
   12791 path to pkg-config.
   12792 
   12793 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12794 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12795 See the pkg-config man page for more details.
   12796 
   12797 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12798 See \`config.log' for more details." >&5
   12799 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12800 is in your PATH or set the PKG_CONFIG environment variable to the full
   12801 path to pkg-config.
   12802 
   12803 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12804 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12805 See the pkg-config man page for more details.
   12806 
   12807 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12808 See \`config.log' for more details." >&2;}
   12809    { (exit 1); exit 1; }; }; }
   12810 else
   12811 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12812 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12813         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12814 $as_echo "yes" >&6; }
   12815 	:
   12816 fi
   12817     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   12818 fi
   12819  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12820   XSERVER_LIBPCIACCESS_TRUE=
   12821   XSERVER_LIBPCIACCESS_FALSE='#'
   12822 else
   12823   XSERVER_LIBPCIACCESS_TRUE='#'
   12824   XSERVER_LIBPCIACCESS_FALSE=
   12825 fi
   12826 
   12827 
   12828 # Required by exa.h
   12829 
   12830 cat >>confdefs.h <<\_ACEOF
   12831 #define EXA_DRIVER_KNOWN_MAJOR 3
   12832 _ACEOF
   12833 
   12834 
   12835 # Checks for header files.
   12836 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   12837 $as_echo_n "checking for ANSI C header files... " >&6; }
   12838 if test "${ac_cv_header_stdc+set}" = set; then
   12839   $as_echo_n "(cached) " >&6
   12840 else
   12841   cat >conftest.$ac_ext <<_ACEOF
   12842 /* confdefs.h.  */
   12843 _ACEOF
   12844 cat confdefs.h >>conftest.$ac_ext
   12845 cat >>conftest.$ac_ext <<_ACEOF
   12846 /* end confdefs.h.  */
   12847 #include <stdlib.h>
   12848 #include <stdarg.h>
   12849 #include <string.h>
   12850 #include <float.h>
   12851 
   12852 int
   12853 main ()
   12854 {
   12855 
   12856   ;
   12857   return 0;
   12858 }
   12859 _ACEOF
   12860 rm -f conftest.$ac_objext
   12861 if { (ac_try="$ac_compile"
   12862 case "(($ac_try" in
   12863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12864   *) ac_try_echo=$ac_try;;
   12865 esac
   12866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12867 $as_echo "$ac_try_echo") >&5
   12868   (eval "$ac_compile") 2>conftest.er1
   12869   ac_status=$?
   12870   grep -v '^ *+' conftest.er1 >conftest.err
   12871   rm -f conftest.er1
   12872   cat conftest.err >&5
   12873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12874   (exit $ac_status); } && {
   12875 	 test -z "$ac_c_werror_flag" ||
   12876 	 test ! -s conftest.err
   12877        } && test -s conftest.$ac_objext; then
   12878   ac_cv_header_stdc=yes
   12879 else
   12880   $as_echo "$as_me: failed program was:" >&5
   12881 sed 's/^/| /' conftest.$ac_ext >&5
   12882 
   12883 	ac_cv_header_stdc=no
   12884 fi
   12885 
   12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12887 
   12888 if test $ac_cv_header_stdc = yes; then
   12889   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12890   cat >conftest.$ac_ext <<_ACEOF
   12891 /* confdefs.h.  */
   12892 _ACEOF
   12893 cat confdefs.h >>conftest.$ac_ext
   12894 cat >>conftest.$ac_ext <<_ACEOF
   12895 /* end confdefs.h.  */
   12896 #include <string.h>
   12897 
   12898 _ACEOF
   12899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12900   $EGREP "memchr" >/dev/null 2>&1; then
   12901   :
   12902 else
   12903   ac_cv_header_stdc=no
   12904 fi
   12905 rm -f conftest*
   12906 
   12907 fi
   12908 
   12909 if test $ac_cv_header_stdc = yes; then
   12910   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12911   cat >conftest.$ac_ext <<_ACEOF
   12912 /* confdefs.h.  */
   12913 _ACEOF
   12914 cat confdefs.h >>conftest.$ac_ext
   12915 cat >>conftest.$ac_ext <<_ACEOF
   12916 /* end confdefs.h.  */
   12917 #include <stdlib.h>
   12918 
   12919 _ACEOF
   12920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12921   $EGREP "free" >/dev/null 2>&1; then
   12922   :
   12923 else
   12924   ac_cv_header_stdc=no
   12925 fi
   12926 rm -f conftest*
   12927 
   12928 fi
   12929 
   12930 if test $ac_cv_header_stdc = yes; then
   12931   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12932   if test "$cross_compiling" = yes; then
   12933   :
   12934 else
   12935   cat >conftest.$ac_ext <<_ACEOF
   12936 /* confdefs.h.  */
   12937 _ACEOF
   12938 cat confdefs.h >>conftest.$ac_ext
   12939 cat >>conftest.$ac_ext <<_ACEOF
   12940 /* end confdefs.h.  */
   12941 #include <ctype.h>
   12942 #include <stdlib.h>
   12943 #if ((' ' & 0x0FF) == 0x020)
   12944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12946 #else
   12947 # define ISLOWER(c) \
   12948 		   (('a' <= (c) && (c) <= 'i') \
   12949 		     || ('j' <= (c) && (c) <= 'r') \
   12950 		     || ('s' <= (c) && (c) <= 'z'))
   12951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12952 #endif
   12953 
   12954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12955 int
   12956 main ()
   12957 {
   12958   int i;
   12959   for (i = 0; i < 256; i++)
   12960     if (XOR (islower (i), ISLOWER (i))
   12961 	|| toupper (i) != TOUPPER (i))
   12962       return 2;
   12963   return 0;
   12964 }
   12965 _ACEOF
   12966 rm -f conftest$ac_exeext
   12967 if { (ac_try="$ac_link"
   12968 case "(($ac_try" in
   12969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12970   *) ac_try_echo=$ac_try;;
   12971 esac
   12972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12973 $as_echo "$ac_try_echo") >&5
   12974   (eval "$ac_link") 2>&5
   12975   ac_status=$?
   12976   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12977   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   12978   { (case "(($ac_try" in
   12979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12980   *) ac_try_echo=$ac_try;;
   12981 esac
   12982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12983 $as_echo "$ac_try_echo") >&5
   12984   (eval "$ac_try") 2>&5
   12985   ac_status=$?
   12986   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12987   (exit $ac_status); }; }; then
   12988   :
   12989 else
   12990   $as_echo "$as_me: program exited with status $ac_status" >&5
   12991 $as_echo "$as_me: failed program was:" >&5
   12992 sed 's/^/| /' conftest.$ac_ext >&5
   12993 
   12994 ( exit $ac_status )
   12995 ac_cv_header_stdc=no
   12996 fi
   12997 rm -rf conftest.dSYM
   12998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   12999 fi
   13000 
   13001 
   13002 fi
   13003 fi
   13004 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13005 $as_echo "$ac_cv_header_stdc" >&6; }
   13006 if test $ac_cv_header_stdc = yes; then
   13007 
   13008 cat >>confdefs.h <<\_ACEOF
   13009 #define STDC_HEADERS 1
   13010 _ACEOF
   13011 
   13012 fi
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 DRIVER_NAME=i128
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 if test x$APP_MAN_SUFFIX = x    ; then
   13025     APP_MAN_SUFFIX=1
   13026 fi
   13027 if test x$APP_MAN_DIR = x    ; then
   13028     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   13029 fi
   13030 
   13031 if test x$LIB_MAN_SUFFIX = x    ; then
   13032     LIB_MAN_SUFFIX=3
   13033 fi
   13034 if test x$LIB_MAN_DIR = x    ; then
   13035     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   13036 fi
   13037 
   13038 if test x$FILE_MAN_SUFFIX = x    ; then
   13039     case $host_os in
   13040 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   13041 	*)		FILE_MAN_SUFFIX=5  ;;
   13042     esac
   13043 fi
   13044 if test x$FILE_MAN_DIR = x    ; then
   13045     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   13046 fi
   13047 
   13048 if test x$MISC_MAN_SUFFIX = x    ; then
   13049     case $host_os in
   13050 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   13051 	*)		MISC_MAN_SUFFIX=7  ;;
   13052     esac
   13053 fi
   13054 if test x$MISC_MAN_DIR = x    ; then
   13055     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   13056 fi
   13057 
   13058 if test x$DRIVER_MAN_SUFFIX = x    ; then
   13059     case $host_os in
   13060 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   13061 	*)		DRIVER_MAN_SUFFIX=4  ;;
   13062     esac
   13063 fi
   13064 if test x$DRIVER_MAN_DIR = x    ; then
   13065     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   13066 fi
   13067 
   13068 if test x$ADMIN_MAN_SUFFIX = x    ; then
   13069     case $host_os in
   13070 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   13071 	*)		ADMIN_MAN_SUFFIX=8  ;;
   13072     esac
   13073 fi
   13074 if test x$ADMIN_MAN_DIR = x    ; then
   13075     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   13076 fi
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 
   13094 # Check whether --with-release-version was given.
   13095 if test "${with_release_version+set}" = set; then
   13096   withval=$with_release_version; RELEASE_VERSION="$withval"
   13097 else
   13098   RELEASE_VERSION=""
   13099 fi
   13100 
   13101 	if test "x$RELEASE_VERSION" != "x"; then
   13102 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   13103 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   13104 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   13105 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   13106 	fi
   13107 
   13108 cat >>confdefs.h <<_ACEOF
   13109 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   13110 _ACEOF
   13111 
   13112 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   13113 	if test "x$PVM" = "x"; then
   13114 		PVM="0"
   13115 	fi
   13116 
   13117 cat >>confdefs.h <<_ACEOF
   13118 #define PACKAGE_VERSION_MINOR $PVM
   13119 _ACEOF
   13120 
   13121 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   13122 	if test "x$PVP" = "x"; then
   13123 		PVP="0"
   13124 	fi
   13125 
   13126 cat >>confdefs.h <<_ACEOF
   13127 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   13128 _ACEOF
   13129 
   13130 
   13131 
   13132 
   13133 if test x$XORG_SGML_PATH = x ; then
   13134     XORG_SGML_PATH=$prefix/share/sgml
   13135 fi
   13136 HAVE_DEFS_ENT=
   13137 
   13138 if test x"$cross_compiling" = x"yes" ; then
   13139   HAVE_DEFS_ENT=no
   13140 else
   13141   as_ac_File=`$as_echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   13142 { $as_echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   13143 $as_echo_n "checking for $XORG_SGML_PATH/X11/defs.ent... " >&6; }
   13144 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   13145   $as_echo_n "(cached) " >&6
   13146 else
   13147   test "$cross_compiling" = yes &&
   13148   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   13149 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   13150    { (exit 1); exit 1; }; }
   13151 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   13152   eval "$as_ac_File=yes"
   13153 else
   13154   eval "$as_ac_File=no"
   13155 fi
   13156 fi
   13157 ac_res=`eval 'as_val=${'$as_ac_File'}
   13158 		 $as_echo "$as_val"'`
   13159 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13160 $as_echo "$ac_res" >&6; }
   13161 as_val=`eval 'as_val=${'$as_ac_File'}
   13162 		 $as_echo "$as_val"'`
   13163    if test "x$as_val" = x""yes; then
   13164   HAVE_DEFS_ENT=yes
   13165 fi
   13166 
   13167 fi
   13168 
   13169 # Extract the first word of "linuxdoc", so it can be a program name with args.
   13170 set dummy linuxdoc; ac_word=$2
   13171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13172 $as_echo_n "checking for $ac_word... " >&6; }
   13173 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   13174   $as_echo_n "(cached) " >&6
   13175 else
   13176   case $LINUXDOC in
   13177   [\\/]* | ?:[\\/]*)
   13178   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   13179   ;;
   13180   *)
   13181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13182 for as_dir in $PATH
   13183 do
   13184   IFS=$as_save_IFS
   13185   test -z "$as_dir" && as_dir=.
   13186   for ac_exec_ext in '' $ac_executable_extensions; do
   13187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13188     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   13189     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13190     break 2
   13191   fi
   13192 done
   13193 done
   13194 IFS=$as_save_IFS
   13195 
   13196   ;;
   13197 esac
   13198 fi
   13199 LINUXDOC=$ac_cv_path_LINUXDOC
   13200 if test -n "$LINUXDOC"; then
   13201   { $as_echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   13202 $as_echo "$LINUXDOC" >&6; }
   13203 else
   13204   { $as_echo "$as_me:$LINENO: result: no" >&5
   13205 $as_echo "no" >&6; }
   13206 fi
   13207 
   13208 
   13209 # Extract the first word of "ps2pdf", so it can be a program name with args.
   13210 set dummy ps2pdf; ac_word=$2
   13211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13212 $as_echo_n "checking for $ac_word... " >&6; }
   13213 if test "${ac_cv_path_PS2PDF+set}" = set; then
   13214   $as_echo_n "(cached) " >&6
   13215 else
   13216   case $PS2PDF in
   13217   [\\/]* | ?:[\\/]*)
   13218   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   13219   ;;
   13220   *)
   13221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13222 for as_dir in $PATH
   13223 do
   13224   IFS=$as_save_IFS
   13225   test -z "$as_dir" && as_dir=.
   13226   for ac_exec_ext in '' $ac_executable_extensions; do
   13227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13228     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   13229     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13230     break 2
   13231   fi
   13232 done
   13233 done
   13234 IFS=$as_save_IFS
   13235 
   13236   ;;
   13237 esac
   13238 fi
   13239 PS2PDF=$ac_cv_path_PS2PDF
   13240 if test -n "$PS2PDF"; then
   13241   { $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
   13242 $as_echo "$PS2PDF" >&6; }
   13243 else
   13244   { $as_echo "$as_me:$LINENO: result: no" >&5
   13245 $as_echo "no" >&6; }
   13246 fi
   13247 
   13248 
   13249 
   13250 { $as_echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   13251 $as_echo_n "checking Whether to build documentation... " >&6; }
   13252 
   13253 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   13254    BUILDDOC=yes
   13255 else
   13256    BUILDDOC=no
   13257 fi
   13258 
   13259  if test x$BUILDDOC = xyes; then
   13260   BUILD_LINUXDOC_TRUE=
   13261   BUILD_LINUXDOC_FALSE='#'
   13262 else
   13263   BUILD_LINUXDOC_TRUE='#'
   13264   BUILD_LINUXDOC_FALSE=
   13265 fi
   13266 
   13267 
   13268 { $as_echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   13269 $as_echo "$BUILDDOC" >&6; }
   13270 
   13271 { $as_echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   13272 $as_echo_n "checking Whether to build pdf documentation... " >&6; }
   13273 
   13274 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   13275    BUILDPDFDOC=yes
   13276 else
   13277    BUILDPDFDOC=no
   13278 fi
   13279 
   13280  if test x$BUILDPDFDOC = xyes; then
   13281   BUILD_PDFDOC_TRUE=
   13282   BUILD_PDFDOC_FALSE='#'
   13283 else
   13284   BUILD_PDFDOC_TRUE='#'
   13285   BUILD_PDFDOC_FALSE=
   13286 fi
   13287 
   13288 
   13289 { $as_echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   13290 $as_echo "$BUILDPDFDOC" >&6; }
   13291 
   13292 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   13293 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   13294 MAKE_PDF="$PS2PDF"
   13295 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   13304 
   13305 cat >confcache <<\_ACEOF
   13306 # This file is a shell script that caches the results of configure
   13307 # tests run on this system so they can be shared between configure
   13308 # scripts and configure runs, see configure's option --config-cache.
   13309 # It is not useful on other systems.  If it contains results you don't
   13310 # want to keep, you may remove or edit it.
   13311 #
   13312 # config.status only pays attention to the cache file if you give it
   13313 # the --recheck option to rerun configure.
   13314 #
   13315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13317 # following values.
   13318 
   13319 _ACEOF
   13320 
   13321 # The following way of writing the cache mishandles newlines in values,
   13322 # but we know of no workaround that is simple, portable, and efficient.
   13323 # So, we kill variables containing newlines.
   13324 # Ultrix sh set writes to stderr and can't be redirected directly,
   13325 # and sets the high bit in the cache file unless we assign to the vars.
   13326 (
   13327   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13328     eval ac_val=\$$ac_var
   13329     case $ac_val in #(
   13330     *${as_nl}*)
   13331       case $ac_var in #(
   13332       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13333 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13334       esac
   13335       case $ac_var in #(
   13336       _ | IFS | as_nl) ;; #(
   13337       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13338       *) $as_unset $ac_var ;;
   13339       esac ;;
   13340     esac
   13341   done
   13342 
   13343   (set) 2>&1 |
   13344     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13345     *${as_nl}ac_space=\ *)
   13346       # `set' does not quote correctly, so add quotes (double-quote
   13347       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13348       sed -n \
   13349 	"s/'/'\\\\''/g;
   13350 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13351       ;; #(
   13352     *)
   13353       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13354       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13355       ;;
   13356     esac |
   13357     sort
   13358 ) |
   13359   sed '
   13360      /^ac_cv_env_/b end
   13361      t clear
   13362      :clear
   13363      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13364      t end
   13365      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13366      :end' >>confcache
   13367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13368   if test -w "$cache_file"; then
   13369     test "x$cache_file" != "x/dev/null" &&
   13370       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   13371 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13372     cat confcache >$cache_file
   13373   else
   13374     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   13375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13376   fi
   13377 fi
   13378 rm -f confcache
   13379 
   13380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13381 # Let make expand exec_prefix.
   13382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13383 
   13384 DEFS=-DHAVE_CONFIG_H
   13385 
   13386 ac_libobjs=
   13387 ac_ltlibobjs=
   13388 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13389   # 1. Remove the extension, and $U if already installed.
   13390   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13391   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13392   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13393   #    will be set to the directory where LIBOBJS objects are built.
   13394   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13395   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   13396 done
   13397 LIBOBJS=$ac_libobjs
   13398 
   13399 LTLIBOBJS=$ac_ltlibobjs
   13400 
   13401 
   13402 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13403   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13404 Usually this means the macro was only invoked conditionally." >&5
   13405 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13406 Usually this means the macro was only invoked conditionally." >&2;}
   13407    { (exit 1); exit 1; }; }
   13408 fi
   13409 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13410   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13411 Usually this means the macro was only invoked conditionally." >&5
   13412 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13413 Usually this means the macro was only invoked conditionally." >&2;}
   13414    { (exit 1); exit 1; }; }
   13415 fi
   13416 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13417   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13418 Usually this means the macro was only invoked conditionally." >&5
   13419 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13420 Usually this means the macro was only invoked conditionally." >&2;}
   13421    { (exit 1); exit 1; }; }
   13422 fi
   13423 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13424   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13425 Usually this means the macro was only invoked conditionally." >&5
   13426 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13427 Usually this means the macro was only invoked conditionally." >&2;}
   13428    { (exit 1); exit 1; }; }
   13429 fi
   13430 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   13431   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13432 Usually this means the macro was only invoked conditionally." >&5
   13433 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13434 Usually this means the macro was only invoked conditionally." >&2;}
   13435    { (exit 1); exit 1; }; }
   13436 fi
   13437 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   13438   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   13439 Usually this means the macro was only invoked conditionally." >&5
   13440 $as_echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   13441 Usually this means the macro was only invoked conditionally." >&2;}
   13442    { (exit 1); exit 1; }; }
   13443 fi
   13444 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   13445   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   13446 Usually this means the macro was only invoked conditionally." >&5
   13447 $as_echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   13448 Usually this means the macro was only invoked conditionally." >&2;}
   13449    { (exit 1); exit 1; }; }
   13450 fi
   13451 
   13452 : ${CONFIG_STATUS=./config.status}
   13453 ac_write_fail=0
   13454 ac_clean_files_save=$ac_clean_files
   13455 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13456 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13457 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13458 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13459 #! $SHELL
   13460 # Generated by $as_me.
   13461 # Run this file to recreate the current configuration.
   13462 # Compiler output produced by configure, useful for debugging
   13463 # configure, is in config.log if it exists.
   13464 
   13465 debug=false
   13466 ac_cs_recheck=false
   13467 ac_cs_silent=false
   13468 SHELL=\${CONFIG_SHELL-$SHELL}
   13469 _ACEOF
   13470 
   13471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13472 ## --------------------- ##
   13473 ## M4sh Initialization.  ##
   13474 ## --------------------- ##
   13475 
   13476 # Be more Bourne compatible
   13477 DUALCASE=1; export DUALCASE # for MKS sh
   13478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13479   emulate sh
   13480   NULLCMD=:
   13481   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13482   # is contrary to our usage.  Disable this feature.
   13483   alias -g '${1+"$@"}'='"$@"'
   13484   setopt NO_GLOB_SUBST
   13485 else
   13486   case `(set -o) 2>/dev/null` in
   13487   *posix*) set -o posix ;;
   13488 esac
   13489 
   13490 fi
   13491 
   13492 
   13493 
   13494 
   13495 # PATH needs CR
   13496 # Avoid depending upon Character Ranges.
   13497 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13498 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13499 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13500 as_cr_digits='0123456789'
   13501 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13502 
   13503 as_nl='
   13504 '
   13505 export as_nl
   13506 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13507 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13510 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13511   as_echo='printf %s\n'
   13512   as_echo_n='printf %s'
   13513 else
   13514   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13515     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13516     as_echo_n='/usr/ucb/echo -n'
   13517   else
   13518     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13519     as_echo_n_body='eval
   13520       arg=$1;
   13521       case $arg in
   13522       *"$as_nl"*)
   13523 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13524 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13525       esac;
   13526       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13527     '
   13528     export as_echo_n_body
   13529     as_echo_n='sh -c $as_echo_n_body as_echo'
   13530   fi
   13531   export as_echo_body
   13532   as_echo='sh -c $as_echo_body as_echo'
   13533 fi
   13534 
   13535 # The user is always right.
   13536 if test "${PATH_SEPARATOR+set}" != set; then
   13537   PATH_SEPARATOR=:
   13538   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13539     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13540       PATH_SEPARATOR=';'
   13541   }
   13542 fi
   13543 
   13544 # Support unset when possible.
   13545 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13546   as_unset=unset
   13547 else
   13548   as_unset=false
   13549 fi
   13550 
   13551 
   13552 # IFS
   13553 # We need space, tab and new line, in precisely that order.  Quoting is
   13554 # there to prevent editors from complaining about space-tab.
   13555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13556 # splitting by setting IFS to empty value.)
   13557 IFS=" ""	$as_nl"
   13558 
   13559 # Find who we are.  Look in the path if we contain no directory separator.
   13560 case $0 in
   13561   *[\\/]* ) as_myself=$0 ;;
   13562   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13563 for as_dir in $PATH
   13564 do
   13565   IFS=$as_save_IFS
   13566   test -z "$as_dir" && as_dir=.
   13567   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13568 done
   13569 IFS=$as_save_IFS
   13570 
   13571      ;;
   13572 esac
   13573 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13574 # in which case we are not to be found in the path.
   13575 if test "x$as_myself" = x; then
   13576   as_myself=$0
   13577 fi
   13578 if test ! -f "$as_myself"; then
   13579   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13580   { (exit 1); exit 1; }
   13581 fi
   13582 
   13583 # Work around bugs in pre-3.0 UWIN ksh.
   13584 for as_var in ENV MAIL MAILPATH
   13585 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13586 done
   13587 PS1='$ '
   13588 PS2='> '
   13589 PS4='+ '
   13590 
   13591 # NLS nuisances.
   13592 LC_ALL=C
   13593 export LC_ALL
   13594 LANGUAGE=C
   13595 export LANGUAGE
   13596 
   13597 # Required to use basename.
   13598 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13599    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13600   as_expr=expr
   13601 else
   13602   as_expr=false
   13603 fi
   13604 
   13605 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13606   as_basename=basename
   13607 else
   13608   as_basename=false
   13609 fi
   13610 
   13611 
   13612 # Name of the executable.
   13613 as_me=`$as_basename -- "$0" ||
   13614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13615 	 X"$0" : 'X\(//\)$' \| \
   13616 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13617 $as_echo X/"$0" |
   13618     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13619 	    s//\1/
   13620 	    q
   13621 	  }
   13622 	  /^X\/\(\/\/\)$/{
   13623 	    s//\1/
   13624 	    q
   13625 	  }
   13626 	  /^X\/\(\/\).*/{
   13627 	    s//\1/
   13628 	    q
   13629 	  }
   13630 	  s/.*/./; q'`
   13631 
   13632 # CDPATH.
   13633 $as_unset CDPATH
   13634 
   13635 
   13636 
   13637   as_lineno_1=$LINENO
   13638   as_lineno_2=$LINENO
   13639   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13640   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13641 
   13642   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13643   # uniformly replaced by the line number.  The first 'sed' inserts a
   13644   # line-number line after each line using $LINENO; the second 'sed'
   13645   # does the real work.  The second script uses 'N' to pair each
   13646   # line-number line with the line containing $LINENO, and appends
   13647   # trailing '-' during substitution so that $LINENO is not a special
   13648   # case at line end.
   13649   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13650   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13651   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13652   sed -n '
   13653     p
   13654     /[$]LINENO/=
   13655   ' <$as_myself |
   13656     sed '
   13657       s/[$]LINENO.*/&-/
   13658       t lineno
   13659       b
   13660       :lineno
   13661       N
   13662       :loop
   13663       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13664       t loop
   13665       s/-\n.*//
   13666     ' >$as_me.lineno &&
   13667   chmod +x "$as_me.lineno" ||
   13668     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13669    { (exit 1); exit 1; }; }
   13670 
   13671   # Don't try to exec as it changes $[0], causing all sort of problems
   13672   # (the dirname of $[0] is not the place where we might find the
   13673   # original and so on.  Autoconf is especially sensitive to this).
   13674   . "./$as_me.lineno"
   13675   # Exit status is that of the last command.
   13676   exit
   13677 }
   13678 
   13679 
   13680 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13681   as_dirname=dirname
   13682 else
   13683   as_dirname=false
   13684 fi
   13685 
   13686 ECHO_C= ECHO_N= ECHO_T=
   13687 case `echo -n x` in
   13688 -n*)
   13689   case `echo 'x\c'` in
   13690   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13691   *)   ECHO_C='\c';;
   13692   esac;;
   13693 *)
   13694   ECHO_N='-n';;
   13695 esac
   13696 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13697    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13698   as_expr=expr
   13699 else
   13700   as_expr=false
   13701 fi
   13702 
   13703 rm -f conf$$ conf$$.exe conf$$.file
   13704 if test -d conf$$.dir; then
   13705   rm -f conf$$.dir/conf$$.file
   13706 else
   13707   rm -f conf$$.dir
   13708   mkdir conf$$.dir 2>/dev/null
   13709 fi
   13710 if (echo >conf$$.file) 2>/dev/null; then
   13711   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13712     as_ln_s='ln -s'
   13713     # ... but there are two gotchas:
   13714     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13715     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13716     # In both cases, we have to default to `cp -p'.
   13717     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13718       as_ln_s='cp -p'
   13719   elif ln conf$$.file conf$$ 2>/dev/null; then
   13720     as_ln_s=ln
   13721   else
   13722     as_ln_s='cp -p'
   13723   fi
   13724 else
   13725   as_ln_s='cp -p'
   13726 fi
   13727 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13728 rmdir conf$$.dir 2>/dev/null
   13729 
   13730 if mkdir -p . 2>/dev/null; then
   13731   as_mkdir_p=:
   13732 else
   13733   test -d ./-p && rmdir ./-p
   13734   as_mkdir_p=false
   13735 fi
   13736 
   13737 if test -x / >/dev/null 2>&1; then
   13738   as_test_x='test -x'
   13739 else
   13740   if ls -dL / >/dev/null 2>&1; then
   13741     as_ls_L_option=L
   13742   else
   13743     as_ls_L_option=
   13744   fi
   13745   as_test_x='
   13746     eval sh -c '\''
   13747       if test -d "$1"; then
   13748 	test -d "$1/.";
   13749       else
   13750 	case $1 in
   13751 	-*)set "./$1";;
   13752 	esac;
   13753 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13754 	???[sx]*):;;*)false;;esac;fi
   13755     '\'' sh
   13756   '
   13757 fi
   13758 as_executable_p=$as_test_x
   13759 
   13760 # Sed expression to map a string onto a valid CPP name.
   13761 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13762 
   13763 # Sed expression to map a string onto a valid variable name.
   13764 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13765 
   13766 
   13767 exec 6>&1
   13768 
   13769 # Save the log message, to keep $[0] and so on meaningful, and to
   13770 # report actual input values of CONFIG_FILES etc. instead of their
   13771 # values after options handling.
   13772 ac_log="
   13773 This file was extended by xf86-video-i128 $as_me 1.3.2, which was
   13774 generated by GNU Autoconf 2.63.  Invocation command line was
   13775 
   13776   CONFIG_FILES    = $CONFIG_FILES
   13777   CONFIG_HEADERS  = $CONFIG_HEADERS
   13778   CONFIG_LINKS    = $CONFIG_LINKS
   13779   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13780   $ $0 $@
   13781 
   13782 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13783 "
   13784 
   13785 _ACEOF
   13786 
   13787 case $ac_config_files in *"
   13788 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13789 esac
   13790 
   13791 case $ac_config_headers in *"
   13792 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13793 esac
   13794 
   13795 
   13796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13797 # Files that config.status was made for.
   13798 config_files="$ac_config_files"
   13799 config_headers="$ac_config_headers"
   13800 config_commands="$ac_config_commands"
   13801 
   13802 _ACEOF
   13803 
   13804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13805 ac_cs_usage="\
   13806 \`$as_me' instantiates files from templates according to the
   13807 current configuration.
   13808 
   13809 Usage: $0 [OPTION]... [FILE]...
   13810 
   13811   -h, --help       print this help, then exit
   13812   -V, --version    print version number and configuration settings, then exit
   13813   -q, --quiet, --silent
   13814                    do not print progress messages
   13815   -d, --debug      don't remove temporary files
   13816       --recheck    update $as_me by reconfiguring in the same conditions
   13817       --file=FILE[:TEMPLATE]
   13818                    instantiate the configuration file FILE
   13819       --header=FILE[:TEMPLATE]
   13820                    instantiate the configuration header FILE
   13821 
   13822 Configuration files:
   13823 $config_files
   13824 
   13825 Configuration headers:
   13826 $config_headers
   13827 
   13828 Configuration commands:
   13829 $config_commands
   13830 
   13831 Report bugs to <bug-autoconf (at] gnu.org>."
   13832 
   13833 _ACEOF
   13834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13835 ac_cs_version="\\
   13836 xf86-video-i128 config.status 1.3.2
   13837 configured by $0, generated by GNU Autoconf 2.63,
   13838   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13839 
   13840 Copyright (C) 2008 Free Software Foundation, Inc.
   13841 This config.status script is free software; the Free Software Foundation
   13842 gives unlimited permission to copy, distribute and modify it."
   13843 
   13844 ac_pwd='$ac_pwd'
   13845 srcdir='$srcdir'
   13846 INSTALL='$INSTALL'
   13847 MKDIR_P='$MKDIR_P'
   13848 AWK='$AWK'
   13849 test -n "\$AWK" || AWK=awk
   13850 _ACEOF
   13851 
   13852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13853 # The default lists apply if the user does not specify any file.
   13854 ac_need_defaults=:
   13855 while test $# != 0
   13856 do
   13857   case $1 in
   13858   --*=*)
   13859     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13860     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13861     ac_shift=:
   13862     ;;
   13863   *)
   13864     ac_option=$1
   13865     ac_optarg=$2
   13866     ac_shift=shift
   13867     ;;
   13868   esac
   13869 
   13870   case $ac_option in
   13871   # Handling of the options.
   13872   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13873     ac_cs_recheck=: ;;
   13874   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13875     $as_echo "$ac_cs_version"; exit ;;
   13876   --debug | --debu | --deb | --de | --d | -d )
   13877     debug=: ;;
   13878   --file | --fil | --fi | --f )
   13879     $ac_shift
   13880     case $ac_optarg in
   13881     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13882     esac
   13883     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   13884     ac_need_defaults=false;;
   13885   --header | --heade | --head | --hea )
   13886     $ac_shift
   13887     case $ac_optarg in
   13888     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13889     esac
   13890     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   13891     ac_need_defaults=false;;
   13892   --he | --h)
   13893     # Conflict between --help and --header
   13894     { $as_echo "$as_me: error: ambiguous option: $1
   13895 Try \`$0 --help' for more information." >&2
   13896    { (exit 1); exit 1; }; };;
   13897   --help | --hel | -h )
   13898     $as_echo "$ac_cs_usage"; exit ;;
   13899   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13900   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13901     ac_cs_silent=: ;;
   13902 
   13903   # This is an error.
   13904   -*) { $as_echo "$as_me: error: unrecognized option: $1
   13905 Try \`$0 --help' for more information." >&2
   13906    { (exit 1); exit 1; }; } ;;
   13907 
   13908   *) ac_config_targets="$ac_config_targets $1"
   13909      ac_need_defaults=false ;;
   13910 
   13911   esac
   13912   shift
   13913 done
   13914 
   13915 ac_configure_extra_args=
   13916 
   13917 if $ac_cs_silent; then
   13918   exec 6>/dev/null
   13919   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13920 fi
   13921 
   13922 _ACEOF
   13923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13924 if \$ac_cs_recheck; then
   13925   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13926   shift
   13927   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13928   CONFIG_SHELL='$SHELL'
   13929   export CONFIG_SHELL
   13930   exec "\$@"
   13931 fi
   13932 
   13933 _ACEOF
   13934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13935 exec 5>>config.log
   13936 {
   13937   echo
   13938   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13939 ## Running $as_me. ##
   13940 _ASBOX
   13941   $as_echo "$ac_log"
   13942 } >&5
   13943 
   13944 _ACEOF
   13945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13946 #
   13947 # INIT-COMMANDS
   13948 #
   13949 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13950 
   13951 
   13952 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13953 # if CDPATH is set.
   13954 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13955 
   13956 sed_quote_subst='$sed_quote_subst'
   13957 double_quote_subst='$double_quote_subst'
   13958 delay_variable_subst='$delay_variable_subst'
   13959 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13960 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13961 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13962 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13963 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13964 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13965 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13966 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13967 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13968 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13969 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13970 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13971 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13972 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13973 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13974 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13975 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13976 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13977 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13978 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13979 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13980 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13981 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13982 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13983 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13984 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13985 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13986 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13987 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13988 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13989 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13990 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13991 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13992 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13993 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13994 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13995 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13996 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13997 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13998 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13999 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14000 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14001 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14003 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"`'
   14004 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"`'
   14005 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14006 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14007 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14008 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14009 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14010 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14011 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14012 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14013 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14014 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14015 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14016 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14017 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14018 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14019 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14020 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14021 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14022 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14023 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14024 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14025 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14026 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14027 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14028 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14029 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14030 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14031 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14032 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14033 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14034 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14035 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14036 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14037 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14038 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14039 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14040 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14041 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14042 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14043 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14044 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14045 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14046 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14047 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14048 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14049 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14050 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14051 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14052 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14053 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14054 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14055 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14056 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14057 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14058 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14059 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14060 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14061 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14062 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14063 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14064 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14065 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14066 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14067 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14068 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14069 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14070 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14071 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14072 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14073 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14074 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14075 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14076 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14077 
   14078 LTCC='$LTCC'
   14079 LTCFLAGS='$LTCFLAGS'
   14080 compiler='$compiler_DEFAULT'
   14081 
   14082 # Quote evaled strings.
   14083 for var in SED \
   14084 GREP \
   14085 EGREP \
   14086 FGREP \
   14087 LD \
   14088 NM \
   14089 LN_S \
   14090 lt_SP2NL \
   14091 lt_NL2SP \
   14092 reload_flag \
   14093 OBJDUMP \
   14094 deplibs_check_method \
   14095 file_magic_cmd \
   14096 AR \
   14097 AR_FLAGS \
   14098 STRIP \
   14099 RANLIB \
   14100 CC \
   14101 CFLAGS \
   14102 compiler \
   14103 lt_cv_sys_global_symbol_pipe \
   14104 lt_cv_sys_global_symbol_to_cdecl \
   14105 lt_cv_sys_global_symbol_to_c_name_address \
   14106 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14107 SHELL \
   14108 ECHO \
   14109 lt_prog_compiler_no_builtin_flag \
   14110 lt_prog_compiler_wl \
   14111 lt_prog_compiler_pic \
   14112 lt_prog_compiler_static \
   14113 lt_cv_prog_compiler_c_o \
   14114 need_locks \
   14115 DSYMUTIL \
   14116 NMEDIT \
   14117 LIPO \
   14118 OTOOL \
   14119 OTOOL64 \
   14120 shrext_cmds \
   14121 export_dynamic_flag_spec \
   14122 whole_archive_flag_spec \
   14123 compiler_needs_object \
   14124 with_gnu_ld \
   14125 allow_undefined_flag \
   14126 no_undefined_flag \
   14127 hardcode_libdir_flag_spec \
   14128 hardcode_libdir_flag_spec_ld \
   14129 hardcode_libdir_separator \
   14130 fix_srcfile_path \
   14131 exclude_expsyms \
   14132 include_expsyms \
   14133 file_list_spec \
   14134 variables_saved_for_relink \
   14135 libname_spec \
   14136 library_names_spec \
   14137 soname_spec \
   14138 finish_eval \
   14139 old_striplib \
   14140 striplib; do
   14141     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14142     *[\\\\\\\`\\"\\\$]*)
   14143       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14144       ;;
   14145     *)
   14146       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14147       ;;
   14148     esac
   14149 done
   14150 
   14151 # Double-quote double-evaled strings.
   14152 for var in reload_cmds \
   14153 old_postinstall_cmds \
   14154 old_postuninstall_cmds \
   14155 old_archive_cmds \
   14156 extract_expsyms_cmds \
   14157 old_archive_from_new_cmds \
   14158 old_archive_from_expsyms_cmds \
   14159 archive_cmds \
   14160 archive_expsym_cmds \
   14161 module_cmds \
   14162 module_expsym_cmds \
   14163 export_symbols_cmds \
   14164 prelink_cmds \
   14165 postinstall_cmds \
   14166 postuninstall_cmds \
   14167 finish_cmds \
   14168 sys_lib_search_path_spec \
   14169 sys_lib_dlsearch_path_spec; do
   14170     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14171     *[\\\\\\\`\\"\\\$]*)
   14172       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14173       ;;
   14174     *)
   14175       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14176       ;;
   14177     esac
   14178 done
   14179 
   14180 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14181 case \$lt_ECHO in
   14182 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14183   ;;
   14184 esac
   14185 
   14186 ac_aux_dir='$ac_aux_dir'
   14187 xsi_shell='$xsi_shell'
   14188 lt_shell_append='$lt_shell_append'
   14189 
   14190 # See if we are running on zsh, and set the options which allow our
   14191 # commands through without removal of \ escapes INIT.
   14192 if test -n "\${ZSH_VERSION+set}" ; then
   14193    setopt NO_GLOB_SUBST
   14194 fi
   14195 
   14196 
   14197     PACKAGE='$PACKAGE'
   14198     VERSION='$VERSION'
   14199     TIMESTAMP='$TIMESTAMP'
   14200     RM='$RM'
   14201     ofile='$ofile'
   14202 
   14203 
   14204 
   14205 
   14206 _ACEOF
   14207 
   14208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14209 
   14210 # Handling of arguments.
   14211 for ac_config_target in $ac_config_targets
   14212 do
   14213   case $ac_config_target in
   14214     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14215     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14216     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14217     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14218     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14219     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14220 
   14221   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14222 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14223    { (exit 1); exit 1; }; };;
   14224   esac
   14225 done
   14226 
   14227 
   14228 # If the user did not use the arguments to specify the items to instantiate,
   14229 # then the envvar interface is used.  Set only those that are not.
   14230 # We use the long form for the default assignment because of an extremely
   14231 # bizarre bug on SunOS 4.1.3.
   14232 if $ac_need_defaults; then
   14233   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14234   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14235   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14236 fi
   14237 
   14238 # Have a temporary directory for convenience.  Make it in the build tree
   14239 # simply because there is no reason against having it here, and in addition,
   14240 # creating and moving files from /tmp can sometimes cause problems.
   14241 # Hook for its removal unless debugging.
   14242 # Note that there is a small window in which the directory will not be cleaned:
   14243 # after its creation but before its name has been assigned to `$tmp'.
   14244 $debug ||
   14245 {
   14246   tmp=
   14247   trap 'exit_status=$?
   14248   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14249 ' 0
   14250   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14251 }
   14252 # Create a (secure) tmp directory for tmp files.
   14253 
   14254 {
   14255   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14256   test -n "$tmp" && test -d "$tmp"
   14257 }  ||
   14258 {
   14259   tmp=./conf$$-$RANDOM
   14260   (umask 077 && mkdir "$tmp")
   14261 } ||
   14262 {
   14263    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   14264    { (exit 1); exit 1; }
   14265 }
   14266 
   14267 # Set up the scripts for CONFIG_FILES section.
   14268 # No need to generate them if there are no CONFIG_FILES.
   14269 # This happens for instance with `./config.status config.h'.
   14270 if test -n "$CONFIG_FILES"; then
   14271 
   14272 
   14273 ac_cr='
'
   14275 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14276 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14277   ac_cs_awk_cr='\\r'
   14278 else
   14279   ac_cs_awk_cr=$ac_cr
   14280 fi
   14281 
   14282 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14283 _ACEOF
   14284 
   14285 
   14286 {
   14287   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14288   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14289   echo "_ACEOF"
   14290 } >conf$$subs.sh ||
   14291   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14292 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14293    { (exit 1); exit 1; }; }
   14294 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14295 ac_delim='%!_!# '
   14296 for ac_last_try in false false false false false :; do
   14297   . ./conf$$subs.sh ||
   14298     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14299 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14300    { (exit 1); exit 1; }; }
   14301 
   14302   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14303   if test $ac_delim_n = $ac_delim_num; then
   14304     break
   14305   elif $ac_last_try; then
   14306     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14307 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14308    { (exit 1); exit 1; }; }
   14309   else
   14310     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14311   fi
   14312 done
   14313 rm -f conf$$subs.sh
   14314 
   14315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14316 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14317 _ACEOF
   14318 sed -n '
   14319 h
   14320 s/^/S["/; s/!.*/"]=/
   14321 p
   14322 g
   14323 s/^[^!]*!//
   14324 :repl
   14325 t repl
   14326 s/'"$ac_delim"'$//
   14327 t delim
   14328 :nl
   14329 h
   14330 s/\(.\{148\}\).*/\1/
   14331 t more1
   14332 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14333 p
   14334 n
   14335 b repl
   14336 :more1
   14337 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14338 p
   14339 g
   14340 s/.\{148\}//
   14341 t nl
   14342 :delim
   14343 h
   14344 s/\(.\{148\}\).*/\1/
   14345 t more2
   14346 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14347 p
   14348 b
   14349 :more2
   14350 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14351 p
   14352 g
   14353 s/.\{148\}//
   14354 t delim
   14355 ' <conf$$subs.awk | sed '
   14356 /^[^""]/{
   14357   N
   14358   s/\n//
   14359 }
   14360 ' >>$CONFIG_STATUS || ac_write_fail=1
   14361 rm -f conf$$subs.awk
   14362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14363 _ACAWK
   14364 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14365   for (key in S) S_is_set[key] = 1
   14366   FS = ""
   14367 
   14368 }
   14369 {
   14370   line = $ 0
   14371   nfields = split(line, field, "@")
   14372   substed = 0
   14373   len = length(field[1])
   14374   for (i = 2; i < nfields; i++) {
   14375     key = field[i]
   14376     keylen = length(key)
   14377     if (S_is_set[key]) {
   14378       value = S[key]
   14379       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14380       len += length(value) + length(field[++i])
   14381       substed = 1
   14382     } else
   14383       len += 1 + keylen
   14384   }
   14385 
   14386   print line
   14387 }
   14388 
   14389 _ACAWK
   14390 _ACEOF
   14391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14392 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14393   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14394 else
   14395   cat
   14396 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14397   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   14398 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   14399    { (exit 1); exit 1; }; }
   14400 _ACEOF
   14401 
   14402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14404 # trailing colons and then remove the whole line if VPATH becomes empty
   14405 # (actually we leave an empty line to preserve line numbers).
   14406 if test "x$srcdir" = x.; then
   14407   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14408 s/:*\$(srcdir):*/:/
   14409 s/:*\${srcdir}:*/:/
   14410 s/:*@srcdir@:*/:/
   14411 s/^\([^=]*=[	 ]*\):*/\1/
   14412 s/:*$//
   14413 s/^[^=]*=[	 ]*$//
   14414 }'
   14415 fi
   14416 
   14417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14418 fi # test -n "$CONFIG_FILES"
   14419 
   14420 # Set up the scripts for CONFIG_HEADERS section.
   14421 # No need to generate them if there are no CONFIG_HEADERS.
   14422 # This happens for instance with `./config.status Makefile'.
   14423 if test -n "$CONFIG_HEADERS"; then
   14424 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14425 BEGIN {
   14426 _ACEOF
   14427 
   14428 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14429 # here-document in config.status, that substitutes the proper values into
   14430 # config.h.in to produce config.h.
   14431 
   14432 # Create a delimiter string that does not exist in confdefs.h, to ease
   14433 # handling of long lines.
   14434 ac_delim='%!_!# '
   14435 for ac_last_try in false false :; do
   14436   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14437   if test -z "$ac_t"; then
   14438     break
   14439   elif $ac_last_try; then
   14440     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   14441 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   14442    { (exit 1); exit 1; }; }
   14443   else
   14444     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14445   fi
   14446 done
   14447 
   14448 # For the awk script, D is an array of macro values keyed by name,
   14449 # likewise P contains macro parameters if any.  Preserve backslash
   14450 # newline sequences.
   14451 
   14452 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14453 sed -n '
   14454 s/.\{148\}/&'"$ac_delim"'/g
   14455 t rset
   14456 :rset
   14457 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14458 t def
   14459 d
   14460 :def
   14461 s/\\$//
   14462 t bsnl
   14463 s/["\\]/\\&/g
   14464 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14465 D["\1"]=" \3"/p
   14466 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14467 d
   14468 :bsnl
   14469 s/["\\]/\\&/g
   14470 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14471 D["\1"]=" \3\\\\\\n"\\/p
   14472 t cont
   14473 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14474 t cont
   14475 d
   14476 :cont
   14477 n
   14478 s/.\{148\}/&'"$ac_delim"'/g
   14479 t clear
   14480 :clear
   14481 s/\\$//
   14482 t bsnlc
   14483 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14484 d
   14485 :bsnlc
   14486 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14487 b cont
   14488 ' <confdefs.h | sed '
   14489 s/'"$ac_delim"'/"\\\
   14490 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14491 
   14492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14493   for (key in D) D_is_set[key] = 1
   14494   FS = ""
   14495 }
   14496 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14497   line = \$ 0
   14498   split(line, arg, " ")
   14499   if (arg[1] == "#") {
   14500     defundef = arg[2]
   14501     mac1 = arg[3]
   14502   } else {
   14503     defundef = substr(arg[1], 2)
   14504     mac1 = arg[2]
   14505   }
   14506   split(mac1, mac2, "(") #)
   14507   macro = mac2[1]
   14508   prefix = substr(line, 1, index(line, defundef) - 1)
   14509   if (D_is_set[macro]) {
   14510     # Preserve the white space surrounding the "#".
   14511     print prefix "define", macro P[macro] D[macro]
   14512     next
   14513   } else {
   14514     # Replace #undef with comments.  This is necessary, for example,
   14515     # in the case of _POSIX_SOURCE, which is predefined and required
   14516     # on some systems where configure will not decide to define it.
   14517     if (defundef == "undef") {
   14518       print "/*", prefix defundef, macro, "*/"
   14519       next
   14520     }
   14521   }
   14522 }
   14523 { print }
   14524 _ACAWK
   14525 _ACEOF
   14526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14527   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14528 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14529    { (exit 1); exit 1; }; }
   14530 fi # test -n "$CONFIG_HEADERS"
   14531 
   14532 
   14533 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14534 shift
   14535 for ac_tag
   14536 do
   14537   case $ac_tag in
   14538   :[FHLC]) ac_mode=$ac_tag; continue;;
   14539   esac
   14540   case $ac_mode$ac_tag in
   14541   :[FHL]*:*);;
   14542   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14543 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14544    { (exit 1); exit 1; }; };;
   14545   :[FH]-) ac_tag=-:-;;
   14546   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14547   esac
   14548   ac_save_IFS=$IFS
   14549   IFS=:
   14550   set x $ac_tag
   14551   IFS=$ac_save_IFS
   14552   shift
   14553   ac_file=$1
   14554   shift
   14555 
   14556   case $ac_mode in
   14557   :L) ac_source=$1;;
   14558   :[FH])
   14559     ac_file_inputs=
   14560     for ac_f
   14561     do
   14562       case $ac_f in
   14563       -) ac_f="$tmp/stdin";;
   14564       *) # Look for the file first in the build tree, then in the source tree
   14565 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14566 	 # because $ac_f cannot contain `:'.
   14567 	 test -f "$ac_f" ||
   14568 	   case $ac_f in
   14569 	   [\\/$]*) false;;
   14570 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14571 	   esac ||
   14572 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14573 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14574    { (exit 1); exit 1; }; };;
   14575       esac
   14576       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14577       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14578     done
   14579 
   14580     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14581     # use $as_me), people would be surprised to read:
   14582     #    /* config.h.  Generated by config.status.  */
   14583     configure_input='Generated from '`
   14584 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14585 	`' by configure.'
   14586     if test x"$ac_file" != x-; then
   14587       configure_input="$ac_file.  $configure_input"
   14588       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14589 $as_echo "$as_me: creating $ac_file" >&6;}
   14590     fi
   14591     # Neutralize special characters interpreted by sed in replacement strings.
   14592     case $configure_input in #(
   14593     *\&* | *\|* | *\\* )
   14594        ac_sed_conf_input=`$as_echo "$configure_input" |
   14595        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14596     *) ac_sed_conf_input=$configure_input;;
   14597     esac
   14598 
   14599     case $ac_tag in
   14600     *:-:* | *:-) cat >"$tmp/stdin" \
   14601       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14602 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14603    { (exit 1); exit 1; }; } ;;
   14604     esac
   14605     ;;
   14606   esac
   14607 
   14608   ac_dir=`$as_dirname -- "$ac_file" ||
   14609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14610 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14611 	 X"$ac_file" : 'X\(//\)$' \| \
   14612 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14613 $as_echo X"$ac_file" |
   14614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14615 	    s//\1/
   14616 	    q
   14617 	  }
   14618 	  /^X\(\/\/\)[^/].*/{
   14619 	    s//\1/
   14620 	    q
   14621 	  }
   14622 	  /^X\(\/\/\)$/{
   14623 	    s//\1/
   14624 	    q
   14625 	  }
   14626 	  /^X\(\/\).*/{
   14627 	    s//\1/
   14628 	    q
   14629 	  }
   14630 	  s/.*/./; q'`
   14631   { as_dir="$ac_dir"
   14632   case $as_dir in #(
   14633   -*) as_dir=./$as_dir;;
   14634   esac
   14635   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14636     as_dirs=
   14637     while :; do
   14638       case $as_dir in #(
   14639       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14640       *) as_qdir=$as_dir;;
   14641       esac
   14642       as_dirs="'$as_qdir' $as_dirs"
   14643       as_dir=`$as_dirname -- "$as_dir" ||
   14644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14645 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14646 	 X"$as_dir" : 'X\(//\)$' \| \
   14647 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14648 $as_echo X"$as_dir" |
   14649     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14650 	    s//\1/
   14651 	    q
   14652 	  }
   14653 	  /^X\(\/\/\)[^/].*/{
   14654 	    s//\1/
   14655 	    q
   14656 	  }
   14657 	  /^X\(\/\/\)$/{
   14658 	    s//\1/
   14659 	    q
   14660 	  }
   14661 	  /^X\(\/\).*/{
   14662 	    s//\1/
   14663 	    q
   14664 	  }
   14665 	  s/.*/./; q'`
   14666       test -d "$as_dir" && break
   14667     done
   14668     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14669   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14670 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14671    { (exit 1); exit 1; }; }; }
   14672   ac_builddir=.
   14673 
   14674 case "$ac_dir" in
   14675 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14676 *)
   14677   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14678   # A ".." for each directory in $ac_dir_suffix.
   14679   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14680   case $ac_top_builddir_sub in
   14681   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14682   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14683   esac ;;
   14684 esac
   14685 ac_abs_top_builddir=$ac_pwd
   14686 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14687 # for backward compatibility:
   14688 ac_top_builddir=$ac_top_build_prefix
   14689 
   14690 case $srcdir in
   14691   .)  # We are building in place.
   14692     ac_srcdir=.
   14693     ac_top_srcdir=$ac_top_builddir_sub
   14694     ac_abs_top_srcdir=$ac_pwd ;;
   14695   [\\/]* | ?:[\\/]* )  # Absolute name.
   14696     ac_srcdir=$srcdir$ac_dir_suffix;
   14697     ac_top_srcdir=$srcdir
   14698     ac_abs_top_srcdir=$srcdir ;;
   14699   *) # Relative name.
   14700     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14701     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14702     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14703 esac
   14704 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14705 
   14706 
   14707   case $ac_mode in
   14708   :F)
   14709   #
   14710   # CONFIG_FILE
   14711   #
   14712 
   14713   case $INSTALL in
   14714   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14715   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14716   esac
   14717   ac_MKDIR_P=$MKDIR_P
   14718   case $MKDIR_P in
   14719   [\\/$]* | ?:[\\/]* ) ;;
   14720   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14721   esac
   14722 _ACEOF
   14723 
   14724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14725 # If the template does not know about datarootdir, expand it.
   14726 # FIXME: This hack should be removed a few years after 2.60.
   14727 ac_datarootdir_hack=; ac_datarootdir_seen=
   14728 
   14729 ac_sed_dataroot='
   14730 /datarootdir/ {
   14731   p
   14732   q
   14733 }
   14734 /@datadir@/p
   14735 /@docdir@/p
   14736 /@infodir@/p
   14737 /@localedir@/p
   14738 /@mandir@/p
   14739 '
   14740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14741 *datarootdir*) ac_datarootdir_seen=yes;;
   14742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14743   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14744 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14745 _ACEOF
   14746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14747   ac_datarootdir_hack='
   14748   s&@datadir@&$datadir&g
   14749   s&@docdir@&$docdir&g
   14750   s&@infodir@&$infodir&g
   14751   s&@localedir@&$localedir&g
   14752   s&@mandir@&$mandir&g
   14753     s&\\\${datarootdir}&$datarootdir&g' ;;
   14754 esac
   14755 _ACEOF
   14756 
   14757 # Neutralize VPATH when `$srcdir' = `.'.
   14758 # Shell code in configure.ac might set extrasub.
   14759 # FIXME: do we really want to maintain this feature?
   14760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14761 ac_sed_extra="$ac_vpsub
   14762 $extrasub
   14763 _ACEOF
   14764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14765 :t
   14766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14767 s|@configure_input@|$ac_sed_conf_input|;t t
   14768 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14770 s&@srcdir@&$ac_srcdir&;t t
   14771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14772 s&@top_srcdir@&$ac_top_srcdir&;t t
   14773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14774 s&@builddir@&$ac_builddir&;t t
   14775 s&@abs_builddir@&$ac_abs_builddir&;t t
   14776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14777 s&@INSTALL@&$ac_INSTALL&;t t
   14778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14779 $ac_datarootdir_hack
   14780 "
   14781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14782   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14783 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14784    { (exit 1); exit 1; }; }
   14785 
   14786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14787   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14788   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14789   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14790 which seems to be undefined.  Please make sure it is defined." >&5
   14791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14792 which seems to be undefined.  Please make sure it is defined." >&2;}
   14793 
   14794   rm -f "$tmp/stdin"
   14795   case $ac_file in
   14796   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14797   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14798   esac \
   14799   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14800 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14801    { (exit 1); exit 1; }; }
   14802  ;;
   14803   :H)
   14804   #
   14805   # CONFIG_HEADER
   14806   #
   14807   if test x"$ac_file" != x-; then
   14808     {
   14809       $as_echo "/* $configure_input  */" \
   14810       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14811     } >"$tmp/config.h" \
   14812       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14813 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14814    { (exit 1); exit 1; }; }
   14815     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14816       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14817 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14818     else
   14819       rm -f "$ac_file"
   14820       mv "$tmp/config.h" "$ac_file" \
   14821 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14822 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14823    { (exit 1); exit 1; }; }
   14824     fi
   14825   else
   14826     $as_echo "/* $configure_input  */" \
   14827       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14828       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   14829 $as_echo "$as_me: error: could not create -" >&2;}
   14830    { (exit 1); exit 1; }; }
   14831   fi
   14832 # Compute "$ac_file"'s index in $config_headers.
   14833 _am_arg="$ac_file"
   14834 _am_stamp_count=1
   14835 for _am_header in $config_headers :; do
   14836   case $_am_header in
   14837     $_am_arg | $_am_arg:* )
   14838       break ;;
   14839     * )
   14840       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14841   esac
   14842 done
   14843 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14844 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14845 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14846 	 X"$_am_arg" : 'X\(//\)$' \| \
   14847 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14848 $as_echo X"$_am_arg" |
   14849     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14850 	    s//\1/
   14851 	    q
   14852 	  }
   14853 	  /^X\(\/\/\)[^/].*/{
   14854 	    s//\1/
   14855 	    q
   14856 	  }
   14857 	  /^X\(\/\/\)$/{
   14858 	    s//\1/
   14859 	    q
   14860 	  }
   14861 	  /^X\(\/\).*/{
   14862 	    s//\1/
   14863 	    q
   14864 	  }
   14865 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14866  ;;
   14867 
   14868   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   14869 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14870  ;;
   14871   esac
   14872 
   14873 
   14874   case $ac_file$ac_mode in
   14875     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14876 # are listed without --file.  Let's play safe and only enable the eval
   14877 # if we detect the quoting.
   14878 case $CONFIG_FILES in
   14879 *\'*) eval set x "$CONFIG_FILES" ;;
   14880 *)   set x $CONFIG_FILES ;;
   14881 esac
   14882 shift
   14883 for mf
   14884 do
   14885   # Strip MF so we end up with the name of the file.
   14886   mf=`echo "$mf" | sed -e 's/:.*$//'`
   14887   # Check whether this is an Automake generated Makefile or not.
   14888   # We used to match only the files named `Makefile.in', but
   14889   # some people rename them; so instead we look at the file content.
   14890   # Grep'ing the first line is not enough: some people post-process
   14891   # each Makefile.in and add a new line on top of each file to say so.
   14892   # Grep'ing the whole file is not good either: AIX grep has a line
   14893   # limit of 2048, but all sed's we know have understand at least 4000.
   14894   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14895     dirpart=`$as_dirname -- "$mf" ||
   14896 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14897 	 X"$mf" : 'X\(//\)[^/]' \| \
   14898 	 X"$mf" : 'X\(//\)$' \| \
   14899 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14900 $as_echo X"$mf" |
   14901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14902 	    s//\1/
   14903 	    q
   14904 	  }
   14905 	  /^X\(\/\/\)[^/].*/{
   14906 	    s//\1/
   14907 	    q
   14908 	  }
   14909 	  /^X\(\/\/\)$/{
   14910 	    s//\1/
   14911 	    q
   14912 	  }
   14913 	  /^X\(\/\).*/{
   14914 	    s//\1/
   14915 	    q
   14916 	  }
   14917 	  s/.*/./; q'`
   14918   else
   14919     continue
   14920   fi
   14921   # Extract the definition of DEPDIR, am__include, and am__quote
   14922   # from the Makefile without running `make'.
   14923   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14924   test -z "$DEPDIR" && continue
   14925   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14926   test -z "am__include" && continue
   14927   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14928   # When using ansi2knr, U may be empty or an underscore; expand it
   14929   U=`sed -n 's/^U = //p' < "$mf"`
   14930   # Find all dependency output files, they are included files with
   14931   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14932   # simplest approach to changing $(DEPDIR) to its actual value in the
   14933   # expansion.
   14934   for file in `sed -n "
   14935     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14936        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14937     # Make sure the directory exists.
   14938     test -f "$dirpart/$file" && continue
   14939     fdir=`$as_dirname -- "$file" ||
   14940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14941 	 X"$file" : 'X\(//\)[^/]' \| \
   14942 	 X"$file" : 'X\(//\)$' \| \
   14943 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14944 $as_echo X"$file" |
   14945     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14946 	    s//\1/
   14947 	    q
   14948 	  }
   14949 	  /^X\(\/\/\)[^/].*/{
   14950 	    s//\1/
   14951 	    q
   14952 	  }
   14953 	  /^X\(\/\/\)$/{
   14954 	    s//\1/
   14955 	    q
   14956 	  }
   14957 	  /^X\(\/\).*/{
   14958 	    s//\1/
   14959 	    q
   14960 	  }
   14961 	  s/.*/./; q'`
   14962     { as_dir=$dirpart/$fdir
   14963   case $as_dir in #(
   14964   -*) as_dir=./$as_dir;;
   14965   esac
   14966   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14967     as_dirs=
   14968     while :; do
   14969       case $as_dir in #(
   14970       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14971       *) as_qdir=$as_dir;;
   14972       esac
   14973       as_dirs="'$as_qdir' $as_dirs"
   14974       as_dir=`$as_dirname -- "$as_dir" ||
   14975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14976 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14977 	 X"$as_dir" : 'X\(//\)$' \| \
   14978 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14979 $as_echo X"$as_dir" |
   14980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14981 	    s//\1/
   14982 	    q
   14983 	  }
   14984 	  /^X\(\/\/\)[^/].*/{
   14985 	    s//\1/
   14986 	    q
   14987 	  }
   14988 	  /^X\(\/\/\)$/{
   14989 	    s//\1/
   14990 	    q
   14991 	  }
   14992 	  /^X\(\/\).*/{
   14993 	    s//\1/
   14994 	    q
   14995 	  }
   14996 	  s/.*/./; q'`
   14997       test -d "$as_dir" && break
   14998     done
   14999     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15000   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   15001 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   15002    { (exit 1); exit 1; }; }; }
   15003     # echo "creating $dirpart/$file"
   15004     echo '# dummy' > "$dirpart/$file"
   15005   done
   15006 done
   15007  ;;
   15008     "libtool":C)
   15009 
   15010     # See if we are running on zsh, and set the options which allow our
   15011     # commands through without removal of \ escapes.
   15012     if test -n "${ZSH_VERSION+set}" ; then
   15013       setopt NO_GLOB_SUBST
   15014     fi
   15015 
   15016     cfgfile="${ofile}T"
   15017     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15018     $RM "$cfgfile"
   15019 
   15020     cat <<_LT_EOF >> "$cfgfile"
   15021 #! $SHELL
   15022 
   15023 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15024 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15025 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15026 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15027 #
   15028 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15029 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15030 #   Written by Gordon Matzigkeit, 1996
   15031 #
   15032 #   This file is part of GNU Libtool.
   15033 #
   15034 # GNU Libtool is free software; you can redistribute it and/or
   15035 # modify it under the terms of the GNU General Public License as
   15036 # published by the Free Software Foundation; either version 2 of
   15037 # the License, or (at your option) any later version.
   15038 #
   15039 # As a special exception to the GNU General Public License,
   15040 # if you distribute this file as part of a program or library that
   15041 # is built using GNU Libtool, you may include this file under the
   15042 # same distribution terms that you use for the rest of that program.
   15043 #
   15044 # GNU Libtool is distributed in the hope that it will be useful,
   15045 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15046 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15047 # GNU General Public License for more details.
   15048 #
   15049 # You should have received a copy of the GNU General Public License
   15050 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15051 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15052 # obtained by writing to the Free Software Foundation, Inc.,
   15053 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15054 
   15055 
   15056 # The names of the tagged configurations supported by this script.
   15057 available_tags=""
   15058 
   15059 # ### BEGIN LIBTOOL CONFIG
   15060 
   15061 # Whether or not to build static libraries.
   15062 build_old_libs=$enable_static
   15063 
   15064 # Which release of libtool.m4 was used?
   15065 macro_version=$macro_version
   15066 macro_revision=$macro_revision
   15067 
   15068 # Whether or not to build shared libraries.
   15069 build_libtool_libs=$enable_shared
   15070 
   15071 # What type of objects to build.
   15072 pic_mode=$pic_mode
   15073 
   15074 # Whether or not to optimize for fast installation.
   15075 fast_install=$enable_fast_install
   15076 
   15077 # The host system.
   15078 host_alias=$host_alias
   15079 host=$host
   15080 host_os=$host_os
   15081 
   15082 # The build system.
   15083 build_alias=$build_alias
   15084 build=$build
   15085 build_os=$build_os
   15086 
   15087 # A sed program that does not truncate output.
   15088 SED=$lt_SED
   15089 
   15090 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15091 Xsed="\$SED -e 1s/^X//"
   15092 
   15093 # A grep program that handles long lines.
   15094 GREP=$lt_GREP
   15095 
   15096 # An ERE matcher.
   15097 EGREP=$lt_EGREP
   15098 
   15099 # A literal string matcher.
   15100 FGREP=$lt_FGREP
   15101 
   15102 # A BSD- or MS-compatible name lister.
   15103 NM=$lt_NM
   15104 
   15105 # Whether we need soft or hard links.
   15106 LN_S=$lt_LN_S
   15107 
   15108 # What is the maximum length of a command?
   15109 max_cmd_len=$max_cmd_len
   15110 
   15111 # Object file suffix (normally "o").
   15112 objext=$ac_objext
   15113 
   15114 # Executable file suffix (normally "").
   15115 exeext=$exeext
   15116 
   15117 # whether the shell understands "unset".
   15118 lt_unset=$lt_unset
   15119 
   15120 # turn spaces into newlines.
   15121 SP2NL=$lt_lt_SP2NL
   15122 
   15123 # turn newlines into spaces.
   15124 NL2SP=$lt_lt_NL2SP
   15125 
   15126 # How to create reloadable object files.
   15127 reload_flag=$lt_reload_flag
   15128 reload_cmds=$lt_reload_cmds
   15129 
   15130 # An object symbol dumper.
   15131 OBJDUMP=$lt_OBJDUMP
   15132 
   15133 # Method to check whether dependent libraries are shared objects.
   15134 deplibs_check_method=$lt_deplibs_check_method
   15135 
   15136 # Command to use when deplibs_check_method == "file_magic".
   15137 file_magic_cmd=$lt_file_magic_cmd
   15138 
   15139 # The archiver.
   15140 AR=$lt_AR
   15141 AR_FLAGS=$lt_AR_FLAGS
   15142 
   15143 # A symbol stripping program.
   15144 STRIP=$lt_STRIP
   15145 
   15146 # Commands used to install an old-style archive.
   15147 RANLIB=$lt_RANLIB
   15148 old_postinstall_cmds=$lt_old_postinstall_cmds
   15149 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15150 
   15151 # A C compiler.
   15152 LTCC=$lt_CC
   15153 
   15154 # LTCC compiler flags.
   15155 LTCFLAGS=$lt_CFLAGS
   15156 
   15157 # Take the output of nm and produce a listing of raw symbols and C names.
   15158 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15159 
   15160 # Transform the output of nm in a proper C declaration.
   15161 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15162 
   15163 # Transform the output of nm in a C name address pair.
   15164 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15165 
   15166 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15167 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15168 
   15169 # The name of the directory that contains temporary libtool files.
   15170 objdir=$objdir
   15171 
   15172 # Shell to use when invoking shell scripts.
   15173 SHELL=$lt_SHELL
   15174 
   15175 # An echo program that does not interpret backslashes.
   15176 ECHO=$lt_ECHO
   15177 
   15178 # Used to examine libraries when file_magic_cmd begins with "file".
   15179 MAGIC_CMD=$MAGIC_CMD
   15180 
   15181 # Must we lock files when doing compilation?
   15182 need_locks=$lt_need_locks
   15183 
   15184 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15185 DSYMUTIL=$lt_DSYMUTIL
   15186 
   15187 # Tool to change global to local symbols on Mac OS X.
   15188 NMEDIT=$lt_NMEDIT
   15189 
   15190 # Tool to manipulate fat objects and archives on Mac OS X.
   15191 LIPO=$lt_LIPO
   15192 
   15193 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15194 OTOOL=$lt_OTOOL
   15195 
   15196 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15197 OTOOL64=$lt_OTOOL64
   15198 
   15199 # Old archive suffix (normally "a").
   15200 libext=$libext
   15201 
   15202 # Shared library suffix (normally ".so").
   15203 shrext_cmds=$lt_shrext_cmds
   15204 
   15205 # The commands to extract the exported symbol list from a shared archive.
   15206 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15207 
   15208 # Variables whose values should be saved in libtool wrapper scripts and
   15209 # restored at link time.
   15210 variables_saved_for_relink=$lt_variables_saved_for_relink
   15211 
   15212 # Do we need the "lib" prefix for modules?
   15213 need_lib_prefix=$need_lib_prefix
   15214 
   15215 # Do we need a version for libraries?
   15216 need_version=$need_version
   15217 
   15218 # Library versioning type.
   15219 version_type=$version_type
   15220 
   15221 # Shared library runtime path variable.
   15222 runpath_var=$runpath_var
   15223 
   15224 # Shared library path variable.
   15225 shlibpath_var=$shlibpath_var
   15226 
   15227 # Is shlibpath searched before the hard-coded library search path?
   15228 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15229 
   15230 # Format of library name prefix.
   15231 libname_spec=$lt_libname_spec
   15232 
   15233 # List of archive names.  First name is the real one, the rest are links.
   15234 # The last name is the one that the linker finds with -lNAME
   15235 library_names_spec=$lt_library_names_spec
   15236 
   15237 # The coded name of the library, if different from the real name.
   15238 soname_spec=$lt_soname_spec
   15239 
   15240 # Command to use after installation of a shared archive.
   15241 postinstall_cmds=$lt_postinstall_cmds
   15242 
   15243 # Command to use after uninstallation of a shared archive.
   15244 postuninstall_cmds=$lt_postuninstall_cmds
   15245 
   15246 # Commands used to finish a libtool library installation in a directory.
   15247 finish_cmds=$lt_finish_cmds
   15248 
   15249 # As "finish_cmds", except a single script fragment to be evaled but
   15250 # not shown.
   15251 finish_eval=$lt_finish_eval
   15252 
   15253 # Whether we should hardcode library paths into libraries.
   15254 hardcode_into_libs=$hardcode_into_libs
   15255 
   15256 # Compile-time system search path for libraries.
   15257 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15258 
   15259 # Run-time system search path for libraries.
   15260 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15261 
   15262 # Whether dlopen is supported.
   15263 dlopen_support=$enable_dlopen
   15264 
   15265 # Whether dlopen of programs is supported.
   15266 dlopen_self=$enable_dlopen_self
   15267 
   15268 # Whether dlopen of statically linked programs is supported.
   15269 dlopen_self_static=$enable_dlopen_self_static
   15270 
   15271 # Commands to strip libraries.
   15272 old_striplib=$lt_old_striplib
   15273 striplib=$lt_striplib
   15274 
   15275 
   15276 # The linker used to build libraries.
   15277 LD=$lt_LD
   15278 
   15279 # Commands used to build an old-style archive.
   15280 old_archive_cmds=$lt_old_archive_cmds
   15281 
   15282 # A language specific compiler.
   15283 CC=$lt_compiler
   15284 
   15285 # Is the compiler the GNU compiler?
   15286 with_gcc=$GCC
   15287 
   15288 # Compiler flag to turn off builtin functions.
   15289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15290 
   15291 # How to pass a linker flag through the compiler.
   15292 wl=$lt_lt_prog_compiler_wl
   15293 
   15294 # Additional compiler flags for building library objects.
   15295 pic_flag=$lt_lt_prog_compiler_pic
   15296 
   15297 # Compiler flag to prevent dynamic linking.
   15298 link_static_flag=$lt_lt_prog_compiler_static
   15299 
   15300 # Does compiler simultaneously support -c and -o options?
   15301 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15302 
   15303 # Whether or not to add -lc for building shared libraries.
   15304 build_libtool_need_lc=$archive_cmds_need_lc
   15305 
   15306 # Whether or not to disallow shared libs when runtime libs are static.
   15307 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15308 
   15309 # Compiler flag to allow reflexive dlopens.
   15310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15311 
   15312 # Compiler flag to generate shared objects directly from archives.
   15313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15314 
   15315 # Whether the compiler copes with passing no objects directly.
   15316 compiler_needs_object=$lt_compiler_needs_object
   15317 
   15318 # Create an old-style archive from a shared archive.
   15319 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15320 
   15321 # Create a temporary old-style archive to link instead of a shared archive.
   15322 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15323 
   15324 # Commands used to build a shared archive.
   15325 archive_cmds=$lt_archive_cmds
   15326 archive_expsym_cmds=$lt_archive_expsym_cmds
   15327 
   15328 # Commands used to build a loadable module if different from building
   15329 # a shared archive.
   15330 module_cmds=$lt_module_cmds
   15331 module_expsym_cmds=$lt_module_expsym_cmds
   15332 
   15333 # Whether we are building with GNU ld or not.
   15334 with_gnu_ld=$lt_with_gnu_ld
   15335 
   15336 # Flag that allows shared libraries with undefined symbols to be built.
   15337 allow_undefined_flag=$lt_allow_undefined_flag
   15338 
   15339 # Flag that enforces no undefined symbols.
   15340 no_undefined_flag=$lt_no_undefined_flag
   15341 
   15342 # Flag to hardcode \$libdir into a binary during linking.
   15343 # This must work even if \$libdir does not exist
   15344 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15345 
   15346 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15347 # during linking.  This must work even if \$libdir does not exist.
   15348 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15349 
   15350 # Whether we need a single "-rpath" flag with a separated argument.
   15351 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15352 
   15353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15354 # DIR into the resulting binary.
   15355 hardcode_direct=$hardcode_direct
   15356 
   15357 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15358 # DIR into the resulting binary and the resulting library dependency is
   15359 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15360 # library is relocated.
   15361 hardcode_direct_absolute=$hardcode_direct_absolute
   15362 
   15363 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15364 # into the resulting binary.
   15365 hardcode_minus_L=$hardcode_minus_L
   15366 
   15367 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15368 # into the resulting binary.
   15369 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15370 
   15371 # Set to "yes" if building a shared library automatically hardcodes DIR
   15372 # into the library and all subsequent libraries and executables linked
   15373 # against it.
   15374 hardcode_automatic=$hardcode_automatic
   15375 
   15376 # Set to yes if linker adds runtime paths of dependent libraries
   15377 # to runtime path list.
   15378 inherit_rpath=$inherit_rpath
   15379 
   15380 # Whether libtool must link a program against all its dependency libraries.
   15381 link_all_deplibs=$link_all_deplibs
   15382 
   15383 # Fix the shell variable \$srcfile for the compiler.
   15384 fix_srcfile_path=$lt_fix_srcfile_path
   15385 
   15386 # Set to "yes" if exported symbols are required.
   15387 always_export_symbols=$always_export_symbols
   15388 
   15389 # The commands to list exported symbols.
   15390 export_symbols_cmds=$lt_export_symbols_cmds
   15391 
   15392 # Symbols that should not be listed in the preloaded symbols.
   15393 exclude_expsyms=$lt_exclude_expsyms
   15394 
   15395 # Symbols that must always be exported.
   15396 include_expsyms=$lt_include_expsyms
   15397 
   15398 # Commands necessary for linking programs (against libraries) with templates.
   15399 prelink_cmds=$lt_prelink_cmds
   15400 
   15401 # Specify filename containing input files.
   15402 file_list_spec=$lt_file_list_spec
   15403 
   15404 # How to hardcode a shared library path into an executable.
   15405 hardcode_action=$hardcode_action
   15406 
   15407 # ### END LIBTOOL CONFIG
   15408 
   15409 _LT_EOF
   15410 
   15411   case $host_os in
   15412   aix3*)
   15413     cat <<\_LT_EOF >> "$cfgfile"
   15414 # AIX sometimes has problems with the GCC collect2 program.  For some
   15415 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15416 # vanish in a puff of smoke.
   15417 if test "X${COLLECT_NAMES+set}" != Xset; then
   15418   COLLECT_NAMES=
   15419   export COLLECT_NAMES
   15420 fi
   15421 _LT_EOF
   15422     ;;
   15423   esac
   15424 
   15425 
   15426 ltmain="$ac_aux_dir/ltmain.sh"
   15427 
   15428 
   15429   # We use sed instead of cat because bash on DJGPP gets confused if
   15430   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15431   # text mode, it properly converts lines to CR/LF.  This bash problem
   15432   # is reportedly fixed, but why not run on old versions too?
   15433   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15434     || (rm -f "$cfgfile"; exit 1)
   15435 
   15436   case $xsi_shell in
   15437   yes)
   15438     cat << \_LT_EOF >> "$cfgfile"
   15439 
   15440 # func_dirname file append nondir_replacement
   15441 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15442 # otherwise set result to NONDIR_REPLACEMENT.
   15443 func_dirname ()
   15444 {
   15445   case ${1} in
   15446     */*) func_dirname_result="${1%/*}${2}" ;;
   15447     *  ) func_dirname_result="${3}" ;;
   15448   esac
   15449 }
   15450 
   15451 # func_basename file
   15452 func_basename ()
   15453 {
   15454   func_basename_result="${1##*/}"
   15455 }
   15456 
   15457 # func_dirname_and_basename file append nondir_replacement
   15458 # perform func_basename and func_dirname in a single function
   15459 # call:
   15460 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15461 #             add APPEND to the result, otherwise set result
   15462 #             to NONDIR_REPLACEMENT.
   15463 #             value returned in "$func_dirname_result"
   15464 #   basename: Compute filename of FILE.
   15465 #             value retuned in "$func_basename_result"
   15466 # Implementation must be kept synchronized with func_dirname
   15467 # and func_basename. For efficiency, we do not delegate to
   15468 # those functions but instead duplicate the functionality here.
   15469 func_dirname_and_basename ()
   15470 {
   15471   case ${1} in
   15472     */*) func_dirname_result="${1%/*}${2}" ;;
   15473     *  ) func_dirname_result="${3}" ;;
   15474   esac
   15475   func_basename_result="${1##*/}"
   15476 }
   15477 
   15478 # func_stripname prefix suffix name
   15479 # strip PREFIX and SUFFIX off of NAME.
   15480 # PREFIX and SUFFIX must not contain globbing or regex special
   15481 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15482 # dot (in which case that matches only a dot).
   15483 func_stripname ()
   15484 {
   15485   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15486   # positional parameters, so assign one to ordinary parameter first.
   15487   func_stripname_result=${3}
   15488   func_stripname_result=${func_stripname_result#"${1}"}
   15489   func_stripname_result=${func_stripname_result%"${2}"}
   15490 }
   15491 
   15492 # func_opt_split
   15493 func_opt_split ()
   15494 {
   15495   func_opt_split_opt=${1%%=*}
   15496   func_opt_split_arg=${1#*=}
   15497 }
   15498 
   15499 # func_lo2o object
   15500 func_lo2o ()
   15501 {
   15502   case ${1} in
   15503     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15504     *)    func_lo2o_result=${1} ;;
   15505   esac
   15506 }
   15507 
   15508 # func_xform libobj-or-source
   15509 func_xform ()
   15510 {
   15511   func_xform_result=${1%.*}.lo
   15512 }
   15513 
   15514 # func_arith arithmetic-term...
   15515 func_arith ()
   15516 {
   15517   func_arith_result=$(( $* ))
   15518 }
   15519 
   15520 # func_len string
   15521 # STRING may not start with a hyphen.
   15522 func_len ()
   15523 {
   15524   func_len_result=${#1}
   15525 }
   15526 
   15527 _LT_EOF
   15528     ;;
   15529   *) # Bourne compatible functions.
   15530     cat << \_LT_EOF >> "$cfgfile"
   15531 
   15532 # func_dirname file append nondir_replacement
   15533 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15534 # otherwise set result to NONDIR_REPLACEMENT.
   15535 func_dirname ()
   15536 {
   15537   # Extract subdirectory from the argument.
   15538   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15539   if test "X$func_dirname_result" = "X${1}"; then
   15540     func_dirname_result="${3}"
   15541   else
   15542     func_dirname_result="$func_dirname_result${2}"
   15543   fi
   15544 }
   15545 
   15546 # func_basename file
   15547 func_basename ()
   15548 {
   15549   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15550 }
   15551 
   15552 
   15553 # func_stripname prefix suffix name
   15554 # strip PREFIX and SUFFIX off of NAME.
   15555 # PREFIX and SUFFIX must not contain globbing or regex special
   15556 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15557 # dot (in which case that matches only a dot).
   15558 # func_strip_suffix prefix name
   15559 func_stripname ()
   15560 {
   15561   case ${2} in
   15562     .*) func_stripname_result=`$ECHO "X${3}" \
   15563            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15564     *)  func_stripname_result=`$ECHO "X${3}" \
   15565            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15566   esac
   15567 }
   15568 
   15569 # sed scripts:
   15570 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15571 my_sed_long_arg='1s/^-[^=]*=//'
   15572 
   15573 # func_opt_split
   15574 func_opt_split ()
   15575 {
   15576   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15577   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15578 }
   15579 
   15580 # func_lo2o object
   15581 func_lo2o ()
   15582 {
   15583   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15584 }
   15585 
   15586 # func_xform libobj-or-source
   15587 func_xform ()
   15588 {
   15589   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15590 }
   15591 
   15592 # func_arith arithmetic-term...
   15593 func_arith ()
   15594 {
   15595   func_arith_result=`expr "$@"`
   15596 }
   15597 
   15598 # func_len string
   15599 # STRING may not start with a hyphen.
   15600 func_len ()
   15601 {
   15602   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15603 }
   15604 
   15605 _LT_EOF
   15606 esac
   15607 
   15608 case $lt_shell_append in
   15609   yes)
   15610     cat << \_LT_EOF >> "$cfgfile"
   15611 
   15612 # func_append var value
   15613 # Append VALUE to the end of shell variable VAR.
   15614 func_append ()
   15615 {
   15616   eval "$1+=\$2"
   15617 }
   15618 _LT_EOF
   15619     ;;
   15620   *)
   15621     cat << \_LT_EOF >> "$cfgfile"
   15622 
   15623 # func_append var value
   15624 # Append VALUE to the end of shell variable VAR.
   15625 func_append ()
   15626 {
   15627   eval "$1=\$$1\$2"
   15628 }
   15629 
   15630 _LT_EOF
   15631     ;;
   15632   esac
   15633 
   15634 
   15635   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15636     || (rm -f "$cfgfile"; exit 1)
   15637 
   15638   mv -f "$cfgfile" "$ofile" ||
   15639     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15640   chmod +x "$ofile"
   15641 
   15642  ;;
   15643 
   15644   esac
   15645 done # for ac_tag
   15646 
   15647 
   15648 { (exit 0); exit 0; }
   15649 _ACEOF
   15650 chmod +x $CONFIG_STATUS
   15651 ac_clean_files=$ac_clean_files_save
   15652 
   15653 test $ac_write_fail = 0 ||
   15654   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15655 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15656    { (exit 1); exit 1; }; }
   15657 
   15658 
   15659 # configure is writing to config.log, and then calls config.status.
   15660 # config.status does its own redirection, appending to config.log.
   15661 # Unfortunately, on DOS this fails, as config.log is still kept open
   15662 # by configure, so config.status won't be able to write to it; its
   15663 # output is simply discarded.  So we exec the FD to /dev/null,
   15664 # effectively closing config.log, so it can be properly (re)opened and
   15665 # appended to by config.status.  When coming back to configure, we
   15666 # need to make the FD available again.
   15667 if test "$no_create" != yes; then
   15668   ac_cs_success=:
   15669   ac_config_status_args=
   15670   test "$silent" = yes &&
   15671     ac_config_status_args="$ac_config_status_args --quiet"
   15672   exec 5>/dev/null
   15673   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15674   exec 5>>config.log
   15675   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15676   # would make configure fail if this is the last instruction.
   15677   $ac_cs_success || { (exit 1); exit 1; }
   15678 fi
   15679 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15680   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15681 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15682 fi
   15683 
   15684