Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXtst 1.1.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$lt_ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 ECHO=${lt_ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $ECHO works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<_LT_EOF
    606 $*
    607 _LT_EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$lt_ECHO"; then
    616   if test "X${echo_test_string+set}" != Xset; then
    617     # find a string as large as possible, as long as the shell can cope with it
    618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    621 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    622       then
    623         break
    624       fi
    625     done
    626   fi
    627 
    628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    630      test "X$echo_testing_string" = "X$echo_test_string"; then
    631     :
    632   else
    633     # The Solaris, AIX, and Digital Unix default echo programs unquote
    634     # backslashes.  This makes it impossible to quote backslashes using
    635     #   echo "$something" | sed 's/\\/\\\\/g'
    636     #
    637     # So, first we look for a working echo in the user's PATH.
    638 
    639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    640     for dir in $PATH /usr/ucb; do
    641       IFS="$lt_save_ifs"
    642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    645          test "X$echo_testing_string" = "X$echo_test_string"; then
    646         ECHO="$dir/echo"
    647         break
    648       fi
    649     done
    650     IFS="$lt_save_ifs"
    651 
    652     if test "X$ECHO" = Xecho; then
    653       # We didn't find a better echo, so look for alternatives.
    654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    656          test "X$echo_testing_string" = "X$echo_test_string"; then
    657         # This shell has a builtin print -r that does the trick.
    658         ECHO='print -r'
    659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    660 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    661         # If we have ksh, try running configure again with it.
    662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    663         export ORIGINAL_CONFIG_SHELL
    664         CONFIG_SHELL=/bin/ksh
    665         export CONFIG_SHELL
    666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    667       else
    668         # Try using printf.
    669         ECHO='printf %s\n'
    670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    671 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    672 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    673 	  # Cool, printf works
    674 	  :
    675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    676 	     test "X$echo_testing_string" = 'X\t' &&
    677 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    678 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    679 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    680 	  export CONFIG_SHELL
    681 	  SHELL="$CONFIG_SHELL"
    682 	  export SHELL
    683 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    685 	     test "X$echo_testing_string" = 'X\t' &&
    686 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    687 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    688 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    689         else
    690 	  # maybe with a smaller string...
    691 	  prev=:
    692 
    693 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    694 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    695 	    then
    696 	      break
    697 	    fi
    698 	    prev="$cmd"
    699 	  done
    700 
    701 	  if test "$prev" != 'sed 50q "$0"'; then
    702 	    echo_test_string=`eval $prev`
    703 	    export echo_test_string
    704 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    705 	  else
    706 	    # Oops.  We lost completely, so just stick with echo.
    707 	    ECHO=echo
    708 	  fi
    709         fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 
    715 # Copy echo and quote the copy suitably for passing to libtool from
    716 # the Makefile, instead of quoting the original, which is used later.
    717 lt_ECHO=$ECHO
    718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    720 fi
    721 
    722 
    723 
    724 
    725 exec 7<&0 </dev/null 6>&1
    726 
    727 # Name of the host.
    728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    729 # so uname gets run too.
    730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    731 
    732 #
    733 # Initializations.
    734 #
    735 ac_default_prefix=/usr/local
    736 ac_clean_files=
    737 ac_config_libobj_dir=.
    738 LIBOBJS=
    739 cross_compiling=no
    740 subdirs=
    741 MFLAGS=
    742 MAKEFLAGS=
    743 SHELL=${CONFIG_SHELL-/bin/sh}
    744 
    745 # Identity of this package.
    746 PACKAGE_NAME='libXtst'
    747 PACKAGE_TARNAME='libXtst'
    748 PACKAGE_VERSION='1.1.0'
    749 PACKAGE_STRING='libXtst 1.1.0'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 # Factoring default headers for most tests.
    753 ac_includes_default="\
    754 #include <stdio.h>
    755 #ifdef HAVE_SYS_TYPES_H
    756 # include <sys/types.h>
    757 #endif
    758 #ifdef HAVE_SYS_STAT_H
    759 # include <sys/stat.h>
    760 #endif
    761 #ifdef STDC_HEADERS
    762 # include <stdlib.h>
    763 # include <stddef.h>
    764 #else
    765 # ifdef HAVE_STDLIB_H
    766 #  include <stdlib.h>
    767 # endif
    768 #endif
    769 #ifdef HAVE_STRING_H
    770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    771 #  include <memory.h>
    772 # endif
    773 # include <string.h>
    774 #endif
    775 #ifdef HAVE_STRINGS_H
    776 # include <strings.h>
    777 #endif
    778 #ifdef HAVE_INTTYPES_H
    779 # include <inttypes.h>
    780 #endif
    781 #ifdef HAVE_STDINT_H
    782 # include <stdint.h>
    783 #endif
    784 #ifdef HAVE_UNISTD_H
    785 # include <unistd.h>
    786 #endif"
    787 
    788 ac_subst_vars='am__EXEEXT_FALSE
    789 am__EXEEXT_TRUE
    790 LTLIBOBJS
    791 LIBOBJS
    792 MAKE_LINT_LIB_FALSE
    793 MAKE_LINT_LIB_TRUE
    794 LINTLIB
    795 LINT_FALSE
    796 LINT_TRUE
    797 LINT_FLAGS
    798 LINT
    799 XTST_LIBS
    800 XTST_CFLAGS
    801 PKG_CONFIG
    802 HAVE_XMLTO_FALSE
    803 HAVE_XMLTO_TRUE
    804 XMLTO
    805 ADMIN_MAN_DIR
    806 DRIVER_MAN_DIR
    807 MISC_MAN_DIR
    808 FILE_MAN_DIR
    809 LIB_MAN_DIR
    810 APP_MAN_DIR
    811 ADMIN_MAN_SUFFIX
    812 DRIVER_MAN_SUFFIX
    813 MISC_MAN_SUFFIX
    814 FILE_MAN_SUFFIX
    815 LIB_MAN_SUFFIX
    816 APP_MAN_SUFFIX
    817 distcleancheck_listfiles
    818 CHANGELOG_CMD
    819 AM_BACKSLASH
    820 AM_DEFAULT_VERBOSITY
    821 CWARNFLAGS
    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 host_os
    842 host_vendor
    843 host_cpu
    844 host
    845 build_os
    846 build_vendor
    847 build_cpu
    848 build
    849 LIBTOOL
    850 am__fastdepCC_FALSE
    851 am__fastdepCC_TRUE
    852 CCDEPMODE
    853 AMDEPBACKSLASH
    854 AMDEP_FALSE
    855 AMDEP_TRUE
    856 am__quote
    857 am__include
    858 DEPDIR
    859 OBJEXT
    860 EXEEXT
    861 ac_ct_CC
    862 CPPFLAGS
    863 LDFLAGS
    864 CFLAGS
    865 CC
    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_dependency_tracking
    934 enable_shared
    935 enable_static
    936 with_pic
    937 enable_fast_install
    938 with_gnu_ld
    939 enable_libtool_lock
    940 enable_silent_rules
    941 enable_strict_compilation
    942 with_release_version
    943 with_lint
    944 enable_lint_library
    945 '
    946       ac_precious_vars='build_alias
    947 host_alias
    948 target_alias
    949 CC
    950 CFLAGS
    951 LDFLAGS
    952 LIBS
    953 CPPFLAGS
    954 CPP
    955 XMLTO
    956 PKG_CONFIG
    957 XTST_CFLAGS
    958 XTST_LIBS'
    959 
    960 
    961 # Initialize some variables set by options.
    962 ac_init_help=
    963 ac_init_version=false
    964 ac_unrecognized_opts=
    965 ac_unrecognized_sep=
    966 # The variables have the same names as the options, with
    967 # dashes changed to underlines.
    968 cache_file=/dev/null
    969 exec_prefix=NONE
    970 no_create=
    971 no_recursion=
    972 prefix=NONE
    973 program_prefix=NONE
    974 program_suffix=NONE
    975 program_transform_name=s,x,x,
    976 silent=
    977 site=
    978 srcdir=
    979 verbose=
    980 x_includes=NONE
    981 x_libraries=NONE
    982 
    983 # Installation directory options.
    984 # These are left unexpanded so users can "make install exec_prefix=/foo"
    985 # and all the variables that are supposed to be based on exec_prefix
    986 # by default will actually change.
    987 # Use braces instead of parens because sh, perl, etc. also accept them.
    988 # (The list follows the same order as the GNU Coding Standards.)
    989 bindir='${exec_prefix}/bin'
    990 sbindir='${exec_prefix}/sbin'
    991 libexecdir='${exec_prefix}/libexec'
    992 datarootdir='${prefix}/share'
    993 datadir='${datarootdir}'
    994 sysconfdir='${prefix}/etc'
    995 sharedstatedir='${prefix}/com'
    996 localstatedir='${prefix}/var'
    997 includedir='${prefix}/include'
    998 oldincludedir='/usr/include'
    999 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1000 infodir='${datarootdir}/info'
   1001 htmldir='${docdir}'
   1002 dvidir='${docdir}'
   1003 pdfdir='${docdir}'
   1004 psdir='${docdir}'
   1005 libdir='${exec_prefix}/lib'
   1006 localedir='${datarootdir}/locale'
   1007 mandir='${datarootdir}/man'
   1008 
   1009 ac_prev=
   1010 ac_dashdash=
   1011 for ac_option
   1012 do
   1013   # If the previous option needs an argument, assign it.
   1014   if test -n "$ac_prev"; then
   1015     eval $ac_prev=\$ac_option
   1016     ac_prev=
   1017     continue
   1018   fi
   1019 
   1020   case $ac_option in
   1021   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1022   *)	ac_optarg=yes ;;
   1023   esac
   1024 
   1025   # Accept the important Cygnus configure options, so we can diagnose typos.
   1026 
   1027   case $ac_dashdash$ac_option in
   1028   --)
   1029     ac_dashdash=yes ;;
   1030 
   1031   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1032     ac_prev=bindir ;;
   1033   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1034     bindir=$ac_optarg ;;
   1035 
   1036   -build | --build | --buil | --bui | --bu)
   1037     ac_prev=build_alias ;;
   1038   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1039     build_alias=$ac_optarg ;;
   1040 
   1041   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1042   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1043     ac_prev=cache_file ;;
   1044   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1045   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1046     cache_file=$ac_optarg ;;
   1047 
   1048   --config-cache | -C)
   1049     cache_file=config.cache ;;
   1050 
   1051   -datadir | --datadir | --datadi | --datad)
   1052     ac_prev=datadir ;;
   1053   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1054     datadir=$ac_optarg ;;
   1055 
   1056   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1057   | --dataroo | --dataro | --datar)
   1058     ac_prev=datarootdir ;;
   1059   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1060   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1061     datarootdir=$ac_optarg ;;
   1062 
   1063   -disable-* | --disable-*)
   1064     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1065     # Reject names that are not valid shell variable names.
   1066     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1067       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1068    { (exit 1); exit 1; }; }
   1069     ac_useropt_orig=$ac_useropt
   1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1071     case $ac_user_opts in
   1072       *"
   1073 "enable_$ac_useropt"
   1074 "*) ;;
   1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1076 	 ac_unrecognized_sep=', ';;
   1077     esac
   1078     eval enable_$ac_useropt=no ;;
   1079 
   1080   -docdir | --docdir | --docdi | --doc | --do)
   1081     ac_prev=docdir ;;
   1082   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1083     docdir=$ac_optarg ;;
   1084 
   1085   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1086     ac_prev=dvidir ;;
   1087   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1088     dvidir=$ac_optarg ;;
   1089 
   1090   -enable-* | --enable-*)
   1091     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1092     # Reject names that are not valid shell variable names.
   1093     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1094       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1095    { (exit 1); exit 1; }; }
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "enable_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval enable_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1108   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1109   | --exec | --exe | --ex)
   1110     ac_prev=exec_prefix ;;
   1111   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1112   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1113   | --exec=* | --exe=* | --ex=*)
   1114     exec_prefix=$ac_optarg ;;
   1115 
   1116   -gas | --gas | --ga | --g)
   1117     # Obsolete; use --with-gas.
   1118     with_gas=yes ;;
   1119 
   1120   -help | --help | --hel | --he | -h)
   1121     ac_init_help=long ;;
   1122   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1123     ac_init_help=recursive ;;
   1124   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1125     ac_init_help=short ;;
   1126 
   1127   -host | --host | --hos | --ho)
   1128     ac_prev=host_alias ;;
   1129   -host=* | --host=* | --hos=* | --ho=*)
   1130     host_alias=$ac_optarg ;;
   1131 
   1132   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1133     ac_prev=htmldir ;;
   1134   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1135   | --ht=*)
   1136     htmldir=$ac_optarg ;;
   1137 
   1138   -includedir | --includedir | --includedi | --included | --include \
   1139   | --includ | --inclu | --incl | --inc)
   1140     ac_prev=includedir ;;
   1141   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1142   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1143     includedir=$ac_optarg ;;
   1144 
   1145   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1146     ac_prev=infodir ;;
   1147   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1148     infodir=$ac_optarg ;;
   1149 
   1150   -libdir | --libdir | --libdi | --libd)
   1151     ac_prev=libdir ;;
   1152   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1153     libdir=$ac_optarg ;;
   1154 
   1155   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1156   | --libexe | --libex | --libe)
   1157     ac_prev=libexecdir ;;
   1158   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1159   | --libexe=* | --libex=* | --libe=*)
   1160     libexecdir=$ac_optarg ;;
   1161 
   1162   -localedir | --localedir | --localedi | --localed | --locale)
   1163     ac_prev=localedir ;;
   1164   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1165     localedir=$ac_optarg ;;
   1166 
   1167   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1168   | --localstate | --localstat | --localsta | --localst | --locals)
   1169     ac_prev=localstatedir ;;
   1170   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1171   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1172     localstatedir=$ac_optarg ;;
   1173 
   1174   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1175     ac_prev=mandir ;;
   1176   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1177     mandir=$ac_optarg ;;
   1178 
   1179   -nfp | --nfp | --nf)
   1180     # Obsolete; use --without-fp.
   1181     with_fp=no ;;
   1182 
   1183   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1184   | --no-cr | --no-c | -n)
   1185     no_create=yes ;;
   1186 
   1187   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1188   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1189     no_recursion=yes ;;
   1190 
   1191   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1192   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1193   | --oldin | --oldi | --old | --ol | --o)
   1194     ac_prev=oldincludedir ;;
   1195   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1196   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1197   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1198     oldincludedir=$ac_optarg ;;
   1199 
   1200   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1201     ac_prev=prefix ;;
   1202   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1203     prefix=$ac_optarg ;;
   1204 
   1205   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1206   | --program-pre | --program-pr | --program-p)
   1207     ac_prev=program_prefix ;;
   1208   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1209   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1210     program_prefix=$ac_optarg ;;
   1211 
   1212   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1213   | --program-suf | --program-su | --program-s)
   1214     ac_prev=program_suffix ;;
   1215   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1216   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1217     program_suffix=$ac_optarg ;;
   1218 
   1219   -program-transform-name | --program-transform-name \
   1220   | --program-transform-nam | --program-transform-na \
   1221   | --program-transform-n | --program-transform- \
   1222   | --program-transform | --program-transfor \
   1223   | --program-transfo | --program-transf \
   1224   | --program-trans | --program-tran \
   1225   | --progr-tra | --program-tr | --program-t)
   1226     ac_prev=program_transform_name ;;
   1227   -program-transform-name=* | --program-transform-name=* \
   1228   | --program-transform-nam=* | --program-transform-na=* \
   1229   | --program-transform-n=* | --program-transform-=* \
   1230   | --program-transform=* | --program-transfor=* \
   1231   | --program-transfo=* | --program-transf=* \
   1232   | --program-trans=* | --program-tran=* \
   1233   | --progr-tra=* | --program-tr=* | --program-t=*)
   1234     program_transform_name=$ac_optarg ;;
   1235 
   1236   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1237     ac_prev=pdfdir ;;
   1238   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1239     pdfdir=$ac_optarg ;;
   1240 
   1241   -psdir | --psdir | --psdi | --psd | --ps)
   1242     ac_prev=psdir ;;
   1243   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1244     psdir=$ac_optarg ;;
   1245 
   1246   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1247   | -silent | --silent | --silen | --sile | --sil)
   1248     silent=yes ;;
   1249 
   1250   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1251     ac_prev=sbindir ;;
   1252   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1253   | --sbi=* | --sb=*)
   1254     sbindir=$ac_optarg ;;
   1255 
   1256   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1257   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1258   | --sharedst | --shareds | --shared | --share | --shar \
   1259   | --sha | --sh)
   1260     ac_prev=sharedstatedir ;;
   1261   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1262   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1263   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1264   | --sha=* | --sh=*)
   1265     sharedstatedir=$ac_optarg ;;
   1266 
   1267   -site | --site | --sit)
   1268     ac_prev=site ;;
   1269   -site=* | --site=* | --sit=*)
   1270     site=$ac_optarg ;;
   1271 
   1272   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1273     ac_prev=srcdir ;;
   1274   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1275     srcdir=$ac_optarg ;;
   1276 
   1277   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1278   | --syscon | --sysco | --sysc | --sys | --sy)
   1279     ac_prev=sysconfdir ;;
   1280   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1281   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1282     sysconfdir=$ac_optarg ;;
   1283 
   1284   -target | --target | --targe | --targ | --tar | --ta | --t)
   1285     ac_prev=target_alias ;;
   1286   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1287     target_alias=$ac_optarg ;;
   1288 
   1289   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1290     verbose=yes ;;
   1291 
   1292   -version | --version | --versio | --versi | --vers | -V)
   1293     ac_init_version=: ;;
   1294 
   1295   -with-* | --with-*)
   1296     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1297     # Reject names that are not valid shell variable names.
   1298     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1299       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1300    { (exit 1); exit 1; }; }
   1301     ac_useropt_orig=$ac_useropt
   1302     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1303     case $ac_user_opts in
   1304       *"
   1305 "with_$ac_useropt"
   1306 "*) ;;
   1307       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1308 	 ac_unrecognized_sep=', ';;
   1309     esac
   1310     eval with_$ac_useropt=\$ac_optarg ;;
   1311 
   1312   -without-* | --without-*)
   1313     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1314     # Reject names that are not valid shell variable names.
   1315     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1316       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1317    { (exit 1); exit 1; }; }
   1318     ac_useropt_orig=$ac_useropt
   1319     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1320     case $ac_user_opts in
   1321       *"
   1322 "with_$ac_useropt"
   1323 "*) ;;
   1324       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1325 	 ac_unrecognized_sep=', ';;
   1326     esac
   1327     eval with_$ac_useropt=no ;;
   1328 
   1329   --x)
   1330     # Obsolete; use --with-x.
   1331     with_x=yes ;;
   1332 
   1333   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1334   | --x-incl | --x-inc | --x-in | --x-i)
   1335     ac_prev=x_includes ;;
   1336   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1337   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1338     x_includes=$ac_optarg ;;
   1339 
   1340   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1341   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1342     ac_prev=x_libraries ;;
   1343   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1344   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1345     x_libraries=$ac_optarg ;;
   1346 
   1347   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1348 Try \`$0 --help' for more information." >&2
   1349    { (exit 1); exit 1; }; }
   1350     ;;
   1351 
   1352   *=*)
   1353     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1354     # Reject names that are not valid shell variable names.
   1355     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1356       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1357    { (exit 1); exit 1; }; }
   1358     eval $ac_envvar=\$ac_optarg
   1359     export $ac_envvar ;;
   1360 
   1361   *)
   1362     # FIXME: should be removed in autoconf 3.0.
   1363     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1364     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1365       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1366     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1367     ;;
   1368 
   1369   esac
   1370 done
   1371 
   1372 if test -n "$ac_prev"; then
   1373   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1374   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1375    { (exit 1); exit 1; }; }
   1376 fi
   1377 
   1378 if test -n "$ac_unrecognized_opts"; then
   1379   case $enable_option_checking in
   1380     no) ;;
   1381     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1382    { (exit 1); exit 1; }; } ;;
   1383     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1384   esac
   1385 fi
   1386 
   1387 # Check all directory arguments for consistency.
   1388 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1389 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1390 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1391 		libdir localedir mandir
   1392 do
   1393   eval ac_val=\$$ac_var
   1394   # Remove trailing slashes.
   1395   case $ac_val in
   1396     */ )
   1397       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1398       eval $ac_var=\$ac_val;;
   1399   esac
   1400   # Be sure to have absolute directory names.
   1401   case $ac_val in
   1402     [\\/$]* | ?:[\\/]* )  continue;;
   1403     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1404   esac
   1405   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1406    { (exit 1); exit 1; }; }
   1407 done
   1408 
   1409 # There might be people who depend on the old broken behavior: `$host'
   1410 # used to hold the argument of --host etc.
   1411 # FIXME: To remove some day.
   1412 build=$build_alias
   1413 host=$host_alias
   1414 target=$target_alias
   1415 
   1416 # FIXME: To remove some day.
   1417 if test "x$host_alias" != x; then
   1418   if test "x$build_alias" = x; then
   1419     cross_compiling=maybe
   1420     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1421     If a cross compiler is detected then cross compile mode will be used." >&2
   1422   elif test "x$build_alias" != "x$host_alias"; then
   1423     cross_compiling=yes
   1424   fi
   1425 fi
   1426 
   1427 ac_tool_prefix=
   1428 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1429 
   1430 test "$silent" = yes && exec 6>/dev/null
   1431 
   1432 
   1433 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1434 ac_ls_di=`ls -di .` &&
   1435 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1436   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1437    { (exit 1); exit 1; }; }
   1438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1439   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1440    { (exit 1); exit 1; }; }
   1441 
   1442 
   1443 # Find the source files, if location was not specified.
   1444 if test -z "$srcdir"; then
   1445   ac_srcdir_defaulted=yes
   1446   # Try the directory containing this script, then the parent directory.
   1447   ac_confdir=`$as_dirname -- "$as_myself" ||
   1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1449 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1450 	 X"$as_myself" : 'X\(//\)$' \| \
   1451 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1452 $as_echo X"$as_myself" |
   1453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1454 	    s//\1/
   1455 	    q
   1456 	  }
   1457 	  /^X\(\/\/\)[^/].*/{
   1458 	    s//\1/
   1459 	    q
   1460 	  }
   1461 	  /^X\(\/\/\)$/{
   1462 	    s//\1/
   1463 	    q
   1464 	  }
   1465 	  /^X\(\/\).*/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  s/.*/./; q'`
   1470   srcdir=$ac_confdir
   1471   if test ! -r "$srcdir/$ac_unique_file"; then
   1472     srcdir=..
   1473   fi
   1474 else
   1475   ac_srcdir_defaulted=no
   1476 fi
   1477 if test ! -r "$srcdir/$ac_unique_file"; then
   1478   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1479   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1480    { (exit 1); exit 1; }; }
   1481 fi
   1482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1483 ac_abs_confdir=`(
   1484 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1485    { (exit 1); exit 1; }; }
   1486 	pwd)`
   1487 # When building in place, set srcdir=.
   1488 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1489   srcdir=.
   1490 fi
   1491 # Remove unnecessary trailing slashes from srcdir.
   1492 # Double slashes in file names in object file debugging info
   1493 # mess up M-x gdb in Emacs.
   1494 case $srcdir in
   1495 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1496 esac
   1497 for ac_var in $ac_precious_vars; do
   1498   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1499   eval ac_env_${ac_var}_value=\$${ac_var}
   1500   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1501   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1502 done
   1503 
   1504 #
   1505 # Report the --help message.
   1506 #
   1507 if test "$ac_init_help" = "long"; then
   1508   # Omit some internal or obsolete options to make the list less imposing.
   1509   # This message is too long to be a string in the A/UX 3.1 sh.
   1510   cat <<_ACEOF
   1511 \`configure' configures libXtst 1.1.0 to adapt to many kinds of systems.
   1512 
   1513 Usage: $0 [OPTION]... [VAR=VALUE]...
   1514 
   1515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1516 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1517 
   1518 Defaults for the options are specified in brackets.
   1519 
   1520 Configuration:
   1521   -h, --help              display this help and exit
   1522       --help=short        display options specific to this package
   1523       --help=recursive    display the short help of all the included packages
   1524   -V, --version           display version information and exit
   1525   -q, --quiet, --silent   do not print \`checking...' messages
   1526       --cache-file=FILE   cache test results in FILE [disabled]
   1527   -C, --config-cache      alias for \`--cache-file=config.cache'
   1528   -n, --no-create         do not create output files
   1529       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1530 
   1531 Installation directories:
   1532   --prefix=PREFIX         install architecture-independent files in PREFIX
   1533                           [$ac_default_prefix]
   1534   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1535                           [PREFIX]
   1536 
   1537 By default, \`make install' will install all the files in
   1538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1540 for instance \`--prefix=\$HOME'.
   1541 
   1542 For better control, use the options below.
   1543 
   1544 Fine tuning of the installation directories:
   1545   --bindir=DIR            user executables [EPREFIX/bin]
   1546   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1547   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1548   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1549   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1550   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1551   --libdir=DIR            object code libraries [EPREFIX/lib]
   1552   --includedir=DIR        C header files [PREFIX/include]
   1553   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1554   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1555   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1556   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1557   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1558   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1559   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXtst]
   1560   --htmldir=DIR           html documentation [DOCDIR]
   1561   --dvidir=DIR            dvi documentation [DOCDIR]
   1562   --pdfdir=DIR            pdf documentation [DOCDIR]
   1563   --psdir=DIR             ps documentation [DOCDIR]
   1564 _ACEOF
   1565 
   1566   cat <<\_ACEOF
   1567 
   1568 Program names:
   1569   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1570   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1571   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1572 
   1573 System types:
   1574   --build=BUILD     configure for building on BUILD [guessed]
   1575   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1576 _ACEOF
   1577 fi
   1578 
   1579 if test -n "$ac_init_help"; then
   1580   case $ac_init_help in
   1581      short | recursive ) echo "Configuration of libXtst 1.1.0:";;
   1582    esac
   1583   cat <<\_ACEOF
   1584 
   1585 Optional Features:
   1586   --disable-option-checking  ignore unrecognized --enable/--with options
   1587   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1588   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1589   --enable-maintainer-mode  enable make rules and dependencies not useful
   1590 			  (and sometimes confusing) to the casual installer
   1591   --disable-dependency-tracking  speeds up one-time build
   1592   --enable-dependency-tracking   do not reject slow dependency extractors
   1593   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1594   --enable-static[=PKGS]  build static libraries [default=yes]
   1595   --enable-fast-install[=PKGS]
   1596                           optimize for fast installation [default=yes]
   1597   --disable-libtool-lock  avoid locking (might break parallel builds)
   1598   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1599   --disable-silent-rules         verbose build output (undo: `make V=0')
   1600   --enable-strict-compilation
   1601                           Enable all warnings from compiler and make them
   1602                           errors (default: disabled)
   1603   --enable-lint-library   Create lint library (default: disabled)
   1604 
   1605 Optional Packages:
   1606   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1607   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1608   --with-pic              try to use only PIC/non-PIC objects [default=use
   1609                           both]
   1610   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1611   --with-release-version=STRING
   1612                           Use release version string in package name
   1613   --with-lint             Use a lint-style source code checker (default:
   1614                           disabled)
   1615 
   1616 Some influential environment variables:
   1617   CC          C compiler command
   1618   CFLAGS      C compiler flags
   1619   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1620               nonstandard directory <lib dir>
   1621   LIBS        libraries to pass to the linker, e.g. -l<library>
   1622   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1623               you have headers in a nonstandard directory <include dir>
   1624   CPP         C preprocessor
   1625   XMLTO       Path to xmlto command
   1626   PKG_CONFIG  path to pkg-config utility
   1627   XTST_CFLAGS C compiler flags for XTST, overriding pkg-config
   1628   XTST_LIBS   linker flags for XTST, overriding pkg-config
   1629 
   1630 Use these variables to override the choices made by `configure' or to help
   1631 it to find libraries and programs with nonstandard names/locations.
   1632 
   1633 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1634 _ACEOF
   1635 ac_status=$?
   1636 fi
   1637 
   1638 if test "$ac_init_help" = "recursive"; then
   1639   # If there are subdirs, report their specific --help.
   1640   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1641     test -d "$ac_dir" ||
   1642       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1643       continue
   1644     ac_builddir=.
   1645 
   1646 case "$ac_dir" in
   1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1648 *)
   1649   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1650   # A ".." for each directory in $ac_dir_suffix.
   1651   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1652   case $ac_top_builddir_sub in
   1653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1655   esac ;;
   1656 esac
   1657 ac_abs_top_builddir=$ac_pwd
   1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1659 # for backward compatibility:
   1660 ac_top_builddir=$ac_top_build_prefix
   1661 
   1662 case $srcdir in
   1663   .)  # We are building in place.
   1664     ac_srcdir=.
   1665     ac_top_srcdir=$ac_top_builddir_sub
   1666     ac_abs_top_srcdir=$ac_pwd ;;
   1667   [\\/]* | ?:[\\/]* )  # Absolute name.
   1668     ac_srcdir=$srcdir$ac_dir_suffix;
   1669     ac_top_srcdir=$srcdir
   1670     ac_abs_top_srcdir=$srcdir ;;
   1671   *) # Relative name.
   1672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1673     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1675 esac
   1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1677 
   1678     cd "$ac_dir" || { ac_status=$?; continue; }
   1679     # Check for guested configure.
   1680     if test -f "$ac_srcdir/configure.gnu"; then
   1681       echo &&
   1682       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1683     elif test -f "$ac_srcdir/configure"; then
   1684       echo &&
   1685       $SHELL "$ac_srcdir/configure" --help=recursive
   1686     else
   1687       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1688     fi || ac_status=$?
   1689     cd "$ac_pwd" || { ac_status=$?; break; }
   1690   done
   1691 fi
   1692 
   1693 test -n "$ac_init_help" && exit $ac_status
   1694 if $ac_init_version; then
   1695   cat <<\_ACEOF
   1696 libXtst configure 1.1.0
   1697 generated by GNU Autoconf 2.63
   1698 
   1699 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1700 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1701 This configure script is free software; the Free Software Foundation
   1702 gives unlimited permission to copy, distribute and modify it.
   1703 _ACEOF
   1704   exit
   1705 fi
   1706 cat >config.log <<_ACEOF
   1707 This file contains any messages produced by compilers while
   1708 running configure, to aid debugging if configure makes a mistake.
   1709 
   1710 It was created by libXtst $as_me 1.1.0, which was
   1711 generated by GNU Autoconf 2.63.  Invocation command line was
   1712 
   1713   $ $0 $@
   1714 
   1715 _ACEOF
   1716 exec 5>>config.log
   1717 {
   1718 cat <<_ASUNAME
   1719 ## --------- ##
   1720 ## Platform. ##
   1721 ## --------- ##
   1722 
   1723 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1724 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1725 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1726 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1727 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1728 
   1729 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1730 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1731 
   1732 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1733 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1734 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1735 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1736 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1737 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1738 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1739 
   1740 _ASUNAME
   1741 
   1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1743 for as_dir in $PATH
   1744 do
   1745   IFS=$as_save_IFS
   1746   test -z "$as_dir" && as_dir=.
   1747   $as_echo "PATH: $as_dir"
   1748 done
   1749 IFS=$as_save_IFS
   1750 
   1751 } >&5
   1752 
   1753 cat >&5 <<_ACEOF
   1754 
   1755 
   1756 ## ----------- ##
   1757 ## Core tests. ##
   1758 ## ----------- ##
   1759 
   1760 _ACEOF
   1761 
   1762 
   1763 # Keep a trace of the command line.
   1764 # Strip out --no-create and --no-recursion so they do not pile up.
   1765 # Strip out --silent because we don't want to record it for future runs.
   1766 # Also quote any args containing shell meta-characters.
   1767 # Make two passes to allow for proper duplicate-argument suppression.
   1768 ac_configure_args=
   1769 ac_configure_args0=
   1770 ac_configure_args1=
   1771 ac_must_keep_next=false
   1772 for ac_pass in 1 2
   1773 do
   1774   for ac_arg
   1775   do
   1776     case $ac_arg in
   1777     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1778     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1779     | -silent | --silent | --silen | --sile | --sil)
   1780       continue ;;
   1781     *\'*)
   1782       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1783     esac
   1784     case $ac_pass in
   1785     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1786     2)
   1787       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1788       if test $ac_must_keep_next = true; then
   1789 	ac_must_keep_next=false # Got value, back to normal.
   1790       else
   1791 	case $ac_arg in
   1792 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1793 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1794 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1795 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1796 	    case "$ac_configure_args0 " in
   1797 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1798 	    esac
   1799 	    ;;
   1800 	  -* ) ac_must_keep_next=true ;;
   1801 	esac
   1802       fi
   1803       ac_configure_args="$ac_configure_args '$ac_arg'"
   1804       ;;
   1805     esac
   1806   done
   1807 done
   1808 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1809 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1810 
   1811 # When interrupted or exit'd, cleanup temporary files, and complete
   1812 # config.log.  We remove comments because anyway the quotes in there
   1813 # would cause problems or look ugly.
   1814 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1815 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1816 trap 'exit_status=$?
   1817   # Save into config.log some information that might help in debugging.
   1818   {
   1819     echo
   1820 
   1821     cat <<\_ASBOX
   1822 ## ---------------- ##
   1823 ## Cache variables. ##
   1824 ## ---------------- ##
   1825 _ASBOX
   1826     echo
   1827     # The following way of writing the cache mishandles newlines in values,
   1828 (
   1829   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1830     eval ac_val=\$$ac_var
   1831     case $ac_val in #(
   1832     *${as_nl}*)
   1833       case $ac_var in #(
   1834       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1836       esac
   1837       case $ac_var in #(
   1838       _ | IFS | as_nl) ;; #(
   1839       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1840       *) $as_unset $ac_var ;;
   1841       esac ;;
   1842     esac
   1843   done
   1844   (set) 2>&1 |
   1845     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1846     *${as_nl}ac_space=\ *)
   1847       sed -n \
   1848 	"s/'\''/'\''\\\\'\'''\''/g;
   1849 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1850       ;; #(
   1851     *)
   1852       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1853       ;;
   1854     esac |
   1855     sort
   1856 )
   1857     echo
   1858 
   1859     cat <<\_ASBOX
   1860 ## ----------------- ##
   1861 ## Output variables. ##
   1862 ## ----------------- ##
   1863 _ASBOX
   1864     echo
   1865     for ac_var in $ac_subst_vars
   1866     do
   1867       eval ac_val=\$$ac_var
   1868       case $ac_val in
   1869       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1870       esac
   1871       $as_echo "$ac_var='\''$ac_val'\''"
   1872     done | sort
   1873     echo
   1874 
   1875     if test -n "$ac_subst_files"; then
   1876       cat <<\_ASBOX
   1877 ## ------------------- ##
   1878 ## File substitutions. ##
   1879 ## ------------------- ##
   1880 _ASBOX
   1881       echo
   1882       for ac_var in $ac_subst_files
   1883       do
   1884 	eval ac_val=\$$ac_var
   1885 	case $ac_val in
   1886 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1887 	esac
   1888 	$as_echo "$ac_var='\''$ac_val'\''"
   1889       done | sort
   1890       echo
   1891     fi
   1892 
   1893     if test -s confdefs.h; then
   1894       cat <<\_ASBOX
   1895 ## ----------- ##
   1896 ## confdefs.h. ##
   1897 ## ----------- ##
   1898 _ASBOX
   1899       echo
   1900       cat confdefs.h
   1901       echo
   1902     fi
   1903     test "$ac_signal" != 0 &&
   1904       $as_echo "$as_me: caught signal $ac_signal"
   1905     $as_echo "$as_me: exit $exit_status"
   1906   } >&5
   1907   rm -f core *.core core.conftest.* &&
   1908     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1909     exit $exit_status
   1910 ' 0
   1911 for ac_signal in 1 2 13 15; do
   1912   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1913 done
   1914 ac_signal=0
   1915 
   1916 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1917 rm -f -r conftest* confdefs.h
   1918 
   1919 # Predefined preprocessor variables.
   1920 
   1921 cat >>confdefs.h <<_ACEOF
   1922 #define PACKAGE_NAME "$PACKAGE_NAME"
   1923 _ACEOF
   1924 
   1925 
   1926 cat >>confdefs.h <<_ACEOF
   1927 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1928 _ACEOF
   1929 
   1930 
   1931 cat >>confdefs.h <<_ACEOF
   1932 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1933 _ACEOF
   1934 
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_STRING "$PACKAGE_STRING"
   1938 _ACEOF
   1939 
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1943 _ACEOF
   1944 
   1945 
   1946 # Let the site file select an alternate cache file if it wants to.
   1947 # Prefer an explicitly selected file to automatically selected ones.
   1948 ac_site_file1=NONE
   1949 ac_site_file2=NONE
   1950 if test -n "$CONFIG_SITE"; then
   1951   ac_site_file1=$CONFIG_SITE
   1952 elif test "x$prefix" != xNONE; then
   1953   ac_site_file1=$prefix/share/config.site
   1954   ac_site_file2=$prefix/etc/config.site
   1955 else
   1956   ac_site_file1=$ac_default_prefix/share/config.site
   1957   ac_site_file2=$ac_default_prefix/etc/config.site
   1958 fi
   1959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1960 do
   1961   test "x$ac_site_file" = xNONE && continue
   1962   if test -r "$ac_site_file"; then
   1963     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1965     sed 's/^/| /' "$ac_site_file" >&5
   1966     . "$ac_site_file"
   1967   fi
   1968 done
   1969 
   1970 if test -r "$cache_file"; then
   1971   # Some versions of bash will fail to source /dev/null (special
   1972   # files actually), so we avoid doing that.
   1973   if test -f "$cache_file"; then
   1974     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1975 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1976     case $cache_file in
   1977       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1978       *)                      . "./$cache_file";;
   1979     esac
   1980   fi
   1981 else
   1982   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1983 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1984   >$cache_file
   1985 fi
   1986 
   1987 # Check that the precious variables saved in the cache have kept the same
   1988 # value.
   1989 ac_cache_corrupted=false
   1990 for ac_var in $ac_precious_vars; do
   1991   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1992   eval ac_new_set=\$ac_env_${ac_var}_set
   1993   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1994   eval ac_new_val=\$ac_env_${ac_var}_value
   1995   case $ac_old_set,$ac_new_set in
   1996     set,)
   1997       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1998 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1999       ac_cache_corrupted=: ;;
   2000     ,set)
   2001       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2002 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2003       ac_cache_corrupted=: ;;
   2004     ,);;
   2005     *)
   2006       if test "x$ac_old_val" != "x$ac_new_val"; then
   2007 	# differences in whitespace do not lead to failure.
   2008 	ac_old_val_w=`echo x $ac_old_val`
   2009 	ac_new_val_w=`echo x $ac_new_val`
   2010 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2011 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2012 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2013 	  ac_cache_corrupted=:
   2014 	else
   2015 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2016 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2017 	  eval $ac_var=\$ac_old_val
   2018 	fi
   2019 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2020 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2021 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2022 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2023       fi;;
   2024   esac
   2025   # Pass precious variables to config.status.
   2026   if test "$ac_new_set" = set; then
   2027     case $ac_new_val in
   2028     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2029     *) ac_arg=$ac_var=$ac_new_val ;;
   2030     esac
   2031     case " $ac_configure_args " in
   2032       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2033       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2034     esac
   2035   fi
   2036 done
   2037 if $ac_cache_corrupted; then
   2038   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2040   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2041 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2042   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2043 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2044    { (exit 1); exit 1; }; }
   2045 fi
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 ac_ext=c
   2072 ac_cpp='$CPP $CPPFLAGS'
   2073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2076 
   2077 
   2078 am__api_version='1.11'
   2079 
   2080 ac_aux_dir=
   2081 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2082   if test -f "$ac_dir/install-sh"; then
   2083     ac_aux_dir=$ac_dir
   2084     ac_install_sh="$ac_aux_dir/install-sh -c"
   2085     break
   2086   elif test -f "$ac_dir/install.sh"; then
   2087     ac_aux_dir=$ac_dir
   2088     ac_install_sh="$ac_aux_dir/install.sh -c"
   2089     break
   2090   elif test -f "$ac_dir/shtool"; then
   2091     ac_aux_dir=$ac_dir
   2092     ac_install_sh="$ac_aux_dir/shtool install -c"
   2093     break
   2094   fi
   2095 done
   2096 if test -z "$ac_aux_dir"; then
   2097   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2098 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2099    { (exit 1); exit 1; }; }
   2100 fi
   2101 
   2102 # These three variables are undocumented and unsupported,
   2103 # and are intended to be withdrawn in a future Autoconf release.
   2104 # They can cause serious problems if a builder's source tree is in a directory
   2105 # whose full name contains unusual characters.
   2106 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2107 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2108 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2109 
   2110 
   2111 # Find a good install program.  We prefer a C program (faster),
   2112 # so one script is as good as another.  But avoid the broken or
   2113 # incompatible versions:
   2114 # SysV /etc/install, /usr/sbin/install
   2115 # SunOS /usr/etc/install
   2116 # IRIX /sbin/install
   2117 # AIX /bin/install
   2118 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2122 # OS/2's system install, which has a completely different semantic
   2123 # ./install, which can be erroneously created by make from ./install.sh.
   2124 # Reject install programs that cannot install multiple files.
   2125 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2126 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2127 if test -z "$INSTALL"; then
   2128 if test "${ac_cv_path_install+set}" = set; then
   2129   $as_echo_n "(cached) " >&6
   2130 else
   2131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2132 for as_dir in $PATH
   2133 do
   2134   IFS=$as_save_IFS
   2135   test -z "$as_dir" && as_dir=.
   2136   # Account for people who put trailing slashes in PATH elements.
   2137 case $as_dir/ in
   2138   ./ | .// | /cC/* | \
   2139   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2140   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2141   /usr/ucb/* ) ;;
   2142   *)
   2143     # OSF1 and SCO ODT 3.0 have their own names for install.
   2144     # Don't use installbsd from OSF since it installs stuff as root
   2145     # by default.
   2146     for ac_prog in ginstall scoinst install; do
   2147       for ac_exec_ext in '' $ac_executable_extensions; do
   2148 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2149 	  if test $ac_prog = install &&
   2150 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2151 	    # AIX install.  It has an incompatible calling convention.
   2152 	    :
   2153 	  elif test $ac_prog = install &&
   2154 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2155 	    # program-specific install script used by HP pwplus--don't use.
   2156 	    :
   2157 	  else
   2158 	    rm -rf conftest.one conftest.two conftest.dir
   2159 	    echo one > conftest.one
   2160 	    echo two > conftest.two
   2161 	    mkdir conftest.dir
   2162 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2163 	      test -s conftest.one && test -s conftest.two &&
   2164 	      test -s conftest.dir/conftest.one &&
   2165 	      test -s conftest.dir/conftest.two
   2166 	    then
   2167 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2168 	      break 3
   2169 	    fi
   2170 	  fi
   2171 	fi
   2172       done
   2173     done
   2174     ;;
   2175 esac
   2176 
   2177 done
   2178 IFS=$as_save_IFS
   2179 
   2180 rm -rf conftest.one conftest.two conftest.dir
   2181 
   2182 fi
   2183   if test "${ac_cv_path_install+set}" = set; then
   2184     INSTALL=$ac_cv_path_install
   2185   else
   2186     # As a last resort, use the slow shell script.  Don't cache a
   2187     # value for INSTALL within a source directory, because that will
   2188     # break other packages using the cache if that directory is
   2189     # removed, or if the value is a relative name.
   2190     INSTALL=$ac_install_sh
   2191   fi
   2192 fi
   2193 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2194 $as_echo "$INSTALL" >&6; }
   2195 
   2196 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2197 # It thinks the first close brace ends the variable substitution.
   2198 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2199 
   2200 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2201 
   2202 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2203 
   2204 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2205 $as_echo_n "checking whether build environment is sane... " >&6; }
   2206 # Just in case
   2207 sleep 1
   2208 echo timestamp > conftest.file
   2209 # Reject unsafe characters in $srcdir or the absolute working directory
   2210 # name.  Accept space and tab only in the latter.
   2211 am_lf='
   2212 '
   2213 case `pwd` in
   2214   *[\\\"\#\$\&\'\`$am_lf]*)
   2215     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2216 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2217    { (exit 1); exit 1; }; };;
   2218 esac
   2219 case $srcdir in
   2220   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2221     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2222 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2223    { (exit 1); exit 1; }; };;
   2224 esac
   2225 
   2226 # Do `set' in a subshell so we don't clobber the current shell's
   2227 # arguments.  Must try -L first in case configure is actually a
   2228 # symlink; some systems play weird games with the mod time of symlinks
   2229 # (eg FreeBSD returns the mod time of the symlink's containing
   2230 # directory).
   2231 if (
   2232    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2233    if test "$*" = "X"; then
   2234       # -L didn't work.
   2235       set X `ls -t "$srcdir/configure" conftest.file`
   2236    fi
   2237    rm -f conftest.file
   2238    if test "$*" != "X $srcdir/configure conftest.file" \
   2239       && test "$*" != "X conftest.file $srcdir/configure"; then
   2240 
   2241       # If neither matched, then we have a broken ls.  This can happen
   2242       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2243       # broken ls alias from the environment.  This has actually
   2244       # happened.  Such a system could not be considered "sane".
   2245       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2246 alias in your environment" >&5
   2247 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2248 alias in your environment" >&2;}
   2249    { (exit 1); exit 1; }; }
   2250    fi
   2251 
   2252    test "$2" = conftest.file
   2253    )
   2254 then
   2255    # Ok.
   2256    :
   2257 else
   2258    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2259 Check your system clock" >&5
   2260 $as_echo "$as_me: error: newly created file is older than distributed files!
   2261 Check your system clock" >&2;}
   2262    { (exit 1); exit 1; }; }
   2263 fi
   2264 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2265 $as_echo "yes" >&6; }
   2266 test "$program_prefix" != NONE &&
   2267   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2268 # Use a double $ so make ignores it.
   2269 test "$program_suffix" != NONE &&
   2270   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2271 # Double any \ or $.
   2272 # By default was `s,x,x', remove it if useless.
   2273 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2274 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2275 
   2276 # expand $ac_aux_dir to an absolute path
   2277 am_aux_dir=`cd $ac_aux_dir && pwd`
   2278 
   2279 if test x"${MISSING+set}" != xset; then
   2280   case $am_aux_dir in
   2281   *\ * | *\	*)
   2282     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2283   *)
   2284     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2285   esac
   2286 fi
   2287 # Use eval to expand $SHELL
   2288 if eval "$MISSING --run true"; then
   2289   am_missing_run="$MISSING --run "
   2290 else
   2291   am_missing_run=
   2292   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2293 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2294 fi
   2295 
   2296 if test x"${install_sh}" != xset; then
   2297   case $am_aux_dir in
   2298   *\ * | *\	*)
   2299     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2300   *)
   2301     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2302   esac
   2303 fi
   2304 
   2305 # Installed binaries are usually stripped using `strip' when the user
   2306 # run `make install-strip'.  However `strip' might not be the right
   2307 # tool to use in cross-compilation environments, therefore Automake
   2308 # will honor the `STRIP' environment variable to overrule this program.
   2309 if test "$cross_compiling" != no; then
   2310   if test -n "$ac_tool_prefix"; then
   2311   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2312 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2314 $as_echo_n "checking for $ac_word... " >&6; }
   2315 if test "${ac_cv_prog_STRIP+set}" = set; then
   2316   $as_echo_n "(cached) " >&6
   2317 else
   2318   if test -n "$STRIP"; then
   2319   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2320 else
   2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2322 for as_dir in $PATH
   2323 do
   2324   IFS=$as_save_IFS
   2325   test -z "$as_dir" && as_dir=.
   2326   for ac_exec_ext in '' $ac_executable_extensions; do
   2327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2328     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2329     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2330     break 2
   2331   fi
   2332 done
   2333 done
   2334 IFS=$as_save_IFS
   2335 
   2336 fi
   2337 fi
   2338 STRIP=$ac_cv_prog_STRIP
   2339 if test -n "$STRIP"; then
   2340   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2341 $as_echo "$STRIP" >&6; }
   2342 else
   2343   { $as_echo "$as_me:$LINENO: result: no" >&5
   2344 $as_echo "no" >&6; }
   2345 fi
   2346 
   2347 
   2348 fi
   2349 if test -z "$ac_cv_prog_STRIP"; then
   2350   ac_ct_STRIP=$STRIP
   2351   # Extract the first word of "strip", so it can be a program name with args.
   2352 set dummy strip; ac_word=$2
   2353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2354 $as_echo_n "checking for $ac_word... " >&6; }
   2355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2356   $as_echo_n "(cached) " >&6
   2357 else
   2358   if test -n "$ac_ct_STRIP"; then
   2359   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2360 else
   2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2362 for as_dir in $PATH
   2363 do
   2364   IFS=$as_save_IFS
   2365   test -z "$as_dir" && as_dir=.
   2366   for ac_exec_ext in '' $ac_executable_extensions; do
   2367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2368     ac_cv_prog_ac_ct_STRIP="strip"
   2369     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2370     break 2
   2371   fi
   2372 done
   2373 done
   2374 IFS=$as_save_IFS
   2375 
   2376 fi
   2377 fi
   2378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2379 if test -n "$ac_ct_STRIP"; then
   2380   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2381 $as_echo "$ac_ct_STRIP" >&6; }
   2382 else
   2383   { $as_echo "$as_me:$LINENO: result: no" >&5
   2384 $as_echo "no" >&6; }
   2385 fi
   2386 
   2387   if test "x$ac_ct_STRIP" = x; then
   2388     STRIP=":"
   2389   else
   2390     case $cross_compiling:$ac_tool_warned in
   2391 yes:)
   2392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2394 ac_tool_warned=yes ;;
   2395 esac
   2396     STRIP=$ac_ct_STRIP
   2397   fi
   2398 else
   2399   STRIP="$ac_cv_prog_STRIP"
   2400 fi
   2401 
   2402 fi
   2403 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2404 
   2405 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2406 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2407 if test -z "$MKDIR_P"; then
   2408   if test "${ac_cv_path_mkdir+set}" = set; then
   2409   $as_echo_n "(cached) " >&6
   2410 else
   2411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416   for ac_prog in mkdir gmkdir; do
   2417 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2418 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2419 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2420 	     'mkdir (GNU coreutils) '* | \
   2421 	     'mkdir (coreutils) '* | \
   2422 	     'mkdir (fileutils) '4.1*)
   2423 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2424 	       break 3;;
   2425 	   esac
   2426 	 done
   2427        done
   2428 done
   2429 IFS=$as_save_IFS
   2430 
   2431 fi
   2432 
   2433   if test "${ac_cv_path_mkdir+set}" = set; then
   2434     MKDIR_P="$ac_cv_path_mkdir -p"
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for MKDIR_P within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     test -d ./--version && rmdir ./--version
   2441     MKDIR_P="$ac_install_sh -d"
   2442   fi
   2443 fi
   2444 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2445 $as_echo "$MKDIR_P" >&6; }
   2446 
   2447 mkdir_p="$MKDIR_P"
   2448 case $mkdir_p in
   2449   [\\/$]* | ?:[\\/]*) ;;
   2450   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2451 esac
   2452 
   2453 for ac_prog in gawk mawk nawk awk
   2454 do
   2455   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2456 set dummy $ac_prog; ac_word=$2
   2457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2458 $as_echo_n "checking for $ac_word... " >&6; }
   2459 if test "${ac_cv_prog_AWK+set}" = set; then
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   if test -n "$AWK"; then
   2463   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2464 else
   2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2466 for as_dir in $PATH
   2467 do
   2468   IFS=$as_save_IFS
   2469   test -z "$as_dir" && as_dir=.
   2470   for ac_exec_ext in '' $ac_executable_extensions; do
   2471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2472     ac_cv_prog_AWK="$ac_prog"
   2473     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2474     break 2
   2475   fi
   2476 done
   2477 done
   2478 IFS=$as_save_IFS
   2479 
   2480 fi
   2481 fi
   2482 AWK=$ac_cv_prog_AWK
   2483 if test -n "$AWK"; then
   2484   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2485 $as_echo "$AWK" >&6; }
   2486 else
   2487   { $as_echo "$as_me:$LINENO: result: no" >&5
   2488 $as_echo "no" >&6; }
   2489 fi
   2490 
   2491 
   2492   test -n "$AWK" && break
   2493 done
   2494 
   2495 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2496 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2497 set x ${MAKE-make}
   2498 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2499 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2500   $as_echo_n "(cached) " >&6
   2501 else
   2502   cat >conftest.make <<\_ACEOF
   2503 SHELL = /bin/sh
   2504 all:
   2505 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2506 _ACEOF
   2507 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2508 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2509   *@@@%%%=?*=@@@%%%*)
   2510     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2511   *)
   2512     eval ac_cv_prog_make_${ac_make}_set=no;;
   2513 esac
   2514 rm -f conftest.make
   2515 fi
   2516 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2517   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2518 $as_echo "yes" >&6; }
   2519   SET_MAKE=
   2520 else
   2521   { $as_echo "$as_me:$LINENO: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523   SET_MAKE="MAKE=${MAKE-make}"
   2524 fi
   2525 
   2526 rm -rf .tst 2>/dev/null
   2527 mkdir .tst 2>/dev/null
   2528 if test -d .tst; then
   2529   am__leading_dot=.
   2530 else
   2531   am__leading_dot=_
   2532 fi
   2533 rmdir .tst 2>/dev/null
   2534 
   2535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2536   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2537   # is not polluted with repeated "-I."
   2538   am__isrc=' -I$(srcdir)'
   2539   # test to see if srcdir already configured
   2540   if test -f $srcdir/config.status; then
   2541     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2542 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2543    { (exit 1); exit 1; }; }
   2544   fi
   2545 fi
   2546 
   2547 # test whether we have cygpath
   2548 if test -z "$CYGPATH_W"; then
   2549   if (cygpath --version) >/dev/null 2>/dev/null; then
   2550     CYGPATH_W='cygpath -w'
   2551   else
   2552     CYGPATH_W=echo
   2553   fi
   2554 fi
   2555 
   2556 
   2557 # Define the identity of the package.
   2558  PACKAGE='libXtst'
   2559  VERSION='1.1.0'
   2560 
   2561 
   2562 cat >>confdefs.h <<_ACEOF
   2563 #define PACKAGE "$PACKAGE"
   2564 _ACEOF
   2565 
   2566 
   2567 cat >>confdefs.h <<_ACEOF
   2568 #define VERSION "$VERSION"
   2569 _ACEOF
   2570 
   2571 # Some tools Automake needs.
   2572 
   2573 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2574 
   2575 
   2576 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2577 
   2578 
   2579 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2580 
   2581 
   2582 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2583 
   2584 
   2585 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2586 
   2587 # We need awk for the "check" target.  The system "awk" is bad on
   2588 # some platforms.
   2589 # Always define AMTAR for backward compatibility.
   2590 
   2591 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2592 
   2593 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2594 
   2595 
   2596 
   2597 
   2598 
   2599 
   2600 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2601 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2602     # Check whether --enable-maintainer-mode was given.
   2603 if test "${enable_maintainer_mode+set}" = set; then
   2604   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2605 else
   2606   USE_MAINTAINER_MODE=no
   2607 fi
   2608 
   2609   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2610 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2611    if test $USE_MAINTAINER_MODE = yes; then
   2612   MAINTAINER_MODE_TRUE=
   2613   MAINTAINER_MODE_FALSE='#'
   2614 else
   2615   MAINTAINER_MODE_TRUE='#'
   2616   MAINTAINER_MODE_FALSE=
   2617 fi
   2618 
   2619   MAINT=$MAINTAINER_MODE_TRUE
   2620 
   2621 
   2622 
   2623 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2624 
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 ac_config_headers="$ac_config_headers config.h"
   2636 
   2637 
   2638 # Check for progs
   2639 ac_ext=c
   2640 ac_cpp='$CPP $CPPFLAGS'
   2641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2644 if test -n "$ac_tool_prefix"; then
   2645   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if test "${ac_cv_prog_CC+set}" = set; then
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$CC"; then
   2653   ac_cv_prog_CC="$CC" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660   for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2663     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667 done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 CC=$ac_cv_prog_CC
   2673 if test -n "$CC"; then
   2674   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2675 $as_echo "$CC" >&6; }
   2676 else
   2677   { $as_echo "$as_me:$LINENO: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682 fi
   2683 if test -z "$ac_cv_prog_CC"; then
   2684   ac_ct_CC=$CC
   2685   # Extract the first word of "gcc", so it can be a program name with args.
   2686 set dummy gcc; ac_word=$2
   2687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2688 $as_echo_n "checking for $ac_word... " >&6; }
   2689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   if test -n "$ac_ct_CC"; then
   2693   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2694 else
   2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   test -z "$as_dir" && as_dir=.
   2700   for ac_exec_ext in '' $ac_executable_extensions; do
   2701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2702     ac_cv_prog_ac_ct_CC="gcc"
   2703     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2704     break 2
   2705   fi
   2706 done
   2707 done
   2708 IFS=$as_save_IFS
   2709 
   2710 fi
   2711 fi
   2712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2713 if test -n "$ac_ct_CC"; then
   2714   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2715 $as_echo "$ac_ct_CC" >&6; }
   2716 else
   2717   { $as_echo "$as_me:$LINENO: result: no" >&5
   2718 $as_echo "no" >&6; }
   2719 fi
   2720 
   2721   if test "x$ac_ct_CC" = x; then
   2722     CC=""
   2723   else
   2724     case $cross_compiling:$ac_tool_warned in
   2725 yes:)
   2726 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2728 ac_tool_warned=yes ;;
   2729 esac
   2730     CC=$ac_ct_CC
   2731   fi
   2732 else
   2733   CC="$ac_cv_prog_CC"
   2734 fi
   2735 
   2736 if test -z "$CC"; then
   2737           if test -n "$ac_tool_prefix"; then
   2738     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2739 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2741 $as_echo_n "checking for $ac_word... " >&6; }
   2742 if test "${ac_cv_prog_CC+set}" = set; then
   2743   $as_echo_n "(cached) " >&6
   2744 else
   2745   if test -n "$CC"; then
   2746   ac_cv_prog_CC="$CC" # Let the user override the test.
   2747 else
   2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2749 for as_dir in $PATH
   2750 do
   2751   IFS=$as_save_IFS
   2752   test -z "$as_dir" && as_dir=.
   2753   for ac_exec_ext in '' $ac_executable_extensions; do
   2754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2755     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2756     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2757     break 2
   2758   fi
   2759 done
   2760 done
   2761 IFS=$as_save_IFS
   2762 
   2763 fi
   2764 fi
   2765 CC=$ac_cv_prog_CC
   2766 if test -n "$CC"; then
   2767   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2768 $as_echo "$CC" >&6; }
   2769 else
   2770   { $as_echo "$as_me:$LINENO: result: no" >&5
   2771 $as_echo "no" >&6; }
   2772 fi
   2773 
   2774 
   2775   fi
   2776 fi
   2777 if test -z "$CC"; then
   2778   # Extract the first word of "cc", so it can be a program name with args.
   2779 set dummy cc; ac_word=$2
   2780 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2781 $as_echo_n "checking for $ac_word... " >&6; }
   2782 if test "${ac_cv_prog_CC+set}" = set; then
   2783   $as_echo_n "(cached) " >&6
   2784 else
   2785   if test -n "$CC"; then
   2786   ac_cv_prog_CC="$CC" # Let the user override the test.
   2787 else
   2788   ac_prog_rejected=no
   2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2790 for as_dir in $PATH
   2791 do
   2792   IFS=$as_save_IFS
   2793   test -z "$as_dir" && as_dir=.
   2794   for ac_exec_ext in '' $ac_executable_extensions; do
   2795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2796     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2797        ac_prog_rejected=yes
   2798        continue
   2799      fi
   2800     ac_cv_prog_CC="cc"
   2801     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2802     break 2
   2803   fi
   2804 done
   2805 done
   2806 IFS=$as_save_IFS
   2807 
   2808 if test $ac_prog_rejected = yes; then
   2809   # We found a bogon in the path, so make sure we never use it.
   2810   set dummy $ac_cv_prog_CC
   2811   shift
   2812   if test $# != 0; then
   2813     # We chose a different compiler from the bogus one.
   2814     # However, it has the same basename, so the bogon will be chosen
   2815     # first if we set CC to just the basename; use the full file name.
   2816     shift
   2817     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2818   fi
   2819 fi
   2820 fi
   2821 fi
   2822 CC=$ac_cv_prog_CC
   2823 if test -n "$CC"; then
   2824   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2825 $as_echo "$CC" >&6; }
   2826 else
   2827   { $as_echo "$as_me:$LINENO: result: no" >&5
   2828 $as_echo "no" >&6; }
   2829 fi
   2830 
   2831 
   2832 fi
   2833 if test -z "$CC"; then
   2834   if test -n "$ac_tool_prefix"; then
   2835   for ac_prog in cl.exe
   2836   do
   2837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2840 $as_echo_n "checking for $ac_word... " >&6; }
   2841 if test "${ac_cv_prog_CC+set}" = set; then
   2842   $as_echo_n "(cached) " >&6
   2843 else
   2844   if test -n "$CC"; then
   2845   ac_cv_prog_CC="$CC" # Let the user override the test.
   2846 else
   2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2848 for as_dir in $PATH
   2849 do
   2850   IFS=$as_save_IFS
   2851   test -z "$as_dir" && as_dir=.
   2852   for ac_exec_ext in '' $ac_executable_extensions; do
   2853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2854     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2855     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2856     break 2
   2857   fi
   2858 done
   2859 done
   2860 IFS=$as_save_IFS
   2861 
   2862 fi
   2863 fi
   2864 CC=$ac_cv_prog_CC
   2865 if test -n "$CC"; then
   2866   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2867 $as_echo "$CC" >&6; }
   2868 else
   2869   { $as_echo "$as_me:$LINENO: result: no" >&5
   2870 $as_echo "no" >&6; }
   2871 fi
   2872 
   2873 
   2874     test -n "$CC" && break
   2875   done
   2876 fi
   2877 if test -z "$CC"; then
   2878   ac_ct_CC=$CC
   2879   for ac_prog in cl.exe
   2880 do
   2881   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2882 set dummy $ac_prog; ac_word=$2
   2883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2884 $as_echo_n "checking for $ac_word... " >&6; }
   2885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   if test -n "$ac_ct_CC"; then
   2889   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2890 else
   2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2892 for as_dir in $PATH
   2893 do
   2894   IFS=$as_save_IFS
   2895   test -z "$as_dir" && as_dir=.
   2896   for ac_exec_ext in '' $ac_executable_extensions; do
   2897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2898     ac_cv_prog_ac_ct_CC="$ac_prog"
   2899     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2900     break 2
   2901   fi
   2902 done
   2903 done
   2904 IFS=$as_save_IFS
   2905 
   2906 fi
   2907 fi
   2908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2909 if test -n "$ac_ct_CC"; then
   2910   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2911 $as_echo "$ac_ct_CC" >&6; }
   2912 else
   2913   { $as_echo "$as_me:$LINENO: result: no" >&5
   2914 $as_echo "no" >&6; }
   2915 fi
   2916 
   2917 
   2918   test -n "$ac_ct_CC" && break
   2919 done
   2920 
   2921   if test "x$ac_ct_CC" = x; then
   2922     CC=""
   2923   else
   2924     case $cross_compiling:$ac_tool_warned in
   2925 yes:)
   2926 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2928 ac_tool_warned=yes ;;
   2929 esac
   2930     CC=$ac_ct_CC
   2931   fi
   2932 fi
   2933 
   2934 fi
   2935 
   2936 
   2937 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2939 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2940 See \`config.log' for more details." >&5
   2941 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2942 See \`config.log' for more details." >&2;}
   2943    { (exit 1); exit 1; }; }; }
   2944 
   2945 # Provide some information about the compiler.
   2946 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2947 set X $ac_compile
   2948 ac_compiler=$2
   2949 { (ac_try="$ac_compiler --version >&5"
   2950 case "(($ac_try" in
   2951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2952   *) ac_try_echo=$ac_try;;
   2953 esac
   2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2955 $as_echo "$ac_try_echo") >&5
   2956   (eval "$ac_compiler --version >&5") 2>&5
   2957   ac_status=$?
   2958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2959   (exit $ac_status); }
   2960 { (ac_try="$ac_compiler -v >&5"
   2961 case "(($ac_try" in
   2962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2963   *) ac_try_echo=$ac_try;;
   2964 esac
   2965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2966 $as_echo "$ac_try_echo") >&5
   2967   (eval "$ac_compiler -v >&5") 2>&5
   2968   ac_status=$?
   2969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2970   (exit $ac_status); }
   2971 { (ac_try="$ac_compiler -V >&5"
   2972 case "(($ac_try" in
   2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2974   *) ac_try_echo=$ac_try;;
   2975 esac
   2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2977 $as_echo "$ac_try_echo") >&5
   2978   (eval "$ac_compiler -V >&5") 2>&5
   2979   ac_status=$?
   2980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2981   (exit $ac_status); }
   2982 
   2983 cat >conftest.$ac_ext <<_ACEOF
   2984 /* confdefs.h.  */
   2985 _ACEOF
   2986 cat confdefs.h >>conftest.$ac_ext
   2987 cat >>conftest.$ac_ext <<_ACEOF
   2988 /* end confdefs.h.  */
   2989 
   2990 int
   2991 main ()
   2992 {
   2993 
   2994   ;
   2995   return 0;
   2996 }
   2997 _ACEOF
   2998 ac_clean_files_save=$ac_clean_files
   2999 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3000 # Try to create an executable without -o first, disregard a.out.
   3001 # It will help us diagnose broken compilers, and finding out an intuition
   3002 # of exeext.
   3003 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3004 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3005 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3006 
   3007 # The possible output files:
   3008 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3009 
   3010 ac_rmfiles=
   3011 for ac_file in $ac_files
   3012 do
   3013   case $ac_file in
   3014     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3015     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3016   esac
   3017 done
   3018 rm -f $ac_rmfiles
   3019 
   3020 if { (ac_try="$ac_link_default"
   3021 case "(($ac_try" in
   3022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3023   *) ac_try_echo=$ac_try;;
   3024 esac
   3025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3026 $as_echo "$ac_try_echo") >&5
   3027   (eval "$ac_link_default") 2>&5
   3028   ac_status=$?
   3029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3030   (exit $ac_status); }; then
   3031   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3033 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3034 # so that the user can short-circuit this test for compilers unknown to
   3035 # Autoconf.
   3036 for ac_file in $ac_files ''
   3037 do
   3038   test -f "$ac_file" || continue
   3039   case $ac_file in
   3040     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3041 	;;
   3042     [ab].out )
   3043 	# We found the default executable, but exeext='' is most
   3044 	# certainly right.
   3045 	break;;
   3046     *.* )
   3047         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3048 	then :; else
   3049 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3050 	fi
   3051 	# We set ac_cv_exeext here because the later test for it is not
   3052 	# safe: cross compilers may not add the suffix if given an `-o'
   3053 	# argument, so we may need to know it at that point already.
   3054 	# Even if this section looks crufty: it has the advantage of
   3055 	# actually working.
   3056 	break;;
   3057     * )
   3058 	break;;
   3059   esac
   3060 done
   3061 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3062 
   3063 else
   3064   ac_file=''
   3065 fi
   3066 
   3067 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3068 $as_echo "$ac_file" >&6; }
   3069 if test -z "$ac_file"; then
   3070   $as_echo "$as_me: failed program was:" >&5
   3071 sed 's/^/| /' conftest.$ac_ext >&5
   3072 
   3073 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3075 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3076 See \`config.log' for more details." >&5
   3077 $as_echo "$as_me: error: C compiler cannot create executables
   3078 See \`config.log' for more details." >&2;}
   3079    { (exit 77); exit 77; }; }; }
   3080 fi
   3081 
   3082 ac_exeext=$ac_cv_exeext
   3083 
   3084 # Check that the compiler produces executables we can run.  If not, either
   3085 # the compiler is broken, or we cross compile.
   3086 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3087 $as_echo_n "checking whether the C compiler works... " >&6; }
   3088 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3089 # If not cross compiling, check that we can run a simple program.
   3090 if test "$cross_compiling" != yes; then
   3091   if { ac_try='./$ac_file'
   3092   { (case "(($ac_try" in
   3093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3094   *) ac_try_echo=$ac_try;;
   3095 esac
   3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3097 $as_echo "$ac_try_echo") >&5
   3098   (eval "$ac_try") 2>&5
   3099   ac_status=$?
   3100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3101   (exit $ac_status); }; }; then
   3102     cross_compiling=no
   3103   else
   3104     if test "$cross_compiling" = maybe; then
   3105 	cross_compiling=yes
   3106     else
   3107 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3109 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3110 If you meant to cross compile, use \`--host'.
   3111 See \`config.log' for more details." >&5
   3112 $as_echo "$as_me: error: cannot run C compiled programs.
   3113 If you meant to cross compile, use \`--host'.
   3114 See \`config.log' for more details." >&2;}
   3115    { (exit 1); exit 1; }; }; }
   3116     fi
   3117   fi
   3118 fi
   3119 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3120 $as_echo "yes" >&6; }
   3121 
   3122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3123 ac_clean_files=$ac_clean_files_save
   3124 # Check that the compiler produces executables we can run.  If not, either
   3125 # the compiler is broken, or we cross compile.
   3126 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3127 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3128 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3129 $as_echo "$cross_compiling" >&6; }
   3130 
   3131 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3132 $as_echo_n "checking for suffix of executables... " >&6; }
   3133 if { (ac_try="$ac_link"
   3134 case "(($ac_try" in
   3135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3136   *) ac_try_echo=$ac_try;;
   3137 esac
   3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3139 $as_echo "$ac_try_echo") >&5
   3140   (eval "$ac_link") 2>&5
   3141   ac_status=$?
   3142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3143   (exit $ac_status); }; then
   3144   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3145 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3146 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3147 # `rm'.
   3148 for ac_file in conftest.exe conftest conftest.*; do
   3149   test -f "$ac_file" || continue
   3150   case $ac_file in
   3151     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3152     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3153 	  break;;
   3154     * ) break;;
   3155   esac
   3156 done
   3157 else
   3158   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3160 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3161 See \`config.log' for more details." >&5
   3162 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3163 See \`config.log' for more details." >&2;}
   3164    { (exit 1); exit 1; }; }; }
   3165 fi
   3166 
   3167 rm -f conftest$ac_cv_exeext
   3168 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3169 $as_echo "$ac_cv_exeext" >&6; }
   3170 
   3171 rm -f conftest.$ac_ext
   3172 EXEEXT=$ac_cv_exeext
   3173 ac_exeext=$EXEEXT
   3174 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3175 $as_echo_n "checking for suffix of object files... " >&6; }
   3176 if test "${ac_cv_objext+set}" = set; then
   3177   $as_echo_n "(cached) " >&6
   3178 else
   3179   cat >conftest.$ac_ext <<_ACEOF
   3180 /* confdefs.h.  */
   3181 _ACEOF
   3182 cat confdefs.h >>conftest.$ac_ext
   3183 cat >>conftest.$ac_ext <<_ACEOF
   3184 /* end confdefs.h.  */
   3185 
   3186 int
   3187 main ()
   3188 {
   3189 
   3190   ;
   3191   return 0;
   3192 }
   3193 _ACEOF
   3194 rm -f conftest.o conftest.obj
   3195 if { (ac_try="$ac_compile"
   3196 case "(($ac_try" in
   3197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3198   *) ac_try_echo=$ac_try;;
   3199 esac
   3200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3201 $as_echo "$ac_try_echo") >&5
   3202   (eval "$ac_compile") 2>&5
   3203   ac_status=$?
   3204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3205   (exit $ac_status); }; then
   3206   for ac_file in conftest.o conftest.obj conftest.*; do
   3207   test -f "$ac_file" || continue;
   3208   case $ac_file in
   3209     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3210     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3211        break;;
   3212   esac
   3213 done
   3214 else
   3215   $as_echo "$as_me: failed program was:" >&5
   3216 sed 's/^/| /' conftest.$ac_ext >&5
   3217 
   3218 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3220 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3221 See \`config.log' for more details." >&5
   3222 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3223 See \`config.log' for more details." >&2;}
   3224    { (exit 1); exit 1; }; }; }
   3225 fi
   3226 
   3227 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3228 fi
   3229 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3230 $as_echo "$ac_cv_objext" >&6; }
   3231 OBJEXT=$ac_cv_objext
   3232 ac_objext=$OBJEXT
   3233 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3234 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3235 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3236   $as_echo_n "(cached) " >&6
   3237 else
   3238   cat >conftest.$ac_ext <<_ACEOF
   3239 /* confdefs.h.  */
   3240 _ACEOF
   3241 cat confdefs.h >>conftest.$ac_ext
   3242 cat >>conftest.$ac_ext <<_ACEOF
   3243 /* end confdefs.h.  */
   3244 
   3245 int
   3246 main ()
   3247 {
   3248 #ifndef __GNUC__
   3249        choke me
   3250 #endif
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 rm -f conftest.$ac_objext
   3257 if { (ac_try="$ac_compile"
   3258 case "(($ac_try" in
   3259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3260   *) ac_try_echo=$ac_try;;
   3261 esac
   3262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3263 $as_echo "$ac_try_echo") >&5
   3264   (eval "$ac_compile") 2>conftest.er1
   3265   ac_status=$?
   3266   grep -v '^ *+' conftest.er1 >conftest.err
   3267   rm -f conftest.er1
   3268   cat conftest.err >&5
   3269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3270   (exit $ac_status); } && {
   3271 	 test -z "$ac_c_werror_flag" ||
   3272 	 test ! -s conftest.err
   3273        } && test -s conftest.$ac_objext; then
   3274   ac_compiler_gnu=yes
   3275 else
   3276   $as_echo "$as_me: failed program was:" >&5
   3277 sed 's/^/| /' conftest.$ac_ext >&5
   3278 
   3279 	ac_compiler_gnu=no
   3280 fi
   3281 
   3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3283 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3284 
   3285 fi
   3286 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3287 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3288 if test $ac_compiler_gnu = yes; then
   3289   GCC=yes
   3290 else
   3291   GCC=
   3292 fi
   3293 ac_test_CFLAGS=${CFLAGS+set}
   3294 ac_save_CFLAGS=$CFLAGS
   3295 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3296 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3297 if test "${ac_cv_prog_cc_g+set}" = set; then
   3298   $as_echo_n "(cached) " >&6
   3299 else
   3300   ac_save_c_werror_flag=$ac_c_werror_flag
   3301    ac_c_werror_flag=yes
   3302    ac_cv_prog_cc_g=no
   3303    CFLAGS="-g"
   3304    cat >conftest.$ac_ext <<_ACEOF
   3305 /* confdefs.h.  */
   3306 _ACEOF
   3307 cat confdefs.h >>conftest.$ac_ext
   3308 cat >>conftest.$ac_ext <<_ACEOF
   3309 /* end confdefs.h.  */
   3310 
   3311 int
   3312 main ()
   3313 {
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 rm -f conftest.$ac_objext
   3320 if { (ac_try="$ac_compile"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo") >&5
   3327   (eval "$ac_compile") 2>conftest.er1
   3328   ac_status=$?
   3329   grep -v '^ *+' conftest.er1 >conftest.err
   3330   rm -f conftest.er1
   3331   cat conftest.err >&5
   3332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3333   (exit $ac_status); } && {
   3334 	 test -z "$ac_c_werror_flag" ||
   3335 	 test ! -s conftest.err
   3336        } && test -s conftest.$ac_objext; then
   3337   ac_cv_prog_cc_g=yes
   3338 else
   3339   $as_echo "$as_me: failed program was:" >&5
   3340 sed 's/^/| /' conftest.$ac_ext >&5
   3341 
   3342 	CFLAGS=""
   3343       cat >conftest.$ac_ext <<_ACEOF
   3344 /* confdefs.h.  */
   3345 _ACEOF
   3346 cat confdefs.h >>conftest.$ac_ext
   3347 cat >>conftest.$ac_ext <<_ACEOF
   3348 /* end confdefs.h.  */
   3349 
   3350 int
   3351 main ()
   3352 {
   3353 
   3354   ;
   3355   return 0;
   3356 }
   3357 _ACEOF
   3358 rm -f conftest.$ac_objext
   3359 if { (ac_try="$ac_compile"
   3360 case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3365 $as_echo "$ac_try_echo") >&5
   3366   (eval "$ac_compile") 2>conftest.er1
   3367   ac_status=$?
   3368   grep -v '^ *+' conftest.er1 >conftest.err
   3369   rm -f conftest.er1
   3370   cat conftest.err >&5
   3371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3372   (exit $ac_status); } && {
   3373 	 test -z "$ac_c_werror_flag" ||
   3374 	 test ! -s conftest.err
   3375        } && test -s conftest.$ac_objext; then
   3376   :
   3377 else
   3378   $as_echo "$as_me: failed program was:" >&5
   3379 sed 's/^/| /' conftest.$ac_ext >&5
   3380 
   3381 	ac_c_werror_flag=$ac_save_c_werror_flag
   3382 	 CFLAGS="-g"
   3383 	 cat >conftest.$ac_ext <<_ACEOF
   3384 /* confdefs.h.  */
   3385 _ACEOF
   3386 cat confdefs.h >>conftest.$ac_ext
   3387 cat >>conftest.$ac_ext <<_ACEOF
   3388 /* end confdefs.h.  */
   3389 
   3390 int
   3391 main ()
   3392 {
   3393 
   3394   ;
   3395   return 0;
   3396 }
   3397 _ACEOF
   3398 rm -f conftest.$ac_objext
   3399 if { (ac_try="$ac_compile"
   3400 case "(($ac_try" in
   3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3402   *) ac_try_echo=$ac_try;;
   3403 esac
   3404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3405 $as_echo "$ac_try_echo") >&5
   3406   (eval "$ac_compile") 2>conftest.er1
   3407   ac_status=$?
   3408   grep -v '^ *+' conftest.er1 >conftest.err
   3409   rm -f conftest.er1
   3410   cat conftest.err >&5
   3411   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3412   (exit $ac_status); } && {
   3413 	 test -z "$ac_c_werror_flag" ||
   3414 	 test ! -s conftest.err
   3415        } && test -s conftest.$ac_objext; then
   3416   ac_cv_prog_cc_g=yes
   3417 else
   3418   $as_echo "$as_me: failed program was:" >&5
   3419 sed 's/^/| /' conftest.$ac_ext >&5
   3420 
   3421 
   3422 fi
   3423 
   3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3425 fi
   3426 
   3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3428 fi
   3429 
   3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3431    ac_c_werror_flag=$ac_save_c_werror_flag
   3432 fi
   3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3434 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3435 if test "$ac_test_CFLAGS" = set; then
   3436   CFLAGS=$ac_save_CFLAGS
   3437 elif test $ac_cv_prog_cc_g = yes; then
   3438   if test "$GCC" = yes; then
   3439     CFLAGS="-g -O2"
   3440   else
   3441     CFLAGS="-g"
   3442   fi
   3443 else
   3444   if test "$GCC" = yes; then
   3445     CFLAGS="-O2"
   3446   else
   3447     CFLAGS=
   3448   fi
   3449 fi
   3450 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3452 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   ac_cv_prog_cc_c89=no
   3456 ac_save_CC=$CC
   3457 cat >conftest.$ac_ext <<_ACEOF
   3458 /* confdefs.h.  */
   3459 _ACEOF
   3460 cat confdefs.h >>conftest.$ac_ext
   3461 cat >>conftest.$ac_ext <<_ACEOF
   3462 /* end confdefs.h.  */
   3463 #include <stdarg.h>
   3464 #include <stdio.h>
   3465 #include <sys/types.h>
   3466 #include <sys/stat.h>
   3467 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3468 struct buf { int x; };
   3469 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3470 static char *e (p, i)
   3471      char **p;
   3472      int i;
   3473 {
   3474   return p[i];
   3475 }
   3476 static char *f (char * (*g) (char **, int), char **p, ...)
   3477 {
   3478   char *s;
   3479   va_list v;
   3480   va_start (v,p);
   3481   s = g (p, va_arg (v,int));
   3482   va_end (v);
   3483   return s;
   3484 }
   3485 
   3486 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3487    function prototypes and stuff, but not '\xHH' hex character constants.
   3488    These don't provoke an error unfortunately, instead are silently treated
   3489    as 'x'.  The following induces an error, until -std is added to get
   3490    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3491    array size at least.  It's necessary to write '\x00'==0 to get something
   3492    that's true only with -std.  */
   3493 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3494 
   3495 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3496    inside strings and character constants.  */
   3497 #define FOO(x) 'x'
   3498 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3499 
   3500 int test (int i, double x);
   3501 struct s1 {int (*f) (int a);};
   3502 struct s2 {int (*f) (double a);};
   3503 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3504 int argc;
   3505 char **argv;
   3506 int
   3507 main ()
   3508 {
   3509 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3510   ;
   3511   return 0;
   3512 }
   3513 _ACEOF
   3514 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3515 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3516 do
   3517   CC="$ac_save_CC $ac_arg"
   3518   rm -f conftest.$ac_objext
   3519 if { (ac_try="$ac_compile"
   3520 case "(($ac_try" in
   3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3522   *) ac_try_echo=$ac_try;;
   3523 esac
   3524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3525 $as_echo "$ac_try_echo") >&5
   3526   (eval "$ac_compile") 2>conftest.er1
   3527   ac_status=$?
   3528   grep -v '^ *+' conftest.er1 >conftest.err
   3529   rm -f conftest.er1
   3530   cat conftest.err >&5
   3531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3532   (exit $ac_status); } && {
   3533 	 test -z "$ac_c_werror_flag" ||
   3534 	 test ! -s conftest.err
   3535        } && test -s conftest.$ac_objext; then
   3536   ac_cv_prog_cc_c89=$ac_arg
   3537 else
   3538   $as_echo "$as_me: failed program was:" >&5
   3539 sed 's/^/| /' conftest.$ac_ext >&5
   3540 
   3541 
   3542 fi
   3543 
   3544 rm -f core conftest.err conftest.$ac_objext
   3545   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3546 done
   3547 rm -f conftest.$ac_ext
   3548 CC=$ac_save_CC
   3549 
   3550 fi
   3551 # AC_CACHE_VAL
   3552 case "x$ac_cv_prog_cc_c89" in
   3553   x)
   3554     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3555 $as_echo "none needed" >&6; } ;;
   3556   xno)
   3557     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3558 $as_echo "unsupported" >&6; } ;;
   3559   *)
   3560     CC="$CC $ac_cv_prog_cc_c89"
   3561     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3562 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3563 esac
   3564 
   3565 
   3566 ac_ext=c
   3567 ac_cpp='$CPP $CPPFLAGS'
   3568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3571 DEPDIR="${am__leading_dot}deps"
   3572 
   3573 ac_config_commands="$ac_config_commands depfiles"
   3574 
   3575 
   3576 am_make=${MAKE-make}
   3577 cat > confinc << 'END'
   3578 am__doit:
   3579 	@echo this is the am__doit target
   3580 .PHONY: am__doit
   3581 END
   3582 # If we don't find an include directive, just comment out the code.
   3583 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3584 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3585 am__include="#"
   3586 am__quote=
   3587 _am_result=none
   3588 # First try GNU make style include.
   3589 echo "include confinc" > confmf
   3590 # Ignore all kinds of additional output from `make'.
   3591 case `$am_make -s -f confmf 2> /dev/null` in #(
   3592 *the\ am__doit\ target*)
   3593   am__include=include
   3594   am__quote=
   3595   _am_result=GNU
   3596   ;;
   3597 esac
   3598 # Now try BSD make style include.
   3599 if test "$am__include" = "#"; then
   3600    echo '.include "confinc"' > confmf
   3601    case `$am_make -s -f confmf 2> /dev/null` in #(
   3602    *the\ am__doit\ target*)
   3603      am__include=.include
   3604      am__quote="\""
   3605      _am_result=BSD
   3606      ;;
   3607    esac
   3608 fi
   3609 
   3610 
   3611 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3612 $as_echo "$_am_result" >&6; }
   3613 rm -f confinc confmf
   3614 
   3615 # Check whether --enable-dependency-tracking was given.
   3616 if test "${enable_dependency_tracking+set}" = set; then
   3617   enableval=$enable_dependency_tracking;
   3618 fi
   3619 
   3620 if test "x$enable_dependency_tracking" != xno; then
   3621   am_depcomp="$ac_aux_dir/depcomp"
   3622   AMDEPBACKSLASH='\'
   3623 fi
   3624  if test "x$enable_dependency_tracking" != xno; then
   3625   AMDEP_TRUE=
   3626   AMDEP_FALSE='#'
   3627 else
   3628   AMDEP_TRUE='#'
   3629   AMDEP_FALSE=
   3630 fi
   3631 
   3632 
   3633 
   3634 depcc="$CC"   am_compiler_list=
   3635 
   3636 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3637 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3638 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3639   $as_echo_n "(cached) " >&6
   3640 else
   3641   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3642   # We make a subdir and do the tests there.  Otherwise we can end up
   3643   # making bogus files that we don't know about and never remove.  For
   3644   # instance it was reported that on HP-UX the gcc test will end up
   3645   # making a dummy file named `D' -- because `-MD' means `put the output
   3646   # in D'.
   3647   mkdir conftest.dir
   3648   # Copy depcomp to subdir because otherwise we won't find it if we're
   3649   # using a relative directory.
   3650   cp "$am_depcomp" conftest.dir
   3651   cd conftest.dir
   3652   # We will build objects and dependencies in a subdirectory because
   3653   # it helps to detect inapplicable dependency modes.  For instance
   3654   # both Tru64's cc and ICC support -MD to output dependencies as a
   3655   # side effect of compilation, but ICC will put the dependencies in
   3656   # the current directory while Tru64 will put them in the object
   3657   # directory.
   3658   mkdir sub
   3659 
   3660   am_cv_CC_dependencies_compiler_type=none
   3661   if test "$am_compiler_list" = ""; then
   3662      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3663   fi
   3664   am__universal=false
   3665   case " $depcc " in #(
   3666      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3667      esac
   3668 
   3669   for depmode in $am_compiler_list; do
   3670     # Setup a source with many dependencies, because some compilers
   3671     # like to wrap large dependency lists on column 80 (with \), and
   3672     # we should not choose a depcomp mode which is confused by this.
   3673     #
   3674     # We need to recreate these files for each test, as the compiler may
   3675     # overwrite some of them when testing with obscure command lines.
   3676     # This happens at least with the AIX C compiler.
   3677     : > sub/conftest.c
   3678     for i in 1 2 3 4 5 6; do
   3679       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3680       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3681       # Solaris 8's {/usr,}/bin/sh.
   3682       touch sub/conftst$i.h
   3683     done
   3684     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3685 
   3686     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3687     # mode.  It turns out that the SunPro C++ compiler does not properly
   3688     # handle `-M -o', and we need to detect this.  Also, some Intel
   3689     # versions had trouble with output in subdirs
   3690     am__obj=sub/conftest.${OBJEXT-o}
   3691     am__minus_obj="-o $am__obj"
   3692     case $depmode in
   3693     gcc)
   3694       # This depmode causes a compiler race in universal mode.
   3695       test "$am__universal" = false || continue
   3696       ;;
   3697     nosideeffect)
   3698       # after this tag, mechanisms are not by side-effect, so they'll
   3699       # only be used when explicitly requested
   3700       if test "x$enable_dependency_tracking" = xyes; then
   3701 	continue
   3702       else
   3703 	break
   3704       fi
   3705       ;;
   3706     msvisualcpp | msvcmsys)
   3707       # This compiler won't grok `-c -o', but also, the minuso test has
   3708       # not run yet.  These depmodes are late enough in the game, and
   3709       # so weak that their functioning should not be impacted.
   3710       am__obj=conftest.${OBJEXT-o}
   3711       am__minus_obj=
   3712       ;;
   3713     none) break ;;
   3714     esac
   3715     if depmode=$depmode \
   3716        source=sub/conftest.c object=$am__obj \
   3717        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3718        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3719          >/dev/null 2>conftest.err &&
   3720        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3721        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3722        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3723        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3724       # icc doesn't choke on unknown options, it will just issue warnings
   3725       # or remarks (even with -Werror).  So we grep stderr for any message
   3726       # that says an option was ignored or not supported.
   3727       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3728       #   icc: Command line warning: ignoring option '-M'; no argument required
   3729       # The diagnosis changed in icc 8.0:
   3730       #   icc: Command line remark: option '-MP' not supported
   3731       if (grep 'ignoring option' conftest.err ||
   3732           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3733         am_cv_CC_dependencies_compiler_type=$depmode
   3734         break
   3735       fi
   3736     fi
   3737   done
   3738 
   3739   cd ..
   3740   rm -rf conftest.dir
   3741 else
   3742   am_cv_CC_dependencies_compiler_type=none
   3743 fi
   3744 
   3745 fi
   3746 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3748 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3749 
   3750  if
   3751   test "x$enable_dependency_tracking" != xno \
   3752   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3753   am__fastdepCC_TRUE=
   3754   am__fastdepCC_FALSE='#'
   3755 else
   3756   am__fastdepCC_TRUE='#'
   3757   am__fastdepCC_FALSE=
   3758 fi
   3759 
   3760 
   3761 case `pwd` in
   3762   *\ * | *\	*)
   3763     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3764 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3765 esac
   3766 
   3767 
   3768 
   3769 macro_version='2.2.6'
   3770 macro_revision='1.3012'
   3771 
   3772 
   3773 
   3774 
   3775 
   3776 
   3777 
   3778 
   3779 
   3780 
   3781 
   3782 
   3783 
   3784 ltmain="$ac_aux_dir/ltmain.sh"
   3785 
   3786 # Make sure we can run config.sub.
   3787 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3788   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3789 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3790    { (exit 1); exit 1; }; }
   3791 
   3792 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3793 $as_echo_n "checking build system type... " >&6; }
   3794 if test "${ac_cv_build+set}" = set; then
   3795   $as_echo_n "(cached) " >&6
   3796 else
   3797   ac_build_alias=$build_alias
   3798 test "x$ac_build_alias" = x &&
   3799   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3800 test "x$ac_build_alias" = x &&
   3801   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3802 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3803    { (exit 1); exit 1; }; }
   3804 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3805   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3806 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3807    { (exit 1); exit 1; }; }
   3808 
   3809 fi
   3810 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3811 $as_echo "$ac_cv_build" >&6; }
   3812 case $ac_cv_build in
   3813 *-*-*) ;;
   3814 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3815 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3816    { (exit 1); exit 1; }; };;
   3817 esac
   3818 build=$ac_cv_build
   3819 ac_save_IFS=$IFS; IFS='-'
   3820 set x $ac_cv_build
   3821 shift
   3822 build_cpu=$1
   3823 build_vendor=$2
   3824 shift; shift
   3825 # Remember, the first character of IFS is used to create $*,
   3826 # except with old shells:
   3827 build_os=$*
   3828 IFS=$ac_save_IFS
   3829 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3830 
   3831 
   3832 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3833 $as_echo_n "checking host system type... " >&6; }
   3834 if test "${ac_cv_host+set}" = set; then
   3835   $as_echo_n "(cached) " >&6
   3836 else
   3837   if test "x$host_alias" = x; then
   3838   ac_cv_host=$ac_cv_build
   3839 else
   3840   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3841     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3842 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3843    { (exit 1); exit 1; }; }
   3844 fi
   3845 
   3846 fi
   3847 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3848 $as_echo "$ac_cv_host" >&6; }
   3849 case $ac_cv_host in
   3850 *-*-*) ;;
   3851 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3852 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3853    { (exit 1); exit 1; }; };;
   3854 esac
   3855 host=$ac_cv_host
   3856 ac_save_IFS=$IFS; IFS='-'
   3857 set x $ac_cv_host
   3858 shift
   3859 host_cpu=$1
   3860 host_vendor=$2
   3861 shift; shift
   3862 # Remember, the first character of IFS is used to create $*,
   3863 # except with old shells:
   3864 host_os=$*
   3865 IFS=$ac_save_IFS
   3866 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3867 
   3868 
   3869 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3870 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3871 if test "${ac_cv_path_SED+set}" = set; then
   3872   $as_echo_n "(cached) " >&6
   3873 else
   3874             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3875      for ac_i in 1 2 3 4 5 6 7; do
   3876        ac_script="$ac_script$as_nl$ac_script"
   3877      done
   3878      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3879      $as_unset ac_script || ac_script=
   3880      if test -z "$SED"; then
   3881   ac_path_SED_found=false
   3882   # Loop through the user's path and test for each of PROGNAME-LIST
   3883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3884 for as_dir in $PATH
   3885 do
   3886   IFS=$as_save_IFS
   3887   test -z "$as_dir" && as_dir=.
   3888   for ac_prog in sed gsed; do
   3889     for ac_exec_ext in '' $ac_executable_extensions; do
   3890       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3891       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3892 # Check for GNU ac_path_SED and select it if it is found.
   3893   # Check for GNU $ac_path_SED
   3894 case `"$ac_path_SED" --version 2>&1` in
   3895 *GNU*)
   3896   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3897 *)
   3898   ac_count=0
   3899   $as_echo_n 0123456789 >"conftest.in"
   3900   while :
   3901   do
   3902     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3903     mv "conftest.tmp" "conftest.in"
   3904     cp "conftest.in" "conftest.nl"
   3905     $as_echo '' >> "conftest.nl"
   3906     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3907     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3908     ac_count=`expr $ac_count + 1`
   3909     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3910       # Best one so far, save it but keep looking for a better one
   3911       ac_cv_path_SED="$ac_path_SED"
   3912       ac_path_SED_max=$ac_count
   3913     fi
   3914     # 10*(2^10) chars as input seems more than enough
   3915     test $ac_count -gt 10 && break
   3916   done
   3917   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3918 esac
   3919 
   3920       $ac_path_SED_found && break 3
   3921     done
   3922   done
   3923 done
   3924 IFS=$as_save_IFS
   3925   if test -z "$ac_cv_path_SED"; then
   3926     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3927 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3928    { (exit 1); exit 1; }; }
   3929   fi
   3930 else
   3931   ac_cv_path_SED=$SED
   3932 fi
   3933 
   3934 fi
   3935 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3936 $as_echo "$ac_cv_path_SED" >&6; }
   3937  SED="$ac_cv_path_SED"
   3938   rm -f conftest.sed
   3939 
   3940 test -z "$SED" && SED=sed
   3941 Xsed="$SED -e 1s/^X//"
   3942 
   3943 
   3944 
   3945 
   3946 
   3947 
   3948 
   3949 
   3950 
   3951 
   3952 
   3953 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3954 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3955 if test "${ac_cv_path_GREP+set}" = set; then
   3956   $as_echo_n "(cached) " >&6
   3957 else
   3958   if test -z "$GREP"; then
   3959   ac_path_GREP_found=false
   3960   # Loop through the user's path and test for each of PROGNAME-LIST
   3961   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3963 do
   3964   IFS=$as_save_IFS
   3965   test -z "$as_dir" && as_dir=.
   3966   for ac_prog in grep ggrep; do
   3967     for ac_exec_ext in '' $ac_executable_extensions; do
   3968       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3969       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3970 # Check for GNU ac_path_GREP and select it if it is found.
   3971   # Check for GNU $ac_path_GREP
   3972 case `"$ac_path_GREP" --version 2>&1` in
   3973 *GNU*)
   3974   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3975 *)
   3976   ac_count=0
   3977   $as_echo_n 0123456789 >"conftest.in"
   3978   while :
   3979   do
   3980     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3981     mv "conftest.tmp" "conftest.in"
   3982     cp "conftest.in" "conftest.nl"
   3983     $as_echo 'GREP' >> "conftest.nl"
   3984     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3985     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3986     ac_count=`expr $ac_count + 1`
   3987     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3988       # Best one so far, save it but keep looking for a better one
   3989       ac_cv_path_GREP="$ac_path_GREP"
   3990       ac_path_GREP_max=$ac_count
   3991     fi
   3992     # 10*(2^10) chars as input seems more than enough
   3993     test $ac_count -gt 10 && break
   3994   done
   3995   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3996 esac
   3997 
   3998       $ac_path_GREP_found && break 3
   3999     done
   4000   done
   4001 done
   4002 IFS=$as_save_IFS
   4003   if test -z "$ac_cv_path_GREP"; then
   4004     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4005 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4006    { (exit 1); exit 1; }; }
   4007   fi
   4008 else
   4009   ac_cv_path_GREP=$GREP
   4010 fi
   4011 
   4012 fi
   4013 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4014 $as_echo "$ac_cv_path_GREP" >&6; }
   4015  GREP="$ac_cv_path_GREP"
   4016 
   4017 
   4018 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4019 $as_echo_n "checking for egrep... " >&6; }
   4020 if test "${ac_cv_path_EGREP+set}" = set; then
   4021   $as_echo_n "(cached) " >&6
   4022 else
   4023   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4024    then ac_cv_path_EGREP="$GREP -E"
   4025    else
   4026      if test -z "$EGREP"; then
   4027   ac_path_EGREP_found=false
   4028   # Loop through the user's path and test for each of PROGNAME-LIST
   4029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4031 do
   4032   IFS=$as_save_IFS
   4033   test -z "$as_dir" && as_dir=.
   4034   for ac_prog in egrep; do
   4035     for ac_exec_ext in '' $ac_executable_extensions; do
   4036       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4037       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4038 # Check for GNU ac_path_EGREP and select it if it is found.
   4039   # Check for GNU $ac_path_EGREP
   4040 case `"$ac_path_EGREP" --version 2>&1` in
   4041 *GNU*)
   4042   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4043 *)
   4044   ac_count=0
   4045   $as_echo_n 0123456789 >"conftest.in"
   4046   while :
   4047   do
   4048     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4049     mv "conftest.tmp" "conftest.in"
   4050     cp "conftest.in" "conftest.nl"
   4051     $as_echo 'EGREP' >> "conftest.nl"
   4052     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4053     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4054     ac_count=`expr $ac_count + 1`
   4055     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4056       # Best one so far, save it but keep looking for a better one
   4057       ac_cv_path_EGREP="$ac_path_EGREP"
   4058       ac_path_EGREP_max=$ac_count
   4059     fi
   4060     # 10*(2^10) chars as input seems more than enough
   4061     test $ac_count -gt 10 && break
   4062   done
   4063   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4064 esac
   4065 
   4066       $ac_path_EGREP_found && break 3
   4067     done
   4068   done
   4069 done
   4070 IFS=$as_save_IFS
   4071   if test -z "$ac_cv_path_EGREP"; then
   4072     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4073 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4074    { (exit 1); exit 1; }; }
   4075   fi
   4076 else
   4077   ac_cv_path_EGREP=$EGREP
   4078 fi
   4079 
   4080    fi
   4081 fi
   4082 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4083 $as_echo "$ac_cv_path_EGREP" >&6; }
   4084  EGREP="$ac_cv_path_EGREP"
   4085 
   4086 
   4087 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4088 $as_echo_n "checking for fgrep... " >&6; }
   4089 if test "${ac_cv_path_FGREP+set}" = set; then
   4090   $as_echo_n "(cached) " >&6
   4091 else
   4092   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4093    then ac_cv_path_FGREP="$GREP -F"
   4094    else
   4095      if test -z "$FGREP"; then
   4096   ac_path_FGREP_found=false
   4097   # Loop through the user's path and test for each of PROGNAME-LIST
   4098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4100 do
   4101   IFS=$as_save_IFS
   4102   test -z "$as_dir" && as_dir=.
   4103   for ac_prog in fgrep; do
   4104     for ac_exec_ext in '' $ac_executable_extensions; do
   4105       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4106       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4107 # Check for GNU ac_path_FGREP and select it if it is found.
   4108   # Check for GNU $ac_path_FGREP
   4109 case `"$ac_path_FGREP" --version 2>&1` in
   4110 *GNU*)
   4111   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4112 *)
   4113   ac_count=0
   4114   $as_echo_n 0123456789 >"conftest.in"
   4115   while :
   4116   do
   4117     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4118     mv "conftest.tmp" "conftest.in"
   4119     cp "conftest.in" "conftest.nl"
   4120     $as_echo 'FGREP' >> "conftest.nl"
   4121     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4122     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4123     ac_count=`expr $ac_count + 1`
   4124     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4125       # Best one so far, save it but keep looking for a better one
   4126       ac_cv_path_FGREP="$ac_path_FGREP"
   4127       ac_path_FGREP_max=$ac_count
   4128     fi
   4129     # 10*(2^10) chars as input seems more than enough
   4130     test $ac_count -gt 10 && break
   4131   done
   4132   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4133 esac
   4134 
   4135       $ac_path_FGREP_found && break 3
   4136     done
   4137   done
   4138 done
   4139 IFS=$as_save_IFS
   4140   if test -z "$ac_cv_path_FGREP"; then
   4141     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4142 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4143    { (exit 1); exit 1; }; }
   4144   fi
   4145 else
   4146   ac_cv_path_FGREP=$FGREP
   4147 fi
   4148 
   4149    fi
   4150 fi
   4151 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4152 $as_echo "$ac_cv_path_FGREP" >&6; }
   4153  FGREP="$ac_cv_path_FGREP"
   4154 
   4155 
   4156 test -z "$GREP" && GREP=grep
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 
   4168 
   4169 
   4170 
   4171 
   4172 
   4173 
   4174 
   4175 
   4176 # Check whether --with-gnu-ld was given.
   4177 if test "${with_gnu_ld+set}" = set; then
   4178   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4179 else
   4180   with_gnu_ld=no
   4181 fi
   4182 
   4183 ac_prog=ld
   4184 if test "$GCC" = yes; then
   4185   # Check if gcc -print-prog-name=ld gives a path.
   4186   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4187 $as_echo_n "checking for ld used by $CC... " >&6; }
   4188   case $host in
   4189   *-*-mingw*)
   4190     # gcc leaves a trailing carriage return which upsets mingw
   4191     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4192   *)
   4193     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4194   esac
   4195   case $ac_prog in
   4196     # Accept absolute paths.
   4197     [\\/]* | ?:[\\/]*)
   4198       re_direlt='/[^/][^/]*/\.\./'
   4199       # Canonicalize the pathname of ld
   4200       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4201       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4202 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4203       done
   4204       test -z "$LD" && LD="$ac_prog"
   4205       ;;
   4206   "")
   4207     # If it fails, then pretend we aren't using GCC.
   4208     ac_prog=ld
   4209     ;;
   4210   *)
   4211     # If it is relative, then search for the first ld in PATH.
   4212     with_gnu_ld=unknown
   4213     ;;
   4214   esac
   4215 elif test "$with_gnu_ld" = yes; then
   4216   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4217 $as_echo_n "checking for GNU ld... " >&6; }
   4218 else
   4219   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4220 $as_echo_n "checking for non-GNU ld... " >&6; }
   4221 fi
   4222 if test "${lt_cv_path_LD+set}" = set; then
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225   if test -z "$LD"; then
   4226   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4227   for ac_dir in $PATH; do
   4228     IFS="$lt_save_ifs"
   4229     test -z "$ac_dir" && ac_dir=.
   4230     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4231       lt_cv_path_LD="$ac_dir/$ac_prog"
   4232       # Check to see if the program is GNU ld.  I'd rather use --version,
   4233       # but apparently some variants of GNU ld only accept -v.
   4234       # Break only if it was the GNU/non-GNU ld that we prefer.
   4235       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4236       *GNU* | *'with BFD'*)
   4237 	test "$with_gnu_ld" != no && break
   4238 	;;
   4239       *)
   4240 	test "$with_gnu_ld" != yes && break
   4241 	;;
   4242       esac
   4243     fi
   4244   done
   4245   IFS="$lt_save_ifs"
   4246 else
   4247   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4248 fi
   4249 fi
   4250 
   4251 LD="$lt_cv_path_LD"
   4252 if test -n "$LD"; then
   4253   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4254 $as_echo "$LD" >&6; }
   4255 else
   4256   { $as_echo "$as_me:$LINENO: result: no" >&5
   4257 $as_echo "no" >&6; }
   4258 fi
   4259 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4260 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4261    { (exit 1); exit 1; }; }
   4262 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4263 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4264 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4265   $as_echo_n "(cached) " >&6
   4266 else
   4267   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4268 case `$LD -v 2>&1 </dev/null` in
   4269 *GNU* | *'with BFD'*)
   4270   lt_cv_prog_gnu_ld=yes
   4271   ;;
   4272 *)
   4273   lt_cv_prog_gnu_ld=no
   4274   ;;
   4275 esac
   4276 fi
   4277 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4278 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4279 with_gnu_ld=$lt_cv_prog_gnu_ld
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 
   4289 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4290 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4291 if test "${lt_cv_path_NM+set}" = set; then
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294   if test -n "$NM"; then
   4295   # Let the user override the test.
   4296   lt_cv_path_NM="$NM"
   4297 else
   4298   lt_nm_to_check="${ac_tool_prefix}nm"
   4299   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4300     lt_nm_to_check="$lt_nm_to_check nm"
   4301   fi
   4302   for lt_tmp_nm in $lt_nm_to_check; do
   4303     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4304     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4305       IFS="$lt_save_ifs"
   4306       test -z "$ac_dir" && ac_dir=.
   4307       tmp_nm="$ac_dir/$lt_tmp_nm"
   4308       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4309 	# Check to see if the nm accepts a BSD-compat flag.
   4310 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4311 	#   nm: unknown option "B" ignored
   4312 	# Tru64's nm complains that /dev/null is an invalid object file
   4313 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4314 	*/dev/null* | *'Invalid file or object type'*)
   4315 	  lt_cv_path_NM="$tmp_nm -B"
   4316 	  break
   4317 	  ;;
   4318 	*)
   4319 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4320 	  */dev/null*)
   4321 	    lt_cv_path_NM="$tmp_nm -p"
   4322 	    break
   4323 	    ;;
   4324 	  *)
   4325 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4326 	    continue # so that we can try to find one that supports BSD flags
   4327 	    ;;
   4328 	  esac
   4329 	  ;;
   4330 	esac
   4331       fi
   4332     done
   4333     IFS="$lt_save_ifs"
   4334   done
   4335   : ${lt_cv_path_NM=no}
   4336 fi
   4337 fi
   4338 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4339 $as_echo "$lt_cv_path_NM" >&6; }
   4340 if test "$lt_cv_path_NM" != "no"; then
   4341   NM="$lt_cv_path_NM"
   4342 else
   4343   # Didn't find any BSD compatible name lister, look for dumpbin.
   4344   if test -n "$ac_tool_prefix"; then
   4345   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4346   do
   4347     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4350 $as_echo_n "checking for $ac_word... " >&6; }
   4351 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   if test -n "$DUMPBIN"; then
   4355   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4356 else
   4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4358 for as_dir in $PATH
   4359 do
   4360   IFS=$as_save_IFS
   4361   test -z "$as_dir" && as_dir=.
   4362   for ac_exec_ext in '' $ac_executable_extensions; do
   4363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4364     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4366     break 2
   4367   fi
   4368 done
   4369 done
   4370 IFS=$as_save_IFS
   4371 
   4372 fi
   4373 fi
   4374 DUMPBIN=$ac_cv_prog_DUMPBIN
   4375 if test -n "$DUMPBIN"; then
   4376   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4377 $as_echo "$DUMPBIN" >&6; }
   4378 else
   4379   { $as_echo "$as_me:$LINENO: result: no" >&5
   4380 $as_echo "no" >&6; }
   4381 fi
   4382 
   4383 
   4384     test -n "$DUMPBIN" && break
   4385   done
   4386 fi
   4387 if test -z "$DUMPBIN"; then
   4388   ac_ct_DUMPBIN=$DUMPBIN
   4389   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4390 do
   4391   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4392 set dummy $ac_prog; ac_word=$2
   4393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4394 $as_echo_n "checking for $ac_word... " >&6; }
   4395 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4396   $as_echo_n "(cached) " >&6
   4397 else
   4398   if test -n "$ac_ct_DUMPBIN"; then
   4399   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4400 else
   4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4402 for as_dir in $PATH
   4403 do
   4404   IFS=$as_save_IFS
   4405   test -z "$as_dir" && as_dir=.
   4406   for ac_exec_ext in '' $ac_executable_extensions; do
   4407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4408     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4410     break 2
   4411   fi
   4412 done
   4413 done
   4414 IFS=$as_save_IFS
   4415 
   4416 fi
   4417 fi
   4418 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4419 if test -n "$ac_ct_DUMPBIN"; then
   4420   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4421 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4422 else
   4423   { $as_echo "$as_me:$LINENO: result: no" >&5
   4424 $as_echo "no" >&6; }
   4425 fi
   4426 
   4427 
   4428   test -n "$ac_ct_DUMPBIN" && break
   4429 done
   4430 
   4431   if test "x$ac_ct_DUMPBIN" = x; then
   4432     DUMPBIN=":"
   4433   else
   4434     case $cross_compiling:$ac_tool_warned in
   4435 yes:)
   4436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4438 ac_tool_warned=yes ;;
   4439 esac
   4440     DUMPBIN=$ac_ct_DUMPBIN
   4441   fi
   4442 fi
   4443 
   4444 
   4445   if test "$DUMPBIN" != ":"; then
   4446     NM="$DUMPBIN"
   4447   fi
   4448 fi
   4449 test -z "$NM" && NM=nm
   4450 
   4451 
   4452 
   4453 
   4454 
   4455 
   4456 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4457 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4458 if test "${lt_cv_nm_interface+set}" = set; then
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   lt_cv_nm_interface="BSD nm"
   4462   echo "int some_variable = 0;" > conftest.$ac_ext
   4463   (eval echo "\"\$as_me:4463: $ac_compile\"" >&5)
   4464   (eval "$ac_compile" 2>conftest.err)
   4465   cat conftest.err >&5
   4466   (eval echo "\"\$as_me:4466: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4467   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4468   cat conftest.err >&5
   4469   (eval echo "\"\$as_me:4469: output\"" >&5)
   4470   cat conftest.out >&5
   4471   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4472     lt_cv_nm_interface="MS dumpbin"
   4473   fi
   4474   rm -f conftest*
   4475 fi
   4476 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4477 $as_echo "$lt_cv_nm_interface" >&6; }
   4478 
   4479 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4480 $as_echo_n "checking whether ln -s works... " >&6; }
   4481 LN_S=$as_ln_s
   4482 if test "$LN_S" = "ln -s"; then
   4483   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4484 $as_echo "yes" >&6; }
   4485 else
   4486   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4487 $as_echo "no, using $LN_S" >&6; }
   4488 fi
   4489 
   4490 # find the maximum length of command line arguments
   4491 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4492 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4493 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4494   $as_echo_n "(cached) " >&6
   4495 else
   4496     i=0
   4497   teststring="ABCD"
   4498 
   4499   case $build_os in
   4500   msdosdjgpp*)
   4501     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4502     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4503     # during glob expansion).  Even if it were fixed, the result of this
   4504     # check would be larger than it should be.
   4505     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4506     ;;
   4507 
   4508   gnu*)
   4509     # Under GNU Hurd, this test is not required because there is
   4510     # no limit to the length of command line arguments.
   4511     # Libtool will interpret -1 as no limit whatsoever
   4512     lt_cv_sys_max_cmd_len=-1;
   4513     ;;
   4514 
   4515   cygwin* | mingw* | cegcc*)
   4516     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4517     # about 5 minutes as the teststring grows exponentially.
   4518     # Worse, since 9x/ME are not pre-emptively multitasking,
   4519     # you end up with a "frozen" computer, even though with patience
   4520     # the test eventually succeeds (with a max line length of 256k).
   4521     # Instead, let's just punt: use the minimum linelength reported by
   4522     # all of the supported platforms: 8192 (on NT/2K/XP).
   4523     lt_cv_sys_max_cmd_len=8192;
   4524     ;;
   4525 
   4526   amigaos*)
   4527     # On AmigaOS with pdksh, this test takes hours, literally.
   4528     # So we just punt and use a minimum line length of 8192.
   4529     lt_cv_sys_max_cmd_len=8192;
   4530     ;;
   4531 
   4532   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4533     # This has been around since 386BSD, at least.  Likely further.
   4534     if test -x /sbin/sysctl; then
   4535       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4536     elif test -x /usr/sbin/sysctl; then
   4537       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4538     else
   4539       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4540     fi
   4541     # And add a safety zone
   4542     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4543     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4544     ;;
   4545 
   4546   interix*)
   4547     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4548     lt_cv_sys_max_cmd_len=196608
   4549     ;;
   4550 
   4551   osf*)
   4552     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4553     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4554     # nice to cause kernel panics so lets avoid the loop below.
   4555     # First set a reasonable default.
   4556     lt_cv_sys_max_cmd_len=16384
   4557     #
   4558     if test -x /sbin/sysconfig; then
   4559       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4560         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4561       esac
   4562     fi
   4563     ;;
   4564   sco3.2v5*)
   4565     lt_cv_sys_max_cmd_len=102400
   4566     ;;
   4567   sysv5* | sco5v6* | sysv4.2uw2*)
   4568     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4569     if test -n "$kargmax"; then
   4570       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4571     else
   4572       lt_cv_sys_max_cmd_len=32768
   4573     fi
   4574     ;;
   4575   *)
   4576     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4577     if test -n "$lt_cv_sys_max_cmd_len"; then
   4578       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4579       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4580     else
   4581       # Make teststring a little bigger before we do anything with it.
   4582       # a 1K string should be a reasonable start.
   4583       for i in 1 2 3 4 5 6 7 8 ; do
   4584         teststring=$teststring$teststring
   4585       done
   4586       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4587       # If test is not a shell built-in, we'll probably end up computing a
   4588       # maximum length that is only half of the actual maximum length, but
   4589       # we can't tell.
   4590       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4591 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4592 	      test $i != 17 # 1/2 MB should be enough
   4593       do
   4594         i=`expr $i + 1`
   4595         teststring=$teststring$teststring
   4596       done
   4597       # Only check the string length outside the loop.
   4598       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4599       teststring=
   4600       # Add a significant safety factor because C++ compilers can tack on
   4601       # massive amounts of additional arguments before passing them to the
   4602       # linker.  It appears as though 1/2 is a usable value.
   4603       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4604     fi
   4605     ;;
   4606   esac
   4607 
   4608 fi
   4609 
   4610 if test -n $lt_cv_sys_max_cmd_len ; then
   4611   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4612 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4613 else
   4614   { $as_echo "$as_me:$LINENO: result: none" >&5
   4615 $as_echo "none" >&6; }
   4616 fi
   4617 max_cmd_len=$lt_cv_sys_max_cmd_len
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 : ${CP="cp -f"}
   4625 : ${MV="mv -f"}
   4626 : ${RM="rm -f"}
   4627 
   4628 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4629 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4630 # Try some XSI features
   4631 xsi_shell=no
   4632 ( _lt_dummy="a/b/c"
   4633   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4634       = c,a/b,, \
   4635     && eval 'test $(( 1 + 1 )) -eq 2 \
   4636     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4637   && xsi_shell=yes
   4638 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4639 $as_echo "$xsi_shell" >&6; }
   4640 
   4641 
   4642 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4643 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4644 lt_shell_append=no
   4645 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4646     >/dev/null 2>&1 \
   4647   && lt_shell_append=yes
   4648 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4649 $as_echo "$lt_shell_append" >&6; }
   4650 
   4651 
   4652 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4653   lt_unset=unset
   4654 else
   4655   lt_unset=false
   4656 fi
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 # test EBCDIC or ASCII
   4663 case `echo X|tr X '\101'` in
   4664  A) # ASCII based system
   4665     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4666   lt_SP2NL='tr \040 \012'
   4667   lt_NL2SP='tr \015\012 \040\040'
   4668   ;;
   4669  *) # EBCDIC based system
   4670   lt_SP2NL='tr \100 \n'
   4671   lt_NL2SP='tr \r\n \100\100'
   4672   ;;
   4673 esac
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4684 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4685 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4686   $as_echo_n "(cached) " >&6
   4687 else
   4688   lt_cv_ld_reload_flag='-r'
   4689 fi
   4690 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4691 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4692 reload_flag=$lt_cv_ld_reload_flag
   4693 case $reload_flag in
   4694 "" | " "*) ;;
   4695 *) reload_flag=" $reload_flag" ;;
   4696 esac
   4697 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4698 case $host_os in
   4699   darwin*)
   4700     if test "$GCC" = yes; then
   4701       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4702     else
   4703       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4704     fi
   4705     ;;
   4706 esac
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 if test -n "$ac_tool_prefix"; then
   4717   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4718 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4720 $as_echo_n "checking for $ac_word... " >&6; }
   4721 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4722   $as_echo_n "(cached) " >&6
   4723 else
   4724   if test -n "$OBJDUMP"; then
   4725   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4726 else
   4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4728 for as_dir in $PATH
   4729 do
   4730   IFS=$as_save_IFS
   4731   test -z "$as_dir" && as_dir=.
   4732   for ac_exec_ext in '' $ac_executable_extensions; do
   4733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4734     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4735     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4736     break 2
   4737   fi
   4738 done
   4739 done
   4740 IFS=$as_save_IFS
   4741 
   4742 fi
   4743 fi
   4744 OBJDUMP=$ac_cv_prog_OBJDUMP
   4745 if test -n "$OBJDUMP"; then
   4746   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4747 $as_echo "$OBJDUMP" >&6; }
   4748 else
   4749   { $as_echo "$as_me:$LINENO: result: no" >&5
   4750 $as_echo "no" >&6; }
   4751 fi
   4752 
   4753 
   4754 fi
   4755 if test -z "$ac_cv_prog_OBJDUMP"; then
   4756   ac_ct_OBJDUMP=$OBJDUMP
   4757   # Extract the first word of "objdump", so it can be a program name with args.
   4758 set dummy objdump; ac_word=$2
   4759 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4760 $as_echo_n "checking for $ac_word... " >&6; }
   4761 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4762   $as_echo_n "(cached) " >&6
   4763 else
   4764   if test -n "$ac_ct_OBJDUMP"; then
   4765   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4766 else
   4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4768 for as_dir in $PATH
   4769 do
   4770   IFS=$as_save_IFS
   4771   test -z "$as_dir" && as_dir=.
   4772   for ac_exec_ext in '' $ac_executable_extensions; do
   4773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4774     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4775     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4776     break 2
   4777   fi
   4778 done
   4779 done
   4780 IFS=$as_save_IFS
   4781 
   4782 fi
   4783 fi
   4784 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4785 if test -n "$ac_ct_OBJDUMP"; then
   4786   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4787 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4788 else
   4789   { $as_echo "$as_me:$LINENO: result: no" >&5
   4790 $as_echo "no" >&6; }
   4791 fi
   4792 
   4793   if test "x$ac_ct_OBJDUMP" = x; then
   4794     OBJDUMP="false"
   4795   else
   4796     case $cross_compiling:$ac_tool_warned in
   4797 yes:)
   4798 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4800 ac_tool_warned=yes ;;
   4801 esac
   4802     OBJDUMP=$ac_ct_OBJDUMP
   4803   fi
   4804 else
   4805   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4806 fi
   4807 
   4808 test -z "$OBJDUMP" && OBJDUMP=objdump
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4819 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4820 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4821   $as_echo_n "(cached) " >&6
   4822 else
   4823   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4824 lt_cv_file_magic_test_file=
   4825 lt_cv_deplibs_check_method='unknown'
   4826 # Need to set the preceding variable on all platforms that support
   4827 # interlibrary dependencies.
   4828 # 'none' -- dependencies not supported.
   4829 # `unknown' -- same as none, but documents that we really don't know.
   4830 # 'pass_all' -- all dependencies passed with no checks.
   4831 # 'test_compile' -- check by making test program.
   4832 # 'file_magic [[regex]]' -- check by looking for files in library path
   4833 # which responds to the $file_magic_cmd with a given extended regex.
   4834 # If you have `file' or equivalent on your system and you're not sure
   4835 # whether `pass_all' will *always* work, you probably want this one.
   4836 
   4837 case $host_os in
   4838 aix[4-9]*)
   4839   lt_cv_deplibs_check_method=pass_all
   4840   ;;
   4841 
   4842 beos*)
   4843   lt_cv_deplibs_check_method=pass_all
   4844   ;;
   4845 
   4846 bsdi[45]*)
   4847   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4848   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4849   lt_cv_file_magic_test_file=/shlib/libc.so
   4850   ;;
   4851 
   4852 cygwin*)
   4853   # func_win32_libid is a shell function defined in ltmain.sh
   4854   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4855   lt_cv_file_magic_cmd='func_win32_libid'
   4856   ;;
   4857 
   4858 mingw* | pw32*)
   4859   # Base MSYS/MinGW do not provide the 'file' command needed by
   4860   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4861   # unless we find 'file', for example because we are cross-compiling.
   4862   if ( file / ) >/dev/null 2>&1; then
   4863     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4864     lt_cv_file_magic_cmd='func_win32_libid'
   4865   else
   4866     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4867     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4868   fi
   4869   ;;
   4870 
   4871 cegcc)
   4872   # use the weaker test based on 'objdump'. See mingw*.
   4873   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4874   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4875   ;;
   4876 
   4877 darwin* | rhapsody*)
   4878   lt_cv_deplibs_check_method=pass_all
   4879   ;;
   4880 
   4881 freebsd* | dragonfly*)
   4882   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4883     case $host_cpu in
   4884     i*86 )
   4885       # Not sure whether the presence of OpenBSD here was a mistake.
   4886       # Let's accept both of them until this is cleared up.
   4887       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4888       lt_cv_file_magic_cmd=/usr/bin/file
   4889       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4890       ;;
   4891     esac
   4892   else
   4893     lt_cv_deplibs_check_method=pass_all
   4894   fi
   4895   ;;
   4896 
   4897 gnu*)
   4898   lt_cv_deplibs_check_method=pass_all
   4899   ;;
   4900 
   4901 hpux10.20* | hpux11*)
   4902   lt_cv_file_magic_cmd=/usr/bin/file
   4903   case $host_cpu in
   4904   ia64*)
   4905     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4906     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4907     ;;
   4908   hppa*64*)
   4909     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]'
   4910     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4911     ;;
   4912   *)
   4913     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4914     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4915     ;;
   4916   esac
   4917   ;;
   4918 
   4919 interix[3-9]*)
   4920   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4921   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4922   ;;
   4923 
   4924 irix5* | irix6* | nonstopux*)
   4925   case $LD in
   4926   *-32|*"-32 ") libmagic=32-bit;;
   4927   *-n32|*"-n32 ") libmagic=N32;;
   4928   *-64|*"-64 ") libmagic=64-bit;;
   4929   *) libmagic=never-match;;
   4930   esac
   4931   lt_cv_deplibs_check_method=pass_all
   4932   ;;
   4933 
   4934 # This must be Linux ELF.
   4935 linux* | k*bsd*-gnu)
   4936   lt_cv_deplibs_check_method=pass_all
   4937   ;;
   4938 
   4939 netbsd*)
   4940   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4941     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4942   else
   4943     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4944   fi
   4945   ;;
   4946 
   4947 newos6*)
   4948   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4949   lt_cv_file_magic_cmd=/usr/bin/file
   4950   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4951   ;;
   4952 
   4953 *nto* | *qnx*)
   4954   lt_cv_deplibs_check_method=pass_all
   4955   ;;
   4956 
   4957 openbsd*)
   4958   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4959     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4960   else
   4961     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4962   fi
   4963   ;;
   4964 
   4965 osf3* | osf4* | osf5*)
   4966   lt_cv_deplibs_check_method=pass_all
   4967   ;;
   4968 
   4969 rdos*)
   4970   lt_cv_deplibs_check_method=pass_all
   4971   ;;
   4972 
   4973 solaris*)
   4974   lt_cv_deplibs_check_method=pass_all
   4975   ;;
   4976 
   4977 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4978   lt_cv_deplibs_check_method=pass_all
   4979   ;;
   4980 
   4981 sysv4 | sysv4.3*)
   4982   case $host_vendor in
   4983   motorola)
   4984     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]'
   4985     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4986     ;;
   4987   ncr)
   4988     lt_cv_deplibs_check_method=pass_all
   4989     ;;
   4990   sequent)
   4991     lt_cv_file_magic_cmd='/bin/file'
   4992     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4993     ;;
   4994   sni)
   4995     lt_cv_file_magic_cmd='/bin/file'
   4996     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4997     lt_cv_file_magic_test_file=/lib/libc.so
   4998     ;;
   4999   siemens)
   5000     lt_cv_deplibs_check_method=pass_all
   5001     ;;
   5002   pc)
   5003     lt_cv_deplibs_check_method=pass_all
   5004     ;;
   5005   esac
   5006   ;;
   5007 
   5008 tpf*)
   5009   lt_cv_deplibs_check_method=pass_all
   5010   ;;
   5011 esac
   5012 
   5013 fi
   5014 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5015 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5016 file_magic_cmd=$lt_cv_file_magic_cmd
   5017 deplibs_check_method=$lt_cv_deplibs_check_method
   5018 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 if test -n "$ac_tool_prefix"; then
   5032   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5033 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5035 $as_echo_n "checking for $ac_word... " >&6; }
   5036 if test "${ac_cv_prog_AR+set}" = set; then
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   if test -n "$AR"; then
   5040   ac_cv_prog_AR="$AR" # Let the user override the test.
   5041 else
   5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5043 for as_dir in $PATH
   5044 do
   5045   IFS=$as_save_IFS
   5046   test -z "$as_dir" && as_dir=.
   5047   for ac_exec_ext in '' $ac_executable_extensions; do
   5048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5049     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5050     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5051     break 2
   5052   fi
   5053 done
   5054 done
   5055 IFS=$as_save_IFS
   5056 
   5057 fi
   5058 fi
   5059 AR=$ac_cv_prog_AR
   5060 if test -n "$AR"; then
   5061   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5062 $as_echo "$AR" >&6; }
   5063 else
   5064   { $as_echo "$as_me:$LINENO: result: no" >&5
   5065 $as_echo "no" >&6; }
   5066 fi
   5067 
   5068 
   5069 fi
   5070 if test -z "$ac_cv_prog_AR"; then
   5071   ac_ct_AR=$AR
   5072   # Extract the first word of "ar", so it can be a program name with args.
   5073 set dummy ar; ac_word=$2
   5074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5075 $as_echo_n "checking for $ac_word... " >&6; }
   5076 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5077   $as_echo_n "(cached) " >&6
   5078 else
   5079   if test -n "$ac_ct_AR"; then
   5080   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5081 else
   5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5083 for as_dir in $PATH
   5084 do
   5085   IFS=$as_save_IFS
   5086   test -z "$as_dir" && as_dir=.
   5087   for ac_exec_ext in '' $ac_executable_extensions; do
   5088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5089     ac_cv_prog_ac_ct_AR="ar"
   5090     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5091     break 2
   5092   fi
   5093 done
   5094 done
   5095 IFS=$as_save_IFS
   5096 
   5097 fi
   5098 fi
   5099 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5100 if test -n "$ac_ct_AR"; then
   5101   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5102 $as_echo "$ac_ct_AR" >&6; }
   5103 else
   5104   { $as_echo "$as_me:$LINENO: result: no" >&5
   5105 $as_echo "no" >&6; }
   5106 fi
   5107 
   5108   if test "x$ac_ct_AR" = x; then
   5109     AR="false"
   5110   else
   5111     case $cross_compiling:$ac_tool_warned in
   5112 yes:)
   5113 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5115 ac_tool_warned=yes ;;
   5116 esac
   5117     AR=$ac_ct_AR
   5118   fi
   5119 else
   5120   AR="$ac_cv_prog_AR"
   5121 fi
   5122 
   5123 test -z "$AR" && AR=ar
   5124 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 if test -n "$ac_tool_prefix"; then
   5137   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5138 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5140 $as_echo_n "checking for $ac_word... " >&6; }
   5141 if test "${ac_cv_prog_STRIP+set}" = set; then
   5142   $as_echo_n "(cached) " >&6
   5143 else
   5144   if test -n "$STRIP"; then
   5145   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5146 else
   5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5148 for as_dir in $PATH
   5149 do
   5150   IFS=$as_save_IFS
   5151   test -z "$as_dir" && as_dir=.
   5152   for ac_exec_ext in '' $ac_executable_extensions; do
   5153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5154     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5155     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5156     break 2
   5157   fi
   5158 done
   5159 done
   5160 IFS=$as_save_IFS
   5161 
   5162 fi
   5163 fi
   5164 STRIP=$ac_cv_prog_STRIP
   5165 if test -n "$STRIP"; then
   5166   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5167 $as_echo "$STRIP" >&6; }
   5168 else
   5169   { $as_echo "$as_me:$LINENO: result: no" >&5
   5170 $as_echo "no" >&6; }
   5171 fi
   5172 
   5173 
   5174 fi
   5175 if test -z "$ac_cv_prog_STRIP"; then
   5176   ac_ct_STRIP=$STRIP
   5177   # Extract the first word of "strip", so it can be a program name with args.
   5178 set dummy strip; ac_word=$2
   5179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5180 $as_echo_n "checking for $ac_word... " >&6; }
   5181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   if test -n "$ac_ct_STRIP"; then
   5185   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5186 else
   5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5188 for as_dir in $PATH
   5189 do
   5190   IFS=$as_save_IFS
   5191   test -z "$as_dir" && as_dir=.
   5192   for ac_exec_ext in '' $ac_executable_extensions; do
   5193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5194     ac_cv_prog_ac_ct_STRIP="strip"
   5195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5196     break 2
   5197   fi
   5198 done
   5199 done
   5200 IFS=$as_save_IFS
   5201 
   5202 fi
   5203 fi
   5204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5205 if test -n "$ac_ct_STRIP"; then
   5206   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5207 $as_echo "$ac_ct_STRIP" >&6; }
   5208 else
   5209   { $as_echo "$as_me:$LINENO: result: no" >&5
   5210 $as_echo "no" >&6; }
   5211 fi
   5212 
   5213   if test "x$ac_ct_STRIP" = x; then
   5214     STRIP=":"
   5215   else
   5216     case $cross_compiling:$ac_tool_warned in
   5217 yes:)
   5218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5220 ac_tool_warned=yes ;;
   5221 esac
   5222     STRIP=$ac_ct_STRIP
   5223   fi
   5224 else
   5225   STRIP="$ac_cv_prog_STRIP"
   5226 fi
   5227 
   5228 test -z "$STRIP" && STRIP=:
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 if test -n "$ac_tool_prefix"; then
   5236   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5237 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5239 $as_echo_n "checking for $ac_word... " >&6; }
   5240 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5241   $as_echo_n "(cached) " >&6
   5242 else
   5243   if test -n "$RANLIB"; then
   5244   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5245 else
   5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5247 for as_dir in $PATH
   5248 do
   5249   IFS=$as_save_IFS
   5250   test -z "$as_dir" && as_dir=.
   5251   for ac_exec_ext in '' $ac_executable_extensions; do
   5252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5253     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5254     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5255     break 2
   5256   fi
   5257 done
   5258 done
   5259 IFS=$as_save_IFS
   5260 
   5261 fi
   5262 fi
   5263 RANLIB=$ac_cv_prog_RANLIB
   5264 if test -n "$RANLIB"; then
   5265   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5266 $as_echo "$RANLIB" >&6; }
   5267 else
   5268   { $as_echo "$as_me:$LINENO: result: no" >&5
   5269 $as_echo "no" >&6; }
   5270 fi
   5271 
   5272 
   5273 fi
   5274 if test -z "$ac_cv_prog_RANLIB"; then
   5275   ac_ct_RANLIB=$RANLIB
   5276   # Extract the first word of "ranlib", so it can be a program name with args.
   5277 set dummy ranlib; ac_word=$2
   5278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5279 $as_echo_n "checking for $ac_word... " >&6; }
   5280 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   if test -n "$ac_ct_RANLIB"; then
   5284   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5285 else
   5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5287 for as_dir in $PATH
   5288 do
   5289   IFS=$as_save_IFS
   5290   test -z "$as_dir" && as_dir=.
   5291   for ac_exec_ext in '' $ac_executable_extensions; do
   5292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5293     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5294     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5295     break 2
   5296   fi
   5297 done
   5298 done
   5299 IFS=$as_save_IFS
   5300 
   5301 fi
   5302 fi
   5303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5304 if test -n "$ac_ct_RANLIB"; then
   5305   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5306 $as_echo "$ac_ct_RANLIB" >&6; }
   5307 else
   5308   { $as_echo "$as_me:$LINENO: result: no" >&5
   5309 $as_echo "no" >&6; }
   5310 fi
   5311 
   5312   if test "x$ac_ct_RANLIB" = x; then
   5313     RANLIB=":"
   5314   else
   5315     case $cross_compiling:$ac_tool_warned in
   5316 yes:)
   5317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5319 ac_tool_warned=yes ;;
   5320 esac
   5321     RANLIB=$ac_ct_RANLIB
   5322   fi
   5323 else
   5324   RANLIB="$ac_cv_prog_RANLIB"
   5325 fi
   5326 
   5327 test -z "$RANLIB" && RANLIB=:
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 # Determine commands to create old-style static archives.
   5335 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5336 old_postinstall_cmds='chmod 644 $oldlib'
   5337 old_postuninstall_cmds=
   5338 
   5339 if test -n "$RANLIB"; then
   5340   case $host_os in
   5341   openbsd*)
   5342     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5343     ;;
   5344   *)
   5345     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5346     ;;
   5347   esac
   5348   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5349 fi
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 # If no C compiler was specified, use CC.
   5385 LTCC=${LTCC-"$CC"}
   5386 
   5387 # If no C compiler flags were specified, use CFLAGS.
   5388 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5389 
   5390 # Allow CC to be a program name with arguments.
   5391 compiler=$CC
   5392 
   5393 
   5394 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5395 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5396 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5397 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5398   $as_echo_n "(cached) " >&6
   5399 else
   5400 
   5401 # These are sane defaults that work on at least a few old systems.
   5402 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5403 
   5404 # Character class describing NM global symbol codes.
   5405 symcode='[BCDEGRST]'
   5406 
   5407 # Regexp to match symbols that can be accessed directly from C.
   5408 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5409 
   5410 # Define system-specific variables.
   5411 case $host_os in
   5412 aix*)
   5413   symcode='[BCDT]'
   5414   ;;
   5415 cygwin* | mingw* | pw32* | cegcc*)
   5416   symcode='[ABCDGISTW]'
   5417   ;;
   5418 hpux*)
   5419   if test "$host_cpu" = ia64; then
   5420     symcode='[ABCDEGRST]'
   5421   fi
   5422   ;;
   5423 irix* | nonstopux*)
   5424   symcode='[BCDEGRST]'
   5425   ;;
   5426 osf*)
   5427   symcode='[BCDEGQRST]'
   5428   ;;
   5429 solaris*)
   5430   symcode='[BDRT]'
   5431   ;;
   5432 sco3.2v5*)
   5433   symcode='[DT]'
   5434   ;;
   5435 sysv4.2uw2*)
   5436   symcode='[DT]'
   5437   ;;
   5438 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5439   symcode='[ABDT]'
   5440   ;;
   5441 sysv4)
   5442   symcode='[DFNSTU]'
   5443   ;;
   5444 esac
   5445 
   5446 # If we're using GNU nm, then use its standard symbol codes.
   5447 case `$NM -V 2>&1` in
   5448 *GNU* | *'with BFD'*)
   5449   symcode='[ABCDGIRSTW]' ;;
   5450 esac
   5451 
   5452 # Transform an extracted symbol line into a proper C declaration.
   5453 # Some systems (esp. on ia64) link data and code symbols differently,
   5454 # so use this general approach.
   5455 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5456 
   5457 # Transform an extracted symbol line into symbol name and symbol address
   5458 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5459 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'"
   5460 
   5461 # Handle CRLF in mingw tool chain
   5462 opt_cr=
   5463 case $build_os in
   5464 mingw*)
   5465   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5466   ;;
   5467 esac
   5468 
   5469 # Try without a prefix underscore, then with it.
   5470 for ac_symprfx in "" "_"; do
   5471 
   5472   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5473   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5474 
   5475   # Write the raw and C identifiers.
   5476   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5477     # Fake it for dumpbin and say T for any non-static function
   5478     # and D for any global variable.
   5479     # Also find C++ and __fastcall symbols from MSVC++,
   5480     # which start with @ or ?.
   5481     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5482 "     {last_section=section; section=\$ 3};"\
   5483 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5484 "     \$ 0!~/External *\|/{next};"\
   5485 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5486 "     {if(hide[section]) next};"\
   5487 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5488 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5489 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5490 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5491 "     ' prfx=^$ac_symprfx"
   5492   else
   5493     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5494   fi
   5495 
   5496   # Check to see that the pipe works correctly.
   5497   pipe_works=no
   5498 
   5499   rm -f conftest*
   5500   cat > conftest.$ac_ext <<_LT_EOF
   5501 #ifdef __cplusplus
   5502 extern "C" {
   5503 #endif
   5504 char nm_test_var;
   5505 void nm_test_func(void);
   5506 void nm_test_func(void){}
   5507 #ifdef __cplusplus
   5508 }
   5509 #endif
   5510 int main(){nm_test_var='a';nm_test_func();return(0);}
   5511 _LT_EOF
   5512 
   5513   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5514   (eval $ac_compile) 2>&5
   5515   ac_status=$?
   5516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5517   (exit $ac_status); }; then
   5518     # Now try to grab the symbols.
   5519     nlist=conftest.nm
   5520     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5521   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5522   ac_status=$?
   5523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5524   (exit $ac_status); } && test -s "$nlist"; then
   5525       # Try sorting and uniquifying the output.
   5526       if sort "$nlist" | uniq > "$nlist"T; then
   5527 	mv -f "$nlist"T "$nlist"
   5528       else
   5529 	rm -f "$nlist"T
   5530       fi
   5531 
   5532       # Make sure that we snagged all the symbols we need.
   5533       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5534 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5535 	  cat <<_LT_EOF > conftest.$ac_ext
   5536 #ifdef __cplusplus
   5537 extern "C" {
   5538 #endif
   5539 
   5540 _LT_EOF
   5541 	  # Now generate the symbol file.
   5542 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5543 
   5544 	  cat <<_LT_EOF >> conftest.$ac_ext
   5545 
   5546 /* The mapping between symbol names and symbols.  */
   5547 const struct {
   5548   const char *name;
   5549   void       *address;
   5550 }
   5551 lt__PROGRAM__LTX_preloaded_symbols[] =
   5552 {
   5553   { "@PROGRAM@", (void *) 0 },
   5554 _LT_EOF
   5555 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5556 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5557   {0, (void *) 0}
   5558 };
   5559 
   5560 /* This works around a problem in FreeBSD linker */
   5561 #ifdef FREEBSD_WORKAROUND
   5562 static const void *lt_preloaded_setup() {
   5563   return lt__PROGRAM__LTX_preloaded_symbols;
   5564 }
   5565 #endif
   5566 
   5567 #ifdef __cplusplus
   5568 }
   5569 #endif
   5570 _LT_EOF
   5571 	  # Now try linking the two files.
   5572 	  mv conftest.$ac_objext conftstm.$ac_objext
   5573 	  lt_save_LIBS="$LIBS"
   5574 	  lt_save_CFLAGS="$CFLAGS"
   5575 	  LIBS="conftstm.$ac_objext"
   5576 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5577 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5578   (eval $ac_link) 2>&5
   5579   ac_status=$?
   5580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5581   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5582 	    pipe_works=yes
   5583 	  fi
   5584 	  LIBS="$lt_save_LIBS"
   5585 	  CFLAGS="$lt_save_CFLAGS"
   5586 	else
   5587 	  echo "cannot find nm_test_func in $nlist" >&5
   5588 	fi
   5589       else
   5590 	echo "cannot find nm_test_var in $nlist" >&5
   5591       fi
   5592     else
   5593       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5594     fi
   5595   else
   5596     echo "$progname: failed program was:" >&5
   5597     cat conftest.$ac_ext >&5
   5598   fi
   5599   rm -rf conftest* conftst*
   5600 
   5601   # Do not use the global_symbol_pipe unless it works.
   5602   if test "$pipe_works" = yes; then
   5603     break
   5604   else
   5605     lt_cv_sys_global_symbol_pipe=
   5606   fi
   5607 done
   5608 
   5609 fi
   5610 
   5611 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5612   lt_cv_sys_global_symbol_to_cdecl=
   5613 fi
   5614 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5615   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5616 $as_echo "failed" >&6; }
   5617 else
   5618   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5619 $as_echo "ok" >&6; }
   5620 fi
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 # Check whether --enable-libtool-lock was given.
   5645 if test "${enable_libtool_lock+set}" = set; then
   5646   enableval=$enable_libtool_lock;
   5647 fi
   5648 
   5649 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5650 
   5651 # Some flags need to be propagated to the compiler or linker for good
   5652 # libtool support.
   5653 case $host in
   5654 ia64-*-hpux*)
   5655   # Find out which ABI we are using.
   5656   echo 'int i;' > conftest.$ac_ext
   5657   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5658   (eval $ac_compile) 2>&5
   5659   ac_status=$?
   5660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5661   (exit $ac_status); }; then
   5662     case `/usr/bin/file conftest.$ac_objext` in
   5663       *ELF-32*)
   5664 	HPUX_IA64_MODE="32"
   5665 	;;
   5666       *ELF-64*)
   5667 	HPUX_IA64_MODE="64"
   5668 	;;
   5669     esac
   5670   fi
   5671   rm -rf conftest*
   5672   ;;
   5673 *-*-irix6*)
   5674   # Find out which ABI we are using.
   5675   echo '#line 5675 "configure"' > conftest.$ac_ext
   5676   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5677   (eval $ac_compile) 2>&5
   5678   ac_status=$?
   5679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5680   (exit $ac_status); }; then
   5681     if test "$lt_cv_prog_gnu_ld" = yes; then
   5682       case `/usr/bin/file conftest.$ac_objext` in
   5683 	*32-bit*)
   5684 	  LD="${LD-ld} -melf32bsmip"
   5685 	  ;;
   5686 	*N32*)
   5687 	  LD="${LD-ld} -melf32bmipn32"
   5688 	  ;;
   5689 	*64-bit*)
   5690 	  LD="${LD-ld} -melf64bmip"
   5691 	;;
   5692       esac
   5693     else
   5694       case `/usr/bin/file conftest.$ac_objext` in
   5695 	*32-bit*)
   5696 	  LD="${LD-ld} -32"
   5697 	  ;;
   5698 	*N32*)
   5699 	  LD="${LD-ld} -n32"
   5700 	  ;;
   5701 	*64-bit*)
   5702 	  LD="${LD-ld} -64"
   5703 	  ;;
   5704       esac
   5705     fi
   5706   fi
   5707   rm -rf conftest*
   5708   ;;
   5709 
   5710 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5711 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5712   # Find out which ABI we are using.
   5713   echo 'int i;' > conftest.$ac_ext
   5714   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5715   (eval $ac_compile) 2>&5
   5716   ac_status=$?
   5717   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5718   (exit $ac_status); }; then
   5719     case `/usr/bin/file conftest.o` in
   5720       *32-bit*)
   5721 	case $host in
   5722 	  x86_64-*kfreebsd*-gnu)
   5723 	    LD="${LD-ld} -m elf_i386_fbsd"
   5724 	    ;;
   5725 	  x86_64-*linux*)
   5726 	    LD="${LD-ld} -m elf_i386"
   5727 	    ;;
   5728 	  ppc64-*linux*|powerpc64-*linux*)
   5729 	    LD="${LD-ld} -m elf32ppclinux"
   5730 	    ;;
   5731 	  s390x-*linux*)
   5732 	    LD="${LD-ld} -m elf_s390"
   5733 	    ;;
   5734 	  sparc64-*linux*)
   5735 	    LD="${LD-ld} -m elf32_sparc"
   5736 	    ;;
   5737 	esac
   5738 	;;
   5739       *64-bit*)
   5740 	case $host in
   5741 	  x86_64-*kfreebsd*-gnu)
   5742 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5743 	    ;;
   5744 	  x86_64-*linux*)
   5745 	    LD="${LD-ld} -m elf_x86_64"
   5746 	    ;;
   5747 	  ppc*-*linux*|powerpc*-*linux*)
   5748 	    LD="${LD-ld} -m elf64ppc"
   5749 	    ;;
   5750 	  s390*-*linux*|s390*-*tpf*)
   5751 	    LD="${LD-ld} -m elf64_s390"
   5752 	    ;;
   5753 	  sparc*-*linux*)
   5754 	    LD="${LD-ld} -m elf64_sparc"
   5755 	    ;;
   5756 	esac
   5757 	;;
   5758     esac
   5759   fi
   5760   rm -rf conftest*
   5761   ;;
   5762 
   5763 *-*-sco3.2v5*)
   5764   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5765   SAVE_CFLAGS="$CFLAGS"
   5766   CFLAGS="$CFLAGS -belf"
   5767   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5768 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5769 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   ac_ext=c
   5773 ac_cpp='$CPP $CPPFLAGS'
   5774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5777 
   5778      cat >conftest.$ac_ext <<_ACEOF
   5779 /* confdefs.h.  */
   5780 _ACEOF
   5781 cat confdefs.h >>conftest.$ac_ext
   5782 cat >>conftest.$ac_ext <<_ACEOF
   5783 /* end confdefs.h.  */
   5784 
   5785 int
   5786 main ()
   5787 {
   5788 
   5789   ;
   5790   return 0;
   5791 }
   5792 _ACEOF
   5793 rm -f conftest.$ac_objext conftest$ac_exeext
   5794 if { (ac_try="$ac_link"
   5795 case "(($ac_try" in
   5796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5797   *) ac_try_echo=$ac_try;;
   5798 esac
   5799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5800 $as_echo "$ac_try_echo") >&5
   5801   (eval "$ac_link") 2>conftest.er1
   5802   ac_status=$?
   5803   grep -v '^ *+' conftest.er1 >conftest.err
   5804   rm -f conftest.er1
   5805   cat conftest.err >&5
   5806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5807   (exit $ac_status); } && {
   5808 	 test -z "$ac_c_werror_flag" ||
   5809 	 test ! -s conftest.err
   5810        } && test -s conftest$ac_exeext && {
   5811 	 test "$cross_compiling" = yes ||
   5812 	 $as_test_x conftest$ac_exeext
   5813        }; then
   5814   lt_cv_cc_needs_belf=yes
   5815 else
   5816   $as_echo "$as_me: failed program was:" >&5
   5817 sed 's/^/| /' conftest.$ac_ext >&5
   5818 
   5819 	lt_cv_cc_needs_belf=no
   5820 fi
   5821 
   5822 rm -rf conftest.dSYM
   5823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5824       conftest$ac_exeext conftest.$ac_ext
   5825      ac_ext=c
   5826 ac_cpp='$CPP $CPPFLAGS'
   5827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5830 
   5831 fi
   5832 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5833 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5834   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5835     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5836     CFLAGS="$SAVE_CFLAGS"
   5837   fi
   5838   ;;
   5839 sparc*-*solaris*)
   5840   # Find out which ABI we are using.
   5841   echo 'int i;' > conftest.$ac_ext
   5842   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5843   (eval $ac_compile) 2>&5
   5844   ac_status=$?
   5845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5846   (exit $ac_status); }; then
   5847     case `/usr/bin/file conftest.o` in
   5848     *64-bit*)
   5849       case $lt_cv_prog_gnu_ld in
   5850       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5851       *)
   5852 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5853 	  LD="${LD-ld} -64"
   5854 	fi
   5855 	;;
   5856       esac
   5857       ;;
   5858     esac
   5859   fi
   5860   rm -rf conftest*
   5861   ;;
   5862 esac
   5863 
   5864 need_locks="$enable_libtool_lock"
   5865 
   5866 
   5867   case $host_os in
   5868     rhapsody* | darwin*)
   5869     if test -n "$ac_tool_prefix"; then
   5870   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5871 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5872 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5873 $as_echo_n "checking for $ac_word... " >&6; }
   5874 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   if test -n "$DSYMUTIL"; then
   5878   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5879 else
   5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5881 for as_dir in $PATH
   5882 do
   5883   IFS=$as_save_IFS
   5884   test -z "$as_dir" && as_dir=.
   5885   for ac_exec_ext in '' $ac_executable_extensions; do
   5886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5887     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5888     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5889     break 2
   5890   fi
   5891 done
   5892 done
   5893 IFS=$as_save_IFS
   5894 
   5895 fi
   5896 fi
   5897 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5898 if test -n "$DSYMUTIL"; then
   5899   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5900 $as_echo "$DSYMUTIL" >&6; }
   5901 else
   5902   { $as_echo "$as_me:$LINENO: result: no" >&5
   5903 $as_echo "no" >&6; }
   5904 fi
   5905 
   5906 
   5907 fi
   5908 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5909   ac_ct_DSYMUTIL=$DSYMUTIL
   5910   # Extract the first word of "dsymutil", so it can be a program name with args.
   5911 set dummy dsymutil; ac_word=$2
   5912 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5913 $as_echo_n "checking for $ac_word... " >&6; }
   5914 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5915   $as_echo_n "(cached) " >&6
   5916 else
   5917   if test -n "$ac_ct_DSYMUTIL"; then
   5918   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5919 else
   5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5921 for as_dir in $PATH
   5922 do
   5923   IFS=$as_save_IFS
   5924   test -z "$as_dir" && as_dir=.
   5925   for ac_exec_ext in '' $ac_executable_extensions; do
   5926   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5927     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5928     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5929     break 2
   5930   fi
   5931 done
   5932 done
   5933 IFS=$as_save_IFS
   5934 
   5935 fi
   5936 fi
   5937 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5938 if test -n "$ac_ct_DSYMUTIL"; then
   5939   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5940 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5941 else
   5942   { $as_echo "$as_me:$LINENO: result: no" >&5
   5943 $as_echo "no" >&6; }
   5944 fi
   5945 
   5946   if test "x$ac_ct_DSYMUTIL" = x; then
   5947     DSYMUTIL=":"
   5948   else
   5949     case $cross_compiling:$ac_tool_warned in
   5950 yes:)
   5951 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5953 ac_tool_warned=yes ;;
   5954 esac
   5955     DSYMUTIL=$ac_ct_DSYMUTIL
   5956   fi
   5957 else
   5958   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5959 fi
   5960 
   5961     if test -n "$ac_tool_prefix"; then
   5962   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5963 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5964 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5965 $as_echo_n "checking for $ac_word... " >&6; }
   5966 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5967   $as_echo_n "(cached) " >&6
   5968 else
   5969   if test -n "$NMEDIT"; then
   5970   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5971 else
   5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5973 for as_dir in $PATH
   5974 do
   5975   IFS=$as_save_IFS
   5976   test -z "$as_dir" && as_dir=.
   5977   for ac_exec_ext in '' $ac_executable_extensions; do
   5978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5979     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5980     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5981     break 2
   5982   fi
   5983 done
   5984 done
   5985 IFS=$as_save_IFS
   5986 
   5987 fi
   5988 fi
   5989 NMEDIT=$ac_cv_prog_NMEDIT
   5990 if test -n "$NMEDIT"; then
   5991   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5992 $as_echo "$NMEDIT" >&6; }
   5993 else
   5994   { $as_echo "$as_me:$LINENO: result: no" >&5
   5995 $as_echo "no" >&6; }
   5996 fi
   5997 
   5998 
   5999 fi
   6000 if test -z "$ac_cv_prog_NMEDIT"; then
   6001   ac_ct_NMEDIT=$NMEDIT
   6002   # Extract the first word of "nmedit", so it can be a program name with args.
   6003 set dummy nmedit; ac_word=$2
   6004 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6005 $as_echo_n "checking for $ac_word... " >&6; }
   6006 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   6007   $as_echo_n "(cached) " >&6
   6008 else
   6009   if test -n "$ac_ct_NMEDIT"; then
   6010   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6011 else
   6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6013 for as_dir in $PATH
   6014 do
   6015   IFS=$as_save_IFS
   6016   test -z "$as_dir" && as_dir=.
   6017   for ac_exec_ext in '' $ac_executable_extensions; do
   6018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6019     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6020     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6021     break 2
   6022   fi
   6023 done
   6024 done
   6025 IFS=$as_save_IFS
   6026 
   6027 fi
   6028 fi
   6029 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6030 if test -n "$ac_ct_NMEDIT"; then
   6031   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6032 $as_echo "$ac_ct_NMEDIT" >&6; }
   6033 else
   6034   { $as_echo "$as_me:$LINENO: result: no" >&5
   6035 $as_echo "no" >&6; }
   6036 fi
   6037 
   6038   if test "x$ac_ct_NMEDIT" = x; then
   6039     NMEDIT=":"
   6040   else
   6041     case $cross_compiling:$ac_tool_warned in
   6042 yes:)
   6043 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6045 ac_tool_warned=yes ;;
   6046 esac
   6047     NMEDIT=$ac_ct_NMEDIT
   6048   fi
   6049 else
   6050   NMEDIT="$ac_cv_prog_NMEDIT"
   6051 fi
   6052 
   6053     if test -n "$ac_tool_prefix"; then
   6054   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6055 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6057 $as_echo_n "checking for $ac_word... " >&6; }
   6058 if test "${ac_cv_prog_LIPO+set}" = set; then
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   if test -n "$LIPO"; then
   6062   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6063 else
   6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6065 for as_dir in $PATH
   6066 do
   6067   IFS=$as_save_IFS
   6068   test -z "$as_dir" && as_dir=.
   6069   for ac_exec_ext in '' $ac_executable_extensions; do
   6070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6071     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6072     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6073     break 2
   6074   fi
   6075 done
   6076 done
   6077 IFS=$as_save_IFS
   6078 
   6079 fi
   6080 fi
   6081 LIPO=$ac_cv_prog_LIPO
   6082 if test -n "$LIPO"; then
   6083   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6084 $as_echo "$LIPO" >&6; }
   6085 else
   6086   { $as_echo "$as_me:$LINENO: result: no" >&5
   6087 $as_echo "no" >&6; }
   6088 fi
   6089 
   6090 
   6091 fi
   6092 if test -z "$ac_cv_prog_LIPO"; then
   6093   ac_ct_LIPO=$LIPO
   6094   # Extract the first word of "lipo", so it can be a program name with args.
   6095 set dummy lipo; ac_word=$2
   6096 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6097 $as_echo_n "checking for $ac_word... " >&6; }
   6098 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6099   $as_echo_n "(cached) " >&6
   6100 else
   6101   if test -n "$ac_ct_LIPO"; then
   6102   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6103 else
   6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6105 for as_dir in $PATH
   6106 do
   6107   IFS=$as_save_IFS
   6108   test -z "$as_dir" && as_dir=.
   6109   for ac_exec_ext in '' $ac_executable_extensions; do
   6110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6111     ac_cv_prog_ac_ct_LIPO="lipo"
   6112     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6113     break 2
   6114   fi
   6115 done
   6116 done
   6117 IFS=$as_save_IFS
   6118 
   6119 fi
   6120 fi
   6121 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6122 if test -n "$ac_ct_LIPO"; then
   6123   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6124 $as_echo "$ac_ct_LIPO" >&6; }
   6125 else
   6126   { $as_echo "$as_me:$LINENO: result: no" >&5
   6127 $as_echo "no" >&6; }
   6128 fi
   6129 
   6130   if test "x$ac_ct_LIPO" = x; then
   6131     LIPO=":"
   6132   else
   6133     case $cross_compiling:$ac_tool_warned in
   6134 yes:)
   6135 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6137 ac_tool_warned=yes ;;
   6138 esac
   6139     LIPO=$ac_ct_LIPO
   6140   fi
   6141 else
   6142   LIPO="$ac_cv_prog_LIPO"
   6143 fi
   6144 
   6145     if test -n "$ac_tool_prefix"; then
   6146   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6147 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6148 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6149 $as_echo_n "checking for $ac_word... " >&6; }
   6150 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6151   $as_echo_n "(cached) " >&6
   6152 else
   6153   if test -n "$OTOOL"; then
   6154   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6155 else
   6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6157 for as_dir in $PATH
   6158 do
   6159   IFS=$as_save_IFS
   6160   test -z "$as_dir" && as_dir=.
   6161   for ac_exec_ext in '' $ac_executable_extensions; do
   6162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6163     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6164     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6165     break 2
   6166   fi
   6167 done
   6168 done
   6169 IFS=$as_save_IFS
   6170 
   6171 fi
   6172 fi
   6173 OTOOL=$ac_cv_prog_OTOOL
   6174 if test -n "$OTOOL"; then
   6175   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6176 $as_echo "$OTOOL" >&6; }
   6177 else
   6178   { $as_echo "$as_me:$LINENO: result: no" >&5
   6179 $as_echo "no" >&6; }
   6180 fi
   6181 
   6182 
   6183 fi
   6184 if test -z "$ac_cv_prog_OTOOL"; then
   6185   ac_ct_OTOOL=$OTOOL
   6186   # Extract the first word of "otool", so it can be a program name with args.
   6187 set dummy otool; ac_word=$2
   6188 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6189 $as_echo_n "checking for $ac_word... " >&6; }
   6190 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   if test -n "$ac_ct_OTOOL"; then
   6194   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6195 else
   6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6197 for as_dir in $PATH
   6198 do
   6199   IFS=$as_save_IFS
   6200   test -z "$as_dir" && as_dir=.
   6201   for ac_exec_ext in '' $ac_executable_extensions; do
   6202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6203     ac_cv_prog_ac_ct_OTOOL="otool"
   6204     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6205     break 2
   6206   fi
   6207 done
   6208 done
   6209 IFS=$as_save_IFS
   6210 
   6211 fi
   6212 fi
   6213 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6214 if test -n "$ac_ct_OTOOL"; then
   6215   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6216 $as_echo "$ac_ct_OTOOL" >&6; }
   6217 else
   6218   { $as_echo "$as_me:$LINENO: result: no" >&5
   6219 $as_echo "no" >&6; }
   6220 fi
   6221 
   6222   if test "x$ac_ct_OTOOL" = x; then
   6223     OTOOL=":"
   6224   else
   6225     case $cross_compiling:$ac_tool_warned in
   6226 yes:)
   6227 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6229 ac_tool_warned=yes ;;
   6230 esac
   6231     OTOOL=$ac_ct_OTOOL
   6232   fi
   6233 else
   6234   OTOOL="$ac_cv_prog_OTOOL"
   6235 fi
   6236 
   6237     if test -n "$ac_tool_prefix"; then
   6238   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6239 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6241 $as_echo_n "checking for $ac_word... " >&6; }
   6242 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   if test -n "$OTOOL64"; then
   6246   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6247 else
   6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6249 for as_dir in $PATH
   6250 do
   6251   IFS=$as_save_IFS
   6252   test -z "$as_dir" && as_dir=.
   6253   for ac_exec_ext in '' $ac_executable_extensions; do
   6254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6255     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6256     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6257     break 2
   6258   fi
   6259 done
   6260 done
   6261 IFS=$as_save_IFS
   6262 
   6263 fi
   6264 fi
   6265 OTOOL64=$ac_cv_prog_OTOOL64
   6266 if test -n "$OTOOL64"; then
   6267   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6268 $as_echo "$OTOOL64" >&6; }
   6269 else
   6270   { $as_echo "$as_me:$LINENO: result: no" >&5
   6271 $as_echo "no" >&6; }
   6272 fi
   6273 
   6274 
   6275 fi
   6276 if test -z "$ac_cv_prog_OTOOL64"; then
   6277   ac_ct_OTOOL64=$OTOOL64
   6278   # Extract the first word of "otool64", so it can be a program name with args.
   6279 set dummy otool64; ac_word=$2
   6280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6281 $as_echo_n "checking for $ac_word... " >&6; }
   6282 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6283   $as_echo_n "(cached) " >&6
   6284 else
   6285   if test -n "$ac_ct_OTOOL64"; then
   6286   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6287 else
   6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6289 for as_dir in $PATH
   6290 do
   6291   IFS=$as_save_IFS
   6292   test -z "$as_dir" && as_dir=.
   6293   for ac_exec_ext in '' $ac_executable_extensions; do
   6294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6295     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6296     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6297     break 2
   6298   fi
   6299 done
   6300 done
   6301 IFS=$as_save_IFS
   6302 
   6303 fi
   6304 fi
   6305 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6306 if test -n "$ac_ct_OTOOL64"; then
   6307   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6308 $as_echo "$ac_ct_OTOOL64" >&6; }
   6309 else
   6310   { $as_echo "$as_me:$LINENO: result: no" >&5
   6311 $as_echo "no" >&6; }
   6312 fi
   6313 
   6314   if test "x$ac_ct_OTOOL64" = x; then
   6315     OTOOL64=":"
   6316   else
   6317     case $cross_compiling:$ac_tool_warned in
   6318 yes:)
   6319 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6321 ac_tool_warned=yes ;;
   6322 esac
   6323     OTOOL64=$ac_ct_OTOOL64
   6324   fi
   6325 else
   6326   OTOOL64="$ac_cv_prog_OTOOL64"
   6327 fi
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6356 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6357 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   lt_cv_apple_cc_single_mod=no
   6361       if test -z "${LT_MULTI_MODULE}"; then
   6362 	# By default we will add the -single_module flag. You can override
   6363 	# by either setting the environment variable LT_MULTI_MODULE
   6364 	# non-empty at configure time, or by adding -multi_module to the
   6365 	# link flags.
   6366 	rm -rf libconftest.dylib*
   6367 	echo "int foo(void){return 1;}" > conftest.c
   6368 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6369 -dynamiclib -Wl,-single_module conftest.c" >&5
   6370 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6371 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6372         _lt_result=$?
   6373 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6374 	  lt_cv_apple_cc_single_mod=yes
   6375 	else
   6376 	  cat conftest.err >&5
   6377 	fi
   6378 	rm -rf libconftest.dylib*
   6379 	rm -f conftest.*
   6380       fi
   6381 fi
   6382 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6383 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6384     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6385 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6386 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389   lt_cv_ld_exported_symbols_list=no
   6390       save_LDFLAGS=$LDFLAGS
   6391       echo "_main" > conftest.sym
   6392       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6393       cat >conftest.$ac_ext <<_ACEOF
   6394 /* confdefs.h.  */
   6395 _ACEOF
   6396 cat confdefs.h >>conftest.$ac_ext
   6397 cat >>conftest.$ac_ext <<_ACEOF
   6398 /* end confdefs.h.  */
   6399 
   6400 int
   6401 main ()
   6402 {
   6403 
   6404   ;
   6405   return 0;
   6406 }
   6407 _ACEOF
   6408 rm -f conftest.$ac_objext conftest$ac_exeext
   6409 if { (ac_try="$ac_link"
   6410 case "(($ac_try" in
   6411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6412   *) ac_try_echo=$ac_try;;
   6413 esac
   6414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6415 $as_echo "$ac_try_echo") >&5
   6416   (eval "$ac_link") 2>conftest.er1
   6417   ac_status=$?
   6418   grep -v '^ *+' conftest.er1 >conftest.err
   6419   rm -f conftest.er1
   6420   cat conftest.err >&5
   6421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6422   (exit $ac_status); } && {
   6423 	 test -z "$ac_c_werror_flag" ||
   6424 	 test ! -s conftest.err
   6425        } && test -s conftest$ac_exeext && {
   6426 	 test "$cross_compiling" = yes ||
   6427 	 $as_test_x conftest$ac_exeext
   6428        }; then
   6429   lt_cv_ld_exported_symbols_list=yes
   6430 else
   6431   $as_echo "$as_me: failed program was:" >&5
   6432 sed 's/^/| /' conftest.$ac_ext >&5
   6433 
   6434 	lt_cv_ld_exported_symbols_list=no
   6435 fi
   6436 
   6437 rm -rf conftest.dSYM
   6438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6439       conftest$ac_exeext conftest.$ac_ext
   6440 	LDFLAGS="$save_LDFLAGS"
   6441 
   6442 fi
   6443 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6444 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6445     case $host_os in
   6446     rhapsody* | darwin1.[012])
   6447       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6448     darwin1.*)
   6449       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6450     darwin*) # darwin 5.x on
   6451       # if running on 10.5 or later, the deployment target defaults
   6452       # to the OS version, if on x86, and 10.4, the deployment
   6453       # target defaults to 10.4. Don't you love it?
   6454       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6455 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6456 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6457 	10.[012]*)
   6458 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6459 	10.*)
   6460 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6461       esac
   6462     ;;
   6463   esac
   6464     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6465       _lt_dar_single_mod='$single_module'
   6466     fi
   6467     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6468       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6469     else
   6470       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6471     fi
   6472     if test "$DSYMUTIL" != ":"; then
   6473       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6474     else
   6475       _lt_dsymutil=
   6476     fi
   6477     ;;
   6478   esac
   6479 
   6480 ac_ext=c
   6481 ac_cpp='$CPP $CPPFLAGS'
   6482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6485 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6486 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6487 # On Suns, sometimes $CPP names a directory.
   6488 if test -n "$CPP" && test -d "$CPP"; then
   6489   CPP=
   6490 fi
   6491 if test -z "$CPP"; then
   6492   if test "${ac_cv_prog_CPP+set}" = set; then
   6493   $as_echo_n "(cached) " >&6
   6494 else
   6495       # Double quotes because CPP needs to be expanded
   6496     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6497     do
   6498       ac_preproc_ok=false
   6499 for ac_c_preproc_warn_flag in '' yes
   6500 do
   6501   # Use a header file that comes with gcc, so configuring glibc
   6502   # with a fresh cross-compiler works.
   6503   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6504   # <limits.h> exists even on freestanding compilers.
   6505   # On the NeXT, cc -E runs the code through the compiler's parser,
   6506   # not just through cpp. "Syntax error" is here to catch this case.
   6507   cat >conftest.$ac_ext <<_ACEOF
   6508 /* confdefs.h.  */
   6509 _ACEOF
   6510 cat confdefs.h >>conftest.$ac_ext
   6511 cat >>conftest.$ac_ext <<_ACEOF
   6512 /* end confdefs.h.  */
   6513 #ifdef __STDC__
   6514 # include <limits.h>
   6515 #else
   6516 # include <assert.h>
   6517 #endif
   6518 		     Syntax error
   6519 _ACEOF
   6520 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6521 case "(($ac_try" in
   6522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6523   *) ac_try_echo=$ac_try;;
   6524 esac
   6525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6526 $as_echo "$ac_try_echo") >&5
   6527   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6528   ac_status=$?
   6529   grep -v '^ *+' conftest.er1 >conftest.err
   6530   rm -f conftest.er1
   6531   cat conftest.err >&5
   6532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6533   (exit $ac_status); } >/dev/null && {
   6534 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6535 	 test ! -s conftest.err
   6536        }; then
   6537   :
   6538 else
   6539   $as_echo "$as_me: failed program was:" >&5
   6540 sed 's/^/| /' conftest.$ac_ext >&5
   6541 
   6542   # Broken: fails on valid input.
   6543 continue
   6544 fi
   6545 
   6546 rm -f conftest.err conftest.$ac_ext
   6547 
   6548   # OK, works on sane cases.  Now check whether nonexistent headers
   6549   # can be detected and how.
   6550   cat >conftest.$ac_ext <<_ACEOF
   6551 /* confdefs.h.  */
   6552 _ACEOF
   6553 cat confdefs.h >>conftest.$ac_ext
   6554 cat >>conftest.$ac_ext <<_ACEOF
   6555 /* end confdefs.h.  */
   6556 #include <ac_nonexistent.h>
   6557 _ACEOF
   6558 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6559 case "(($ac_try" in
   6560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6561   *) ac_try_echo=$ac_try;;
   6562 esac
   6563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6564 $as_echo "$ac_try_echo") >&5
   6565   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6566   ac_status=$?
   6567   grep -v '^ *+' conftest.er1 >conftest.err
   6568   rm -f conftest.er1
   6569   cat conftest.err >&5
   6570   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6571   (exit $ac_status); } >/dev/null && {
   6572 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6573 	 test ! -s conftest.err
   6574        }; then
   6575   # Broken: success on invalid input.
   6576 continue
   6577 else
   6578   $as_echo "$as_me: failed program was:" >&5
   6579 sed 's/^/| /' conftest.$ac_ext >&5
   6580 
   6581   # Passes both tests.
   6582 ac_preproc_ok=:
   6583 break
   6584 fi
   6585 
   6586 rm -f conftest.err conftest.$ac_ext
   6587 
   6588 done
   6589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6590 rm -f conftest.err conftest.$ac_ext
   6591 if $ac_preproc_ok; then
   6592   break
   6593 fi
   6594 
   6595     done
   6596     ac_cv_prog_CPP=$CPP
   6597 
   6598 fi
   6599   CPP=$ac_cv_prog_CPP
   6600 else
   6601   ac_cv_prog_CPP=$CPP
   6602 fi
   6603 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6604 $as_echo "$CPP" >&6; }
   6605 ac_preproc_ok=false
   6606 for ac_c_preproc_warn_flag in '' yes
   6607 do
   6608   # Use a header file that comes with gcc, so configuring glibc
   6609   # with a fresh cross-compiler works.
   6610   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6611   # <limits.h> exists even on freestanding compilers.
   6612   # On the NeXT, cc -E runs the code through the compiler's parser,
   6613   # not just through cpp. "Syntax error" is here to catch this case.
   6614   cat >conftest.$ac_ext <<_ACEOF
   6615 /* confdefs.h.  */
   6616 _ACEOF
   6617 cat confdefs.h >>conftest.$ac_ext
   6618 cat >>conftest.$ac_ext <<_ACEOF
   6619 /* end confdefs.h.  */
   6620 #ifdef __STDC__
   6621 # include <limits.h>
   6622 #else
   6623 # include <assert.h>
   6624 #endif
   6625 		     Syntax error
   6626 _ACEOF
   6627 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6628 case "(($ac_try" in
   6629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6630   *) ac_try_echo=$ac_try;;
   6631 esac
   6632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6633 $as_echo "$ac_try_echo") >&5
   6634   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6635   ac_status=$?
   6636   grep -v '^ *+' conftest.er1 >conftest.err
   6637   rm -f conftest.er1
   6638   cat conftest.err >&5
   6639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6640   (exit $ac_status); } >/dev/null && {
   6641 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6642 	 test ! -s conftest.err
   6643        }; then
   6644   :
   6645 else
   6646   $as_echo "$as_me: failed program was:" >&5
   6647 sed 's/^/| /' conftest.$ac_ext >&5
   6648 
   6649   # Broken: fails on valid input.
   6650 continue
   6651 fi
   6652 
   6653 rm -f conftest.err conftest.$ac_ext
   6654 
   6655   # OK, works on sane cases.  Now check whether nonexistent headers
   6656   # can be detected and how.
   6657   cat >conftest.$ac_ext <<_ACEOF
   6658 /* confdefs.h.  */
   6659 _ACEOF
   6660 cat confdefs.h >>conftest.$ac_ext
   6661 cat >>conftest.$ac_ext <<_ACEOF
   6662 /* end confdefs.h.  */
   6663 #include <ac_nonexistent.h>
   6664 _ACEOF
   6665 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6666 case "(($ac_try" in
   6667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6668   *) ac_try_echo=$ac_try;;
   6669 esac
   6670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6671 $as_echo "$ac_try_echo") >&5
   6672   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6673   ac_status=$?
   6674   grep -v '^ *+' conftest.er1 >conftest.err
   6675   rm -f conftest.er1
   6676   cat conftest.err >&5
   6677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6678   (exit $ac_status); } >/dev/null && {
   6679 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6680 	 test ! -s conftest.err
   6681        }; then
   6682   # Broken: success on invalid input.
   6683 continue
   6684 else
   6685   $as_echo "$as_me: failed program was:" >&5
   6686 sed 's/^/| /' conftest.$ac_ext >&5
   6687 
   6688   # Passes both tests.
   6689 ac_preproc_ok=:
   6690 break
   6691 fi
   6692 
   6693 rm -f conftest.err conftest.$ac_ext
   6694 
   6695 done
   6696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6697 rm -f conftest.err conftest.$ac_ext
   6698 if $ac_preproc_ok; then
   6699   :
   6700 else
   6701   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6703 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6704 See \`config.log' for more details." >&5
   6705 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6706 See \`config.log' for more details." >&2;}
   6707    { (exit 1); exit 1; }; }; }
   6708 fi
   6709 
   6710 ac_ext=c
   6711 ac_cpp='$CPP $CPPFLAGS'
   6712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6715 
   6716 
   6717 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6718 $as_echo_n "checking for ANSI C header files... " >&6; }
   6719 if test "${ac_cv_header_stdc+set}" = set; then
   6720   $as_echo_n "(cached) " >&6
   6721 else
   6722   cat >conftest.$ac_ext <<_ACEOF
   6723 /* confdefs.h.  */
   6724 _ACEOF
   6725 cat confdefs.h >>conftest.$ac_ext
   6726 cat >>conftest.$ac_ext <<_ACEOF
   6727 /* end confdefs.h.  */
   6728 #include <stdlib.h>
   6729 #include <stdarg.h>
   6730 #include <string.h>
   6731 #include <float.h>
   6732 
   6733 int
   6734 main ()
   6735 {
   6736 
   6737   ;
   6738   return 0;
   6739 }
   6740 _ACEOF
   6741 rm -f conftest.$ac_objext
   6742 if { (ac_try="$ac_compile"
   6743 case "(($ac_try" in
   6744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6745   *) ac_try_echo=$ac_try;;
   6746 esac
   6747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6748 $as_echo "$ac_try_echo") >&5
   6749   (eval "$ac_compile") 2>conftest.er1
   6750   ac_status=$?
   6751   grep -v '^ *+' conftest.er1 >conftest.err
   6752   rm -f conftest.er1
   6753   cat conftest.err >&5
   6754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6755   (exit $ac_status); } && {
   6756 	 test -z "$ac_c_werror_flag" ||
   6757 	 test ! -s conftest.err
   6758        } && test -s conftest.$ac_objext; then
   6759   ac_cv_header_stdc=yes
   6760 else
   6761   $as_echo "$as_me: failed program was:" >&5
   6762 sed 's/^/| /' conftest.$ac_ext >&5
   6763 
   6764 	ac_cv_header_stdc=no
   6765 fi
   6766 
   6767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6768 
   6769 if test $ac_cv_header_stdc = yes; then
   6770   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6771   cat >conftest.$ac_ext <<_ACEOF
   6772 /* confdefs.h.  */
   6773 _ACEOF
   6774 cat confdefs.h >>conftest.$ac_ext
   6775 cat >>conftest.$ac_ext <<_ACEOF
   6776 /* end confdefs.h.  */
   6777 #include <string.h>
   6778 
   6779 _ACEOF
   6780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6781   $EGREP "memchr" >/dev/null 2>&1; then
   6782   :
   6783 else
   6784   ac_cv_header_stdc=no
   6785 fi
   6786 rm -f conftest*
   6787 
   6788 fi
   6789 
   6790 if test $ac_cv_header_stdc = yes; then
   6791   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6792   cat >conftest.$ac_ext <<_ACEOF
   6793 /* confdefs.h.  */
   6794 _ACEOF
   6795 cat confdefs.h >>conftest.$ac_ext
   6796 cat >>conftest.$ac_ext <<_ACEOF
   6797 /* end confdefs.h.  */
   6798 #include <stdlib.h>
   6799 
   6800 _ACEOF
   6801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6802   $EGREP "free" >/dev/null 2>&1; then
   6803   :
   6804 else
   6805   ac_cv_header_stdc=no
   6806 fi
   6807 rm -f conftest*
   6808 
   6809 fi
   6810 
   6811 if test $ac_cv_header_stdc = yes; then
   6812   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6813   if test "$cross_compiling" = yes; then
   6814   :
   6815 else
   6816   cat >conftest.$ac_ext <<_ACEOF
   6817 /* confdefs.h.  */
   6818 _ACEOF
   6819 cat confdefs.h >>conftest.$ac_ext
   6820 cat >>conftest.$ac_ext <<_ACEOF
   6821 /* end confdefs.h.  */
   6822 #include <ctype.h>
   6823 #include <stdlib.h>
   6824 #if ((' ' & 0x0FF) == 0x020)
   6825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6827 #else
   6828 # define ISLOWER(c) \
   6829 		   (('a' <= (c) && (c) <= 'i') \
   6830 		     || ('j' <= (c) && (c) <= 'r') \
   6831 		     || ('s' <= (c) && (c) <= 'z'))
   6832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6833 #endif
   6834 
   6835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6836 int
   6837 main ()
   6838 {
   6839   int i;
   6840   for (i = 0; i < 256; i++)
   6841     if (XOR (islower (i), ISLOWER (i))
   6842 	|| toupper (i) != TOUPPER (i))
   6843       return 2;
   6844   return 0;
   6845 }
   6846 _ACEOF
   6847 rm -f conftest$ac_exeext
   6848 if { (ac_try="$ac_link"
   6849 case "(($ac_try" in
   6850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6851   *) ac_try_echo=$ac_try;;
   6852 esac
   6853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6854 $as_echo "$ac_try_echo") >&5
   6855   (eval "$ac_link") 2>&5
   6856   ac_status=$?
   6857   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6858   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6859   { (case "(($ac_try" in
   6860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6861   *) ac_try_echo=$ac_try;;
   6862 esac
   6863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6864 $as_echo "$ac_try_echo") >&5
   6865   (eval "$ac_try") 2>&5
   6866   ac_status=$?
   6867   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6868   (exit $ac_status); }; }; then
   6869   :
   6870 else
   6871   $as_echo "$as_me: program exited with status $ac_status" >&5
   6872 $as_echo "$as_me: failed program was:" >&5
   6873 sed 's/^/| /' conftest.$ac_ext >&5
   6874 
   6875 ( exit $ac_status )
   6876 ac_cv_header_stdc=no
   6877 fi
   6878 rm -rf conftest.dSYM
   6879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6880 fi
   6881 
   6882 
   6883 fi
   6884 fi
   6885 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6886 $as_echo "$ac_cv_header_stdc" >&6; }
   6887 if test $ac_cv_header_stdc = yes; then
   6888 
   6889 cat >>confdefs.h <<\_ACEOF
   6890 #define STDC_HEADERS 1
   6891 _ACEOF
   6892 
   6893 fi
   6894 
   6895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6906 		  inttypes.h stdint.h unistd.h
   6907 do
   6908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6909 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6910 $as_echo_n "checking for $ac_header... " >&6; }
   6911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   cat >conftest.$ac_ext <<_ACEOF
   6915 /* confdefs.h.  */
   6916 _ACEOF
   6917 cat confdefs.h >>conftest.$ac_ext
   6918 cat >>conftest.$ac_ext <<_ACEOF
   6919 /* end confdefs.h.  */
   6920 $ac_includes_default
   6921 
   6922 #include <$ac_header>
   6923 _ACEOF
   6924 rm -f conftest.$ac_objext
   6925 if { (ac_try="$ac_compile"
   6926 case "(($ac_try" in
   6927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6928   *) ac_try_echo=$ac_try;;
   6929 esac
   6930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6931 $as_echo "$ac_try_echo") >&5
   6932   (eval "$ac_compile") 2>conftest.er1
   6933   ac_status=$?
   6934   grep -v '^ *+' conftest.er1 >conftest.err
   6935   rm -f conftest.er1
   6936   cat conftest.err >&5
   6937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6938   (exit $ac_status); } && {
   6939 	 test -z "$ac_c_werror_flag" ||
   6940 	 test ! -s conftest.err
   6941        } && test -s conftest.$ac_objext; then
   6942   eval "$as_ac_Header=yes"
   6943 else
   6944   $as_echo "$as_me: failed program was:" >&5
   6945 sed 's/^/| /' conftest.$ac_ext >&5
   6946 
   6947 	eval "$as_ac_Header=no"
   6948 fi
   6949 
   6950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6951 fi
   6952 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6953 		 $as_echo "$as_val"'`
   6954 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6955 $as_echo "$ac_res" >&6; }
   6956 as_val=`eval 'as_val=${'$as_ac_Header'}
   6957 		 $as_echo "$as_val"'`
   6958    if test "x$as_val" = x""yes; then
   6959   cat >>confdefs.h <<_ACEOF
   6960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6961 _ACEOF
   6962 
   6963 fi
   6964 
   6965 done
   6966 
   6967 
   6968 
   6969 for ac_header in dlfcn.h
   6970 do
   6971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6972 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6973 $as_echo_n "checking for $ac_header... " >&6; }
   6974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6975   $as_echo_n "(cached) " >&6
   6976 else
   6977   cat >conftest.$ac_ext <<_ACEOF
   6978 /* confdefs.h.  */
   6979 _ACEOF
   6980 cat confdefs.h >>conftest.$ac_ext
   6981 cat >>conftest.$ac_ext <<_ACEOF
   6982 /* end confdefs.h.  */
   6983 $ac_includes_default
   6984 
   6985 #include <$ac_header>
   6986 _ACEOF
   6987 rm -f conftest.$ac_objext
   6988 if { (ac_try="$ac_compile"
   6989 case "(($ac_try" in
   6990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6991   *) ac_try_echo=$ac_try;;
   6992 esac
   6993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6994 $as_echo "$ac_try_echo") >&5
   6995   (eval "$ac_compile") 2>conftest.er1
   6996   ac_status=$?
   6997   grep -v '^ *+' conftest.er1 >conftest.err
   6998   rm -f conftest.er1
   6999   cat conftest.err >&5
   7000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7001   (exit $ac_status); } && {
   7002 	 test -z "$ac_c_werror_flag" ||
   7003 	 test ! -s conftest.err
   7004        } && test -s conftest.$ac_objext; then
   7005   eval "$as_ac_Header=yes"
   7006 else
   7007   $as_echo "$as_me: failed program was:" >&5
   7008 sed 's/^/| /' conftest.$ac_ext >&5
   7009 
   7010 	eval "$as_ac_Header=no"
   7011 fi
   7012 
   7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7014 fi
   7015 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7016 		 $as_echo "$as_val"'`
   7017 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7018 $as_echo "$ac_res" >&6; }
   7019 as_val=`eval 'as_val=${'$as_ac_Header'}
   7020 		 $as_echo "$as_val"'`
   7021    if test "x$as_val" = x""yes; then
   7022   cat >>confdefs.h <<_ACEOF
   7023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7024 _ACEOF
   7025 
   7026 fi
   7027 
   7028 done
   7029 
   7030 
   7031 
   7032 # Set options
   7033 
   7034 
   7035 
   7036         enable_dlopen=no
   7037 
   7038 
   7039   enable_win32_dll=no
   7040 
   7041 
   7042             # Check whether --enable-shared was given.
   7043 if test "${enable_shared+set}" = set; then
   7044   enableval=$enable_shared; p=${PACKAGE-default}
   7045     case $enableval in
   7046     yes) enable_shared=yes ;;
   7047     no) enable_shared=no ;;
   7048     *)
   7049       enable_shared=no
   7050       # Look at the argument we got.  We use all the common list separators.
   7051       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7052       for pkg in $enableval; do
   7053 	IFS="$lt_save_ifs"
   7054 	if test "X$pkg" = "X$p"; then
   7055 	  enable_shared=yes
   7056 	fi
   7057       done
   7058       IFS="$lt_save_ifs"
   7059       ;;
   7060     esac
   7061 else
   7062   enable_shared=yes
   7063 fi
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073   # Check whether --enable-static was given.
   7074 if test "${enable_static+set}" = set; then
   7075   enableval=$enable_static; p=${PACKAGE-default}
   7076     case $enableval in
   7077     yes) enable_static=yes ;;
   7078     no) enable_static=no ;;
   7079     *)
   7080      enable_static=no
   7081       # Look at the argument we got.  We use all the common list separators.
   7082       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7083       for pkg in $enableval; do
   7084 	IFS="$lt_save_ifs"
   7085 	if test "X$pkg" = "X$p"; then
   7086 	  enable_static=yes
   7087 	fi
   7088       done
   7089       IFS="$lt_save_ifs"
   7090       ;;
   7091     esac
   7092 else
   7093   enable_static=yes
   7094 fi
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 # Check whether --with-pic was given.
   7106 if test "${with_pic+set}" = set; then
   7107   withval=$with_pic; pic_mode="$withval"
   7108 else
   7109   pic_mode=default
   7110 fi
   7111 
   7112 
   7113 test -z "$pic_mode" && pic_mode=default
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121   # Check whether --enable-fast-install was given.
   7122 if test "${enable_fast_install+set}" = set; then
   7123   enableval=$enable_fast_install; p=${PACKAGE-default}
   7124     case $enableval in
   7125     yes) enable_fast_install=yes ;;
   7126     no) enable_fast_install=no ;;
   7127     *)
   7128       enable_fast_install=no
   7129       # Look at the argument we got.  We use all the common list separators.
   7130       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7131       for pkg in $enableval; do
   7132 	IFS="$lt_save_ifs"
   7133 	if test "X$pkg" = "X$p"; then
   7134 	  enable_fast_install=yes
   7135 	fi
   7136       done
   7137       IFS="$lt_save_ifs"
   7138       ;;
   7139     esac
   7140 else
   7141   enable_fast_install=yes
   7142 fi
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 # This can be used to rebuild libtool when needed
   7155 LIBTOOL_DEPS="$ltmain"
   7156 
   7157 # Always use our own libtool.
   7158 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 test -z "$LN_S" && LN_S="ln -s"
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 if test -n "${ZSH_VERSION+set}" ; then
   7200    setopt NO_GLOB_SUBST
   7201 fi
   7202 
   7203 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7204 $as_echo_n "checking for objdir... " >&6; }
   7205 if test "${lt_cv_objdir+set}" = set; then
   7206   $as_echo_n "(cached) " >&6
   7207 else
   7208   rm -f .libs 2>/dev/null
   7209 mkdir .libs 2>/dev/null
   7210 if test -d .libs; then
   7211   lt_cv_objdir=.libs
   7212 else
   7213   # MS-DOS does not allow filenames that begin with a dot.
   7214   lt_cv_objdir=_libs
   7215 fi
   7216 rmdir .libs 2>/dev/null
   7217 fi
   7218 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7219 $as_echo "$lt_cv_objdir" >&6; }
   7220 objdir=$lt_cv_objdir
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 cat >>confdefs.h <<_ACEOF
   7227 #define LT_OBJDIR "$lt_cv_objdir/"
   7228 _ACEOF
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 case $host_os in
   7247 aix3*)
   7248   # AIX sometimes has problems with the GCC collect2 program.  For some
   7249   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7250   # vanish in a puff of smoke.
   7251   if test "X${COLLECT_NAMES+set}" != Xset; then
   7252     COLLECT_NAMES=
   7253     export COLLECT_NAMES
   7254   fi
   7255   ;;
   7256 esac
   7257 
   7258 # Sed substitution that helps us do robust quoting.  It backslashifies
   7259 # metacharacters that are still active within double-quoted strings.
   7260 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7261 
   7262 # Same as above, but do not quote variable references.
   7263 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7264 
   7265 # Sed substitution to delay expansion of an escaped shell variable in a
   7266 # double_quote_subst'ed string.
   7267 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7268 
   7269 # Sed substitution to delay expansion of an escaped single quote.
   7270 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7271 
   7272 # Sed substitution to avoid accidental globbing in evaled expressions
   7273 no_glob_subst='s/\*/\\\*/g'
   7274 
   7275 # Global variables:
   7276 ofile=libtool
   7277 can_build_shared=yes
   7278 
   7279 # All known linkers require a `.a' archive for static linking (except MSVC,
   7280 # which needs '.lib').
   7281 libext=a
   7282 
   7283 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7284 
   7285 old_CC="$CC"
   7286 old_CFLAGS="$CFLAGS"
   7287 
   7288 # Set sane defaults for various variables
   7289 test -z "$CC" && CC=cc
   7290 test -z "$LTCC" && LTCC=$CC
   7291 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7292 test -z "$LD" && LD=ld
   7293 test -z "$ac_objext" && ac_objext=o
   7294 
   7295 for cc_temp in $compiler""; do
   7296   case $cc_temp in
   7297     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7298     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7299     \-*) ;;
   7300     *) break;;
   7301   esac
   7302 done
   7303 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7304 
   7305 
   7306 # Only perform the check for file, if the check method requires it
   7307 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7308 case $deplibs_check_method in
   7309 file_magic*)
   7310   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7311     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7312 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7313 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   case $MAGIC_CMD in
   7317 [\\/*] |  ?:[\\/]*)
   7318   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7319   ;;
   7320 *)
   7321   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7322   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7323   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7324   for ac_dir in $ac_dummy; do
   7325     IFS="$lt_save_ifs"
   7326     test -z "$ac_dir" && ac_dir=.
   7327     if test -f $ac_dir/${ac_tool_prefix}file; then
   7328       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7329       if test -n "$file_magic_test_file"; then
   7330 	case $deplibs_check_method in
   7331 	"file_magic "*)
   7332 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7333 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7334 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7335 	    $EGREP "$file_magic_regex" > /dev/null; then
   7336 	    :
   7337 	  else
   7338 	    cat <<_LT_EOF 1>&2
   7339 
   7340 *** Warning: the command libtool uses to detect shared libraries,
   7341 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7342 *** The result is that libtool may fail to recognize shared libraries
   7343 *** as such.  This will affect the creation of libtool libraries that
   7344 *** depend on shared libraries, but programs linked with such libtool
   7345 *** libraries will work regardless of this problem.  Nevertheless, you
   7346 *** may want to report the problem to your system manager and/or to
   7347 *** bug-libtool@gnu.org
   7348 
   7349 _LT_EOF
   7350 	  fi ;;
   7351 	esac
   7352       fi
   7353       break
   7354     fi
   7355   done
   7356   IFS="$lt_save_ifs"
   7357   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7358   ;;
   7359 esac
   7360 fi
   7361 
   7362 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7363 if test -n "$MAGIC_CMD"; then
   7364   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7365 $as_echo "$MAGIC_CMD" >&6; }
   7366 else
   7367   { $as_echo "$as_me:$LINENO: result: no" >&5
   7368 $as_echo "no" >&6; }
   7369 fi
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7376   if test -n "$ac_tool_prefix"; then
   7377     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7378 $as_echo_n "checking for file... " >&6; }
   7379 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7380   $as_echo_n "(cached) " >&6
   7381 else
   7382   case $MAGIC_CMD in
   7383 [\\/*] |  ?:[\\/]*)
   7384   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7385   ;;
   7386 *)
   7387   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7388   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7389   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7390   for ac_dir in $ac_dummy; do
   7391     IFS="$lt_save_ifs"
   7392     test -z "$ac_dir" && ac_dir=.
   7393     if test -f $ac_dir/file; then
   7394       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7395       if test -n "$file_magic_test_file"; then
   7396 	case $deplibs_check_method in
   7397 	"file_magic "*)
   7398 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7399 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7400 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7401 	    $EGREP "$file_magic_regex" > /dev/null; then
   7402 	    :
   7403 	  else
   7404 	    cat <<_LT_EOF 1>&2
   7405 
   7406 *** Warning: the command libtool uses to detect shared libraries,
   7407 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7408 *** The result is that libtool may fail to recognize shared libraries
   7409 *** as such.  This will affect the creation of libtool libraries that
   7410 *** depend on shared libraries, but programs linked with such libtool
   7411 *** libraries will work regardless of this problem.  Nevertheless, you
   7412 *** may want to report the problem to your system manager and/or to
   7413 *** bug-libtool@gnu.org
   7414 
   7415 _LT_EOF
   7416 	  fi ;;
   7417 	esac
   7418       fi
   7419       break
   7420     fi
   7421   done
   7422   IFS="$lt_save_ifs"
   7423   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7424   ;;
   7425 esac
   7426 fi
   7427 
   7428 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7429 if test -n "$MAGIC_CMD"; then
   7430   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7431 $as_echo "$MAGIC_CMD" >&6; }
   7432 else
   7433   { $as_echo "$as_me:$LINENO: result: no" >&5
   7434 $as_echo "no" >&6; }
   7435 fi
   7436 
   7437 
   7438   else
   7439     MAGIC_CMD=:
   7440   fi
   7441 fi
   7442 
   7443   fi
   7444   ;;
   7445 esac
   7446 
   7447 # Use C for the default configuration in the libtool script
   7448 
   7449 lt_save_CC="$CC"
   7450 ac_ext=c
   7451 ac_cpp='$CPP $CPPFLAGS'
   7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7455 
   7456 
   7457 # Source file extension for C test sources.
   7458 ac_ext=c
   7459 
   7460 # Object file extension for compiled C test sources.
   7461 objext=o
   7462 objext=$objext
   7463 
   7464 # Code to be used in simple compile tests
   7465 lt_simple_compile_test_code="int some_variable = 0;"
   7466 
   7467 # Code to be used in simple link tests
   7468 lt_simple_link_test_code='int main(){return(0);}'
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 # If no C compiler was specified, use CC.
   7477 LTCC=${LTCC-"$CC"}
   7478 
   7479 # If no C compiler flags were specified, use CFLAGS.
   7480 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7481 
   7482 # Allow CC to be a program name with arguments.
   7483 compiler=$CC
   7484 
   7485 # Save the default compiler, since it gets overwritten when the other
   7486 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7487 compiler_DEFAULT=$CC
   7488 
   7489 # save warnings/boilerplate of simple test code
   7490 ac_outfile=conftest.$ac_objext
   7491 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7492 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7493 _lt_compiler_boilerplate=`cat conftest.err`
   7494 $RM conftest*
   7495 
   7496 ac_outfile=conftest.$ac_objext
   7497 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7498 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7499 _lt_linker_boilerplate=`cat conftest.err`
   7500 $RM -r conftest*
   7501 
   7502 
   7503 if test -n "$compiler"; then
   7504 
   7505 lt_prog_compiler_no_builtin_flag=
   7506 
   7507 if test "$GCC" = yes; then
   7508   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7509 
   7510   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7511 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7512 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7513   $as_echo_n "(cached) " >&6
   7514 else
   7515   lt_cv_prog_compiler_rtti_exceptions=no
   7516    ac_outfile=conftest.$ac_objext
   7517    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7518    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7519    # Insert the option either (1) after the last *FLAGS variable, or
   7520    # (2) before a word containing "conftest.", or (3) at the end.
   7521    # Note that $ac_compile itself does not contain backslashes and begins
   7522    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7523    # The option is referenced via a variable to avoid confusing sed.
   7524    lt_compile=`echo "$ac_compile" | $SED \
   7525    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7526    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7527    -e 's:$: $lt_compiler_flag:'`
   7528    (eval echo "\"\$as_me:7528: $lt_compile\"" >&5)
   7529    (eval "$lt_compile" 2>conftest.err)
   7530    ac_status=$?
   7531    cat conftest.err >&5
   7532    echo "$as_me:7532: \$? = $ac_status" >&5
   7533    if (exit $ac_status) && test -s "$ac_outfile"; then
   7534      # The compiler can only warn and ignore the option if not recognized
   7535      # So say no if there are warnings other than the usual output.
   7536      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7537      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7538      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7539        lt_cv_prog_compiler_rtti_exceptions=yes
   7540      fi
   7541    fi
   7542    $RM conftest*
   7543 
   7544 fi
   7545 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7546 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7547 
   7548 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7549     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7550 else
   7551     :
   7552 fi
   7553 
   7554 fi
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561   lt_prog_compiler_wl=
   7562 lt_prog_compiler_pic=
   7563 lt_prog_compiler_static=
   7564 
   7565 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7566 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7567 
   7568   if test "$GCC" = yes; then
   7569     lt_prog_compiler_wl='-Wl,'
   7570     lt_prog_compiler_static='-static'
   7571 
   7572     case $host_os in
   7573       aix*)
   7574       # All AIX code is PIC.
   7575       if test "$host_cpu" = ia64; then
   7576 	# AIX 5 now supports IA64 processor
   7577 	lt_prog_compiler_static='-Bstatic'
   7578       fi
   7579       ;;
   7580 
   7581     amigaos*)
   7582       case $host_cpu in
   7583       powerpc)
   7584             # see comment about AmigaOS4 .so support
   7585             lt_prog_compiler_pic='-fPIC'
   7586         ;;
   7587       m68k)
   7588             # FIXME: we need at least 68020 code to build shared libraries, but
   7589             # adding the `-m68020' flag to GCC prevents building anything better,
   7590             # like `-m68040'.
   7591             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7592         ;;
   7593       esac
   7594       ;;
   7595 
   7596     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7597       # PIC is the default for these OSes.
   7598       ;;
   7599 
   7600     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7601       # This hack is so that the source file can tell whether it is being
   7602       # built for inclusion in a dll (and should export symbols for example).
   7603       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7604       # (--disable-auto-import) libraries
   7605       lt_prog_compiler_pic='-DDLL_EXPORT'
   7606       ;;
   7607 
   7608     darwin* | rhapsody*)
   7609       # PIC is the default on this platform
   7610       # Common symbols not allowed in MH_DYLIB files
   7611       lt_prog_compiler_pic='-fno-common'
   7612       ;;
   7613 
   7614     hpux*)
   7615       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7616       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7617       # sets the default TLS model and affects inlining.
   7618       case $host_cpu in
   7619       hppa*64*)
   7620 	# +Z the default
   7621 	;;
   7622       *)
   7623 	lt_prog_compiler_pic='-fPIC'
   7624 	;;
   7625       esac
   7626       ;;
   7627 
   7628     interix[3-9]*)
   7629       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7630       # Instead, we relocate shared libraries at runtime.
   7631       ;;
   7632 
   7633     msdosdjgpp*)
   7634       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7635       # on systems that don't support them.
   7636       lt_prog_compiler_can_build_shared=no
   7637       enable_shared=no
   7638       ;;
   7639 
   7640     *nto* | *qnx*)
   7641       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7642       # it will coredump.
   7643       lt_prog_compiler_pic='-fPIC -shared'
   7644       ;;
   7645 
   7646     sysv4*MP*)
   7647       if test -d /usr/nec; then
   7648 	lt_prog_compiler_pic=-Kconform_pic
   7649       fi
   7650       ;;
   7651 
   7652     *)
   7653       lt_prog_compiler_pic='-fPIC'
   7654       ;;
   7655     esac
   7656   else
   7657     # PORTME Check for flag to pass linker flags through the system compiler.
   7658     case $host_os in
   7659     aix*)
   7660       lt_prog_compiler_wl='-Wl,'
   7661       if test "$host_cpu" = ia64; then
   7662 	# AIX 5 now supports IA64 processor
   7663 	lt_prog_compiler_static='-Bstatic'
   7664       else
   7665 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7666       fi
   7667       ;;
   7668 
   7669     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7670       # This hack is so that the source file can tell whether it is being
   7671       # built for inclusion in a dll (and should export symbols for example).
   7672       lt_prog_compiler_pic='-DDLL_EXPORT'
   7673       ;;
   7674 
   7675     hpux9* | hpux10* | hpux11*)
   7676       lt_prog_compiler_wl='-Wl,'
   7677       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7678       # not for PA HP-UX.
   7679       case $host_cpu in
   7680       hppa*64*|ia64*)
   7681 	# +Z the default
   7682 	;;
   7683       *)
   7684 	lt_prog_compiler_pic='+Z'
   7685 	;;
   7686       esac
   7687       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7688       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7689       ;;
   7690 
   7691     irix5* | irix6* | nonstopux*)
   7692       lt_prog_compiler_wl='-Wl,'
   7693       # PIC (with -KPIC) is the default.
   7694       lt_prog_compiler_static='-non_shared'
   7695       ;;
   7696 
   7697     linux* | k*bsd*-gnu)
   7698       case $cc_basename in
   7699       # old Intel for x86_64 which still supported -KPIC.
   7700       ecc*)
   7701 	lt_prog_compiler_wl='-Wl,'
   7702 	lt_prog_compiler_pic='-KPIC'
   7703 	lt_prog_compiler_static='-static'
   7704         ;;
   7705       # icc used to be incompatible with GCC.
   7706       # ICC 10 doesn't accept -KPIC any more.
   7707       icc* | ifort*)
   7708 	lt_prog_compiler_wl='-Wl,'
   7709 	lt_prog_compiler_pic='-fPIC'
   7710 	lt_prog_compiler_static='-static'
   7711         ;;
   7712       # Lahey Fortran 8.1.
   7713       lf95*)
   7714 	lt_prog_compiler_wl='-Wl,'
   7715 	lt_prog_compiler_pic='--shared'
   7716 	lt_prog_compiler_static='--static'
   7717 	;;
   7718       pgcc* | pgf77* | pgf90* | pgf95*)
   7719         # Portland Group compilers (*not* the Pentium gcc compiler,
   7720 	# which looks to be a dead project)
   7721 	lt_prog_compiler_wl='-Wl,'
   7722 	lt_prog_compiler_pic='-fpic'
   7723 	lt_prog_compiler_static='-Bstatic'
   7724         ;;
   7725       ccc*)
   7726         lt_prog_compiler_wl='-Wl,'
   7727         # All Alpha code is PIC.
   7728         lt_prog_compiler_static='-non_shared'
   7729         ;;
   7730       xl*)
   7731 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7732 	lt_prog_compiler_wl='-Wl,'
   7733 	lt_prog_compiler_pic='-qpic'
   7734 	lt_prog_compiler_static='-qstaticlink'
   7735 	;;
   7736       *)
   7737 	case `$CC -V 2>&1 | sed 5q` in
   7738 	*Sun\ C*)
   7739 	  # Sun C 5.9
   7740 	  lt_prog_compiler_pic='-KPIC'
   7741 	  lt_prog_compiler_static='-Bstatic'
   7742 	  lt_prog_compiler_wl='-Wl,'
   7743 	  ;;
   7744 	*Sun\ F*)
   7745 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7746 	  lt_prog_compiler_pic='-KPIC'
   7747 	  lt_prog_compiler_static='-Bstatic'
   7748 	  lt_prog_compiler_wl=''
   7749 	  ;;
   7750 	esac
   7751 	;;
   7752       esac
   7753       ;;
   7754 
   7755     newsos6)
   7756       lt_prog_compiler_pic='-KPIC'
   7757       lt_prog_compiler_static='-Bstatic'
   7758       ;;
   7759 
   7760     *nto* | *qnx*)
   7761       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7762       # it will coredump.
   7763       lt_prog_compiler_pic='-fPIC -shared'
   7764       ;;
   7765 
   7766     osf3* | osf4* | osf5*)
   7767       lt_prog_compiler_wl='-Wl,'
   7768       # All OSF/1 code is PIC.
   7769       lt_prog_compiler_static='-non_shared'
   7770       ;;
   7771 
   7772     rdos*)
   7773       lt_prog_compiler_static='-non_shared'
   7774       ;;
   7775 
   7776     solaris*)
   7777       lt_prog_compiler_pic='-KPIC'
   7778       lt_prog_compiler_static='-Bstatic'
   7779       case $cc_basename in
   7780       f77* | f90* | f95*)
   7781 	lt_prog_compiler_wl='-Qoption ld ';;
   7782       *)
   7783 	lt_prog_compiler_wl='-Wl,';;
   7784       esac
   7785       ;;
   7786 
   7787     sunos4*)
   7788       lt_prog_compiler_wl='-Qoption ld '
   7789       lt_prog_compiler_pic='-PIC'
   7790       lt_prog_compiler_static='-Bstatic'
   7791       ;;
   7792 
   7793     sysv4 | sysv4.2uw2* | sysv4.3*)
   7794       lt_prog_compiler_wl='-Wl,'
   7795       lt_prog_compiler_pic='-KPIC'
   7796       lt_prog_compiler_static='-Bstatic'
   7797       ;;
   7798 
   7799     sysv4*MP*)
   7800       if test -d /usr/nec ;then
   7801 	lt_prog_compiler_pic='-Kconform_pic'
   7802 	lt_prog_compiler_static='-Bstatic'
   7803       fi
   7804       ;;
   7805 
   7806     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7807       lt_prog_compiler_wl='-Wl,'
   7808       lt_prog_compiler_pic='-KPIC'
   7809       lt_prog_compiler_static='-Bstatic'
   7810       ;;
   7811 
   7812     unicos*)
   7813       lt_prog_compiler_wl='-Wl,'
   7814       lt_prog_compiler_can_build_shared=no
   7815       ;;
   7816 
   7817     uts4*)
   7818       lt_prog_compiler_pic='-pic'
   7819       lt_prog_compiler_static='-Bstatic'
   7820       ;;
   7821 
   7822     *)
   7823       lt_prog_compiler_can_build_shared=no
   7824       ;;
   7825     esac
   7826   fi
   7827 
   7828 case $host_os in
   7829   # For platforms which do not support PIC, -DPIC is meaningless:
   7830   *djgpp*)
   7831     lt_prog_compiler_pic=
   7832     ;;
   7833   *)
   7834     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7835     ;;
   7836 esac
   7837 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7838 $as_echo "$lt_prog_compiler_pic" >&6; }
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 #
   7846 # Check to make sure the PIC flag actually works.
   7847 #
   7848 if test -n "$lt_prog_compiler_pic"; then
   7849   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7850 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7851 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   lt_cv_prog_compiler_pic_works=no
   7855    ac_outfile=conftest.$ac_objext
   7856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7857    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7858    # Insert the option either (1) after the last *FLAGS variable, or
   7859    # (2) before a word containing "conftest.", or (3) at the end.
   7860    # Note that $ac_compile itself does not contain backslashes and begins
   7861    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7862    # The option is referenced via a variable to avoid confusing sed.
   7863    lt_compile=`echo "$ac_compile" | $SED \
   7864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7866    -e 's:$: $lt_compiler_flag:'`
   7867    (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
   7868    (eval "$lt_compile" 2>conftest.err)
   7869    ac_status=$?
   7870    cat conftest.err >&5
   7871    echo "$as_me:7871: \$? = $ac_status" >&5
   7872    if (exit $ac_status) && test -s "$ac_outfile"; then
   7873      # The compiler can only warn and ignore the option if not recognized
   7874      # So say no if there are warnings other than the usual output.
   7875      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7876      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7877      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7878        lt_cv_prog_compiler_pic_works=yes
   7879      fi
   7880    fi
   7881    $RM conftest*
   7882 
   7883 fi
   7884 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7885 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7886 
   7887 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7888     case $lt_prog_compiler_pic in
   7889      "" | " "*) ;;
   7890      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7891      esac
   7892 else
   7893     lt_prog_compiler_pic=
   7894      lt_prog_compiler_can_build_shared=no
   7895 fi
   7896 
   7897 fi
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 #
   7905 # Check to make sure the static flag actually works.
   7906 #
   7907 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7908 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7909 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7910 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   lt_cv_prog_compiler_static_works=no
   7914    save_LDFLAGS="$LDFLAGS"
   7915    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7916    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7917    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7918      # The linker can only warn and ignore the option if not recognized
   7919      # So say no if there are warnings
   7920      if test -s conftest.err; then
   7921        # Append any errors to the config.log.
   7922        cat conftest.err 1>&5
   7923        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7924        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7925        if diff conftest.exp conftest.er2 >/dev/null; then
   7926          lt_cv_prog_compiler_static_works=yes
   7927        fi
   7928      else
   7929        lt_cv_prog_compiler_static_works=yes
   7930      fi
   7931    fi
   7932    $RM -r conftest*
   7933    LDFLAGS="$save_LDFLAGS"
   7934 
   7935 fi
   7936 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7937 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7938 
   7939 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7940     :
   7941 else
   7942     lt_prog_compiler_static=
   7943 fi
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7952 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7953 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7954   $as_echo_n "(cached) " >&6
   7955 else
   7956   lt_cv_prog_compiler_c_o=no
   7957    $RM -r conftest 2>/dev/null
   7958    mkdir conftest
   7959    cd conftest
   7960    mkdir out
   7961    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7962 
   7963    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7964    # Insert the option either (1) after the last *FLAGS variable, or
   7965    # (2) before a word containing "conftest.", or (3) at the end.
   7966    # Note that $ac_compile itself does not contain backslashes and begins
   7967    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7968    lt_compile=`echo "$ac_compile" | $SED \
   7969    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7970    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7971    -e 's:$: $lt_compiler_flag:'`
   7972    (eval echo "\"\$as_me:7972: $lt_compile\"" >&5)
   7973    (eval "$lt_compile" 2>out/conftest.err)
   7974    ac_status=$?
   7975    cat out/conftest.err >&5
   7976    echo "$as_me:7976: \$? = $ac_status" >&5
   7977    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7978    then
   7979      # The compiler can only warn and ignore the option if not recognized
   7980      # So say no if there are warnings
   7981      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7982      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7983      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7984        lt_cv_prog_compiler_c_o=yes
   7985      fi
   7986    fi
   7987    chmod u+w . 2>&5
   7988    $RM conftest*
   7989    # SGI C++ compiler will create directory out/ii_files/ for
   7990    # template instantiation
   7991    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7992    $RM out/* && rmdir out
   7993    cd ..
   7994    $RM -r conftest
   7995    $RM conftest*
   7996 
   7997 fi
   7998 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7999 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8008 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8009   $as_echo_n "(cached) " >&6
   8010 else
   8011   lt_cv_prog_compiler_c_o=no
   8012    $RM -r conftest 2>/dev/null
   8013    mkdir conftest
   8014    cd conftest
   8015    mkdir out
   8016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8017 
   8018    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8019    # Insert the option either (1) after the last *FLAGS variable, or
   8020    # (2) before a word containing "conftest.", or (3) at the end.
   8021    # Note that $ac_compile itself does not contain backslashes and begins
   8022    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8023    lt_compile=`echo "$ac_compile" | $SED \
   8024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8026    -e 's:$: $lt_compiler_flag:'`
   8027    (eval echo "\"\$as_me:8027: $lt_compile\"" >&5)
   8028    (eval "$lt_compile" 2>out/conftest.err)
   8029    ac_status=$?
   8030    cat out/conftest.err >&5
   8031    echo "$as_me:8031: \$? = $ac_status" >&5
   8032    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8033    then
   8034      # The compiler can only warn and ignore the option if not recognized
   8035      # So say no if there are warnings
   8036      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8037      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8038      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8039        lt_cv_prog_compiler_c_o=yes
   8040      fi
   8041    fi
   8042    chmod u+w . 2>&5
   8043    $RM conftest*
   8044    # SGI C++ compiler will create directory out/ii_files/ for
   8045    # template instantiation
   8046    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8047    $RM out/* && rmdir out
   8048    cd ..
   8049    $RM -r conftest
   8050    $RM conftest*
   8051 
   8052 fi
   8053 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8054 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8055 
   8056 
   8057 
   8058 
   8059 hard_links="nottested"
   8060 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8061   # do not overwrite the value of need_locks provided by the user
   8062   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8063 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8064   hard_links=yes
   8065   $RM conftest*
   8066   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8067   touch conftest.a
   8068   ln conftest.a conftest.b 2>&5 || hard_links=no
   8069   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8070   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8071 $as_echo "$hard_links" >&6; }
   8072   if test "$hard_links" = no; then
   8073     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8074 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8075     need_locks=warn
   8076   fi
   8077 else
   8078   need_locks=no
   8079 fi
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8087 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8088 
   8089   runpath_var=
   8090   allow_undefined_flag=
   8091   always_export_symbols=no
   8092   archive_cmds=
   8093   archive_expsym_cmds=
   8094   compiler_needs_object=no
   8095   enable_shared_with_static_runtimes=no
   8096   export_dynamic_flag_spec=
   8097   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8098   hardcode_automatic=no
   8099   hardcode_direct=no
   8100   hardcode_direct_absolute=no
   8101   hardcode_libdir_flag_spec=
   8102   hardcode_libdir_flag_spec_ld=
   8103   hardcode_libdir_separator=
   8104   hardcode_minus_L=no
   8105   hardcode_shlibpath_var=unsupported
   8106   inherit_rpath=no
   8107   link_all_deplibs=unknown
   8108   module_cmds=
   8109   module_expsym_cmds=
   8110   old_archive_from_new_cmds=
   8111   old_archive_from_expsyms_cmds=
   8112   thread_safe_flag_spec=
   8113   whole_archive_flag_spec=
   8114   # include_expsyms should be a list of space-separated symbols to be *always*
   8115   # included in the symbol list
   8116   include_expsyms=
   8117   # exclude_expsyms can be an extended regexp of symbols to exclude
   8118   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8119   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8120   # as well as any symbol that contains `d'.
   8121   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8122   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8123   # platforms (ab)use it in PIC code, but their linkers get confused if
   8124   # the symbol is explicitly referenced.  Since portable code cannot
   8125   # rely on this symbol name, it's probably fine to never include it in
   8126   # preloaded symbol tables.
   8127   # Exclude shared library initialization/finalization symbols.
   8128   extract_expsyms_cmds=
   8129 
   8130   case $host_os in
   8131   cygwin* | mingw* | pw32* | cegcc*)
   8132     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8133     # When not using gcc, we currently assume that we are using
   8134     # Microsoft Visual C++.
   8135     if test "$GCC" != yes; then
   8136       with_gnu_ld=no
   8137     fi
   8138     ;;
   8139   interix*)
   8140     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8141     with_gnu_ld=yes
   8142     ;;
   8143   openbsd*)
   8144     with_gnu_ld=no
   8145     ;;
   8146   esac
   8147 
   8148   ld_shlibs=yes
   8149   if test "$with_gnu_ld" = yes; then
   8150     # If archive_cmds runs LD, not CC, wlarc should be empty
   8151     wlarc='${wl}'
   8152 
   8153     # Set some defaults for GNU ld with shared library support. These
   8154     # are reset later if shared libraries are not supported. Putting them
   8155     # here allows them to be overridden if necessary.
   8156     runpath_var=LD_RUN_PATH
   8157     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8158     export_dynamic_flag_spec='${wl}--export-dynamic'
   8159     # ancient GNU ld didn't support --whole-archive et. al.
   8160     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8161       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8162     else
   8163       whole_archive_flag_spec=
   8164     fi
   8165     supports_anon_versioning=no
   8166     case `$LD -v 2>&1` in
   8167       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8168       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8169       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8170       *\ 2.11.*) ;; # other 2.11 versions
   8171       *) supports_anon_versioning=yes ;;
   8172     esac
   8173 
   8174     # See if GNU ld supports shared libraries.
   8175     case $host_os in
   8176     aix[3-9]*)
   8177       # On AIX/PPC, the GNU linker is very broken
   8178       if test "$host_cpu" != ia64; then
   8179 	ld_shlibs=no
   8180 	cat <<_LT_EOF 1>&2
   8181 
   8182 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8183 *** to be unable to reliably create shared libraries on AIX.
   8184 *** Therefore, libtool is disabling shared libraries support.  If you
   8185 *** really care for shared libraries, you may want to modify your PATH
   8186 *** so that a non-GNU linker is found, and then restart.
   8187 
   8188 _LT_EOF
   8189       fi
   8190       ;;
   8191 
   8192     amigaos*)
   8193       case $host_cpu in
   8194       powerpc)
   8195             # see comment about AmigaOS4 .so support
   8196             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8197             archive_expsym_cmds=''
   8198         ;;
   8199       m68k)
   8200             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)'
   8201             hardcode_libdir_flag_spec='-L$libdir'
   8202             hardcode_minus_L=yes
   8203         ;;
   8204       esac
   8205       ;;
   8206 
   8207     beos*)
   8208       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8209 	allow_undefined_flag=unsupported
   8210 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8211 	# support --undefined.  This deserves some investigation.  FIXME
   8212 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8213       else
   8214 	ld_shlibs=no
   8215       fi
   8216       ;;
   8217 
   8218     cygwin* | mingw* | pw32* | cegcc*)
   8219       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8220       # as there is no search path for DLLs.
   8221       hardcode_libdir_flag_spec='-L$libdir'
   8222       allow_undefined_flag=unsupported
   8223       always_export_symbols=no
   8224       enable_shared_with_static_runtimes=yes
   8225       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8226 
   8227       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8228         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8229 	# If the export-symbols file already is a .def file (1st line
   8230 	# is EXPORTS), use it as is; otherwise, prepend...
   8231 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8232 	  cp $export_symbols $output_objdir/$soname.def;
   8233 	else
   8234 	  echo EXPORTS > $output_objdir/$soname.def;
   8235 	  cat $export_symbols >> $output_objdir/$soname.def;
   8236 	fi~
   8237 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8238       else
   8239 	ld_shlibs=no
   8240       fi
   8241       ;;
   8242 
   8243     interix[3-9]*)
   8244       hardcode_direct=no
   8245       hardcode_shlibpath_var=no
   8246       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8247       export_dynamic_flag_spec='${wl}-E'
   8248       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8249       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8250       # default) and relocated if they conflict, which is a slow very memory
   8251       # consuming and fragmenting process.  To avoid this, we pick a random,
   8252       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8253       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8254       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8255       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'
   8256       ;;
   8257 
   8258     gnu* | linux* | tpf* | k*bsd*-gnu)
   8259       tmp_diet=no
   8260       if test "$host_os" = linux-dietlibc; then
   8261 	case $cc_basename in
   8262 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8263 	esac
   8264       fi
   8265       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8266 	 && test "$tmp_diet" = no
   8267       then
   8268 	tmp_addflag=
   8269 	tmp_sharedflag='-shared'
   8270 	case $cc_basename,$host_cpu in
   8271         pgcc*)				# Portland Group C compiler
   8272 	  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'
   8273 	  tmp_addflag=' $pic_flag'
   8274 	  ;;
   8275 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8276 	  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'
   8277 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8278 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8279 	  tmp_addflag=' -i_dynamic' ;;
   8280 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8281 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8282 	ifc* | ifort*)			# Intel Fortran compiler
   8283 	  tmp_addflag=' -nofor_main' ;;
   8284 	lf95*)				# Lahey Fortran 8.1
   8285 	  whole_archive_flag_spec=
   8286 	  tmp_sharedflag='--shared' ;;
   8287 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8288 	  tmp_sharedflag='-qmkshrobj'
   8289 	  tmp_addflag= ;;
   8290 	esac
   8291 	case `$CC -V 2>&1 | sed 5q` in
   8292 	*Sun\ C*)			# Sun C 5.9
   8293 	  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'
   8294 	  compiler_needs_object=yes
   8295 	  tmp_sharedflag='-G' ;;
   8296 	*Sun\ F*)			# Sun Fortran 8.3
   8297 	  tmp_sharedflag='-G' ;;
   8298 	esac
   8299 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8300 
   8301         if test "x$supports_anon_versioning" = xyes; then
   8302           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8303 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8304 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8305 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8306         fi
   8307 
   8308 	case $cc_basename in
   8309 	xlf*)
   8310 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8311 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8312 	  hardcode_libdir_flag_spec=
   8313 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8314 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8315 	  if test "x$supports_anon_versioning" = xyes; then
   8316 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8317 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8318 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8319 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8320 	  fi
   8321 	  ;;
   8322 	esac
   8323       else
   8324         ld_shlibs=no
   8325       fi
   8326       ;;
   8327 
   8328     netbsd*)
   8329       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8330 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8331 	wlarc=
   8332       else
   8333 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8334 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8335       fi
   8336       ;;
   8337 
   8338     solaris*)
   8339       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8340 	ld_shlibs=no
   8341 	cat <<_LT_EOF 1>&2
   8342 
   8343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8344 *** create shared libraries on Solaris systems.  Therefore, libtool
   8345 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8346 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8347 *** your PATH or compiler configuration so that the native linker is
   8348 *** used, and then restart.
   8349 
   8350 _LT_EOF
   8351       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8352 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8353 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8354       else
   8355 	ld_shlibs=no
   8356       fi
   8357       ;;
   8358 
   8359     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8360       case `$LD -v 2>&1` in
   8361         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8362 	ld_shlibs=no
   8363 	cat <<_LT_EOF 1>&2
   8364 
   8365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8366 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8367 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8368 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8369 *** your PATH or compiler configuration so that the native linker is
   8370 *** used, and then restart.
   8371 
   8372 _LT_EOF
   8373 	;;
   8374 	*)
   8375 	  # For security reasons, it is highly recommended that you always
   8376 	  # use absolute paths for naming shared libraries, and exclude the
   8377 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8378 	  # requires that you compile everything twice, which is a pain.
   8379 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8380 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8381 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8382 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8383 	  else
   8384 	    ld_shlibs=no
   8385 	  fi
   8386 	;;
   8387       esac
   8388       ;;
   8389 
   8390     sunos4*)
   8391       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8392       wlarc=
   8393       hardcode_direct=yes
   8394       hardcode_shlibpath_var=no
   8395       ;;
   8396 
   8397     *)
   8398       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8399 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8400 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8401       else
   8402 	ld_shlibs=no
   8403       fi
   8404       ;;
   8405     esac
   8406 
   8407     if test "$ld_shlibs" = no; then
   8408       runpath_var=
   8409       hardcode_libdir_flag_spec=
   8410       export_dynamic_flag_spec=
   8411       whole_archive_flag_spec=
   8412     fi
   8413   else
   8414     # PORTME fill in a description of your system's linker (not GNU ld)
   8415     case $host_os in
   8416     aix3*)
   8417       allow_undefined_flag=unsupported
   8418       always_export_symbols=yes
   8419       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'
   8420       # Note: this linker hardcodes the directories in LIBPATH if there
   8421       # are no directories specified by -L.
   8422       hardcode_minus_L=yes
   8423       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8424 	# Neither direct hardcoding nor static linking is supported with a
   8425 	# broken collect2.
   8426 	hardcode_direct=unsupported
   8427       fi
   8428       ;;
   8429 
   8430     aix[4-9]*)
   8431       if test "$host_cpu" = ia64; then
   8432 	# On IA64, the linker does run time linking by default, so we don't
   8433 	# have to do anything special.
   8434 	aix_use_runtimelinking=no
   8435 	exp_sym_flag='-Bexport'
   8436 	no_entry_flag=""
   8437       else
   8438 	# If we're using GNU nm, then we don't want the "-C" option.
   8439 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8440 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8441 	  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'
   8442 	else
   8443 	  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'
   8444 	fi
   8445 	aix_use_runtimelinking=no
   8446 
   8447 	# Test if we are trying to use run time linking or normal
   8448 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8449 	# need to do runtime linking.
   8450 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8451 	  for ld_flag in $LDFLAGS; do
   8452 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8453 	    aix_use_runtimelinking=yes
   8454 	    break
   8455 	  fi
   8456 	  done
   8457 	  ;;
   8458 	esac
   8459 
   8460 	exp_sym_flag='-bexport'
   8461 	no_entry_flag='-bnoentry'
   8462       fi
   8463 
   8464       # When large executables or shared objects are built, AIX ld can
   8465       # have problems creating the table of contents.  If linking a library
   8466       # or program results in "error TOC overflow" add -mminimal-toc to
   8467       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8468       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8469 
   8470       archive_cmds=''
   8471       hardcode_direct=yes
   8472       hardcode_direct_absolute=yes
   8473       hardcode_libdir_separator=':'
   8474       link_all_deplibs=yes
   8475       file_list_spec='${wl}-f,'
   8476 
   8477       if test "$GCC" = yes; then
   8478 	case $host_os in aix4.[012]|aix4.[012].*)
   8479 	# We only want to do this on AIX 4.2 and lower, the check
   8480 	# below for broken collect2 doesn't work under 4.3+
   8481 	  collect2name=`${CC} -print-prog-name=collect2`
   8482 	  if test -f "$collect2name" &&
   8483 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8484 	  then
   8485 	  # We have reworked collect2
   8486 	  :
   8487 	  else
   8488 	  # We have old collect2
   8489 	  hardcode_direct=unsupported
   8490 	  # It fails to find uninstalled libraries when the uninstalled
   8491 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8492 	  # to unsupported forces relinking
   8493 	  hardcode_minus_L=yes
   8494 	  hardcode_libdir_flag_spec='-L$libdir'
   8495 	  hardcode_libdir_separator=
   8496 	  fi
   8497 	  ;;
   8498 	esac
   8499 	shared_flag='-shared'
   8500 	if test "$aix_use_runtimelinking" = yes; then
   8501 	  shared_flag="$shared_flag "'${wl}-G'
   8502 	fi
   8503       else
   8504 	# not using gcc
   8505 	if test "$host_cpu" = ia64; then
   8506 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8507 	# chokes on -Wl,-G. The following line is correct:
   8508 	  shared_flag='-G'
   8509 	else
   8510 	  if test "$aix_use_runtimelinking" = yes; then
   8511 	    shared_flag='${wl}-G'
   8512 	  else
   8513 	    shared_flag='${wl}-bM:SRE'
   8514 	  fi
   8515 	fi
   8516       fi
   8517 
   8518       export_dynamic_flag_spec='${wl}-bexpall'
   8519       # It seems that -bexpall does not export symbols beginning with
   8520       # underscore (_), so it is better to generate a list of symbols to export.
   8521       always_export_symbols=yes
   8522       if test "$aix_use_runtimelinking" = yes; then
   8523 	# Warning - without using the other runtime loading flags (-brtl),
   8524 	# -berok will link without error, but may produce a broken library.
   8525 	allow_undefined_flag='-berok'
   8526         # Determine the default libpath from the value encoded in an
   8527         # empty executable.
   8528         cat >conftest.$ac_ext <<_ACEOF
   8529 /* confdefs.h.  */
   8530 _ACEOF
   8531 cat confdefs.h >>conftest.$ac_ext
   8532 cat >>conftest.$ac_ext <<_ACEOF
   8533 /* end confdefs.h.  */
   8534 
   8535 int
   8536 main ()
   8537 {
   8538 
   8539   ;
   8540   return 0;
   8541 }
   8542 _ACEOF
   8543 rm -f conftest.$ac_objext conftest$ac_exeext
   8544 if { (ac_try="$ac_link"
   8545 case "(($ac_try" in
   8546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8547   *) ac_try_echo=$ac_try;;
   8548 esac
   8549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8550 $as_echo "$ac_try_echo") >&5
   8551   (eval "$ac_link") 2>conftest.er1
   8552   ac_status=$?
   8553   grep -v '^ *+' conftest.er1 >conftest.err
   8554   rm -f conftest.er1
   8555   cat conftest.err >&5
   8556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8557   (exit $ac_status); } && {
   8558 	 test -z "$ac_c_werror_flag" ||
   8559 	 test ! -s conftest.err
   8560        } && test -s conftest$ac_exeext && {
   8561 	 test "$cross_compiling" = yes ||
   8562 	 $as_test_x conftest$ac_exeext
   8563        }; then
   8564 
   8565 lt_aix_libpath_sed='
   8566     /Import File Strings/,/^$/ {
   8567 	/^0/ {
   8568 	    s/^0  *\(.*\)$/\1/
   8569 	    p
   8570 	}
   8571     }'
   8572 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8573 # Check for a 64-bit object if we didn't find anything.
   8574 if test -z "$aix_libpath"; then
   8575   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8576 fi
   8577 else
   8578   $as_echo "$as_me: failed program was:" >&5
   8579 sed 's/^/| /' conftest.$ac_ext >&5
   8580 
   8581 
   8582 fi
   8583 
   8584 rm -rf conftest.dSYM
   8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8586       conftest$ac_exeext conftest.$ac_ext
   8587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8588 
   8589         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8590         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"
   8591       else
   8592 	if test "$host_cpu" = ia64; then
   8593 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8594 	  allow_undefined_flag="-z nodefs"
   8595 	  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"
   8596 	else
   8597 	 # Determine the default libpath from the value encoded in an
   8598 	 # empty executable.
   8599 	 cat >conftest.$ac_ext <<_ACEOF
   8600 /* confdefs.h.  */
   8601 _ACEOF
   8602 cat confdefs.h >>conftest.$ac_ext
   8603 cat >>conftest.$ac_ext <<_ACEOF
   8604 /* end confdefs.h.  */
   8605 
   8606 int
   8607 main ()
   8608 {
   8609 
   8610   ;
   8611   return 0;
   8612 }
   8613 _ACEOF
   8614 rm -f conftest.$ac_objext conftest$ac_exeext
   8615 if { (ac_try="$ac_link"
   8616 case "(($ac_try" in
   8617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8618   *) ac_try_echo=$ac_try;;
   8619 esac
   8620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8621 $as_echo "$ac_try_echo") >&5
   8622   (eval "$ac_link") 2>conftest.er1
   8623   ac_status=$?
   8624   grep -v '^ *+' conftest.er1 >conftest.err
   8625   rm -f conftest.er1
   8626   cat conftest.err >&5
   8627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8628   (exit $ac_status); } && {
   8629 	 test -z "$ac_c_werror_flag" ||
   8630 	 test ! -s conftest.err
   8631        } && test -s conftest$ac_exeext && {
   8632 	 test "$cross_compiling" = yes ||
   8633 	 $as_test_x conftest$ac_exeext
   8634        }; then
   8635 
   8636 lt_aix_libpath_sed='
   8637     /Import File Strings/,/^$/ {
   8638 	/^0/ {
   8639 	    s/^0  *\(.*\)$/\1/
   8640 	    p
   8641 	}
   8642     }'
   8643 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8644 # Check for a 64-bit object if we didn't find anything.
   8645 if test -z "$aix_libpath"; then
   8646   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8647 fi
   8648 else
   8649   $as_echo "$as_me: failed program was:" >&5
   8650 sed 's/^/| /' conftest.$ac_ext >&5
   8651 
   8652 
   8653 fi
   8654 
   8655 rm -rf conftest.dSYM
   8656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8657       conftest$ac_exeext conftest.$ac_ext
   8658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8659 
   8660 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8661 	  # Warning - without using the other run time loading flags,
   8662 	  # -berok will link without error, but may produce a broken library.
   8663 	  no_undefined_flag=' ${wl}-bernotok'
   8664 	  allow_undefined_flag=' ${wl}-berok'
   8665 	  # Exported symbols can be pulled into shared objects from archives
   8666 	  whole_archive_flag_spec='$convenience'
   8667 	  archive_cmds_need_lc=yes
   8668 	  # This is similar to how AIX traditionally builds its shared libraries.
   8669 	  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'
   8670 	fi
   8671       fi
   8672       ;;
   8673 
   8674     amigaos*)
   8675       case $host_cpu in
   8676       powerpc)
   8677             # see comment about AmigaOS4 .so support
   8678             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8679             archive_expsym_cmds=''
   8680         ;;
   8681       m68k)
   8682             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)'
   8683             hardcode_libdir_flag_spec='-L$libdir'
   8684             hardcode_minus_L=yes
   8685         ;;
   8686       esac
   8687       ;;
   8688 
   8689     bsdi[45]*)
   8690       export_dynamic_flag_spec=-rdynamic
   8691       ;;
   8692 
   8693     cygwin* | mingw* | pw32* | cegcc*)
   8694       # When not using gcc, we currently assume that we are using
   8695       # Microsoft Visual C++.
   8696       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8697       # no search path for DLLs.
   8698       hardcode_libdir_flag_spec=' '
   8699       allow_undefined_flag=unsupported
   8700       # Tell ltmain to make .lib files, not .a files.
   8701       libext=lib
   8702       # Tell ltmain to make .dll files, not .so files.
   8703       shrext_cmds=".dll"
   8704       # FIXME: Setting linknames here is a bad hack.
   8705       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8706       # The linker will automatically build a .lib file if we build a DLL.
   8707       old_archive_from_new_cmds='true'
   8708       # FIXME: Should let the user specify the lib program.
   8709       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8710       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8711       enable_shared_with_static_runtimes=yes
   8712       ;;
   8713 
   8714     darwin* | rhapsody*)
   8715 
   8716 
   8717   archive_cmds_need_lc=no
   8718   hardcode_direct=no
   8719   hardcode_automatic=yes
   8720   hardcode_shlibpath_var=unsupported
   8721   whole_archive_flag_spec=''
   8722   link_all_deplibs=yes
   8723   allow_undefined_flag="$_lt_dar_allow_undefined"
   8724   case $cc_basename in
   8725      ifort*) _lt_dar_can_shared=yes ;;
   8726      *) _lt_dar_can_shared=$GCC ;;
   8727   esac
   8728   if test "$_lt_dar_can_shared" = "yes"; then
   8729     output_verbose_link_cmd=echo
   8730     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8731     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8732     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}"
   8733     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}"
   8734 
   8735   else
   8736   ld_shlibs=no
   8737   fi
   8738 
   8739       ;;
   8740 
   8741     dgux*)
   8742       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8743       hardcode_libdir_flag_spec='-L$libdir'
   8744       hardcode_shlibpath_var=no
   8745       ;;
   8746 
   8747     freebsd1*)
   8748       ld_shlibs=no
   8749       ;;
   8750 
   8751     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8752     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8753     # does not break anything, and helps significantly (at the cost of a little
   8754     # extra space).
   8755     freebsd2.2*)
   8756       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8757       hardcode_libdir_flag_spec='-R$libdir'
   8758       hardcode_direct=yes
   8759       hardcode_shlibpath_var=no
   8760       ;;
   8761 
   8762     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8763     freebsd2*)
   8764       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8765       hardcode_direct=yes
   8766       hardcode_minus_L=yes
   8767       hardcode_shlibpath_var=no
   8768       ;;
   8769 
   8770     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8771     freebsd* | dragonfly*)
   8772       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8773       hardcode_libdir_flag_spec='-R$libdir'
   8774       hardcode_direct=yes
   8775       hardcode_shlibpath_var=no
   8776       ;;
   8777 
   8778     hpux9*)
   8779       if test "$GCC" = yes; then
   8780 	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'
   8781       else
   8782 	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'
   8783       fi
   8784       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8785       hardcode_libdir_separator=:
   8786       hardcode_direct=yes
   8787 
   8788       # hardcode_minus_L: Not really in the search PATH,
   8789       # but as the default location of the library.
   8790       hardcode_minus_L=yes
   8791       export_dynamic_flag_spec='${wl}-E'
   8792       ;;
   8793 
   8794     hpux10*)
   8795       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8796 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8797       else
   8798 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8799       fi
   8800       if test "$with_gnu_ld" = no; then
   8801 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8802 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8803 	hardcode_libdir_separator=:
   8804 	hardcode_direct=yes
   8805 	hardcode_direct_absolute=yes
   8806 	export_dynamic_flag_spec='${wl}-E'
   8807 	# hardcode_minus_L: Not really in the search PATH,
   8808 	# but as the default location of the library.
   8809 	hardcode_minus_L=yes
   8810       fi
   8811       ;;
   8812 
   8813     hpux11*)
   8814       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8815 	case $host_cpu in
   8816 	hppa*64*)
   8817 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8818 	  ;;
   8819 	ia64*)
   8820 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8821 	  ;;
   8822 	*)
   8823 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  ;;
   8825 	esac
   8826       else
   8827 	case $host_cpu in
   8828 	hppa*64*)
   8829 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8830 	  ;;
   8831 	ia64*)
   8832 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8833 	  ;;
   8834 	*)
   8835 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8836 	  ;;
   8837 	esac
   8838       fi
   8839       if test "$with_gnu_ld" = no; then
   8840 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8841 	hardcode_libdir_separator=:
   8842 
   8843 	case $host_cpu in
   8844 	hppa*64*|ia64*)
   8845 	  hardcode_direct=no
   8846 	  hardcode_shlibpath_var=no
   8847 	  ;;
   8848 	*)
   8849 	  hardcode_direct=yes
   8850 	  hardcode_direct_absolute=yes
   8851 	  export_dynamic_flag_spec='${wl}-E'
   8852 
   8853 	  # hardcode_minus_L: Not really in the search PATH,
   8854 	  # but as the default location of the library.
   8855 	  hardcode_minus_L=yes
   8856 	  ;;
   8857 	esac
   8858       fi
   8859       ;;
   8860 
   8861     irix5* | irix6* | nonstopux*)
   8862       if test "$GCC" = yes; then
   8863 	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'
   8864 	# Try to use the -exported_symbol ld option, if it does not
   8865 	# work, assume that -exports_file does not work either and
   8866 	# implicitly export all symbols.
   8867         save_LDFLAGS="$LDFLAGS"
   8868         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8869         cat >conftest.$ac_ext <<_ACEOF
   8870 int foo(void) {}
   8871 _ACEOF
   8872 rm -f conftest.$ac_objext conftest$ac_exeext
   8873 if { (ac_try="$ac_link"
   8874 case "(($ac_try" in
   8875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8876   *) ac_try_echo=$ac_try;;
   8877 esac
   8878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8879 $as_echo "$ac_try_echo") >&5
   8880   (eval "$ac_link") 2>conftest.er1
   8881   ac_status=$?
   8882   grep -v '^ *+' conftest.er1 >conftest.err
   8883   rm -f conftest.er1
   8884   cat conftest.err >&5
   8885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8886   (exit $ac_status); } && {
   8887 	 test -z "$ac_c_werror_flag" ||
   8888 	 test ! -s conftest.err
   8889        } && test -s conftest$ac_exeext && {
   8890 	 test "$cross_compiling" = yes ||
   8891 	 $as_test_x conftest$ac_exeext
   8892        }; then
   8893   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'
   8894 
   8895 else
   8896   $as_echo "$as_me: failed program was:" >&5
   8897 sed 's/^/| /' conftest.$ac_ext >&5
   8898 
   8899 
   8900 fi
   8901 
   8902 rm -rf conftest.dSYM
   8903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8904       conftest$ac_exeext conftest.$ac_ext
   8905         LDFLAGS="$save_LDFLAGS"
   8906       else
   8907 	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'
   8908 	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'
   8909       fi
   8910       archive_cmds_need_lc='no'
   8911       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8912       hardcode_libdir_separator=:
   8913       inherit_rpath=yes
   8914       link_all_deplibs=yes
   8915       ;;
   8916 
   8917     netbsd*)
   8918       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8919 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8920       else
   8921 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8922       fi
   8923       hardcode_libdir_flag_spec='-R$libdir'
   8924       hardcode_direct=yes
   8925       hardcode_shlibpath_var=no
   8926       ;;
   8927 
   8928     newsos6)
   8929       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8930       hardcode_direct=yes
   8931       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8932       hardcode_libdir_separator=:
   8933       hardcode_shlibpath_var=no
   8934       ;;
   8935 
   8936     *nto* | *qnx*)
   8937       ;;
   8938 
   8939     openbsd*)
   8940       if test -f /usr/libexec/ld.so; then
   8941 	hardcode_direct=yes
   8942 	hardcode_shlibpath_var=no
   8943 	hardcode_direct_absolute=yes
   8944 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8945 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8946 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8947 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8948 	  export_dynamic_flag_spec='${wl}-E'
   8949 	else
   8950 	  case $host_os in
   8951 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8952 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8953 	     hardcode_libdir_flag_spec='-R$libdir'
   8954 	     ;;
   8955 	   *)
   8956 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8957 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8958 	     ;;
   8959 	  esac
   8960 	fi
   8961       else
   8962 	ld_shlibs=no
   8963       fi
   8964       ;;
   8965 
   8966     os2*)
   8967       hardcode_libdir_flag_spec='-L$libdir'
   8968       hardcode_minus_L=yes
   8969       allow_undefined_flag=unsupported
   8970       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'
   8971       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8972       ;;
   8973 
   8974     osf3*)
   8975       if test "$GCC" = yes; then
   8976 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8977 	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'
   8978       else
   8979 	allow_undefined_flag=' -expect_unresolved \*'
   8980 	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'
   8981       fi
   8982       archive_cmds_need_lc='no'
   8983       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8984       hardcode_libdir_separator=:
   8985       ;;
   8986 
   8987     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8988       if test "$GCC" = yes; then
   8989 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8990 	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'
   8991 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8992       else
   8993 	allow_undefined_flag=' -expect_unresolved \*'
   8994 	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'
   8995 	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~
   8996 	$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'
   8997 
   8998 	# Both c and cxx compiler support -rpath directly
   8999 	hardcode_libdir_flag_spec='-rpath $libdir'
   9000       fi
   9001       archive_cmds_need_lc='no'
   9002       hardcode_libdir_separator=:
   9003       ;;
   9004 
   9005     solaris*)
   9006       no_undefined_flag=' -z defs'
   9007       if test "$GCC" = yes; then
   9008 	wlarc='${wl}'
   9009 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9010 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9011 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9012       else
   9013 	case `$CC -V 2>&1` in
   9014 	*"Compilers 5.0"*)
   9015 	  wlarc=''
   9016 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9017 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9018 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9019 	  ;;
   9020 	*)
   9021 	  wlarc='${wl}'
   9022 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9023 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9024 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9025 	  ;;
   9026 	esac
   9027       fi
   9028       hardcode_libdir_flag_spec='-R$libdir'
   9029       hardcode_shlibpath_var=no
   9030       case $host_os in
   9031       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9032       *)
   9033 	# The compiler driver will combine and reorder linker options,
   9034 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9035 	# but is careful enough not to reorder.
   9036 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9037 	if test "$GCC" = yes; then
   9038 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9039 	else
   9040 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9041 	fi
   9042 	;;
   9043       esac
   9044       link_all_deplibs=yes
   9045       ;;
   9046 
   9047     sunos4*)
   9048       if test "x$host_vendor" = xsequent; then
   9049 	# Use $CC to link under sequent, because it throws in some extra .o
   9050 	# files that make .init and .fini sections work.
   9051 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9052       else
   9053 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9054       fi
   9055       hardcode_libdir_flag_spec='-L$libdir'
   9056       hardcode_direct=yes
   9057       hardcode_minus_L=yes
   9058       hardcode_shlibpath_var=no
   9059       ;;
   9060 
   9061     sysv4)
   9062       case $host_vendor in
   9063 	sni)
   9064 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9065 	  hardcode_direct=yes # is this really true???
   9066 	;;
   9067 	siemens)
   9068 	  ## LD is ld it makes a PLAMLIB
   9069 	  ## CC just makes a GrossModule.
   9070 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9071 	  reload_cmds='$CC -r -o $output$reload_objs'
   9072 	  hardcode_direct=no
   9073         ;;
   9074 	motorola)
   9075 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9076 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9077 	;;
   9078       esac
   9079       runpath_var='LD_RUN_PATH'
   9080       hardcode_shlibpath_var=no
   9081       ;;
   9082 
   9083     sysv4.3*)
   9084       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9085       hardcode_shlibpath_var=no
   9086       export_dynamic_flag_spec='-Bexport'
   9087       ;;
   9088 
   9089     sysv4*MP*)
   9090       if test -d /usr/nec; then
   9091 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9092 	hardcode_shlibpath_var=no
   9093 	runpath_var=LD_RUN_PATH
   9094 	hardcode_runpath_var=yes
   9095 	ld_shlibs=yes
   9096       fi
   9097       ;;
   9098 
   9099     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9100       no_undefined_flag='${wl}-z,text'
   9101       archive_cmds_need_lc=no
   9102       hardcode_shlibpath_var=no
   9103       runpath_var='LD_RUN_PATH'
   9104 
   9105       if test "$GCC" = yes; then
   9106 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9107 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9108       else
   9109 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9110 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9111       fi
   9112       ;;
   9113 
   9114     sysv5* | sco3.2v5* | sco5v6*)
   9115       # Note: We can NOT use -z defs as we might desire, because we do not
   9116       # link with -lc, and that would cause any symbols used from libc to
   9117       # always be unresolved, which means just about no library would
   9118       # ever link correctly.  If we're not using GNU ld we use -z text
   9119       # though, which does catch some bad symbols but isn't as heavy-handed
   9120       # as -z defs.
   9121       no_undefined_flag='${wl}-z,text'
   9122       allow_undefined_flag='${wl}-z,nodefs'
   9123       archive_cmds_need_lc=no
   9124       hardcode_shlibpath_var=no
   9125       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9126       hardcode_libdir_separator=':'
   9127       link_all_deplibs=yes
   9128       export_dynamic_flag_spec='${wl}-Bexport'
   9129       runpath_var='LD_RUN_PATH'
   9130 
   9131       if test "$GCC" = yes; then
   9132 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9133 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9134       else
   9135 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9136 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9137       fi
   9138       ;;
   9139 
   9140     uts4*)
   9141       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9142       hardcode_libdir_flag_spec='-L$libdir'
   9143       hardcode_shlibpath_var=no
   9144       ;;
   9145 
   9146     *)
   9147       ld_shlibs=no
   9148       ;;
   9149     esac
   9150 
   9151     if test x$host_vendor = xsni; then
   9152       case $host in
   9153       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9154 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9155 	;;
   9156       esac
   9157     fi
   9158   fi
   9159 
   9160 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9161 $as_echo "$ld_shlibs" >&6; }
   9162 test "$ld_shlibs" = no && can_build_shared=no
   9163 
   9164 with_gnu_ld=$with_gnu_ld
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 #
   9181 # Do we need to explicitly link libc?
   9182 #
   9183 case "x$archive_cmds_need_lc" in
   9184 x|xyes)
   9185   # Assume -lc should be added
   9186   archive_cmds_need_lc=yes
   9187 
   9188   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9189     case $archive_cmds in
   9190     *'~'*)
   9191       # FIXME: we may have to deal with multi-command sequences.
   9192       ;;
   9193     '$CC '*)
   9194       # Test whether the compiler implicitly links with -lc since on some
   9195       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9196       # to ld, don't add -lc before -lgcc.
   9197       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9198 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9199       $RM conftest*
   9200       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9201 
   9202       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9203   (eval $ac_compile) 2>&5
   9204   ac_status=$?
   9205   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9206   (exit $ac_status); } 2>conftest.err; then
   9207         soname=conftest
   9208         lib=conftest
   9209         libobjs=conftest.$ac_objext
   9210         deplibs=
   9211         wl=$lt_prog_compiler_wl
   9212 	pic_flag=$lt_prog_compiler_pic
   9213         compiler_flags=-v
   9214         linker_flags=-v
   9215         verstring=
   9216         output_objdir=.
   9217         libname=conftest
   9218         lt_save_allow_undefined_flag=$allow_undefined_flag
   9219         allow_undefined_flag=
   9220         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9221   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9222   ac_status=$?
   9223   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9224   (exit $ac_status); }
   9225         then
   9226 	  archive_cmds_need_lc=no
   9227         else
   9228 	  archive_cmds_need_lc=yes
   9229         fi
   9230         allow_undefined_flag=$lt_save_allow_undefined_flag
   9231       else
   9232         cat conftest.err 1>&5
   9233       fi
   9234       $RM conftest*
   9235       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9236 $as_echo "$archive_cmds_need_lc" >&6; }
   9237       ;;
   9238     esac
   9239   fi
   9240   ;;
   9241 esac
   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 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9400 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9401 
   9402 if test "$GCC" = yes; then
   9403   case $host_os in
   9404     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9405     *) lt_awk_arg="/^libraries:/" ;;
   9406   esac
   9407   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9408   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9409     # if the path contains ";" then we assume it to be the separator
   9410     # otherwise default to the standard path separator (i.e. ":") - it is
   9411     # assumed that no part of a normal pathname contains ";" but that should
   9412     # okay in the real world where ";" in dirpaths is itself problematic.
   9413     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9414   else
   9415     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9416   fi
   9417   # Ok, now we have the path, separated by spaces, we can step through it
   9418   # and add multilib dir if necessary.
   9419   lt_tmp_lt_search_path_spec=
   9420   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9421   for lt_sys_path in $lt_search_path_spec; do
   9422     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9423       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9424     else
   9425       test -d "$lt_sys_path" && \
   9426 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9427     fi
   9428   done
   9429   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9430 BEGIN {RS=" "; FS="/|\n";} {
   9431   lt_foo="";
   9432   lt_count=0;
   9433   for (lt_i = NF; lt_i > 0; lt_i--) {
   9434     if ($lt_i != "" && $lt_i != ".") {
   9435       if ($lt_i == "..") {
   9436         lt_count++;
   9437       } else {
   9438         if (lt_count == 0) {
   9439           lt_foo="/" $lt_i lt_foo;
   9440         } else {
   9441           lt_count--;
   9442         }
   9443       }
   9444     }
   9445   }
   9446   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9447   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9448 }'`
   9449   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9450 else
   9451   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9452 fi
   9453 library_names_spec=
   9454 libname_spec='lib$name'
   9455 soname_spec=
   9456 shrext_cmds=".so"
   9457 postinstall_cmds=
   9458 postuninstall_cmds=
   9459 finish_cmds=
   9460 finish_eval=
   9461 shlibpath_var=
   9462 shlibpath_overrides_runpath=unknown
   9463 version_type=none
   9464 dynamic_linker="$host_os ld.so"
   9465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9466 need_lib_prefix=unknown
   9467 hardcode_into_libs=no
   9468 
   9469 # when you set need_version to no, make sure it does not cause -set_version
   9470 # flags to be left without arguments
   9471 need_version=unknown
   9472 
   9473 case $host_os in
   9474 aix3*)
   9475   version_type=linux
   9476   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9477   shlibpath_var=LIBPATH
   9478 
   9479   # AIX 3 has no versioning support, so we append a major version to the name.
   9480   soname_spec='${libname}${release}${shared_ext}$major'
   9481   ;;
   9482 
   9483 aix[4-9]*)
   9484   version_type=linux
   9485   need_lib_prefix=no
   9486   need_version=no
   9487   hardcode_into_libs=yes
   9488   if test "$host_cpu" = ia64; then
   9489     # AIX 5 supports IA64
   9490     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9491     shlibpath_var=LD_LIBRARY_PATH
   9492   else
   9493     # With GCC up to 2.95.x, collect2 would create an import file
   9494     # for dependence libraries.  The import file would start with
   9495     # the line `#! .'.  This would cause the generated library to
   9496     # depend on `.', always an invalid library.  This was fixed in
   9497     # development snapshots of GCC prior to 3.0.
   9498     case $host_os in
   9499       aix4 | aix4.[01] | aix4.[01].*)
   9500       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9501 	   echo ' yes '
   9502 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9503 	:
   9504       else
   9505 	can_build_shared=no
   9506       fi
   9507       ;;
   9508     esac
   9509     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9510     # soname into executable. Probably we can add versioning support to
   9511     # collect2, so additional links can be useful in future.
   9512     if test "$aix_use_runtimelinking" = yes; then
   9513       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9514       # instead of lib<name>.a to let people know that these are not
   9515       # typical AIX shared libraries.
   9516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9517     else
   9518       # We preserve .a as extension for shared libraries through AIX4.2
   9519       # and later when we are not doing run time linking.
   9520       library_names_spec='${libname}${release}.a $libname.a'
   9521       soname_spec='${libname}${release}${shared_ext}$major'
   9522     fi
   9523     shlibpath_var=LIBPATH
   9524   fi
   9525   ;;
   9526 
   9527 amigaos*)
   9528   case $host_cpu in
   9529   powerpc)
   9530     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9531     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9532     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9533     ;;
   9534   m68k)
   9535     library_names_spec='$libname.ixlibrary $libname.a'
   9536     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9537     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'
   9538     ;;
   9539   esac
   9540   ;;
   9541 
   9542 beos*)
   9543   library_names_spec='${libname}${shared_ext}'
   9544   dynamic_linker="$host_os ld.so"
   9545   shlibpath_var=LIBRARY_PATH
   9546   ;;
   9547 
   9548 bsdi[45]*)
   9549   version_type=linux
   9550   need_version=no
   9551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9552   soname_spec='${libname}${release}${shared_ext}$major'
   9553   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9554   shlibpath_var=LD_LIBRARY_PATH
   9555   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9556   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9557   # the default ld.so.conf also contains /usr/contrib/lib and
   9558   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9559   # libtool to hard-code these into programs
   9560   ;;
   9561 
   9562 cygwin* | mingw* | pw32* | cegcc*)
   9563   version_type=windows
   9564   shrext_cmds=".dll"
   9565   need_version=no
   9566   need_lib_prefix=no
   9567 
   9568   case $GCC,$host_os in
   9569   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9570     library_names_spec='$libname.dll.a'
   9571     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9572     postinstall_cmds='base_file=`basename \${file}`~
   9573       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9574       dldir=$destdir/`dirname \$dlpath`~
   9575       test -d \$dldir || mkdir -p \$dldir~
   9576       $install_prog $dir/$dlname \$dldir/$dlname~
   9577       chmod a+x \$dldir/$dlname~
   9578       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9579         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9580       fi'
   9581     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9582       dlpath=$dir/\$dldll~
   9583        $RM \$dlpath'
   9584     shlibpath_overrides_runpath=yes
   9585 
   9586     case $host_os in
   9587     cygwin*)
   9588       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9589       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9590       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9591       ;;
   9592     mingw* | cegcc*)
   9593       # MinGW DLLs use traditional 'lib' prefix
   9594       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9595       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9596       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9597         # It is most probably a Windows format PATH printed by
   9598         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9599         # path with ; separators, and with drive letters. We can handle the
   9600         # drive letters (cygwin fileutils understands them), so leave them,
   9601         # especially as we might pass files found there to a mingw objdump,
   9602         # which wouldn't understand a cygwinified path. Ahh.
   9603         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9604       else
   9605         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9606       fi
   9607       ;;
   9608     pw32*)
   9609       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9610       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9611       ;;
   9612     esac
   9613     ;;
   9614 
   9615   *)
   9616     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9617     ;;
   9618   esac
   9619   dynamic_linker='Win32 ld.exe'
   9620   # FIXME: first we should search . and the directory the executable is in
   9621   shlibpath_var=PATH
   9622   ;;
   9623 
   9624 darwin* | rhapsody*)
   9625   dynamic_linker="$host_os dyld"
   9626   version_type=darwin
   9627   need_lib_prefix=no
   9628   need_version=no
   9629   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9630   soname_spec='${libname}${release}${major}$shared_ext'
   9631   shlibpath_overrides_runpath=yes
   9632   shlibpath_var=DYLD_LIBRARY_PATH
   9633   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9634 
   9635   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9636   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9637   ;;
   9638 
   9639 dgux*)
   9640   version_type=linux
   9641   need_lib_prefix=no
   9642   need_version=no
   9643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9644   soname_spec='${libname}${release}${shared_ext}$major'
   9645   shlibpath_var=LD_LIBRARY_PATH
   9646   ;;
   9647 
   9648 freebsd1*)
   9649   dynamic_linker=no
   9650   ;;
   9651 
   9652 freebsd* | dragonfly*)
   9653   # DragonFly does not have aout.  When/if they implement a new
   9654   # versioning mechanism, adjust this.
   9655   if test -x /usr/bin/objformat; then
   9656     objformat=`/usr/bin/objformat`
   9657   else
   9658     case $host_os in
   9659     freebsd[123]*) objformat=aout ;;
   9660     *) objformat=elf ;;
   9661     esac
   9662   fi
   9663   version_type=freebsd-$objformat
   9664   case $version_type in
   9665     freebsd-elf*)
   9666       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9667       need_version=no
   9668       need_lib_prefix=no
   9669       ;;
   9670     freebsd-*)
   9671       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9672       need_version=yes
   9673       ;;
   9674   esac
   9675   shlibpath_var=LD_LIBRARY_PATH
   9676   case $host_os in
   9677   freebsd2*)
   9678     shlibpath_overrides_runpath=yes
   9679     ;;
   9680   freebsd3.[01]* | freebsdelf3.[01]*)
   9681     shlibpath_overrides_runpath=yes
   9682     hardcode_into_libs=yes
   9683     ;;
   9684   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9685   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9686     shlibpath_overrides_runpath=no
   9687     hardcode_into_libs=yes
   9688     ;;
   9689   *) # from 4.6 on, and DragonFly
   9690     shlibpath_overrides_runpath=yes
   9691     hardcode_into_libs=yes
   9692     ;;
   9693   esac
   9694   ;;
   9695 
   9696 gnu*)
   9697   version_type=linux
   9698   need_lib_prefix=no
   9699   need_version=no
   9700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9701   soname_spec='${libname}${release}${shared_ext}$major'
   9702   shlibpath_var=LD_LIBRARY_PATH
   9703   hardcode_into_libs=yes
   9704   ;;
   9705 
   9706 hpux9* | hpux10* | hpux11*)
   9707   # Give a soname corresponding to the major version so that dld.sl refuses to
   9708   # link against other versions.
   9709   version_type=sunos
   9710   need_lib_prefix=no
   9711   need_version=no
   9712   case $host_cpu in
   9713   ia64*)
   9714     shrext_cmds='.so'
   9715     hardcode_into_libs=yes
   9716     dynamic_linker="$host_os dld.so"
   9717     shlibpath_var=LD_LIBRARY_PATH
   9718     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9719     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9720     soname_spec='${libname}${release}${shared_ext}$major'
   9721     if test "X$HPUX_IA64_MODE" = X32; then
   9722       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9723     else
   9724       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9725     fi
   9726     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9727     ;;
   9728   hppa*64*)
   9729     shrext_cmds='.sl'
   9730     hardcode_into_libs=yes
   9731     dynamic_linker="$host_os dld.sl"
   9732     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9733     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9734     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9735     soname_spec='${libname}${release}${shared_ext}$major'
   9736     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9737     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9738     ;;
   9739   *)
   9740     shrext_cmds='.sl'
   9741     dynamic_linker="$host_os dld.sl"
   9742     shlibpath_var=SHLIB_PATH
   9743     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9745     soname_spec='${libname}${release}${shared_ext}$major'
   9746     ;;
   9747   esac
   9748   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9749   postinstall_cmds='chmod 555 $lib'
   9750   ;;
   9751 
   9752 interix[3-9]*)
   9753   version_type=linux
   9754   need_lib_prefix=no
   9755   need_version=no
   9756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9757   soname_spec='${libname}${release}${shared_ext}$major'
   9758   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9759   shlibpath_var=LD_LIBRARY_PATH
   9760   shlibpath_overrides_runpath=no
   9761   hardcode_into_libs=yes
   9762   ;;
   9763 
   9764 irix5* | irix6* | nonstopux*)
   9765   case $host_os in
   9766     nonstopux*) version_type=nonstopux ;;
   9767     *)
   9768 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9769 		version_type=linux
   9770 	else
   9771 		version_type=irix
   9772 	fi ;;
   9773   esac
   9774   need_lib_prefix=no
   9775   need_version=no
   9776   soname_spec='${libname}${release}${shared_ext}$major'
   9777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9778   case $host_os in
   9779   irix5* | nonstopux*)
   9780     libsuff= shlibsuff=
   9781     ;;
   9782   *)
   9783     case $LD in # libtool.m4 will add one of these switches to LD
   9784     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9785       libsuff= shlibsuff= libmagic=32-bit;;
   9786     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9787       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9788     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9789       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9790     *) libsuff= shlibsuff= libmagic=never-match;;
   9791     esac
   9792     ;;
   9793   esac
   9794   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9795   shlibpath_overrides_runpath=no
   9796   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9797   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9798   hardcode_into_libs=yes
   9799   ;;
   9800 
   9801 # No shared lib support for Linux oldld, aout, or coff.
   9802 linux*oldld* | linux*aout* | linux*coff*)
   9803   dynamic_linker=no
   9804   ;;
   9805 
   9806 # This must be Linux ELF.
   9807 linux* | k*bsd*-gnu)
   9808   version_type=linux
   9809   need_lib_prefix=no
   9810   need_version=no
   9811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9812   soname_spec='${libname}${release}${shared_ext}$major'
   9813   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9814   shlibpath_var=LD_LIBRARY_PATH
   9815   shlibpath_overrides_runpath=no
   9816   # Some binutils ld are patched to set DT_RUNPATH
   9817   save_LDFLAGS=$LDFLAGS
   9818   save_libdir=$libdir
   9819   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9820        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9821   cat >conftest.$ac_ext <<_ACEOF
   9822 /* confdefs.h.  */
   9823 _ACEOF
   9824 cat confdefs.h >>conftest.$ac_ext
   9825 cat >>conftest.$ac_ext <<_ACEOF
   9826 /* end confdefs.h.  */
   9827 
   9828 int
   9829 main ()
   9830 {
   9831 
   9832   ;
   9833   return 0;
   9834 }
   9835 _ACEOF
   9836 rm -f conftest.$ac_objext conftest$ac_exeext
   9837 if { (ac_try="$ac_link"
   9838 case "(($ac_try" in
   9839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9840   *) ac_try_echo=$ac_try;;
   9841 esac
   9842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9843 $as_echo "$ac_try_echo") >&5
   9844   (eval "$ac_link") 2>conftest.er1
   9845   ac_status=$?
   9846   grep -v '^ *+' conftest.er1 >conftest.err
   9847   rm -f conftest.er1
   9848   cat conftest.err >&5
   9849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9850   (exit $ac_status); } && {
   9851 	 test -z "$ac_c_werror_flag" ||
   9852 	 test ! -s conftest.err
   9853        } && test -s conftest$ac_exeext && {
   9854 	 test "$cross_compiling" = yes ||
   9855 	 $as_test_x conftest$ac_exeext
   9856        }; then
   9857   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9858   shlibpath_overrides_runpath=yes
   9859 fi
   9860 
   9861 else
   9862   $as_echo "$as_me: failed program was:" >&5
   9863 sed 's/^/| /' conftest.$ac_ext >&5
   9864 
   9865 
   9866 fi
   9867 
   9868 rm -rf conftest.dSYM
   9869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9870       conftest$ac_exeext conftest.$ac_ext
   9871   LDFLAGS=$save_LDFLAGS
   9872   libdir=$save_libdir
   9873 
   9874   # This implies no fast_install, which is unacceptable.
   9875   # Some rework will be needed to allow for fast_install
   9876   # before this can be enabled.
   9877   hardcode_into_libs=yes
   9878 
   9879   # Add ABI-specific directories to the system library path.
   9880   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9881 
   9882   # Append ld.so.conf contents to the search path
   9883   if test -f /etc/ld.so.conf; then
   9884     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' ' '`
   9885     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9886   fi
   9887 
   9888   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9889   # powerpc, because MkLinux only supported shared libraries with the
   9890   # GNU dynamic linker.  Since this was broken with cross compilers,
   9891   # most powerpc-linux boxes support dynamic linking these days and
   9892   # people can always --disable-shared, the test was removed, and we
   9893   # assume the GNU/Linux dynamic linker is in use.
   9894   dynamic_linker='GNU/Linux ld.so'
   9895   ;;
   9896 
   9897 netbsd*)
   9898   version_type=sunos
   9899   need_lib_prefix=no
   9900   need_version=no
   9901   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9902     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9903     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9904     dynamic_linker='NetBSD (a.out) ld.so'
   9905   else
   9906     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9907     soname_spec='${libname}${release}${shared_ext}$major'
   9908     dynamic_linker='NetBSD ld.elf_so'
   9909   fi
   9910   shlibpath_var=LD_LIBRARY_PATH
   9911   shlibpath_overrides_runpath=yes
   9912   hardcode_into_libs=yes
   9913   ;;
   9914 
   9915 newsos6)
   9916   version_type=linux
   9917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9918   shlibpath_var=LD_LIBRARY_PATH
   9919   shlibpath_overrides_runpath=yes
   9920   ;;
   9921 
   9922 *nto* | *qnx*)
   9923   version_type=qnx
   9924   need_lib_prefix=no
   9925   need_version=no
   9926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9927   soname_spec='${libname}${release}${shared_ext}$major'
   9928   shlibpath_var=LD_LIBRARY_PATH
   9929   shlibpath_overrides_runpath=no
   9930   hardcode_into_libs=yes
   9931   dynamic_linker='ldqnx.so'
   9932   ;;
   9933 
   9934 openbsd*)
   9935   version_type=sunos
   9936   sys_lib_dlsearch_path_spec="/usr/lib"
   9937   need_lib_prefix=no
   9938   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9939   case $host_os in
   9940     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9941     *)				need_version=no  ;;
   9942   esac
   9943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9944   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9945   shlibpath_var=LD_LIBRARY_PATH
   9946   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9947     case $host_os in
   9948       openbsd2.[89] | openbsd2.[89].*)
   9949 	shlibpath_overrides_runpath=no
   9950 	;;
   9951       *)
   9952 	shlibpath_overrides_runpath=yes
   9953 	;;
   9954       esac
   9955   else
   9956     shlibpath_overrides_runpath=yes
   9957   fi
   9958   ;;
   9959 
   9960 os2*)
   9961   libname_spec='$name'
   9962   shrext_cmds=".dll"
   9963   need_lib_prefix=no
   9964   library_names_spec='$libname${shared_ext} $libname.a'
   9965   dynamic_linker='OS/2 ld.exe'
   9966   shlibpath_var=LIBPATH
   9967   ;;
   9968 
   9969 osf3* | osf4* | osf5*)
   9970   version_type=osf
   9971   need_lib_prefix=no
   9972   need_version=no
   9973   soname_spec='${libname}${release}${shared_ext}$major'
   9974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9975   shlibpath_var=LD_LIBRARY_PATH
   9976   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9977   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9978   ;;
   9979 
   9980 rdos*)
   9981   dynamic_linker=no
   9982   ;;
   9983 
   9984 solaris*)
   9985   version_type=linux
   9986   need_lib_prefix=no
   9987   need_version=no
   9988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9989   soname_spec='${libname}${release}${shared_ext}$major'
   9990   shlibpath_var=LD_LIBRARY_PATH
   9991   shlibpath_overrides_runpath=yes
   9992   hardcode_into_libs=yes
   9993   # ldd complains unless libraries are executable
   9994   postinstall_cmds='chmod +x $lib'
   9995   ;;
   9996 
   9997 sunos4*)
   9998   version_type=sunos
   9999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10000   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10001   shlibpath_var=LD_LIBRARY_PATH
   10002   shlibpath_overrides_runpath=yes
   10003   if test "$with_gnu_ld" = yes; then
   10004     need_lib_prefix=no
   10005   fi
   10006   need_version=yes
   10007   ;;
   10008 
   10009 sysv4 | sysv4.3*)
   10010   version_type=linux
   10011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10012   soname_spec='${libname}${release}${shared_ext}$major'
   10013   shlibpath_var=LD_LIBRARY_PATH
   10014   case $host_vendor in
   10015     sni)
   10016       shlibpath_overrides_runpath=no
   10017       need_lib_prefix=no
   10018       runpath_var=LD_RUN_PATH
   10019       ;;
   10020     siemens)
   10021       need_lib_prefix=no
   10022       ;;
   10023     motorola)
   10024       need_lib_prefix=no
   10025       need_version=no
   10026       shlibpath_overrides_runpath=no
   10027       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10028       ;;
   10029   esac
   10030   ;;
   10031 
   10032 sysv4*MP*)
   10033   if test -d /usr/nec ;then
   10034     version_type=linux
   10035     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10036     soname_spec='$libname${shared_ext}.$major'
   10037     shlibpath_var=LD_LIBRARY_PATH
   10038   fi
   10039   ;;
   10040 
   10041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10042   version_type=freebsd-elf
   10043   need_lib_prefix=no
   10044   need_version=no
   10045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10046   soname_spec='${libname}${release}${shared_ext}$major'
   10047   shlibpath_var=LD_LIBRARY_PATH
   10048   shlibpath_overrides_runpath=yes
   10049   hardcode_into_libs=yes
   10050   if test "$with_gnu_ld" = yes; then
   10051     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10052   else
   10053     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10054     case $host_os in
   10055       sco3.2v5*)
   10056         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10057 	;;
   10058     esac
   10059   fi
   10060   sys_lib_dlsearch_path_spec='/usr/lib'
   10061   ;;
   10062 
   10063 tpf*)
   10064   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10065   version_type=linux
   10066   need_lib_prefix=no
   10067   need_version=no
   10068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10069   shlibpath_var=LD_LIBRARY_PATH
   10070   shlibpath_overrides_runpath=no
   10071   hardcode_into_libs=yes
   10072   ;;
   10073 
   10074 uts4*)
   10075   version_type=linux
   10076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10077   soname_spec='${libname}${release}${shared_ext}$major'
   10078   shlibpath_var=LD_LIBRARY_PATH
   10079   ;;
   10080 
   10081 *)
   10082   dynamic_linker=no
   10083   ;;
   10084 esac
   10085 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10086 $as_echo "$dynamic_linker" >&6; }
   10087 test "$dynamic_linker" = no && can_build_shared=no
   10088 
   10089 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10090 if test "$GCC" = yes; then
   10091   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10092 fi
   10093 
   10094 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10095   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10096 fi
   10097 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10098   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10099 fi
   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 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10188 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10189 hardcode_action=
   10190 if test -n "$hardcode_libdir_flag_spec" ||
   10191    test -n "$runpath_var" ||
   10192    test "X$hardcode_automatic" = "Xyes" ; then
   10193 
   10194   # We can hardcode non-existent directories.
   10195   if test "$hardcode_direct" != no &&
   10196      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10197      # have to relink, otherwise we might link with an installed library
   10198      # when we should be linking with a yet-to-be-installed one
   10199      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10200      test "$hardcode_minus_L" != no; then
   10201     # Linking always hardcodes the temporary library directory.
   10202     hardcode_action=relink
   10203   else
   10204     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10205     hardcode_action=immediate
   10206   fi
   10207 else
   10208   # We cannot hardcode anything, or else we can only hardcode existing
   10209   # directories.
   10210   hardcode_action=unsupported
   10211 fi
   10212 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10213 $as_echo "$hardcode_action" >&6; }
   10214 
   10215 if test "$hardcode_action" = relink ||
   10216    test "$inherit_rpath" = yes; then
   10217   # Fast installation is not supported
   10218   enable_fast_install=no
   10219 elif test "$shlibpath_overrides_runpath" = yes ||
   10220      test "$enable_shared" = no; then
   10221   # Fast installation is not necessary
   10222   enable_fast_install=needless
   10223 fi
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230   if test "x$enable_dlopen" != xyes; then
   10231   enable_dlopen=unknown
   10232   enable_dlopen_self=unknown
   10233   enable_dlopen_self_static=unknown
   10234 else
   10235   lt_cv_dlopen=no
   10236   lt_cv_dlopen_libs=
   10237 
   10238   case $host_os in
   10239   beos*)
   10240     lt_cv_dlopen="load_add_on"
   10241     lt_cv_dlopen_libs=
   10242     lt_cv_dlopen_self=yes
   10243     ;;
   10244 
   10245   mingw* | pw32* | cegcc*)
   10246     lt_cv_dlopen="LoadLibrary"
   10247     lt_cv_dlopen_libs=
   10248     ;;
   10249 
   10250   cygwin*)
   10251     lt_cv_dlopen="dlopen"
   10252     lt_cv_dlopen_libs=
   10253     ;;
   10254 
   10255   darwin*)
   10256   # if libdl is installed we need to link against it
   10257     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10258 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10259 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   ac_check_lib_save_LIBS=$LIBS
   10263 LIBS="-ldl  $LIBS"
   10264 cat >conftest.$ac_ext <<_ACEOF
   10265 /* confdefs.h.  */
   10266 _ACEOF
   10267 cat confdefs.h >>conftest.$ac_ext
   10268 cat >>conftest.$ac_ext <<_ACEOF
   10269 /* end confdefs.h.  */
   10270 
   10271 /* Override any GCC internal prototype to avoid an error.
   10272    Use char because int might match the return type of a GCC
   10273    builtin and then its argument prototype would still apply.  */
   10274 #ifdef __cplusplus
   10275 extern "C"
   10276 #endif
   10277 char dlopen ();
   10278 int
   10279 main ()
   10280 {
   10281 return dlopen ();
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 rm -f conftest.$ac_objext conftest$ac_exeext
   10287 if { (ac_try="$ac_link"
   10288 case "(($ac_try" in
   10289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10290   *) ac_try_echo=$ac_try;;
   10291 esac
   10292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10293 $as_echo "$ac_try_echo") >&5
   10294   (eval "$ac_link") 2>conftest.er1
   10295   ac_status=$?
   10296   grep -v '^ *+' conftest.er1 >conftest.err
   10297   rm -f conftest.er1
   10298   cat conftest.err >&5
   10299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10300   (exit $ac_status); } && {
   10301 	 test -z "$ac_c_werror_flag" ||
   10302 	 test ! -s conftest.err
   10303        } && test -s conftest$ac_exeext && {
   10304 	 test "$cross_compiling" = yes ||
   10305 	 $as_test_x conftest$ac_exeext
   10306        }; then
   10307   ac_cv_lib_dl_dlopen=yes
   10308 else
   10309   $as_echo "$as_me: failed program was:" >&5
   10310 sed 's/^/| /' conftest.$ac_ext >&5
   10311 
   10312 	ac_cv_lib_dl_dlopen=no
   10313 fi
   10314 
   10315 rm -rf conftest.dSYM
   10316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10317       conftest$ac_exeext conftest.$ac_ext
   10318 LIBS=$ac_check_lib_save_LIBS
   10319 fi
   10320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10321 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10322 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10323   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10324 else
   10325 
   10326     lt_cv_dlopen="dyld"
   10327     lt_cv_dlopen_libs=
   10328     lt_cv_dlopen_self=yes
   10329 
   10330 fi
   10331 
   10332     ;;
   10333 
   10334   *)
   10335     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10336 $as_echo_n "checking for shl_load... " >&6; }
   10337 if test "${ac_cv_func_shl_load+set}" = set; then
   10338   $as_echo_n "(cached) " >&6
   10339 else
   10340   cat >conftest.$ac_ext <<_ACEOF
   10341 /* confdefs.h.  */
   10342 _ACEOF
   10343 cat confdefs.h >>conftest.$ac_ext
   10344 cat >>conftest.$ac_ext <<_ACEOF
   10345 /* end confdefs.h.  */
   10346 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10348 #define shl_load innocuous_shl_load
   10349 
   10350 /* System header to define __stub macros and hopefully few prototypes,
   10351     which can conflict with char shl_load (); below.
   10352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10353     <limits.h> exists even on freestanding compilers.  */
   10354 
   10355 #ifdef __STDC__
   10356 # include <limits.h>
   10357 #else
   10358 # include <assert.h>
   10359 #endif
   10360 
   10361 #undef shl_load
   10362 
   10363 /* Override any GCC internal prototype to avoid an error.
   10364    Use char because int might match the return type of a GCC
   10365    builtin and then its argument prototype would still apply.  */
   10366 #ifdef __cplusplus
   10367 extern "C"
   10368 #endif
   10369 char shl_load ();
   10370 /* The GNU C library defines this for functions which it implements
   10371     to always fail with ENOSYS.  Some functions are actually named
   10372     something starting with __ and the normal name is an alias.  */
   10373 #if defined __stub_shl_load || defined __stub___shl_load
   10374 choke me
   10375 #endif
   10376 
   10377 int
   10378 main ()
   10379 {
   10380 return shl_load ();
   10381   ;
   10382   return 0;
   10383 }
   10384 _ACEOF
   10385 rm -f conftest.$ac_objext conftest$ac_exeext
   10386 if { (ac_try="$ac_link"
   10387 case "(($ac_try" in
   10388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10389   *) ac_try_echo=$ac_try;;
   10390 esac
   10391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10392 $as_echo "$ac_try_echo") >&5
   10393   (eval "$ac_link") 2>conftest.er1
   10394   ac_status=$?
   10395   grep -v '^ *+' conftest.er1 >conftest.err
   10396   rm -f conftest.er1
   10397   cat conftest.err >&5
   10398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10399   (exit $ac_status); } && {
   10400 	 test -z "$ac_c_werror_flag" ||
   10401 	 test ! -s conftest.err
   10402        } && test -s conftest$ac_exeext && {
   10403 	 test "$cross_compiling" = yes ||
   10404 	 $as_test_x conftest$ac_exeext
   10405        }; then
   10406   ac_cv_func_shl_load=yes
   10407 else
   10408   $as_echo "$as_me: failed program was:" >&5
   10409 sed 's/^/| /' conftest.$ac_ext >&5
   10410 
   10411 	ac_cv_func_shl_load=no
   10412 fi
   10413 
   10414 rm -rf conftest.dSYM
   10415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10416       conftest$ac_exeext conftest.$ac_ext
   10417 fi
   10418 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10419 $as_echo "$ac_cv_func_shl_load" >&6; }
   10420 if test "x$ac_cv_func_shl_load" = x""yes; then
   10421   lt_cv_dlopen="shl_load"
   10422 else
   10423   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10424 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10425 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   ac_check_lib_save_LIBS=$LIBS
   10429 LIBS="-ldld  $LIBS"
   10430 cat >conftest.$ac_ext <<_ACEOF
   10431 /* confdefs.h.  */
   10432 _ACEOF
   10433 cat confdefs.h >>conftest.$ac_ext
   10434 cat >>conftest.$ac_ext <<_ACEOF
   10435 /* end confdefs.h.  */
   10436 
   10437 /* Override any GCC internal prototype to avoid an error.
   10438    Use char because int might match the return type of a GCC
   10439    builtin and then its argument prototype would still apply.  */
   10440 #ifdef __cplusplus
   10441 extern "C"
   10442 #endif
   10443 char shl_load ();
   10444 int
   10445 main ()
   10446 {
   10447 return shl_load ();
   10448   ;
   10449   return 0;
   10450 }
   10451 _ACEOF
   10452 rm -f conftest.$ac_objext conftest$ac_exeext
   10453 if { (ac_try="$ac_link"
   10454 case "(($ac_try" in
   10455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10456   *) ac_try_echo=$ac_try;;
   10457 esac
   10458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10459 $as_echo "$ac_try_echo") >&5
   10460   (eval "$ac_link") 2>conftest.er1
   10461   ac_status=$?
   10462   grep -v '^ *+' conftest.er1 >conftest.err
   10463   rm -f conftest.er1
   10464   cat conftest.err >&5
   10465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10466   (exit $ac_status); } && {
   10467 	 test -z "$ac_c_werror_flag" ||
   10468 	 test ! -s conftest.err
   10469        } && test -s conftest$ac_exeext && {
   10470 	 test "$cross_compiling" = yes ||
   10471 	 $as_test_x conftest$ac_exeext
   10472        }; then
   10473   ac_cv_lib_dld_shl_load=yes
   10474 else
   10475   $as_echo "$as_me: failed program was:" >&5
   10476 sed 's/^/| /' conftest.$ac_ext >&5
   10477 
   10478 	ac_cv_lib_dld_shl_load=no
   10479 fi
   10480 
   10481 rm -rf conftest.dSYM
   10482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10483       conftest$ac_exeext conftest.$ac_ext
   10484 LIBS=$ac_check_lib_save_LIBS
   10485 fi
   10486 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10487 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10488 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10489   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10490 else
   10491   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10492 $as_echo_n "checking for dlopen... " >&6; }
   10493 if test "${ac_cv_func_dlopen+set}" = set; then
   10494   $as_echo_n "(cached) " >&6
   10495 else
   10496   cat >conftest.$ac_ext <<_ACEOF
   10497 /* confdefs.h.  */
   10498 _ACEOF
   10499 cat confdefs.h >>conftest.$ac_ext
   10500 cat >>conftest.$ac_ext <<_ACEOF
   10501 /* end confdefs.h.  */
   10502 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10504 #define dlopen innocuous_dlopen
   10505 
   10506 /* System header to define __stub macros and hopefully few prototypes,
   10507     which can conflict with char dlopen (); below.
   10508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10509     <limits.h> exists even on freestanding compilers.  */
   10510 
   10511 #ifdef __STDC__
   10512 # include <limits.h>
   10513 #else
   10514 # include <assert.h>
   10515 #endif
   10516 
   10517 #undef dlopen
   10518 
   10519 /* Override any GCC internal prototype to avoid an error.
   10520    Use char because int might match the return type of a GCC
   10521    builtin and then its argument prototype would still apply.  */
   10522 #ifdef __cplusplus
   10523 extern "C"
   10524 #endif
   10525 char dlopen ();
   10526 /* The GNU C library defines this for functions which it implements
   10527     to always fail with ENOSYS.  Some functions are actually named
   10528     something starting with __ and the normal name is an alias.  */
   10529 #if defined __stub_dlopen || defined __stub___dlopen
   10530 choke me
   10531 #endif
   10532 
   10533 int
   10534 main ()
   10535 {
   10536 return dlopen ();
   10537   ;
   10538   return 0;
   10539 }
   10540 _ACEOF
   10541 rm -f conftest.$ac_objext conftest$ac_exeext
   10542 if { (ac_try="$ac_link"
   10543 case "(($ac_try" in
   10544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10545   *) ac_try_echo=$ac_try;;
   10546 esac
   10547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10548 $as_echo "$ac_try_echo") >&5
   10549   (eval "$ac_link") 2>conftest.er1
   10550   ac_status=$?
   10551   grep -v '^ *+' conftest.er1 >conftest.err
   10552   rm -f conftest.er1
   10553   cat conftest.err >&5
   10554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10555   (exit $ac_status); } && {
   10556 	 test -z "$ac_c_werror_flag" ||
   10557 	 test ! -s conftest.err
   10558        } && test -s conftest$ac_exeext && {
   10559 	 test "$cross_compiling" = yes ||
   10560 	 $as_test_x conftest$ac_exeext
   10561        }; then
   10562   ac_cv_func_dlopen=yes
   10563 else
   10564   $as_echo "$as_me: failed program was:" >&5
   10565 sed 's/^/| /' conftest.$ac_ext >&5
   10566 
   10567 	ac_cv_func_dlopen=no
   10568 fi
   10569 
   10570 rm -rf conftest.dSYM
   10571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10572       conftest$ac_exeext conftest.$ac_ext
   10573 fi
   10574 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10575 $as_echo "$ac_cv_func_dlopen" >&6; }
   10576 if test "x$ac_cv_func_dlopen" = x""yes; then
   10577   lt_cv_dlopen="dlopen"
   10578 else
   10579   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10580 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10581 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10582   $as_echo_n "(cached) " >&6
   10583 else
   10584   ac_check_lib_save_LIBS=$LIBS
   10585 LIBS="-ldl  $LIBS"
   10586 cat >conftest.$ac_ext <<_ACEOF
   10587 /* confdefs.h.  */
   10588 _ACEOF
   10589 cat confdefs.h >>conftest.$ac_ext
   10590 cat >>conftest.$ac_ext <<_ACEOF
   10591 /* end confdefs.h.  */
   10592 
   10593 /* Override any GCC internal prototype to avoid an error.
   10594    Use char because int might match the return type of a GCC
   10595    builtin and then its argument prototype would still apply.  */
   10596 #ifdef __cplusplus
   10597 extern "C"
   10598 #endif
   10599 char dlopen ();
   10600 int
   10601 main ()
   10602 {
   10603 return dlopen ();
   10604   ;
   10605   return 0;
   10606 }
   10607 _ACEOF
   10608 rm -f conftest.$ac_objext conftest$ac_exeext
   10609 if { (ac_try="$ac_link"
   10610 case "(($ac_try" in
   10611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10612   *) ac_try_echo=$ac_try;;
   10613 esac
   10614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10615 $as_echo "$ac_try_echo") >&5
   10616   (eval "$ac_link") 2>conftest.er1
   10617   ac_status=$?
   10618   grep -v '^ *+' conftest.er1 >conftest.err
   10619   rm -f conftest.er1
   10620   cat conftest.err >&5
   10621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10622   (exit $ac_status); } && {
   10623 	 test -z "$ac_c_werror_flag" ||
   10624 	 test ! -s conftest.err
   10625        } && test -s conftest$ac_exeext && {
   10626 	 test "$cross_compiling" = yes ||
   10627 	 $as_test_x conftest$ac_exeext
   10628        }; then
   10629   ac_cv_lib_dl_dlopen=yes
   10630 else
   10631   $as_echo "$as_me: failed program was:" >&5
   10632 sed 's/^/| /' conftest.$ac_ext >&5
   10633 
   10634 	ac_cv_lib_dl_dlopen=no
   10635 fi
   10636 
   10637 rm -rf conftest.dSYM
   10638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10639       conftest$ac_exeext conftest.$ac_ext
   10640 LIBS=$ac_check_lib_save_LIBS
   10641 fi
   10642 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10643 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10644 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10645   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10646 else
   10647   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10648 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10649 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10650   $as_echo_n "(cached) " >&6
   10651 else
   10652   ac_check_lib_save_LIBS=$LIBS
   10653 LIBS="-lsvld  $LIBS"
   10654 cat >conftest.$ac_ext <<_ACEOF
   10655 /* confdefs.h.  */
   10656 _ACEOF
   10657 cat confdefs.h >>conftest.$ac_ext
   10658 cat >>conftest.$ac_ext <<_ACEOF
   10659 /* end confdefs.h.  */
   10660 
   10661 /* Override any GCC internal prototype to avoid an error.
   10662    Use char because int might match the return type of a GCC
   10663    builtin and then its argument prototype would still apply.  */
   10664 #ifdef __cplusplus
   10665 extern "C"
   10666 #endif
   10667 char dlopen ();
   10668 int
   10669 main ()
   10670 {
   10671 return dlopen ();
   10672   ;
   10673   return 0;
   10674 }
   10675 _ACEOF
   10676 rm -f conftest.$ac_objext conftest$ac_exeext
   10677 if { (ac_try="$ac_link"
   10678 case "(($ac_try" in
   10679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10680   *) ac_try_echo=$ac_try;;
   10681 esac
   10682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10683 $as_echo "$ac_try_echo") >&5
   10684   (eval "$ac_link") 2>conftest.er1
   10685   ac_status=$?
   10686   grep -v '^ *+' conftest.er1 >conftest.err
   10687   rm -f conftest.er1
   10688   cat conftest.err >&5
   10689   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10690   (exit $ac_status); } && {
   10691 	 test -z "$ac_c_werror_flag" ||
   10692 	 test ! -s conftest.err
   10693        } && test -s conftest$ac_exeext && {
   10694 	 test "$cross_compiling" = yes ||
   10695 	 $as_test_x conftest$ac_exeext
   10696        }; then
   10697   ac_cv_lib_svld_dlopen=yes
   10698 else
   10699   $as_echo "$as_me: failed program was:" >&5
   10700 sed 's/^/| /' conftest.$ac_ext >&5
   10701 
   10702 	ac_cv_lib_svld_dlopen=no
   10703 fi
   10704 
   10705 rm -rf conftest.dSYM
   10706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10707       conftest$ac_exeext conftest.$ac_ext
   10708 LIBS=$ac_check_lib_save_LIBS
   10709 fi
   10710 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10711 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10712 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10713   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10714 else
   10715   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10716 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10717 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10718   $as_echo_n "(cached) " >&6
   10719 else
   10720   ac_check_lib_save_LIBS=$LIBS
   10721 LIBS="-ldld  $LIBS"
   10722 cat >conftest.$ac_ext <<_ACEOF
   10723 /* confdefs.h.  */
   10724 _ACEOF
   10725 cat confdefs.h >>conftest.$ac_ext
   10726 cat >>conftest.$ac_ext <<_ACEOF
   10727 /* end confdefs.h.  */
   10728 
   10729 /* Override any GCC internal prototype to avoid an error.
   10730    Use char because int might match the return type of a GCC
   10731    builtin and then its argument prototype would still apply.  */
   10732 #ifdef __cplusplus
   10733 extern "C"
   10734 #endif
   10735 char dld_link ();
   10736 int
   10737 main ()
   10738 {
   10739 return dld_link ();
   10740   ;
   10741   return 0;
   10742 }
   10743 _ACEOF
   10744 rm -f conftest.$ac_objext conftest$ac_exeext
   10745 if { (ac_try="$ac_link"
   10746 case "(($ac_try" in
   10747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10748   *) ac_try_echo=$ac_try;;
   10749 esac
   10750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10751 $as_echo "$ac_try_echo") >&5
   10752   (eval "$ac_link") 2>conftest.er1
   10753   ac_status=$?
   10754   grep -v '^ *+' conftest.er1 >conftest.err
   10755   rm -f conftest.er1
   10756   cat conftest.err >&5
   10757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10758   (exit $ac_status); } && {
   10759 	 test -z "$ac_c_werror_flag" ||
   10760 	 test ! -s conftest.err
   10761        } && test -s conftest$ac_exeext && {
   10762 	 test "$cross_compiling" = yes ||
   10763 	 $as_test_x conftest$ac_exeext
   10764        }; then
   10765   ac_cv_lib_dld_dld_link=yes
   10766 else
   10767   $as_echo "$as_me: failed program was:" >&5
   10768 sed 's/^/| /' conftest.$ac_ext >&5
   10769 
   10770 	ac_cv_lib_dld_dld_link=no
   10771 fi
   10772 
   10773 rm -rf conftest.dSYM
   10774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10775       conftest$ac_exeext conftest.$ac_ext
   10776 LIBS=$ac_check_lib_save_LIBS
   10777 fi
   10778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10779 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10780 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10781   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10782 fi
   10783 
   10784 
   10785 fi
   10786 
   10787 
   10788 fi
   10789 
   10790 
   10791 fi
   10792 
   10793 
   10794 fi
   10795 
   10796 
   10797 fi
   10798 
   10799     ;;
   10800   esac
   10801 
   10802   if test "x$lt_cv_dlopen" != xno; then
   10803     enable_dlopen=yes
   10804   else
   10805     enable_dlopen=no
   10806   fi
   10807 
   10808   case $lt_cv_dlopen in
   10809   dlopen)
   10810     save_CPPFLAGS="$CPPFLAGS"
   10811     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10812 
   10813     save_LDFLAGS="$LDFLAGS"
   10814     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10815 
   10816     save_LIBS="$LIBS"
   10817     LIBS="$lt_cv_dlopen_libs $LIBS"
   10818 
   10819     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10820 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10821 if test "${lt_cv_dlopen_self+set}" = set; then
   10822   $as_echo_n "(cached) " >&6
   10823 else
   10824   	  if test "$cross_compiling" = yes; then :
   10825   lt_cv_dlopen_self=cross
   10826 else
   10827   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10828   lt_status=$lt_dlunknown
   10829   cat > conftest.$ac_ext <<_LT_EOF
   10830 #line 10830 "configure"
   10831 #include "confdefs.h"
   10832 
   10833 #if HAVE_DLFCN_H
   10834 #include <dlfcn.h>
   10835 #endif
   10836 
   10837 #include <stdio.h>
   10838 
   10839 #ifdef RTLD_GLOBAL
   10840 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10841 #else
   10842 #  ifdef DL_GLOBAL
   10843 #    define LT_DLGLOBAL		DL_GLOBAL
   10844 #  else
   10845 #    define LT_DLGLOBAL		0
   10846 #  endif
   10847 #endif
   10848 
   10849 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10850    find out it does not work in some platform. */
   10851 #ifndef LT_DLLAZY_OR_NOW
   10852 #  ifdef RTLD_LAZY
   10853 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10854 #  else
   10855 #    ifdef DL_LAZY
   10856 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10857 #    else
   10858 #      ifdef RTLD_NOW
   10859 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10860 #      else
   10861 #        ifdef DL_NOW
   10862 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10863 #        else
   10864 #          define LT_DLLAZY_OR_NOW	0
   10865 #        endif
   10866 #      endif
   10867 #    endif
   10868 #  endif
   10869 #endif
   10870 
   10871 void fnord() { int i=42;}
   10872 int main ()
   10873 {
   10874   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10875   int status = $lt_dlunknown;
   10876 
   10877   if (self)
   10878     {
   10879       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10880       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10881       /* dlclose (self); */
   10882     }
   10883   else
   10884     puts (dlerror ());
   10885 
   10886   return status;
   10887 }
   10888 _LT_EOF
   10889   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10890   (eval $ac_link) 2>&5
   10891   ac_status=$?
   10892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10893   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10894     (./conftest; exit; ) >&5 2>/dev/null
   10895     lt_status=$?
   10896     case x$lt_status in
   10897       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10898       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10899       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10900     esac
   10901   else :
   10902     # compilation failed
   10903     lt_cv_dlopen_self=no
   10904   fi
   10905 fi
   10906 rm -fr conftest*
   10907 
   10908 
   10909 fi
   10910 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10911 $as_echo "$lt_cv_dlopen_self" >&6; }
   10912 
   10913     if test "x$lt_cv_dlopen_self" = xyes; then
   10914       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10915       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10916 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10917 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10918   $as_echo_n "(cached) " >&6
   10919 else
   10920   	  if test "$cross_compiling" = yes; then :
   10921   lt_cv_dlopen_self_static=cross
   10922 else
   10923   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10924   lt_status=$lt_dlunknown
   10925   cat > conftest.$ac_ext <<_LT_EOF
   10926 #line 10926 "configure"
   10927 #include "confdefs.h"
   10928 
   10929 #if HAVE_DLFCN_H
   10930 #include <dlfcn.h>
   10931 #endif
   10932 
   10933 #include <stdio.h>
   10934 
   10935 #ifdef RTLD_GLOBAL
   10936 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10937 #else
   10938 #  ifdef DL_GLOBAL
   10939 #    define LT_DLGLOBAL		DL_GLOBAL
   10940 #  else
   10941 #    define LT_DLGLOBAL		0
   10942 #  endif
   10943 #endif
   10944 
   10945 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10946    find out it does not work in some platform. */
   10947 #ifndef LT_DLLAZY_OR_NOW
   10948 #  ifdef RTLD_LAZY
   10949 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10950 #  else
   10951 #    ifdef DL_LAZY
   10952 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10953 #    else
   10954 #      ifdef RTLD_NOW
   10955 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10956 #      else
   10957 #        ifdef DL_NOW
   10958 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10959 #        else
   10960 #          define LT_DLLAZY_OR_NOW	0
   10961 #        endif
   10962 #      endif
   10963 #    endif
   10964 #  endif
   10965 #endif
   10966 
   10967 void fnord() { int i=42;}
   10968 int main ()
   10969 {
   10970   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10971   int status = $lt_dlunknown;
   10972 
   10973   if (self)
   10974     {
   10975       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10976       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10977       /* dlclose (self); */
   10978     }
   10979   else
   10980     puts (dlerror ());
   10981 
   10982   return status;
   10983 }
   10984 _LT_EOF
   10985   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10986   (eval $ac_link) 2>&5
   10987   ac_status=$?
   10988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10989   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10990     (./conftest; exit; ) >&5 2>/dev/null
   10991     lt_status=$?
   10992     case x$lt_status in
   10993       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10994       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10995       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10996     esac
   10997   else :
   10998     # compilation failed
   10999     lt_cv_dlopen_self_static=no
   11000   fi
   11001 fi
   11002 rm -fr conftest*
   11003 
   11004 
   11005 fi
   11006 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11007 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11008     fi
   11009 
   11010     CPPFLAGS="$save_CPPFLAGS"
   11011     LDFLAGS="$save_LDFLAGS"
   11012     LIBS="$save_LIBS"
   11013     ;;
   11014   esac
   11015 
   11016   case $lt_cv_dlopen_self in
   11017   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11018   *) enable_dlopen_self=unknown ;;
   11019   esac
   11020 
   11021   case $lt_cv_dlopen_self_static in
   11022   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11023   *) enable_dlopen_self_static=unknown ;;
   11024   esac
   11025 fi
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 striplib=
   11044 old_striplib=
   11045 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11046 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11047 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11048   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11049   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11050   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11051 $as_echo "yes" >&6; }
   11052 else
   11053 # FIXME - insert some real tests, host_os isn't really good enough
   11054   case $host_os in
   11055   darwin*)
   11056     if test -n "$STRIP" ; then
   11057       striplib="$STRIP -x"
   11058       old_striplib="$STRIP -S"
   11059       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11060 $as_echo "yes" >&6; }
   11061     else
   11062       { $as_echo "$as_me:$LINENO: result: no" >&5
   11063 $as_echo "no" >&6; }
   11064     fi
   11065     ;;
   11066   *)
   11067     { $as_echo "$as_me:$LINENO: result: no" >&5
   11068 $as_echo "no" >&6; }
   11069     ;;
   11070   esac
   11071 fi
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084   # Report which library types will actually be built
   11085   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11086 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11087   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11088 $as_echo "$can_build_shared" >&6; }
   11089 
   11090   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11091 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11092   test "$can_build_shared" = "no" && enable_shared=no
   11093 
   11094   # On AIX, shared libraries and static libraries use the same namespace, and
   11095   # are all built from PIC.
   11096   case $host_os in
   11097   aix3*)
   11098     test "$enable_shared" = yes && enable_static=no
   11099     if test -n "$RANLIB"; then
   11100       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11101       postinstall_cmds='$RANLIB $lib'
   11102     fi
   11103     ;;
   11104 
   11105   aix[4-9]*)
   11106     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11107       test "$enable_shared" = yes && enable_static=no
   11108     fi
   11109     ;;
   11110   esac
   11111   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11112 $as_echo "$enable_shared" >&6; }
   11113 
   11114   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11115 $as_echo_n "checking whether to build static libraries... " >&6; }
   11116   # Make sure either enable_shared or enable_static is yes.
   11117   test "$enable_shared" = yes || enable_static=yes
   11118   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11119 $as_echo "$enable_static" >&6; }
   11120 
   11121 
   11122 
   11123 
   11124 fi
   11125 ac_ext=c
   11126 ac_cpp='$CPP $CPPFLAGS'
   11127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11130 
   11131 CC="$lt_save_CC"
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145         ac_config_commands="$ac_config_commands libtool"
   11146 
   11147 
   11148 
   11149 
   11150 # Only expand once:
   11151 
   11152 
   11153    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   11154 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11155 if test "${ac_cv_prog_cc_c99+set}" = set; then
   11156   $as_echo_n "(cached) " >&6
   11157 else
   11158   ac_cv_prog_cc_c99=no
   11159 ac_save_CC=$CC
   11160 cat >conftest.$ac_ext <<_ACEOF
   11161 /* confdefs.h.  */
   11162 _ACEOF
   11163 cat confdefs.h >>conftest.$ac_ext
   11164 cat >>conftest.$ac_ext <<_ACEOF
   11165 /* end confdefs.h.  */
   11166 #include <stdarg.h>
   11167 #include <stdbool.h>
   11168 #include <stdlib.h>
   11169 #include <wchar.h>
   11170 #include <stdio.h>
   11171 
   11172 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11173 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11174 #define showlist(...) puts (#__VA_ARGS__)
   11175 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11176 static void
   11177 test_varargs_macros (void)
   11178 {
   11179   int x = 1234;
   11180   int y = 5678;
   11181   debug ("Flag");
   11182   debug ("X = %d\n", x);
   11183   showlist (The first, second, and third items.);
   11184   report (x>y, "x is %d but y is %d", x, y);
   11185 }
   11186 
   11187 // Check long long types.
   11188 #define BIG64 18446744073709551615ull
   11189 #define BIG32 4294967295ul
   11190 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11191 #if !BIG_OK
   11192   your preprocessor is broken;
   11193 #endif
   11194 #if BIG_OK
   11195 #else
   11196   your preprocessor is broken;
   11197 #endif
   11198 static long long int bignum = -9223372036854775807LL;
   11199 static unsigned long long int ubignum = BIG64;
   11200 
   11201 struct incomplete_array
   11202 {
   11203   int datasize;
   11204   double data[];
   11205 };
   11206 
   11207 struct named_init {
   11208   int number;
   11209   const wchar_t *name;
   11210   double average;
   11211 };
   11212 
   11213 typedef const char *ccp;
   11214 
   11215 static inline int
   11216 test_restrict (ccp restrict text)
   11217 {
   11218   // See if C++-style comments work.
   11219   // Iterate through items via the restricted pointer.
   11220   // Also check for declarations in for loops.
   11221   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11222     continue;
   11223   return 0;
   11224 }
   11225 
   11226 // Check varargs and va_copy.
   11227 static void
   11228 test_varargs (const char *format, ...)
   11229 {
   11230   va_list args;
   11231   va_start (args, format);
   11232   va_list args_copy;
   11233   va_copy (args_copy, args);
   11234 
   11235   const char *str;
   11236   int number;
   11237   float fnumber;
   11238 
   11239   while (*format)
   11240     {
   11241       switch (*format++)
   11242 	{
   11243 	case 's': // string
   11244 	  str = va_arg (args_copy, const char *);
   11245 	  break;
   11246 	case 'd': // int
   11247 	  number = va_arg (args_copy, int);
   11248 	  break;
   11249 	case 'f': // float
   11250 	  fnumber = va_arg (args_copy, double);
   11251 	  break;
   11252 	default:
   11253 	  break;
   11254 	}
   11255     }
   11256   va_end (args_copy);
   11257   va_end (args);
   11258 }
   11259 
   11260 int
   11261 main ()
   11262 {
   11263 
   11264   // Check bool.
   11265   _Bool success = false;
   11266 
   11267   // Check restrict.
   11268   if (test_restrict ("String literal") == 0)
   11269     success = true;
   11270   char *restrict newvar = "Another string";
   11271 
   11272   // Check varargs.
   11273   test_varargs ("s, d' f .", "string", 65, 34.234);
   11274   test_varargs_macros ();
   11275 
   11276   // Check flexible array members.
   11277   struct incomplete_array *ia =
   11278     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11279   ia->datasize = 10;
   11280   for (int i = 0; i < ia->datasize; ++i)
   11281     ia->data[i] = i * 1.234;
   11282 
   11283   // Check named initializers.
   11284   struct named_init ni = {
   11285     .number = 34,
   11286     .name = L"Test wide string",
   11287     .average = 543.34343,
   11288   };
   11289 
   11290   ni.number = 58;
   11291 
   11292   int dynamic_array[ni.number];
   11293   dynamic_array[ni.number - 1] = 543;
   11294 
   11295   // work around unused variable warnings
   11296   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11297 	  || dynamic_array[ni.number - 1] != 543);
   11298 
   11299   ;
   11300   return 0;
   11301 }
   11302 _ACEOF
   11303 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11304 do
   11305   CC="$ac_save_CC $ac_arg"
   11306   rm -f conftest.$ac_objext
   11307 if { (ac_try="$ac_compile"
   11308 case "(($ac_try" in
   11309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11310   *) ac_try_echo=$ac_try;;
   11311 esac
   11312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11313 $as_echo "$ac_try_echo") >&5
   11314   (eval "$ac_compile") 2>conftest.er1
   11315   ac_status=$?
   11316   grep -v '^ *+' conftest.er1 >conftest.err
   11317   rm -f conftest.er1
   11318   cat conftest.err >&5
   11319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11320   (exit $ac_status); } && {
   11321 	 test -z "$ac_c_werror_flag" ||
   11322 	 test ! -s conftest.err
   11323        } && test -s conftest.$ac_objext; then
   11324   ac_cv_prog_cc_c99=$ac_arg
   11325 else
   11326   $as_echo "$as_me: failed program was:" >&5
   11327 sed 's/^/| /' conftest.$ac_ext >&5
   11328 
   11329 
   11330 fi
   11331 
   11332 rm -f core conftest.err conftest.$ac_objext
   11333   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11334 done
   11335 rm -f conftest.$ac_ext
   11336 CC=$ac_save_CC
   11337 
   11338 fi
   11339 # AC_CACHE_VAL
   11340 case "x$ac_cv_prog_cc_c99" in
   11341   x)
   11342     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11343 $as_echo "none needed" >&6; } ;;
   11344   xno)
   11345     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11346 $as_echo "unsupported" >&6; } ;;
   11347   *)
   11348     CC="$CC $ac_cv_prog_cc_c99"
   11349     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   11350 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11351 esac
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 if  test "x$GCC" = xyes ; then
   11359     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11360 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11361 -Wbad-function-cast"
   11362     case `$CC -dumpversion` in
   11363     3.4.* | 4.*)
   11364 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11365 	;;
   11366     esac
   11367 else
   11368     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11369 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11370 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11371   $as_echo_n "(cached) " >&6
   11372 else
   11373   cat >conftest.$ac_ext <<_ACEOF
   11374 /* confdefs.h.  */
   11375 _ACEOF
   11376 cat confdefs.h >>conftest.$ac_ext
   11377 cat >>conftest.$ac_ext <<_ACEOF
   11378 /* end confdefs.h.  */
   11379 $ac_includes_default
   11380 int
   11381 main ()
   11382 {
   11383 #ifndef __SUNPRO_C
   11384   (void) __SUNPRO_C;
   11385 #endif
   11386 
   11387   ;
   11388   return 0;
   11389 }
   11390 _ACEOF
   11391 rm -f conftest.$ac_objext
   11392 if { (ac_try="$ac_compile"
   11393 case "(($ac_try" in
   11394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11395   *) ac_try_echo=$ac_try;;
   11396 esac
   11397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11398 $as_echo "$ac_try_echo") >&5
   11399   (eval "$ac_compile") 2>conftest.er1
   11400   ac_status=$?
   11401   grep -v '^ *+' conftest.er1 >conftest.err
   11402   rm -f conftest.er1
   11403   cat conftest.err >&5
   11404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11405   (exit $ac_status); } && {
   11406 	 test -z "$ac_c_werror_flag" ||
   11407 	 test ! -s conftest.err
   11408        } && test -s conftest.$ac_objext; then
   11409   ac_cv_have_decl___SUNPRO_C=yes
   11410 else
   11411   $as_echo "$as_me: failed program was:" >&5
   11412 sed 's/^/| /' conftest.$ac_ext >&5
   11413 
   11414 	ac_cv_have_decl___SUNPRO_C=no
   11415 fi
   11416 
   11417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11418 fi
   11419 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11420 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11421 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11422   SUNCC="yes"
   11423 else
   11424   SUNCC="no"
   11425 fi
   11426 
   11427     if test "x$SUNCC" = "xyes"; then
   11428 	CWARNFLAGS="-v"
   11429     fi
   11430 fi
   11431 
   11432 # Check whether --enable-silent-rules was given.
   11433 if test "${enable_silent_rules+set}" = set; then
   11434   enableval=$enable_silent_rules;
   11435 fi
   11436 
   11437 case $enable_silent_rules in
   11438 yes) AM_DEFAULT_VERBOSITY=0;;
   11439 no)  AM_DEFAULT_VERBOSITY=1;;
   11440 *)   AM_DEFAULT_VERBOSITY=0;;
   11441 esac
   11442 AM_BACKSLASH='\'
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 # Check whether --enable-strict-compilation was given.
   11451 if test "${enable_strict_compilation+set}" = set; then
   11452   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11453 else
   11454   STRICT_COMPILE=no
   11455 fi
   11456 
   11457 if test "x$STRICT_COMPILE" = "xyes"; then
   11458 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11459 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11460 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11461   $as_echo_n "(cached) " >&6
   11462 else
   11463   cat >conftest.$ac_ext <<_ACEOF
   11464 /* confdefs.h.  */
   11465 _ACEOF
   11466 cat confdefs.h >>conftest.$ac_ext
   11467 cat >>conftest.$ac_ext <<_ACEOF
   11468 /* end confdefs.h.  */
   11469 $ac_includes_default
   11470 int
   11471 main ()
   11472 {
   11473 #ifndef __SUNPRO_C
   11474   (void) __SUNPRO_C;
   11475 #endif
   11476 
   11477   ;
   11478   return 0;
   11479 }
   11480 _ACEOF
   11481 rm -f conftest.$ac_objext
   11482 if { (ac_try="$ac_compile"
   11483 case "(($ac_try" in
   11484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11485   *) ac_try_echo=$ac_try;;
   11486 esac
   11487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11488 $as_echo "$ac_try_echo") >&5
   11489   (eval "$ac_compile") 2>conftest.er1
   11490   ac_status=$?
   11491   grep -v '^ *+' conftest.er1 >conftest.err
   11492   rm -f conftest.er1
   11493   cat conftest.err >&5
   11494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11495   (exit $ac_status); } && {
   11496 	 test -z "$ac_c_werror_flag" ||
   11497 	 test ! -s conftest.err
   11498        } && test -s conftest.$ac_objext; then
   11499   ac_cv_have_decl___SUNPRO_C=yes
   11500 else
   11501   $as_echo "$as_me: failed program was:" >&5
   11502 sed 's/^/| /' conftest.$ac_ext >&5
   11503 
   11504 	ac_cv_have_decl___SUNPRO_C=no
   11505 fi
   11506 
   11507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11508 fi
   11509 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11510 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11511 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11512   SUNCC="yes"
   11513 else
   11514   SUNCC="no"
   11515 fi
   11516 
   11517 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   11518 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   11519 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   11520   $as_echo_n "(cached) " >&6
   11521 else
   11522   cat >conftest.$ac_ext <<_ACEOF
   11523 /* confdefs.h.  */
   11524 _ACEOF
   11525 cat confdefs.h >>conftest.$ac_ext
   11526 cat >>conftest.$ac_ext <<_ACEOF
   11527 /* end confdefs.h.  */
   11528 $ac_includes_default
   11529 int
   11530 main ()
   11531 {
   11532 #ifndef __INTEL_COMPILER
   11533   (void) __INTEL_COMPILER;
   11534 #endif
   11535 
   11536   ;
   11537   return 0;
   11538 }
   11539 _ACEOF
   11540 rm -f conftest.$ac_objext
   11541 if { (ac_try="$ac_compile"
   11542 case "(($ac_try" in
   11543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11544   *) ac_try_echo=$ac_try;;
   11545 esac
   11546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11547 $as_echo "$ac_try_echo") >&5
   11548   (eval "$ac_compile") 2>conftest.er1
   11549   ac_status=$?
   11550   grep -v '^ *+' conftest.er1 >conftest.err
   11551   rm -f conftest.er1
   11552   cat conftest.err >&5
   11553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11554   (exit $ac_status); } && {
   11555 	 test -z "$ac_c_werror_flag" ||
   11556 	 test ! -s conftest.err
   11557        } && test -s conftest.$ac_objext; then
   11558   ac_cv_have_decl___INTEL_COMPILER=yes
   11559 else
   11560   $as_echo "$as_me: failed program was:" >&5
   11561 sed 's/^/| /' conftest.$ac_ext >&5
   11562 
   11563 	ac_cv_have_decl___INTEL_COMPILER=no
   11564 fi
   11565 
   11566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11567 fi
   11568 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   11569 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   11570 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   11571   INTELCC="yes"
   11572 else
   11573   INTELCC="no"
   11574 fi
   11575 
   11576 	if test "x$GCC" = xyes ; then
   11577 		STRICT_CFLAGS="-pedantic -Werror"
   11578 	elif test "x$SUNCC" = "xyes"; then
   11579 		STRICT_CFLAGS="-errwarn"
   11580     elif test "x$INTELCC" = "xyes"; then
   11581 		STRICT_CFLAGS="-Werror"
   11582 	fi
   11583 fi
   11584 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11585 
   11586 
   11587 
   11588 
   11589 # Check whether --with-release-version was given.
   11590 if test "${with_release_version+set}" = set; then
   11591   withval=$with_release_version; RELEASE_VERSION="$withval"
   11592 else
   11593   RELEASE_VERSION=""
   11594 fi
   11595 
   11596 	if test "x$RELEASE_VERSION" != "x"; then
   11597 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   11598 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   11599 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   11600 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   11601 	fi
   11602 
   11603 cat >>confdefs.h <<_ACEOF
   11604 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11605 _ACEOF
   11606 
   11607 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11608 	if test "x$PVM" = "x"; then
   11609 		PVM="0"
   11610 	fi
   11611 
   11612 cat >>confdefs.h <<_ACEOF
   11613 #define PACKAGE_VERSION_MINOR $PVM
   11614 _ACEOF
   11615 
   11616 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11617 	if test "x$PVP" = "x"; then
   11618 		PVP="0"
   11619 	fi
   11620 
   11621 cat >>confdefs.h <<_ACEOF
   11622 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11623 _ACEOF
   11624 
   11625 
   11626 
   11627 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   11628 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   11629 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11630 
   11631 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 if test x$APP_MAN_SUFFIX = x    ; then
   11638     APP_MAN_SUFFIX=1
   11639 fi
   11640 if test x$APP_MAN_DIR = x    ; then
   11641     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11642 fi
   11643 
   11644 if test x$LIB_MAN_SUFFIX = x    ; then
   11645     LIB_MAN_SUFFIX=3
   11646 fi
   11647 if test x$LIB_MAN_DIR = x    ; then
   11648     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11649 fi
   11650 
   11651 if test x$FILE_MAN_SUFFIX = x    ; then
   11652     case $host_os in
   11653 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11654 	*)		FILE_MAN_SUFFIX=5  ;;
   11655     esac
   11656 fi
   11657 if test x$FILE_MAN_DIR = x    ; then
   11658     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11659 fi
   11660 
   11661 if test x$MISC_MAN_SUFFIX = x    ; then
   11662     case $host_os in
   11663 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11664 	*)		MISC_MAN_SUFFIX=7  ;;
   11665     esac
   11666 fi
   11667 if test x$MISC_MAN_DIR = x    ; then
   11668     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11669 fi
   11670 
   11671 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11672     case $host_os in
   11673 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11674 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11675     esac
   11676 fi
   11677 if test x$DRIVER_MAN_DIR = x    ; then
   11678     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11679 fi
   11680 
   11681 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11682     case $host_os in
   11683 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11684 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11685     esac
   11686 fi
   11687 if test x$ADMIN_MAN_DIR = x    ; then
   11688     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11689 fi
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 # Check for xmlto for man page conversion
   11708 # (only needed by people building tarballs)
   11709 
   11710 # Extract the first word of "xmlto", so it can be a program name with args.
   11711 set dummy xmlto; ac_word=$2
   11712 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11713 $as_echo_n "checking for $ac_word... " >&6; }
   11714 if test "${ac_cv_path_XMLTO+set}" = set; then
   11715   $as_echo_n "(cached) " >&6
   11716 else
   11717   case $XMLTO in
   11718   [\\/]* | ?:[\\/]*)
   11719   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11720   ;;
   11721   *)
   11722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11723 for as_dir in $PATH
   11724 do
   11725   IFS=$as_save_IFS
   11726   test -z "$as_dir" && as_dir=.
   11727   for ac_exec_ext in '' $ac_executable_extensions; do
   11728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11729     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   11730     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11731     break 2
   11732   fi
   11733 done
   11734 done
   11735 IFS=$as_save_IFS
   11736 
   11737   ;;
   11738 esac
   11739 fi
   11740 XMLTO=$ac_cv_path_XMLTO
   11741 if test -n "$XMLTO"; then
   11742   { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
   11743 $as_echo "$XMLTO" >&6; }
   11744 else
   11745   { $as_echo "$as_me:$LINENO: result: no" >&5
   11746 $as_echo "no" >&6; }
   11747 fi
   11748 
   11749 
   11750  if test "x$XMLTO" != "x"; then
   11751   HAVE_XMLTO_TRUE=
   11752   HAVE_XMLTO_FALSE='#'
   11753 else
   11754   HAVE_XMLTO_TRUE='#'
   11755   HAVE_XMLTO_FALSE=
   11756 fi
   11757 
   11758 
   11759 # Check for dependencies
   11760 
   11761 
   11762 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11763 	if test -n "$ac_tool_prefix"; then
   11764   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11765 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11766 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11767 $as_echo_n "checking for $ac_word... " >&6; }
   11768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   11769   $as_echo_n "(cached) " >&6
   11770 else
   11771   case $PKG_CONFIG in
   11772   [\\/]* | ?:[\\/]*)
   11773   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11774   ;;
   11775   *)
   11776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11777 for as_dir in $PATH
   11778 do
   11779   IFS=$as_save_IFS
   11780   test -z "$as_dir" && as_dir=.
   11781   for ac_exec_ext in '' $ac_executable_extensions; do
   11782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11783     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11784     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11785     break 2
   11786   fi
   11787 done
   11788 done
   11789 IFS=$as_save_IFS
   11790 
   11791   ;;
   11792 esac
   11793 fi
   11794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11795 if test -n "$PKG_CONFIG"; then
   11796   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   11797 $as_echo "$PKG_CONFIG" >&6; }
   11798 else
   11799   { $as_echo "$as_me:$LINENO: result: no" >&5
   11800 $as_echo "no" >&6; }
   11801 fi
   11802 
   11803 
   11804 fi
   11805 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11806   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11807   # Extract the first word of "pkg-config", so it can be a program name with args.
   11808 set dummy pkg-config; ac_word=$2
   11809 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11810 $as_echo_n "checking for $ac_word... " >&6; }
   11811 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   11812   $as_echo_n "(cached) " >&6
   11813 else
   11814   case $ac_pt_PKG_CONFIG in
   11815   [\\/]* | ?:[\\/]*)
   11816   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11817   ;;
   11818   *)
   11819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11820 for as_dir in $PATH
   11821 do
   11822   IFS=$as_save_IFS
   11823   test -z "$as_dir" && as_dir=.
   11824   for ac_exec_ext in '' $ac_executable_extensions; do
   11825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11826     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11827     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11828     break 2
   11829   fi
   11830 done
   11831 done
   11832 IFS=$as_save_IFS
   11833 
   11834   ;;
   11835 esac
   11836 fi
   11837 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11838 if test -n "$ac_pt_PKG_CONFIG"; then
   11839   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   11840 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11841 else
   11842   { $as_echo "$as_me:$LINENO: result: no" >&5
   11843 $as_echo "no" >&6; }
   11844 fi
   11845 
   11846   if test "x$ac_pt_PKG_CONFIG" = x; then
   11847     PKG_CONFIG=""
   11848   else
   11849     case $cross_compiling:$ac_tool_warned in
   11850 yes:)
   11851 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11853 ac_tool_warned=yes ;;
   11854 esac
   11855     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11856   fi
   11857 else
   11858   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11859 fi
   11860 
   11861 fi
   11862 if test -n "$PKG_CONFIG"; then
   11863 	_pkg_min_version=0.9.0
   11864 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   11865 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11866 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11867 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   11868 $as_echo "yes" >&6; }
   11869 	else
   11870 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   11871 $as_echo "no" >&6; }
   11872 		PKG_CONFIG=""
   11873 	fi
   11874 
   11875 fi
   11876 
   11877 pkg_failed=no
   11878 { $as_echo "$as_me:$LINENO: checking for XTST" >&5
   11879 $as_echo_n "checking for XTST... " >&6; }
   11880 
   11881 if test -n "$XTST_CFLAGS"; then
   11882     pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
   11883  elif test -n "$PKG_CONFIG"; then
   11884     if test -n "$PKG_CONFIG" && \
   11885     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\"") >&5
   11886   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   11887   ac_status=$?
   11888   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11889   (exit $ac_status); }; then
   11890   pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   11891 else
   11892   pkg_failed=yes
   11893 fi
   11894  else
   11895     pkg_failed=untried
   11896 fi
   11897 if test -n "$XTST_LIBS"; then
   11898     pkg_cv_XTST_LIBS="$XTST_LIBS"
   11899  elif test -n "$PKG_CONFIG"; then
   11900     if test -n "$PKG_CONFIG" && \
   11901     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\"") >&5
   11902   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   11903   ac_status=$?
   11904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11905   (exit $ac_status); }; then
   11906   pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   11907 else
   11908   pkg_failed=yes
   11909 fi
   11910  else
   11911     pkg_failed=untried
   11912 fi
   11913 
   11914 
   11915 
   11916 if test $pkg_failed = yes; then
   11917 
   11918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11919         _pkg_short_errors_supported=yes
   11920 else
   11921         _pkg_short_errors_supported=no
   11922 fi
   11923         if test $_pkg_short_errors_supported = yes; then
   11924 	        XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   11925         else
   11926 	        XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   11927         fi
   11928 	# Put the nasty error message in config.log where it belongs
   11929 	echo "$XTST_PKG_ERRORS" >&5
   11930 
   11931 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
   11932 
   11933 $XTST_PKG_ERRORS
   11934 
   11935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11936 installed software in a non-standard prefix.
   11937 
   11938 Alternatively, you may set the environment variables XTST_CFLAGS
   11939 and XTST_LIBS to avoid the need to call pkg-config.
   11940 See the pkg-config man page for more details.
   11941 " >&5
   11942 $as_echo "$as_me: error: Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
   11943 
   11944 $XTST_PKG_ERRORS
   11945 
   11946 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11947 installed software in a non-standard prefix.
   11948 
   11949 Alternatively, you may set the environment variables XTST_CFLAGS
   11950 and XTST_LIBS to avoid the need to call pkg-config.
   11951 See the pkg-config man page for more details.
   11952 " >&2;}
   11953    { (exit 1); exit 1; }; }
   11954 elif test $pkg_failed = untried; then
   11955 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11957 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   11958 is in your PATH or set the PKG_CONFIG environment variable to the full
   11959 path to pkg-config.
   11960 
   11961 Alternatively, you may set the environment variables XTST_CFLAGS
   11962 and XTST_LIBS to avoid the need to call pkg-config.
   11963 See the pkg-config man page for more details.
   11964 
   11965 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11966 See \`config.log' for more details." >&5
   11967 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   11968 is in your PATH or set the PKG_CONFIG environment variable to the full
   11969 path to pkg-config.
   11970 
   11971 Alternatively, you may set the environment variables XTST_CFLAGS
   11972 and XTST_LIBS to avoid the need to call pkg-config.
   11973 See the pkg-config man page for more details.
   11974 
   11975 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11976 See \`config.log' for more details." >&2;}
   11977    { (exit 1); exit 1; }; }; }
   11978 else
   11979 	XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
   11980 	XTST_LIBS=$pkg_cv_XTST_LIBS
   11981         { $as_echo "$as_me:$LINENO: result: yes" >&5
   11982 $as_echo "yes" >&6; }
   11983 	:
   11984 fi
   11985 XTST_CFLAGS="$CWARNFLAGS $XTST_CFLAGS"
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 # Allow checking code with lint, sparse, etc.
   11992 
   11993 # Check whether --with-lint was given.
   11994 if test "${with_lint+set}" = set; then
   11995   withval=$with_lint; use_lint=$withval
   11996 else
   11997   use_lint=no
   11998 fi
   11999 
   12000 if test "x$use_lint" = "xyes" ; then
   12001 	LINT="lint"
   12002 else
   12003 	LINT="$use_lint"
   12004 fi
   12005 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   12006     case $LINT in
   12007 	lint|*/lint)
   12008 	    case $host_os in
   12009 		solaris*)
   12010 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   12011 			;;
   12012 	    esac
   12013 	    ;;
   12014     esac
   12015 fi
   12016 
   12017 
   12018 
   12019  if test x$LINT != xno; then
   12020   LINT_TRUE=
   12021   LINT_FALSE='#'
   12022 else
   12023   LINT_TRUE='#'
   12024   LINT_FALSE=
   12025 fi
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 # Build lint "library" for more indepth checks of programs calling this library
   12032 # Check whether --enable-lint-library was given.
   12033 if test "${enable_lint_library+set}" = set; then
   12034   enableval=$enable_lint_library; make_lint_lib=$enableval
   12035 else
   12036   make_lint_lib=no
   12037 fi
   12038 
   12039 if test "x$make_lint_lib" != "xno" ; then
   12040 	if test "x$LINT" = "xno" ; then
   12041 		{ { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   12042 $as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   12043    { (exit 1); exit 1; }; }
   12044 	fi
   12045 	if test "x$make_lint_lib" = "xyes" ; then
   12046 		LINTLIB=llib-lXtst.ln
   12047 	else
   12048 		LINTLIB=$make_lint_lib
   12049 	fi
   12050 fi
   12051 
   12052  if test x$make_lint_lib != xno; then
   12053   MAKE_LINT_LIB_TRUE=
   12054   MAKE_LINT_LIB_FALSE='#'
   12055 else
   12056   MAKE_LINT_LIB_TRUE='#'
   12057   MAKE_LINT_LIB_FALSE=
   12058 fi
   12059 
   12060 
   12061 
   12062 LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}"
   12063 
   12064 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile xtst.pc"
   12065 
   12066 cat >confcache <<\_ACEOF
   12067 # This file is a shell script that caches the results of configure
   12068 # tests run on this system so they can be shared between configure
   12069 # scripts and configure runs, see configure's option --config-cache.
   12070 # It is not useful on other systems.  If it contains results you don't
   12071 # want to keep, you may remove or edit it.
   12072 #
   12073 # config.status only pays attention to the cache file if you give it
   12074 # the --recheck option to rerun configure.
   12075 #
   12076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12078 # following values.
   12079 
   12080 _ACEOF
   12081 
   12082 # The following way of writing the cache mishandles newlines in values,
   12083 # but we know of no workaround that is simple, portable, and efficient.
   12084 # So, we kill variables containing newlines.
   12085 # Ultrix sh set writes to stderr and can't be redirected directly,
   12086 # and sets the high bit in the cache file unless we assign to the vars.
   12087 (
   12088   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12089     eval ac_val=\$$ac_var
   12090     case $ac_val in #(
   12091     *${as_nl}*)
   12092       case $ac_var in #(
   12093       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   12094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12095       esac
   12096       case $ac_var in #(
   12097       _ | IFS | as_nl) ;; #(
   12098       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12099       *) $as_unset $ac_var ;;
   12100       esac ;;
   12101     esac
   12102   done
   12103 
   12104   (set) 2>&1 |
   12105     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12106     *${as_nl}ac_space=\ *)
   12107       # `set' does not quote correctly, so add quotes (double-quote
   12108       # substitution turns \\\\ into \\, and sed turns \\ into \).
   12109       sed -n \
   12110 	"s/'/'\\\\''/g;
   12111 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12112       ;; #(
   12113     *)
   12114       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12115       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12116       ;;
   12117     esac |
   12118     sort
   12119 ) |
   12120   sed '
   12121      /^ac_cv_env_/b end
   12122      t clear
   12123      :clear
   12124      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12125      t end
   12126      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12127      :end' >>confcache
   12128 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12129   if test -w "$cache_file"; then
   12130     test "x$cache_file" != "x/dev/null" &&
   12131       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   12132 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12133     cat confcache >$cache_file
   12134   else
   12135     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   12136 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12137   fi
   12138 fi
   12139 rm -f confcache
   12140 
   12141 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12142 # Let make expand exec_prefix.
   12143 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12144 
   12145 DEFS=-DHAVE_CONFIG_H
   12146 
   12147 ac_libobjs=
   12148 ac_ltlibobjs=
   12149 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12150   # 1. Remove the extension, and $U if already installed.
   12151   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12152   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12153   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12154   #    will be set to the directory where LIBOBJS objects are built.
   12155   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12156   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   12157 done
   12158 LIBOBJS=$ac_libobjs
   12159 
   12160 LTLIBOBJS=$ac_ltlibobjs
   12161 
   12162 
   12163  if test -n "$EXEEXT"; then
   12164   am__EXEEXT_TRUE=
   12165   am__EXEEXT_FALSE='#'
   12166 else
   12167   am__EXEEXT_TRUE='#'
   12168   am__EXEEXT_FALSE=
   12169 fi
   12170 
   12171 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12172   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   12173 Usually this means the macro was only invoked conditionally." >&5
   12174 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   12175 Usually this means the macro was only invoked conditionally." >&2;}
   12176    { (exit 1); exit 1; }; }
   12177 fi
   12178 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12179   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   12180 Usually this means the macro was only invoked conditionally." >&5
   12181 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   12182 Usually this means the macro was only invoked conditionally." >&2;}
   12183    { (exit 1); exit 1; }; }
   12184 fi
   12185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12186   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   12187 Usually this means the macro was only invoked conditionally." >&5
   12188 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   12189 Usually this means the macro was only invoked conditionally." >&2;}
   12190    { (exit 1); exit 1; }; }
   12191 fi
   12192 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12193   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLTO\" was never defined.
   12194 Usually this means the macro was only invoked conditionally." >&5
   12195 $as_echo "$as_me: error: conditional \"HAVE_XMLTO\" was never defined.
   12196 Usually this means the macro was only invoked conditionally." >&2;}
   12197    { (exit 1); exit 1; }; }
   12198 fi
   12199 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12200   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   12201 Usually this means the macro was only invoked conditionally." >&5
   12202 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   12203 Usually this means the macro was only invoked conditionally." >&2;}
   12204    { (exit 1); exit 1; }; }
   12205 fi
   12206 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   12207   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   12208 Usually this means the macro was only invoked conditionally." >&5
   12209 $as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   12210 Usually this means the macro was only invoked conditionally." >&2;}
   12211    { (exit 1); exit 1; }; }
   12212 fi
   12213 
   12214 : ${CONFIG_STATUS=./config.status}
   12215 ac_write_fail=0
   12216 ac_clean_files_save=$ac_clean_files
   12217 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12218 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   12219 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12220 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12221 #! $SHELL
   12222 # Generated by $as_me.
   12223 # Run this file to recreate the current configuration.
   12224 # Compiler output produced by configure, useful for debugging
   12225 # configure, is in config.log if it exists.
   12226 
   12227 debug=false
   12228 ac_cs_recheck=false
   12229 ac_cs_silent=false
   12230 SHELL=\${CONFIG_SHELL-$SHELL}
   12231 _ACEOF
   12232 
   12233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12234 ## --------------------- ##
   12235 ## M4sh Initialization.  ##
   12236 ## --------------------- ##
   12237 
   12238 # Be more Bourne compatible
   12239 DUALCASE=1; export DUALCASE # for MKS sh
   12240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   12241   emulate sh
   12242   NULLCMD=:
   12243   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12244   # is contrary to our usage.  Disable this feature.
   12245   alias -g '${1+"$@"}'='"$@"'
   12246   setopt NO_GLOB_SUBST
   12247 else
   12248   case `(set -o) 2>/dev/null` in
   12249   *posix*) set -o posix ;;
   12250 esac
   12251 
   12252 fi
   12253 
   12254 
   12255 
   12256 
   12257 # PATH needs CR
   12258 # Avoid depending upon Character Ranges.
   12259 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12260 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12261 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12262 as_cr_digits='0123456789'
   12263 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12264 
   12265 as_nl='
   12266 '
   12267 export as_nl
   12268 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12269 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12270 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12272 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12273   as_echo='printf %s\n'
   12274   as_echo_n='printf %s'
   12275 else
   12276   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12277     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12278     as_echo_n='/usr/ucb/echo -n'
   12279   else
   12280     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12281     as_echo_n_body='eval
   12282       arg=$1;
   12283       case $arg in
   12284       *"$as_nl"*)
   12285 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12286 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12287       esac;
   12288       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12289     '
   12290     export as_echo_n_body
   12291     as_echo_n='sh -c $as_echo_n_body as_echo'
   12292   fi
   12293   export as_echo_body
   12294   as_echo='sh -c $as_echo_body as_echo'
   12295 fi
   12296 
   12297 # The user is always right.
   12298 if test "${PATH_SEPARATOR+set}" != set; then
   12299   PATH_SEPARATOR=:
   12300   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12301     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12302       PATH_SEPARATOR=';'
   12303   }
   12304 fi
   12305 
   12306 # Support unset when possible.
   12307 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12308   as_unset=unset
   12309 else
   12310   as_unset=false
   12311 fi
   12312 
   12313 
   12314 # IFS
   12315 # We need space, tab and new line, in precisely that order.  Quoting is
   12316 # there to prevent editors from complaining about space-tab.
   12317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12318 # splitting by setting IFS to empty value.)
   12319 IFS=" ""	$as_nl"
   12320 
   12321 # Find who we are.  Look in the path if we contain no directory separator.
   12322 case $0 in
   12323   *[\\/]* ) as_myself=$0 ;;
   12324   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12325 for as_dir in $PATH
   12326 do
   12327   IFS=$as_save_IFS
   12328   test -z "$as_dir" && as_dir=.
   12329   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12330 done
   12331 IFS=$as_save_IFS
   12332 
   12333      ;;
   12334 esac
   12335 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12336 # in which case we are not to be found in the path.
   12337 if test "x$as_myself" = x; then
   12338   as_myself=$0
   12339 fi
   12340 if test ! -f "$as_myself"; then
   12341   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12342   { (exit 1); exit 1; }
   12343 fi
   12344 
   12345 # Work around bugs in pre-3.0 UWIN ksh.
   12346 for as_var in ENV MAIL MAILPATH
   12347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   12348 done
   12349 PS1='$ '
   12350 PS2='> '
   12351 PS4='+ '
   12352 
   12353 # NLS nuisances.
   12354 LC_ALL=C
   12355 export LC_ALL
   12356 LANGUAGE=C
   12357 export LANGUAGE
   12358 
   12359 # Required to use basename.
   12360 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12361    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12362   as_expr=expr
   12363 else
   12364   as_expr=false
   12365 fi
   12366 
   12367 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12368   as_basename=basename
   12369 else
   12370   as_basename=false
   12371 fi
   12372 
   12373 
   12374 # Name of the executable.
   12375 as_me=`$as_basename -- "$0" ||
   12376 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12377 	 X"$0" : 'X\(//\)$' \| \
   12378 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12379 $as_echo X/"$0" |
   12380     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12381 	    s//\1/
   12382 	    q
   12383 	  }
   12384 	  /^X\/\(\/\/\)$/{
   12385 	    s//\1/
   12386 	    q
   12387 	  }
   12388 	  /^X\/\(\/\).*/{
   12389 	    s//\1/
   12390 	    q
   12391 	  }
   12392 	  s/.*/./; q'`
   12393 
   12394 # CDPATH.
   12395 $as_unset CDPATH
   12396 
   12397 
   12398 
   12399   as_lineno_1=$LINENO
   12400   as_lineno_2=$LINENO
   12401   test "x$as_lineno_1" != "x$as_lineno_2" &&
   12402   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   12403 
   12404   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   12405   # uniformly replaced by the line number.  The first 'sed' inserts a
   12406   # line-number line after each line using $LINENO; the second 'sed'
   12407   # does the real work.  The second script uses 'N' to pair each
   12408   # line-number line with the line containing $LINENO, and appends
   12409   # trailing '-' during substitution so that $LINENO is not a special
   12410   # case at line end.
   12411   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   12412   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   12413   # E. McMahon (1931-1989) for sed's syntax.  :-)
   12414   sed -n '
   12415     p
   12416     /[$]LINENO/=
   12417   ' <$as_myself |
   12418     sed '
   12419       s/[$]LINENO.*/&-/
   12420       t lineno
   12421       b
   12422       :lineno
   12423       N
   12424       :loop
   12425       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   12426       t loop
   12427       s/-\n.*//
   12428     ' >$as_me.lineno &&
   12429   chmod +x "$as_me.lineno" ||
   12430     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   12431    { (exit 1); exit 1; }; }
   12432 
   12433   # Don't try to exec as it changes $[0], causing all sort of problems
   12434   # (the dirname of $[0] is not the place where we might find the
   12435   # original and so on.  Autoconf is especially sensitive to this).
   12436   . "./$as_me.lineno"
   12437   # Exit status is that of the last command.
   12438   exit
   12439 }
   12440 
   12441 
   12442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12443   as_dirname=dirname
   12444 else
   12445   as_dirname=false
   12446 fi
   12447 
   12448 ECHO_C= ECHO_N= ECHO_T=
   12449 case `echo -n x` in
   12450 -n*)
   12451   case `echo 'x\c'` in
   12452   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12453   *)   ECHO_C='\c';;
   12454   esac;;
   12455 *)
   12456   ECHO_N='-n';;
   12457 esac
   12458 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12459    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12460   as_expr=expr
   12461 else
   12462   as_expr=false
   12463 fi
   12464 
   12465 rm -f conf$$ conf$$.exe conf$$.file
   12466 if test -d conf$$.dir; then
   12467   rm -f conf$$.dir/conf$$.file
   12468 else
   12469   rm -f conf$$.dir
   12470   mkdir conf$$.dir 2>/dev/null
   12471 fi
   12472 if (echo >conf$$.file) 2>/dev/null; then
   12473   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12474     as_ln_s='ln -s'
   12475     # ... but there are two gotchas:
   12476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12478     # In both cases, we have to default to `cp -p'.
   12479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12480       as_ln_s='cp -p'
   12481   elif ln conf$$.file conf$$ 2>/dev/null; then
   12482     as_ln_s=ln
   12483   else
   12484     as_ln_s='cp -p'
   12485   fi
   12486 else
   12487   as_ln_s='cp -p'
   12488 fi
   12489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12490 rmdir conf$$.dir 2>/dev/null
   12491 
   12492 if mkdir -p . 2>/dev/null; then
   12493   as_mkdir_p=:
   12494 else
   12495   test -d ./-p && rmdir ./-p
   12496   as_mkdir_p=false
   12497 fi
   12498 
   12499 if test -x / >/dev/null 2>&1; then
   12500   as_test_x='test -x'
   12501 else
   12502   if ls -dL / >/dev/null 2>&1; then
   12503     as_ls_L_option=L
   12504   else
   12505     as_ls_L_option=
   12506   fi
   12507   as_test_x='
   12508     eval sh -c '\''
   12509       if test -d "$1"; then
   12510 	test -d "$1/.";
   12511       else
   12512 	case $1 in
   12513 	-*)set "./$1";;
   12514 	esac;
   12515 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   12516 	???[sx]*):;;*)false;;esac;fi
   12517     '\'' sh
   12518   '
   12519 fi
   12520 as_executable_p=$as_test_x
   12521 
   12522 # Sed expression to map a string onto a valid CPP name.
   12523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12524 
   12525 # Sed expression to map a string onto a valid variable name.
   12526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12527 
   12528 
   12529 exec 6>&1
   12530 
   12531 # Save the log message, to keep $[0] and so on meaningful, and to
   12532 # report actual input values of CONFIG_FILES etc. instead of their
   12533 # values after options handling.
   12534 ac_log="
   12535 This file was extended by libXtst $as_me 1.1.0, which was
   12536 generated by GNU Autoconf 2.63.  Invocation command line was
   12537 
   12538   CONFIG_FILES    = $CONFIG_FILES
   12539   CONFIG_HEADERS  = $CONFIG_HEADERS
   12540   CONFIG_LINKS    = $CONFIG_LINKS
   12541   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12542   $ $0 $@
   12543 
   12544 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12545 "
   12546 
   12547 _ACEOF
   12548 
   12549 case $ac_config_files in *"
   12550 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12551 esac
   12552 
   12553 case $ac_config_headers in *"
   12554 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12555 esac
   12556 
   12557 
   12558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12559 # Files that config.status was made for.
   12560 config_files="$ac_config_files"
   12561 config_headers="$ac_config_headers"
   12562 config_commands="$ac_config_commands"
   12563 
   12564 _ACEOF
   12565 
   12566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12567 ac_cs_usage="\
   12568 \`$as_me' instantiates files from templates according to the
   12569 current configuration.
   12570 
   12571 Usage: $0 [OPTION]... [FILE]...
   12572 
   12573   -h, --help       print this help, then exit
   12574   -V, --version    print version number and configuration settings, then exit
   12575   -q, --quiet, --silent
   12576                    do not print progress messages
   12577   -d, --debug      don't remove temporary files
   12578       --recheck    update $as_me by reconfiguring in the same conditions
   12579       --file=FILE[:TEMPLATE]
   12580                    instantiate the configuration file FILE
   12581       --header=FILE[:TEMPLATE]
   12582                    instantiate the configuration header FILE
   12583 
   12584 Configuration files:
   12585 $config_files
   12586 
   12587 Configuration headers:
   12588 $config_headers
   12589 
   12590 Configuration commands:
   12591 $config_commands
   12592 
   12593 Report bugs to <bug-autoconf (at] gnu.org>."
   12594 
   12595 _ACEOF
   12596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12597 ac_cs_version="\\
   12598 libXtst config.status 1.1.0
   12599 configured by $0, generated by GNU Autoconf 2.63,
   12600   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   12601 
   12602 Copyright (C) 2008 Free Software Foundation, Inc.
   12603 This config.status script is free software; the Free Software Foundation
   12604 gives unlimited permission to copy, distribute and modify it."
   12605 
   12606 ac_pwd='$ac_pwd'
   12607 srcdir='$srcdir'
   12608 INSTALL='$INSTALL'
   12609 MKDIR_P='$MKDIR_P'
   12610 AWK='$AWK'
   12611 test -n "\$AWK" || AWK=awk
   12612 _ACEOF
   12613 
   12614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12615 # The default lists apply if the user does not specify any file.
   12616 ac_need_defaults=:
   12617 while test $# != 0
   12618 do
   12619   case $1 in
   12620   --*=*)
   12621     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12622     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12623     ac_shift=:
   12624     ;;
   12625   *)
   12626     ac_option=$1
   12627     ac_optarg=$2
   12628     ac_shift=shift
   12629     ;;
   12630   esac
   12631 
   12632   case $ac_option in
   12633   # Handling of the options.
   12634   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12635     ac_cs_recheck=: ;;
   12636   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12637     $as_echo "$ac_cs_version"; exit ;;
   12638   --debug | --debu | --deb | --de | --d | -d )
   12639     debug=: ;;
   12640   --file | --fil | --fi | --f )
   12641     $ac_shift
   12642     case $ac_optarg in
   12643     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12644     esac
   12645     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   12646     ac_need_defaults=false;;
   12647   --header | --heade | --head | --hea )
   12648     $ac_shift
   12649     case $ac_optarg in
   12650     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12651     esac
   12652     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   12653     ac_need_defaults=false;;
   12654   --he | --h)
   12655     # Conflict between --help and --header
   12656     { $as_echo "$as_me: error: ambiguous option: $1
   12657 Try \`$0 --help' for more information." >&2
   12658    { (exit 1); exit 1; }; };;
   12659   --help | --hel | -h )
   12660     $as_echo "$ac_cs_usage"; exit ;;
   12661   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12662   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12663     ac_cs_silent=: ;;
   12664 
   12665   # This is an error.
   12666   -*) { $as_echo "$as_me: error: unrecognized option: $1
   12667 Try \`$0 --help' for more information." >&2
   12668    { (exit 1); exit 1; }; } ;;
   12669 
   12670   *) ac_config_targets="$ac_config_targets $1"
   12671      ac_need_defaults=false ;;
   12672 
   12673   esac
   12674   shift
   12675 done
   12676 
   12677 ac_configure_extra_args=
   12678 
   12679 if $ac_cs_silent; then
   12680   exec 6>/dev/null
   12681   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12682 fi
   12683 
   12684 _ACEOF
   12685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12686 if \$ac_cs_recheck; then
   12687   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12688   shift
   12689   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12690   CONFIG_SHELL='$SHELL'
   12691   export CONFIG_SHELL
   12692   exec "\$@"
   12693 fi
   12694 
   12695 _ACEOF
   12696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12697 exec 5>>config.log
   12698 {
   12699   echo
   12700   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12701 ## Running $as_me. ##
   12702 _ASBOX
   12703   $as_echo "$ac_log"
   12704 } >&5
   12705 
   12706 _ACEOF
   12707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12708 #
   12709 # INIT-COMMANDS
   12710 #
   12711 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12712 
   12713 
   12714 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12715 # if CDPATH is set.
   12716 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12717 
   12718 sed_quote_subst='$sed_quote_subst'
   12719 double_quote_subst='$double_quote_subst'
   12720 delay_variable_subst='$delay_variable_subst'
   12721 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12722 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12723 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12724 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12725 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12726 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12727 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12728 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12729 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12730 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12731 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12732 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12733 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12734 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12735 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12736 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12737 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12738 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12739 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12740 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12741 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12742 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12743 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12744 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12745 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12746 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12747 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12748 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12749 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12750 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12751 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12752 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12753 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12754 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12755 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12756 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12757 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12758 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12759 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12760 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12761 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12762 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12763 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12764 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12765 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"`'
   12766 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"`'
   12767 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12768 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12769 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12770 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12771 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12772 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12773 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12774 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12775 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12776 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12777 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12778 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12779 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12780 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12781 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12782 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12783 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12784 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12785 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12786 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12787 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12788 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12789 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12790 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12791 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12792 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12793 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12794 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12795 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12796 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12797 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12798 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12799 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12800 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12801 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12802 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12803 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12804 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12805 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12806 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12807 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12808 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12809 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12810 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12811 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12812 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12813 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12814 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12815 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12816 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12817 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12818 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12819 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12820 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12821 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12822 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12823 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12824 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12825 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12826 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12827 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12828 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12829 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12830 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12831 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12832 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12833 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12834 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12835 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12836 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12837 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12838 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12839 
   12840 LTCC='$LTCC'
   12841 LTCFLAGS='$LTCFLAGS'
   12842 compiler='$compiler_DEFAULT'
   12843 
   12844 # Quote evaled strings.
   12845 for var in SED \
   12846 GREP \
   12847 EGREP \
   12848 FGREP \
   12849 LD \
   12850 NM \
   12851 LN_S \
   12852 lt_SP2NL \
   12853 lt_NL2SP \
   12854 reload_flag \
   12855 OBJDUMP \
   12856 deplibs_check_method \
   12857 file_magic_cmd \
   12858 AR \
   12859 AR_FLAGS \
   12860 STRIP \
   12861 RANLIB \
   12862 CC \
   12863 CFLAGS \
   12864 compiler \
   12865 lt_cv_sys_global_symbol_pipe \
   12866 lt_cv_sys_global_symbol_to_cdecl \
   12867 lt_cv_sys_global_symbol_to_c_name_address \
   12868 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12869 SHELL \
   12870 ECHO \
   12871 lt_prog_compiler_no_builtin_flag \
   12872 lt_prog_compiler_wl \
   12873 lt_prog_compiler_pic \
   12874 lt_prog_compiler_static \
   12875 lt_cv_prog_compiler_c_o \
   12876 need_locks \
   12877 DSYMUTIL \
   12878 NMEDIT \
   12879 LIPO \
   12880 OTOOL \
   12881 OTOOL64 \
   12882 shrext_cmds \
   12883 export_dynamic_flag_spec \
   12884 whole_archive_flag_spec \
   12885 compiler_needs_object \
   12886 with_gnu_ld \
   12887 allow_undefined_flag \
   12888 no_undefined_flag \
   12889 hardcode_libdir_flag_spec \
   12890 hardcode_libdir_flag_spec_ld \
   12891 hardcode_libdir_separator \
   12892 fix_srcfile_path \
   12893 exclude_expsyms \
   12894 include_expsyms \
   12895 file_list_spec \
   12896 variables_saved_for_relink \
   12897 libname_spec \
   12898 library_names_spec \
   12899 soname_spec \
   12900 finish_eval \
   12901 old_striplib \
   12902 striplib; do
   12903     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12904     *[\\\\\\\`\\"\\\$]*)
   12905       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12906       ;;
   12907     *)
   12908       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12909       ;;
   12910     esac
   12911 done
   12912 
   12913 # Double-quote double-evaled strings.
   12914 for var in reload_cmds \
   12915 old_postinstall_cmds \
   12916 old_postuninstall_cmds \
   12917 old_archive_cmds \
   12918 extract_expsyms_cmds \
   12919 old_archive_from_new_cmds \
   12920 old_archive_from_expsyms_cmds \
   12921 archive_cmds \
   12922 archive_expsym_cmds \
   12923 module_cmds \
   12924 module_expsym_cmds \
   12925 export_symbols_cmds \
   12926 prelink_cmds \
   12927 postinstall_cmds \
   12928 postuninstall_cmds \
   12929 finish_cmds \
   12930 sys_lib_search_path_spec \
   12931 sys_lib_dlsearch_path_spec; do
   12932     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12933     *[\\\\\\\`\\"\\\$]*)
   12934       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12935       ;;
   12936     *)
   12937       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12938       ;;
   12939     esac
   12940 done
   12941 
   12942 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12943 case \$lt_ECHO in
   12944 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12945   ;;
   12946 esac
   12947 
   12948 ac_aux_dir='$ac_aux_dir'
   12949 xsi_shell='$xsi_shell'
   12950 lt_shell_append='$lt_shell_append'
   12951 
   12952 # See if we are running on zsh, and set the options which allow our
   12953 # commands through without removal of \ escapes INIT.
   12954 if test -n "\${ZSH_VERSION+set}" ; then
   12955    setopt NO_GLOB_SUBST
   12956 fi
   12957 
   12958 
   12959     PACKAGE='$PACKAGE'
   12960     VERSION='$VERSION'
   12961     TIMESTAMP='$TIMESTAMP'
   12962     RM='$RM'
   12963     ofile='$ofile'
   12964 
   12965 
   12966 
   12967 
   12968 _ACEOF
   12969 
   12970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12971 
   12972 # Handling of arguments.
   12973 for ac_config_target in $ac_config_targets
   12974 do
   12975   case $ac_config_target in
   12976     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12977     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12978     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12979     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12980     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12981     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12982     "xtst.pc") CONFIG_FILES="$CONFIG_FILES xtst.pc" ;;
   12983 
   12984   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12985 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12986    { (exit 1); exit 1; }; };;
   12987   esac
   12988 done
   12989 
   12990 
   12991 # If the user did not use the arguments to specify the items to instantiate,
   12992 # then the envvar interface is used.  Set only those that are not.
   12993 # We use the long form for the default assignment because of an extremely
   12994 # bizarre bug on SunOS 4.1.3.
   12995 if $ac_need_defaults; then
   12996   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12997   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12998   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12999 fi
   13000 
   13001 # Have a temporary directory for convenience.  Make it in the build tree
   13002 # simply because there is no reason against having it here, and in addition,
   13003 # creating and moving files from /tmp can sometimes cause problems.
   13004 # Hook for its removal unless debugging.
   13005 # Note that there is a small window in which the directory will not be cleaned:
   13006 # after its creation but before its name has been assigned to `$tmp'.
   13007 $debug ||
   13008 {
   13009   tmp=
   13010   trap 'exit_status=$?
   13011   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13012 ' 0
   13013   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13014 }
   13015 # Create a (secure) tmp directory for tmp files.
   13016 
   13017 {
   13018   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13019   test -n "$tmp" && test -d "$tmp"
   13020 }  ||
   13021 {
   13022   tmp=./conf$$-$RANDOM
   13023   (umask 077 && mkdir "$tmp")
   13024 } ||
   13025 {
   13026    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   13027    { (exit 1); exit 1; }
   13028 }
   13029 
   13030 # Set up the scripts for CONFIG_FILES section.
   13031 # No need to generate them if there are no CONFIG_FILES.
   13032 # This happens for instance with `./config.status config.h'.
   13033 if test -n "$CONFIG_FILES"; then
   13034 
   13035 
   13036 ac_cr='
'
   13038 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13039 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13040   ac_cs_awk_cr='\\r'
   13041 else
   13042   ac_cs_awk_cr=$ac_cr
   13043 fi
   13044 
   13045 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13046 _ACEOF
   13047 
   13048 
   13049 {
   13050   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13051   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13052   echo "_ACEOF"
   13053 } >conf$$subs.sh ||
   13054   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13055 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13056    { (exit 1); exit 1; }; }
   13057 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   13058 ac_delim='%!_!# '
   13059 for ac_last_try in false false false false false :; do
   13060   . ./conf$$subs.sh ||
   13061     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13062 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13063    { (exit 1); exit 1; }; }
   13064 
   13065   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13066   if test $ac_delim_n = $ac_delim_num; then
   13067     break
   13068   elif $ac_last_try; then
   13069     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13070 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13071    { (exit 1); exit 1; }; }
   13072   else
   13073     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13074   fi
   13075 done
   13076 rm -f conf$$subs.sh
   13077 
   13078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13079 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13080 _ACEOF
   13081 sed -n '
   13082 h
   13083 s/^/S["/; s/!.*/"]=/
   13084 p
   13085 g
   13086 s/^[^!]*!//
   13087 :repl
   13088 t repl
   13089 s/'"$ac_delim"'$//
   13090 t delim
   13091 :nl
   13092 h
   13093 s/\(.\{148\}\).*/\1/
   13094 t more1
   13095 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13096 p
   13097 n
   13098 b repl
   13099 :more1
   13100 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13101 p
   13102 g
   13103 s/.\{148\}//
   13104 t nl
   13105 :delim
   13106 h
   13107 s/\(.\{148\}\).*/\1/
   13108 t more2
   13109 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13110 p
   13111 b
   13112 :more2
   13113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13114 p
   13115 g
   13116 s/.\{148\}//
   13117 t delim
   13118 ' <conf$$subs.awk | sed '
   13119 /^[^""]/{
   13120   N
   13121   s/\n//
   13122 }
   13123 ' >>$CONFIG_STATUS || ac_write_fail=1
   13124 rm -f conf$$subs.awk
   13125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13126 _ACAWK
   13127 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13128   for (key in S) S_is_set[key] = 1
   13129   FS = ""
   13130 
   13131 }
   13132 {
   13133   line = $ 0
   13134   nfields = split(line, field, "@")
   13135   substed = 0
   13136   len = length(field[1])
   13137   for (i = 2; i < nfields; i++) {
   13138     key = field[i]
   13139     keylen = length(key)
   13140     if (S_is_set[key]) {
   13141       value = S[key]
   13142       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13143       len += length(value) + length(field[++i])
   13144       substed = 1
   13145     } else
   13146       len += 1 + keylen
   13147   }
   13148 
   13149   print line
   13150 }
   13151 
   13152 _ACAWK
   13153 _ACEOF
   13154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13155 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13156   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13157 else
   13158   cat
   13159 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13160   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   13161 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   13162    { (exit 1); exit 1; }; }
   13163 _ACEOF
   13164 
   13165 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13166 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13167 # trailing colons and then remove the whole line if VPATH becomes empty
   13168 # (actually we leave an empty line to preserve line numbers).
   13169 if test "x$srcdir" = x.; then
   13170   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13171 s/:*\$(srcdir):*/:/
   13172 s/:*\${srcdir}:*/:/
   13173 s/:*@srcdir@:*/:/
   13174 s/^\([^=]*=[	 ]*\):*/\1/
   13175 s/:*$//
   13176 s/^[^=]*=[	 ]*$//
   13177 }'
   13178 fi
   13179 
   13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13181 fi # test -n "$CONFIG_FILES"
   13182 
   13183 # Set up the scripts for CONFIG_HEADERS section.
   13184 # No need to generate them if there are no CONFIG_HEADERS.
   13185 # This happens for instance with `./config.status Makefile'.
   13186 if test -n "$CONFIG_HEADERS"; then
   13187 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13188 BEGIN {
   13189 _ACEOF
   13190 
   13191 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13192 # here-document in config.status, that substitutes the proper values into
   13193 # config.h.in to produce config.h.
   13194 
   13195 # Create a delimiter string that does not exist in confdefs.h, to ease
   13196 # handling of long lines.
   13197 ac_delim='%!_!# '
   13198 for ac_last_try in false false :; do
   13199   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13200   if test -z "$ac_t"; then
   13201     break
   13202   elif $ac_last_try; then
   13203     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   13204 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   13205    { (exit 1); exit 1; }; }
   13206   else
   13207     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13208   fi
   13209 done
   13210 
   13211 # For the awk script, D is an array of macro values keyed by name,
   13212 # likewise P contains macro parameters if any.  Preserve backslash
   13213 # newline sequences.
   13214 
   13215 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13216 sed -n '
   13217 s/.\{148\}/&'"$ac_delim"'/g
   13218 t rset
   13219 :rset
   13220 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13221 t def
   13222 d
   13223 :def
   13224 s/\\$//
   13225 t bsnl
   13226 s/["\\]/\\&/g
   13227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13228 D["\1"]=" \3"/p
   13229 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13230 d
   13231 :bsnl
   13232 s/["\\]/\\&/g
   13233 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13234 D["\1"]=" \3\\\\\\n"\\/p
   13235 t cont
   13236 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13237 t cont
   13238 d
   13239 :cont
   13240 n
   13241 s/.\{148\}/&'"$ac_delim"'/g
   13242 t clear
   13243 :clear
   13244 s/\\$//
   13245 t bsnlc
   13246 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13247 d
   13248 :bsnlc
   13249 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13250 b cont
   13251 ' <confdefs.h | sed '
   13252 s/'"$ac_delim"'/"\\\
   13253 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13254 
   13255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13256   for (key in D) D_is_set[key] = 1
   13257   FS = ""
   13258 }
   13259 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13260   line = \$ 0
   13261   split(line, arg, " ")
   13262   if (arg[1] == "#") {
   13263     defundef = arg[2]
   13264     mac1 = arg[3]
   13265   } else {
   13266     defundef = substr(arg[1], 2)
   13267     mac1 = arg[2]
   13268   }
   13269   split(mac1, mac2, "(") #)
   13270   macro = mac2[1]
   13271   prefix = substr(line, 1, index(line, defundef) - 1)
   13272   if (D_is_set[macro]) {
   13273     # Preserve the white space surrounding the "#".
   13274     print prefix "define", macro P[macro] D[macro]
   13275     next
   13276   } else {
   13277     # Replace #undef with comments.  This is necessary, for example,
   13278     # in the case of _POSIX_SOURCE, which is predefined and required
   13279     # on some systems where configure will not decide to define it.
   13280     if (defundef == "undef") {
   13281       print "/*", prefix defundef, macro, "*/"
   13282       next
   13283     }
   13284   }
   13285 }
   13286 { print }
   13287 _ACAWK
   13288 _ACEOF
   13289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13290   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   13291 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   13292    { (exit 1); exit 1; }; }
   13293 fi # test -n "$CONFIG_HEADERS"
   13294 
   13295 
   13296 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13297 shift
   13298 for ac_tag
   13299 do
   13300   case $ac_tag in
   13301   :[FHLC]) ac_mode=$ac_tag; continue;;
   13302   esac
   13303   case $ac_mode$ac_tag in
   13304   :[FHL]*:*);;
   13305   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   13306 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   13307    { (exit 1); exit 1; }; };;
   13308   :[FH]-) ac_tag=-:-;;
   13309   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13310   esac
   13311   ac_save_IFS=$IFS
   13312   IFS=:
   13313   set x $ac_tag
   13314   IFS=$ac_save_IFS
   13315   shift
   13316   ac_file=$1
   13317   shift
   13318 
   13319   case $ac_mode in
   13320   :L) ac_source=$1;;
   13321   :[FH])
   13322     ac_file_inputs=
   13323     for ac_f
   13324     do
   13325       case $ac_f in
   13326       -) ac_f="$tmp/stdin";;
   13327       *) # Look for the file first in the build tree, then in the source tree
   13328 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13329 	 # because $ac_f cannot contain `:'.
   13330 	 test -f "$ac_f" ||
   13331 	   case $ac_f in
   13332 	   [\\/$]*) false;;
   13333 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13334 	   esac ||
   13335 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   13336 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   13337    { (exit 1); exit 1; }; };;
   13338       esac
   13339       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13340       ac_file_inputs="$ac_file_inputs '$ac_f'"
   13341     done
   13342 
   13343     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13344     # use $as_me), people would be surprised to read:
   13345     #    /* config.h.  Generated by config.status.  */
   13346     configure_input='Generated from '`
   13347 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13348 	`' by configure.'
   13349     if test x"$ac_file" != x-; then
   13350       configure_input="$ac_file.  $configure_input"
   13351       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   13352 $as_echo "$as_me: creating $ac_file" >&6;}
   13353     fi
   13354     # Neutralize special characters interpreted by sed in replacement strings.
   13355     case $configure_input in #(
   13356     *\&* | *\|* | *\\* )
   13357        ac_sed_conf_input=`$as_echo "$configure_input" |
   13358        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13359     *) ac_sed_conf_input=$configure_input;;
   13360     esac
   13361 
   13362     case $ac_tag in
   13363     *:-:* | *:-) cat >"$tmp/stdin" \
   13364       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13365 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13366    { (exit 1); exit 1; }; } ;;
   13367     esac
   13368     ;;
   13369   esac
   13370 
   13371   ac_dir=`$as_dirname -- "$ac_file" ||
   13372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13373 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13374 	 X"$ac_file" : 'X\(//\)$' \| \
   13375 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13376 $as_echo X"$ac_file" |
   13377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13378 	    s//\1/
   13379 	    q
   13380 	  }
   13381 	  /^X\(\/\/\)[^/].*/{
   13382 	    s//\1/
   13383 	    q
   13384 	  }
   13385 	  /^X\(\/\/\)$/{
   13386 	    s//\1/
   13387 	    q
   13388 	  }
   13389 	  /^X\(\/\).*/{
   13390 	    s//\1/
   13391 	    q
   13392 	  }
   13393 	  s/.*/./; q'`
   13394   { as_dir="$ac_dir"
   13395   case $as_dir in #(
   13396   -*) as_dir=./$as_dir;;
   13397   esac
   13398   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13399     as_dirs=
   13400     while :; do
   13401       case $as_dir in #(
   13402       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13403       *) as_qdir=$as_dir;;
   13404       esac
   13405       as_dirs="'$as_qdir' $as_dirs"
   13406       as_dir=`$as_dirname -- "$as_dir" ||
   13407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13408 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13409 	 X"$as_dir" : 'X\(//\)$' \| \
   13410 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13411 $as_echo X"$as_dir" |
   13412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13413 	    s//\1/
   13414 	    q
   13415 	  }
   13416 	  /^X\(\/\/\)[^/].*/{
   13417 	    s//\1/
   13418 	    q
   13419 	  }
   13420 	  /^X\(\/\/\)$/{
   13421 	    s//\1/
   13422 	    q
   13423 	  }
   13424 	  /^X\(\/\).*/{
   13425 	    s//\1/
   13426 	    q
   13427 	  }
   13428 	  s/.*/./; q'`
   13429       test -d "$as_dir" && break
   13430     done
   13431     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13432   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13433 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13434    { (exit 1); exit 1; }; }; }
   13435   ac_builddir=.
   13436 
   13437 case "$ac_dir" in
   13438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13439 *)
   13440   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13441   # A ".." for each directory in $ac_dir_suffix.
   13442   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13443   case $ac_top_builddir_sub in
   13444   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13445   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13446   esac ;;
   13447 esac
   13448 ac_abs_top_builddir=$ac_pwd
   13449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13450 # for backward compatibility:
   13451 ac_top_builddir=$ac_top_build_prefix
   13452 
   13453 case $srcdir in
   13454   .)  # We are building in place.
   13455     ac_srcdir=.
   13456     ac_top_srcdir=$ac_top_builddir_sub
   13457     ac_abs_top_srcdir=$ac_pwd ;;
   13458   [\\/]* | ?:[\\/]* )  # Absolute name.
   13459     ac_srcdir=$srcdir$ac_dir_suffix;
   13460     ac_top_srcdir=$srcdir
   13461     ac_abs_top_srcdir=$srcdir ;;
   13462   *) # Relative name.
   13463     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13464     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13465     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13466 esac
   13467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13468 
   13469 
   13470   case $ac_mode in
   13471   :F)
   13472   #
   13473   # CONFIG_FILE
   13474   #
   13475 
   13476   case $INSTALL in
   13477   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13478   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13479   esac
   13480   ac_MKDIR_P=$MKDIR_P
   13481   case $MKDIR_P in
   13482   [\\/$]* | ?:[\\/]* ) ;;
   13483   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13484   esac
   13485 _ACEOF
   13486 
   13487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13488 # If the template does not know about datarootdir, expand it.
   13489 # FIXME: This hack should be removed a few years after 2.60.
   13490 ac_datarootdir_hack=; ac_datarootdir_seen=
   13491 
   13492 ac_sed_dataroot='
   13493 /datarootdir/ {
   13494   p
   13495   q
   13496 }
   13497 /@datadir@/p
   13498 /@docdir@/p
   13499 /@infodir@/p
   13500 /@localedir@/p
   13501 /@mandir@/p
   13502 '
   13503 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13504 *datarootdir*) ac_datarootdir_seen=yes;;
   13505 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13506   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13507 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13508 _ACEOF
   13509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13510   ac_datarootdir_hack='
   13511   s&@datadir@&$datadir&g
   13512   s&@docdir@&$docdir&g
   13513   s&@infodir@&$infodir&g
   13514   s&@localedir@&$localedir&g
   13515   s&@mandir@&$mandir&g
   13516     s&\\\${datarootdir}&$datarootdir&g' ;;
   13517 esac
   13518 _ACEOF
   13519 
   13520 # Neutralize VPATH when `$srcdir' = `.'.
   13521 # Shell code in configure.ac might set extrasub.
   13522 # FIXME: do we really want to maintain this feature?
   13523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13524 ac_sed_extra="$ac_vpsub
   13525 $extrasub
   13526 _ACEOF
   13527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13528 :t
   13529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13530 s|@configure_input@|$ac_sed_conf_input|;t t
   13531 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13532 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13533 s&@srcdir@&$ac_srcdir&;t t
   13534 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13535 s&@top_srcdir@&$ac_top_srcdir&;t t
   13536 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13537 s&@builddir@&$ac_builddir&;t t
   13538 s&@abs_builddir@&$ac_abs_builddir&;t t
   13539 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13540 s&@INSTALL@&$ac_INSTALL&;t t
   13541 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13542 $ac_datarootdir_hack
   13543 "
   13544 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13545   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13546 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13547    { (exit 1); exit 1; }; }
   13548 
   13549 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13550   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13551   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13552   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13553 which seems to be undefined.  Please make sure it is defined." >&5
   13554 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13555 which seems to be undefined.  Please make sure it is defined." >&2;}
   13556 
   13557   rm -f "$tmp/stdin"
   13558   case $ac_file in
   13559   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13560   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13561   esac \
   13562   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13563 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13564    { (exit 1); exit 1; }; }
   13565  ;;
   13566   :H)
   13567   #
   13568   # CONFIG_HEADER
   13569   #
   13570   if test x"$ac_file" != x-; then
   13571     {
   13572       $as_echo "/* $configure_input  */" \
   13573       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13574     } >"$tmp/config.h" \
   13575       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13576 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13577    { (exit 1); exit 1; }; }
   13578     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13579       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   13580 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13581     else
   13582       rm -f "$ac_file"
   13583       mv "$tmp/config.h" "$ac_file" \
   13584 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13585 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13586    { (exit 1); exit 1; }; }
   13587     fi
   13588   else
   13589     $as_echo "/* $configure_input  */" \
   13590       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13591       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   13592 $as_echo "$as_me: error: could not create -" >&2;}
   13593    { (exit 1); exit 1; }; }
   13594   fi
   13595 # Compute "$ac_file"'s index in $config_headers.
   13596 _am_arg="$ac_file"
   13597 _am_stamp_count=1
   13598 for _am_header in $config_headers :; do
   13599   case $_am_header in
   13600     $_am_arg | $_am_arg:* )
   13601       break ;;
   13602     * )
   13603       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13604   esac
   13605 done
   13606 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13607 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13608 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13609 	 X"$_am_arg" : 'X\(//\)$' \| \
   13610 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13611 $as_echo X"$_am_arg" |
   13612     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13613 	    s//\1/
   13614 	    q
   13615 	  }
   13616 	  /^X\(\/\/\)[^/].*/{
   13617 	    s//\1/
   13618 	    q
   13619 	  }
   13620 	  /^X\(\/\/\)$/{
   13621 	    s//\1/
   13622 	    q
   13623 	  }
   13624 	  /^X\(\/\).*/{
   13625 	    s//\1/
   13626 	    q
   13627 	  }
   13628 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13629  ;;
   13630 
   13631   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   13632 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13633  ;;
   13634   esac
   13635 
   13636 
   13637   case $ac_file$ac_mode in
   13638     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13639   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13640   # are listed without --file.  Let's play safe and only enable the eval
   13641   # if we detect the quoting.
   13642   case $CONFIG_FILES in
   13643   *\'*) eval set x "$CONFIG_FILES" ;;
   13644   *)   set x $CONFIG_FILES ;;
   13645   esac
   13646   shift
   13647   for mf
   13648   do
   13649     # Strip MF so we end up with the name of the file.
   13650     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13651     # Check whether this is an Automake generated Makefile or not.
   13652     # We used to match only the files named `Makefile.in', but
   13653     # some people rename them; so instead we look at the file content.
   13654     # Grep'ing the first line is not enough: some people post-process
   13655     # each Makefile.in and add a new line on top of each file to say so.
   13656     # Grep'ing the whole file is not good either: AIX grep has a line
   13657     # limit of 2048, but all sed's we know have understand at least 4000.
   13658     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13659       dirpart=`$as_dirname -- "$mf" ||
   13660 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13661 	 X"$mf" : 'X\(//\)[^/]' \| \
   13662 	 X"$mf" : 'X\(//\)$' \| \
   13663 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13664 $as_echo X"$mf" |
   13665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13666 	    s//\1/
   13667 	    q
   13668 	  }
   13669 	  /^X\(\/\/\)[^/].*/{
   13670 	    s//\1/
   13671 	    q
   13672 	  }
   13673 	  /^X\(\/\/\)$/{
   13674 	    s//\1/
   13675 	    q
   13676 	  }
   13677 	  /^X\(\/\).*/{
   13678 	    s//\1/
   13679 	    q
   13680 	  }
   13681 	  s/.*/./; q'`
   13682     else
   13683       continue
   13684     fi
   13685     # Extract the definition of DEPDIR, am__include, and am__quote
   13686     # from the Makefile without running `make'.
   13687     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13688     test -z "$DEPDIR" && continue
   13689     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13690     test -z "am__include" && continue
   13691     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13692     # When using ansi2knr, U may be empty or an underscore; expand it
   13693     U=`sed -n 's/^U = //p' < "$mf"`
   13694     # Find all dependency output files, they are included files with
   13695     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13696     # simplest approach to changing $(DEPDIR) to its actual value in the
   13697     # expansion.
   13698     for file in `sed -n "
   13699       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13700 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13701       # Make sure the directory exists.
   13702       test -f "$dirpart/$file" && continue
   13703       fdir=`$as_dirname -- "$file" ||
   13704 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13705 	 X"$file" : 'X\(//\)[^/]' \| \
   13706 	 X"$file" : 'X\(//\)$' \| \
   13707 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13708 $as_echo X"$file" |
   13709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13710 	    s//\1/
   13711 	    q
   13712 	  }
   13713 	  /^X\(\/\/\)[^/].*/{
   13714 	    s//\1/
   13715 	    q
   13716 	  }
   13717 	  /^X\(\/\/\)$/{
   13718 	    s//\1/
   13719 	    q
   13720 	  }
   13721 	  /^X\(\/\).*/{
   13722 	    s//\1/
   13723 	    q
   13724 	  }
   13725 	  s/.*/./; q'`
   13726       { as_dir=$dirpart/$fdir
   13727   case $as_dir in #(
   13728   -*) as_dir=./$as_dir;;
   13729   esac
   13730   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13731     as_dirs=
   13732     while :; do
   13733       case $as_dir in #(
   13734       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13735       *) as_qdir=$as_dir;;
   13736       esac
   13737       as_dirs="'$as_qdir' $as_dirs"
   13738       as_dir=`$as_dirname -- "$as_dir" ||
   13739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13740 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13741 	 X"$as_dir" : 'X\(//\)$' \| \
   13742 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13743 $as_echo X"$as_dir" |
   13744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13745 	    s//\1/
   13746 	    q
   13747 	  }
   13748 	  /^X\(\/\/\)[^/].*/{
   13749 	    s//\1/
   13750 	    q
   13751 	  }
   13752 	  /^X\(\/\/\)$/{
   13753 	    s//\1/
   13754 	    q
   13755 	  }
   13756 	  /^X\(\/\).*/{
   13757 	    s//\1/
   13758 	    q
   13759 	  }
   13760 	  s/.*/./; q'`
   13761       test -d "$as_dir" && break
   13762     done
   13763     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13764   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13765 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13766    { (exit 1); exit 1; }; }; }
   13767       # echo "creating $dirpart/$file"
   13768       echo '# dummy' > "$dirpart/$file"
   13769     done
   13770   done
   13771 }
   13772  ;;
   13773     "libtool":C)
   13774 
   13775     # See if we are running on zsh, and set the options which allow our
   13776     # commands through without removal of \ escapes.
   13777     if test -n "${ZSH_VERSION+set}" ; then
   13778       setopt NO_GLOB_SUBST
   13779     fi
   13780 
   13781     cfgfile="${ofile}T"
   13782     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13783     $RM "$cfgfile"
   13784 
   13785     cat <<_LT_EOF >> "$cfgfile"
   13786 #! $SHELL
   13787 
   13788 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13789 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13790 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13791 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13792 #
   13793 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13794 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13795 #   Written by Gordon Matzigkeit, 1996
   13796 #
   13797 #   This file is part of GNU Libtool.
   13798 #
   13799 # GNU Libtool is free software; you can redistribute it and/or
   13800 # modify it under the terms of the GNU General Public License as
   13801 # published by the Free Software Foundation; either version 2 of
   13802 # the License, or (at your option) any later version.
   13803 #
   13804 # As a special exception to the GNU General Public License,
   13805 # if you distribute this file as part of a program or library that
   13806 # is built using GNU Libtool, you may include this file under the
   13807 # same distribution terms that you use for the rest of that program.
   13808 #
   13809 # GNU Libtool is distributed in the hope that it will be useful,
   13810 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13812 # GNU General Public License for more details.
   13813 #
   13814 # You should have received a copy of the GNU General Public License
   13815 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13816 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13817 # obtained by writing to the Free Software Foundation, Inc.,
   13818 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13819 
   13820 
   13821 # The names of the tagged configurations supported by this script.
   13822 available_tags=""
   13823 
   13824 # ### BEGIN LIBTOOL CONFIG
   13825 
   13826 # Which release of libtool.m4 was used?
   13827 macro_version=$macro_version
   13828 macro_revision=$macro_revision
   13829 
   13830 # Whether or not to build shared libraries.
   13831 build_libtool_libs=$enable_shared
   13832 
   13833 # Whether or not to build static libraries.
   13834 build_old_libs=$enable_static
   13835 
   13836 # What type of objects to build.
   13837 pic_mode=$pic_mode
   13838 
   13839 # Whether or not to optimize for fast installation.
   13840 fast_install=$enable_fast_install
   13841 
   13842 # The host system.
   13843 host_alias=$host_alias
   13844 host=$host
   13845 host_os=$host_os
   13846 
   13847 # The build system.
   13848 build_alias=$build_alias
   13849 build=$build
   13850 build_os=$build_os
   13851 
   13852 # A sed program that does not truncate output.
   13853 SED=$lt_SED
   13854 
   13855 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13856 Xsed="\$SED -e 1s/^X//"
   13857 
   13858 # A grep program that handles long lines.
   13859 GREP=$lt_GREP
   13860 
   13861 # An ERE matcher.
   13862 EGREP=$lt_EGREP
   13863 
   13864 # A literal string matcher.
   13865 FGREP=$lt_FGREP
   13866 
   13867 # A BSD- or MS-compatible name lister.
   13868 NM=$lt_NM
   13869 
   13870 # Whether we need soft or hard links.
   13871 LN_S=$lt_LN_S
   13872 
   13873 # What is the maximum length of a command?
   13874 max_cmd_len=$max_cmd_len
   13875 
   13876 # Object file suffix (normally "o").
   13877 objext=$ac_objext
   13878 
   13879 # Executable file suffix (normally "").
   13880 exeext=$exeext
   13881 
   13882 # whether the shell understands "unset".
   13883 lt_unset=$lt_unset
   13884 
   13885 # turn spaces into newlines.
   13886 SP2NL=$lt_lt_SP2NL
   13887 
   13888 # turn newlines into spaces.
   13889 NL2SP=$lt_lt_NL2SP
   13890 
   13891 # How to create reloadable object files.
   13892 reload_flag=$lt_reload_flag
   13893 reload_cmds=$lt_reload_cmds
   13894 
   13895 # An object symbol dumper.
   13896 OBJDUMP=$lt_OBJDUMP
   13897 
   13898 # Method to check whether dependent libraries are shared objects.
   13899 deplibs_check_method=$lt_deplibs_check_method
   13900 
   13901 # Command to use when deplibs_check_method == "file_magic".
   13902 file_magic_cmd=$lt_file_magic_cmd
   13903 
   13904 # The archiver.
   13905 AR=$lt_AR
   13906 AR_FLAGS=$lt_AR_FLAGS
   13907 
   13908 # A symbol stripping program.
   13909 STRIP=$lt_STRIP
   13910 
   13911 # Commands used to install an old-style archive.
   13912 RANLIB=$lt_RANLIB
   13913 old_postinstall_cmds=$lt_old_postinstall_cmds
   13914 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13915 
   13916 # A C compiler.
   13917 LTCC=$lt_CC
   13918 
   13919 # LTCC compiler flags.
   13920 LTCFLAGS=$lt_CFLAGS
   13921 
   13922 # Take the output of nm and produce a listing of raw symbols and C names.
   13923 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13924 
   13925 # Transform the output of nm in a proper C declaration.
   13926 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13927 
   13928 # Transform the output of nm in a C name address pair.
   13929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13930 
   13931 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13932 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13933 
   13934 # The name of the directory that contains temporary libtool files.
   13935 objdir=$objdir
   13936 
   13937 # Shell to use when invoking shell scripts.
   13938 SHELL=$lt_SHELL
   13939 
   13940 # An echo program that does not interpret backslashes.
   13941 ECHO=$lt_ECHO
   13942 
   13943 # Used to examine libraries when file_magic_cmd begins with "file".
   13944 MAGIC_CMD=$MAGIC_CMD
   13945 
   13946 # Must we lock files when doing compilation?
   13947 need_locks=$lt_need_locks
   13948 
   13949 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13950 DSYMUTIL=$lt_DSYMUTIL
   13951 
   13952 # Tool to change global to local symbols on Mac OS X.
   13953 NMEDIT=$lt_NMEDIT
   13954 
   13955 # Tool to manipulate fat objects and archives on Mac OS X.
   13956 LIPO=$lt_LIPO
   13957 
   13958 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13959 OTOOL=$lt_OTOOL
   13960 
   13961 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13962 OTOOL64=$lt_OTOOL64
   13963 
   13964 # Old archive suffix (normally "a").
   13965 libext=$libext
   13966 
   13967 # Shared library suffix (normally ".so").
   13968 shrext_cmds=$lt_shrext_cmds
   13969 
   13970 # The commands to extract the exported symbol list from a shared archive.
   13971 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13972 
   13973 # Variables whose values should be saved in libtool wrapper scripts and
   13974 # restored at link time.
   13975 variables_saved_for_relink=$lt_variables_saved_for_relink
   13976 
   13977 # Do we need the "lib" prefix for modules?
   13978 need_lib_prefix=$need_lib_prefix
   13979 
   13980 # Do we need a version for libraries?
   13981 need_version=$need_version
   13982 
   13983 # Library versioning type.
   13984 version_type=$version_type
   13985 
   13986 # Shared library runtime path variable.
   13987 runpath_var=$runpath_var
   13988 
   13989 # Shared library path variable.
   13990 shlibpath_var=$shlibpath_var
   13991 
   13992 # Is shlibpath searched before the hard-coded library search path?
   13993 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13994 
   13995 # Format of library name prefix.
   13996 libname_spec=$lt_libname_spec
   13997 
   13998 # List of archive names.  First name is the real one, the rest are links.
   13999 # The last name is the one that the linker finds with -lNAME
   14000 library_names_spec=$lt_library_names_spec
   14001 
   14002 # The coded name of the library, if different from the real name.
   14003 soname_spec=$lt_soname_spec
   14004 
   14005 # Command to use after installation of a shared archive.
   14006 postinstall_cmds=$lt_postinstall_cmds
   14007 
   14008 # Command to use after uninstallation of a shared archive.
   14009 postuninstall_cmds=$lt_postuninstall_cmds
   14010 
   14011 # Commands used to finish a libtool library installation in a directory.
   14012 finish_cmds=$lt_finish_cmds
   14013 
   14014 # As "finish_cmds", except a single script fragment to be evaled but
   14015 # not shown.
   14016 finish_eval=$lt_finish_eval
   14017 
   14018 # Whether we should hardcode library paths into libraries.
   14019 hardcode_into_libs=$hardcode_into_libs
   14020 
   14021 # Compile-time system search path for libraries.
   14022 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14023 
   14024 # Run-time system search path for libraries.
   14025 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14026 
   14027 # Whether dlopen is supported.
   14028 dlopen_support=$enable_dlopen
   14029 
   14030 # Whether dlopen of programs is supported.
   14031 dlopen_self=$enable_dlopen_self
   14032 
   14033 # Whether dlopen of statically linked programs is supported.
   14034 dlopen_self_static=$enable_dlopen_self_static
   14035 
   14036 # Commands to strip libraries.
   14037 old_striplib=$lt_old_striplib
   14038 striplib=$lt_striplib
   14039 
   14040 
   14041 # The linker used to build libraries.
   14042 LD=$lt_LD
   14043 
   14044 # Commands used to build an old-style archive.
   14045 old_archive_cmds=$lt_old_archive_cmds
   14046 
   14047 # A language specific compiler.
   14048 CC=$lt_compiler
   14049 
   14050 # Is the compiler the GNU compiler?
   14051 with_gcc=$GCC
   14052 
   14053 # Compiler flag to turn off builtin functions.
   14054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14055 
   14056 # How to pass a linker flag through the compiler.
   14057 wl=$lt_lt_prog_compiler_wl
   14058 
   14059 # Additional compiler flags for building library objects.
   14060 pic_flag=$lt_lt_prog_compiler_pic
   14061 
   14062 # Compiler flag to prevent dynamic linking.
   14063 link_static_flag=$lt_lt_prog_compiler_static
   14064 
   14065 # Does compiler simultaneously support -c and -o options?
   14066 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14067 
   14068 # Whether or not to add -lc for building shared libraries.
   14069 build_libtool_need_lc=$archive_cmds_need_lc
   14070 
   14071 # Whether or not to disallow shared libs when runtime libs are static.
   14072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14073 
   14074 # Compiler flag to allow reflexive dlopens.
   14075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14076 
   14077 # Compiler flag to generate shared objects directly from archives.
   14078 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14079 
   14080 # Whether the compiler copes with passing no objects directly.
   14081 compiler_needs_object=$lt_compiler_needs_object
   14082 
   14083 # Create an old-style archive from a shared archive.
   14084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14085 
   14086 # Create a temporary old-style archive to link instead of a shared archive.
   14087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14088 
   14089 # Commands used to build a shared archive.
   14090 archive_cmds=$lt_archive_cmds
   14091 archive_expsym_cmds=$lt_archive_expsym_cmds
   14092 
   14093 # Commands used to build a loadable module if different from building
   14094 # a shared archive.
   14095 module_cmds=$lt_module_cmds
   14096 module_expsym_cmds=$lt_module_expsym_cmds
   14097 
   14098 # Whether we are building with GNU ld or not.
   14099 with_gnu_ld=$lt_with_gnu_ld
   14100 
   14101 # Flag that allows shared libraries with undefined symbols to be built.
   14102 allow_undefined_flag=$lt_allow_undefined_flag
   14103 
   14104 # Flag that enforces no undefined symbols.
   14105 no_undefined_flag=$lt_no_undefined_flag
   14106 
   14107 # Flag to hardcode \$libdir into a binary during linking.
   14108 # This must work even if \$libdir does not exist
   14109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14110 
   14111 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14112 # during linking.  This must work even if \$libdir does not exist.
   14113 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14114 
   14115 # Whether we need a single "-rpath" flag with a separated argument.
   14116 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14117 
   14118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14119 # DIR into the resulting binary.
   14120 hardcode_direct=$hardcode_direct
   14121 
   14122 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14123 # DIR into the resulting binary and the resulting library dependency is
   14124 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14125 # library is relocated.
   14126 hardcode_direct_absolute=$hardcode_direct_absolute
   14127 
   14128 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14129 # into the resulting binary.
   14130 hardcode_minus_L=$hardcode_minus_L
   14131 
   14132 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14133 # into the resulting binary.
   14134 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14135 
   14136 # Set to "yes" if building a shared library automatically hardcodes DIR
   14137 # into the library and all subsequent libraries and executables linked
   14138 # against it.
   14139 hardcode_automatic=$hardcode_automatic
   14140 
   14141 # Set to yes if linker adds runtime paths of dependent libraries
   14142 # to runtime path list.
   14143 inherit_rpath=$inherit_rpath
   14144 
   14145 # Whether libtool must link a program against all its dependency libraries.
   14146 link_all_deplibs=$link_all_deplibs
   14147 
   14148 # Fix the shell variable \$srcfile for the compiler.
   14149 fix_srcfile_path=$lt_fix_srcfile_path
   14150 
   14151 # Set to "yes" if exported symbols are required.
   14152 always_export_symbols=$always_export_symbols
   14153 
   14154 # The commands to list exported symbols.
   14155 export_symbols_cmds=$lt_export_symbols_cmds
   14156 
   14157 # Symbols that should not be listed in the preloaded symbols.
   14158 exclude_expsyms=$lt_exclude_expsyms
   14159 
   14160 # Symbols that must always be exported.
   14161 include_expsyms=$lt_include_expsyms
   14162 
   14163 # Commands necessary for linking programs (against libraries) with templates.
   14164 prelink_cmds=$lt_prelink_cmds
   14165 
   14166 # Specify filename containing input files.
   14167 file_list_spec=$lt_file_list_spec
   14168 
   14169 # How to hardcode a shared library path into an executable.
   14170 hardcode_action=$hardcode_action
   14171 
   14172 # ### END LIBTOOL CONFIG
   14173 
   14174 _LT_EOF
   14175 
   14176   case $host_os in
   14177   aix3*)
   14178     cat <<\_LT_EOF >> "$cfgfile"
   14179 # AIX sometimes has problems with the GCC collect2 program.  For some
   14180 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14181 # vanish in a puff of smoke.
   14182 if test "X${COLLECT_NAMES+set}" != Xset; then
   14183   COLLECT_NAMES=
   14184   export COLLECT_NAMES
   14185 fi
   14186 _LT_EOF
   14187     ;;
   14188   esac
   14189 
   14190 
   14191 ltmain="$ac_aux_dir/ltmain.sh"
   14192 
   14193 
   14194   # We use sed instead of cat because bash on DJGPP gets confused if
   14195   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14196   # text mode, it properly converts lines to CR/LF.  This bash problem
   14197   # is reportedly fixed, but why not run on old versions too?
   14198   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14199     || (rm -f "$cfgfile"; exit 1)
   14200 
   14201   case $xsi_shell in
   14202   yes)
   14203     cat << \_LT_EOF >> "$cfgfile"
   14204 
   14205 # func_dirname file append nondir_replacement
   14206 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14207 # otherwise set result to NONDIR_REPLACEMENT.
   14208 func_dirname ()
   14209 {
   14210   case ${1} in
   14211     */*) func_dirname_result="${1%/*}${2}" ;;
   14212     *  ) func_dirname_result="${3}" ;;
   14213   esac
   14214 }
   14215 
   14216 # func_basename file
   14217 func_basename ()
   14218 {
   14219   func_basename_result="${1##*/}"
   14220 }
   14221 
   14222 # func_dirname_and_basename file append nondir_replacement
   14223 # perform func_basename and func_dirname in a single function
   14224 # call:
   14225 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14226 #             add APPEND to the result, otherwise set result
   14227 #             to NONDIR_REPLACEMENT.
   14228 #             value returned in "$func_dirname_result"
   14229 #   basename: Compute filename of FILE.
   14230 #             value retuned in "$func_basename_result"
   14231 # Implementation must be kept synchronized with func_dirname
   14232 # and func_basename. For efficiency, we do not delegate to
   14233 # those functions but instead duplicate the functionality here.
   14234 func_dirname_and_basename ()
   14235 {
   14236   case ${1} in
   14237     */*) func_dirname_result="${1%/*}${2}" ;;
   14238     *  ) func_dirname_result="${3}" ;;
   14239   esac
   14240   func_basename_result="${1##*/}"
   14241 }
   14242 
   14243 # func_stripname prefix suffix name
   14244 # strip PREFIX and SUFFIX off of NAME.
   14245 # PREFIX and SUFFIX must not contain globbing or regex special
   14246 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14247 # dot (in which case that matches only a dot).
   14248 func_stripname ()
   14249 {
   14250   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14251   # positional parameters, so assign one to ordinary parameter first.
   14252   func_stripname_result=${3}
   14253   func_stripname_result=${func_stripname_result#"${1}"}
   14254   func_stripname_result=${func_stripname_result%"${2}"}
   14255 }
   14256 
   14257 # func_opt_split
   14258 func_opt_split ()
   14259 {
   14260   func_opt_split_opt=${1%%=*}
   14261   func_opt_split_arg=${1#*=}
   14262 }
   14263 
   14264 # func_lo2o object
   14265 func_lo2o ()
   14266 {
   14267   case ${1} in
   14268     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14269     *)    func_lo2o_result=${1} ;;
   14270   esac
   14271 }
   14272 
   14273 # func_xform libobj-or-source
   14274 func_xform ()
   14275 {
   14276   func_xform_result=${1%.*}.lo
   14277 }
   14278 
   14279 # func_arith arithmetic-term...
   14280 func_arith ()
   14281 {
   14282   func_arith_result=$(( $* ))
   14283 }
   14284 
   14285 # func_len string
   14286 # STRING may not start with a hyphen.
   14287 func_len ()
   14288 {
   14289   func_len_result=${#1}
   14290 }
   14291 
   14292 _LT_EOF
   14293     ;;
   14294   *) # Bourne compatible functions.
   14295     cat << \_LT_EOF >> "$cfgfile"
   14296 
   14297 # func_dirname file append nondir_replacement
   14298 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14299 # otherwise set result to NONDIR_REPLACEMENT.
   14300 func_dirname ()
   14301 {
   14302   # Extract subdirectory from the argument.
   14303   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14304   if test "X$func_dirname_result" = "X${1}"; then
   14305     func_dirname_result="${3}"
   14306   else
   14307     func_dirname_result="$func_dirname_result${2}"
   14308   fi
   14309 }
   14310 
   14311 # func_basename file
   14312 func_basename ()
   14313 {
   14314   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14315 }
   14316 
   14317 
   14318 # func_stripname prefix suffix name
   14319 # strip PREFIX and SUFFIX off of NAME.
   14320 # PREFIX and SUFFIX must not contain globbing or regex special
   14321 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14322 # dot (in which case that matches only a dot).
   14323 # func_strip_suffix prefix name
   14324 func_stripname ()
   14325 {
   14326   case ${2} in
   14327     .*) func_stripname_result=`$ECHO "X${3}" \
   14328            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14329     *)  func_stripname_result=`$ECHO "X${3}" \
   14330            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14331   esac
   14332 }
   14333 
   14334 # sed scripts:
   14335 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14336 my_sed_long_arg='1s/^-[^=]*=//'
   14337 
   14338 # func_opt_split
   14339 func_opt_split ()
   14340 {
   14341   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14342   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14343 }
   14344 
   14345 # func_lo2o object
   14346 func_lo2o ()
   14347 {
   14348   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14349 }
   14350 
   14351 # func_xform libobj-or-source
   14352 func_xform ()
   14353 {
   14354   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14355 }
   14356 
   14357 # func_arith arithmetic-term...
   14358 func_arith ()
   14359 {
   14360   func_arith_result=`expr "$@"`
   14361 }
   14362 
   14363 # func_len string
   14364 # STRING may not start with a hyphen.
   14365 func_len ()
   14366 {
   14367   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14368 }
   14369 
   14370 _LT_EOF
   14371 esac
   14372 
   14373 case $lt_shell_append in
   14374   yes)
   14375     cat << \_LT_EOF >> "$cfgfile"
   14376 
   14377 # func_append var value
   14378 # Append VALUE to the end of shell variable VAR.
   14379 func_append ()
   14380 {
   14381   eval "$1+=\$2"
   14382 }
   14383 _LT_EOF
   14384     ;;
   14385   *)
   14386     cat << \_LT_EOF >> "$cfgfile"
   14387 
   14388 # func_append var value
   14389 # Append VALUE to the end of shell variable VAR.
   14390 func_append ()
   14391 {
   14392   eval "$1=\$$1\$2"
   14393 }
   14394 
   14395 _LT_EOF
   14396     ;;
   14397   esac
   14398 
   14399 
   14400   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14401     || (rm -f "$cfgfile"; exit 1)
   14402 
   14403   mv -f "$cfgfile" "$ofile" ||
   14404     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14405   chmod +x "$ofile"
   14406 
   14407  ;;
   14408 
   14409   esac
   14410 done # for ac_tag
   14411 
   14412 
   14413 { (exit 0); exit 0; }
   14414 _ACEOF
   14415 chmod +x $CONFIG_STATUS
   14416 ac_clean_files=$ac_clean_files_save
   14417 
   14418 test $ac_write_fail = 0 ||
   14419   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   14420 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   14421    { (exit 1); exit 1; }; }
   14422 
   14423 
   14424 # configure is writing to config.log, and then calls config.status.
   14425 # config.status does its own redirection, appending to config.log.
   14426 # Unfortunately, on DOS this fails, as config.log is still kept open
   14427 # by configure, so config.status won't be able to write to it; its
   14428 # output is simply discarded.  So we exec the FD to /dev/null,
   14429 # effectively closing config.log, so it can be properly (re)opened and
   14430 # appended to by config.status.  When coming back to configure, we
   14431 # need to make the FD available again.
   14432 if test "$no_create" != yes; then
   14433   ac_cs_success=:
   14434   ac_config_status_args=
   14435   test "$silent" = yes &&
   14436     ac_config_status_args="$ac_config_status_args --quiet"
   14437   exec 5>/dev/null
   14438   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14439   exec 5>>config.log
   14440   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14441   # would make configure fail if this is the last instruction.
   14442   $ac_cs_success || { (exit 1); exit 1; }
   14443 fi
   14444 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14445   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14446 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14447 fi
   14448 
   14449