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 libXcursor 1.1.10.
      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='libXcursor'
    747 PACKAGE_TARNAME='libXcursor'
    748 PACKAGE_VERSION='1.1.10'
    749 PACKAGE_STRING='libXcursor 1.1.10'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='am__EXEEXT_FALSE
    790 am__EXEEXT_TRUE
    791 LTLIBOBJS
    792 LIBOBJS
    793 LINT_FALSE
    794 LINT_TRUE
    795 LINT_FLAGS
    796 LINT
    797 distcleancheck_listfiles
    798 CHANGELOG_CMD
    799 ADMIN_MAN_DIR
    800 DRIVER_MAN_DIR
    801 MISC_MAN_DIR
    802 FILE_MAN_DIR
    803 LIB_MAN_DIR
    804 APP_MAN_DIR
    805 ADMIN_MAN_SUFFIX
    806 DRIVER_MAN_SUFFIX
    807 MISC_MAN_SUFFIX
    808 FILE_MAN_SUFFIX
    809 LIB_MAN_SUFFIX
    810 APP_MAN_SUFFIX
    811 XCURSOR_LIBS
    812 XCURSOR_CFLAGS
    813 PKG_CONFIG
    814 XCURSORPATH_LIST
    815 XCURSORPATH
    816 ICONDIR
    817 AM_BACKSLASH
    818 AM_DEFAULT_VERBOSITY
    819 CWARNFLAGS
    820 CPP
    821 OTOOL64
    822 OTOOL
    823 LIPO
    824 NMEDIT
    825 DSYMUTIL
    826 lt_ECHO
    827 RANLIB
    828 AR
    829 OBJDUMP
    830 LN_S
    831 NM
    832 ac_ct_DUMPBIN
    833 DUMPBIN
    834 LD
    835 FGREP
    836 EGREP
    837 GREP
    838 SED
    839 host_os
    840 host_vendor
    841 host_cpu
    842 host
    843 build_os
    844 build_vendor
    845 build_cpu
    846 build
    847 LIBTOOL
    848 am__fastdepCC_FALSE
    849 am__fastdepCC_TRUE
    850 CCDEPMODE
    851 AMDEPBACKSLASH
    852 AMDEP_FALSE
    853 AMDEP_TRUE
    854 am__quote
    855 am__include
    856 DEPDIR
    857 OBJEXT
    858 EXEEXT
    859 ac_ct_CC
    860 CPPFLAGS
    861 LDFLAGS
    862 CFLAGS
    863 CC
    864 MAINT
    865 MAINTAINER_MODE_FALSE
    866 MAINTAINER_MODE_TRUE
    867 am__untar
    868 am__tar
    869 AMTAR
    870 am__leading_dot
    871 SET_MAKE
    872 AWK
    873 mkdir_p
    874 MKDIR_P
    875 INSTALL_STRIP_PROGRAM
    876 STRIP
    877 install_sh
    878 MAKEINFO
    879 AUTOHEADER
    880 AUTOMAKE
    881 AUTOCONF
    882 ACLOCAL
    883 VERSION
    884 PACKAGE
    885 CYGPATH_W
    886 am__isrc
    887 INSTALL_DATA
    888 INSTALL_SCRIPT
    889 INSTALL_PROGRAM
    890 target_alias
    891 host_alias
    892 build_alias
    893 LIBS
    894 ECHO_T
    895 ECHO_N
    896 ECHO_C
    897 DEFS
    898 mandir
    899 localedir
    900 libdir
    901 psdir
    902 pdfdir
    903 dvidir
    904 htmldir
    905 infodir
    906 docdir
    907 oldincludedir
    908 includedir
    909 localstatedir
    910 sharedstatedir
    911 sysconfdir
    912 datadir
    913 datarootdir
    914 libexecdir
    915 sbindir
    916 bindir
    917 program_transform_name
    918 prefix
    919 exec_prefix
    920 PACKAGE_BUGREPORT
    921 PACKAGE_STRING
    922 PACKAGE_VERSION
    923 PACKAGE_TARNAME
    924 PACKAGE_NAME
    925 PATH_SEPARATOR
    926 SHELL'
    927 ac_subst_files=''
    928 ac_user_opts='
    929 enable_option_checking
    930 enable_maintainer_mode
    931 enable_dependency_tracking
    932 enable_shared
    933 enable_static
    934 with_pic
    935 enable_fast_install
    936 with_gnu_ld
    937 enable_libtool_lock
    938 enable_silent_rules
    939 with_icondir
    940 with_cursorpath
    941 with_release_version
    942 with_lint
    943 '
    944       ac_precious_vars='build_alias
    945 host_alias
    946 target_alias
    947 CC
    948 CFLAGS
    949 LDFLAGS
    950 LIBS
    951 CPPFLAGS
    952 CPP
    953 PKG_CONFIG
    954 XCURSOR_CFLAGS
    955 XCURSOR_LIBS'
    956 
    957 
    958 # Initialize some variables set by options.
    959 ac_init_help=
    960 ac_init_version=false
    961 ac_unrecognized_opts=
    962 ac_unrecognized_sep=
    963 # The variables have the same names as the options, with
    964 # dashes changed to underlines.
    965 cache_file=/dev/null
    966 exec_prefix=NONE
    967 no_create=
    968 no_recursion=
    969 prefix=NONE
    970 program_prefix=NONE
    971 program_suffix=NONE
    972 program_transform_name=s,x,x,
    973 silent=
    974 site=
    975 srcdir=
    976 verbose=
    977 x_includes=NONE
    978 x_libraries=NONE
    979 
    980 # Installation directory options.
    981 # These are left unexpanded so users can "make install exec_prefix=/foo"
    982 # and all the variables that are supposed to be based on exec_prefix
    983 # by default will actually change.
    984 # Use braces instead of parens because sh, perl, etc. also accept them.
    985 # (The list follows the same order as the GNU Coding Standards.)
    986 bindir='${exec_prefix}/bin'
    987 sbindir='${exec_prefix}/sbin'
    988 libexecdir='${exec_prefix}/libexec'
    989 datarootdir='${prefix}/share'
    990 datadir='${datarootdir}'
    991 sysconfdir='${prefix}/etc'
    992 sharedstatedir='${prefix}/com'
    993 localstatedir='${prefix}/var'
    994 includedir='${prefix}/include'
    995 oldincludedir='/usr/include'
    996 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    997 infodir='${datarootdir}/info'
    998 htmldir='${docdir}'
    999 dvidir='${docdir}'
   1000 pdfdir='${docdir}'
   1001 psdir='${docdir}'
   1002 libdir='${exec_prefix}/lib'
   1003 localedir='${datarootdir}/locale'
   1004 mandir='${datarootdir}/man'
   1005 
   1006 ac_prev=
   1007 ac_dashdash=
   1008 for ac_option
   1009 do
   1010   # If the previous option needs an argument, assign it.
   1011   if test -n "$ac_prev"; then
   1012     eval $ac_prev=\$ac_option
   1013     ac_prev=
   1014     continue
   1015   fi
   1016 
   1017   case $ac_option in
   1018   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1019   *)	ac_optarg=yes ;;
   1020   esac
   1021 
   1022   # Accept the important Cygnus configure options, so we can diagnose typos.
   1023 
   1024   case $ac_dashdash$ac_option in
   1025   --)
   1026     ac_dashdash=yes ;;
   1027 
   1028   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1029     ac_prev=bindir ;;
   1030   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1031     bindir=$ac_optarg ;;
   1032 
   1033   -build | --build | --buil | --bui | --bu)
   1034     ac_prev=build_alias ;;
   1035   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1036     build_alias=$ac_optarg ;;
   1037 
   1038   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1039   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1040     ac_prev=cache_file ;;
   1041   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1042   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1043     cache_file=$ac_optarg ;;
   1044 
   1045   --config-cache | -C)
   1046     cache_file=config.cache ;;
   1047 
   1048   -datadir | --datadir | --datadi | --datad)
   1049     ac_prev=datadir ;;
   1050   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1051     datadir=$ac_optarg ;;
   1052 
   1053   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1054   | --dataroo | --dataro | --datar)
   1055     ac_prev=datarootdir ;;
   1056   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1057   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1058     datarootdir=$ac_optarg ;;
   1059 
   1060   -disable-* | --disable-*)
   1061     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1062     # Reject names that are not valid shell variable names.
   1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1064       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1065    { (exit 1); exit 1; }; }
   1066     ac_useropt_orig=$ac_useropt
   1067     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1068     case $ac_user_opts in
   1069       *"
   1070 "enable_$ac_useropt"
   1071 "*) ;;
   1072       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1073 	 ac_unrecognized_sep=', ';;
   1074     esac
   1075     eval enable_$ac_useropt=no ;;
   1076 
   1077   -docdir | --docdir | --docdi | --doc | --do)
   1078     ac_prev=docdir ;;
   1079   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1080     docdir=$ac_optarg ;;
   1081 
   1082   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1083     ac_prev=dvidir ;;
   1084   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1085     dvidir=$ac_optarg ;;
   1086 
   1087   -enable-* | --enable-*)
   1088     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1089     # Reject names that are not valid shell variable names.
   1090     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1091       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1092    { (exit 1); exit 1; }; }
   1093     ac_useropt_orig=$ac_useropt
   1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1095     case $ac_user_opts in
   1096       *"
   1097 "enable_$ac_useropt"
   1098 "*) ;;
   1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1100 	 ac_unrecognized_sep=', ';;
   1101     esac
   1102     eval enable_$ac_useropt=\$ac_optarg ;;
   1103 
   1104   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1105   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1106   | --exec | --exe | --ex)
   1107     ac_prev=exec_prefix ;;
   1108   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1109   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1110   | --exec=* | --exe=* | --ex=*)
   1111     exec_prefix=$ac_optarg ;;
   1112 
   1113   -gas | --gas | --ga | --g)
   1114     # Obsolete; use --with-gas.
   1115     with_gas=yes ;;
   1116 
   1117   -help | --help | --hel | --he | -h)
   1118     ac_init_help=long ;;
   1119   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1120     ac_init_help=recursive ;;
   1121   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1122     ac_init_help=short ;;
   1123 
   1124   -host | --host | --hos | --ho)
   1125     ac_prev=host_alias ;;
   1126   -host=* | --host=* | --hos=* | --ho=*)
   1127     host_alias=$ac_optarg ;;
   1128 
   1129   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1130     ac_prev=htmldir ;;
   1131   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1132   | --ht=*)
   1133     htmldir=$ac_optarg ;;
   1134 
   1135   -includedir | --includedir | --includedi | --included | --include \
   1136   | --includ | --inclu | --incl | --inc)
   1137     ac_prev=includedir ;;
   1138   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1139   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1140     includedir=$ac_optarg ;;
   1141 
   1142   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1143     ac_prev=infodir ;;
   1144   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1145     infodir=$ac_optarg ;;
   1146 
   1147   -libdir | --libdir | --libdi | --libd)
   1148     ac_prev=libdir ;;
   1149   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1150     libdir=$ac_optarg ;;
   1151 
   1152   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1153   | --libexe | --libex | --libe)
   1154     ac_prev=libexecdir ;;
   1155   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1156   | --libexe=* | --libex=* | --libe=*)
   1157     libexecdir=$ac_optarg ;;
   1158 
   1159   -localedir | --localedir | --localedi | --localed | --locale)
   1160     ac_prev=localedir ;;
   1161   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1162     localedir=$ac_optarg ;;
   1163 
   1164   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1165   | --localstate | --localstat | --localsta | --localst | --locals)
   1166     ac_prev=localstatedir ;;
   1167   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1168   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1169     localstatedir=$ac_optarg ;;
   1170 
   1171   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1172     ac_prev=mandir ;;
   1173   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1174     mandir=$ac_optarg ;;
   1175 
   1176   -nfp | --nfp | --nf)
   1177     # Obsolete; use --without-fp.
   1178     with_fp=no ;;
   1179 
   1180   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1181   | --no-cr | --no-c | -n)
   1182     no_create=yes ;;
   1183 
   1184   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1185   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1186     no_recursion=yes ;;
   1187 
   1188   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1189   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1190   | --oldin | --oldi | --old | --ol | --o)
   1191     ac_prev=oldincludedir ;;
   1192   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1193   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1194   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1195     oldincludedir=$ac_optarg ;;
   1196 
   1197   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1198     ac_prev=prefix ;;
   1199   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1200     prefix=$ac_optarg ;;
   1201 
   1202   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1203   | --program-pre | --program-pr | --program-p)
   1204     ac_prev=program_prefix ;;
   1205   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1206   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1207     program_prefix=$ac_optarg ;;
   1208 
   1209   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1210   | --program-suf | --program-su | --program-s)
   1211     ac_prev=program_suffix ;;
   1212   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1213   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1214     program_suffix=$ac_optarg ;;
   1215 
   1216   -program-transform-name | --program-transform-name \
   1217   | --program-transform-nam | --program-transform-na \
   1218   | --program-transform-n | --program-transform- \
   1219   | --program-transform | --program-transfor \
   1220   | --program-transfo | --program-transf \
   1221   | --program-trans | --program-tran \
   1222   | --progr-tra | --program-tr | --program-t)
   1223     ac_prev=program_transform_name ;;
   1224   -program-transform-name=* | --program-transform-name=* \
   1225   | --program-transform-nam=* | --program-transform-na=* \
   1226   | --program-transform-n=* | --program-transform-=* \
   1227   | --program-transform=* | --program-transfor=* \
   1228   | --program-transfo=* | --program-transf=* \
   1229   | --program-trans=* | --program-tran=* \
   1230   | --progr-tra=* | --program-tr=* | --program-t=*)
   1231     program_transform_name=$ac_optarg ;;
   1232 
   1233   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1234     ac_prev=pdfdir ;;
   1235   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1236     pdfdir=$ac_optarg ;;
   1237 
   1238   -psdir | --psdir | --psdi | --psd | --ps)
   1239     ac_prev=psdir ;;
   1240   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1241     psdir=$ac_optarg ;;
   1242 
   1243   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1244   | -silent | --silent | --silen | --sile | --sil)
   1245     silent=yes ;;
   1246 
   1247   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1248     ac_prev=sbindir ;;
   1249   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1250   | --sbi=* | --sb=*)
   1251     sbindir=$ac_optarg ;;
   1252 
   1253   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1254   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1255   | --sharedst | --shareds | --shared | --share | --shar \
   1256   | --sha | --sh)
   1257     ac_prev=sharedstatedir ;;
   1258   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1259   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1260   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1261   | --sha=* | --sh=*)
   1262     sharedstatedir=$ac_optarg ;;
   1263 
   1264   -site | --site | --sit)
   1265     ac_prev=site ;;
   1266   -site=* | --site=* | --sit=*)
   1267     site=$ac_optarg ;;
   1268 
   1269   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1270     ac_prev=srcdir ;;
   1271   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1272     srcdir=$ac_optarg ;;
   1273 
   1274   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1275   | --syscon | --sysco | --sysc | --sys | --sy)
   1276     ac_prev=sysconfdir ;;
   1277   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1278   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1279     sysconfdir=$ac_optarg ;;
   1280 
   1281   -target | --target | --targe | --targ | --tar | --ta | --t)
   1282     ac_prev=target_alias ;;
   1283   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1284     target_alias=$ac_optarg ;;
   1285 
   1286   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1287     verbose=yes ;;
   1288 
   1289   -version | --version | --versio | --versi | --vers | -V)
   1290     ac_init_version=: ;;
   1291 
   1292   -with-* | --with-*)
   1293     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1294     # Reject names that are not valid shell variable names.
   1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1296       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1297    { (exit 1); exit 1; }; }
   1298     ac_useropt_orig=$ac_useropt
   1299     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1300     case $ac_user_opts in
   1301       *"
   1302 "with_$ac_useropt"
   1303 "*) ;;
   1304       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1305 	 ac_unrecognized_sep=', ';;
   1306     esac
   1307     eval with_$ac_useropt=\$ac_optarg ;;
   1308 
   1309   -without-* | --without-*)
   1310     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1311     # Reject names that are not valid shell variable names.
   1312     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1313       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1314    { (exit 1); exit 1; }; }
   1315     ac_useropt_orig=$ac_useropt
   1316     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1317     case $ac_user_opts in
   1318       *"
   1319 "with_$ac_useropt"
   1320 "*) ;;
   1321       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1322 	 ac_unrecognized_sep=', ';;
   1323     esac
   1324     eval with_$ac_useropt=no ;;
   1325 
   1326   --x)
   1327     # Obsolete; use --with-x.
   1328     with_x=yes ;;
   1329 
   1330   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1331   | --x-incl | --x-inc | --x-in | --x-i)
   1332     ac_prev=x_includes ;;
   1333   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1334   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1335     x_includes=$ac_optarg ;;
   1336 
   1337   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1338   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1339     ac_prev=x_libraries ;;
   1340   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1341   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1342     x_libraries=$ac_optarg ;;
   1343 
   1344   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1345 Try \`$0 --help' for more information." >&2
   1346    { (exit 1); exit 1; }; }
   1347     ;;
   1348 
   1349   *=*)
   1350     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1351     # Reject names that are not valid shell variable names.
   1352     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1353       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1354    { (exit 1); exit 1; }; }
   1355     eval $ac_envvar=\$ac_optarg
   1356     export $ac_envvar ;;
   1357 
   1358   *)
   1359     # FIXME: should be removed in autoconf 3.0.
   1360     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1361     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1362       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1363     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1364     ;;
   1365 
   1366   esac
   1367 done
   1368 
   1369 if test -n "$ac_prev"; then
   1370   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1371   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1372    { (exit 1); exit 1; }; }
   1373 fi
   1374 
   1375 if test -n "$ac_unrecognized_opts"; then
   1376   case $enable_option_checking in
   1377     no) ;;
   1378     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1379    { (exit 1); exit 1; }; } ;;
   1380     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1381   esac
   1382 fi
   1383 
   1384 # Check all directory arguments for consistency.
   1385 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1386 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1387 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1388 		libdir localedir mandir
   1389 do
   1390   eval ac_val=\$$ac_var
   1391   # Remove trailing slashes.
   1392   case $ac_val in
   1393     */ )
   1394       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1395       eval $ac_var=\$ac_val;;
   1396   esac
   1397   # Be sure to have absolute directory names.
   1398   case $ac_val in
   1399     [\\/$]* | ?:[\\/]* )  continue;;
   1400     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1401   esac
   1402   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1403    { (exit 1); exit 1; }; }
   1404 done
   1405 
   1406 # There might be people who depend on the old broken behavior: `$host'
   1407 # used to hold the argument of --host etc.
   1408 # FIXME: To remove some day.
   1409 build=$build_alias
   1410 host=$host_alias
   1411 target=$target_alias
   1412 
   1413 # FIXME: To remove some day.
   1414 if test "x$host_alias" != x; then
   1415   if test "x$build_alias" = x; then
   1416     cross_compiling=maybe
   1417     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1418     If a cross compiler is detected then cross compile mode will be used." >&2
   1419   elif test "x$build_alias" != "x$host_alias"; then
   1420     cross_compiling=yes
   1421   fi
   1422 fi
   1423 
   1424 ac_tool_prefix=
   1425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1426 
   1427 test "$silent" = yes && exec 6>/dev/null
   1428 
   1429 
   1430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1431 ac_ls_di=`ls -di .` &&
   1432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1433   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1434    { (exit 1); exit 1; }; }
   1435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1436   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1437    { (exit 1); exit 1; }; }
   1438 
   1439 
   1440 # Find the source files, if location was not specified.
   1441 if test -z "$srcdir"; then
   1442   ac_srcdir_defaulted=yes
   1443   # Try the directory containing this script, then the parent directory.
   1444   ac_confdir=`$as_dirname -- "$as_myself" ||
   1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1446 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1447 	 X"$as_myself" : 'X\(//\)$' \| \
   1448 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1449 $as_echo X"$as_myself" |
   1450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1451 	    s//\1/
   1452 	    q
   1453 	  }
   1454 	  /^X\(\/\/\)[^/].*/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  /^X\(\/\/\)$/{
   1459 	    s//\1/
   1460 	    q
   1461 	  }
   1462 	  /^X\(\/\).*/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  s/.*/./; q'`
   1467   srcdir=$ac_confdir
   1468   if test ! -r "$srcdir/$ac_unique_file"; then
   1469     srcdir=..
   1470   fi
   1471 else
   1472   ac_srcdir_defaulted=no
   1473 fi
   1474 if test ! -r "$srcdir/$ac_unique_file"; then
   1475   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1476   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1477    { (exit 1); exit 1; }; }
   1478 fi
   1479 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1480 ac_abs_confdir=`(
   1481 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1482    { (exit 1); exit 1; }; }
   1483 	pwd)`
   1484 # When building in place, set srcdir=.
   1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1486   srcdir=.
   1487 fi
   1488 # Remove unnecessary trailing slashes from srcdir.
   1489 # Double slashes in file names in object file debugging info
   1490 # mess up M-x gdb in Emacs.
   1491 case $srcdir in
   1492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1493 esac
   1494 for ac_var in $ac_precious_vars; do
   1495   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1496   eval ac_env_${ac_var}_value=\$${ac_var}
   1497   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1498   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1499 done
   1500 
   1501 #
   1502 # Report the --help message.
   1503 #
   1504 if test "$ac_init_help" = "long"; then
   1505   # Omit some internal or obsolete options to make the list less imposing.
   1506   # This message is too long to be a string in the A/UX 3.1 sh.
   1507   cat <<_ACEOF
   1508 \`configure' configures libXcursor 1.1.10 to adapt to many kinds of systems.
   1509 
   1510 Usage: $0 [OPTION]... [VAR=VALUE]...
   1511 
   1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1513 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1514 
   1515 Defaults for the options are specified in brackets.
   1516 
   1517 Configuration:
   1518   -h, --help              display this help and exit
   1519       --help=short        display options specific to this package
   1520       --help=recursive    display the short help of all the included packages
   1521   -V, --version           display version information and exit
   1522   -q, --quiet, --silent   do not print \`checking...' messages
   1523       --cache-file=FILE   cache test results in FILE [disabled]
   1524   -C, --config-cache      alias for \`--cache-file=config.cache'
   1525   -n, --no-create         do not create output files
   1526       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1527 
   1528 Installation directories:
   1529   --prefix=PREFIX         install architecture-independent files in PREFIX
   1530                           [$ac_default_prefix]
   1531   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1532                           [PREFIX]
   1533 
   1534 By default, \`make install' will install all the files in
   1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1537 for instance \`--prefix=\$HOME'.
   1538 
   1539 For better control, use the options below.
   1540 
   1541 Fine tuning of the installation directories:
   1542   --bindir=DIR            user executables [EPREFIX/bin]
   1543   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1544   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1545   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1546   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1547   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1548   --libdir=DIR            object code libraries [EPREFIX/lib]
   1549   --includedir=DIR        C header files [PREFIX/include]
   1550   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1551   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1552   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1553   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1554   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1555   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1556   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcursor]
   1557   --htmldir=DIR           html documentation [DOCDIR]
   1558   --dvidir=DIR            dvi documentation [DOCDIR]
   1559   --pdfdir=DIR            pdf documentation [DOCDIR]
   1560   --psdir=DIR             ps documentation [DOCDIR]
   1561 _ACEOF
   1562 
   1563   cat <<\_ACEOF
   1564 
   1565 Program names:
   1566   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1567   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1568   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1569 
   1570 System types:
   1571   --build=BUILD     configure for building on BUILD [guessed]
   1572   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1573 _ACEOF
   1574 fi
   1575 
   1576 if test -n "$ac_init_help"; then
   1577   case $ac_init_help in
   1578      short | recursive ) echo "Configuration of libXcursor 1.1.10:";;
   1579    esac
   1580   cat <<\_ACEOF
   1581 
   1582 Optional Features:
   1583   --disable-option-checking  ignore unrecognized --enable/--with options
   1584   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1585   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1586   --enable-maintainer-mode  enable make rules and dependencies not useful
   1587 			  (and sometimes confusing) to the casual installer
   1588   --disable-dependency-tracking  speeds up one-time build
   1589   --enable-dependency-tracking   do not reject slow dependency extractors
   1590   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1591   --enable-static[=PKGS]  build static libraries [default=yes]
   1592   --enable-fast-install[=PKGS]
   1593                           optimize for fast installation [default=yes]
   1594   --disable-libtool-lock  avoid locking (might break parallel builds)
   1595   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1596   --disable-silent-rules         verbose build output (undo: `make V=0')
   1597 
   1598 Optional Packages:
   1599   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1600   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1601   --with-pic              try to use only PIC/non-PIC objects [default=use
   1602                           both]
   1603   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1604   --with-icondir=<path>   Set default icon directory (default:
   1605                           ${datadir}/icons)
   1606   --with-cursorpath=<paths>
   1607                           Set default search path for cursors
   1608   --with-release-version=STRING
   1609                           Use release version string in package name
   1610   --with-lint             Use a lint-style source code checker (default:
   1611                           disabled)
   1612 
   1613 Some influential environment variables:
   1614   CC          C compiler command
   1615   CFLAGS      C compiler flags
   1616   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1617               nonstandard directory <lib dir>
   1618   LIBS        libraries to pass to the linker, e.g. -l<library>
   1619   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1620               you have headers in a nonstandard directory <include dir>
   1621   CPP         C preprocessor
   1622   PKG_CONFIG  path to pkg-config utility
   1623   XCURSOR_CFLAGS
   1624               C compiler flags for XCURSOR, overriding pkg-config
   1625   XCURSOR_LIBS
   1626               linker flags for XCURSOR, overriding pkg-config
   1627 
   1628 Use these variables to override the choices made by `configure' or to help
   1629 it to find libraries and programs with nonstandard names/locations.
   1630 
   1631 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1632 _ACEOF
   1633 ac_status=$?
   1634 fi
   1635 
   1636 if test "$ac_init_help" = "recursive"; then
   1637   # If there are subdirs, report their specific --help.
   1638   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1639     test -d "$ac_dir" ||
   1640       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1641       continue
   1642     ac_builddir=.
   1643 
   1644 case "$ac_dir" in
   1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1646 *)
   1647   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1648   # A ".." for each directory in $ac_dir_suffix.
   1649   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1650   case $ac_top_builddir_sub in
   1651   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1652   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1653   esac ;;
   1654 esac
   1655 ac_abs_top_builddir=$ac_pwd
   1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1657 # for backward compatibility:
   1658 ac_top_builddir=$ac_top_build_prefix
   1659 
   1660 case $srcdir in
   1661   .)  # We are building in place.
   1662     ac_srcdir=.
   1663     ac_top_srcdir=$ac_top_builddir_sub
   1664     ac_abs_top_srcdir=$ac_pwd ;;
   1665   [\\/]* | ?:[\\/]* )  # Absolute name.
   1666     ac_srcdir=$srcdir$ac_dir_suffix;
   1667     ac_top_srcdir=$srcdir
   1668     ac_abs_top_srcdir=$srcdir ;;
   1669   *) # Relative name.
   1670     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1671     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1672     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1673 esac
   1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1675 
   1676     cd "$ac_dir" || { ac_status=$?; continue; }
   1677     # Check for guested configure.
   1678     if test -f "$ac_srcdir/configure.gnu"; then
   1679       echo &&
   1680       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1681     elif test -f "$ac_srcdir/configure"; then
   1682       echo &&
   1683       $SHELL "$ac_srcdir/configure" --help=recursive
   1684     else
   1685       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1686     fi || ac_status=$?
   1687     cd "$ac_pwd" || { ac_status=$?; break; }
   1688   done
   1689 fi
   1690 
   1691 test -n "$ac_init_help" && exit $ac_status
   1692 if $ac_init_version; then
   1693   cat <<\_ACEOF
   1694 libXcursor configure 1.1.10
   1695 generated by GNU Autoconf 2.63
   1696 
   1697 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1698 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1699 This configure script is free software; the Free Software Foundation
   1700 gives unlimited permission to copy, distribute and modify it.
   1701 _ACEOF
   1702   exit
   1703 fi
   1704 cat >config.log <<_ACEOF
   1705 This file contains any messages produced by compilers while
   1706 running configure, to aid debugging if configure makes a mistake.
   1707 
   1708 It was created by libXcursor $as_me 1.1.10, which was
   1709 generated by GNU Autoconf 2.63.  Invocation command line was
   1710 
   1711   $ $0 $@
   1712 
   1713 _ACEOF
   1714 exec 5>>config.log
   1715 {
   1716 cat <<_ASUNAME
   1717 ## --------- ##
   1718 ## Platform. ##
   1719 ## --------- ##
   1720 
   1721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1726 
   1727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1728 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1729 
   1730 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1731 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1733 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1734 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1735 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1736 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1737 
   1738 _ASUNAME
   1739 
   1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1741 for as_dir in $PATH
   1742 do
   1743   IFS=$as_save_IFS
   1744   test -z "$as_dir" && as_dir=.
   1745   $as_echo "PATH: $as_dir"
   1746 done
   1747 IFS=$as_save_IFS
   1748 
   1749 } >&5
   1750 
   1751 cat >&5 <<_ACEOF
   1752 
   1753 
   1754 ## ----------- ##
   1755 ## Core tests. ##
   1756 ## ----------- ##
   1757 
   1758 _ACEOF
   1759 
   1760 
   1761 # Keep a trace of the command line.
   1762 # Strip out --no-create and --no-recursion so they do not pile up.
   1763 # Strip out --silent because we don't want to record it for future runs.
   1764 # Also quote any args containing shell meta-characters.
   1765 # Make two passes to allow for proper duplicate-argument suppression.
   1766 ac_configure_args=
   1767 ac_configure_args0=
   1768 ac_configure_args1=
   1769 ac_must_keep_next=false
   1770 for ac_pass in 1 2
   1771 do
   1772   for ac_arg
   1773   do
   1774     case $ac_arg in
   1775     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1776     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1777     | -silent | --silent | --silen | --sile | --sil)
   1778       continue ;;
   1779     *\'*)
   1780       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1781     esac
   1782     case $ac_pass in
   1783     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1784     2)
   1785       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1786       if test $ac_must_keep_next = true; then
   1787 	ac_must_keep_next=false # Got value, back to normal.
   1788       else
   1789 	case $ac_arg in
   1790 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1791 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1792 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1793 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1794 	    case "$ac_configure_args0 " in
   1795 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1796 	    esac
   1797 	    ;;
   1798 	  -* ) ac_must_keep_next=true ;;
   1799 	esac
   1800       fi
   1801       ac_configure_args="$ac_configure_args '$ac_arg'"
   1802       ;;
   1803     esac
   1804   done
   1805 done
   1806 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1807 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1808 
   1809 # When interrupted or exit'd, cleanup temporary files, and complete
   1810 # config.log.  We remove comments because anyway the quotes in there
   1811 # would cause problems or look ugly.
   1812 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1814 trap 'exit_status=$?
   1815   # Save into config.log some information that might help in debugging.
   1816   {
   1817     echo
   1818 
   1819     cat <<\_ASBOX
   1820 ## ---------------- ##
   1821 ## Cache variables. ##
   1822 ## ---------------- ##
   1823 _ASBOX
   1824     echo
   1825     # The following way of writing the cache mishandles newlines in values,
   1826 (
   1827   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1828     eval ac_val=\$$ac_var
   1829     case $ac_val in #(
   1830     *${as_nl}*)
   1831       case $ac_var in #(
   1832       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1834       esac
   1835       case $ac_var in #(
   1836       _ | IFS | as_nl) ;; #(
   1837       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1838       *) $as_unset $ac_var ;;
   1839       esac ;;
   1840     esac
   1841   done
   1842   (set) 2>&1 |
   1843     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1844     *${as_nl}ac_space=\ *)
   1845       sed -n \
   1846 	"s/'\''/'\''\\\\'\'''\''/g;
   1847 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1848       ;; #(
   1849     *)
   1850       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1851       ;;
   1852     esac |
   1853     sort
   1854 )
   1855     echo
   1856 
   1857     cat <<\_ASBOX
   1858 ## ----------------- ##
   1859 ## Output variables. ##
   1860 ## ----------------- ##
   1861 _ASBOX
   1862     echo
   1863     for ac_var in $ac_subst_vars
   1864     do
   1865       eval ac_val=\$$ac_var
   1866       case $ac_val in
   1867       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1868       esac
   1869       $as_echo "$ac_var='\''$ac_val'\''"
   1870     done | sort
   1871     echo
   1872 
   1873     if test -n "$ac_subst_files"; then
   1874       cat <<\_ASBOX
   1875 ## ------------------- ##
   1876 ## File substitutions. ##
   1877 ## ------------------- ##
   1878 _ASBOX
   1879       echo
   1880       for ac_var in $ac_subst_files
   1881       do
   1882 	eval ac_val=\$$ac_var
   1883 	case $ac_val in
   1884 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1885 	esac
   1886 	$as_echo "$ac_var='\''$ac_val'\''"
   1887       done | sort
   1888       echo
   1889     fi
   1890 
   1891     if test -s confdefs.h; then
   1892       cat <<\_ASBOX
   1893 ## ----------- ##
   1894 ## confdefs.h. ##
   1895 ## ----------- ##
   1896 _ASBOX
   1897       echo
   1898       cat confdefs.h
   1899       echo
   1900     fi
   1901     test "$ac_signal" != 0 &&
   1902       $as_echo "$as_me: caught signal $ac_signal"
   1903     $as_echo "$as_me: exit $exit_status"
   1904   } >&5
   1905   rm -f core *.core core.conftest.* &&
   1906     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1907     exit $exit_status
   1908 ' 0
   1909 for ac_signal in 1 2 13 15; do
   1910   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1911 done
   1912 ac_signal=0
   1913 
   1914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1915 rm -f -r conftest* confdefs.h
   1916 
   1917 # Predefined preprocessor variables.
   1918 
   1919 cat >>confdefs.h <<_ACEOF
   1920 #define PACKAGE_NAME "$PACKAGE_NAME"
   1921 _ACEOF
   1922 
   1923 
   1924 cat >>confdefs.h <<_ACEOF
   1925 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1926 _ACEOF
   1927 
   1928 
   1929 cat >>confdefs.h <<_ACEOF
   1930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1931 _ACEOF
   1932 
   1933 
   1934 cat >>confdefs.h <<_ACEOF
   1935 #define PACKAGE_STRING "$PACKAGE_STRING"
   1936 _ACEOF
   1937 
   1938 
   1939 cat >>confdefs.h <<_ACEOF
   1940 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1941 _ACEOF
   1942 
   1943 
   1944 # Let the site file select an alternate cache file if it wants to.
   1945 # Prefer an explicitly selected file to automatically selected ones.
   1946 ac_site_file1=NONE
   1947 ac_site_file2=NONE
   1948 if test -n "$CONFIG_SITE"; then
   1949   ac_site_file1=$CONFIG_SITE
   1950 elif test "x$prefix" != xNONE; then
   1951   ac_site_file1=$prefix/share/config.site
   1952   ac_site_file2=$prefix/etc/config.site
   1953 else
   1954   ac_site_file1=$ac_default_prefix/share/config.site
   1955   ac_site_file2=$ac_default_prefix/etc/config.site
   1956 fi
   1957 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1958 do
   1959   test "x$ac_site_file" = xNONE && continue
   1960   if test -r "$ac_site_file"; then
   1961     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1963     sed 's/^/| /' "$ac_site_file" >&5
   1964     . "$ac_site_file"
   1965   fi
   1966 done
   1967 
   1968 if test -r "$cache_file"; then
   1969   # Some versions of bash will fail to source /dev/null (special
   1970   # files actually), so we avoid doing that.
   1971   if test -f "$cache_file"; then
   1972     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1973 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1974     case $cache_file in
   1975       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1976       *)                      . "./$cache_file";;
   1977     esac
   1978   fi
   1979 else
   1980   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1981 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1982   >$cache_file
   1983 fi
   1984 
   1985 # Check that the precious variables saved in the cache have kept the same
   1986 # value.
   1987 ac_cache_corrupted=false
   1988 for ac_var in $ac_precious_vars; do
   1989   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1990   eval ac_new_set=\$ac_env_${ac_var}_set
   1991   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1992   eval ac_new_val=\$ac_env_${ac_var}_value
   1993   case $ac_old_set,$ac_new_set in
   1994     set,)
   1995       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1996 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1997       ac_cache_corrupted=: ;;
   1998     ,set)
   1999       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2000 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2001       ac_cache_corrupted=: ;;
   2002     ,);;
   2003     *)
   2004       if test "x$ac_old_val" != "x$ac_new_val"; then
   2005 	# differences in whitespace do not lead to failure.
   2006 	ac_old_val_w=`echo x $ac_old_val`
   2007 	ac_new_val_w=`echo x $ac_new_val`
   2008 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2009 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2010 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2011 	  ac_cache_corrupted=:
   2012 	else
   2013 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2014 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2015 	  eval $ac_var=\$ac_old_val
   2016 	fi
   2017 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2018 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2019 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2020 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2021       fi;;
   2022   esac
   2023   # Pass precious variables to config.status.
   2024   if test "$ac_new_set" = set; then
   2025     case $ac_new_val in
   2026     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2027     *) ac_arg=$ac_var=$ac_new_val ;;
   2028     esac
   2029     case " $ac_configure_args " in
   2030       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2031       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2032     esac
   2033   fi
   2034 done
   2035 if $ac_cache_corrupted; then
   2036   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2038   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2039 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2040   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2041 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2042    { (exit 1); exit 1; }; }
   2043 fi
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 ac_ext=c
   2070 ac_cpp='$CPP $CPPFLAGS'
   2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2074 
   2075 
   2076 am__api_version='1.11'
   2077 
   2078 ac_aux_dir=
   2079 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2080   if test -f "$ac_dir/install-sh"; then
   2081     ac_aux_dir=$ac_dir
   2082     ac_install_sh="$ac_aux_dir/install-sh -c"
   2083     break
   2084   elif test -f "$ac_dir/install.sh"; then
   2085     ac_aux_dir=$ac_dir
   2086     ac_install_sh="$ac_aux_dir/install.sh -c"
   2087     break
   2088   elif test -f "$ac_dir/shtool"; then
   2089     ac_aux_dir=$ac_dir
   2090     ac_install_sh="$ac_aux_dir/shtool install -c"
   2091     break
   2092   fi
   2093 done
   2094 if test -z "$ac_aux_dir"; then
   2095   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2096 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2097    { (exit 1); exit 1; }; }
   2098 fi
   2099 
   2100 # These three variables are undocumented and unsupported,
   2101 # and are intended to be withdrawn in a future Autoconf release.
   2102 # They can cause serious problems if a builder's source tree is in a directory
   2103 # whose full name contains unusual characters.
   2104 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2105 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2106 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2107 
   2108 
   2109 # Find a good install program.  We prefer a C program (faster),
   2110 # so one script is as good as another.  But avoid the broken or
   2111 # incompatible versions:
   2112 # SysV /etc/install, /usr/sbin/install
   2113 # SunOS /usr/etc/install
   2114 # IRIX /sbin/install
   2115 # AIX /bin/install
   2116 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2117 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2118 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2119 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2120 # OS/2's system install, which has a completely different semantic
   2121 # ./install, which can be erroneously created by make from ./install.sh.
   2122 # Reject install programs that cannot install multiple files.
   2123 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2124 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2125 if test -z "$INSTALL"; then
   2126 if test "${ac_cv_path_install+set}" = set; then
   2127   $as_echo_n "(cached) " >&6
   2128 else
   2129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2130 for as_dir in $PATH
   2131 do
   2132   IFS=$as_save_IFS
   2133   test -z "$as_dir" && as_dir=.
   2134   # Account for people who put trailing slashes in PATH elements.
   2135 case $as_dir/ in
   2136   ./ | .// | /cC/* | \
   2137   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2138   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2139   /usr/ucb/* ) ;;
   2140   *)
   2141     # OSF1 and SCO ODT 3.0 have their own names for install.
   2142     # Don't use installbsd from OSF since it installs stuff as root
   2143     # by default.
   2144     for ac_prog in ginstall scoinst install; do
   2145       for ac_exec_ext in '' $ac_executable_extensions; do
   2146 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2147 	  if test $ac_prog = install &&
   2148 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2149 	    # AIX install.  It has an incompatible calling convention.
   2150 	    :
   2151 	  elif test $ac_prog = install &&
   2152 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2153 	    # program-specific install script used by HP pwplus--don't use.
   2154 	    :
   2155 	  else
   2156 	    rm -rf conftest.one conftest.two conftest.dir
   2157 	    echo one > conftest.one
   2158 	    echo two > conftest.two
   2159 	    mkdir conftest.dir
   2160 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2161 	      test -s conftest.one && test -s conftest.two &&
   2162 	      test -s conftest.dir/conftest.one &&
   2163 	      test -s conftest.dir/conftest.two
   2164 	    then
   2165 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2166 	      break 3
   2167 	    fi
   2168 	  fi
   2169 	fi
   2170       done
   2171     done
   2172     ;;
   2173 esac
   2174 
   2175 done
   2176 IFS=$as_save_IFS
   2177 
   2178 rm -rf conftest.one conftest.two conftest.dir
   2179 
   2180 fi
   2181   if test "${ac_cv_path_install+set}" = set; then
   2182     INSTALL=$ac_cv_path_install
   2183   else
   2184     # As a last resort, use the slow shell script.  Don't cache a
   2185     # value for INSTALL within a source directory, because that will
   2186     # break other packages using the cache if that directory is
   2187     # removed, or if the value is a relative name.
   2188     INSTALL=$ac_install_sh
   2189   fi
   2190 fi
   2191 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2192 $as_echo "$INSTALL" >&6; }
   2193 
   2194 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2195 # It thinks the first close brace ends the variable substitution.
   2196 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2197 
   2198 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2199 
   2200 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2201 
   2202 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2203 $as_echo_n "checking whether build environment is sane... " >&6; }
   2204 # Just in case
   2205 sleep 1
   2206 echo timestamp > conftest.file
   2207 # Reject unsafe characters in $srcdir or the absolute working directory
   2208 # name.  Accept space and tab only in the latter.
   2209 am_lf='
   2210 '
   2211 case `pwd` in
   2212   *[\\\"\#\$\&\'\`$am_lf]*)
   2213     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2214 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2215    { (exit 1); exit 1; }; };;
   2216 esac
   2217 case $srcdir in
   2218   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2219     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2220 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2221    { (exit 1); exit 1; }; };;
   2222 esac
   2223 
   2224 # Do `set' in a subshell so we don't clobber the current shell's
   2225 # arguments.  Must try -L first in case configure is actually a
   2226 # symlink; some systems play weird games with the mod time of symlinks
   2227 # (eg FreeBSD returns the mod time of the symlink's containing
   2228 # directory).
   2229 if (
   2230    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2231    if test "$*" = "X"; then
   2232       # -L didn't work.
   2233       set X `ls -t "$srcdir/configure" conftest.file`
   2234    fi
   2235    rm -f conftest.file
   2236    if test "$*" != "X $srcdir/configure conftest.file" \
   2237       && test "$*" != "X conftest.file $srcdir/configure"; then
   2238 
   2239       # If neither matched, then we have a broken ls.  This can happen
   2240       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2241       # broken ls alias from the environment.  This has actually
   2242       # happened.  Such a system could not be considered "sane".
   2243       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2244 alias in your environment" >&5
   2245 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2246 alias in your environment" >&2;}
   2247    { (exit 1); exit 1; }; }
   2248    fi
   2249 
   2250    test "$2" = conftest.file
   2251    )
   2252 then
   2253    # Ok.
   2254    :
   2255 else
   2256    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2257 Check your system clock" >&5
   2258 $as_echo "$as_me: error: newly created file is older than distributed files!
   2259 Check your system clock" >&2;}
   2260    { (exit 1); exit 1; }; }
   2261 fi
   2262 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2263 $as_echo "yes" >&6; }
   2264 test "$program_prefix" != NONE &&
   2265   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2266 # Use a double $ so make ignores it.
   2267 test "$program_suffix" != NONE &&
   2268   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2269 # Double any \ or $.
   2270 # By default was `s,x,x', remove it if useless.
   2271 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2272 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2273 
   2274 # expand $ac_aux_dir to an absolute path
   2275 am_aux_dir=`cd $ac_aux_dir && pwd`
   2276 
   2277 if test x"${MISSING+set}" != xset; then
   2278   case $am_aux_dir in
   2279   *\ * | *\	*)
   2280     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2281   *)
   2282     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2283   esac
   2284 fi
   2285 # Use eval to expand $SHELL
   2286 if eval "$MISSING --run true"; then
   2287   am_missing_run="$MISSING --run "
   2288 else
   2289   am_missing_run=
   2290   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2291 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2292 fi
   2293 
   2294 if test x"${install_sh}" != xset; then
   2295   case $am_aux_dir in
   2296   *\ * | *\	*)
   2297     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2298   *)
   2299     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2300   esac
   2301 fi
   2302 
   2303 # Installed binaries are usually stripped using `strip' when the user
   2304 # run `make install-strip'.  However `strip' might not be the right
   2305 # tool to use in cross-compilation environments, therefore Automake
   2306 # will honor the `STRIP' environment variable to overrule this program.
   2307 if test "$cross_compiling" != no; then
   2308   if test -n "$ac_tool_prefix"; then
   2309   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2310 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2312 $as_echo_n "checking for $ac_word... " >&6; }
   2313 if test "${ac_cv_prog_STRIP+set}" = set; then
   2314   $as_echo_n "(cached) " >&6
   2315 else
   2316   if test -n "$STRIP"; then
   2317   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2318 else
   2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2320 for as_dir in $PATH
   2321 do
   2322   IFS=$as_save_IFS
   2323   test -z "$as_dir" && as_dir=.
   2324   for ac_exec_ext in '' $ac_executable_extensions; do
   2325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2326     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2327     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2328     break 2
   2329   fi
   2330 done
   2331 done
   2332 IFS=$as_save_IFS
   2333 
   2334 fi
   2335 fi
   2336 STRIP=$ac_cv_prog_STRIP
   2337 if test -n "$STRIP"; then
   2338   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2339 $as_echo "$STRIP" >&6; }
   2340 else
   2341   { $as_echo "$as_me:$LINENO: result: no" >&5
   2342 $as_echo "no" >&6; }
   2343 fi
   2344 
   2345 
   2346 fi
   2347 if test -z "$ac_cv_prog_STRIP"; then
   2348   ac_ct_STRIP=$STRIP
   2349   # Extract the first word of "strip", so it can be a program name with args.
   2350 set dummy strip; ac_word=$2
   2351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2352 $as_echo_n "checking for $ac_word... " >&6; }
   2353 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2354   $as_echo_n "(cached) " >&6
   2355 else
   2356   if test -n "$ac_ct_STRIP"; then
   2357   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2358 else
   2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2360 for as_dir in $PATH
   2361 do
   2362   IFS=$as_save_IFS
   2363   test -z "$as_dir" && as_dir=.
   2364   for ac_exec_ext in '' $ac_executable_extensions; do
   2365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2366     ac_cv_prog_ac_ct_STRIP="strip"
   2367     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2368     break 2
   2369   fi
   2370 done
   2371 done
   2372 IFS=$as_save_IFS
   2373 
   2374 fi
   2375 fi
   2376 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2377 if test -n "$ac_ct_STRIP"; then
   2378   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2379 $as_echo "$ac_ct_STRIP" >&6; }
   2380 else
   2381   { $as_echo "$as_me:$LINENO: result: no" >&5
   2382 $as_echo "no" >&6; }
   2383 fi
   2384 
   2385   if test "x$ac_ct_STRIP" = x; then
   2386     STRIP=":"
   2387   else
   2388     case $cross_compiling:$ac_tool_warned in
   2389 yes:)
   2390 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2392 ac_tool_warned=yes ;;
   2393 esac
   2394     STRIP=$ac_ct_STRIP
   2395   fi
   2396 else
   2397   STRIP="$ac_cv_prog_STRIP"
   2398 fi
   2399 
   2400 fi
   2401 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2402 
   2403 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2404 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2405 if test -z "$MKDIR_P"; then
   2406   if test "${ac_cv_path_mkdir+set}" = set; then
   2407   $as_echo_n "(cached) " >&6
   2408 else
   2409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2410 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2411 do
   2412   IFS=$as_save_IFS
   2413   test -z "$as_dir" && as_dir=.
   2414   for ac_prog in mkdir gmkdir; do
   2415 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2416 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2417 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2418 	     'mkdir (GNU coreutils) '* | \
   2419 	     'mkdir (coreutils) '* | \
   2420 	     'mkdir (fileutils) '4.1*)
   2421 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2422 	       break 3;;
   2423 	   esac
   2424 	 done
   2425        done
   2426 done
   2427 IFS=$as_save_IFS
   2428 
   2429 fi
   2430 
   2431   if test "${ac_cv_path_mkdir+set}" = set; then
   2432     MKDIR_P="$ac_cv_path_mkdir -p"
   2433   else
   2434     # As a last resort, use the slow shell script.  Don't cache a
   2435     # value for MKDIR_P within a source directory, because that will
   2436     # break other packages using the cache if that directory is
   2437     # removed, or if the value is a relative name.
   2438     test -d ./--version && rmdir ./--version
   2439     MKDIR_P="$ac_install_sh -d"
   2440   fi
   2441 fi
   2442 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2443 $as_echo "$MKDIR_P" >&6; }
   2444 
   2445 mkdir_p="$MKDIR_P"
   2446 case $mkdir_p in
   2447   [\\/$]* | ?:[\\/]*) ;;
   2448   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2449 esac
   2450 
   2451 for ac_prog in gawk mawk nawk awk
   2452 do
   2453   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2454 set dummy $ac_prog; ac_word=$2
   2455 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2456 $as_echo_n "checking for $ac_word... " >&6; }
   2457 if test "${ac_cv_prog_AWK+set}" = set; then
   2458   $as_echo_n "(cached) " >&6
   2459 else
   2460   if test -n "$AWK"; then
   2461   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2462 else
   2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2464 for as_dir in $PATH
   2465 do
   2466   IFS=$as_save_IFS
   2467   test -z "$as_dir" && as_dir=.
   2468   for ac_exec_ext in '' $ac_executable_extensions; do
   2469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2470     ac_cv_prog_AWK="$ac_prog"
   2471     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2472     break 2
   2473   fi
   2474 done
   2475 done
   2476 IFS=$as_save_IFS
   2477 
   2478 fi
   2479 fi
   2480 AWK=$ac_cv_prog_AWK
   2481 if test -n "$AWK"; then
   2482   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2483 $as_echo "$AWK" >&6; }
   2484 else
   2485   { $as_echo "$as_me:$LINENO: result: no" >&5
   2486 $as_echo "no" >&6; }
   2487 fi
   2488 
   2489 
   2490   test -n "$AWK" && break
   2491 done
   2492 
   2493 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2494 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2495 set x ${MAKE-make}
   2496 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2497 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   cat >conftest.make <<\_ACEOF
   2501 SHELL = /bin/sh
   2502 all:
   2503 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2504 _ACEOF
   2505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2506 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2507   *@@@%%%=?*=@@@%%%*)
   2508     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2509   *)
   2510     eval ac_cv_prog_make_${ac_make}_set=no;;
   2511 esac
   2512 rm -f conftest.make
   2513 fi
   2514 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2515   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2516 $as_echo "yes" >&6; }
   2517   SET_MAKE=
   2518 else
   2519   { $as_echo "$as_me:$LINENO: result: no" >&5
   2520 $as_echo "no" >&6; }
   2521   SET_MAKE="MAKE=${MAKE-make}"
   2522 fi
   2523 
   2524 rm -rf .tst 2>/dev/null
   2525 mkdir .tst 2>/dev/null
   2526 if test -d .tst; then
   2527   am__leading_dot=.
   2528 else
   2529   am__leading_dot=_
   2530 fi
   2531 rmdir .tst 2>/dev/null
   2532 
   2533 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2534   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2535   # is not polluted with repeated "-I."
   2536   am__isrc=' -I$(srcdir)'
   2537   # test to see if srcdir already configured
   2538   if test -f $srcdir/config.status; then
   2539     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2540 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2541    { (exit 1); exit 1; }; }
   2542   fi
   2543 fi
   2544 
   2545 # test whether we have cygpath
   2546 if test -z "$CYGPATH_W"; then
   2547   if (cygpath --version) >/dev/null 2>/dev/null; then
   2548     CYGPATH_W='cygpath -w'
   2549   else
   2550     CYGPATH_W=echo
   2551   fi
   2552 fi
   2553 
   2554 
   2555 # Define the identity of the package.
   2556  PACKAGE='libXcursor'
   2557  VERSION='1.1.10'
   2558 
   2559 
   2560 cat >>confdefs.h <<_ACEOF
   2561 #define PACKAGE "$PACKAGE"
   2562 _ACEOF
   2563 
   2564 
   2565 cat >>confdefs.h <<_ACEOF
   2566 #define VERSION "$VERSION"
   2567 _ACEOF
   2568 
   2569 # Some tools Automake needs.
   2570 
   2571 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2572 
   2573 
   2574 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2575 
   2576 
   2577 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2578 
   2579 
   2580 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2581 
   2582 
   2583 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2584 
   2585 # We need awk for the "check" target.  The system "awk" is bad on
   2586 # some platforms.
   2587 # Always define AMTAR for backward compatibility.
   2588 
   2589 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2590 
   2591 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2592 
   2593 
   2594 
   2595 
   2596 
   2597 
   2598 
   2599 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2600 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2601     # Check whether --enable-maintainer-mode was given.
   2602 if test "${enable_maintainer_mode+set}" = set; then
   2603   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2604 else
   2605   USE_MAINTAINER_MODE=no
   2606 fi
   2607 
   2608   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2609 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2610    if test $USE_MAINTAINER_MODE = yes; then
   2611   MAINTAINER_MODE_TRUE=
   2612   MAINTAINER_MODE_FALSE='#'
   2613 else
   2614   MAINTAINER_MODE_TRUE='#'
   2615   MAINTAINER_MODE_FALSE=
   2616 fi
   2617 
   2618   MAINT=$MAINTAINER_MODE_TRUE
   2619 
   2620 
   2621 ac_config_headers="$ac_config_headers config.h"
   2622 
   2623 
   2624 # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 # Check for progs
   2638 ac_ext=c
   2639 ac_cpp='$CPP $CPPFLAGS'
   2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2643 if test -n "$ac_tool_prefix"; then
   2644   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2647 $as_echo_n "checking for $ac_word... " >&6; }
   2648 if test "${ac_cv_prog_CC+set}" = set; then
   2649   $as_echo_n "(cached) " >&6
   2650 else
   2651   if test -n "$CC"; then
   2652   ac_cv_prog_CC="$CC" # Let the user override the test.
   2653 else
   2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2655 for as_dir in $PATH
   2656 do
   2657   IFS=$as_save_IFS
   2658   test -z "$as_dir" && as_dir=.
   2659   for ac_exec_ext in '' $ac_executable_extensions; do
   2660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2661     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2662     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2663     break 2
   2664   fi
   2665 done
   2666 done
   2667 IFS=$as_save_IFS
   2668 
   2669 fi
   2670 fi
   2671 CC=$ac_cv_prog_CC
   2672 if test -n "$CC"; then
   2673   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2674 $as_echo "$CC" >&6; }
   2675 else
   2676   { $as_echo "$as_me:$LINENO: result: no" >&5
   2677 $as_echo "no" >&6; }
   2678 fi
   2679 
   2680 
   2681 fi
   2682 if test -z "$ac_cv_prog_CC"; then
   2683   ac_ct_CC=$CC
   2684   # Extract the first word of "gcc", so it can be a program name with args.
   2685 set dummy gcc; ac_word=$2
   2686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2687 $as_echo_n "checking for $ac_word... " >&6; }
   2688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   if test -n "$ac_ct_CC"; then
   2692   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2693 else
   2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2695 for as_dir in $PATH
   2696 do
   2697   IFS=$as_save_IFS
   2698   test -z "$as_dir" && as_dir=.
   2699   for ac_exec_ext in '' $ac_executable_extensions; do
   2700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2701     ac_cv_prog_ac_ct_CC="gcc"
   2702     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2703     break 2
   2704   fi
   2705 done
   2706 done
   2707 IFS=$as_save_IFS
   2708 
   2709 fi
   2710 fi
   2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2712 if test -n "$ac_ct_CC"; then
   2713   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2714 $as_echo "$ac_ct_CC" >&6; }
   2715 else
   2716   { $as_echo "$as_me:$LINENO: result: no" >&5
   2717 $as_echo "no" >&6; }
   2718 fi
   2719 
   2720   if test "x$ac_ct_CC" = x; then
   2721     CC=""
   2722   else
   2723     case $cross_compiling:$ac_tool_warned in
   2724 yes:)
   2725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2727 ac_tool_warned=yes ;;
   2728 esac
   2729     CC=$ac_ct_CC
   2730   fi
   2731 else
   2732   CC="$ac_cv_prog_CC"
   2733 fi
   2734 
   2735 if test -z "$CC"; then
   2736           if test -n "$ac_tool_prefix"; then
   2737     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2738 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2740 $as_echo_n "checking for $ac_word... " >&6; }
   2741 if test "${ac_cv_prog_CC+set}" = set; then
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   if test -n "$CC"; then
   2745   ac_cv_prog_CC="$CC" # Let the user override the test.
   2746 else
   2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2748 for as_dir in $PATH
   2749 do
   2750   IFS=$as_save_IFS
   2751   test -z "$as_dir" && as_dir=.
   2752   for ac_exec_ext in '' $ac_executable_extensions; do
   2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2754     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2755     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2756     break 2
   2757   fi
   2758 done
   2759 done
   2760 IFS=$as_save_IFS
   2761 
   2762 fi
   2763 fi
   2764 CC=$ac_cv_prog_CC
   2765 if test -n "$CC"; then
   2766   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2767 $as_echo "$CC" >&6; }
   2768 else
   2769   { $as_echo "$as_me:$LINENO: result: no" >&5
   2770 $as_echo "no" >&6; }
   2771 fi
   2772 
   2773 
   2774   fi
   2775 fi
   2776 if test -z "$CC"; then
   2777   # Extract the first word of "cc", so it can be a program name with args.
   2778 set dummy cc; ac_word=$2
   2779 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2780 $as_echo_n "checking for $ac_word... " >&6; }
   2781 if test "${ac_cv_prog_CC+set}" = set; then
   2782   $as_echo_n "(cached) " >&6
   2783 else
   2784   if test -n "$CC"; then
   2785   ac_cv_prog_CC="$CC" # Let the user override the test.
   2786 else
   2787   ac_prog_rejected=no
   2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2789 for as_dir in $PATH
   2790 do
   2791   IFS=$as_save_IFS
   2792   test -z "$as_dir" && as_dir=.
   2793   for ac_exec_ext in '' $ac_executable_extensions; do
   2794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2795     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2796        ac_prog_rejected=yes
   2797        continue
   2798      fi
   2799     ac_cv_prog_CC="cc"
   2800     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804 done
   2805 IFS=$as_save_IFS
   2806 
   2807 if test $ac_prog_rejected = yes; then
   2808   # We found a bogon in the path, so make sure we never use it.
   2809   set dummy $ac_cv_prog_CC
   2810   shift
   2811   if test $# != 0; then
   2812     # We chose a different compiler from the bogus one.
   2813     # However, it has the same basename, so the bogon will be chosen
   2814     # first if we set CC to just the basename; use the full file name.
   2815     shift
   2816     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2817   fi
   2818 fi
   2819 fi
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2824 $as_echo "$CC" >&6; }
   2825 else
   2826   { $as_echo "$as_me:$LINENO: result: no" >&5
   2827 $as_echo "no" >&6; }
   2828 fi
   2829 
   2830 
   2831 fi
   2832 if test -z "$CC"; then
   2833   if test -n "$ac_tool_prefix"; then
   2834   for ac_prog in cl.exe
   2835   do
   2836     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2839 $as_echo_n "checking for $ac_word... " >&6; }
   2840 if test "${ac_cv_prog_CC+set}" = set; then
   2841   $as_echo_n "(cached) " >&6
   2842 else
   2843   if test -n "$CC"; then
   2844   ac_cv_prog_CC="$CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   test -z "$as_dir" && as_dir=.
   2851   for ac_exec_ext in '' $ac_executable_extensions; do
   2852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2853     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2854     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2855     break 2
   2856   fi
   2857 done
   2858 done
   2859 IFS=$as_save_IFS
   2860 
   2861 fi
   2862 fi
   2863 CC=$ac_cv_prog_CC
   2864 if test -n "$CC"; then
   2865   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2866 $as_echo "$CC" >&6; }
   2867 else
   2868   { $as_echo "$as_me:$LINENO: result: no" >&5
   2869 $as_echo "no" >&6; }
   2870 fi
   2871 
   2872 
   2873     test -n "$CC" && break
   2874   done
   2875 fi
   2876 if test -z "$CC"; then
   2877   ac_ct_CC=$CC
   2878   for ac_prog in cl.exe
   2879 do
   2880   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2881 set dummy $ac_prog; ac_word=$2
   2882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2883 $as_echo_n "checking for $ac_word... " >&6; }
   2884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2885   $as_echo_n "(cached) " >&6
   2886 else
   2887   if test -n "$ac_ct_CC"; then
   2888   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2889 else
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     ac_cv_prog_ac_ct_CC="$ac_prog"
   2898     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2899     break 2
   2900   fi
   2901 done
   2902 done
   2903 IFS=$as_save_IFS
   2904 
   2905 fi
   2906 fi
   2907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2908 if test -n "$ac_ct_CC"; then
   2909   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2910 $as_echo "$ac_ct_CC" >&6; }
   2911 else
   2912   { $as_echo "$as_me:$LINENO: result: no" >&5
   2913 $as_echo "no" >&6; }
   2914 fi
   2915 
   2916 
   2917   test -n "$ac_ct_CC" && break
   2918 done
   2919 
   2920   if test "x$ac_ct_CC" = x; then
   2921     CC=""
   2922   else
   2923     case $cross_compiling:$ac_tool_warned in
   2924 yes:)
   2925 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2927 ac_tool_warned=yes ;;
   2928 esac
   2929     CC=$ac_ct_CC
   2930   fi
   2931 fi
   2932 
   2933 fi
   2934 
   2935 
   2936 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2938 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2939 See \`config.log' for more details." >&5
   2940 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2941 See \`config.log' for more details." >&2;}
   2942    { (exit 1); exit 1; }; }; }
   2943 
   2944 # Provide some information about the compiler.
   2945 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2946 set X $ac_compile
   2947 ac_compiler=$2
   2948 { (ac_try="$ac_compiler --version >&5"
   2949 case "(($ac_try" in
   2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2951   *) ac_try_echo=$ac_try;;
   2952 esac
   2953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2954 $as_echo "$ac_try_echo") >&5
   2955   (eval "$ac_compiler --version >&5") 2>&5
   2956   ac_status=$?
   2957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2958   (exit $ac_status); }
   2959 { (ac_try="$ac_compiler -v >&5"
   2960 case "(($ac_try" in
   2961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2962   *) ac_try_echo=$ac_try;;
   2963 esac
   2964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2965 $as_echo "$ac_try_echo") >&5
   2966   (eval "$ac_compiler -v >&5") 2>&5
   2967   ac_status=$?
   2968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2969   (exit $ac_status); }
   2970 { (ac_try="$ac_compiler -V >&5"
   2971 case "(($ac_try" in
   2972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2973   *) ac_try_echo=$ac_try;;
   2974 esac
   2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2976 $as_echo "$ac_try_echo") >&5
   2977   (eval "$ac_compiler -V >&5") 2>&5
   2978   ac_status=$?
   2979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2980   (exit $ac_status); }
   2981 
   2982 cat >conftest.$ac_ext <<_ACEOF
   2983 /* confdefs.h.  */
   2984 _ACEOF
   2985 cat confdefs.h >>conftest.$ac_ext
   2986 cat >>conftest.$ac_ext <<_ACEOF
   2987 /* end confdefs.h.  */
   2988 
   2989 int
   2990 main ()
   2991 {
   2992 
   2993   ;
   2994   return 0;
   2995 }
   2996 _ACEOF
   2997 ac_clean_files_save=$ac_clean_files
   2998 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2999 # Try to create an executable without -o first, disregard a.out.
   3000 # It will help us diagnose broken compilers, and finding out an intuition
   3001 # of exeext.
   3002 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3003 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3004 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3005 
   3006 # The possible output files:
   3007 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3008 
   3009 ac_rmfiles=
   3010 for ac_file in $ac_files
   3011 do
   3012   case $ac_file in
   3013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3014     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3015   esac
   3016 done
   3017 rm -f $ac_rmfiles
   3018 
   3019 if { (ac_try="$ac_link_default"
   3020 case "(($ac_try" in
   3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3022   *) ac_try_echo=$ac_try;;
   3023 esac
   3024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3025 $as_echo "$ac_try_echo") >&5
   3026   (eval "$ac_link_default") 2>&5
   3027   ac_status=$?
   3028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3029   (exit $ac_status); }; then
   3030   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3031 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3032 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3033 # so that the user can short-circuit this test for compilers unknown to
   3034 # Autoconf.
   3035 for ac_file in $ac_files ''
   3036 do
   3037   test -f "$ac_file" || continue
   3038   case $ac_file in
   3039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3040 	;;
   3041     [ab].out )
   3042 	# We found the default executable, but exeext='' is most
   3043 	# certainly right.
   3044 	break;;
   3045     *.* )
   3046         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3047 	then :; else
   3048 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3049 	fi
   3050 	# We set ac_cv_exeext here because the later test for it is not
   3051 	# safe: cross compilers may not add the suffix if given an `-o'
   3052 	# argument, so we may need to know it at that point already.
   3053 	# Even if this section looks crufty: it has the advantage of
   3054 	# actually working.
   3055 	break;;
   3056     * )
   3057 	break;;
   3058   esac
   3059 done
   3060 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3061 
   3062 else
   3063   ac_file=''
   3064 fi
   3065 
   3066 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3067 $as_echo "$ac_file" >&6; }
   3068 if test -z "$ac_file"; then
   3069   $as_echo "$as_me: failed program was:" >&5
   3070 sed 's/^/| /' conftest.$ac_ext >&5
   3071 
   3072 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3074 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3075 See \`config.log' for more details." >&5
   3076 $as_echo "$as_me: error: C compiler cannot create executables
   3077 See \`config.log' for more details." >&2;}
   3078    { (exit 77); exit 77; }; }; }
   3079 fi
   3080 
   3081 ac_exeext=$ac_cv_exeext
   3082 
   3083 # Check that the compiler produces executables we can run.  If not, either
   3084 # the compiler is broken, or we cross compile.
   3085 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3086 $as_echo_n "checking whether the C compiler works... " >&6; }
   3087 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3088 # If not cross compiling, check that we can run a simple program.
   3089 if test "$cross_compiling" != yes; then
   3090   if { ac_try='./$ac_file'
   3091   { (case "(($ac_try" in
   3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3093   *) ac_try_echo=$ac_try;;
   3094 esac
   3095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3096 $as_echo "$ac_try_echo") >&5
   3097   (eval "$ac_try") 2>&5
   3098   ac_status=$?
   3099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3100   (exit $ac_status); }; }; then
   3101     cross_compiling=no
   3102   else
   3103     if test "$cross_compiling" = maybe; then
   3104 	cross_compiling=yes
   3105     else
   3106 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3108 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3109 If you meant to cross compile, use \`--host'.
   3110 See \`config.log' for more details." >&5
   3111 $as_echo "$as_me: error: cannot run C compiled programs.
   3112 If you meant to cross compile, use \`--host'.
   3113 See \`config.log' for more details." >&2;}
   3114    { (exit 1); exit 1; }; }; }
   3115     fi
   3116   fi
   3117 fi
   3118 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3119 $as_echo "yes" >&6; }
   3120 
   3121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3122 ac_clean_files=$ac_clean_files_save
   3123 # Check that the compiler produces executables we can run.  If not, either
   3124 # the compiler is broken, or we cross compile.
   3125 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3126 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3127 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3128 $as_echo "$cross_compiling" >&6; }
   3129 
   3130 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3131 $as_echo_n "checking for suffix of executables... " >&6; }
   3132 if { (ac_try="$ac_link"
   3133 case "(($ac_try" in
   3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3135   *) ac_try_echo=$ac_try;;
   3136 esac
   3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3138 $as_echo "$ac_try_echo") >&5
   3139   (eval "$ac_link") 2>&5
   3140   ac_status=$?
   3141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); }; then
   3143   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3144 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3145 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3146 # `rm'.
   3147 for ac_file in conftest.exe conftest conftest.*; do
   3148   test -f "$ac_file" || continue
   3149   case $ac_file in
   3150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3151     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3152 	  break;;
   3153     * ) break;;
   3154   esac
   3155 done
   3156 else
   3157   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3159 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3160 See \`config.log' for more details." >&5
   3161 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3162 See \`config.log' for more details." >&2;}
   3163    { (exit 1); exit 1; }; }; }
   3164 fi
   3165 
   3166 rm -f conftest$ac_cv_exeext
   3167 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3168 $as_echo "$ac_cv_exeext" >&6; }
   3169 
   3170 rm -f conftest.$ac_ext
   3171 EXEEXT=$ac_cv_exeext
   3172 ac_exeext=$EXEEXT
   3173 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3174 $as_echo_n "checking for suffix of object files... " >&6; }
   3175 if test "${ac_cv_objext+set}" = set; then
   3176   $as_echo_n "(cached) " >&6
   3177 else
   3178   cat >conftest.$ac_ext <<_ACEOF
   3179 /* confdefs.h.  */
   3180 _ACEOF
   3181 cat confdefs.h >>conftest.$ac_ext
   3182 cat >>conftest.$ac_ext <<_ACEOF
   3183 /* end confdefs.h.  */
   3184 
   3185 int
   3186 main ()
   3187 {
   3188 
   3189   ;
   3190   return 0;
   3191 }
   3192 _ACEOF
   3193 rm -f conftest.o conftest.obj
   3194 if { (ac_try="$ac_compile"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo") >&5
   3201   (eval "$ac_compile") 2>&5
   3202   ac_status=$?
   3203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3204   (exit $ac_status); }; then
   3205   for ac_file in conftest.o conftest.obj conftest.*; do
   3206   test -f "$ac_file" || continue;
   3207   case $ac_file in
   3208     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3209     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3210        break;;
   3211   esac
   3212 done
   3213 else
   3214   $as_echo "$as_me: failed program was:" >&5
   3215 sed 's/^/| /' conftest.$ac_ext >&5
   3216 
   3217 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3219 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3220 See \`config.log' for more details." >&5
   3221 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3222 See \`config.log' for more details." >&2;}
   3223    { (exit 1); exit 1; }; }; }
   3224 fi
   3225 
   3226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3227 fi
   3228 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3229 $as_echo "$ac_cv_objext" >&6; }
   3230 OBJEXT=$ac_cv_objext
   3231 ac_objext=$OBJEXT
   3232 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3233 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3235   $as_echo_n "(cached) " >&6
   3236 else
   3237   cat >conftest.$ac_ext <<_ACEOF
   3238 /* confdefs.h.  */
   3239 _ACEOF
   3240 cat confdefs.h >>conftest.$ac_ext
   3241 cat >>conftest.$ac_ext <<_ACEOF
   3242 /* end confdefs.h.  */
   3243 
   3244 int
   3245 main ()
   3246 {
   3247 #ifndef __GNUC__
   3248        choke me
   3249 #endif
   3250 
   3251   ;
   3252   return 0;
   3253 }
   3254 _ACEOF
   3255 rm -f conftest.$ac_objext
   3256 if { (ac_try="$ac_compile"
   3257 case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3262 $as_echo "$ac_try_echo") >&5
   3263   (eval "$ac_compile") 2>conftest.er1
   3264   ac_status=$?
   3265   grep -v '^ *+' conftest.er1 >conftest.err
   3266   rm -f conftest.er1
   3267   cat conftest.err >&5
   3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3269   (exit $ac_status); } && {
   3270 	 test -z "$ac_c_werror_flag" ||
   3271 	 test ! -s conftest.err
   3272        } && test -s conftest.$ac_objext; then
   3273   ac_compiler_gnu=yes
   3274 else
   3275   $as_echo "$as_me: failed program was:" >&5
   3276 sed 's/^/| /' conftest.$ac_ext >&5
   3277 
   3278 	ac_compiler_gnu=no
   3279 fi
   3280 
   3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3282 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3283 
   3284 fi
   3285 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3286 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3287 if test $ac_compiler_gnu = yes; then
   3288   GCC=yes
   3289 else
   3290   GCC=
   3291 fi
   3292 ac_test_CFLAGS=${CFLAGS+set}
   3293 ac_save_CFLAGS=$CFLAGS
   3294 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3295 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3296 if test "${ac_cv_prog_cc_g+set}" = set; then
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   ac_save_c_werror_flag=$ac_c_werror_flag
   3300    ac_c_werror_flag=yes
   3301    ac_cv_prog_cc_g=no
   3302    CFLAGS="-g"
   3303    cat >conftest.$ac_ext <<_ACEOF
   3304 /* confdefs.h.  */
   3305 _ACEOF
   3306 cat confdefs.h >>conftest.$ac_ext
   3307 cat >>conftest.$ac_ext <<_ACEOF
   3308 /* end confdefs.h.  */
   3309 
   3310 int
   3311 main ()
   3312 {
   3313 
   3314   ;
   3315   return 0;
   3316 }
   3317 _ACEOF
   3318 rm -f conftest.$ac_objext
   3319 if { (ac_try="$ac_compile"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo") >&5
   3326   (eval "$ac_compile") 2>conftest.er1
   3327   ac_status=$?
   3328   grep -v '^ *+' conftest.er1 >conftest.err
   3329   rm -f conftest.er1
   3330   cat conftest.err >&5
   3331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3332   (exit $ac_status); } && {
   3333 	 test -z "$ac_c_werror_flag" ||
   3334 	 test ! -s conftest.err
   3335        } && test -s conftest.$ac_objext; then
   3336   ac_cv_prog_cc_g=yes
   3337 else
   3338   $as_echo "$as_me: failed program was:" >&5
   3339 sed 's/^/| /' conftest.$ac_ext >&5
   3340 
   3341 	CFLAGS=""
   3342       cat >conftest.$ac_ext <<_ACEOF
   3343 /* confdefs.h.  */
   3344 _ACEOF
   3345 cat confdefs.h >>conftest.$ac_ext
   3346 cat >>conftest.$ac_ext <<_ACEOF
   3347 /* end confdefs.h.  */
   3348 
   3349 int
   3350 main ()
   3351 {
   3352 
   3353   ;
   3354   return 0;
   3355 }
   3356 _ACEOF
   3357 rm -f conftest.$ac_objext
   3358 if { (ac_try="$ac_compile"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo") >&5
   3365   (eval "$ac_compile") 2>conftest.er1
   3366   ac_status=$?
   3367   grep -v '^ *+' conftest.er1 >conftest.err
   3368   rm -f conftest.er1
   3369   cat conftest.err >&5
   3370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3371   (exit $ac_status); } && {
   3372 	 test -z "$ac_c_werror_flag" ||
   3373 	 test ! -s conftest.err
   3374        } && test -s conftest.$ac_objext; then
   3375   :
   3376 else
   3377   $as_echo "$as_me: failed program was:" >&5
   3378 sed 's/^/| /' conftest.$ac_ext >&5
   3379 
   3380 	ac_c_werror_flag=$ac_save_c_werror_flag
   3381 	 CFLAGS="-g"
   3382 	 cat >conftest.$ac_ext <<_ACEOF
   3383 /* confdefs.h.  */
   3384 _ACEOF
   3385 cat confdefs.h >>conftest.$ac_ext
   3386 cat >>conftest.$ac_ext <<_ACEOF
   3387 /* end confdefs.h.  */
   3388 
   3389 int
   3390 main ()
   3391 {
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 rm -f conftest.$ac_objext
   3398 if { (ac_try="$ac_compile"
   3399 case "(($ac_try" in
   3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3401   *) ac_try_echo=$ac_try;;
   3402 esac
   3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3404 $as_echo "$ac_try_echo") >&5
   3405   (eval "$ac_compile") 2>conftest.er1
   3406   ac_status=$?
   3407   grep -v '^ *+' conftest.er1 >conftest.err
   3408   rm -f conftest.er1
   3409   cat conftest.err >&5
   3410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3411   (exit $ac_status); } && {
   3412 	 test -z "$ac_c_werror_flag" ||
   3413 	 test ! -s conftest.err
   3414        } && test -s conftest.$ac_objext; then
   3415   ac_cv_prog_cc_g=yes
   3416 else
   3417   $as_echo "$as_me: failed program was:" >&5
   3418 sed 's/^/| /' conftest.$ac_ext >&5
   3419 
   3420 
   3421 fi
   3422 
   3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3424 fi
   3425 
   3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3427 fi
   3428 
   3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3430    ac_c_werror_flag=$ac_save_c_werror_flag
   3431 fi
   3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3434 if test "$ac_test_CFLAGS" = set; then
   3435   CFLAGS=$ac_save_CFLAGS
   3436 elif test $ac_cv_prog_cc_g = yes; then
   3437   if test "$GCC" = yes; then
   3438     CFLAGS="-g -O2"
   3439   else
   3440     CFLAGS="-g"
   3441   fi
   3442 else
   3443   if test "$GCC" = yes; then
   3444     CFLAGS="-O2"
   3445   else
   3446     CFLAGS=
   3447   fi
   3448 fi
   3449 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3451 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   ac_cv_prog_cc_c89=no
   3455 ac_save_CC=$CC
   3456 cat >conftest.$ac_ext <<_ACEOF
   3457 /* confdefs.h.  */
   3458 _ACEOF
   3459 cat confdefs.h >>conftest.$ac_ext
   3460 cat >>conftest.$ac_ext <<_ACEOF
   3461 /* end confdefs.h.  */
   3462 #include <stdarg.h>
   3463 #include <stdio.h>
   3464 #include <sys/types.h>
   3465 #include <sys/stat.h>
   3466 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3467 struct buf { int x; };
   3468 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3469 static char *e (p, i)
   3470      char **p;
   3471      int i;
   3472 {
   3473   return p[i];
   3474 }
   3475 static char *f (char * (*g) (char **, int), char **p, ...)
   3476 {
   3477   char *s;
   3478   va_list v;
   3479   va_start (v,p);
   3480   s = g (p, va_arg (v,int));
   3481   va_end (v);
   3482   return s;
   3483 }
   3484 
   3485 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3486    function prototypes and stuff, but not '\xHH' hex character constants.
   3487    These don't provoke an error unfortunately, instead are silently treated
   3488    as 'x'.  The following induces an error, until -std is added to get
   3489    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3490    array size at least.  It's necessary to write '\x00'==0 to get something
   3491    that's true only with -std.  */
   3492 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3493 
   3494 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3495    inside strings and character constants.  */
   3496 #define FOO(x) 'x'
   3497 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3498 
   3499 int test (int i, double x);
   3500 struct s1 {int (*f) (int a);};
   3501 struct s2 {int (*f) (double a);};
   3502 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3503 int argc;
   3504 char **argv;
   3505 int
   3506 main ()
   3507 {
   3508 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3514 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3515 do
   3516   CC="$ac_save_CC $ac_arg"
   3517   rm -f conftest.$ac_objext
   3518 if { (ac_try="$ac_compile"
   3519 case "(($ac_try" in
   3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3521   *) ac_try_echo=$ac_try;;
   3522 esac
   3523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3524 $as_echo "$ac_try_echo") >&5
   3525   (eval "$ac_compile") 2>conftest.er1
   3526   ac_status=$?
   3527   grep -v '^ *+' conftest.er1 >conftest.err
   3528   rm -f conftest.er1
   3529   cat conftest.err >&5
   3530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3531   (exit $ac_status); } && {
   3532 	 test -z "$ac_c_werror_flag" ||
   3533 	 test ! -s conftest.err
   3534        } && test -s conftest.$ac_objext; then
   3535   ac_cv_prog_cc_c89=$ac_arg
   3536 else
   3537   $as_echo "$as_me: failed program was:" >&5
   3538 sed 's/^/| /' conftest.$ac_ext >&5
   3539 
   3540 
   3541 fi
   3542 
   3543 rm -f core conftest.err conftest.$ac_objext
   3544   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3545 done
   3546 rm -f conftest.$ac_ext
   3547 CC=$ac_save_CC
   3548 
   3549 fi
   3550 # AC_CACHE_VAL
   3551 case "x$ac_cv_prog_cc_c89" in
   3552   x)
   3553     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3554 $as_echo "none needed" >&6; } ;;
   3555   xno)
   3556     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3557 $as_echo "unsupported" >&6; } ;;
   3558   *)
   3559     CC="$CC $ac_cv_prog_cc_c89"
   3560     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3561 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3562 esac
   3563 
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 DEPDIR="${am__leading_dot}deps"
   3571 
   3572 ac_config_commands="$ac_config_commands depfiles"
   3573 
   3574 
   3575 am_make=${MAKE-make}
   3576 cat > confinc << 'END'
   3577 am__doit:
   3578 	@echo this is the am__doit target
   3579 .PHONY: am__doit
   3580 END
   3581 # If we don't find an include directive, just comment out the code.
   3582 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3583 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3584 am__include="#"
   3585 am__quote=
   3586 _am_result=none
   3587 # First try GNU make style include.
   3588 echo "include confinc" > confmf
   3589 # Ignore all kinds of additional output from `make'.
   3590 case `$am_make -s -f confmf 2> /dev/null` in #(
   3591 *the\ am__doit\ target*)
   3592   am__include=include
   3593   am__quote=
   3594   _am_result=GNU
   3595   ;;
   3596 esac
   3597 # Now try BSD make style include.
   3598 if test "$am__include" = "#"; then
   3599    echo '.include "confinc"' > confmf
   3600    case `$am_make -s -f confmf 2> /dev/null` in #(
   3601    *the\ am__doit\ target*)
   3602      am__include=.include
   3603      am__quote="\""
   3604      _am_result=BSD
   3605      ;;
   3606    esac
   3607 fi
   3608 
   3609 
   3610 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3611 $as_echo "$_am_result" >&6; }
   3612 rm -f confinc confmf
   3613 
   3614 # Check whether --enable-dependency-tracking was given.
   3615 if test "${enable_dependency_tracking+set}" = set; then
   3616   enableval=$enable_dependency_tracking;
   3617 fi
   3618 
   3619 if test "x$enable_dependency_tracking" != xno; then
   3620   am_depcomp="$ac_aux_dir/depcomp"
   3621   AMDEPBACKSLASH='\'
   3622 fi
   3623  if test "x$enable_dependency_tracking" != xno; then
   3624   AMDEP_TRUE=
   3625   AMDEP_FALSE='#'
   3626 else
   3627   AMDEP_TRUE='#'
   3628   AMDEP_FALSE=
   3629 fi
   3630 
   3631 
   3632 
   3633 depcc="$CC"   am_compiler_list=
   3634 
   3635 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3636 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3637 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3638   $as_echo_n "(cached) " >&6
   3639 else
   3640   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3641   # We make a subdir and do the tests there.  Otherwise we can end up
   3642   # making bogus files that we don't know about and never remove.  For
   3643   # instance it was reported that on HP-UX the gcc test will end up
   3644   # making a dummy file named `D' -- because `-MD' means `put the output
   3645   # in D'.
   3646   mkdir conftest.dir
   3647   # Copy depcomp to subdir because otherwise we won't find it if we're
   3648   # using a relative directory.
   3649   cp "$am_depcomp" conftest.dir
   3650   cd conftest.dir
   3651   # We will build objects and dependencies in a subdirectory because
   3652   # it helps to detect inapplicable dependency modes.  For instance
   3653   # both Tru64's cc and ICC support -MD to output dependencies as a
   3654   # side effect of compilation, but ICC will put the dependencies in
   3655   # the current directory while Tru64 will put them in the object
   3656   # directory.
   3657   mkdir sub
   3658 
   3659   am_cv_CC_dependencies_compiler_type=none
   3660   if test "$am_compiler_list" = ""; then
   3661      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3662   fi
   3663   am__universal=false
   3664   case " $depcc " in #(
   3665      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3666      esac
   3667 
   3668   for depmode in $am_compiler_list; do
   3669     # Setup a source with many dependencies, because some compilers
   3670     # like to wrap large dependency lists on column 80 (with \), and
   3671     # we should not choose a depcomp mode which is confused by this.
   3672     #
   3673     # We need to recreate these files for each test, as the compiler may
   3674     # overwrite some of them when testing with obscure command lines.
   3675     # This happens at least with the AIX C compiler.
   3676     : > sub/conftest.c
   3677     for i in 1 2 3 4 5 6; do
   3678       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3679       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3680       # Solaris 8's {/usr,}/bin/sh.
   3681       touch sub/conftst$i.h
   3682     done
   3683     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3684 
   3685     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3686     # mode.  It turns out that the SunPro C++ compiler does not properly
   3687     # handle `-M -o', and we need to detect this.  Also, some Intel
   3688     # versions had trouble with output in subdirs
   3689     am__obj=sub/conftest.${OBJEXT-o}
   3690     am__minus_obj="-o $am__obj"
   3691     case $depmode in
   3692     gcc)
   3693       # This depmode causes a compiler race in universal mode.
   3694       test "$am__universal" = false || continue
   3695       ;;
   3696     nosideeffect)
   3697       # after this tag, mechanisms are not by side-effect, so they'll
   3698       # only be used when explicitly requested
   3699       if test "x$enable_dependency_tracking" = xyes; then
   3700 	continue
   3701       else
   3702 	break
   3703       fi
   3704       ;;
   3705     msvisualcpp | msvcmsys)
   3706       # This compiler won't grok `-c -o', but also, the minuso test has
   3707       # not run yet.  These depmodes are late enough in the game, and
   3708       # so weak that their functioning should not be impacted.
   3709       am__obj=conftest.${OBJEXT-o}
   3710       am__minus_obj=
   3711       ;;
   3712     none) break ;;
   3713     esac
   3714     if depmode=$depmode \
   3715        source=sub/conftest.c object=$am__obj \
   3716        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3717        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3718          >/dev/null 2>conftest.err &&
   3719        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3720        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3721        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3722        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3723       # icc doesn't choke on unknown options, it will just issue warnings
   3724       # or remarks (even with -Werror).  So we grep stderr for any message
   3725       # that says an option was ignored or not supported.
   3726       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3727       #   icc: Command line warning: ignoring option '-M'; no argument required
   3728       # The diagnosis changed in icc 8.0:
   3729       #   icc: Command line remark: option '-MP' not supported
   3730       if (grep 'ignoring option' conftest.err ||
   3731           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3732         am_cv_CC_dependencies_compiler_type=$depmode
   3733         break
   3734       fi
   3735     fi
   3736   done
   3737 
   3738   cd ..
   3739   rm -rf conftest.dir
   3740 else
   3741   am_cv_CC_dependencies_compiler_type=none
   3742 fi
   3743 
   3744 fi
   3745 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3746 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3747 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3748 
   3749  if
   3750   test "x$enable_dependency_tracking" != xno \
   3751   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3752   am__fastdepCC_TRUE=
   3753   am__fastdepCC_FALSE='#'
   3754 else
   3755   am__fastdepCC_TRUE='#'
   3756   am__fastdepCC_FALSE=
   3757 fi
   3758 
   3759 
   3760 case `pwd` in
   3761   *\ * | *\	*)
   3762     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3763 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3764 esac
   3765 
   3766 
   3767 
   3768 macro_version='2.2.6'
   3769 macro_revision='1.3012'
   3770 
   3771 
   3772 
   3773 
   3774 
   3775 
   3776 
   3777 
   3778 
   3779 
   3780 
   3781 
   3782 
   3783 ltmain="$ac_aux_dir/ltmain.sh"
   3784 
   3785 # Make sure we can run config.sub.
   3786 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3787   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3788 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3789    { (exit 1); exit 1; }; }
   3790 
   3791 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3792 $as_echo_n "checking build system type... " >&6; }
   3793 if test "${ac_cv_build+set}" = set; then
   3794   $as_echo_n "(cached) " >&6
   3795 else
   3796   ac_build_alias=$build_alias
   3797 test "x$ac_build_alias" = x &&
   3798   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3799 test "x$ac_build_alias" = x &&
   3800   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3801 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3802    { (exit 1); exit 1; }; }
   3803 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3804   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3805 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3806    { (exit 1); exit 1; }; }
   3807 
   3808 fi
   3809 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3810 $as_echo "$ac_cv_build" >&6; }
   3811 case $ac_cv_build in
   3812 *-*-*) ;;
   3813 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3814 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3815    { (exit 1); exit 1; }; };;
   3816 esac
   3817 build=$ac_cv_build
   3818 ac_save_IFS=$IFS; IFS='-'
   3819 set x $ac_cv_build
   3820 shift
   3821 build_cpu=$1
   3822 build_vendor=$2
   3823 shift; shift
   3824 # Remember, the first character of IFS is used to create $*,
   3825 # except with old shells:
   3826 build_os=$*
   3827 IFS=$ac_save_IFS
   3828 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3829 
   3830 
   3831 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3832 $as_echo_n "checking host system type... " >&6; }
   3833 if test "${ac_cv_host+set}" = set; then
   3834   $as_echo_n "(cached) " >&6
   3835 else
   3836   if test "x$host_alias" = x; then
   3837   ac_cv_host=$ac_cv_build
   3838 else
   3839   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3840     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3841 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3842    { (exit 1); exit 1; }; }
   3843 fi
   3844 
   3845 fi
   3846 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3847 $as_echo "$ac_cv_host" >&6; }
   3848 case $ac_cv_host in
   3849 *-*-*) ;;
   3850 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3851 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3852    { (exit 1); exit 1; }; };;
   3853 esac
   3854 host=$ac_cv_host
   3855 ac_save_IFS=$IFS; IFS='-'
   3856 set x $ac_cv_host
   3857 shift
   3858 host_cpu=$1
   3859 host_vendor=$2
   3860 shift; shift
   3861 # Remember, the first character of IFS is used to create $*,
   3862 # except with old shells:
   3863 host_os=$*
   3864 IFS=$ac_save_IFS
   3865 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3866 
   3867 
   3868 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3869 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3870 if test "${ac_cv_path_SED+set}" = set; then
   3871   $as_echo_n "(cached) " >&6
   3872 else
   3873             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3874      for ac_i in 1 2 3 4 5 6 7; do
   3875        ac_script="$ac_script$as_nl$ac_script"
   3876      done
   3877      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3878      $as_unset ac_script || ac_script=
   3879      if test -z "$SED"; then
   3880   ac_path_SED_found=false
   3881   # Loop through the user's path and test for each of PROGNAME-LIST
   3882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3883 for as_dir in $PATH
   3884 do
   3885   IFS=$as_save_IFS
   3886   test -z "$as_dir" && as_dir=.
   3887   for ac_prog in sed gsed; do
   3888     for ac_exec_ext in '' $ac_executable_extensions; do
   3889       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3890       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3891 # Check for GNU ac_path_SED and select it if it is found.
   3892   # Check for GNU $ac_path_SED
   3893 case `"$ac_path_SED" --version 2>&1` in
   3894 *GNU*)
   3895   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3896 *)
   3897   ac_count=0
   3898   $as_echo_n 0123456789 >"conftest.in"
   3899   while :
   3900   do
   3901     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3902     mv "conftest.tmp" "conftest.in"
   3903     cp "conftest.in" "conftest.nl"
   3904     $as_echo '' >> "conftest.nl"
   3905     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3906     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3907     ac_count=`expr $ac_count + 1`
   3908     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3909       # Best one so far, save it but keep looking for a better one
   3910       ac_cv_path_SED="$ac_path_SED"
   3911       ac_path_SED_max=$ac_count
   3912     fi
   3913     # 10*(2^10) chars as input seems more than enough
   3914     test $ac_count -gt 10 && break
   3915   done
   3916   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3917 esac
   3918 
   3919       $ac_path_SED_found && break 3
   3920     done
   3921   done
   3922 done
   3923 IFS=$as_save_IFS
   3924   if test -z "$ac_cv_path_SED"; then
   3925     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3926 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3927    { (exit 1); exit 1; }; }
   3928   fi
   3929 else
   3930   ac_cv_path_SED=$SED
   3931 fi
   3932 
   3933 fi
   3934 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3935 $as_echo "$ac_cv_path_SED" >&6; }
   3936  SED="$ac_cv_path_SED"
   3937   rm -f conftest.sed
   3938 
   3939 test -z "$SED" && SED=sed
   3940 Xsed="$SED -e 1s/^X//"
   3941 
   3942 
   3943 
   3944 
   3945 
   3946 
   3947 
   3948 
   3949 
   3950 
   3951 
   3952 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3953 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3954 if test "${ac_cv_path_GREP+set}" = set; then
   3955   $as_echo_n "(cached) " >&6
   3956 else
   3957   if test -z "$GREP"; then
   3958   ac_path_GREP_found=false
   3959   # Loop through the user's path and test for each of PROGNAME-LIST
   3960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3961 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3962 do
   3963   IFS=$as_save_IFS
   3964   test -z "$as_dir" && as_dir=.
   3965   for ac_prog in grep ggrep; do
   3966     for ac_exec_ext in '' $ac_executable_extensions; do
   3967       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3968       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3969 # Check for GNU ac_path_GREP and select it if it is found.
   3970   # Check for GNU $ac_path_GREP
   3971 case `"$ac_path_GREP" --version 2>&1` in
   3972 *GNU*)
   3973   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3974 *)
   3975   ac_count=0
   3976   $as_echo_n 0123456789 >"conftest.in"
   3977   while :
   3978   do
   3979     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3980     mv "conftest.tmp" "conftest.in"
   3981     cp "conftest.in" "conftest.nl"
   3982     $as_echo 'GREP' >> "conftest.nl"
   3983     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3984     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3985     ac_count=`expr $ac_count + 1`
   3986     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3987       # Best one so far, save it but keep looking for a better one
   3988       ac_cv_path_GREP="$ac_path_GREP"
   3989       ac_path_GREP_max=$ac_count
   3990     fi
   3991     # 10*(2^10) chars as input seems more than enough
   3992     test $ac_count -gt 10 && break
   3993   done
   3994   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3995 esac
   3996 
   3997       $ac_path_GREP_found && break 3
   3998     done
   3999   done
   4000 done
   4001 IFS=$as_save_IFS
   4002   if test -z "$ac_cv_path_GREP"; then
   4003     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4004 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4005    { (exit 1); exit 1; }; }
   4006   fi
   4007 else
   4008   ac_cv_path_GREP=$GREP
   4009 fi
   4010 
   4011 fi
   4012 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4013 $as_echo "$ac_cv_path_GREP" >&6; }
   4014  GREP="$ac_cv_path_GREP"
   4015 
   4016 
   4017 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4018 $as_echo_n "checking for egrep... " >&6; }
   4019 if test "${ac_cv_path_EGREP+set}" = set; then
   4020   $as_echo_n "(cached) " >&6
   4021 else
   4022   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4023    then ac_cv_path_EGREP="$GREP -E"
   4024    else
   4025      if test -z "$EGREP"; then
   4026   ac_path_EGREP_found=false
   4027   # Loop through the user's path and test for each of PROGNAME-LIST
   4028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4030 do
   4031   IFS=$as_save_IFS
   4032   test -z "$as_dir" && as_dir=.
   4033   for ac_prog in egrep; do
   4034     for ac_exec_ext in '' $ac_executable_extensions; do
   4035       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4036       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4037 # Check for GNU ac_path_EGREP and select it if it is found.
   4038   # Check for GNU $ac_path_EGREP
   4039 case `"$ac_path_EGREP" --version 2>&1` in
   4040 *GNU*)
   4041   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4042 *)
   4043   ac_count=0
   4044   $as_echo_n 0123456789 >"conftest.in"
   4045   while :
   4046   do
   4047     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4048     mv "conftest.tmp" "conftest.in"
   4049     cp "conftest.in" "conftest.nl"
   4050     $as_echo 'EGREP' >> "conftest.nl"
   4051     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4052     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4053     ac_count=`expr $ac_count + 1`
   4054     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4055       # Best one so far, save it but keep looking for a better one
   4056       ac_cv_path_EGREP="$ac_path_EGREP"
   4057       ac_path_EGREP_max=$ac_count
   4058     fi
   4059     # 10*(2^10) chars as input seems more than enough
   4060     test $ac_count -gt 10 && break
   4061   done
   4062   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4063 esac
   4064 
   4065       $ac_path_EGREP_found && break 3
   4066     done
   4067   done
   4068 done
   4069 IFS=$as_save_IFS
   4070   if test -z "$ac_cv_path_EGREP"; then
   4071     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4072 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4073    { (exit 1); exit 1; }; }
   4074   fi
   4075 else
   4076   ac_cv_path_EGREP=$EGREP
   4077 fi
   4078 
   4079    fi
   4080 fi
   4081 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4082 $as_echo "$ac_cv_path_EGREP" >&6; }
   4083  EGREP="$ac_cv_path_EGREP"
   4084 
   4085 
   4086 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4087 $as_echo_n "checking for fgrep... " >&6; }
   4088 if test "${ac_cv_path_FGREP+set}" = set; then
   4089   $as_echo_n "(cached) " >&6
   4090 else
   4091   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4092    then ac_cv_path_FGREP="$GREP -F"
   4093    else
   4094      if test -z "$FGREP"; then
   4095   ac_path_FGREP_found=false
   4096   # Loop through the user's path and test for each of PROGNAME-LIST
   4097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4098 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4099 do
   4100   IFS=$as_save_IFS
   4101   test -z "$as_dir" && as_dir=.
   4102   for ac_prog in fgrep; do
   4103     for ac_exec_ext in '' $ac_executable_extensions; do
   4104       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4105       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4106 # Check for GNU ac_path_FGREP and select it if it is found.
   4107   # Check for GNU $ac_path_FGREP
   4108 case `"$ac_path_FGREP" --version 2>&1` in
   4109 *GNU*)
   4110   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4111 *)
   4112   ac_count=0
   4113   $as_echo_n 0123456789 >"conftest.in"
   4114   while :
   4115   do
   4116     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4117     mv "conftest.tmp" "conftest.in"
   4118     cp "conftest.in" "conftest.nl"
   4119     $as_echo 'FGREP' >> "conftest.nl"
   4120     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4121     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4122     ac_count=`expr $ac_count + 1`
   4123     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4124       # Best one so far, save it but keep looking for a better one
   4125       ac_cv_path_FGREP="$ac_path_FGREP"
   4126       ac_path_FGREP_max=$ac_count
   4127     fi
   4128     # 10*(2^10) chars as input seems more than enough
   4129     test $ac_count -gt 10 && break
   4130   done
   4131   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4132 esac
   4133 
   4134       $ac_path_FGREP_found && break 3
   4135     done
   4136   done
   4137 done
   4138 IFS=$as_save_IFS
   4139   if test -z "$ac_cv_path_FGREP"; then
   4140     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4141 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4142    { (exit 1); exit 1; }; }
   4143   fi
   4144 else
   4145   ac_cv_path_FGREP=$FGREP
   4146 fi
   4147 
   4148    fi
   4149 fi
   4150 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4151 $as_echo "$ac_cv_path_FGREP" >&6; }
   4152  FGREP="$ac_cv_path_FGREP"
   4153 
   4154 
   4155 test -z "$GREP" && GREP=grep
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 
   4168 
   4169 
   4170 
   4171 
   4172 
   4173 
   4174 
   4175 # Check whether --with-gnu-ld was given.
   4176 if test "${with_gnu_ld+set}" = set; then
   4177   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4178 else
   4179   with_gnu_ld=no
   4180 fi
   4181 
   4182 ac_prog=ld
   4183 if test "$GCC" = yes; then
   4184   # Check if gcc -print-prog-name=ld gives a path.
   4185   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4186 $as_echo_n "checking for ld used by $CC... " >&6; }
   4187   case $host in
   4188   *-*-mingw*)
   4189     # gcc leaves a trailing carriage return which upsets mingw
   4190     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4191   *)
   4192     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4193   esac
   4194   case $ac_prog in
   4195     # Accept absolute paths.
   4196     [\\/]* | ?:[\\/]*)
   4197       re_direlt='/[^/][^/]*/\.\./'
   4198       # Canonicalize the pathname of ld
   4199       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4200       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4201 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4202       done
   4203       test -z "$LD" && LD="$ac_prog"
   4204       ;;
   4205   "")
   4206     # If it fails, then pretend we aren't using GCC.
   4207     ac_prog=ld
   4208     ;;
   4209   *)
   4210     # If it is relative, then search for the first ld in PATH.
   4211     with_gnu_ld=unknown
   4212     ;;
   4213   esac
   4214 elif test "$with_gnu_ld" = yes; then
   4215   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4216 $as_echo_n "checking for GNU ld... " >&6; }
   4217 else
   4218   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4219 $as_echo_n "checking for non-GNU ld... " >&6; }
   4220 fi
   4221 if test "${lt_cv_path_LD+set}" = set; then
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   if test -z "$LD"; then
   4225   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4226   for ac_dir in $PATH; do
   4227     IFS="$lt_save_ifs"
   4228     test -z "$ac_dir" && ac_dir=.
   4229     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4230       lt_cv_path_LD="$ac_dir/$ac_prog"
   4231       # Check to see if the program is GNU ld.  I'd rather use --version,
   4232       # but apparently some variants of GNU ld only accept -v.
   4233       # Break only if it was the GNU/non-GNU ld that we prefer.
   4234       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4235       *GNU* | *'with BFD'*)
   4236 	test "$with_gnu_ld" != no && break
   4237 	;;
   4238       *)
   4239 	test "$with_gnu_ld" != yes && break
   4240 	;;
   4241       esac
   4242     fi
   4243   done
   4244   IFS="$lt_save_ifs"
   4245 else
   4246   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4247 fi
   4248 fi
   4249 
   4250 LD="$lt_cv_path_LD"
   4251 if test -n "$LD"; then
   4252   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4253 $as_echo "$LD" >&6; }
   4254 else
   4255   { $as_echo "$as_me:$LINENO: result: no" >&5
   4256 $as_echo "no" >&6; }
   4257 fi
   4258 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4259 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4260    { (exit 1); exit 1; }; }
   4261 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4262 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4263 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4264   $as_echo_n "(cached) " >&6
   4265 else
   4266   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4267 case `$LD -v 2>&1 </dev/null` in
   4268 *GNU* | *'with BFD'*)
   4269   lt_cv_prog_gnu_ld=yes
   4270   ;;
   4271 *)
   4272   lt_cv_prog_gnu_ld=no
   4273   ;;
   4274 esac
   4275 fi
   4276 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4277 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4278 with_gnu_ld=$lt_cv_prog_gnu_ld
   4279 
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4289 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4290 if test "${lt_cv_path_NM+set}" = set; then
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   if test -n "$NM"; then
   4294   # Let the user override the test.
   4295   lt_cv_path_NM="$NM"
   4296 else
   4297   lt_nm_to_check="${ac_tool_prefix}nm"
   4298   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4299     lt_nm_to_check="$lt_nm_to_check nm"
   4300   fi
   4301   for lt_tmp_nm in $lt_nm_to_check; do
   4302     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4303     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4304       IFS="$lt_save_ifs"
   4305       test -z "$ac_dir" && ac_dir=.
   4306       tmp_nm="$ac_dir/$lt_tmp_nm"
   4307       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4308 	# Check to see if the nm accepts a BSD-compat flag.
   4309 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4310 	#   nm: unknown option "B" ignored
   4311 	# Tru64's nm complains that /dev/null is an invalid object file
   4312 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4313 	*/dev/null* | *'Invalid file or object type'*)
   4314 	  lt_cv_path_NM="$tmp_nm -B"
   4315 	  break
   4316 	  ;;
   4317 	*)
   4318 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4319 	  */dev/null*)
   4320 	    lt_cv_path_NM="$tmp_nm -p"
   4321 	    break
   4322 	    ;;
   4323 	  *)
   4324 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4325 	    continue # so that we can try to find one that supports BSD flags
   4326 	    ;;
   4327 	  esac
   4328 	  ;;
   4329 	esac
   4330       fi
   4331     done
   4332     IFS="$lt_save_ifs"
   4333   done
   4334   : ${lt_cv_path_NM=no}
   4335 fi
   4336 fi
   4337 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4338 $as_echo "$lt_cv_path_NM" >&6; }
   4339 if test "$lt_cv_path_NM" != "no"; then
   4340   NM="$lt_cv_path_NM"
   4341 else
   4342   # Didn't find any BSD compatible name lister, look for dumpbin.
   4343   if test -n "$ac_tool_prefix"; then
   4344   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4345   do
   4346     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4348 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4349 $as_echo_n "checking for $ac_word... " >&6; }
   4350 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4351   $as_echo_n "(cached) " >&6
   4352 else
   4353   if test -n "$DUMPBIN"; then
   4354   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4355 else
   4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4357 for as_dir in $PATH
   4358 do
   4359   IFS=$as_save_IFS
   4360   test -z "$as_dir" && as_dir=.
   4361   for ac_exec_ext in '' $ac_executable_extensions; do
   4362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4363     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4364     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4365     break 2
   4366   fi
   4367 done
   4368 done
   4369 IFS=$as_save_IFS
   4370 
   4371 fi
   4372 fi
   4373 DUMPBIN=$ac_cv_prog_DUMPBIN
   4374 if test -n "$DUMPBIN"; then
   4375   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4376 $as_echo "$DUMPBIN" >&6; }
   4377 else
   4378   { $as_echo "$as_me:$LINENO: result: no" >&5
   4379 $as_echo "no" >&6; }
   4380 fi
   4381 
   4382 
   4383     test -n "$DUMPBIN" && break
   4384   done
   4385 fi
   4386 if test -z "$DUMPBIN"; then
   4387   ac_ct_DUMPBIN=$DUMPBIN
   4388   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4389 do
   4390   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4391 set dummy $ac_prog; ac_word=$2
   4392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4393 $as_echo_n "checking for $ac_word... " >&6; }
   4394 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4395   $as_echo_n "(cached) " >&6
   4396 else
   4397   if test -n "$ac_ct_DUMPBIN"; then
   4398   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4399 else
   4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4401 for as_dir in $PATH
   4402 do
   4403   IFS=$as_save_IFS
   4404   test -z "$as_dir" && as_dir=.
   4405   for ac_exec_ext in '' $ac_executable_extensions; do
   4406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4407     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4408     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4409     break 2
   4410   fi
   4411 done
   4412 done
   4413 IFS=$as_save_IFS
   4414 
   4415 fi
   4416 fi
   4417 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4418 if test -n "$ac_ct_DUMPBIN"; then
   4419   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4420 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4421 else
   4422   { $as_echo "$as_me:$LINENO: result: no" >&5
   4423 $as_echo "no" >&6; }
   4424 fi
   4425 
   4426 
   4427   test -n "$ac_ct_DUMPBIN" && break
   4428 done
   4429 
   4430   if test "x$ac_ct_DUMPBIN" = x; then
   4431     DUMPBIN=":"
   4432   else
   4433     case $cross_compiling:$ac_tool_warned in
   4434 yes:)
   4435 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4437 ac_tool_warned=yes ;;
   4438 esac
   4439     DUMPBIN=$ac_ct_DUMPBIN
   4440   fi
   4441 fi
   4442 
   4443 
   4444   if test "$DUMPBIN" != ":"; then
   4445     NM="$DUMPBIN"
   4446   fi
   4447 fi
   4448 test -z "$NM" && NM=nm
   4449 
   4450 
   4451 
   4452 
   4453 
   4454 
   4455 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4456 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4457 if test "${lt_cv_nm_interface+set}" = set; then
   4458   $as_echo_n "(cached) " >&6
   4459 else
   4460   lt_cv_nm_interface="BSD nm"
   4461   echo "int some_variable = 0;" > conftest.$ac_ext
   4462   (eval echo "\"\$as_me:4462: $ac_compile\"" >&5)
   4463   (eval "$ac_compile" 2>conftest.err)
   4464   cat conftest.err >&5
   4465   (eval echo "\"\$as_me:4465: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4466   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4467   cat conftest.err >&5
   4468   (eval echo "\"\$as_me:4468: output\"" >&5)
   4469   cat conftest.out >&5
   4470   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4471     lt_cv_nm_interface="MS dumpbin"
   4472   fi
   4473   rm -f conftest*
   4474 fi
   4475 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4476 $as_echo "$lt_cv_nm_interface" >&6; }
   4477 
   4478 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4479 $as_echo_n "checking whether ln -s works... " >&6; }
   4480 LN_S=$as_ln_s
   4481 if test "$LN_S" = "ln -s"; then
   4482   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4483 $as_echo "yes" >&6; }
   4484 else
   4485   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4486 $as_echo "no, using $LN_S" >&6; }
   4487 fi
   4488 
   4489 # find the maximum length of command line arguments
   4490 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4491 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4492 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495     i=0
   4496   teststring="ABCD"
   4497 
   4498   case $build_os in
   4499   msdosdjgpp*)
   4500     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4501     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4502     # during glob expansion).  Even if it were fixed, the result of this
   4503     # check would be larger than it should be.
   4504     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4505     ;;
   4506 
   4507   gnu*)
   4508     # Under GNU Hurd, this test is not required because there is
   4509     # no limit to the length of command line arguments.
   4510     # Libtool will interpret -1 as no limit whatsoever
   4511     lt_cv_sys_max_cmd_len=-1;
   4512     ;;
   4513 
   4514   cygwin* | mingw* | cegcc*)
   4515     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4516     # about 5 minutes as the teststring grows exponentially.
   4517     # Worse, since 9x/ME are not pre-emptively multitasking,
   4518     # you end up with a "frozen" computer, even though with patience
   4519     # the test eventually succeeds (with a max line length of 256k).
   4520     # Instead, let's just punt: use the minimum linelength reported by
   4521     # all of the supported platforms: 8192 (on NT/2K/XP).
   4522     lt_cv_sys_max_cmd_len=8192;
   4523     ;;
   4524 
   4525   amigaos*)
   4526     # On AmigaOS with pdksh, this test takes hours, literally.
   4527     # So we just punt and use a minimum line length of 8192.
   4528     lt_cv_sys_max_cmd_len=8192;
   4529     ;;
   4530 
   4531   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4532     # This has been around since 386BSD, at least.  Likely further.
   4533     if test -x /sbin/sysctl; then
   4534       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4535     elif test -x /usr/sbin/sysctl; then
   4536       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4537     else
   4538       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4539     fi
   4540     # And add a safety zone
   4541     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4542     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4543     ;;
   4544 
   4545   interix*)
   4546     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4547     lt_cv_sys_max_cmd_len=196608
   4548     ;;
   4549 
   4550   osf*)
   4551     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4552     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4553     # nice to cause kernel panics so lets avoid the loop below.
   4554     # First set a reasonable default.
   4555     lt_cv_sys_max_cmd_len=16384
   4556     #
   4557     if test -x /sbin/sysconfig; then
   4558       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4559         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4560       esac
   4561     fi
   4562     ;;
   4563   sco3.2v5*)
   4564     lt_cv_sys_max_cmd_len=102400
   4565     ;;
   4566   sysv5* | sco5v6* | sysv4.2uw2*)
   4567     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4568     if test -n "$kargmax"; then
   4569       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4570     else
   4571       lt_cv_sys_max_cmd_len=32768
   4572     fi
   4573     ;;
   4574   *)
   4575     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4576     if test -n "$lt_cv_sys_max_cmd_len"; then
   4577       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4578       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4579     else
   4580       # Make teststring a little bigger before we do anything with it.
   4581       # a 1K string should be a reasonable start.
   4582       for i in 1 2 3 4 5 6 7 8 ; do
   4583         teststring=$teststring$teststring
   4584       done
   4585       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4586       # If test is not a shell built-in, we'll probably end up computing a
   4587       # maximum length that is only half of the actual maximum length, but
   4588       # we can't tell.
   4589       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4590 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4591 	      test $i != 17 # 1/2 MB should be enough
   4592       do
   4593         i=`expr $i + 1`
   4594         teststring=$teststring$teststring
   4595       done
   4596       # Only check the string length outside the loop.
   4597       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4598       teststring=
   4599       # Add a significant safety factor because C++ compilers can tack on
   4600       # massive amounts of additional arguments before passing them to the
   4601       # linker.  It appears as though 1/2 is a usable value.
   4602       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4603     fi
   4604     ;;
   4605   esac
   4606 
   4607 fi
   4608 
   4609 if test -n $lt_cv_sys_max_cmd_len ; then
   4610   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4611 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4612 else
   4613   { $as_echo "$as_me:$LINENO: result: none" >&5
   4614 $as_echo "none" >&6; }
   4615 fi
   4616 max_cmd_len=$lt_cv_sys_max_cmd_len
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 : ${CP="cp -f"}
   4624 : ${MV="mv -f"}
   4625 : ${RM="rm -f"}
   4626 
   4627 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4628 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4629 # Try some XSI features
   4630 xsi_shell=no
   4631 ( _lt_dummy="a/b/c"
   4632   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4633       = c,a/b,, \
   4634     && eval 'test $(( 1 + 1 )) -eq 2 \
   4635     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4636   && xsi_shell=yes
   4637 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4638 $as_echo "$xsi_shell" >&6; }
   4639 
   4640 
   4641 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4642 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4643 lt_shell_append=no
   4644 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4645     >/dev/null 2>&1 \
   4646   && lt_shell_append=yes
   4647 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4648 $as_echo "$lt_shell_append" >&6; }
   4649 
   4650 
   4651 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4652   lt_unset=unset
   4653 else
   4654   lt_unset=false
   4655 fi
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 # test EBCDIC or ASCII
   4662 case `echo X|tr X '\101'` in
   4663  A) # ASCII based system
   4664     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4665   lt_SP2NL='tr \040 \012'
   4666   lt_NL2SP='tr \015\012 \040\040'
   4667   ;;
   4668  *) # EBCDIC based system
   4669   lt_SP2NL='tr \100 \n'
   4670   lt_NL2SP='tr \r\n \100\100'
   4671   ;;
   4672 esac
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4683 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4684 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4685   $as_echo_n "(cached) " >&6
   4686 else
   4687   lt_cv_ld_reload_flag='-r'
   4688 fi
   4689 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4690 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4691 reload_flag=$lt_cv_ld_reload_flag
   4692 case $reload_flag in
   4693 "" | " "*) ;;
   4694 *) reload_flag=" $reload_flag" ;;
   4695 esac
   4696 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4697 case $host_os in
   4698   darwin*)
   4699     if test "$GCC" = yes; then
   4700       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4701     else
   4702       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4703     fi
   4704     ;;
   4705 esac
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 if test -n "$ac_tool_prefix"; then
   4716   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4717 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4719 $as_echo_n "checking for $ac_word... " >&6; }
   4720 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723   if test -n "$OBJDUMP"; then
   4724   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4725 else
   4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4727 for as_dir in $PATH
   4728 do
   4729   IFS=$as_save_IFS
   4730   test -z "$as_dir" && as_dir=.
   4731   for ac_exec_ext in '' $ac_executable_extensions; do
   4732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4733     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4734     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4735     break 2
   4736   fi
   4737 done
   4738 done
   4739 IFS=$as_save_IFS
   4740 
   4741 fi
   4742 fi
   4743 OBJDUMP=$ac_cv_prog_OBJDUMP
   4744 if test -n "$OBJDUMP"; then
   4745   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4746 $as_echo "$OBJDUMP" >&6; }
   4747 else
   4748   { $as_echo "$as_me:$LINENO: result: no" >&5
   4749 $as_echo "no" >&6; }
   4750 fi
   4751 
   4752 
   4753 fi
   4754 if test -z "$ac_cv_prog_OBJDUMP"; then
   4755   ac_ct_OBJDUMP=$OBJDUMP
   4756   # Extract the first word of "objdump", so it can be a program name with args.
   4757 set dummy objdump; ac_word=$2
   4758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4759 $as_echo_n "checking for $ac_word... " >&6; }
   4760 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4761   $as_echo_n "(cached) " >&6
   4762 else
   4763   if test -n "$ac_ct_OBJDUMP"; then
   4764   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4765 else
   4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4767 for as_dir in $PATH
   4768 do
   4769   IFS=$as_save_IFS
   4770   test -z "$as_dir" && as_dir=.
   4771   for ac_exec_ext in '' $ac_executable_extensions; do
   4772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4773     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4774     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4775     break 2
   4776   fi
   4777 done
   4778 done
   4779 IFS=$as_save_IFS
   4780 
   4781 fi
   4782 fi
   4783 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4784 if test -n "$ac_ct_OBJDUMP"; then
   4785   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4786 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4787 else
   4788   { $as_echo "$as_me:$LINENO: result: no" >&5
   4789 $as_echo "no" >&6; }
   4790 fi
   4791 
   4792   if test "x$ac_ct_OBJDUMP" = x; then
   4793     OBJDUMP="false"
   4794   else
   4795     case $cross_compiling:$ac_tool_warned in
   4796 yes:)
   4797 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4799 ac_tool_warned=yes ;;
   4800 esac
   4801     OBJDUMP=$ac_ct_OBJDUMP
   4802   fi
   4803 else
   4804   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4805 fi
   4806 
   4807 test -z "$OBJDUMP" && OBJDUMP=objdump
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4818 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4819 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4820   $as_echo_n "(cached) " >&6
   4821 else
   4822   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4823 lt_cv_file_magic_test_file=
   4824 lt_cv_deplibs_check_method='unknown'
   4825 # Need to set the preceding variable on all platforms that support
   4826 # interlibrary dependencies.
   4827 # 'none' -- dependencies not supported.
   4828 # `unknown' -- same as none, but documents that we really don't know.
   4829 # 'pass_all' -- all dependencies passed with no checks.
   4830 # 'test_compile' -- check by making test program.
   4831 # 'file_magic [[regex]]' -- check by looking for files in library path
   4832 # which responds to the $file_magic_cmd with a given extended regex.
   4833 # If you have `file' or equivalent on your system and you're not sure
   4834 # whether `pass_all' will *always* work, you probably want this one.
   4835 
   4836 case $host_os in
   4837 aix[4-9]*)
   4838   lt_cv_deplibs_check_method=pass_all
   4839   ;;
   4840 
   4841 beos*)
   4842   lt_cv_deplibs_check_method=pass_all
   4843   ;;
   4844 
   4845 bsdi[45]*)
   4846   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4847   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4848   lt_cv_file_magic_test_file=/shlib/libc.so
   4849   ;;
   4850 
   4851 cygwin*)
   4852   # func_win32_libid is a shell function defined in ltmain.sh
   4853   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4854   lt_cv_file_magic_cmd='func_win32_libid'
   4855   ;;
   4856 
   4857 mingw* | pw32*)
   4858   # Base MSYS/MinGW do not provide the 'file' command needed by
   4859   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4860   # unless we find 'file', for example because we are cross-compiling.
   4861   if ( file / ) >/dev/null 2>&1; then
   4862     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4863     lt_cv_file_magic_cmd='func_win32_libid'
   4864   else
   4865     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4866     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4867   fi
   4868   ;;
   4869 
   4870 cegcc)
   4871   # use the weaker test based on 'objdump'. See mingw*.
   4872   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4873   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4874   ;;
   4875 
   4876 darwin* | rhapsody*)
   4877   lt_cv_deplibs_check_method=pass_all
   4878   ;;
   4879 
   4880 freebsd* | dragonfly*)
   4881   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4882     case $host_cpu in
   4883     i*86 )
   4884       # Not sure whether the presence of OpenBSD here was a mistake.
   4885       # Let's accept both of them until this is cleared up.
   4886       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4887       lt_cv_file_magic_cmd=/usr/bin/file
   4888       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4889       ;;
   4890     esac
   4891   else
   4892     lt_cv_deplibs_check_method=pass_all
   4893   fi
   4894   ;;
   4895 
   4896 gnu*)
   4897   lt_cv_deplibs_check_method=pass_all
   4898   ;;
   4899 
   4900 hpux10.20* | hpux11*)
   4901   lt_cv_file_magic_cmd=/usr/bin/file
   4902   case $host_cpu in
   4903   ia64*)
   4904     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4905     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4906     ;;
   4907   hppa*64*)
   4908     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]'
   4909     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4910     ;;
   4911   *)
   4912     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4913     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4914     ;;
   4915   esac
   4916   ;;
   4917 
   4918 interix[3-9]*)
   4919   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4920   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4921   ;;
   4922 
   4923 irix5* | irix6* | nonstopux*)
   4924   case $LD in
   4925   *-32|*"-32 ") libmagic=32-bit;;
   4926   *-n32|*"-n32 ") libmagic=N32;;
   4927   *-64|*"-64 ") libmagic=64-bit;;
   4928   *) libmagic=never-match;;
   4929   esac
   4930   lt_cv_deplibs_check_method=pass_all
   4931   ;;
   4932 
   4933 # This must be Linux ELF.
   4934 linux* | k*bsd*-gnu)
   4935   lt_cv_deplibs_check_method=pass_all
   4936   ;;
   4937 
   4938 netbsd*)
   4939   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4940     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4941   else
   4942     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4943   fi
   4944   ;;
   4945 
   4946 newos6*)
   4947   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4948   lt_cv_file_magic_cmd=/usr/bin/file
   4949   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4950   ;;
   4951 
   4952 *nto* | *qnx*)
   4953   lt_cv_deplibs_check_method=pass_all
   4954   ;;
   4955 
   4956 openbsd*)
   4957   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4958     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4959   else
   4960     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4961   fi
   4962   ;;
   4963 
   4964 osf3* | osf4* | osf5*)
   4965   lt_cv_deplibs_check_method=pass_all
   4966   ;;
   4967 
   4968 rdos*)
   4969   lt_cv_deplibs_check_method=pass_all
   4970   ;;
   4971 
   4972 solaris*)
   4973   lt_cv_deplibs_check_method=pass_all
   4974   ;;
   4975 
   4976 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4977   lt_cv_deplibs_check_method=pass_all
   4978   ;;
   4979 
   4980 sysv4 | sysv4.3*)
   4981   case $host_vendor in
   4982   motorola)
   4983     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]'
   4984     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4985     ;;
   4986   ncr)
   4987     lt_cv_deplibs_check_method=pass_all
   4988     ;;
   4989   sequent)
   4990     lt_cv_file_magic_cmd='/bin/file'
   4991     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4992     ;;
   4993   sni)
   4994     lt_cv_file_magic_cmd='/bin/file'
   4995     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4996     lt_cv_file_magic_test_file=/lib/libc.so
   4997     ;;
   4998   siemens)
   4999     lt_cv_deplibs_check_method=pass_all
   5000     ;;
   5001   pc)
   5002     lt_cv_deplibs_check_method=pass_all
   5003     ;;
   5004   esac
   5005   ;;
   5006 
   5007 tpf*)
   5008   lt_cv_deplibs_check_method=pass_all
   5009   ;;
   5010 esac
   5011 
   5012 fi
   5013 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5014 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5015 file_magic_cmd=$lt_cv_file_magic_cmd
   5016 deplibs_check_method=$lt_cv_deplibs_check_method
   5017 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 if test -n "$ac_tool_prefix"; then
   5031   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5032 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5034 $as_echo_n "checking for $ac_word... " >&6; }
   5035 if test "${ac_cv_prog_AR+set}" = set; then
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   if test -n "$AR"; then
   5039   ac_cv_prog_AR="$AR" # Let the user override the test.
   5040 else
   5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5042 for as_dir in $PATH
   5043 do
   5044   IFS=$as_save_IFS
   5045   test -z "$as_dir" && as_dir=.
   5046   for ac_exec_ext in '' $ac_executable_extensions; do
   5047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5048     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5049     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5050     break 2
   5051   fi
   5052 done
   5053 done
   5054 IFS=$as_save_IFS
   5055 
   5056 fi
   5057 fi
   5058 AR=$ac_cv_prog_AR
   5059 if test -n "$AR"; then
   5060   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5061 $as_echo "$AR" >&6; }
   5062 else
   5063   { $as_echo "$as_me:$LINENO: result: no" >&5
   5064 $as_echo "no" >&6; }
   5065 fi
   5066 
   5067 
   5068 fi
   5069 if test -z "$ac_cv_prog_AR"; then
   5070   ac_ct_AR=$AR
   5071   # Extract the first word of "ar", so it can be a program name with args.
   5072 set dummy ar; ac_word=$2
   5073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5074 $as_echo_n "checking for $ac_word... " >&6; }
   5075 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   if test -n "$ac_ct_AR"; then
   5079   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5080 else
   5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5082 for as_dir in $PATH
   5083 do
   5084   IFS=$as_save_IFS
   5085   test -z "$as_dir" && as_dir=.
   5086   for ac_exec_ext in '' $ac_executable_extensions; do
   5087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5088     ac_cv_prog_ac_ct_AR="ar"
   5089     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5090     break 2
   5091   fi
   5092 done
   5093 done
   5094 IFS=$as_save_IFS
   5095 
   5096 fi
   5097 fi
   5098 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5099 if test -n "$ac_ct_AR"; then
   5100   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5101 $as_echo "$ac_ct_AR" >&6; }
   5102 else
   5103   { $as_echo "$as_me:$LINENO: result: no" >&5
   5104 $as_echo "no" >&6; }
   5105 fi
   5106 
   5107   if test "x$ac_ct_AR" = x; then
   5108     AR="false"
   5109   else
   5110     case $cross_compiling:$ac_tool_warned in
   5111 yes:)
   5112 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5114 ac_tool_warned=yes ;;
   5115 esac
   5116     AR=$ac_ct_AR
   5117   fi
   5118 else
   5119   AR="$ac_cv_prog_AR"
   5120 fi
   5121 
   5122 test -z "$AR" && AR=ar
   5123 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 if test -n "$ac_tool_prefix"; then
   5136   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5137 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5139 $as_echo_n "checking for $ac_word... " >&6; }
   5140 if test "${ac_cv_prog_STRIP+set}" = set; then
   5141   $as_echo_n "(cached) " >&6
   5142 else
   5143   if test -n "$STRIP"; then
   5144   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5145 else
   5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5147 for as_dir in $PATH
   5148 do
   5149   IFS=$as_save_IFS
   5150   test -z "$as_dir" && as_dir=.
   5151   for ac_exec_ext in '' $ac_executable_extensions; do
   5152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5153     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5154     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5155     break 2
   5156   fi
   5157 done
   5158 done
   5159 IFS=$as_save_IFS
   5160 
   5161 fi
   5162 fi
   5163 STRIP=$ac_cv_prog_STRIP
   5164 if test -n "$STRIP"; then
   5165   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5166 $as_echo "$STRIP" >&6; }
   5167 else
   5168   { $as_echo "$as_me:$LINENO: result: no" >&5
   5169 $as_echo "no" >&6; }
   5170 fi
   5171 
   5172 
   5173 fi
   5174 if test -z "$ac_cv_prog_STRIP"; then
   5175   ac_ct_STRIP=$STRIP
   5176   # Extract the first word of "strip", so it can be a program name with args.
   5177 set dummy strip; ac_word=$2
   5178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5179 $as_echo_n "checking for $ac_word... " >&6; }
   5180 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5181   $as_echo_n "(cached) " >&6
   5182 else
   5183   if test -n "$ac_ct_STRIP"; then
   5184   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5185 else
   5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5187 for as_dir in $PATH
   5188 do
   5189   IFS=$as_save_IFS
   5190   test -z "$as_dir" && as_dir=.
   5191   for ac_exec_ext in '' $ac_executable_extensions; do
   5192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5193     ac_cv_prog_ac_ct_STRIP="strip"
   5194     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5195     break 2
   5196   fi
   5197 done
   5198 done
   5199 IFS=$as_save_IFS
   5200 
   5201 fi
   5202 fi
   5203 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5204 if test -n "$ac_ct_STRIP"; then
   5205   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5206 $as_echo "$ac_ct_STRIP" >&6; }
   5207 else
   5208   { $as_echo "$as_me:$LINENO: result: no" >&5
   5209 $as_echo "no" >&6; }
   5210 fi
   5211 
   5212   if test "x$ac_ct_STRIP" = x; then
   5213     STRIP=":"
   5214   else
   5215     case $cross_compiling:$ac_tool_warned in
   5216 yes:)
   5217 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5219 ac_tool_warned=yes ;;
   5220 esac
   5221     STRIP=$ac_ct_STRIP
   5222   fi
   5223 else
   5224   STRIP="$ac_cv_prog_STRIP"
   5225 fi
   5226 
   5227 test -z "$STRIP" && STRIP=:
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 if test -n "$ac_tool_prefix"; then
   5235   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5236 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5238 $as_echo_n "checking for $ac_word... " >&6; }
   5239 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5240   $as_echo_n "(cached) " >&6
   5241 else
   5242   if test -n "$RANLIB"; then
   5243   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5244 else
   5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5246 for as_dir in $PATH
   5247 do
   5248   IFS=$as_save_IFS
   5249   test -z "$as_dir" && as_dir=.
   5250   for ac_exec_ext in '' $ac_executable_extensions; do
   5251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5252     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5253     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5254     break 2
   5255   fi
   5256 done
   5257 done
   5258 IFS=$as_save_IFS
   5259 
   5260 fi
   5261 fi
   5262 RANLIB=$ac_cv_prog_RANLIB
   5263 if test -n "$RANLIB"; then
   5264   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5265 $as_echo "$RANLIB" >&6; }
   5266 else
   5267   { $as_echo "$as_me:$LINENO: result: no" >&5
   5268 $as_echo "no" >&6; }
   5269 fi
   5270 
   5271 
   5272 fi
   5273 if test -z "$ac_cv_prog_RANLIB"; then
   5274   ac_ct_RANLIB=$RANLIB
   5275   # Extract the first word of "ranlib", so it can be a program name with args.
   5276 set dummy ranlib; ac_word=$2
   5277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5278 $as_echo_n "checking for $ac_word... " >&6; }
   5279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5280   $as_echo_n "(cached) " >&6
   5281 else
   5282   if test -n "$ac_ct_RANLIB"; then
   5283   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5284 else
   5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5286 for as_dir in $PATH
   5287 do
   5288   IFS=$as_save_IFS
   5289   test -z "$as_dir" && as_dir=.
   5290   for ac_exec_ext in '' $ac_executable_extensions; do
   5291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5292     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5293     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5294     break 2
   5295   fi
   5296 done
   5297 done
   5298 IFS=$as_save_IFS
   5299 
   5300 fi
   5301 fi
   5302 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5303 if test -n "$ac_ct_RANLIB"; then
   5304   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5305 $as_echo "$ac_ct_RANLIB" >&6; }
   5306 else
   5307   { $as_echo "$as_me:$LINENO: result: no" >&5
   5308 $as_echo "no" >&6; }
   5309 fi
   5310 
   5311   if test "x$ac_ct_RANLIB" = x; then
   5312     RANLIB=":"
   5313   else
   5314     case $cross_compiling:$ac_tool_warned in
   5315 yes:)
   5316 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5318 ac_tool_warned=yes ;;
   5319 esac
   5320     RANLIB=$ac_ct_RANLIB
   5321   fi
   5322 else
   5323   RANLIB="$ac_cv_prog_RANLIB"
   5324 fi
   5325 
   5326 test -z "$RANLIB" && RANLIB=:
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 # Determine commands to create old-style static archives.
   5334 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5335 old_postinstall_cmds='chmod 644 $oldlib'
   5336 old_postuninstall_cmds=
   5337 
   5338 if test -n "$RANLIB"; then
   5339   case $host_os in
   5340   openbsd*)
   5341     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5342     ;;
   5343   *)
   5344     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5345     ;;
   5346   esac
   5347   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5348 fi
   5349 
   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 # If no C compiler was specified, use CC.
   5384 LTCC=${LTCC-"$CC"}
   5385 
   5386 # If no C compiler flags were specified, use CFLAGS.
   5387 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5388 
   5389 # Allow CC to be a program name with arguments.
   5390 compiler=$CC
   5391 
   5392 
   5393 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5394 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5395 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5396 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399 
   5400 # These are sane defaults that work on at least a few old systems.
   5401 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5402 
   5403 # Character class describing NM global symbol codes.
   5404 symcode='[BCDEGRST]'
   5405 
   5406 # Regexp to match symbols that can be accessed directly from C.
   5407 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5408 
   5409 # Define system-specific variables.
   5410 case $host_os in
   5411 aix*)
   5412   symcode='[BCDT]'
   5413   ;;
   5414 cygwin* | mingw* | pw32* | cegcc*)
   5415   symcode='[ABCDGISTW]'
   5416   ;;
   5417 hpux*)
   5418   if test "$host_cpu" = ia64; then
   5419     symcode='[ABCDEGRST]'
   5420   fi
   5421   ;;
   5422 irix* | nonstopux*)
   5423   symcode='[BCDEGRST]'
   5424   ;;
   5425 osf*)
   5426   symcode='[BCDEGQRST]'
   5427   ;;
   5428 solaris*)
   5429   symcode='[BDRT]'
   5430   ;;
   5431 sco3.2v5*)
   5432   symcode='[DT]'
   5433   ;;
   5434 sysv4.2uw2*)
   5435   symcode='[DT]'
   5436   ;;
   5437 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5438   symcode='[ABDT]'
   5439   ;;
   5440 sysv4)
   5441   symcode='[DFNSTU]'
   5442   ;;
   5443 esac
   5444 
   5445 # If we're using GNU nm, then use its standard symbol codes.
   5446 case `$NM -V 2>&1` in
   5447 *GNU* | *'with BFD'*)
   5448   symcode='[ABCDGIRSTW]' ;;
   5449 esac
   5450 
   5451 # Transform an extracted symbol line into a proper C declaration.
   5452 # Some systems (esp. on ia64) link data and code symbols differently,
   5453 # so use this general approach.
   5454 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5455 
   5456 # Transform an extracted symbol line into symbol name and symbol address
   5457 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5458 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'"
   5459 
   5460 # Handle CRLF in mingw tool chain
   5461 opt_cr=
   5462 case $build_os in
   5463 mingw*)
   5464   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5465   ;;
   5466 esac
   5467 
   5468 # Try without a prefix underscore, then with it.
   5469 for ac_symprfx in "" "_"; do
   5470 
   5471   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5472   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5473 
   5474   # Write the raw and C identifiers.
   5475   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5476     # Fake it for dumpbin and say T for any non-static function
   5477     # and D for any global variable.
   5478     # Also find C++ and __fastcall symbols from MSVC++,
   5479     # which start with @ or ?.
   5480     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5481 "     {last_section=section; section=\$ 3};"\
   5482 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5483 "     \$ 0!~/External *\|/{next};"\
   5484 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5485 "     {if(hide[section]) next};"\
   5486 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5487 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5488 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5489 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5490 "     ' prfx=^$ac_symprfx"
   5491   else
   5492     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5493   fi
   5494 
   5495   # Check to see that the pipe works correctly.
   5496   pipe_works=no
   5497 
   5498   rm -f conftest*
   5499   cat > conftest.$ac_ext <<_LT_EOF
   5500 #ifdef __cplusplus
   5501 extern "C" {
   5502 #endif
   5503 char nm_test_var;
   5504 void nm_test_func(void);
   5505 void nm_test_func(void){}
   5506 #ifdef __cplusplus
   5507 }
   5508 #endif
   5509 int main(){nm_test_var='a';nm_test_func();return(0);}
   5510 _LT_EOF
   5511 
   5512   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5513   (eval $ac_compile) 2>&5
   5514   ac_status=$?
   5515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5516   (exit $ac_status); }; then
   5517     # Now try to grab the symbols.
   5518     nlist=conftest.nm
   5519     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5520   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5521   ac_status=$?
   5522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5523   (exit $ac_status); } && test -s "$nlist"; then
   5524       # Try sorting and uniquifying the output.
   5525       if sort "$nlist" | uniq > "$nlist"T; then
   5526 	mv -f "$nlist"T "$nlist"
   5527       else
   5528 	rm -f "$nlist"T
   5529       fi
   5530 
   5531       # Make sure that we snagged all the symbols we need.
   5532       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5533 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5534 	  cat <<_LT_EOF > conftest.$ac_ext
   5535 #ifdef __cplusplus
   5536 extern "C" {
   5537 #endif
   5538 
   5539 _LT_EOF
   5540 	  # Now generate the symbol file.
   5541 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5542 
   5543 	  cat <<_LT_EOF >> conftest.$ac_ext
   5544 
   5545 /* The mapping between symbol names and symbols.  */
   5546 const struct {
   5547   const char *name;
   5548   void       *address;
   5549 }
   5550 lt__PROGRAM__LTX_preloaded_symbols[] =
   5551 {
   5552   { "@PROGRAM@", (void *) 0 },
   5553 _LT_EOF
   5554 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5555 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5556   {0, (void *) 0}
   5557 };
   5558 
   5559 /* This works around a problem in FreeBSD linker */
   5560 #ifdef FREEBSD_WORKAROUND
   5561 static const void *lt_preloaded_setup() {
   5562   return lt__PROGRAM__LTX_preloaded_symbols;
   5563 }
   5564 #endif
   5565 
   5566 #ifdef __cplusplus
   5567 }
   5568 #endif
   5569 _LT_EOF
   5570 	  # Now try linking the two files.
   5571 	  mv conftest.$ac_objext conftstm.$ac_objext
   5572 	  lt_save_LIBS="$LIBS"
   5573 	  lt_save_CFLAGS="$CFLAGS"
   5574 	  LIBS="conftstm.$ac_objext"
   5575 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5576 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5577   (eval $ac_link) 2>&5
   5578   ac_status=$?
   5579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5580   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5581 	    pipe_works=yes
   5582 	  fi
   5583 	  LIBS="$lt_save_LIBS"
   5584 	  CFLAGS="$lt_save_CFLAGS"
   5585 	else
   5586 	  echo "cannot find nm_test_func in $nlist" >&5
   5587 	fi
   5588       else
   5589 	echo "cannot find nm_test_var in $nlist" >&5
   5590       fi
   5591     else
   5592       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5593     fi
   5594   else
   5595     echo "$progname: failed program was:" >&5
   5596     cat conftest.$ac_ext >&5
   5597   fi
   5598   rm -rf conftest* conftst*
   5599 
   5600   # Do not use the global_symbol_pipe unless it works.
   5601   if test "$pipe_works" = yes; then
   5602     break
   5603   else
   5604     lt_cv_sys_global_symbol_pipe=
   5605   fi
   5606 done
   5607 
   5608 fi
   5609 
   5610 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5611   lt_cv_sys_global_symbol_to_cdecl=
   5612 fi
   5613 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5614   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5615 $as_echo "failed" >&6; }
   5616 else
   5617   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5618 $as_echo "ok" >&6; }
   5619 fi
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 # Check whether --enable-libtool-lock was given.
   5644 if test "${enable_libtool_lock+set}" = set; then
   5645   enableval=$enable_libtool_lock;
   5646 fi
   5647 
   5648 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5649 
   5650 # Some flags need to be propagated to the compiler or linker for good
   5651 # libtool support.
   5652 case $host in
   5653 ia64-*-hpux*)
   5654   # Find out which ABI we are using.
   5655   echo 'int i;' > conftest.$ac_ext
   5656   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5657   (eval $ac_compile) 2>&5
   5658   ac_status=$?
   5659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5660   (exit $ac_status); }; then
   5661     case `/usr/bin/file conftest.$ac_objext` in
   5662       *ELF-32*)
   5663 	HPUX_IA64_MODE="32"
   5664 	;;
   5665       *ELF-64*)
   5666 	HPUX_IA64_MODE="64"
   5667 	;;
   5668     esac
   5669   fi
   5670   rm -rf conftest*
   5671   ;;
   5672 *-*-irix6*)
   5673   # Find out which ABI we are using.
   5674   echo '#line 5674 "configure"' > conftest.$ac_ext
   5675   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5676   (eval $ac_compile) 2>&5
   5677   ac_status=$?
   5678   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5679   (exit $ac_status); }; then
   5680     if test "$lt_cv_prog_gnu_ld" = yes; then
   5681       case `/usr/bin/file conftest.$ac_objext` in
   5682 	*32-bit*)
   5683 	  LD="${LD-ld} -melf32bsmip"
   5684 	  ;;
   5685 	*N32*)
   5686 	  LD="${LD-ld} -melf32bmipn32"
   5687 	  ;;
   5688 	*64-bit*)
   5689 	  LD="${LD-ld} -melf64bmip"
   5690 	;;
   5691       esac
   5692     else
   5693       case `/usr/bin/file conftest.$ac_objext` in
   5694 	*32-bit*)
   5695 	  LD="${LD-ld} -32"
   5696 	  ;;
   5697 	*N32*)
   5698 	  LD="${LD-ld} -n32"
   5699 	  ;;
   5700 	*64-bit*)
   5701 	  LD="${LD-ld} -64"
   5702 	  ;;
   5703       esac
   5704     fi
   5705   fi
   5706   rm -rf conftest*
   5707   ;;
   5708 
   5709 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5710 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5711   # Find out which ABI we are using.
   5712   echo 'int i;' > conftest.$ac_ext
   5713   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5714   (eval $ac_compile) 2>&5
   5715   ac_status=$?
   5716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5717   (exit $ac_status); }; then
   5718     case `/usr/bin/file conftest.o` in
   5719       *32-bit*)
   5720 	case $host in
   5721 	  x86_64-*kfreebsd*-gnu)
   5722 	    LD="${LD-ld} -m elf_i386_fbsd"
   5723 	    ;;
   5724 	  x86_64-*linux*)
   5725 	    LD="${LD-ld} -m elf_i386"
   5726 	    ;;
   5727 	  ppc64-*linux*|powerpc64-*linux*)
   5728 	    LD="${LD-ld} -m elf32ppclinux"
   5729 	    ;;
   5730 	  s390x-*linux*)
   5731 	    LD="${LD-ld} -m elf_s390"
   5732 	    ;;
   5733 	  sparc64-*linux*)
   5734 	    LD="${LD-ld} -m elf32_sparc"
   5735 	    ;;
   5736 	esac
   5737 	;;
   5738       *64-bit*)
   5739 	case $host in
   5740 	  x86_64-*kfreebsd*-gnu)
   5741 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5742 	    ;;
   5743 	  x86_64-*linux*)
   5744 	    LD="${LD-ld} -m elf_x86_64"
   5745 	    ;;
   5746 	  ppc*-*linux*|powerpc*-*linux*)
   5747 	    LD="${LD-ld} -m elf64ppc"
   5748 	    ;;
   5749 	  s390*-*linux*|s390*-*tpf*)
   5750 	    LD="${LD-ld} -m elf64_s390"
   5751 	    ;;
   5752 	  sparc*-*linux*)
   5753 	    LD="${LD-ld} -m elf64_sparc"
   5754 	    ;;
   5755 	esac
   5756 	;;
   5757     esac
   5758   fi
   5759   rm -rf conftest*
   5760   ;;
   5761 
   5762 *-*-sco3.2v5*)
   5763   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5764   SAVE_CFLAGS="$CFLAGS"
   5765   CFLAGS="$CFLAGS -belf"
   5766   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5767 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5768 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5769   $as_echo_n "(cached) " >&6
   5770 else
   5771   ac_ext=c
   5772 ac_cpp='$CPP $CPPFLAGS'
   5773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5776 
   5777      cat >conftest.$ac_ext <<_ACEOF
   5778 /* confdefs.h.  */
   5779 _ACEOF
   5780 cat confdefs.h >>conftest.$ac_ext
   5781 cat >>conftest.$ac_ext <<_ACEOF
   5782 /* end confdefs.h.  */
   5783 
   5784 int
   5785 main ()
   5786 {
   5787 
   5788   ;
   5789   return 0;
   5790 }
   5791 _ACEOF
   5792 rm -f conftest.$ac_objext conftest$ac_exeext
   5793 if { (ac_try="$ac_link"
   5794 case "(($ac_try" in
   5795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5796   *) ac_try_echo=$ac_try;;
   5797 esac
   5798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5799 $as_echo "$ac_try_echo") >&5
   5800   (eval "$ac_link") 2>conftest.er1
   5801   ac_status=$?
   5802   grep -v '^ *+' conftest.er1 >conftest.err
   5803   rm -f conftest.er1
   5804   cat conftest.err >&5
   5805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5806   (exit $ac_status); } && {
   5807 	 test -z "$ac_c_werror_flag" ||
   5808 	 test ! -s conftest.err
   5809        } && test -s conftest$ac_exeext && {
   5810 	 test "$cross_compiling" = yes ||
   5811 	 $as_test_x conftest$ac_exeext
   5812        }; then
   5813   lt_cv_cc_needs_belf=yes
   5814 else
   5815   $as_echo "$as_me: failed program was:" >&5
   5816 sed 's/^/| /' conftest.$ac_ext >&5
   5817 
   5818 	lt_cv_cc_needs_belf=no
   5819 fi
   5820 
   5821 rm -rf conftest.dSYM
   5822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5823       conftest$ac_exeext conftest.$ac_ext
   5824      ac_ext=c
   5825 ac_cpp='$CPP $CPPFLAGS'
   5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5829 
   5830 fi
   5831 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5832 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5833   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5834     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5835     CFLAGS="$SAVE_CFLAGS"
   5836   fi
   5837   ;;
   5838 sparc*-*solaris*)
   5839   # Find out which ABI we are using.
   5840   echo 'int i;' > conftest.$ac_ext
   5841   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5842   (eval $ac_compile) 2>&5
   5843   ac_status=$?
   5844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5845   (exit $ac_status); }; then
   5846     case `/usr/bin/file conftest.o` in
   5847     *64-bit*)
   5848       case $lt_cv_prog_gnu_ld in
   5849       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5850       *)
   5851 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5852 	  LD="${LD-ld} -64"
   5853 	fi
   5854 	;;
   5855       esac
   5856       ;;
   5857     esac
   5858   fi
   5859   rm -rf conftest*
   5860   ;;
   5861 esac
   5862 
   5863 need_locks="$enable_libtool_lock"
   5864 
   5865 
   5866   case $host_os in
   5867     rhapsody* | darwin*)
   5868     if test -n "$ac_tool_prefix"; then
   5869   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5870 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5871 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5872 $as_echo_n "checking for $ac_word... " >&6; }
   5873 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5874   $as_echo_n "(cached) " >&6
   5875 else
   5876   if test -n "$DSYMUTIL"; then
   5877   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5878 else
   5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5880 for as_dir in $PATH
   5881 do
   5882   IFS=$as_save_IFS
   5883   test -z "$as_dir" && as_dir=.
   5884   for ac_exec_ext in '' $ac_executable_extensions; do
   5885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5886     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5887     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5888     break 2
   5889   fi
   5890 done
   5891 done
   5892 IFS=$as_save_IFS
   5893 
   5894 fi
   5895 fi
   5896 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5897 if test -n "$DSYMUTIL"; then
   5898   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5899 $as_echo "$DSYMUTIL" >&6; }
   5900 else
   5901   { $as_echo "$as_me:$LINENO: result: no" >&5
   5902 $as_echo "no" >&6; }
   5903 fi
   5904 
   5905 
   5906 fi
   5907 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5908   ac_ct_DSYMUTIL=$DSYMUTIL
   5909   # Extract the first word of "dsymutil", so it can be a program name with args.
   5910 set dummy dsymutil; ac_word=$2
   5911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5912 $as_echo_n "checking for $ac_word... " >&6; }
   5913 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5914   $as_echo_n "(cached) " >&6
   5915 else
   5916   if test -n "$ac_ct_DSYMUTIL"; then
   5917   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5918 else
   5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5920 for as_dir in $PATH
   5921 do
   5922   IFS=$as_save_IFS
   5923   test -z "$as_dir" && as_dir=.
   5924   for ac_exec_ext in '' $ac_executable_extensions; do
   5925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5926     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5927     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5928     break 2
   5929   fi
   5930 done
   5931 done
   5932 IFS=$as_save_IFS
   5933 
   5934 fi
   5935 fi
   5936 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5937 if test -n "$ac_ct_DSYMUTIL"; then
   5938   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5939 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5940 else
   5941   { $as_echo "$as_me:$LINENO: result: no" >&5
   5942 $as_echo "no" >&6; }
   5943 fi
   5944 
   5945   if test "x$ac_ct_DSYMUTIL" = x; then
   5946     DSYMUTIL=":"
   5947   else
   5948     case $cross_compiling:$ac_tool_warned in
   5949 yes:)
   5950 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5952 ac_tool_warned=yes ;;
   5953 esac
   5954     DSYMUTIL=$ac_ct_DSYMUTIL
   5955   fi
   5956 else
   5957   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5958 fi
   5959 
   5960     if test -n "$ac_tool_prefix"; then
   5961   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5962 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5964 $as_echo_n "checking for $ac_word... " >&6; }
   5965 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5966   $as_echo_n "(cached) " >&6
   5967 else
   5968   if test -n "$NMEDIT"; then
   5969   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5970 else
   5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5972 for as_dir in $PATH
   5973 do
   5974   IFS=$as_save_IFS
   5975   test -z "$as_dir" && as_dir=.
   5976   for ac_exec_ext in '' $ac_executable_extensions; do
   5977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5978     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5979     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5980     break 2
   5981   fi
   5982 done
   5983 done
   5984 IFS=$as_save_IFS
   5985 
   5986 fi
   5987 fi
   5988 NMEDIT=$ac_cv_prog_NMEDIT
   5989 if test -n "$NMEDIT"; then
   5990   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5991 $as_echo "$NMEDIT" >&6; }
   5992 else
   5993   { $as_echo "$as_me:$LINENO: result: no" >&5
   5994 $as_echo "no" >&6; }
   5995 fi
   5996 
   5997 
   5998 fi
   5999 if test -z "$ac_cv_prog_NMEDIT"; then
   6000   ac_ct_NMEDIT=$NMEDIT
   6001   # Extract the first word of "nmedit", so it can be a program name with args.
   6002 set dummy nmedit; ac_word=$2
   6003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6004 $as_echo_n "checking for $ac_word... " >&6; }
   6005 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   6006   $as_echo_n "(cached) " >&6
   6007 else
   6008   if test -n "$ac_ct_NMEDIT"; then
   6009   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6010 else
   6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6012 for as_dir in $PATH
   6013 do
   6014   IFS=$as_save_IFS
   6015   test -z "$as_dir" && as_dir=.
   6016   for ac_exec_ext in '' $ac_executable_extensions; do
   6017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6018     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6019     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6020     break 2
   6021   fi
   6022 done
   6023 done
   6024 IFS=$as_save_IFS
   6025 
   6026 fi
   6027 fi
   6028 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6029 if test -n "$ac_ct_NMEDIT"; then
   6030   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6031 $as_echo "$ac_ct_NMEDIT" >&6; }
   6032 else
   6033   { $as_echo "$as_me:$LINENO: result: no" >&5
   6034 $as_echo "no" >&6; }
   6035 fi
   6036 
   6037   if test "x$ac_ct_NMEDIT" = x; then
   6038     NMEDIT=":"
   6039   else
   6040     case $cross_compiling:$ac_tool_warned in
   6041 yes:)
   6042 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6044 ac_tool_warned=yes ;;
   6045 esac
   6046     NMEDIT=$ac_ct_NMEDIT
   6047   fi
   6048 else
   6049   NMEDIT="$ac_cv_prog_NMEDIT"
   6050 fi
   6051 
   6052     if test -n "$ac_tool_prefix"; then
   6053   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6054 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6056 $as_echo_n "checking for $ac_word... " >&6; }
   6057 if test "${ac_cv_prog_LIPO+set}" = set; then
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   if test -n "$LIPO"; then
   6061   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6062 else
   6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6064 for as_dir in $PATH
   6065 do
   6066   IFS=$as_save_IFS
   6067   test -z "$as_dir" && as_dir=.
   6068   for ac_exec_ext in '' $ac_executable_extensions; do
   6069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6070     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6071     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6072     break 2
   6073   fi
   6074 done
   6075 done
   6076 IFS=$as_save_IFS
   6077 
   6078 fi
   6079 fi
   6080 LIPO=$ac_cv_prog_LIPO
   6081 if test -n "$LIPO"; then
   6082   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6083 $as_echo "$LIPO" >&6; }
   6084 else
   6085   { $as_echo "$as_me:$LINENO: result: no" >&5
   6086 $as_echo "no" >&6; }
   6087 fi
   6088 
   6089 
   6090 fi
   6091 if test -z "$ac_cv_prog_LIPO"; then
   6092   ac_ct_LIPO=$LIPO
   6093   # Extract the first word of "lipo", so it can be a program name with args.
   6094 set dummy lipo; ac_word=$2
   6095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6096 $as_echo_n "checking for $ac_word... " >&6; }
   6097 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   if test -n "$ac_ct_LIPO"; then
   6101   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6102 else
   6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6104 for as_dir in $PATH
   6105 do
   6106   IFS=$as_save_IFS
   6107   test -z "$as_dir" && as_dir=.
   6108   for ac_exec_ext in '' $ac_executable_extensions; do
   6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6110     ac_cv_prog_ac_ct_LIPO="lipo"
   6111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6112     break 2
   6113   fi
   6114 done
   6115 done
   6116 IFS=$as_save_IFS
   6117 
   6118 fi
   6119 fi
   6120 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6121 if test -n "$ac_ct_LIPO"; then
   6122   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6123 $as_echo "$ac_ct_LIPO" >&6; }
   6124 else
   6125   { $as_echo "$as_me:$LINENO: result: no" >&5
   6126 $as_echo "no" >&6; }
   6127 fi
   6128 
   6129   if test "x$ac_ct_LIPO" = x; then
   6130     LIPO=":"
   6131   else
   6132     case $cross_compiling:$ac_tool_warned in
   6133 yes:)
   6134 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6136 ac_tool_warned=yes ;;
   6137 esac
   6138     LIPO=$ac_ct_LIPO
   6139   fi
   6140 else
   6141   LIPO="$ac_cv_prog_LIPO"
   6142 fi
   6143 
   6144     if test -n "$ac_tool_prefix"; then
   6145   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6146 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6148 $as_echo_n "checking for $ac_word... " >&6; }
   6149 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6150   $as_echo_n "(cached) " >&6
   6151 else
   6152   if test -n "$OTOOL"; then
   6153   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6154 else
   6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6156 for as_dir in $PATH
   6157 do
   6158   IFS=$as_save_IFS
   6159   test -z "$as_dir" && as_dir=.
   6160   for ac_exec_ext in '' $ac_executable_extensions; do
   6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6162     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6163     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6164     break 2
   6165   fi
   6166 done
   6167 done
   6168 IFS=$as_save_IFS
   6169 
   6170 fi
   6171 fi
   6172 OTOOL=$ac_cv_prog_OTOOL
   6173 if test -n "$OTOOL"; then
   6174   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6175 $as_echo "$OTOOL" >&6; }
   6176 else
   6177   { $as_echo "$as_me:$LINENO: result: no" >&5
   6178 $as_echo "no" >&6; }
   6179 fi
   6180 
   6181 
   6182 fi
   6183 if test -z "$ac_cv_prog_OTOOL"; then
   6184   ac_ct_OTOOL=$OTOOL
   6185   # Extract the first word of "otool", so it can be a program name with args.
   6186 set dummy otool; ac_word=$2
   6187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6188 $as_echo_n "checking for $ac_word... " >&6; }
   6189 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6190   $as_echo_n "(cached) " >&6
   6191 else
   6192   if test -n "$ac_ct_OTOOL"; then
   6193   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6194 else
   6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6196 for as_dir in $PATH
   6197 do
   6198   IFS=$as_save_IFS
   6199   test -z "$as_dir" && as_dir=.
   6200   for ac_exec_ext in '' $ac_executable_extensions; do
   6201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6202     ac_cv_prog_ac_ct_OTOOL="otool"
   6203     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6204     break 2
   6205   fi
   6206 done
   6207 done
   6208 IFS=$as_save_IFS
   6209 
   6210 fi
   6211 fi
   6212 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6213 if test -n "$ac_ct_OTOOL"; then
   6214   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6215 $as_echo "$ac_ct_OTOOL" >&6; }
   6216 else
   6217   { $as_echo "$as_me:$LINENO: result: no" >&5
   6218 $as_echo "no" >&6; }
   6219 fi
   6220 
   6221   if test "x$ac_ct_OTOOL" = x; then
   6222     OTOOL=":"
   6223   else
   6224     case $cross_compiling:$ac_tool_warned in
   6225 yes:)
   6226 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6228 ac_tool_warned=yes ;;
   6229 esac
   6230     OTOOL=$ac_ct_OTOOL
   6231   fi
   6232 else
   6233   OTOOL="$ac_cv_prog_OTOOL"
   6234 fi
   6235 
   6236     if test -n "$ac_tool_prefix"; then
   6237   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6238 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6240 $as_echo_n "checking for $ac_word... " >&6; }
   6241 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   if test -n "$OTOOL64"; then
   6245   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6246 else
   6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6248 for as_dir in $PATH
   6249 do
   6250   IFS=$as_save_IFS
   6251   test -z "$as_dir" && as_dir=.
   6252   for ac_exec_ext in '' $ac_executable_extensions; do
   6253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6254     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6255     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6256     break 2
   6257   fi
   6258 done
   6259 done
   6260 IFS=$as_save_IFS
   6261 
   6262 fi
   6263 fi
   6264 OTOOL64=$ac_cv_prog_OTOOL64
   6265 if test -n "$OTOOL64"; then
   6266   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6267 $as_echo "$OTOOL64" >&6; }
   6268 else
   6269   { $as_echo "$as_me:$LINENO: result: no" >&5
   6270 $as_echo "no" >&6; }
   6271 fi
   6272 
   6273 
   6274 fi
   6275 if test -z "$ac_cv_prog_OTOOL64"; then
   6276   ac_ct_OTOOL64=$OTOOL64
   6277   # Extract the first word of "otool64", so it can be a program name with args.
   6278 set dummy otool64; ac_word=$2
   6279 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6280 $as_echo_n "checking for $ac_word... " >&6; }
   6281 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   if test -n "$ac_ct_OTOOL64"; then
   6285   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6286 else
   6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6288 for as_dir in $PATH
   6289 do
   6290   IFS=$as_save_IFS
   6291   test -z "$as_dir" && as_dir=.
   6292   for ac_exec_ext in '' $ac_executable_extensions; do
   6293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6294     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6295     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6296     break 2
   6297   fi
   6298 done
   6299 done
   6300 IFS=$as_save_IFS
   6301 
   6302 fi
   6303 fi
   6304 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6305 if test -n "$ac_ct_OTOOL64"; then
   6306   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6307 $as_echo "$ac_ct_OTOOL64" >&6; }
   6308 else
   6309   { $as_echo "$as_me:$LINENO: result: no" >&5
   6310 $as_echo "no" >&6; }
   6311 fi
   6312 
   6313   if test "x$ac_ct_OTOOL64" = x; then
   6314     OTOOL64=":"
   6315   else
   6316     case $cross_compiling:$ac_tool_warned in
   6317 yes:)
   6318 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6320 ac_tool_warned=yes ;;
   6321 esac
   6322     OTOOL64=$ac_ct_OTOOL64
   6323   fi
   6324 else
   6325   OTOOL64="$ac_cv_prog_OTOOL64"
   6326 fi
   6327 
   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     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6355 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6356 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6357   $as_echo_n "(cached) " >&6
   6358 else
   6359   lt_cv_apple_cc_single_mod=no
   6360       if test -z "${LT_MULTI_MODULE}"; then
   6361 	# By default we will add the -single_module flag. You can override
   6362 	# by either setting the environment variable LT_MULTI_MODULE
   6363 	# non-empty at configure time, or by adding -multi_module to the
   6364 	# link flags.
   6365 	rm -rf libconftest.dylib*
   6366 	echo "int foo(void){return 1;}" > conftest.c
   6367 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6368 -dynamiclib -Wl,-single_module conftest.c" >&5
   6369 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6370 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6371         _lt_result=$?
   6372 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6373 	  lt_cv_apple_cc_single_mod=yes
   6374 	else
   6375 	  cat conftest.err >&5
   6376 	fi
   6377 	rm -rf libconftest.dylib*
   6378 	rm -f conftest.*
   6379       fi
   6380 fi
   6381 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6382 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6383     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6384 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6385 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6386   $as_echo_n "(cached) " >&6
   6387 else
   6388   lt_cv_ld_exported_symbols_list=no
   6389       save_LDFLAGS=$LDFLAGS
   6390       echo "_main" > conftest.sym
   6391       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6392       cat >conftest.$ac_ext <<_ACEOF
   6393 /* confdefs.h.  */
   6394 _ACEOF
   6395 cat confdefs.h >>conftest.$ac_ext
   6396 cat >>conftest.$ac_ext <<_ACEOF
   6397 /* end confdefs.h.  */
   6398 
   6399 int
   6400 main ()
   6401 {
   6402 
   6403   ;
   6404   return 0;
   6405 }
   6406 _ACEOF
   6407 rm -f conftest.$ac_objext conftest$ac_exeext
   6408 if { (ac_try="$ac_link"
   6409 case "(($ac_try" in
   6410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6411   *) ac_try_echo=$ac_try;;
   6412 esac
   6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6414 $as_echo "$ac_try_echo") >&5
   6415   (eval "$ac_link") 2>conftest.er1
   6416   ac_status=$?
   6417   grep -v '^ *+' conftest.er1 >conftest.err
   6418   rm -f conftest.er1
   6419   cat conftest.err >&5
   6420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6421   (exit $ac_status); } && {
   6422 	 test -z "$ac_c_werror_flag" ||
   6423 	 test ! -s conftest.err
   6424        } && test -s conftest$ac_exeext && {
   6425 	 test "$cross_compiling" = yes ||
   6426 	 $as_test_x conftest$ac_exeext
   6427        }; then
   6428   lt_cv_ld_exported_symbols_list=yes
   6429 else
   6430   $as_echo "$as_me: failed program was:" >&5
   6431 sed 's/^/| /' conftest.$ac_ext >&5
   6432 
   6433 	lt_cv_ld_exported_symbols_list=no
   6434 fi
   6435 
   6436 rm -rf conftest.dSYM
   6437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6438       conftest$ac_exeext conftest.$ac_ext
   6439 	LDFLAGS="$save_LDFLAGS"
   6440 
   6441 fi
   6442 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6444     case $host_os in
   6445     rhapsody* | darwin1.[012])
   6446       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6447     darwin1.*)
   6448       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6449     darwin*) # darwin 5.x on
   6450       # if running on 10.5 or later, the deployment target defaults
   6451       # to the OS version, if on x86, and 10.4, the deployment
   6452       # target defaults to 10.4. Don't you love it?
   6453       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6454 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6455 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6456 	10.[012]*)
   6457 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6458 	10.*)
   6459 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6460       esac
   6461     ;;
   6462   esac
   6463     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6464       _lt_dar_single_mod='$single_module'
   6465     fi
   6466     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6467       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6468     else
   6469       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6470     fi
   6471     if test "$DSYMUTIL" != ":"; then
   6472       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6473     else
   6474       _lt_dsymutil=
   6475     fi
   6476     ;;
   6477   esac
   6478 
   6479 ac_ext=c
   6480 ac_cpp='$CPP $CPPFLAGS'
   6481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6484 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6485 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6486 # On Suns, sometimes $CPP names a directory.
   6487 if test -n "$CPP" && test -d "$CPP"; then
   6488   CPP=
   6489 fi
   6490 if test -z "$CPP"; then
   6491   if test "${ac_cv_prog_CPP+set}" = set; then
   6492   $as_echo_n "(cached) " >&6
   6493 else
   6494       # Double quotes because CPP needs to be expanded
   6495     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6496     do
   6497       ac_preproc_ok=false
   6498 for ac_c_preproc_warn_flag in '' yes
   6499 do
   6500   # Use a header file that comes with gcc, so configuring glibc
   6501   # with a fresh cross-compiler works.
   6502   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6503   # <limits.h> exists even on freestanding compilers.
   6504   # On the NeXT, cc -E runs the code through the compiler's parser,
   6505   # not just through cpp. "Syntax error" is here to catch this case.
   6506   cat >conftest.$ac_ext <<_ACEOF
   6507 /* confdefs.h.  */
   6508 _ACEOF
   6509 cat confdefs.h >>conftest.$ac_ext
   6510 cat >>conftest.$ac_ext <<_ACEOF
   6511 /* end confdefs.h.  */
   6512 #ifdef __STDC__
   6513 # include <limits.h>
   6514 #else
   6515 # include <assert.h>
   6516 #endif
   6517 		     Syntax error
   6518 _ACEOF
   6519 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6520 case "(($ac_try" in
   6521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6522   *) ac_try_echo=$ac_try;;
   6523 esac
   6524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6525 $as_echo "$ac_try_echo") >&5
   6526   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6527   ac_status=$?
   6528   grep -v '^ *+' conftest.er1 >conftest.err
   6529   rm -f conftest.er1
   6530   cat conftest.err >&5
   6531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6532   (exit $ac_status); } >/dev/null && {
   6533 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6534 	 test ! -s conftest.err
   6535        }; then
   6536   :
   6537 else
   6538   $as_echo "$as_me: failed program was:" >&5
   6539 sed 's/^/| /' conftest.$ac_ext >&5
   6540 
   6541   # Broken: fails on valid input.
   6542 continue
   6543 fi
   6544 
   6545 rm -f conftest.err conftest.$ac_ext
   6546 
   6547   # OK, works on sane cases.  Now check whether nonexistent headers
   6548   # can be detected and how.
   6549   cat >conftest.$ac_ext <<_ACEOF
   6550 /* confdefs.h.  */
   6551 _ACEOF
   6552 cat confdefs.h >>conftest.$ac_ext
   6553 cat >>conftest.$ac_ext <<_ACEOF
   6554 /* end confdefs.h.  */
   6555 #include <ac_nonexistent.h>
   6556 _ACEOF
   6557 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6558 case "(($ac_try" in
   6559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6560   *) ac_try_echo=$ac_try;;
   6561 esac
   6562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6563 $as_echo "$ac_try_echo") >&5
   6564   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6565   ac_status=$?
   6566   grep -v '^ *+' conftest.er1 >conftest.err
   6567   rm -f conftest.er1
   6568   cat conftest.err >&5
   6569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6570   (exit $ac_status); } >/dev/null && {
   6571 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6572 	 test ! -s conftest.err
   6573        }; then
   6574   # Broken: success on invalid input.
   6575 continue
   6576 else
   6577   $as_echo "$as_me: failed program was:" >&5
   6578 sed 's/^/| /' conftest.$ac_ext >&5
   6579 
   6580   # Passes both tests.
   6581 ac_preproc_ok=:
   6582 break
   6583 fi
   6584 
   6585 rm -f conftest.err conftest.$ac_ext
   6586 
   6587 done
   6588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6589 rm -f conftest.err conftest.$ac_ext
   6590 if $ac_preproc_ok; then
   6591   break
   6592 fi
   6593 
   6594     done
   6595     ac_cv_prog_CPP=$CPP
   6596 
   6597 fi
   6598   CPP=$ac_cv_prog_CPP
   6599 else
   6600   ac_cv_prog_CPP=$CPP
   6601 fi
   6602 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6603 $as_echo "$CPP" >&6; }
   6604 ac_preproc_ok=false
   6605 for ac_c_preproc_warn_flag in '' yes
   6606 do
   6607   # Use a header file that comes with gcc, so configuring glibc
   6608   # with a fresh cross-compiler works.
   6609   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6610   # <limits.h> exists even on freestanding compilers.
   6611   # On the NeXT, cc -E runs the code through the compiler's parser,
   6612   # not just through cpp. "Syntax error" is here to catch this case.
   6613   cat >conftest.$ac_ext <<_ACEOF
   6614 /* confdefs.h.  */
   6615 _ACEOF
   6616 cat confdefs.h >>conftest.$ac_ext
   6617 cat >>conftest.$ac_ext <<_ACEOF
   6618 /* end confdefs.h.  */
   6619 #ifdef __STDC__
   6620 # include <limits.h>
   6621 #else
   6622 # include <assert.h>
   6623 #endif
   6624 		     Syntax error
   6625 _ACEOF
   6626 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6627 case "(($ac_try" in
   6628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6629   *) ac_try_echo=$ac_try;;
   6630 esac
   6631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6632 $as_echo "$ac_try_echo") >&5
   6633   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6634   ac_status=$?
   6635   grep -v '^ *+' conftest.er1 >conftest.err
   6636   rm -f conftest.er1
   6637   cat conftest.err >&5
   6638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6639   (exit $ac_status); } >/dev/null && {
   6640 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6641 	 test ! -s conftest.err
   6642        }; then
   6643   :
   6644 else
   6645   $as_echo "$as_me: failed program was:" >&5
   6646 sed 's/^/| /' conftest.$ac_ext >&5
   6647 
   6648   # Broken: fails on valid input.
   6649 continue
   6650 fi
   6651 
   6652 rm -f conftest.err conftest.$ac_ext
   6653 
   6654   # OK, works on sane cases.  Now check whether nonexistent headers
   6655   # can be detected and how.
   6656   cat >conftest.$ac_ext <<_ACEOF
   6657 /* confdefs.h.  */
   6658 _ACEOF
   6659 cat confdefs.h >>conftest.$ac_ext
   6660 cat >>conftest.$ac_ext <<_ACEOF
   6661 /* end confdefs.h.  */
   6662 #include <ac_nonexistent.h>
   6663 _ACEOF
   6664 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6665 case "(($ac_try" in
   6666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6667   *) ac_try_echo=$ac_try;;
   6668 esac
   6669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6670 $as_echo "$ac_try_echo") >&5
   6671   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6672   ac_status=$?
   6673   grep -v '^ *+' conftest.er1 >conftest.err
   6674   rm -f conftest.er1
   6675   cat conftest.err >&5
   6676   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6677   (exit $ac_status); } >/dev/null && {
   6678 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6679 	 test ! -s conftest.err
   6680        }; then
   6681   # Broken: success on invalid input.
   6682 continue
   6683 else
   6684   $as_echo "$as_me: failed program was:" >&5
   6685 sed 's/^/| /' conftest.$ac_ext >&5
   6686 
   6687   # Passes both tests.
   6688 ac_preproc_ok=:
   6689 break
   6690 fi
   6691 
   6692 rm -f conftest.err conftest.$ac_ext
   6693 
   6694 done
   6695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6696 rm -f conftest.err conftest.$ac_ext
   6697 if $ac_preproc_ok; then
   6698   :
   6699 else
   6700   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6702 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6703 See \`config.log' for more details." >&5
   6704 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6705 See \`config.log' for more details." >&2;}
   6706    { (exit 1); exit 1; }; }; }
   6707 fi
   6708 
   6709 ac_ext=c
   6710 ac_cpp='$CPP $CPPFLAGS'
   6711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6714 
   6715 
   6716 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6717 $as_echo_n "checking for ANSI C header files... " >&6; }
   6718 if test "${ac_cv_header_stdc+set}" = set; then
   6719   $as_echo_n "(cached) " >&6
   6720 else
   6721   cat >conftest.$ac_ext <<_ACEOF
   6722 /* confdefs.h.  */
   6723 _ACEOF
   6724 cat confdefs.h >>conftest.$ac_ext
   6725 cat >>conftest.$ac_ext <<_ACEOF
   6726 /* end confdefs.h.  */
   6727 #include <stdlib.h>
   6728 #include <stdarg.h>
   6729 #include <string.h>
   6730 #include <float.h>
   6731 
   6732 int
   6733 main ()
   6734 {
   6735 
   6736   ;
   6737   return 0;
   6738 }
   6739 _ACEOF
   6740 rm -f conftest.$ac_objext
   6741 if { (ac_try="$ac_compile"
   6742 case "(($ac_try" in
   6743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6744   *) ac_try_echo=$ac_try;;
   6745 esac
   6746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6747 $as_echo "$ac_try_echo") >&5
   6748   (eval "$ac_compile") 2>conftest.er1
   6749   ac_status=$?
   6750   grep -v '^ *+' conftest.er1 >conftest.err
   6751   rm -f conftest.er1
   6752   cat conftest.err >&5
   6753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6754   (exit $ac_status); } && {
   6755 	 test -z "$ac_c_werror_flag" ||
   6756 	 test ! -s conftest.err
   6757        } && test -s conftest.$ac_objext; then
   6758   ac_cv_header_stdc=yes
   6759 else
   6760   $as_echo "$as_me: failed program was:" >&5
   6761 sed 's/^/| /' conftest.$ac_ext >&5
   6762 
   6763 	ac_cv_header_stdc=no
   6764 fi
   6765 
   6766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6767 
   6768 if test $ac_cv_header_stdc = yes; then
   6769   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6770   cat >conftest.$ac_ext <<_ACEOF
   6771 /* confdefs.h.  */
   6772 _ACEOF
   6773 cat confdefs.h >>conftest.$ac_ext
   6774 cat >>conftest.$ac_ext <<_ACEOF
   6775 /* end confdefs.h.  */
   6776 #include <string.h>
   6777 
   6778 _ACEOF
   6779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6780   $EGREP "memchr" >/dev/null 2>&1; then
   6781   :
   6782 else
   6783   ac_cv_header_stdc=no
   6784 fi
   6785 rm -f conftest*
   6786 
   6787 fi
   6788 
   6789 if test $ac_cv_header_stdc = yes; then
   6790   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6791   cat >conftest.$ac_ext <<_ACEOF
   6792 /* confdefs.h.  */
   6793 _ACEOF
   6794 cat confdefs.h >>conftest.$ac_ext
   6795 cat >>conftest.$ac_ext <<_ACEOF
   6796 /* end confdefs.h.  */
   6797 #include <stdlib.h>
   6798 
   6799 _ACEOF
   6800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6801   $EGREP "free" >/dev/null 2>&1; then
   6802   :
   6803 else
   6804   ac_cv_header_stdc=no
   6805 fi
   6806 rm -f conftest*
   6807 
   6808 fi
   6809 
   6810 if test $ac_cv_header_stdc = yes; then
   6811   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6812   if test "$cross_compiling" = yes; then
   6813   :
   6814 else
   6815   cat >conftest.$ac_ext <<_ACEOF
   6816 /* confdefs.h.  */
   6817 _ACEOF
   6818 cat confdefs.h >>conftest.$ac_ext
   6819 cat >>conftest.$ac_ext <<_ACEOF
   6820 /* end confdefs.h.  */
   6821 #include <ctype.h>
   6822 #include <stdlib.h>
   6823 #if ((' ' & 0x0FF) == 0x020)
   6824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6826 #else
   6827 # define ISLOWER(c) \
   6828 		   (('a' <= (c) && (c) <= 'i') \
   6829 		     || ('j' <= (c) && (c) <= 'r') \
   6830 		     || ('s' <= (c) && (c) <= 'z'))
   6831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6832 #endif
   6833 
   6834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6835 int
   6836 main ()
   6837 {
   6838   int i;
   6839   for (i = 0; i < 256; i++)
   6840     if (XOR (islower (i), ISLOWER (i))
   6841 	|| toupper (i) != TOUPPER (i))
   6842       return 2;
   6843   return 0;
   6844 }
   6845 _ACEOF
   6846 rm -f conftest$ac_exeext
   6847 if { (ac_try="$ac_link"
   6848 case "(($ac_try" in
   6849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6850   *) ac_try_echo=$ac_try;;
   6851 esac
   6852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6853 $as_echo "$ac_try_echo") >&5
   6854   (eval "$ac_link") 2>&5
   6855   ac_status=$?
   6856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6857   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6858   { (case "(($ac_try" in
   6859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6860   *) ac_try_echo=$ac_try;;
   6861 esac
   6862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6863 $as_echo "$ac_try_echo") >&5
   6864   (eval "$ac_try") 2>&5
   6865   ac_status=$?
   6866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6867   (exit $ac_status); }; }; then
   6868   :
   6869 else
   6870   $as_echo "$as_me: program exited with status $ac_status" >&5
   6871 $as_echo "$as_me: failed program was:" >&5
   6872 sed 's/^/| /' conftest.$ac_ext >&5
   6873 
   6874 ( exit $ac_status )
   6875 ac_cv_header_stdc=no
   6876 fi
   6877 rm -rf conftest.dSYM
   6878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6879 fi
   6880 
   6881 
   6882 fi
   6883 fi
   6884 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6885 $as_echo "$ac_cv_header_stdc" >&6; }
   6886 if test $ac_cv_header_stdc = yes; then
   6887 
   6888 cat >>confdefs.h <<\_ACEOF
   6889 #define STDC_HEADERS 1
   6890 _ACEOF
   6891 
   6892 fi
   6893 
   6894 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6905 		  inttypes.h stdint.h unistd.h
   6906 do
   6907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6909 $as_echo_n "checking for $ac_header... " >&6; }
   6910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   cat >conftest.$ac_ext <<_ACEOF
   6914 /* confdefs.h.  */
   6915 _ACEOF
   6916 cat confdefs.h >>conftest.$ac_ext
   6917 cat >>conftest.$ac_ext <<_ACEOF
   6918 /* end confdefs.h.  */
   6919 $ac_includes_default
   6920 
   6921 #include <$ac_header>
   6922 _ACEOF
   6923 rm -f conftest.$ac_objext
   6924 if { (ac_try="$ac_compile"
   6925 case "(($ac_try" in
   6926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6927   *) ac_try_echo=$ac_try;;
   6928 esac
   6929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6930 $as_echo "$ac_try_echo") >&5
   6931   (eval "$ac_compile") 2>conftest.er1
   6932   ac_status=$?
   6933   grep -v '^ *+' conftest.er1 >conftest.err
   6934   rm -f conftest.er1
   6935   cat conftest.err >&5
   6936   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6937   (exit $ac_status); } && {
   6938 	 test -z "$ac_c_werror_flag" ||
   6939 	 test ! -s conftest.err
   6940        } && test -s conftest.$ac_objext; then
   6941   eval "$as_ac_Header=yes"
   6942 else
   6943   $as_echo "$as_me: failed program was:" >&5
   6944 sed 's/^/| /' conftest.$ac_ext >&5
   6945 
   6946 	eval "$as_ac_Header=no"
   6947 fi
   6948 
   6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6950 fi
   6951 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6952 		 $as_echo "$as_val"'`
   6953 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6954 $as_echo "$ac_res" >&6; }
   6955 as_val=`eval 'as_val=${'$as_ac_Header'}
   6956 		 $as_echo "$as_val"'`
   6957    if test "x$as_val" = x""yes; then
   6958   cat >>confdefs.h <<_ACEOF
   6959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6960 _ACEOF
   6961 
   6962 fi
   6963 
   6964 done
   6965 
   6966 
   6967 
   6968 for ac_header in dlfcn.h
   6969 do
   6970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6971 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6972 $as_echo_n "checking for $ac_header... " >&6; }
   6973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6974   $as_echo_n "(cached) " >&6
   6975 else
   6976   cat >conftest.$ac_ext <<_ACEOF
   6977 /* confdefs.h.  */
   6978 _ACEOF
   6979 cat confdefs.h >>conftest.$ac_ext
   6980 cat >>conftest.$ac_ext <<_ACEOF
   6981 /* end confdefs.h.  */
   6982 $ac_includes_default
   6983 
   6984 #include <$ac_header>
   6985 _ACEOF
   6986 rm -f conftest.$ac_objext
   6987 if { (ac_try="$ac_compile"
   6988 case "(($ac_try" in
   6989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6990   *) ac_try_echo=$ac_try;;
   6991 esac
   6992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6993 $as_echo "$ac_try_echo") >&5
   6994   (eval "$ac_compile") 2>conftest.er1
   6995   ac_status=$?
   6996   grep -v '^ *+' conftest.er1 >conftest.err
   6997   rm -f conftest.er1
   6998   cat conftest.err >&5
   6999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7000   (exit $ac_status); } && {
   7001 	 test -z "$ac_c_werror_flag" ||
   7002 	 test ! -s conftest.err
   7003        } && test -s conftest.$ac_objext; then
   7004   eval "$as_ac_Header=yes"
   7005 else
   7006   $as_echo "$as_me: failed program was:" >&5
   7007 sed 's/^/| /' conftest.$ac_ext >&5
   7008 
   7009 	eval "$as_ac_Header=no"
   7010 fi
   7011 
   7012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7013 fi
   7014 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7015 		 $as_echo "$as_val"'`
   7016 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7017 $as_echo "$ac_res" >&6; }
   7018 as_val=`eval 'as_val=${'$as_ac_Header'}
   7019 		 $as_echo "$as_val"'`
   7020    if test "x$as_val" = x""yes; then
   7021   cat >>confdefs.h <<_ACEOF
   7022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7023 _ACEOF
   7024 
   7025 fi
   7026 
   7027 done
   7028 
   7029 
   7030 
   7031 # Set options
   7032 
   7033 
   7034 
   7035         enable_dlopen=no
   7036 
   7037 
   7038   enable_win32_dll=no
   7039 
   7040 
   7041             # Check whether --enable-shared was given.
   7042 if test "${enable_shared+set}" = set; then
   7043   enableval=$enable_shared; p=${PACKAGE-default}
   7044     case $enableval in
   7045     yes) enable_shared=yes ;;
   7046     no) enable_shared=no ;;
   7047     *)
   7048       enable_shared=no
   7049       # Look at the argument we got.  We use all the common list separators.
   7050       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7051       for pkg in $enableval; do
   7052 	IFS="$lt_save_ifs"
   7053 	if test "X$pkg" = "X$p"; then
   7054 	  enable_shared=yes
   7055 	fi
   7056       done
   7057       IFS="$lt_save_ifs"
   7058       ;;
   7059     esac
   7060 else
   7061   enable_shared=yes
   7062 fi
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072   # Check whether --enable-static was given.
   7073 if test "${enable_static+set}" = set; then
   7074   enableval=$enable_static; p=${PACKAGE-default}
   7075     case $enableval in
   7076     yes) enable_static=yes ;;
   7077     no) enable_static=no ;;
   7078     *)
   7079      enable_static=no
   7080       # Look at the argument we got.  We use all the common list separators.
   7081       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7082       for pkg in $enableval; do
   7083 	IFS="$lt_save_ifs"
   7084 	if test "X$pkg" = "X$p"; then
   7085 	  enable_static=yes
   7086 	fi
   7087       done
   7088       IFS="$lt_save_ifs"
   7089       ;;
   7090     esac
   7091 else
   7092   enable_static=yes
   7093 fi
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 # Check whether --with-pic was given.
   7105 if test "${with_pic+set}" = set; then
   7106   withval=$with_pic; pic_mode="$withval"
   7107 else
   7108   pic_mode=default
   7109 fi
   7110 
   7111 
   7112 test -z "$pic_mode" && pic_mode=default
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120   # Check whether --enable-fast-install was given.
   7121 if test "${enable_fast_install+set}" = set; then
   7122   enableval=$enable_fast_install; p=${PACKAGE-default}
   7123     case $enableval in
   7124     yes) enable_fast_install=yes ;;
   7125     no) enable_fast_install=no ;;
   7126     *)
   7127       enable_fast_install=no
   7128       # Look at the argument we got.  We use all the common list separators.
   7129       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7130       for pkg in $enableval; do
   7131 	IFS="$lt_save_ifs"
   7132 	if test "X$pkg" = "X$p"; then
   7133 	  enable_fast_install=yes
   7134 	fi
   7135       done
   7136       IFS="$lt_save_ifs"
   7137       ;;
   7138     esac
   7139 else
   7140   enable_fast_install=yes
   7141 fi
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 # This can be used to rebuild libtool when needed
   7154 LIBTOOL_DEPS="$ltmain"
   7155 
   7156 # Always use our own libtool.
   7157 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7158 
   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 test -z "$LN_S" && LN_S="ln -s"
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 if test -n "${ZSH_VERSION+set}" ; then
   7199    setopt NO_GLOB_SUBST
   7200 fi
   7201 
   7202 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7203 $as_echo_n "checking for objdir... " >&6; }
   7204 if test "${lt_cv_objdir+set}" = set; then
   7205   $as_echo_n "(cached) " >&6
   7206 else
   7207   rm -f .libs 2>/dev/null
   7208 mkdir .libs 2>/dev/null
   7209 if test -d .libs; then
   7210   lt_cv_objdir=.libs
   7211 else
   7212   # MS-DOS does not allow filenames that begin with a dot.
   7213   lt_cv_objdir=_libs
   7214 fi
   7215 rmdir .libs 2>/dev/null
   7216 fi
   7217 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7218 $as_echo "$lt_cv_objdir" >&6; }
   7219 objdir=$lt_cv_objdir
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 cat >>confdefs.h <<_ACEOF
   7226 #define LT_OBJDIR "$lt_cv_objdir/"
   7227 _ACEOF
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 case $host_os in
   7246 aix3*)
   7247   # AIX sometimes has problems with the GCC collect2 program.  For some
   7248   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7249   # vanish in a puff of smoke.
   7250   if test "X${COLLECT_NAMES+set}" != Xset; then
   7251     COLLECT_NAMES=
   7252     export COLLECT_NAMES
   7253   fi
   7254   ;;
   7255 esac
   7256 
   7257 # Sed substitution that helps us do robust quoting.  It backslashifies
   7258 # metacharacters that are still active within double-quoted strings.
   7259 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7260 
   7261 # Same as above, but do not quote variable references.
   7262 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7263 
   7264 # Sed substitution to delay expansion of an escaped shell variable in a
   7265 # double_quote_subst'ed string.
   7266 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7267 
   7268 # Sed substitution to delay expansion of an escaped single quote.
   7269 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7270 
   7271 # Sed substitution to avoid accidental globbing in evaled expressions
   7272 no_glob_subst='s/\*/\\\*/g'
   7273 
   7274 # Global variables:
   7275 ofile=libtool
   7276 can_build_shared=yes
   7277 
   7278 # All known linkers require a `.a' archive for static linking (except MSVC,
   7279 # which needs '.lib').
   7280 libext=a
   7281 
   7282 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7283 
   7284 old_CC="$CC"
   7285 old_CFLAGS="$CFLAGS"
   7286 
   7287 # Set sane defaults for various variables
   7288 test -z "$CC" && CC=cc
   7289 test -z "$LTCC" && LTCC=$CC
   7290 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7291 test -z "$LD" && LD=ld
   7292 test -z "$ac_objext" && ac_objext=o
   7293 
   7294 for cc_temp in $compiler""; do
   7295   case $cc_temp in
   7296     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7297     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7298     \-*) ;;
   7299     *) break;;
   7300   esac
   7301 done
   7302 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7303 
   7304 
   7305 # Only perform the check for file, if the check method requires it
   7306 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7307 case $deplibs_check_method in
   7308 file_magic*)
   7309   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7310     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7311 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7312 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   case $MAGIC_CMD in
   7316 [\\/*] |  ?:[\\/]*)
   7317   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7318   ;;
   7319 *)
   7320   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7321   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7322   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7323   for ac_dir in $ac_dummy; do
   7324     IFS="$lt_save_ifs"
   7325     test -z "$ac_dir" && ac_dir=.
   7326     if test -f $ac_dir/${ac_tool_prefix}file; then
   7327       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7328       if test -n "$file_magic_test_file"; then
   7329 	case $deplibs_check_method in
   7330 	"file_magic "*)
   7331 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7332 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7333 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7334 	    $EGREP "$file_magic_regex" > /dev/null; then
   7335 	    :
   7336 	  else
   7337 	    cat <<_LT_EOF 1>&2
   7338 
   7339 *** Warning: the command libtool uses to detect shared libraries,
   7340 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7341 *** The result is that libtool may fail to recognize shared libraries
   7342 *** as such.  This will affect the creation of libtool libraries that
   7343 *** depend on shared libraries, but programs linked with such libtool
   7344 *** libraries will work regardless of this problem.  Nevertheless, you
   7345 *** may want to report the problem to your system manager and/or to
   7346 *** bug-libtool@gnu.org
   7347 
   7348 _LT_EOF
   7349 	  fi ;;
   7350 	esac
   7351       fi
   7352       break
   7353     fi
   7354   done
   7355   IFS="$lt_save_ifs"
   7356   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7357   ;;
   7358 esac
   7359 fi
   7360 
   7361 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7362 if test -n "$MAGIC_CMD"; then
   7363   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7364 $as_echo "$MAGIC_CMD" >&6; }
   7365 else
   7366   { $as_echo "$as_me:$LINENO: result: no" >&5
   7367 $as_echo "no" >&6; }
   7368 fi
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7375   if test -n "$ac_tool_prefix"; then
   7376     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7377 $as_echo_n "checking for file... " >&6; }
   7378 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7379   $as_echo_n "(cached) " >&6
   7380 else
   7381   case $MAGIC_CMD in
   7382 [\\/*] |  ?:[\\/]*)
   7383   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7384   ;;
   7385 *)
   7386   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7387   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7388   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7389   for ac_dir in $ac_dummy; do
   7390     IFS="$lt_save_ifs"
   7391     test -z "$ac_dir" && ac_dir=.
   7392     if test -f $ac_dir/file; then
   7393       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7394       if test -n "$file_magic_test_file"; then
   7395 	case $deplibs_check_method in
   7396 	"file_magic "*)
   7397 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7398 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7399 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7400 	    $EGREP "$file_magic_regex" > /dev/null; then
   7401 	    :
   7402 	  else
   7403 	    cat <<_LT_EOF 1>&2
   7404 
   7405 *** Warning: the command libtool uses to detect shared libraries,
   7406 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7407 *** The result is that libtool may fail to recognize shared libraries
   7408 *** as such.  This will affect the creation of libtool libraries that
   7409 *** depend on shared libraries, but programs linked with such libtool
   7410 *** libraries will work regardless of this problem.  Nevertheless, you
   7411 *** may want to report the problem to your system manager and/or to
   7412 *** bug-libtool@gnu.org
   7413 
   7414 _LT_EOF
   7415 	  fi ;;
   7416 	esac
   7417       fi
   7418       break
   7419     fi
   7420   done
   7421   IFS="$lt_save_ifs"
   7422   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7423   ;;
   7424 esac
   7425 fi
   7426 
   7427 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7428 if test -n "$MAGIC_CMD"; then
   7429   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7430 $as_echo "$MAGIC_CMD" >&6; }
   7431 else
   7432   { $as_echo "$as_me:$LINENO: result: no" >&5
   7433 $as_echo "no" >&6; }
   7434 fi
   7435 
   7436 
   7437   else
   7438     MAGIC_CMD=:
   7439   fi
   7440 fi
   7441 
   7442   fi
   7443   ;;
   7444 esac
   7445 
   7446 # Use C for the default configuration in the libtool script
   7447 
   7448 lt_save_CC="$CC"
   7449 ac_ext=c
   7450 ac_cpp='$CPP $CPPFLAGS'
   7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7454 
   7455 
   7456 # Source file extension for C test sources.
   7457 ac_ext=c
   7458 
   7459 # Object file extension for compiled C test sources.
   7460 objext=o
   7461 objext=$objext
   7462 
   7463 # Code to be used in simple compile tests
   7464 lt_simple_compile_test_code="int some_variable = 0;"
   7465 
   7466 # Code to be used in simple link tests
   7467 lt_simple_link_test_code='int main(){return(0);}'
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 # If no C compiler was specified, use CC.
   7476 LTCC=${LTCC-"$CC"}
   7477 
   7478 # If no C compiler flags were specified, use CFLAGS.
   7479 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7480 
   7481 # Allow CC to be a program name with arguments.
   7482 compiler=$CC
   7483 
   7484 # Save the default compiler, since it gets overwritten when the other
   7485 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7486 compiler_DEFAULT=$CC
   7487 
   7488 # save warnings/boilerplate of simple test code
   7489 ac_outfile=conftest.$ac_objext
   7490 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7491 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7492 _lt_compiler_boilerplate=`cat conftest.err`
   7493 $RM conftest*
   7494 
   7495 ac_outfile=conftest.$ac_objext
   7496 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7497 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7498 _lt_linker_boilerplate=`cat conftest.err`
   7499 $RM -r conftest*
   7500 
   7501 
   7502 if test -n "$compiler"; then
   7503 
   7504 lt_prog_compiler_no_builtin_flag=
   7505 
   7506 if test "$GCC" = yes; then
   7507   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7508 
   7509   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7510 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7511 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   lt_cv_prog_compiler_rtti_exceptions=no
   7515    ac_outfile=conftest.$ac_objext
   7516    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7517    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7518    # Insert the option either (1) after the last *FLAGS variable, or
   7519    # (2) before a word containing "conftest.", or (3) at the end.
   7520    # Note that $ac_compile itself does not contain backslashes and begins
   7521    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7522    # The option is referenced via a variable to avoid confusing sed.
   7523    lt_compile=`echo "$ac_compile" | $SED \
   7524    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7525    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7526    -e 's:$: $lt_compiler_flag:'`
   7527    (eval echo "\"\$as_me:7527: $lt_compile\"" >&5)
   7528    (eval "$lt_compile" 2>conftest.err)
   7529    ac_status=$?
   7530    cat conftest.err >&5
   7531    echo "$as_me:7531: \$? = $ac_status" >&5
   7532    if (exit $ac_status) && test -s "$ac_outfile"; then
   7533      # The compiler can only warn and ignore the option if not recognized
   7534      # So say no if there are warnings other than the usual output.
   7535      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7536      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7537      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7538        lt_cv_prog_compiler_rtti_exceptions=yes
   7539      fi
   7540    fi
   7541    $RM conftest*
   7542 
   7543 fi
   7544 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7545 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7546 
   7547 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7548     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7549 else
   7550     :
   7551 fi
   7552 
   7553 fi
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560   lt_prog_compiler_wl=
   7561 lt_prog_compiler_pic=
   7562 lt_prog_compiler_static=
   7563 
   7564 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7565 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7566 
   7567   if test "$GCC" = yes; then
   7568     lt_prog_compiler_wl='-Wl,'
   7569     lt_prog_compiler_static='-static'
   7570 
   7571     case $host_os in
   7572       aix*)
   7573       # All AIX code is PIC.
   7574       if test "$host_cpu" = ia64; then
   7575 	# AIX 5 now supports IA64 processor
   7576 	lt_prog_compiler_static='-Bstatic'
   7577       fi
   7578       ;;
   7579 
   7580     amigaos*)
   7581       case $host_cpu in
   7582       powerpc)
   7583             # see comment about AmigaOS4 .so support
   7584             lt_prog_compiler_pic='-fPIC'
   7585         ;;
   7586       m68k)
   7587             # FIXME: we need at least 68020 code to build shared libraries, but
   7588             # adding the `-m68020' flag to GCC prevents building anything better,
   7589             # like `-m68040'.
   7590             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7591         ;;
   7592       esac
   7593       ;;
   7594 
   7595     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7596       # PIC is the default for these OSes.
   7597       ;;
   7598 
   7599     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7600       # This hack is so that the source file can tell whether it is being
   7601       # built for inclusion in a dll (and should export symbols for example).
   7602       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7603       # (--disable-auto-import) libraries
   7604       lt_prog_compiler_pic='-DDLL_EXPORT'
   7605       ;;
   7606 
   7607     darwin* | rhapsody*)
   7608       # PIC is the default on this platform
   7609       # Common symbols not allowed in MH_DYLIB files
   7610       lt_prog_compiler_pic='-fno-common'
   7611       ;;
   7612 
   7613     hpux*)
   7614       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7615       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7616       # sets the default TLS model and affects inlining.
   7617       case $host_cpu in
   7618       hppa*64*)
   7619 	# +Z the default
   7620 	;;
   7621       *)
   7622 	lt_prog_compiler_pic='-fPIC'
   7623 	;;
   7624       esac
   7625       ;;
   7626 
   7627     interix[3-9]*)
   7628       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7629       # Instead, we relocate shared libraries at runtime.
   7630       ;;
   7631 
   7632     msdosdjgpp*)
   7633       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7634       # on systems that don't support them.
   7635       lt_prog_compiler_can_build_shared=no
   7636       enable_shared=no
   7637       ;;
   7638 
   7639     *nto* | *qnx*)
   7640       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7641       # it will coredump.
   7642       lt_prog_compiler_pic='-fPIC -shared'
   7643       ;;
   7644 
   7645     sysv4*MP*)
   7646       if test -d /usr/nec; then
   7647 	lt_prog_compiler_pic=-Kconform_pic
   7648       fi
   7649       ;;
   7650 
   7651     *)
   7652       lt_prog_compiler_pic='-fPIC'
   7653       ;;
   7654     esac
   7655   else
   7656     # PORTME Check for flag to pass linker flags through the system compiler.
   7657     case $host_os in
   7658     aix*)
   7659       lt_prog_compiler_wl='-Wl,'
   7660       if test "$host_cpu" = ia64; then
   7661 	# AIX 5 now supports IA64 processor
   7662 	lt_prog_compiler_static='-Bstatic'
   7663       else
   7664 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7665       fi
   7666       ;;
   7667 
   7668     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7669       # This hack is so that the source file can tell whether it is being
   7670       # built for inclusion in a dll (and should export symbols for example).
   7671       lt_prog_compiler_pic='-DDLL_EXPORT'
   7672       ;;
   7673 
   7674     hpux9* | hpux10* | hpux11*)
   7675       lt_prog_compiler_wl='-Wl,'
   7676       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7677       # not for PA HP-UX.
   7678       case $host_cpu in
   7679       hppa*64*|ia64*)
   7680 	# +Z the default
   7681 	;;
   7682       *)
   7683 	lt_prog_compiler_pic='+Z'
   7684 	;;
   7685       esac
   7686       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7687       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7688       ;;
   7689 
   7690     irix5* | irix6* | nonstopux*)
   7691       lt_prog_compiler_wl='-Wl,'
   7692       # PIC (with -KPIC) is the default.
   7693       lt_prog_compiler_static='-non_shared'
   7694       ;;
   7695 
   7696     linux* | k*bsd*-gnu)
   7697       case $cc_basename in
   7698       # old Intel for x86_64 which still supported -KPIC.
   7699       ecc*)
   7700 	lt_prog_compiler_wl='-Wl,'
   7701 	lt_prog_compiler_pic='-KPIC'
   7702 	lt_prog_compiler_static='-static'
   7703         ;;
   7704       # icc used to be incompatible with GCC.
   7705       # ICC 10 doesn't accept -KPIC any more.
   7706       icc* | ifort*)
   7707 	lt_prog_compiler_wl='-Wl,'
   7708 	lt_prog_compiler_pic='-fPIC'
   7709 	lt_prog_compiler_static='-static'
   7710         ;;
   7711       # Lahey Fortran 8.1.
   7712       lf95*)
   7713 	lt_prog_compiler_wl='-Wl,'
   7714 	lt_prog_compiler_pic='--shared'
   7715 	lt_prog_compiler_static='--static'
   7716 	;;
   7717       pgcc* | pgf77* | pgf90* | pgf95*)
   7718         # Portland Group compilers (*not* the Pentium gcc compiler,
   7719 	# which looks to be a dead project)
   7720 	lt_prog_compiler_wl='-Wl,'
   7721 	lt_prog_compiler_pic='-fpic'
   7722 	lt_prog_compiler_static='-Bstatic'
   7723         ;;
   7724       ccc*)
   7725         lt_prog_compiler_wl='-Wl,'
   7726         # All Alpha code is PIC.
   7727         lt_prog_compiler_static='-non_shared'
   7728         ;;
   7729       xl*)
   7730 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7731 	lt_prog_compiler_wl='-Wl,'
   7732 	lt_prog_compiler_pic='-qpic'
   7733 	lt_prog_compiler_static='-qstaticlink'
   7734 	;;
   7735       *)
   7736 	case `$CC -V 2>&1 | sed 5q` in
   7737 	*Sun\ C*)
   7738 	  # Sun C 5.9
   7739 	  lt_prog_compiler_pic='-KPIC'
   7740 	  lt_prog_compiler_static='-Bstatic'
   7741 	  lt_prog_compiler_wl='-Wl,'
   7742 	  ;;
   7743 	*Sun\ F*)
   7744 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7745 	  lt_prog_compiler_pic='-KPIC'
   7746 	  lt_prog_compiler_static='-Bstatic'
   7747 	  lt_prog_compiler_wl=''
   7748 	  ;;
   7749 	esac
   7750 	;;
   7751       esac
   7752       ;;
   7753 
   7754     newsos6)
   7755       lt_prog_compiler_pic='-KPIC'
   7756       lt_prog_compiler_static='-Bstatic'
   7757       ;;
   7758 
   7759     *nto* | *qnx*)
   7760       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7761       # it will coredump.
   7762       lt_prog_compiler_pic='-fPIC -shared'
   7763       ;;
   7764 
   7765     osf3* | osf4* | osf5*)
   7766       lt_prog_compiler_wl='-Wl,'
   7767       # All OSF/1 code is PIC.
   7768       lt_prog_compiler_static='-non_shared'
   7769       ;;
   7770 
   7771     rdos*)
   7772       lt_prog_compiler_static='-non_shared'
   7773       ;;
   7774 
   7775     solaris*)
   7776       lt_prog_compiler_pic='-KPIC'
   7777       lt_prog_compiler_static='-Bstatic'
   7778       case $cc_basename in
   7779       f77* | f90* | f95*)
   7780 	lt_prog_compiler_wl='-Qoption ld ';;
   7781       *)
   7782 	lt_prog_compiler_wl='-Wl,';;
   7783       esac
   7784       ;;
   7785 
   7786     sunos4*)
   7787       lt_prog_compiler_wl='-Qoption ld '
   7788       lt_prog_compiler_pic='-PIC'
   7789       lt_prog_compiler_static='-Bstatic'
   7790       ;;
   7791 
   7792     sysv4 | sysv4.2uw2* | sysv4.3*)
   7793       lt_prog_compiler_wl='-Wl,'
   7794       lt_prog_compiler_pic='-KPIC'
   7795       lt_prog_compiler_static='-Bstatic'
   7796       ;;
   7797 
   7798     sysv4*MP*)
   7799       if test -d /usr/nec ;then
   7800 	lt_prog_compiler_pic='-Kconform_pic'
   7801 	lt_prog_compiler_static='-Bstatic'
   7802       fi
   7803       ;;
   7804 
   7805     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7806       lt_prog_compiler_wl='-Wl,'
   7807       lt_prog_compiler_pic='-KPIC'
   7808       lt_prog_compiler_static='-Bstatic'
   7809       ;;
   7810 
   7811     unicos*)
   7812       lt_prog_compiler_wl='-Wl,'
   7813       lt_prog_compiler_can_build_shared=no
   7814       ;;
   7815 
   7816     uts4*)
   7817       lt_prog_compiler_pic='-pic'
   7818       lt_prog_compiler_static='-Bstatic'
   7819       ;;
   7820 
   7821     *)
   7822       lt_prog_compiler_can_build_shared=no
   7823       ;;
   7824     esac
   7825   fi
   7826 
   7827 case $host_os in
   7828   # For platforms which do not support PIC, -DPIC is meaningless:
   7829   *djgpp*)
   7830     lt_prog_compiler_pic=
   7831     ;;
   7832   *)
   7833     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7834     ;;
   7835 esac
   7836 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7837 $as_echo "$lt_prog_compiler_pic" >&6; }
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 #
   7845 # Check to make sure the PIC flag actually works.
   7846 #
   7847 if test -n "$lt_prog_compiler_pic"; then
   7848   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7849 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7850 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   lt_cv_prog_compiler_pic_works=no
   7854    ac_outfile=conftest.$ac_objext
   7855    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7856    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7857    # Insert the option either (1) after the last *FLAGS variable, or
   7858    # (2) before a word containing "conftest.", or (3) at the end.
   7859    # Note that $ac_compile itself does not contain backslashes and begins
   7860    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7861    # The option is referenced via a variable to avoid confusing sed.
   7862    lt_compile=`echo "$ac_compile" | $SED \
   7863    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7864    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7865    -e 's:$: $lt_compiler_flag:'`
   7866    (eval echo "\"\$as_me:7866: $lt_compile\"" >&5)
   7867    (eval "$lt_compile" 2>conftest.err)
   7868    ac_status=$?
   7869    cat conftest.err >&5
   7870    echo "$as_me:7870: \$? = $ac_status" >&5
   7871    if (exit $ac_status) && test -s "$ac_outfile"; then
   7872      # The compiler can only warn and ignore the option if not recognized
   7873      # So say no if there are warnings other than the usual output.
   7874      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7875      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7876      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7877        lt_cv_prog_compiler_pic_works=yes
   7878      fi
   7879    fi
   7880    $RM conftest*
   7881 
   7882 fi
   7883 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7884 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7885 
   7886 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7887     case $lt_prog_compiler_pic in
   7888      "" | " "*) ;;
   7889      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7890      esac
   7891 else
   7892     lt_prog_compiler_pic=
   7893      lt_prog_compiler_can_build_shared=no
   7894 fi
   7895 
   7896 fi
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 #
   7904 # Check to make sure the static flag actually works.
   7905 #
   7906 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7907 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7908 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7909 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7910   $as_echo_n "(cached) " >&6
   7911 else
   7912   lt_cv_prog_compiler_static_works=no
   7913    save_LDFLAGS="$LDFLAGS"
   7914    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7915    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7916    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7917      # The linker can only warn and ignore the option if not recognized
   7918      # So say no if there are warnings
   7919      if test -s conftest.err; then
   7920        # Append any errors to the config.log.
   7921        cat conftest.err 1>&5
   7922        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7923        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7924        if diff conftest.exp conftest.er2 >/dev/null; then
   7925          lt_cv_prog_compiler_static_works=yes
   7926        fi
   7927      else
   7928        lt_cv_prog_compiler_static_works=yes
   7929      fi
   7930    fi
   7931    $RM -r conftest*
   7932    LDFLAGS="$save_LDFLAGS"
   7933 
   7934 fi
   7935 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7936 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7937 
   7938 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7939     :
   7940 else
   7941     lt_prog_compiler_static=
   7942 fi
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7951 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7952 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   lt_cv_prog_compiler_c_o=no
   7956    $RM -r conftest 2>/dev/null
   7957    mkdir conftest
   7958    cd conftest
   7959    mkdir out
   7960    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7961 
   7962    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7963    # Insert the option either (1) after the last *FLAGS variable, or
   7964    # (2) before a word containing "conftest.", or (3) at the end.
   7965    # Note that $ac_compile itself does not contain backslashes and begins
   7966    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7967    lt_compile=`echo "$ac_compile" | $SED \
   7968    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7969    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7970    -e 's:$: $lt_compiler_flag:'`
   7971    (eval echo "\"\$as_me:7971: $lt_compile\"" >&5)
   7972    (eval "$lt_compile" 2>out/conftest.err)
   7973    ac_status=$?
   7974    cat out/conftest.err >&5
   7975    echo "$as_me:7975: \$? = $ac_status" >&5
   7976    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7977    then
   7978      # The compiler can only warn and ignore the option if not recognized
   7979      # So say no if there are warnings
   7980      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7981      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7982      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7983        lt_cv_prog_compiler_c_o=yes
   7984      fi
   7985    fi
   7986    chmod u+w . 2>&5
   7987    $RM conftest*
   7988    # SGI C++ compiler will create directory out/ii_files/ for
   7989    # template instantiation
   7990    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7991    $RM out/* && rmdir out
   7992    cd ..
   7993    $RM -r conftest
   7994    $RM conftest*
   7995 
   7996 fi
   7997 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7998 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8006 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8007 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   lt_cv_prog_compiler_c_o=no
   8011    $RM -r conftest 2>/dev/null
   8012    mkdir conftest
   8013    cd conftest
   8014    mkdir out
   8015    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8016 
   8017    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8018    # Insert the option either (1) after the last *FLAGS variable, or
   8019    # (2) before a word containing "conftest.", or (3) at the end.
   8020    # Note that $ac_compile itself does not contain backslashes and begins
   8021    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8022    lt_compile=`echo "$ac_compile" | $SED \
   8023    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8024    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8025    -e 's:$: $lt_compiler_flag:'`
   8026    (eval echo "\"\$as_me:8026: $lt_compile\"" >&5)
   8027    (eval "$lt_compile" 2>out/conftest.err)
   8028    ac_status=$?
   8029    cat out/conftest.err >&5
   8030    echo "$as_me:8030: \$? = $ac_status" >&5
   8031    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8032    then
   8033      # The compiler can only warn and ignore the option if not recognized
   8034      # So say no if there are warnings
   8035      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8036      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8037      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8038        lt_cv_prog_compiler_c_o=yes
   8039      fi
   8040    fi
   8041    chmod u+w . 2>&5
   8042    $RM conftest*
   8043    # SGI C++ compiler will create directory out/ii_files/ for
   8044    # template instantiation
   8045    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8046    $RM out/* && rmdir out
   8047    cd ..
   8048    $RM -r conftest
   8049    $RM conftest*
   8050 
   8051 fi
   8052 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8053 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8054 
   8055 
   8056 
   8057 
   8058 hard_links="nottested"
   8059 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8060   # do not overwrite the value of need_locks provided by the user
   8061   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8062 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8063   hard_links=yes
   8064   $RM conftest*
   8065   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8066   touch conftest.a
   8067   ln conftest.a conftest.b 2>&5 || hard_links=no
   8068   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8069   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8070 $as_echo "$hard_links" >&6; }
   8071   if test "$hard_links" = no; then
   8072     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8073 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8074     need_locks=warn
   8075   fi
   8076 else
   8077   need_locks=no
   8078 fi
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8086 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8087 
   8088   runpath_var=
   8089   allow_undefined_flag=
   8090   always_export_symbols=no
   8091   archive_cmds=
   8092   archive_expsym_cmds=
   8093   compiler_needs_object=no
   8094   enable_shared_with_static_runtimes=no
   8095   export_dynamic_flag_spec=
   8096   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8097   hardcode_automatic=no
   8098   hardcode_direct=no
   8099   hardcode_direct_absolute=no
   8100   hardcode_libdir_flag_spec=
   8101   hardcode_libdir_flag_spec_ld=
   8102   hardcode_libdir_separator=
   8103   hardcode_minus_L=no
   8104   hardcode_shlibpath_var=unsupported
   8105   inherit_rpath=no
   8106   link_all_deplibs=unknown
   8107   module_cmds=
   8108   module_expsym_cmds=
   8109   old_archive_from_new_cmds=
   8110   old_archive_from_expsyms_cmds=
   8111   thread_safe_flag_spec=
   8112   whole_archive_flag_spec=
   8113   # include_expsyms should be a list of space-separated symbols to be *always*
   8114   # included in the symbol list
   8115   include_expsyms=
   8116   # exclude_expsyms can be an extended regexp of symbols to exclude
   8117   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8118   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8119   # as well as any symbol that contains `d'.
   8120   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8121   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8122   # platforms (ab)use it in PIC code, but their linkers get confused if
   8123   # the symbol is explicitly referenced.  Since portable code cannot
   8124   # rely on this symbol name, it's probably fine to never include it in
   8125   # preloaded symbol tables.
   8126   # Exclude shared library initialization/finalization symbols.
   8127   extract_expsyms_cmds=
   8128 
   8129   case $host_os in
   8130   cygwin* | mingw* | pw32* | cegcc*)
   8131     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8132     # When not using gcc, we currently assume that we are using
   8133     # Microsoft Visual C++.
   8134     if test "$GCC" != yes; then
   8135       with_gnu_ld=no
   8136     fi
   8137     ;;
   8138   interix*)
   8139     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8140     with_gnu_ld=yes
   8141     ;;
   8142   openbsd*)
   8143     with_gnu_ld=no
   8144     ;;
   8145   esac
   8146 
   8147   ld_shlibs=yes
   8148   if test "$with_gnu_ld" = yes; then
   8149     # If archive_cmds runs LD, not CC, wlarc should be empty
   8150     wlarc='${wl}'
   8151 
   8152     # Set some defaults for GNU ld with shared library support. These
   8153     # are reset later if shared libraries are not supported. Putting them
   8154     # here allows them to be overridden if necessary.
   8155     runpath_var=LD_RUN_PATH
   8156     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8157     export_dynamic_flag_spec='${wl}--export-dynamic'
   8158     # ancient GNU ld didn't support --whole-archive et. al.
   8159     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8160       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8161     else
   8162       whole_archive_flag_spec=
   8163     fi
   8164     supports_anon_versioning=no
   8165     case `$LD -v 2>&1` in
   8166       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8167       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8168       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8169       *\ 2.11.*) ;; # other 2.11 versions
   8170       *) supports_anon_versioning=yes ;;
   8171     esac
   8172 
   8173     # See if GNU ld supports shared libraries.
   8174     case $host_os in
   8175     aix[3-9]*)
   8176       # On AIX/PPC, the GNU linker is very broken
   8177       if test "$host_cpu" != ia64; then
   8178 	ld_shlibs=no
   8179 	cat <<_LT_EOF 1>&2
   8180 
   8181 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8182 *** to be unable to reliably create shared libraries on AIX.
   8183 *** Therefore, libtool is disabling shared libraries support.  If you
   8184 *** really care for shared libraries, you may want to modify your PATH
   8185 *** so that a non-GNU linker is found, and then restart.
   8186 
   8187 _LT_EOF
   8188       fi
   8189       ;;
   8190 
   8191     amigaos*)
   8192       case $host_cpu in
   8193       powerpc)
   8194             # see comment about AmigaOS4 .so support
   8195             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8196             archive_expsym_cmds=''
   8197         ;;
   8198       m68k)
   8199             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)'
   8200             hardcode_libdir_flag_spec='-L$libdir'
   8201             hardcode_minus_L=yes
   8202         ;;
   8203       esac
   8204       ;;
   8205 
   8206     beos*)
   8207       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8208 	allow_undefined_flag=unsupported
   8209 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8210 	# support --undefined.  This deserves some investigation.  FIXME
   8211 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8212       else
   8213 	ld_shlibs=no
   8214       fi
   8215       ;;
   8216 
   8217     cygwin* | mingw* | pw32* | cegcc*)
   8218       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8219       # as there is no search path for DLLs.
   8220       hardcode_libdir_flag_spec='-L$libdir'
   8221       allow_undefined_flag=unsupported
   8222       always_export_symbols=no
   8223       enable_shared_with_static_runtimes=yes
   8224       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8225 
   8226       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8227         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8228 	# If the export-symbols file already is a .def file (1st line
   8229 	# is EXPORTS), use it as is; otherwise, prepend...
   8230 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8231 	  cp $export_symbols $output_objdir/$soname.def;
   8232 	else
   8233 	  echo EXPORTS > $output_objdir/$soname.def;
   8234 	  cat $export_symbols >> $output_objdir/$soname.def;
   8235 	fi~
   8236 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8237       else
   8238 	ld_shlibs=no
   8239       fi
   8240       ;;
   8241 
   8242     interix[3-9]*)
   8243       hardcode_direct=no
   8244       hardcode_shlibpath_var=no
   8245       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8246       export_dynamic_flag_spec='${wl}-E'
   8247       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8248       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8249       # default) and relocated if they conflict, which is a slow very memory
   8250       # consuming and fragmenting process.  To avoid this, we pick a random,
   8251       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8252       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8253       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8254       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'
   8255       ;;
   8256 
   8257     gnu* | linux* | tpf* | k*bsd*-gnu)
   8258       tmp_diet=no
   8259       if test "$host_os" = linux-dietlibc; then
   8260 	case $cc_basename in
   8261 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8262 	esac
   8263       fi
   8264       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8265 	 && test "$tmp_diet" = no
   8266       then
   8267 	tmp_addflag=
   8268 	tmp_sharedflag='-shared'
   8269 	case $cc_basename,$host_cpu in
   8270         pgcc*)				# Portland Group C compiler
   8271 	  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'
   8272 	  tmp_addflag=' $pic_flag'
   8273 	  ;;
   8274 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8275 	  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'
   8276 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8277 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8278 	  tmp_addflag=' -i_dynamic' ;;
   8279 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8280 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8281 	ifc* | ifort*)			# Intel Fortran compiler
   8282 	  tmp_addflag=' -nofor_main' ;;
   8283 	lf95*)				# Lahey Fortran 8.1
   8284 	  whole_archive_flag_spec=
   8285 	  tmp_sharedflag='--shared' ;;
   8286 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8287 	  tmp_sharedflag='-qmkshrobj'
   8288 	  tmp_addflag= ;;
   8289 	esac
   8290 	case `$CC -V 2>&1 | sed 5q` in
   8291 	*Sun\ C*)			# Sun C 5.9
   8292 	  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'
   8293 	  compiler_needs_object=yes
   8294 	  tmp_sharedflag='-G' ;;
   8295 	*Sun\ F*)			# Sun Fortran 8.3
   8296 	  tmp_sharedflag='-G' ;;
   8297 	esac
   8298 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8299 
   8300         if test "x$supports_anon_versioning" = xyes; then
   8301           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8302 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8303 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8304 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8305         fi
   8306 
   8307 	case $cc_basename in
   8308 	xlf*)
   8309 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8310 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8311 	  hardcode_libdir_flag_spec=
   8312 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8313 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8314 	  if test "x$supports_anon_versioning" = xyes; then
   8315 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8316 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8317 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8318 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8319 	  fi
   8320 	  ;;
   8321 	esac
   8322       else
   8323         ld_shlibs=no
   8324       fi
   8325       ;;
   8326 
   8327     netbsd*)
   8328       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8329 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8330 	wlarc=
   8331       else
   8332 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8333 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8334       fi
   8335       ;;
   8336 
   8337     solaris*)
   8338       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8339 	ld_shlibs=no
   8340 	cat <<_LT_EOF 1>&2
   8341 
   8342 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8343 *** create shared libraries on Solaris systems.  Therefore, libtool
   8344 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8345 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8346 *** your PATH or compiler configuration so that the native linker is
   8347 *** used, and then restart.
   8348 
   8349 _LT_EOF
   8350       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8351 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8352 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8353       else
   8354 	ld_shlibs=no
   8355       fi
   8356       ;;
   8357 
   8358     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8359       case `$LD -v 2>&1` in
   8360         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8361 	ld_shlibs=no
   8362 	cat <<_LT_EOF 1>&2
   8363 
   8364 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8365 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8366 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8367 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8368 *** your PATH or compiler configuration so that the native linker is
   8369 *** used, and then restart.
   8370 
   8371 _LT_EOF
   8372 	;;
   8373 	*)
   8374 	  # For security reasons, it is highly recommended that you always
   8375 	  # use absolute paths for naming shared libraries, and exclude the
   8376 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8377 	  # requires that you compile everything twice, which is a pain.
   8378 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8379 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8380 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8381 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8382 	  else
   8383 	    ld_shlibs=no
   8384 	  fi
   8385 	;;
   8386       esac
   8387       ;;
   8388 
   8389     sunos4*)
   8390       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8391       wlarc=
   8392       hardcode_direct=yes
   8393       hardcode_shlibpath_var=no
   8394       ;;
   8395 
   8396     *)
   8397       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8398 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8399 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8400       else
   8401 	ld_shlibs=no
   8402       fi
   8403       ;;
   8404     esac
   8405 
   8406     if test "$ld_shlibs" = no; then
   8407       runpath_var=
   8408       hardcode_libdir_flag_spec=
   8409       export_dynamic_flag_spec=
   8410       whole_archive_flag_spec=
   8411     fi
   8412   else
   8413     # PORTME fill in a description of your system's linker (not GNU ld)
   8414     case $host_os in
   8415     aix3*)
   8416       allow_undefined_flag=unsupported
   8417       always_export_symbols=yes
   8418       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'
   8419       # Note: this linker hardcodes the directories in LIBPATH if there
   8420       # are no directories specified by -L.
   8421       hardcode_minus_L=yes
   8422       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8423 	# Neither direct hardcoding nor static linking is supported with a
   8424 	# broken collect2.
   8425 	hardcode_direct=unsupported
   8426       fi
   8427       ;;
   8428 
   8429     aix[4-9]*)
   8430       if test "$host_cpu" = ia64; then
   8431 	# On IA64, the linker does run time linking by default, so we don't
   8432 	# have to do anything special.
   8433 	aix_use_runtimelinking=no
   8434 	exp_sym_flag='-Bexport'
   8435 	no_entry_flag=""
   8436       else
   8437 	# If we're using GNU nm, then we don't want the "-C" option.
   8438 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8439 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8440 	  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'
   8441 	else
   8442 	  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'
   8443 	fi
   8444 	aix_use_runtimelinking=no
   8445 
   8446 	# Test if we are trying to use run time linking or normal
   8447 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8448 	# need to do runtime linking.
   8449 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8450 	  for ld_flag in $LDFLAGS; do
   8451 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8452 	    aix_use_runtimelinking=yes
   8453 	    break
   8454 	  fi
   8455 	  done
   8456 	  ;;
   8457 	esac
   8458 
   8459 	exp_sym_flag='-bexport'
   8460 	no_entry_flag='-bnoentry'
   8461       fi
   8462 
   8463       # When large executables or shared objects are built, AIX ld can
   8464       # have problems creating the table of contents.  If linking a library
   8465       # or program results in "error TOC overflow" add -mminimal-toc to
   8466       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8467       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8468 
   8469       archive_cmds=''
   8470       hardcode_direct=yes
   8471       hardcode_direct_absolute=yes
   8472       hardcode_libdir_separator=':'
   8473       link_all_deplibs=yes
   8474       file_list_spec='${wl}-f,'
   8475 
   8476       if test "$GCC" = yes; then
   8477 	case $host_os in aix4.[012]|aix4.[012].*)
   8478 	# We only want to do this on AIX 4.2 and lower, the check
   8479 	# below for broken collect2 doesn't work under 4.3+
   8480 	  collect2name=`${CC} -print-prog-name=collect2`
   8481 	  if test -f "$collect2name" &&
   8482 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8483 	  then
   8484 	  # We have reworked collect2
   8485 	  :
   8486 	  else
   8487 	  # We have old collect2
   8488 	  hardcode_direct=unsupported
   8489 	  # It fails to find uninstalled libraries when the uninstalled
   8490 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8491 	  # to unsupported forces relinking
   8492 	  hardcode_minus_L=yes
   8493 	  hardcode_libdir_flag_spec='-L$libdir'
   8494 	  hardcode_libdir_separator=
   8495 	  fi
   8496 	  ;;
   8497 	esac
   8498 	shared_flag='-shared'
   8499 	if test "$aix_use_runtimelinking" = yes; then
   8500 	  shared_flag="$shared_flag "'${wl}-G'
   8501 	fi
   8502       else
   8503 	# not using gcc
   8504 	if test "$host_cpu" = ia64; then
   8505 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8506 	# chokes on -Wl,-G. The following line is correct:
   8507 	  shared_flag='-G'
   8508 	else
   8509 	  if test "$aix_use_runtimelinking" = yes; then
   8510 	    shared_flag='${wl}-G'
   8511 	  else
   8512 	    shared_flag='${wl}-bM:SRE'
   8513 	  fi
   8514 	fi
   8515       fi
   8516 
   8517       export_dynamic_flag_spec='${wl}-bexpall'
   8518       # It seems that -bexpall does not export symbols beginning with
   8519       # underscore (_), so it is better to generate a list of symbols to export.
   8520       always_export_symbols=yes
   8521       if test "$aix_use_runtimelinking" = yes; then
   8522 	# Warning - without using the other runtime loading flags (-brtl),
   8523 	# -berok will link without error, but may produce a broken library.
   8524 	allow_undefined_flag='-berok'
   8525         # Determine the default libpath from the value encoded in an
   8526         # empty executable.
   8527         cat >conftest.$ac_ext <<_ACEOF
   8528 /* confdefs.h.  */
   8529 _ACEOF
   8530 cat confdefs.h >>conftest.$ac_ext
   8531 cat >>conftest.$ac_ext <<_ACEOF
   8532 /* end confdefs.h.  */
   8533 
   8534 int
   8535 main ()
   8536 {
   8537 
   8538   ;
   8539   return 0;
   8540 }
   8541 _ACEOF
   8542 rm -f conftest.$ac_objext conftest$ac_exeext
   8543 if { (ac_try="$ac_link"
   8544 case "(($ac_try" in
   8545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8546   *) ac_try_echo=$ac_try;;
   8547 esac
   8548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8549 $as_echo "$ac_try_echo") >&5
   8550   (eval "$ac_link") 2>conftest.er1
   8551   ac_status=$?
   8552   grep -v '^ *+' conftest.er1 >conftest.err
   8553   rm -f conftest.er1
   8554   cat conftest.err >&5
   8555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8556   (exit $ac_status); } && {
   8557 	 test -z "$ac_c_werror_flag" ||
   8558 	 test ! -s conftest.err
   8559        } && test -s conftest$ac_exeext && {
   8560 	 test "$cross_compiling" = yes ||
   8561 	 $as_test_x conftest$ac_exeext
   8562        }; then
   8563 
   8564 lt_aix_libpath_sed='
   8565     /Import File Strings/,/^$/ {
   8566 	/^0/ {
   8567 	    s/^0  *\(.*\)$/\1/
   8568 	    p
   8569 	}
   8570     }'
   8571 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8572 # Check for a 64-bit object if we didn't find anything.
   8573 if test -z "$aix_libpath"; then
   8574   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8575 fi
   8576 else
   8577   $as_echo "$as_me: failed program was:" >&5
   8578 sed 's/^/| /' conftest.$ac_ext >&5
   8579 
   8580 
   8581 fi
   8582 
   8583 rm -rf conftest.dSYM
   8584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8585       conftest$ac_exeext conftest.$ac_ext
   8586 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8587 
   8588         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8589         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"
   8590       else
   8591 	if test "$host_cpu" = ia64; then
   8592 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8593 	  allow_undefined_flag="-z nodefs"
   8594 	  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"
   8595 	else
   8596 	 # Determine the default libpath from the value encoded in an
   8597 	 # empty executable.
   8598 	 cat >conftest.$ac_ext <<_ACEOF
   8599 /* confdefs.h.  */
   8600 _ACEOF
   8601 cat confdefs.h >>conftest.$ac_ext
   8602 cat >>conftest.$ac_ext <<_ACEOF
   8603 /* end confdefs.h.  */
   8604 
   8605 int
   8606 main ()
   8607 {
   8608 
   8609   ;
   8610   return 0;
   8611 }
   8612 _ACEOF
   8613 rm -f conftest.$ac_objext conftest$ac_exeext
   8614 if { (ac_try="$ac_link"
   8615 case "(($ac_try" in
   8616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8617   *) ac_try_echo=$ac_try;;
   8618 esac
   8619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8620 $as_echo "$ac_try_echo") >&5
   8621   (eval "$ac_link") 2>conftest.er1
   8622   ac_status=$?
   8623   grep -v '^ *+' conftest.er1 >conftest.err
   8624   rm -f conftest.er1
   8625   cat conftest.err >&5
   8626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8627   (exit $ac_status); } && {
   8628 	 test -z "$ac_c_werror_flag" ||
   8629 	 test ! -s conftest.err
   8630        } && test -s conftest$ac_exeext && {
   8631 	 test "$cross_compiling" = yes ||
   8632 	 $as_test_x conftest$ac_exeext
   8633        }; then
   8634 
   8635 lt_aix_libpath_sed='
   8636     /Import File Strings/,/^$/ {
   8637 	/^0/ {
   8638 	    s/^0  *\(.*\)$/\1/
   8639 	    p
   8640 	}
   8641     }'
   8642 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8643 # Check for a 64-bit object if we didn't find anything.
   8644 if test -z "$aix_libpath"; then
   8645   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8646 fi
   8647 else
   8648   $as_echo "$as_me: failed program was:" >&5
   8649 sed 's/^/| /' conftest.$ac_ext >&5
   8650 
   8651 
   8652 fi
   8653 
   8654 rm -rf conftest.dSYM
   8655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8656       conftest$ac_exeext conftest.$ac_ext
   8657 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8658 
   8659 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8660 	  # Warning - without using the other run time loading flags,
   8661 	  # -berok will link without error, but may produce a broken library.
   8662 	  no_undefined_flag=' ${wl}-bernotok'
   8663 	  allow_undefined_flag=' ${wl}-berok'
   8664 	  # Exported symbols can be pulled into shared objects from archives
   8665 	  whole_archive_flag_spec='$convenience'
   8666 	  archive_cmds_need_lc=yes
   8667 	  # This is similar to how AIX traditionally builds its shared libraries.
   8668 	  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'
   8669 	fi
   8670       fi
   8671       ;;
   8672 
   8673     amigaos*)
   8674       case $host_cpu in
   8675       powerpc)
   8676             # see comment about AmigaOS4 .so support
   8677             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8678             archive_expsym_cmds=''
   8679         ;;
   8680       m68k)
   8681             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)'
   8682             hardcode_libdir_flag_spec='-L$libdir'
   8683             hardcode_minus_L=yes
   8684         ;;
   8685       esac
   8686       ;;
   8687 
   8688     bsdi[45]*)
   8689       export_dynamic_flag_spec=-rdynamic
   8690       ;;
   8691 
   8692     cygwin* | mingw* | pw32* | cegcc*)
   8693       # When not using gcc, we currently assume that we are using
   8694       # Microsoft Visual C++.
   8695       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8696       # no search path for DLLs.
   8697       hardcode_libdir_flag_spec=' '
   8698       allow_undefined_flag=unsupported
   8699       # Tell ltmain to make .lib files, not .a files.
   8700       libext=lib
   8701       # Tell ltmain to make .dll files, not .so files.
   8702       shrext_cmds=".dll"
   8703       # FIXME: Setting linknames here is a bad hack.
   8704       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8705       # The linker will automatically build a .lib file if we build a DLL.
   8706       old_archive_from_new_cmds='true'
   8707       # FIXME: Should let the user specify the lib program.
   8708       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8709       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8710       enable_shared_with_static_runtimes=yes
   8711       ;;
   8712 
   8713     darwin* | rhapsody*)
   8714 
   8715 
   8716   archive_cmds_need_lc=no
   8717   hardcode_direct=no
   8718   hardcode_automatic=yes
   8719   hardcode_shlibpath_var=unsupported
   8720   whole_archive_flag_spec=''
   8721   link_all_deplibs=yes
   8722   allow_undefined_flag="$_lt_dar_allow_undefined"
   8723   case $cc_basename in
   8724      ifort*) _lt_dar_can_shared=yes ;;
   8725      *) _lt_dar_can_shared=$GCC ;;
   8726   esac
   8727   if test "$_lt_dar_can_shared" = "yes"; then
   8728     output_verbose_link_cmd=echo
   8729     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8730     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8731     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}"
   8732     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}"
   8733 
   8734   else
   8735   ld_shlibs=no
   8736   fi
   8737 
   8738       ;;
   8739 
   8740     dgux*)
   8741       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8742       hardcode_libdir_flag_spec='-L$libdir'
   8743       hardcode_shlibpath_var=no
   8744       ;;
   8745 
   8746     freebsd1*)
   8747       ld_shlibs=no
   8748       ;;
   8749 
   8750     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8751     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8752     # does not break anything, and helps significantly (at the cost of a little
   8753     # extra space).
   8754     freebsd2.2*)
   8755       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8756       hardcode_libdir_flag_spec='-R$libdir'
   8757       hardcode_direct=yes
   8758       hardcode_shlibpath_var=no
   8759       ;;
   8760 
   8761     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8762     freebsd2*)
   8763       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8764       hardcode_direct=yes
   8765       hardcode_minus_L=yes
   8766       hardcode_shlibpath_var=no
   8767       ;;
   8768 
   8769     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8770     freebsd* | dragonfly*)
   8771       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8772       hardcode_libdir_flag_spec='-R$libdir'
   8773       hardcode_direct=yes
   8774       hardcode_shlibpath_var=no
   8775       ;;
   8776 
   8777     hpux9*)
   8778       if test "$GCC" = yes; then
   8779 	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'
   8780       else
   8781 	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'
   8782       fi
   8783       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8784       hardcode_libdir_separator=:
   8785       hardcode_direct=yes
   8786 
   8787       # hardcode_minus_L: Not really in the search PATH,
   8788       # but as the default location of the library.
   8789       hardcode_minus_L=yes
   8790       export_dynamic_flag_spec='${wl}-E'
   8791       ;;
   8792 
   8793     hpux10*)
   8794       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8795 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8796       else
   8797 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8798       fi
   8799       if test "$with_gnu_ld" = no; then
   8800 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8801 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8802 	hardcode_libdir_separator=:
   8803 	hardcode_direct=yes
   8804 	hardcode_direct_absolute=yes
   8805 	export_dynamic_flag_spec='${wl}-E'
   8806 	# hardcode_minus_L: Not really in the search PATH,
   8807 	# but as the default location of the library.
   8808 	hardcode_minus_L=yes
   8809       fi
   8810       ;;
   8811 
   8812     hpux11*)
   8813       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8814 	case $host_cpu in
   8815 	hppa*64*)
   8816 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8817 	  ;;
   8818 	ia64*)
   8819 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8820 	  ;;
   8821 	*)
   8822 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8823 	  ;;
   8824 	esac
   8825       else
   8826 	case $host_cpu in
   8827 	hppa*64*)
   8828 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8829 	  ;;
   8830 	ia64*)
   8831 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8832 	  ;;
   8833 	*)
   8834 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8835 	  ;;
   8836 	esac
   8837       fi
   8838       if test "$with_gnu_ld" = no; then
   8839 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8840 	hardcode_libdir_separator=:
   8841 
   8842 	case $host_cpu in
   8843 	hppa*64*|ia64*)
   8844 	  hardcode_direct=no
   8845 	  hardcode_shlibpath_var=no
   8846 	  ;;
   8847 	*)
   8848 	  hardcode_direct=yes
   8849 	  hardcode_direct_absolute=yes
   8850 	  export_dynamic_flag_spec='${wl}-E'
   8851 
   8852 	  # hardcode_minus_L: Not really in the search PATH,
   8853 	  # but as the default location of the library.
   8854 	  hardcode_minus_L=yes
   8855 	  ;;
   8856 	esac
   8857       fi
   8858       ;;
   8859 
   8860     irix5* | irix6* | nonstopux*)
   8861       if test "$GCC" = yes; then
   8862 	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'
   8863 	# Try to use the -exported_symbol ld option, if it does not
   8864 	# work, assume that -exports_file does not work either and
   8865 	# implicitly export all symbols.
   8866         save_LDFLAGS="$LDFLAGS"
   8867         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8868         cat >conftest.$ac_ext <<_ACEOF
   8869 int foo(void) {}
   8870 _ACEOF
   8871 rm -f conftest.$ac_objext conftest$ac_exeext
   8872 if { (ac_try="$ac_link"
   8873 case "(($ac_try" in
   8874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8875   *) ac_try_echo=$ac_try;;
   8876 esac
   8877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8878 $as_echo "$ac_try_echo") >&5
   8879   (eval "$ac_link") 2>conftest.er1
   8880   ac_status=$?
   8881   grep -v '^ *+' conftest.er1 >conftest.err
   8882   rm -f conftest.er1
   8883   cat conftest.err >&5
   8884   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8885   (exit $ac_status); } && {
   8886 	 test -z "$ac_c_werror_flag" ||
   8887 	 test ! -s conftest.err
   8888        } && test -s conftest$ac_exeext && {
   8889 	 test "$cross_compiling" = yes ||
   8890 	 $as_test_x conftest$ac_exeext
   8891        }; then
   8892   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'
   8893 
   8894 else
   8895   $as_echo "$as_me: failed program was:" >&5
   8896 sed 's/^/| /' conftest.$ac_ext >&5
   8897 
   8898 
   8899 fi
   8900 
   8901 rm -rf conftest.dSYM
   8902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8903       conftest$ac_exeext conftest.$ac_ext
   8904         LDFLAGS="$save_LDFLAGS"
   8905       else
   8906 	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'
   8907 	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'
   8908       fi
   8909       archive_cmds_need_lc='no'
   8910       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8911       hardcode_libdir_separator=:
   8912       inherit_rpath=yes
   8913       link_all_deplibs=yes
   8914       ;;
   8915 
   8916     netbsd*)
   8917       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8918 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8919       else
   8920 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8921       fi
   8922       hardcode_libdir_flag_spec='-R$libdir'
   8923       hardcode_direct=yes
   8924       hardcode_shlibpath_var=no
   8925       ;;
   8926 
   8927     newsos6)
   8928       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8929       hardcode_direct=yes
   8930       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8931       hardcode_libdir_separator=:
   8932       hardcode_shlibpath_var=no
   8933       ;;
   8934 
   8935     *nto* | *qnx*)
   8936       ;;
   8937 
   8938     openbsd*)
   8939       if test -f /usr/libexec/ld.so; then
   8940 	hardcode_direct=yes
   8941 	hardcode_shlibpath_var=no
   8942 	hardcode_direct_absolute=yes
   8943 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8944 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8945 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8946 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8947 	  export_dynamic_flag_spec='${wl}-E'
   8948 	else
   8949 	  case $host_os in
   8950 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8951 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8952 	     hardcode_libdir_flag_spec='-R$libdir'
   8953 	     ;;
   8954 	   *)
   8955 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8956 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8957 	     ;;
   8958 	  esac
   8959 	fi
   8960       else
   8961 	ld_shlibs=no
   8962       fi
   8963       ;;
   8964 
   8965     os2*)
   8966       hardcode_libdir_flag_spec='-L$libdir'
   8967       hardcode_minus_L=yes
   8968       allow_undefined_flag=unsupported
   8969       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'
   8970       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8971       ;;
   8972 
   8973     osf3*)
   8974       if test "$GCC" = yes; then
   8975 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8976 	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'
   8977       else
   8978 	allow_undefined_flag=' -expect_unresolved \*'
   8979 	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'
   8980       fi
   8981       archive_cmds_need_lc='no'
   8982       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8983       hardcode_libdir_separator=:
   8984       ;;
   8985 
   8986     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8987       if test "$GCC" = yes; then
   8988 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8989 	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'
   8990 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8991       else
   8992 	allow_undefined_flag=' -expect_unresolved \*'
   8993 	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'
   8994 	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~
   8995 	$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'
   8996 
   8997 	# Both c and cxx compiler support -rpath directly
   8998 	hardcode_libdir_flag_spec='-rpath $libdir'
   8999       fi
   9000       archive_cmds_need_lc='no'
   9001       hardcode_libdir_separator=:
   9002       ;;
   9003 
   9004     solaris*)
   9005       no_undefined_flag=' -z defs'
   9006       if test "$GCC" = yes; then
   9007 	wlarc='${wl}'
   9008 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9009 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9010 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9011       else
   9012 	case `$CC -V 2>&1` in
   9013 	*"Compilers 5.0"*)
   9014 	  wlarc=''
   9015 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9016 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9017 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9018 	  ;;
   9019 	*)
   9020 	  wlarc='${wl}'
   9021 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9022 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9023 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9024 	  ;;
   9025 	esac
   9026       fi
   9027       hardcode_libdir_flag_spec='-R$libdir'
   9028       hardcode_shlibpath_var=no
   9029       case $host_os in
   9030       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9031       *)
   9032 	# The compiler driver will combine and reorder linker options,
   9033 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9034 	# but is careful enough not to reorder.
   9035 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9036 	if test "$GCC" = yes; then
   9037 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9038 	else
   9039 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9040 	fi
   9041 	;;
   9042       esac
   9043       link_all_deplibs=yes
   9044       ;;
   9045 
   9046     sunos4*)
   9047       if test "x$host_vendor" = xsequent; then
   9048 	# Use $CC to link under sequent, because it throws in some extra .o
   9049 	# files that make .init and .fini sections work.
   9050 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9051       else
   9052 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9053       fi
   9054       hardcode_libdir_flag_spec='-L$libdir'
   9055       hardcode_direct=yes
   9056       hardcode_minus_L=yes
   9057       hardcode_shlibpath_var=no
   9058       ;;
   9059 
   9060     sysv4)
   9061       case $host_vendor in
   9062 	sni)
   9063 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9064 	  hardcode_direct=yes # is this really true???
   9065 	;;
   9066 	siemens)
   9067 	  ## LD is ld it makes a PLAMLIB
   9068 	  ## CC just makes a GrossModule.
   9069 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9070 	  reload_cmds='$CC -r -o $output$reload_objs'
   9071 	  hardcode_direct=no
   9072         ;;
   9073 	motorola)
   9074 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9075 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9076 	;;
   9077       esac
   9078       runpath_var='LD_RUN_PATH'
   9079       hardcode_shlibpath_var=no
   9080       ;;
   9081 
   9082     sysv4.3*)
   9083       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9084       hardcode_shlibpath_var=no
   9085       export_dynamic_flag_spec='-Bexport'
   9086       ;;
   9087 
   9088     sysv4*MP*)
   9089       if test -d /usr/nec; then
   9090 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9091 	hardcode_shlibpath_var=no
   9092 	runpath_var=LD_RUN_PATH
   9093 	hardcode_runpath_var=yes
   9094 	ld_shlibs=yes
   9095       fi
   9096       ;;
   9097 
   9098     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9099       no_undefined_flag='${wl}-z,text'
   9100       archive_cmds_need_lc=no
   9101       hardcode_shlibpath_var=no
   9102       runpath_var='LD_RUN_PATH'
   9103 
   9104       if test "$GCC" = yes; then
   9105 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9106 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9107       else
   9108 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9109 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9110       fi
   9111       ;;
   9112 
   9113     sysv5* | sco3.2v5* | sco5v6*)
   9114       # Note: We can NOT use -z defs as we might desire, because we do not
   9115       # link with -lc, and that would cause any symbols used from libc to
   9116       # always be unresolved, which means just about no library would
   9117       # ever link correctly.  If we're not using GNU ld we use -z text
   9118       # though, which does catch some bad symbols but isn't as heavy-handed
   9119       # as -z defs.
   9120       no_undefined_flag='${wl}-z,text'
   9121       allow_undefined_flag='${wl}-z,nodefs'
   9122       archive_cmds_need_lc=no
   9123       hardcode_shlibpath_var=no
   9124       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9125       hardcode_libdir_separator=':'
   9126       link_all_deplibs=yes
   9127       export_dynamic_flag_spec='${wl}-Bexport'
   9128       runpath_var='LD_RUN_PATH'
   9129 
   9130       if test "$GCC" = yes; then
   9131 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9132 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9133       else
   9134 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9135 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9136       fi
   9137       ;;
   9138 
   9139     uts4*)
   9140       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9141       hardcode_libdir_flag_spec='-L$libdir'
   9142       hardcode_shlibpath_var=no
   9143       ;;
   9144 
   9145     *)
   9146       ld_shlibs=no
   9147       ;;
   9148     esac
   9149 
   9150     if test x$host_vendor = xsni; then
   9151       case $host in
   9152       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9153 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9154 	;;
   9155       esac
   9156     fi
   9157   fi
   9158 
   9159 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9160 $as_echo "$ld_shlibs" >&6; }
   9161 test "$ld_shlibs" = no && can_build_shared=no
   9162 
   9163 with_gnu_ld=$with_gnu_ld
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 #
   9180 # Do we need to explicitly link libc?
   9181 #
   9182 case "x$archive_cmds_need_lc" in
   9183 x|xyes)
   9184   # Assume -lc should be added
   9185   archive_cmds_need_lc=yes
   9186 
   9187   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9188     case $archive_cmds in
   9189     *'~'*)
   9190       # FIXME: we may have to deal with multi-command sequences.
   9191       ;;
   9192     '$CC '*)
   9193       # Test whether the compiler implicitly links with -lc since on some
   9194       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9195       # to ld, don't add -lc before -lgcc.
   9196       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9197 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9198       $RM conftest*
   9199       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9200 
   9201       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9202   (eval $ac_compile) 2>&5
   9203   ac_status=$?
   9204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9205   (exit $ac_status); } 2>conftest.err; then
   9206         soname=conftest
   9207         lib=conftest
   9208         libobjs=conftest.$ac_objext
   9209         deplibs=
   9210         wl=$lt_prog_compiler_wl
   9211 	pic_flag=$lt_prog_compiler_pic
   9212         compiler_flags=-v
   9213         linker_flags=-v
   9214         verstring=
   9215         output_objdir=.
   9216         libname=conftest
   9217         lt_save_allow_undefined_flag=$allow_undefined_flag
   9218         allow_undefined_flag=
   9219         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9220   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9221   ac_status=$?
   9222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9223   (exit $ac_status); }
   9224         then
   9225 	  archive_cmds_need_lc=no
   9226         else
   9227 	  archive_cmds_need_lc=yes
   9228         fi
   9229         allow_undefined_flag=$lt_save_allow_undefined_flag
   9230       else
   9231         cat conftest.err 1>&5
   9232       fi
   9233       $RM conftest*
   9234       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9235 $as_echo "$archive_cmds_need_lc" >&6; }
   9236       ;;
   9237     esac
   9238   fi
   9239   ;;
   9240 esac
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   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   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9399 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9400 
   9401 if test "$GCC" = yes; then
   9402   case $host_os in
   9403     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9404     *) lt_awk_arg="/^libraries:/" ;;
   9405   esac
   9406   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9407   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9408     # if the path contains ";" then we assume it to be the separator
   9409     # otherwise default to the standard path separator (i.e. ":") - it is
   9410     # assumed that no part of a normal pathname contains ";" but that should
   9411     # okay in the real world where ";" in dirpaths is itself problematic.
   9412     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9413   else
   9414     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9415   fi
   9416   # Ok, now we have the path, separated by spaces, we can step through it
   9417   # and add multilib dir if necessary.
   9418   lt_tmp_lt_search_path_spec=
   9419   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9420   for lt_sys_path in $lt_search_path_spec; do
   9421     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9422       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9423     else
   9424       test -d "$lt_sys_path" && \
   9425 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9426     fi
   9427   done
   9428   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9429 BEGIN {RS=" "; FS="/|\n";} {
   9430   lt_foo="";
   9431   lt_count=0;
   9432   for (lt_i = NF; lt_i > 0; lt_i--) {
   9433     if ($lt_i != "" && $lt_i != ".") {
   9434       if ($lt_i == "..") {
   9435         lt_count++;
   9436       } else {
   9437         if (lt_count == 0) {
   9438           lt_foo="/" $lt_i lt_foo;
   9439         } else {
   9440           lt_count--;
   9441         }
   9442       }
   9443     }
   9444   }
   9445   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9446   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9447 }'`
   9448   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9449 else
   9450   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9451 fi
   9452 library_names_spec=
   9453 libname_spec='lib$name'
   9454 soname_spec=
   9455 shrext_cmds=".so"
   9456 postinstall_cmds=
   9457 postuninstall_cmds=
   9458 finish_cmds=
   9459 finish_eval=
   9460 shlibpath_var=
   9461 shlibpath_overrides_runpath=unknown
   9462 version_type=none
   9463 dynamic_linker="$host_os ld.so"
   9464 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9465 need_lib_prefix=unknown
   9466 hardcode_into_libs=no
   9467 
   9468 # when you set need_version to no, make sure it does not cause -set_version
   9469 # flags to be left without arguments
   9470 need_version=unknown
   9471 
   9472 case $host_os in
   9473 aix3*)
   9474   version_type=linux
   9475   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9476   shlibpath_var=LIBPATH
   9477 
   9478   # AIX 3 has no versioning support, so we append a major version to the name.
   9479   soname_spec='${libname}${release}${shared_ext}$major'
   9480   ;;
   9481 
   9482 aix[4-9]*)
   9483   version_type=linux
   9484   need_lib_prefix=no
   9485   need_version=no
   9486   hardcode_into_libs=yes
   9487   if test "$host_cpu" = ia64; then
   9488     # AIX 5 supports IA64
   9489     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9490     shlibpath_var=LD_LIBRARY_PATH
   9491   else
   9492     # With GCC up to 2.95.x, collect2 would create an import file
   9493     # for dependence libraries.  The import file would start with
   9494     # the line `#! .'.  This would cause the generated library to
   9495     # depend on `.', always an invalid library.  This was fixed in
   9496     # development snapshots of GCC prior to 3.0.
   9497     case $host_os in
   9498       aix4 | aix4.[01] | aix4.[01].*)
   9499       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9500 	   echo ' yes '
   9501 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9502 	:
   9503       else
   9504 	can_build_shared=no
   9505       fi
   9506       ;;
   9507     esac
   9508     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9509     # soname into executable. Probably we can add versioning support to
   9510     # collect2, so additional links can be useful in future.
   9511     if test "$aix_use_runtimelinking" = yes; then
   9512       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9513       # instead of lib<name>.a to let people know that these are not
   9514       # typical AIX shared libraries.
   9515       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9516     else
   9517       # We preserve .a as extension for shared libraries through AIX4.2
   9518       # and later when we are not doing run time linking.
   9519       library_names_spec='${libname}${release}.a $libname.a'
   9520       soname_spec='${libname}${release}${shared_ext}$major'
   9521     fi
   9522     shlibpath_var=LIBPATH
   9523   fi
   9524   ;;
   9525 
   9526 amigaos*)
   9527   case $host_cpu in
   9528   powerpc)
   9529     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9530     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9531     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9532     ;;
   9533   m68k)
   9534     library_names_spec='$libname.ixlibrary $libname.a'
   9535     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9536     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'
   9537     ;;
   9538   esac
   9539   ;;
   9540 
   9541 beos*)
   9542   library_names_spec='${libname}${shared_ext}'
   9543   dynamic_linker="$host_os ld.so"
   9544   shlibpath_var=LIBRARY_PATH
   9545   ;;
   9546 
   9547 bsdi[45]*)
   9548   version_type=linux
   9549   need_version=no
   9550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9551   soname_spec='${libname}${release}${shared_ext}$major'
   9552   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9553   shlibpath_var=LD_LIBRARY_PATH
   9554   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9555   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9556   # the default ld.so.conf also contains /usr/contrib/lib and
   9557   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9558   # libtool to hard-code these into programs
   9559   ;;
   9560 
   9561 cygwin* | mingw* | pw32* | cegcc*)
   9562   version_type=windows
   9563   shrext_cmds=".dll"
   9564   need_version=no
   9565   need_lib_prefix=no
   9566 
   9567   case $GCC,$host_os in
   9568   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9569     library_names_spec='$libname.dll.a'
   9570     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9571     postinstall_cmds='base_file=`basename \${file}`~
   9572       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9573       dldir=$destdir/`dirname \$dlpath`~
   9574       test -d \$dldir || mkdir -p \$dldir~
   9575       $install_prog $dir/$dlname \$dldir/$dlname~
   9576       chmod a+x \$dldir/$dlname~
   9577       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9578         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9579       fi'
   9580     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9581       dlpath=$dir/\$dldll~
   9582        $RM \$dlpath'
   9583     shlibpath_overrides_runpath=yes
   9584 
   9585     case $host_os in
   9586     cygwin*)
   9587       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9588       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9589       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9590       ;;
   9591     mingw* | cegcc*)
   9592       # MinGW DLLs use traditional 'lib' prefix
   9593       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9594       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9595       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9596         # It is most probably a Windows format PATH printed by
   9597         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9598         # path with ; separators, and with drive letters. We can handle the
   9599         # drive letters (cygwin fileutils understands them), so leave them,
   9600         # especially as we might pass files found there to a mingw objdump,
   9601         # which wouldn't understand a cygwinified path. Ahh.
   9602         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9603       else
   9604         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9605       fi
   9606       ;;
   9607     pw32*)
   9608       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9609       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9610       ;;
   9611     esac
   9612     ;;
   9613 
   9614   *)
   9615     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9616     ;;
   9617   esac
   9618   dynamic_linker='Win32 ld.exe'
   9619   # FIXME: first we should search . and the directory the executable is in
   9620   shlibpath_var=PATH
   9621   ;;
   9622 
   9623 darwin* | rhapsody*)
   9624   dynamic_linker="$host_os dyld"
   9625   version_type=darwin
   9626   need_lib_prefix=no
   9627   need_version=no
   9628   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9629   soname_spec='${libname}${release}${major}$shared_ext'
   9630   shlibpath_overrides_runpath=yes
   9631   shlibpath_var=DYLD_LIBRARY_PATH
   9632   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9633 
   9634   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9635   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9636   ;;
   9637 
   9638 dgux*)
   9639   version_type=linux
   9640   need_lib_prefix=no
   9641   need_version=no
   9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9643   soname_spec='${libname}${release}${shared_ext}$major'
   9644   shlibpath_var=LD_LIBRARY_PATH
   9645   ;;
   9646 
   9647 freebsd1*)
   9648   dynamic_linker=no
   9649   ;;
   9650 
   9651 freebsd* | dragonfly*)
   9652   # DragonFly does not have aout.  When/if they implement a new
   9653   # versioning mechanism, adjust this.
   9654   if test -x /usr/bin/objformat; then
   9655     objformat=`/usr/bin/objformat`
   9656   else
   9657     case $host_os in
   9658     freebsd[123]*) objformat=aout ;;
   9659     *) objformat=elf ;;
   9660     esac
   9661   fi
   9662   version_type=freebsd-$objformat
   9663   case $version_type in
   9664     freebsd-elf*)
   9665       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9666       need_version=no
   9667       need_lib_prefix=no
   9668       ;;
   9669     freebsd-*)
   9670       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9671       need_version=yes
   9672       ;;
   9673   esac
   9674   shlibpath_var=LD_LIBRARY_PATH
   9675   case $host_os in
   9676   freebsd2*)
   9677     shlibpath_overrides_runpath=yes
   9678     ;;
   9679   freebsd3.[01]* | freebsdelf3.[01]*)
   9680     shlibpath_overrides_runpath=yes
   9681     hardcode_into_libs=yes
   9682     ;;
   9683   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9684   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9685     shlibpath_overrides_runpath=no
   9686     hardcode_into_libs=yes
   9687     ;;
   9688   *) # from 4.6 on, and DragonFly
   9689     shlibpath_overrides_runpath=yes
   9690     hardcode_into_libs=yes
   9691     ;;
   9692   esac
   9693   ;;
   9694 
   9695 gnu*)
   9696   version_type=linux
   9697   need_lib_prefix=no
   9698   need_version=no
   9699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9700   soname_spec='${libname}${release}${shared_ext}$major'
   9701   shlibpath_var=LD_LIBRARY_PATH
   9702   hardcode_into_libs=yes
   9703   ;;
   9704 
   9705 hpux9* | hpux10* | hpux11*)
   9706   # Give a soname corresponding to the major version so that dld.sl refuses to
   9707   # link against other versions.
   9708   version_type=sunos
   9709   need_lib_prefix=no
   9710   need_version=no
   9711   case $host_cpu in
   9712   ia64*)
   9713     shrext_cmds='.so'
   9714     hardcode_into_libs=yes
   9715     dynamic_linker="$host_os dld.so"
   9716     shlibpath_var=LD_LIBRARY_PATH
   9717     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9718     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9719     soname_spec='${libname}${release}${shared_ext}$major'
   9720     if test "X$HPUX_IA64_MODE" = X32; then
   9721       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9722     else
   9723       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9724     fi
   9725     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9726     ;;
   9727   hppa*64*)
   9728     shrext_cmds='.sl'
   9729     hardcode_into_libs=yes
   9730     dynamic_linker="$host_os dld.sl"
   9731     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9732     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9733     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9734     soname_spec='${libname}${release}${shared_ext}$major'
   9735     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9736     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9737     ;;
   9738   *)
   9739     shrext_cmds='.sl'
   9740     dynamic_linker="$host_os dld.sl"
   9741     shlibpath_var=SHLIB_PATH
   9742     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9743     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9744     soname_spec='${libname}${release}${shared_ext}$major'
   9745     ;;
   9746   esac
   9747   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9748   postinstall_cmds='chmod 555 $lib'
   9749   ;;
   9750 
   9751 interix[3-9]*)
   9752   version_type=linux
   9753   need_lib_prefix=no
   9754   need_version=no
   9755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9756   soname_spec='${libname}${release}${shared_ext}$major'
   9757   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9758   shlibpath_var=LD_LIBRARY_PATH
   9759   shlibpath_overrides_runpath=no
   9760   hardcode_into_libs=yes
   9761   ;;
   9762 
   9763 irix5* | irix6* | nonstopux*)
   9764   case $host_os in
   9765     nonstopux*) version_type=nonstopux ;;
   9766     *)
   9767 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9768 		version_type=linux
   9769 	else
   9770 		version_type=irix
   9771 	fi ;;
   9772   esac
   9773   need_lib_prefix=no
   9774   need_version=no
   9775   soname_spec='${libname}${release}${shared_ext}$major'
   9776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9777   case $host_os in
   9778   irix5* | nonstopux*)
   9779     libsuff= shlibsuff=
   9780     ;;
   9781   *)
   9782     case $LD in # libtool.m4 will add one of these switches to LD
   9783     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9784       libsuff= shlibsuff= libmagic=32-bit;;
   9785     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9786       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9787     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9788       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9789     *) libsuff= shlibsuff= libmagic=never-match;;
   9790     esac
   9791     ;;
   9792   esac
   9793   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9794   shlibpath_overrides_runpath=no
   9795   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9796   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9797   hardcode_into_libs=yes
   9798   ;;
   9799 
   9800 # No shared lib support for Linux oldld, aout, or coff.
   9801 linux*oldld* | linux*aout* | linux*coff*)
   9802   dynamic_linker=no
   9803   ;;
   9804 
   9805 # This must be Linux ELF.
   9806 linux* | k*bsd*-gnu)
   9807   version_type=linux
   9808   need_lib_prefix=no
   9809   need_version=no
   9810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9811   soname_spec='${libname}${release}${shared_ext}$major'
   9812   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9813   shlibpath_var=LD_LIBRARY_PATH
   9814   shlibpath_overrides_runpath=no
   9815   # Some binutils ld are patched to set DT_RUNPATH
   9816   save_LDFLAGS=$LDFLAGS
   9817   save_libdir=$libdir
   9818   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9819        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9820   cat >conftest.$ac_ext <<_ACEOF
   9821 /* confdefs.h.  */
   9822 _ACEOF
   9823 cat confdefs.h >>conftest.$ac_ext
   9824 cat >>conftest.$ac_ext <<_ACEOF
   9825 /* end confdefs.h.  */
   9826 
   9827 int
   9828 main ()
   9829 {
   9830 
   9831   ;
   9832   return 0;
   9833 }
   9834 _ACEOF
   9835 rm -f conftest.$ac_objext conftest$ac_exeext
   9836 if { (ac_try="$ac_link"
   9837 case "(($ac_try" in
   9838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9839   *) ac_try_echo=$ac_try;;
   9840 esac
   9841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9842 $as_echo "$ac_try_echo") >&5
   9843   (eval "$ac_link") 2>conftest.er1
   9844   ac_status=$?
   9845   grep -v '^ *+' conftest.er1 >conftest.err
   9846   rm -f conftest.er1
   9847   cat conftest.err >&5
   9848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9849   (exit $ac_status); } && {
   9850 	 test -z "$ac_c_werror_flag" ||
   9851 	 test ! -s conftest.err
   9852        } && test -s conftest$ac_exeext && {
   9853 	 test "$cross_compiling" = yes ||
   9854 	 $as_test_x conftest$ac_exeext
   9855        }; then
   9856   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9857   shlibpath_overrides_runpath=yes
   9858 fi
   9859 
   9860 else
   9861   $as_echo "$as_me: failed program was:" >&5
   9862 sed 's/^/| /' conftest.$ac_ext >&5
   9863 
   9864 
   9865 fi
   9866 
   9867 rm -rf conftest.dSYM
   9868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9869       conftest$ac_exeext conftest.$ac_ext
   9870   LDFLAGS=$save_LDFLAGS
   9871   libdir=$save_libdir
   9872 
   9873   # This implies no fast_install, which is unacceptable.
   9874   # Some rework will be needed to allow for fast_install
   9875   # before this can be enabled.
   9876   hardcode_into_libs=yes
   9877 
   9878   # Add ABI-specific directories to the system library path.
   9879   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9880 
   9881   # Append ld.so.conf contents to the search path
   9882   if test -f /etc/ld.so.conf; then
   9883     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' ' '`
   9884     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9885   fi
   9886 
   9887   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9888   # powerpc, because MkLinux only supported shared libraries with the
   9889   # GNU dynamic linker.  Since this was broken with cross compilers,
   9890   # most powerpc-linux boxes support dynamic linking these days and
   9891   # people can always --disable-shared, the test was removed, and we
   9892   # assume the GNU/Linux dynamic linker is in use.
   9893   dynamic_linker='GNU/Linux ld.so'
   9894   ;;
   9895 
   9896 netbsd*)
   9897   version_type=sunos
   9898   need_lib_prefix=no
   9899   need_version=no
   9900   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9901     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9902     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9903     dynamic_linker='NetBSD (a.out) ld.so'
   9904   else
   9905     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9906     soname_spec='${libname}${release}${shared_ext}$major'
   9907     dynamic_linker='NetBSD ld.elf_so'
   9908   fi
   9909   shlibpath_var=LD_LIBRARY_PATH
   9910   shlibpath_overrides_runpath=yes
   9911   hardcode_into_libs=yes
   9912   ;;
   9913 
   9914 newsos6)
   9915   version_type=linux
   9916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9917   shlibpath_var=LD_LIBRARY_PATH
   9918   shlibpath_overrides_runpath=yes
   9919   ;;
   9920 
   9921 *nto* | *qnx*)
   9922   version_type=qnx
   9923   need_lib_prefix=no
   9924   need_version=no
   9925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9926   soname_spec='${libname}${release}${shared_ext}$major'
   9927   shlibpath_var=LD_LIBRARY_PATH
   9928   shlibpath_overrides_runpath=no
   9929   hardcode_into_libs=yes
   9930   dynamic_linker='ldqnx.so'
   9931   ;;
   9932 
   9933 openbsd*)
   9934   version_type=sunos
   9935   sys_lib_dlsearch_path_spec="/usr/lib"
   9936   need_lib_prefix=no
   9937   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9938   case $host_os in
   9939     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9940     *)				need_version=no  ;;
   9941   esac
   9942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9943   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9944   shlibpath_var=LD_LIBRARY_PATH
   9945   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9946     case $host_os in
   9947       openbsd2.[89] | openbsd2.[89].*)
   9948 	shlibpath_overrides_runpath=no
   9949 	;;
   9950       *)
   9951 	shlibpath_overrides_runpath=yes
   9952 	;;
   9953       esac
   9954   else
   9955     shlibpath_overrides_runpath=yes
   9956   fi
   9957   ;;
   9958 
   9959 os2*)
   9960   libname_spec='$name'
   9961   shrext_cmds=".dll"
   9962   need_lib_prefix=no
   9963   library_names_spec='$libname${shared_ext} $libname.a'
   9964   dynamic_linker='OS/2 ld.exe'
   9965   shlibpath_var=LIBPATH
   9966   ;;
   9967 
   9968 osf3* | osf4* | osf5*)
   9969   version_type=osf
   9970   need_lib_prefix=no
   9971   need_version=no
   9972   soname_spec='${libname}${release}${shared_ext}$major'
   9973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9974   shlibpath_var=LD_LIBRARY_PATH
   9975   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9976   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9977   ;;
   9978 
   9979 rdos*)
   9980   dynamic_linker=no
   9981   ;;
   9982 
   9983 solaris*)
   9984   version_type=linux
   9985   need_lib_prefix=no
   9986   need_version=no
   9987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9988   soname_spec='${libname}${release}${shared_ext}$major'
   9989   shlibpath_var=LD_LIBRARY_PATH
   9990   shlibpath_overrides_runpath=yes
   9991   hardcode_into_libs=yes
   9992   # ldd complains unless libraries are executable
   9993   postinstall_cmds='chmod +x $lib'
   9994   ;;
   9995 
   9996 sunos4*)
   9997   version_type=sunos
   9998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9999   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10000   shlibpath_var=LD_LIBRARY_PATH
   10001   shlibpath_overrides_runpath=yes
   10002   if test "$with_gnu_ld" = yes; then
   10003     need_lib_prefix=no
   10004   fi
   10005   need_version=yes
   10006   ;;
   10007 
   10008 sysv4 | sysv4.3*)
   10009   version_type=linux
   10010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10011   soname_spec='${libname}${release}${shared_ext}$major'
   10012   shlibpath_var=LD_LIBRARY_PATH
   10013   case $host_vendor in
   10014     sni)
   10015       shlibpath_overrides_runpath=no
   10016       need_lib_prefix=no
   10017       runpath_var=LD_RUN_PATH
   10018       ;;
   10019     siemens)
   10020       need_lib_prefix=no
   10021       ;;
   10022     motorola)
   10023       need_lib_prefix=no
   10024       need_version=no
   10025       shlibpath_overrides_runpath=no
   10026       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10027       ;;
   10028   esac
   10029   ;;
   10030 
   10031 sysv4*MP*)
   10032   if test -d /usr/nec ;then
   10033     version_type=linux
   10034     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10035     soname_spec='$libname${shared_ext}.$major'
   10036     shlibpath_var=LD_LIBRARY_PATH
   10037   fi
   10038   ;;
   10039 
   10040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10041   version_type=freebsd-elf
   10042   need_lib_prefix=no
   10043   need_version=no
   10044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10045   soname_spec='${libname}${release}${shared_ext}$major'
   10046   shlibpath_var=LD_LIBRARY_PATH
   10047   shlibpath_overrides_runpath=yes
   10048   hardcode_into_libs=yes
   10049   if test "$with_gnu_ld" = yes; then
   10050     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10051   else
   10052     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10053     case $host_os in
   10054       sco3.2v5*)
   10055         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10056 	;;
   10057     esac
   10058   fi
   10059   sys_lib_dlsearch_path_spec='/usr/lib'
   10060   ;;
   10061 
   10062 tpf*)
   10063   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10064   version_type=linux
   10065   need_lib_prefix=no
   10066   need_version=no
   10067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10068   shlibpath_var=LD_LIBRARY_PATH
   10069   shlibpath_overrides_runpath=no
   10070   hardcode_into_libs=yes
   10071   ;;
   10072 
   10073 uts4*)
   10074   version_type=linux
   10075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10076   soname_spec='${libname}${release}${shared_ext}$major'
   10077   shlibpath_var=LD_LIBRARY_PATH
   10078   ;;
   10079 
   10080 *)
   10081   dynamic_linker=no
   10082   ;;
   10083 esac
   10084 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10085 $as_echo "$dynamic_linker" >&6; }
   10086 test "$dynamic_linker" = no && can_build_shared=no
   10087 
   10088 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10089 if test "$GCC" = yes; then
   10090   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10091 fi
   10092 
   10093 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10094   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10095 fi
   10096 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10097   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10098 fi
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   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   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10187 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10188 hardcode_action=
   10189 if test -n "$hardcode_libdir_flag_spec" ||
   10190    test -n "$runpath_var" ||
   10191    test "X$hardcode_automatic" = "Xyes" ; then
   10192 
   10193   # We can hardcode non-existent directories.
   10194   if test "$hardcode_direct" != no &&
   10195      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10196      # have to relink, otherwise we might link with an installed library
   10197      # when we should be linking with a yet-to-be-installed one
   10198      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10199      test "$hardcode_minus_L" != no; then
   10200     # Linking always hardcodes the temporary library directory.
   10201     hardcode_action=relink
   10202   else
   10203     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10204     hardcode_action=immediate
   10205   fi
   10206 else
   10207   # We cannot hardcode anything, or else we can only hardcode existing
   10208   # directories.
   10209   hardcode_action=unsupported
   10210 fi
   10211 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10212 $as_echo "$hardcode_action" >&6; }
   10213 
   10214 if test "$hardcode_action" = relink ||
   10215    test "$inherit_rpath" = yes; then
   10216   # Fast installation is not supported
   10217   enable_fast_install=no
   10218 elif test "$shlibpath_overrides_runpath" = yes ||
   10219      test "$enable_shared" = no; then
   10220   # Fast installation is not necessary
   10221   enable_fast_install=needless
   10222 fi
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229   if test "x$enable_dlopen" != xyes; then
   10230   enable_dlopen=unknown
   10231   enable_dlopen_self=unknown
   10232   enable_dlopen_self_static=unknown
   10233 else
   10234   lt_cv_dlopen=no
   10235   lt_cv_dlopen_libs=
   10236 
   10237   case $host_os in
   10238   beos*)
   10239     lt_cv_dlopen="load_add_on"
   10240     lt_cv_dlopen_libs=
   10241     lt_cv_dlopen_self=yes
   10242     ;;
   10243 
   10244   mingw* | pw32* | cegcc*)
   10245     lt_cv_dlopen="LoadLibrary"
   10246     lt_cv_dlopen_libs=
   10247     ;;
   10248 
   10249   cygwin*)
   10250     lt_cv_dlopen="dlopen"
   10251     lt_cv_dlopen_libs=
   10252     ;;
   10253 
   10254   darwin*)
   10255   # if libdl is installed we need to link against it
   10256     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10257 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10258 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10259   $as_echo_n "(cached) " >&6
   10260 else
   10261   ac_check_lib_save_LIBS=$LIBS
   10262 LIBS="-ldl  $LIBS"
   10263 cat >conftest.$ac_ext <<_ACEOF
   10264 /* confdefs.h.  */
   10265 _ACEOF
   10266 cat confdefs.h >>conftest.$ac_ext
   10267 cat >>conftest.$ac_ext <<_ACEOF
   10268 /* end confdefs.h.  */
   10269 
   10270 /* Override any GCC internal prototype to avoid an error.
   10271    Use char because int might match the return type of a GCC
   10272    builtin and then its argument prototype would still apply.  */
   10273 #ifdef __cplusplus
   10274 extern "C"
   10275 #endif
   10276 char dlopen ();
   10277 int
   10278 main ()
   10279 {
   10280 return dlopen ();
   10281   ;
   10282   return 0;
   10283 }
   10284 _ACEOF
   10285 rm -f conftest.$ac_objext conftest$ac_exeext
   10286 if { (ac_try="$ac_link"
   10287 case "(($ac_try" in
   10288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10289   *) ac_try_echo=$ac_try;;
   10290 esac
   10291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10292 $as_echo "$ac_try_echo") >&5
   10293   (eval "$ac_link") 2>conftest.er1
   10294   ac_status=$?
   10295   grep -v '^ *+' conftest.er1 >conftest.err
   10296   rm -f conftest.er1
   10297   cat conftest.err >&5
   10298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10299   (exit $ac_status); } && {
   10300 	 test -z "$ac_c_werror_flag" ||
   10301 	 test ! -s conftest.err
   10302        } && test -s conftest$ac_exeext && {
   10303 	 test "$cross_compiling" = yes ||
   10304 	 $as_test_x conftest$ac_exeext
   10305        }; then
   10306   ac_cv_lib_dl_dlopen=yes
   10307 else
   10308   $as_echo "$as_me: failed program was:" >&5
   10309 sed 's/^/| /' conftest.$ac_ext >&5
   10310 
   10311 	ac_cv_lib_dl_dlopen=no
   10312 fi
   10313 
   10314 rm -rf conftest.dSYM
   10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10316       conftest$ac_exeext conftest.$ac_ext
   10317 LIBS=$ac_check_lib_save_LIBS
   10318 fi
   10319 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10320 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10321 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10322   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10323 else
   10324 
   10325     lt_cv_dlopen="dyld"
   10326     lt_cv_dlopen_libs=
   10327     lt_cv_dlopen_self=yes
   10328 
   10329 fi
   10330 
   10331     ;;
   10332 
   10333   *)
   10334     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10335 $as_echo_n "checking for shl_load... " >&6; }
   10336 if test "${ac_cv_func_shl_load+set}" = set; then
   10337   $as_echo_n "(cached) " >&6
   10338 else
   10339   cat >conftest.$ac_ext <<_ACEOF
   10340 /* confdefs.h.  */
   10341 _ACEOF
   10342 cat confdefs.h >>conftest.$ac_ext
   10343 cat >>conftest.$ac_ext <<_ACEOF
   10344 /* end confdefs.h.  */
   10345 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10347 #define shl_load innocuous_shl_load
   10348 
   10349 /* System header to define __stub macros and hopefully few prototypes,
   10350     which can conflict with char shl_load (); below.
   10351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10352     <limits.h> exists even on freestanding compilers.  */
   10353 
   10354 #ifdef __STDC__
   10355 # include <limits.h>
   10356 #else
   10357 # include <assert.h>
   10358 #endif
   10359 
   10360 #undef shl_load
   10361 
   10362 /* Override any GCC internal prototype to avoid an error.
   10363    Use char because int might match the return type of a GCC
   10364    builtin and then its argument prototype would still apply.  */
   10365 #ifdef __cplusplus
   10366 extern "C"
   10367 #endif
   10368 char shl_load ();
   10369 /* The GNU C library defines this for functions which it implements
   10370     to always fail with ENOSYS.  Some functions are actually named
   10371     something starting with __ and the normal name is an alias.  */
   10372 #if defined __stub_shl_load || defined __stub___shl_load
   10373 choke me
   10374 #endif
   10375 
   10376 int
   10377 main ()
   10378 {
   10379 return shl_load ();
   10380   ;
   10381   return 0;
   10382 }
   10383 _ACEOF
   10384 rm -f conftest.$ac_objext conftest$ac_exeext
   10385 if { (ac_try="$ac_link"
   10386 case "(($ac_try" in
   10387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10388   *) ac_try_echo=$ac_try;;
   10389 esac
   10390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10391 $as_echo "$ac_try_echo") >&5
   10392   (eval "$ac_link") 2>conftest.er1
   10393   ac_status=$?
   10394   grep -v '^ *+' conftest.er1 >conftest.err
   10395   rm -f conftest.er1
   10396   cat conftest.err >&5
   10397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10398   (exit $ac_status); } && {
   10399 	 test -z "$ac_c_werror_flag" ||
   10400 	 test ! -s conftest.err
   10401        } && test -s conftest$ac_exeext && {
   10402 	 test "$cross_compiling" = yes ||
   10403 	 $as_test_x conftest$ac_exeext
   10404        }; then
   10405   ac_cv_func_shl_load=yes
   10406 else
   10407   $as_echo "$as_me: failed program was:" >&5
   10408 sed 's/^/| /' conftest.$ac_ext >&5
   10409 
   10410 	ac_cv_func_shl_load=no
   10411 fi
   10412 
   10413 rm -rf conftest.dSYM
   10414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10415       conftest$ac_exeext conftest.$ac_ext
   10416 fi
   10417 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10418 $as_echo "$ac_cv_func_shl_load" >&6; }
   10419 if test "x$ac_cv_func_shl_load" = x""yes; then
   10420   lt_cv_dlopen="shl_load"
   10421 else
   10422   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10423 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10424 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10425   $as_echo_n "(cached) " >&6
   10426 else
   10427   ac_check_lib_save_LIBS=$LIBS
   10428 LIBS="-ldld  $LIBS"
   10429 cat >conftest.$ac_ext <<_ACEOF
   10430 /* confdefs.h.  */
   10431 _ACEOF
   10432 cat confdefs.h >>conftest.$ac_ext
   10433 cat >>conftest.$ac_ext <<_ACEOF
   10434 /* end confdefs.h.  */
   10435 
   10436 /* Override any GCC internal prototype to avoid an error.
   10437    Use char because int might match the return type of a GCC
   10438    builtin and then its argument prototype would still apply.  */
   10439 #ifdef __cplusplus
   10440 extern "C"
   10441 #endif
   10442 char shl_load ();
   10443 int
   10444 main ()
   10445 {
   10446 return shl_load ();
   10447   ;
   10448   return 0;
   10449 }
   10450 _ACEOF
   10451 rm -f conftest.$ac_objext conftest$ac_exeext
   10452 if { (ac_try="$ac_link"
   10453 case "(($ac_try" in
   10454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10455   *) ac_try_echo=$ac_try;;
   10456 esac
   10457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10458 $as_echo "$ac_try_echo") >&5
   10459   (eval "$ac_link") 2>conftest.er1
   10460   ac_status=$?
   10461   grep -v '^ *+' conftest.er1 >conftest.err
   10462   rm -f conftest.er1
   10463   cat conftest.err >&5
   10464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10465   (exit $ac_status); } && {
   10466 	 test -z "$ac_c_werror_flag" ||
   10467 	 test ! -s conftest.err
   10468        } && test -s conftest$ac_exeext && {
   10469 	 test "$cross_compiling" = yes ||
   10470 	 $as_test_x conftest$ac_exeext
   10471        }; then
   10472   ac_cv_lib_dld_shl_load=yes
   10473 else
   10474   $as_echo "$as_me: failed program was:" >&5
   10475 sed 's/^/| /' conftest.$ac_ext >&5
   10476 
   10477 	ac_cv_lib_dld_shl_load=no
   10478 fi
   10479 
   10480 rm -rf conftest.dSYM
   10481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10482       conftest$ac_exeext conftest.$ac_ext
   10483 LIBS=$ac_check_lib_save_LIBS
   10484 fi
   10485 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10487 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10488   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10489 else
   10490   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10491 $as_echo_n "checking for dlopen... " >&6; }
   10492 if test "${ac_cv_func_dlopen+set}" = set; then
   10493   $as_echo_n "(cached) " >&6
   10494 else
   10495   cat >conftest.$ac_ext <<_ACEOF
   10496 /* confdefs.h.  */
   10497 _ACEOF
   10498 cat confdefs.h >>conftest.$ac_ext
   10499 cat >>conftest.$ac_ext <<_ACEOF
   10500 /* end confdefs.h.  */
   10501 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10503 #define dlopen innocuous_dlopen
   10504 
   10505 /* System header to define __stub macros and hopefully few prototypes,
   10506     which can conflict with char dlopen (); below.
   10507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10508     <limits.h> exists even on freestanding compilers.  */
   10509 
   10510 #ifdef __STDC__
   10511 # include <limits.h>
   10512 #else
   10513 # include <assert.h>
   10514 #endif
   10515 
   10516 #undef dlopen
   10517 
   10518 /* Override any GCC internal prototype to avoid an error.
   10519    Use char because int might match the return type of a GCC
   10520    builtin and then its argument prototype would still apply.  */
   10521 #ifdef __cplusplus
   10522 extern "C"
   10523 #endif
   10524 char dlopen ();
   10525 /* The GNU C library defines this for functions which it implements
   10526     to always fail with ENOSYS.  Some functions are actually named
   10527     something starting with __ and the normal name is an alias.  */
   10528 #if defined __stub_dlopen || defined __stub___dlopen
   10529 choke me
   10530 #endif
   10531 
   10532 int
   10533 main ()
   10534 {
   10535 return dlopen ();
   10536   ;
   10537   return 0;
   10538 }
   10539 _ACEOF
   10540 rm -f conftest.$ac_objext conftest$ac_exeext
   10541 if { (ac_try="$ac_link"
   10542 case "(($ac_try" in
   10543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10544   *) ac_try_echo=$ac_try;;
   10545 esac
   10546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10547 $as_echo "$ac_try_echo") >&5
   10548   (eval "$ac_link") 2>conftest.er1
   10549   ac_status=$?
   10550   grep -v '^ *+' conftest.er1 >conftest.err
   10551   rm -f conftest.er1
   10552   cat conftest.err >&5
   10553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10554   (exit $ac_status); } && {
   10555 	 test -z "$ac_c_werror_flag" ||
   10556 	 test ! -s conftest.err
   10557        } && test -s conftest$ac_exeext && {
   10558 	 test "$cross_compiling" = yes ||
   10559 	 $as_test_x conftest$ac_exeext
   10560        }; then
   10561   ac_cv_func_dlopen=yes
   10562 else
   10563   $as_echo "$as_me: failed program was:" >&5
   10564 sed 's/^/| /' conftest.$ac_ext >&5
   10565 
   10566 	ac_cv_func_dlopen=no
   10567 fi
   10568 
   10569 rm -rf conftest.dSYM
   10570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10571       conftest$ac_exeext conftest.$ac_ext
   10572 fi
   10573 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10574 $as_echo "$ac_cv_func_dlopen" >&6; }
   10575 if test "x$ac_cv_func_dlopen" = x""yes; then
   10576   lt_cv_dlopen="dlopen"
   10577 else
   10578   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10579 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10580 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10581   $as_echo_n "(cached) " >&6
   10582 else
   10583   ac_check_lib_save_LIBS=$LIBS
   10584 LIBS="-ldl  $LIBS"
   10585 cat >conftest.$ac_ext <<_ACEOF
   10586 /* confdefs.h.  */
   10587 _ACEOF
   10588 cat confdefs.h >>conftest.$ac_ext
   10589 cat >>conftest.$ac_ext <<_ACEOF
   10590 /* end confdefs.h.  */
   10591 
   10592 /* Override any GCC internal prototype to avoid an error.
   10593    Use char because int might match the return type of a GCC
   10594    builtin and then its argument prototype would still apply.  */
   10595 #ifdef __cplusplus
   10596 extern "C"
   10597 #endif
   10598 char dlopen ();
   10599 int
   10600 main ()
   10601 {
   10602 return dlopen ();
   10603   ;
   10604   return 0;
   10605 }
   10606 _ACEOF
   10607 rm -f conftest.$ac_objext conftest$ac_exeext
   10608 if { (ac_try="$ac_link"
   10609 case "(($ac_try" in
   10610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10611   *) ac_try_echo=$ac_try;;
   10612 esac
   10613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10614 $as_echo "$ac_try_echo") >&5
   10615   (eval "$ac_link") 2>conftest.er1
   10616   ac_status=$?
   10617   grep -v '^ *+' conftest.er1 >conftest.err
   10618   rm -f conftest.er1
   10619   cat conftest.err >&5
   10620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10621   (exit $ac_status); } && {
   10622 	 test -z "$ac_c_werror_flag" ||
   10623 	 test ! -s conftest.err
   10624        } && test -s conftest$ac_exeext && {
   10625 	 test "$cross_compiling" = yes ||
   10626 	 $as_test_x conftest$ac_exeext
   10627        }; then
   10628   ac_cv_lib_dl_dlopen=yes
   10629 else
   10630   $as_echo "$as_me: failed program was:" >&5
   10631 sed 's/^/| /' conftest.$ac_ext >&5
   10632 
   10633 	ac_cv_lib_dl_dlopen=no
   10634 fi
   10635 
   10636 rm -rf conftest.dSYM
   10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10638       conftest$ac_exeext conftest.$ac_ext
   10639 LIBS=$ac_check_lib_save_LIBS
   10640 fi
   10641 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10642 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10643 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10644   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10645 else
   10646   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10647 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10648 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10649   $as_echo_n "(cached) " >&6
   10650 else
   10651   ac_check_lib_save_LIBS=$LIBS
   10652 LIBS="-lsvld  $LIBS"
   10653 cat >conftest.$ac_ext <<_ACEOF
   10654 /* confdefs.h.  */
   10655 _ACEOF
   10656 cat confdefs.h >>conftest.$ac_ext
   10657 cat >>conftest.$ac_ext <<_ACEOF
   10658 /* end confdefs.h.  */
   10659 
   10660 /* Override any GCC internal prototype to avoid an error.
   10661    Use char because int might match the return type of a GCC
   10662    builtin and then its argument prototype would still apply.  */
   10663 #ifdef __cplusplus
   10664 extern "C"
   10665 #endif
   10666 char dlopen ();
   10667 int
   10668 main ()
   10669 {
   10670 return dlopen ();
   10671   ;
   10672   return 0;
   10673 }
   10674 _ACEOF
   10675 rm -f conftest.$ac_objext conftest$ac_exeext
   10676 if { (ac_try="$ac_link"
   10677 case "(($ac_try" in
   10678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10679   *) ac_try_echo=$ac_try;;
   10680 esac
   10681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10682 $as_echo "$ac_try_echo") >&5
   10683   (eval "$ac_link") 2>conftest.er1
   10684   ac_status=$?
   10685   grep -v '^ *+' conftest.er1 >conftest.err
   10686   rm -f conftest.er1
   10687   cat conftest.err >&5
   10688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10689   (exit $ac_status); } && {
   10690 	 test -z "$ac_c_werror_flag" ||
   10691 	 test ! -s conftest.err
   10692        } && test -s conftest$ac_exeext && {
   10693 	 test "$cross_compiling" = yes ||
   10694 	 $as_test_x conftest$ac_exeext
   10695        }; then
   10696   ac_cv_lib_svld_dlopen=yes
   10697 else
   10698   $as_echo "$as_me: failed program was:" >&5
   10699 sed 's/^/| /' conftest.$ac_ext >&5
   10700 
   10701 	ac_cv_lib_svld_dlopen=no
   10702 fi
   10703 
   10704 rm -rf conftest.dSYM
   10705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10706       conftest$ac_exeext conftest.$ac_ext
   10707 LIBS=$ac_check_lib_save_LIBS
   10708 fi
   10709 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10710 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10711 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10712   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10713 else
   10714   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10715 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10716 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10717   $as_echo_n "(cached) " >&6
   10718 else
   10719   ac_check_lib_save_LIBS=$LIBS
   10720 LIBS="-ldld  $LIBS"
   10721 cat >conftest.$ac_ext <<_ACEOF
   10722 /* confdefs.h.  */
   10723 _ACEOF
   10724 cat confdefs.h >>conftest.$ac_ext
   10725 cat >>conftest.$ac_ext <<_ACEOF
   10726 /* end confdefs.h.  */
   10727 
   10728 /* Override any GCC internal prototype to avoid an error.
   10729    Use char because int might match the return type of a GCC
   10730    builtin and then its argument prototype would still apply.  */
   10731 #ifdef __cplusplus
   10732 extern "C"
   10733 #endif
   10734 char dld_link ();
   10735 int
   10736 main ()
   10737 {
   10738 return dld_link ();
   10739   ;
   10740   return 0;
   10741 }
   10742 _ACEOF
   10743 rm -f conftest.$ac_objext conftest$ac_exeext
   10744 if { (ac_try="$ac_link"
   10745 case "(($ac_try" in
   10746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10747   *) ac_try_echo=$ac_try;;
   10748 esac
   10749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10750 $as_echo "$ac_try_echo") >&5
   10751   (eval "$ac_link") 2>conftest.er1
   10752   ac_status=$?
   10753   grep -v '^ *+' conftest.er1 >conftest.err
   10754   rm -f conftest.er1
   10755   cat conftest.err >&5
   10756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10757   (exit $ac_status); } && {
   10758 	 test -z "$ac_c_werror_flag" ||
   10759 	 test ! -s conftest.err
   10760        } && test -s conftest$ac_exeext && {
   10761 	 test "$cross_compiling" = yes ||
   10762 	 $as_test_x conftest$ac_exeext
   10763        }; then
   10764   ac_cv_lib_dld_dld_link=yes
   10765 else
   10766   $as_echo "$as_me: failed program was:" >&5
   10767 sed 's/^/| /' conftest.$ac_ext >&5
   10768 
   10769 	ac_cv_lib_dld_dld_link=no
   10770 fi
   10771 
   10772 rm -rf conftest.dSYM
   10773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10774       conftest$ac_exeext conftest.$ac_ext
   10775 LIBS=$ac_check_lib_save_LIBS
   10776 fi
   10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10778 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10779 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10780   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10781 fi
   10782 
   10783 
   10784 fi
   10785 
   10786 
   10787 fi
   10788 
   10789 
   10790 fi
   10791 
   10792 
   10793 fi
   10794 
   10795 
   10796 fi
   10797 
   10798     ;;
   10799   esac
   10800 
   10801   if test "x$lt_cv_dlopen" != xno; then
   10802     enable_dlopen=yes
   10803   else
   10804     enable_dlopen=no
   10805   fi
   10806 
   10807   case $lt_cv_dlopen in
   10808   dlopen)
   10809     save_CPPFLAGS="$CPPFLAGS"
   10810     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10811 
   10812     save_LDFLAGS="$LDFLAGS"
   10813     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10814 
   10815     save_LIBS="$LIBS"
   10816     LIBS="$lt_cv_dlopen_libs $LIBS"
   10817 
   10818     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10819 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10820 if test "${lt_cv_dlopen_self+set}" = set; then
   10821   $as_echo_n "(cached) " >&6
   10822 else
   10823   	  if test "$cross_compiling" = yes; then :
   10824   lt_cv_dlopen_self=cross
   10825 else
   10826   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10827   lt_status=$lt_dlunknown
   10828   cat > conftest.$ac_ext <<_LT_EOF
   10829 #line 10829 "configure"
   10830 #include "confdefs.h"
   10831 
   10832 #if HAVE_DLFCN_H
   10833 #include <dlfcn.h>
   10834 #endif
   10835 
   10836 #include <stdio.h>
   10837 
   10838 #ifdef RTLD_GLOBAL
   10839 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10840 #else
   10841 #  ifdef DL_GLOBAL
   10842 #    define LT_DLGLOBAL		DL_GLOBAL
   10843 #  else
   10844 #    define LT_DLGLOBAL		0
   10845 #  endif
   10846 #endif
   10847 
   10848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10849    find out it does not work in some platform. */
   10850 #ifndef LT_DLLAZY_OR_NOW
   10851 #  ifdef RTLD_LAZY
   10852 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10853 #  else
   10854 #    ifdef DL_LAZY
   10855 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10856 #    else
   10857 #      ifdef RTLD_NOW
   10858 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10859 #      else
   10860 #        ifdef DL_NOW
   10861 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10862 #        else
   10863 #          define LT_DLLAZY_OR_NOW	0
   10864 #        endif
   10865 #      endif
   10866 #    endif
   10867 #  endif
   10868 #endif
   10869 
   10870 void fnord() { int i=42;}
   10871 int main ()
   10872 {
   10873   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10874   int status = $lt_dlunknown;
   10875 
   10876   if (self)
   10877     {
   10878       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10879       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10880       /* dlclose (self); */
   10881     }
   10882   else
   10883     puts (dlerror ());
   10884 
   10885   return status;
   10886 }
   10887 _LT_EOF
   10888   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10889   (eval $ac_link) 2>&5
   10890   ac_status=$?
   10891   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10892   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10893     (./conftest; exit; ) >&5 2>/dev/null
   10894     lt_status=$?
   10895     case x$lt_status in
   10896       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10897       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10898       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10899     esac
   10900   else :
   10901     # compilation failed
   10902     lt_cv_dlopen_self=no
   10903   fi
   10904 fi
   10905 rm -fr conftest*
   10906 
   10907 
   10908 fi
   10909 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10910 $as_echo "$lt_cv_dlopen_self" >&6; }
   10911 
   10912     if test "x$lt_cv_dlopen_self" = xyes; then
   10913       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10914       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10915 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10916 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10917   $as_echo_n "(cached) " >&6
   10918 else
   10919   	  if test "$cross_compiling" = yes; then :
   10920   lt_cv_dlopen_self_static=cross
   10921 else
   10922   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10923   lt_status=$lt_dlunknown
   10924   cat > conftest.$ac_ext <<_LT_EOF
   10925 #line 10925 "configure"
   10926 #include "confdefs.h"
   10927 
   10928 #if HAVE_DLFCN_H
   10929 #include <dlfcn.h>
   10930 #endif
   10931 
   10932 #include <stdio.h>
   10933 
   10934 #ifdef RTLD_GLOBAL
   10935 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10936 #else
   10937 #  ifdef DL_GLOBAL
   10938 #    define LT_DLGLOBAL		DL_GLOBAL
   10939 #  else
   10940 #    define LT_DLGLOBAL		0
   10941 #  endif
   10942 #endif
   10943 
   10944 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10945    find out it does not work in some platform. */
   10946 #ifndef LT_DLLAZY_OR_NOW
   10947 #  ifdef RTLD_LAZY
   10948 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10949 #  else
   10950 #    ifdef DL_LAZY
   10951 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10952 #    else
   10953 #      ifdef RTLD_NOW
   10954 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10955 #      else
   10956 #        ifdef DL_NOW
   10957 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10958 #        else
   10959 #          define LT_DLLAZY_OR_NOW	0
   10960 #        endif
   10961 #      endif
   10962 #    endif
   10963 #  endif
   10964 #endif
   10965 
   10966 void fnord() { int i=42;}
   10967 int main ()
   10968 {
   10969   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10970   int status = $lt_dlunknown;
   10971 
   10972   if (self)
   10973     {
   10974       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10975       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10976       /* dlclose (self); */
   10977     }
   10978   else
   10979     puts (dlerror ());
   10980 
   10981   return status;
   10982 }
   10983 _LT_EOF
   10984   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10985   (eval $ac_link) 2>&5
   10986   ac_status=$?
   10987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10988   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10989     (./conftest; exit; ) >&5 2>/dev/null
   10990     lt_status=$?
   10991     case x$lt_status in
   10992       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10993       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10994       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10995     esac
   10996   else :
   10997     # compilation failed
   10998     lt_cv_dlopen_self_static=no
   10999   fi
   11000 fi
   11001 rm -fr conftest*
   11002 
   11003 
   11004 fi
   11005 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11006 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11007     fi
   11008 
   11009     CPPFLAGS="$save_CPPFLAGS"
   11010     LDFLAGS="$save_LDFLAGS"
   11011     LIBS="$save_LIBS"
   11012     ;;
   11013   esac
   11014 
   11015   case $lt_cv_dlopen_self in
   11016   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11017   *) enable_dlopen_self=unknown ;;
   11018   esac
   11019 
   11020   case $lt_cv_dlopen_self_static in
   11021   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11022   *) enable_dlopen_self_static=unknown ;;
   11023   esac
   11024 fi
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 striplib=
   11043 old_striplib=
   11044 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11045 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11046 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11047   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11048   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11049   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11050 $as_echo "yes" >&6; }
   11051 else
   11052 # FIXME - insert some real tests, host_os isn't really good enough
   11053   case $host_os in
   11054   darwin*)
   11055     if test -n "$STRIP" ; then
   11056       striplib="$STRIP -x"
   11057       old_striplib="$STRIP -S"
   11058       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11059 $as_echo "yes" >&6; }
   11060     else
   11061       { $as_echo "$as_me:$LINENO: result: no" >&5
   11062 $as_echo "no" >&6; }
   11063     fi
   11064     ;;
   11065   *)
   11066     { $as_echo "$as_me:$LINENO: result: no" >&5
   11067 $as_echo "no" >&6; }
   11068     ;;
   11069   esac
   11070 fi
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083   # Report which library types will actually be built
   11084   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11085 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11086   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11087 $as_echo "$can_build_shared" >&6; }
   11088 
   11089   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11090 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11091   test "$can_build_shared" = "no" && enable_shared=no
   11092 
   11093   # On AIX, shared libraries and static libraries use the same namespace, and
   11094   # are all built from PIC.
   11095   case $host_os in
   11096   aix3*)
   11097     test "$enable_shared" = yes && enable_static=no
   11098     if test -n "$RANLIB"; then
   11099       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11100       postinstall_cmds='$RANLIB $lib'
   11101     fi
   11102     ;;
   11103 
   11104   aix[4-9]*)
   11105     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11106       test "$enable_shared" = yes && enable_static=no
   11107     fi
   11108     ;;
   11109   esac
   11110   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11111 $as_echo "$enable_shared" >&6; }
   11112 
   11113   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11114 $as_echo_n "checking whether to build static libraries... " >&6; }
   11115   # Make sure either enable_shared or enable_static is yes.
   11116   test "$enable_shared" = yes || enable_static=yes
   11117   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11118 $as_echo "$enable_static" >&6; }
   11119 
   11120 
   11121 
   11122 
   11123 fi
   11124 ac_ext=c
   11125 ac_cpp='$CPP $CPPFLAGS'
   11126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11129 
   11130 CC="$lt_save_CC"
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144         ac_config_commands="$ac_config_commands libtool"
   11145 
   11146 
   11147 
   11148 
   11149 # Only expand once:
   11150 
   11151 
   11152 
   11153 
   11154 if  test "x$GCC" = xyes ; then
   11155     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11156 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11157 -Wbad-function-cast"
   11158     case `$CC -dumpversion` in
   11159     3.4.* | 4.*)
   11160 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11161 	;;
   11162     esac
   11163 else
   11164     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11165 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11166 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11167   $as_echo_n "(cached) " >&6
   11168 else
   11169   cat >conftest.$ac_ext <<_ACEOF
   11170 /* confdefs.h.  */
   11171 _ACEOF
   11172 cat confdefs.h >>conftest.$ac_ext
   11173 cat >>conftest.$ac_ext <<_ACEOF
   11174 /* end confdefs.h.  */
   11175 $ac_includes_default
   11176 int
   11177 main ()
   11178 {
   11179 #ifndef __SUNPRO_C
   11180   (void) __SUNPRO_C;
   11181 #endif
   11182 
   11183   ;
   11184   return 0;
   11185 }
   11186 _ACEOF
   11187 rm -f conftest.$ac_objext
   11188 if { (ac_try="$ac_compile"
   11189 case "(($ac_try" in
   11190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11191   *) ac_try_echo=$ac_try;;
   11192 esac
   11193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11194 $as_echo "$ac_try_echo") >&5
   11195   (eval "$ac_compile") 2>conftest.er1
   11196   ac_status=$?
   11197   grep -v '^ *+' conftest.er1 >conftest.err
   11198   rm -f conftest.er1
   11199   cat conftest.err >&5
   11200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11201   (exit $ac_status); } && {
   11202 	 test -z "$ac_c_werror_flag" ||
   11203 	 test ! -s conftest.err
   11204        } && test -s conftest.$ac_objext; then
   11205   ac_cv_have_decl___SUNPRO_C=yes
   11206 else
   11207   $as_echo "$as_me: failed program was:" >&5
   11208 sed 's/^/| /' conftest.$ac_ext >&5
   11209 
   11210 	ac_cv_have_decl___SUNPRO_C=no
   11211 fi
   11212 
   11213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11214 fi
   11215 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11216 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11217 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11218   SUNCC="yes"
   11219 else
   11220   SUNCC="no"
   11221 fi
   11222 
   11223     if test "x$SUNCC" = "xyes"; then
   11224 	CWARNFLAGS="-v"
   11225     fi
   11226 fi
   11227 
   11228 # Check whether --enable-silent-rules was given.
   11229 if test "${enable_silent_rules+set}" = set; then
   11230   enableval=$enable_silent_rules;
   11231 fi
   11232 
   11233 case $enable_silent_rules in
   11234 yes) AM_DEFAULT_VERBOSITY=0;;
   11235 no)  AM_DEFAULT_VERBOSITY=1;;
   11236 *)   AM_DEFAULT_VERBOSITY=0;;
   11237 esac
   11238 AM_BACKSLASH='\'
   11239 
   11240 
   11241 
   11242 
   11243 # Check whether --with-icondir was given.
   11244 if test "${with_icondir+set}" = set; then
   11245   withval=$with_icondir; ICONDIR="$withval"
   11246 else
   11247   ICONDIR=${datadir}/icons
   11248 fi
   11249 
   11250 
   11251 
   11252 DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps"
   11253 if test "x${ICONDIR}" != "x${datadir}/icons"; then
   11254 	DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}"
   11255 fi
   11256 
   11257 # Check whether --with-cursorpath was given.
   11258 if test "${with_cursorpath+set}" = set; then
   11259   withval=$with_cursorpath; XCURSORPATH="$withval"
   11260 else
   11261   XCURSORPATH=$DEF_CURSORPATH
   11262 fi
   11263 
   11264 
   11265 
   11266 # Reformat cursor path for man page
   11267 XCURSORPATH_LIST=`echo $XCURSORPATH | sed 's/:/, /g'`
   11268 
   11269 
   11270 # Check for X
   11271 
   11272 
   11273 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11274 	if test -n "$ac_tool_prefix"; then
   11275   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11276 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11278 $as_echo_n "checking for $ac_word... " >&6; }
   11279 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   11280   $as_echo_n "(cached) " >&6
   11281 else
   11282   case $PKG_CONFIG in
   11283   [\\/]* | ?:[\\/]*)
   11284   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11285   ;;
   11286   *)
   11287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11288 for as_dir in $PATH
   11289 do
   11290   IFS=$as_save_IFS
   11291   test -z "$as_dir" && as_dir=.
   11292   for ac_exec_ext in '' $ac_executable_extensions; do
   11293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11294     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11295     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11296     break 2
   11297   fi
   11298 done
   11299 done
   11300 IFS=$as_save_IFS
   11301 
   11302   ;;
   11303 esac
   11304 fi
   11305 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11306 if test -n "$PKG_CONFIG"; then
   11307   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   11308 $as_echo "$PKG_CONFIG" >&6; }
   11309 else
   11310   { $as_echo "$as_me:$LINENO: result: no" >&5
   11311 $as_echo "no" >&6; }
   11312 fi
   11313 
   11314 
   11315 fi
   11316 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11317   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11318   # Extract the first word of "pkg-config", so it can be a program name with args.
   11319 set dummy pkg-config; ac_word=$2
   11320 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11321 $as_echo_n "checking for $ac_word... " >&6; }
   11322 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   11323   $as_echo_n "(cached) " >&6
   11324 else
   11325   case $ac_pt_PKG_CONFIG in
   11326   [\\/]* | ?:[\\/]*)
   11327   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11328   ;;
   11329   *)
   11330   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11331 for as_dir in $PATH
   11332 do
   11333   IFS=$as_save_IFS
   11334   test -z "$as_dir" && as_dir=.
   11335   for ac_exec_ext in '' $ac_executable_extensions; do
   11336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11337     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11338     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11339     break 2
   11340   fi
   11341 done
   11342 done
   11343 IFS=$as_save_IFS
   11344 
   11345   ;;
   11346 esac
   11347 fi
   11348 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11349 if test -n "$ac_pt_PKG_CONFIG"; then
   11350   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   11351 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11352 else
   11353   { $as_echo "$as_me:$LINENO: result: no" >&5
   11354 $as_echo "no" >&6; }
   11355 fi
   11356 
   11357   if test "x$ac_pt_PKG_CONFIG" = x; then
   11358     PKG_CONFIG=""
   11359   else
   11360     case $cross_compiling:$ac_tool_warned in
   11361 yes:)
   11362 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11364 ac_tool_warned=yes ;;
   11365 esac
   11366     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11367   fi
   11368 else
   11369   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11370 fi
   11371 
   11372 fi
   11373 if test -n "$PKG_CONFIG"; then
   11374 	_pkg_min_version=0.9.0
   11375 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   11376 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11377 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11378 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   11379 $as_echo "yes" >&6; }
   11380 	else
   11381 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   11382 $as_echo "no" >&6; }
   11383 		PKG_CONFIG=""
   11384 	fi
   11385 
   11386 fi
   11387 
   11388 pkg_failed=no
   11389 { $as_echo "$as_me:$LINENO: checking for XCURSOR" >&5
   11390 $as_echo_n "checking for XCURSOR... " >&6; }
   11391 
   11392 if test -n "$XCURSOR_CFLAGS"; then
   11393     pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS"
   11394  elif test -n "$PKG_CONFIG"; then
   11395     if test -n "$PKG_CONFIG" && \
   11396     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\"") >&5
   11397   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   11398   ac_status=$?
   11399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11400   (exit $ac_status); }; then
   11401   pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   11402 else
   11403   pkg_failed=yes
   11404 fi
   11405  else
   11406     pkg_failed=untried
   11407 fi
   11408 if test -n "$XCURSOR_LIBS"; then
   11409     pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS"
   11410  elif test -n "$PKG_CONFIG"; then
   11411     if test -n "$PKG_CONFIG" && \
   11412     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\"") >&5
   11413   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   11414   ac_status=$?
   11415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11416   (exit $ac_status); }; then
   11417   pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   11418 else
   11419   pkg_failed=yes
   11420 fi
   11421  else
   11422     pkg_failed=untried
   11423 fi
   11424 
   11425 
   11426 
   11427 if test $pkg_failed = yes; then
   11428 
   11429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11430         _pkg_short_errors_supported=yes
   11431 else
   11432         _pkg_short_errors_supported=no
   11433 fi
   11434         if test $_pkg_short_errors_supported = yes; then
   11435 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   11436         else
   11437 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   11438         fi
   11439 	# Put the nasty error message in config.log where it belongs
   11440 	echo "$XCURSOR_PKG_ERRORS" >&5
   11441 
   11442 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   11443 
   11444 $XCURSOR_PKG_ERRORS
   11445 
   11446 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11447 installed software in a non-standard prefix.
   11448 
   11449 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11450 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11451 See the pkg-config man page for more details.
   11452 " >&5
   11453 $as_echo "$as_me: error: Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   11454 
   11455 $XCURSOR_PKG_ERRORS
   11456 
   11457 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11458 installed software in a non-standard prefix.
   11459 
   11460 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11461 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11462 See the pkg-config man page for more details.
   11463 " >&2;}
   11464    { (exit 1); exit 1; }; }
   11465 elif test $pkg_failed = untried; then
   11466 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11468 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   11469 is in your PATH or set the PKG_CONFIG environment variable to the full
   11470 path to pkg-config.
   11471 
   11472 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11473 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11474 See the pkg-config man page for more details.
   11475 
   11476 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11477 See \`config.log' for more details." >&5
   11478 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   11479 is in your PATH or set the PKG_CONFIG environment variable to the full
   11480 path to pkg-config.
   11481 
   11482 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11483 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11484 See the pkg-config man page for more details.
   11485 
   11486 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11487 See \`config.log' for more details." >&2;}
   11488    { (exit 1); exit 1; }; }; }
   11489 else
   11490 	XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS
   11491 	XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS
   11492         { $as_echo "$as_me:$LINENO: result: yes" >&5
   11493 $as_echo "yes" >&6; }
   11494 	:
   11495 fi
   11496 
   11497 cat >>confdefs.h <<\_ACEOF
   11498 #define HAVE_XFIXES 1
   11499 _ACEOF
   11500 
   11501 XCURSOR_CFLAGS="$CWARNFLAGS $XCURSOR_CFLAGS"
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 if test x$APP_MAN_SUFFIX = x    ; then
   11509     APP_MAN_SUFFIX=1
   11510 fi
   11511 if test x$APP_MAN_DIR = x    ; then
   11512     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11513 fi
   11514 
   11515 if test x$LIB_MAN_SUFFIX = x    ; then
   11516     LIB_MAN_SUFFIX=3
   11517 fi
   11518 if test x$LIB_MAN_DIR = x    ; then
   11519     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11520 fi
   11521 
   11522 if test x$FILE_MAN_SUFFIX = x    ; then
   11523     case $host_os in
   11524 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11525 	*)		FILE_MAN_SUFFIX=5  ;;
   11526     esac
   11527 fi
   11528 if test x$FILE_MAN_DIR = x    ; then
   11529     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11530 fi
   11531 
   11532 if test x$MISC_MAN_SUFFIX = x    ; then
   11533     case $host_os in
   11534 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11535 	*)		MISC_MAN_SUFFIX=7  ;;
   11536     esac
   11537 fi
   11538 if test x$MISC_MAN_DIR = x    ; then
   11539     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11540 fi
   11541 
   11542 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11543     case $host_os in
   11544 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11545 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11546     esac
   11547 fi
   11548 if test x$DRIVER_MAN_DIR = x    ; then
   11549     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11550 fi
   11551 
   11552 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11553     case $host_os in
   11554 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11555 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11556     esac
   11557 fi
   11558 if test x$ADMIN_MAN_DIR = x    ; then
   11559     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11560 fi
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 # Check whether --with-release-version was given.
   11579 if test "${with_release_version+set}" = set; then
   11580   withval=$with_release_version; RELEASE_VERSION="$withval"
   11581 else
   11582   RELEASE_VERSION=""
   11583 fi
   11584 
   11585 	if test "x$RELEASE_VERSION" != "x"; then
   11586 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   11587 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   11588 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   11589 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   11590 	fi
   11591 
   11592 cat >>confdefs.h <<_ACEOF
   11593 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11594 _ACEOF
   11595 
   11596 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11597 	if test "x$PVM" = "x"; then
   11598 		PVM="0"
   11599 	fi
   11600 
   11601 cat >>confdefs.h <<_ACEOF
   11602 #define PACKAGE_VERSION_MINOR $PVM
   11603 _ACEOF
   11604 
   11605 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11606 	if test "x$PVP" = "x"; then
   11607 		PVP="0"
   11608 	fi
   11609 
   11610 cat >>confdefs.h <<_ACEOF
   11611 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11612 _ACEOF
   11613 
   11614 
   11615 
   11616 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   11617 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   11618 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11619 
   11620 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 # Allow checking code with lint, sparse, etc.
   11627 
   11628 # Check whether --with-lint was given.
   11629 if test "${with_lint+set}" = set; then
   11630   withval=$with_lint; use_lint=$withval
   11631 else
   11632   use_lint=no
   11633 fi
   11634 
   11635 if test "x$use_lint" = "xyes" ; then
   11636 	LINT="lint"
   11637 else
   11638 	LINT="$use_lint"
   11639 fi
   11640 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   11641     case $LINT in
   11642 	lint|*/lint)
   11643 	    case $host_os in
   11644 		solaris*)
   11645 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11646 			;;
   11647 	    esac
   11648 	    ;;
   11649     esac
   11650 fi
   11651 
   11652 
   11653 
   11654  if test x$LINT != xno; then
   11655   LINT_TRUE=
   11656   LINT_FALSE='#'
   11657 else
   11658   LINT_TRUE='#'
   11659   LINT_FALSE=
   11660 fi
   11661 
   11662 
   11663 
   11664 
   11665 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc"
   11666 
   11667 cat >confcache <<\_ACEOF
   11668 # This file is a shell script that caches the results of configure
   11669 # tests run on this system so they can be shared between configure
   11670 # scripts and configure runs, see configure's option --config-cache.
   11671 # It is not useful on other systems.  If it contains results you don't
   11672 # want to keep, you may remove or edit it.
   11673 #
   11674 # config.status only pays attention to the cache file if you give it
   11675 # the --recheck option to rerun configure.
   11676 #
   11677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11679 # following values.
   11680 
   11681 _ACEOF
   11682 
   11683 # The following way of writing the cache mishandles newlines in values,
   11684 # but we know of no workaround that is simple, portable, and efficient.
   11685 # So, we kill variables containing newlines.
   11686 # Ultrix sh set writes to stderr and can't be redirected directly,
   11687 # and sets the high bit in the cache file unless we assign to the vars.
   11688 (
   11689   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11690     eval ac_val=\$$ac_var
   11691     case $ac_val in #(
   11692     *${as_nl}*)
   11693       case $ac_var in #(
   11694       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   11695 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11696       esac
   11697       case $ac_var in #(
   11698       _ | IFS | as_nl) ;; #(
   11699       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11700       *) $as_unset $ac_var ;;
   11701       esac ;;
   11702     esac
   11703   done
   11704 
   11705   (set) 2>&1 |
   11706     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11707     *${as_nl}ac_space=\ *)
   11708       # `set' does not quote correctly, so add quotes (double-quote
   11709       # substitution turns \\\\ into \\, and sed turns \\ into \).
   11710       sed -n \
   11711 	"s/'/'\\\\''/g;
   11712 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11713       ;; #(
   11714     *)
   11715       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11716       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11717       ;;
   11718     esac |
   11719     sort
   11720 ) |
   11721   sed '
   11722      /^ac_cv_env_/b end
   11723      t clear
   11724      :clear
   11725      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11726      t end
   11727      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11728      :end' >>confcache
   11729 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11730   if test -w "$cache_file"; then
   11731     test "x$cache_file" != "x/dev/null" &&
   11732       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   11733 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11734     cat confcache >$cache_file
   11735   else
   11736     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   11737 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11738   fi
   11739 fi
   11740 rm -f confcache
   11741 
   11742 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11743 # Let make expand exec_prefix.
   11744 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11745 
   11746 DEFS=-DHAVE_CONFIG_H
   11747 
   11748 ac_libobjs=
   11749 ac_ltlibobjs=
   11750 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11751   # 1. Remove the extension, and $U if already installed.
   11752   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11753   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11754   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11755   #    will be set to the directory where LIBOBJS objects are built.
   11756   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11757   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   11758 done
   11759 LIBOBJS=$ac_libobjs
   11760 
   11761 LTLIBOBJS=$ac_ltlibobjs
   11762 
   11763 
   11764  if test -n "$EXEEXT"; then
   11765   am__EXEEXT_TRUE=
   11766   am__EXEEXT_FALSE='#'
   11767 else
   11768   am__EXEEXT_TRUE='#'
   11769   am__EXEEXT_FALSE=
   11770 fi
   11771 
   11772 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11773   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   11774 Usually this means the macro was only invoked conditionally." >&5
   11775 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   11776 Usually this means the macro was only invoked conditionally." >&2;}
   11777    { (exit 1); exit 1; }; }
   11778 fi
   11779 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11780   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   11781 Usually this means the macro was only invoked conditionally." >&5
   11782 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   11783 Usually this means the macro was only invoked conditionally." >&2;}
   11784    { (exit 1); exit 1; }; }
   11785 fi
   11786 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11787   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   11788 Usually this means the macro was only invoked conditionally." >&5
   11789 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   11790 Usually this means the macro was only invoked conditionally." >&2;}
   11791    { (exit 1); exit 1; }; }
   11792 fi
   11793 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11794   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   11795 Usually this means the macro was only invoked conditionally." >&5
   11796 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   11797 Usually this means the macro was only invoked conditionally." >&2;}
   11798    { (exit 1); exit 1; }; }
   11799 fi
   11800 
   11801 : ${CONFIG_STATUS=./config.status}
   11802 ac_write_fail=0
   11803 ac_clean_files_save=$ac_clean_files
   11804 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11805 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   11806 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11807 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11808 #! $SHELL
   11809 # Generated by $as_me.
   11810 # Run this file to recreate the current configuration.
   11811 # Compiler output produced by configure, useful for debugging
   11812 # configure, is in config.log if it exists.
   11813 
   11814 debug=false
   11815 ac_cs_recheck=false
   11816 ac_cs_silent=false
   11817 SHELL=\${CONFIG_SHELL-$SHELL}
   11818 _ACEOF
   11819 
   11820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11821 ## --------------------- ##
   11822 ## M4sh Initialization.  ##
   11823 ## --------------------- ##
   11824 
   11825 # Be more Bourne compatible
   11826 DUALCASE=1; export DUALCASE # for MKS sh
   11827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   11828   emulate sh
   11829   NULLCMD=:
   11830   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11831   # is contrary to our usage.  Disable this feature.
   11832   alias -g '${1+"$@"}'='"$@"'
   11833   setopt NO_GLOB_SUBST
   11834 else
   11835   case `(set -o) 2>/dev/null` in
   11836   *posix*) set -o posix ;;
   11837 esac
   11838 
   11839 fi
   11840 
   11841 
   11842 
   11843 
   11844 # PATH needs CR
   11845 # Avoid depending upon Character Ranges.
   11846 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11847 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11848 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11849 as_cr_digits='0123456789'
   11850 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11851 
   11852 as_nl='
   11853 '
   11854 export as_nl
   11855 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11856 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11859 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11860   as_echo='printf %s\n'
   11861   as_echo_n='printf %s'
   11862 else
   11863   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11864     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11865     as_echo_n='/usr/ucb/echo -n'
   11866   else
   11867     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11868     as_echo_n_body='eval
   11869       arg=$1;
   11870       case $arg in
   11871       *"$as_nl"*)
   11872 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11873 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11874       esac;
   11875       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11876     '
   11877     export as_echo_n_body
   11878     as_echo_n='sh -c $as_echo_n_body as_echo'
   11879   fi
   11880   export as_echo_body
   11881   as_echo='sh -c $as_echo_body as_echo'
   11882 fi
   11883 
   11884 # The user is always right.
   11885 if test "${PATH_SEPARATOR+set}" != set; then
   11886   PATH_SEPARATOR=:
   11887   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11888     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11889       PATH_SEPARATOR=';'
   11890   }
   11891 fi
   11892 
   11893 # Support unset when possible.
   11894 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11895   as_unset=unset
   11896 else
   11897   as_unset=false
   11898 fi
   11899 
   11900 
   11901 # IFS
   11902 # We need space, tab and new line, in precisely that order.  Quoting is
   11903 # there to prevent editors from complaining about space-tab.
   11904 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11905 # splitting by setting IFS to empty value.)
   11906 IFS=" ""	$as_nl"
   11907 
   11908 # Find who we are.  Look in the path if we contain no directory separator.
   11909 case $0 in
   11910   *[\\/]* ) as_myself=$0 ;;
   11911   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11912 for as_dir in $PATH
   11913 do
   11914   IFS=$as_save_IFS
   11915   test -z "$as_dir" && as_dir=.
   11916   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11917 done
   11918 IFS=$as_save_IFS
   11919 
   11920      ;;
   11921 esac
   11922 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11923 # in which case we are not to be found in the path.
   11924 if test "x$as_myself" = x; then
   11925   as_myself=$0
   11926 fi
   11927 if test ! -f "$as_myself"; then
   11928   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11929   { (exit 1); exit 1; }
   11930 fi
   11931 
   11932 # Work around bugs in pre-3.0 UWIN ksh.
   11933 for as_var in ENV MAIL MAILPATH
   11934 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   11935 done
   11936 PS1='$ '
   11937 PS2='> '
   11938 PS4='+ '
   11939 
   11940 # NLS nuisances.
   11941 LC_ALL=C
   11942 export LC_ALL
   11943 LANGUAGE=C
   11944 export LANGUAGE
   11945 
   11946 # Required to use basename.
   11947 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11948    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11949   as_expr=expr
   11950 else
   11951   as_expr=false
   11952 fi
   11953 
   11954 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11955   as_basename=basename
   11956 else
   11957   as_basename=false
   11958 fi
   11959 
   11960 
   11961 # Name of the executable.
   11962 as_me=`$as_basename -- "$0" ||
   11963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11964 	 X"$0" : 'X\(//\)$' \| \
   11965 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11966 $as_echo X/"$0" |
   11967     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11968 	    s//\1/
   11969 	    q
   11970 	  }
   11971 	  /^X\/\(\/\/\)$/{
   11972 	    s//\1/
   11973 	    q
   11974 	  }
   11975 	  /^X\/\(\/\).*/{
   11976 	    s//\1/
   11977 	    q
   11978 	  }
   11979 	  s/.*/./; q'`
   11980 
   11981 # CDPATH.
   11982 $as_unset CDPATH
   11983 
   11984 
   11985 
   11986   as_lineno_1=$LINENO
   11987   as_lineno_2=$LINENO
   11988   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11989   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   11990 
   11991   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   11992   # uniformly replaced by the line number.  The first 'sed' inserts a
   11993   # line-number line after each line using $LINENO; the second 'sed'
   11994   # does the real work.  The second script uses 'N' to pair each
   11995   # line-number line with the line containing $LINENO, and appends
   11996   # trailing '-' during substitution so that $LINENO is not a special
   11997   # case at line end.
   11998   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   11999   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   12000   # E. McMahon (1931-1989) for sed's syntax.  :-)
   12001   sed -n '
   12002     p
   12003     /[$]LINENO/=
   12004   ' <$as_myself |
   12005     sed '
   12006       s/[$]LINENO.*/&-/
   12007       t lineno
   12008       b
   12009       :lineno
   12010       N
   12011       :loop
   12012       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   12013       t loop
   12014       s/-\n.*//
   12015     ' >$as_me.lineno &&
   12016   chmod +x "$as_me.lineno" ||
   12017     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   12018    { (exit 1); exit 1; }; }
   12019 
   12020   # Don't try to exec as it changes $[0], causing all sort of problems
   12021   # (the dirname of $[0] is not the place where we might find the
   12022   # original and so on.  Autoconf is especially sensitive to this).
   12023   . "./$as_me.lineno"
   12024   # Exit status is that of the last command.
   12025   exit
   12026 }
   12027 
   12028 
   12029 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12030   as_dirname=dirname
   12031 else
   12032   as_dirname=false
   12033 fi
   12034 
   12035 ECHO_C= ECHO_N= ECHO_T=
   12036 case `echo -n x` in
   12037 -n*)
   12038   case `echo 'x\c'` in
   12039   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12040   *)   ECHO_C='\c';;
   12041   esac;;
   12042 *)
   12043   ECHO_N='-n';;
   12044 esac
   12045 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12046    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12047   as_expr=expr
   12048 else
   12049   as_expr=false
   12050 fi
   12051 
   12052 rm -f conf$$ conf$$.exe conf$$.file
   12053 if test -d conf$$.dir; then
   12054   rm -f conf$$.dir/conf$$.file
   12055 else
   12056   rm -f conf$$.dir
   12057   mkdir conf$$.dir 2>/dev/null
   12058 fi
   12059 if (echo >conf$$.file) 2>/dev/null; then
   12060   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12061     as_ln_s='ln -s'
   12062     # ... but there are two gotchas:
   12063     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12064     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12065     # In both cases, we have to default to `cp -p'.
   12066     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12067       as_ln_s='cp -p'
   12068   elif ln conf$$.file conf$$ 2>/dev/null; then
   12069     as_ln_s=ln
   12070   else
   12071     as_ln_s='cp -p'
   12072   fi
   12073 else
   12074   as_ln_s='cp -p'
   12075 fi
   12076 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12077 rmdir conf$$.dir 2>/dev/null
   12078 
   12079 if mkdir -p . 2>/dev/null; then
   12080   as_mkdir_p=:
   12081 else
   12082   test -d ./-p && rmdir ./-p
   12083   as_mkdir_p=false
   12084 fi
   12085 
   12086 if test -x / >/dev/null 2>&1; then
   12087   as_test_x='test -x'
   12088 else
   12089   if ls -dL / >/dev/null 2>&1; then
   12090     as_ls_L_option=L
   12091   else
   12092     as_ls_L_option=
   12093   fi
   12094   as_test_x='
   12095     eval sh -c '\''
   12096       if test -d "$1"; then
   12097 	test -d "$1/.";
   12098       else
   12099 	case $1 in
   12100 	-*)set "./$1";;
   12101 	esac;
   12102 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   12103 	???[sx]*):;;*)false;;esac;fi
   12104     '\'' sh
   12105   '
   12106 fi
   12107 as_executable_p=$as_test_x
   12108 
   12109 # Sed expression to map a string onto a valid CPP name.
   12110 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12111 
   12112 # Sed expression to map a string onto a valid variable name.
   12113 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12114 
   12115 
   12116 exec 6>&1
   12117 
   12118 # Save the log message, to keep $[0] and so on meaningful, and to
   12119 # report actual input values of CONFIG_FILES etc. instead of their
   12120 # values after options handling.
   12121 ac_log="
   12122 This file was extended by libXcursor $as_me 1.1.10, which was
   12123 generated by GNU Autoconf 2.63.  Invocation command line was
   12124 
   12125   CONFIG_FILES    = $CONFIG_FILES
   12126   CONFIG_HEADERS  = $CONFIG_HEADERS
   12127   CONFIG_LINKS    = $CONFIG_LINKS
   12128   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12129   $ $0 $@
   12130 
   12131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12132 "
   12133 
   12134 _ACEOF
   12135 
   12136 case $ac_config_files in *"
   12137 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12138 esac
   12139 
   12140 case $ac_config_headers in *"
   12141 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12142 esac
   12143 
   12144 
   12145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12146 # Files that config.status was made for.
   12147 config_files="$ac_config_files"
   12148 config_headers="$ac_config_headers"
   12149 config_commands="$ac_config_commands"
   12150 
   12151 _ACEOF
   12152 
   12153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12154 ac_cs_usage="\
   12155 \`$as_me' instantiates files from templates according to the
   12156 current configuration.
   12157 
   12158 Usage: $0 [OPTION]... [FILE]...
   12159 
   12160   -h, --help       print this help, then exit
   12161   -V, --version    print version number and configuration settings, then exit
   12162   -q, --quiet, --silent
   12163                    do not print progress messages
   12164   -d, --debug      don't remove temporary files
   12165       --recheck    update $as_me by reconfiguring in the same conditions
   12166       --file=FILE[:TEMPLATE]
   12167                    instantiate the configuration file FILE
   12168       --header=FILE[:TEMPLATE]
   12169                    instantiate the configuration header FILE
   12170 
   12171 Configuration files:
   12172 $config_files
   12173 
   12174 Configuration headers:
   12175 $config_headers
   12176 
   12177 Configuration commands:
   12178 $config_commands
   12179 
   12180 Report bugs to <bug-autoconf (at] gnu.org>."
   12181 
   12182 _ACEOF
   12183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12184 ac_cs_version="\\
   12185 libXcursor config.status 1.1.10
   12186 configured by $0, generated by GNU Autoconf 2.63,
   12187   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   12188 
   12189 Copyright (C) 2008 Free Software Foundation, Inc.
   12190 This config.status script is free software; the Free Software Foundation
   12191 gives unlimited permission to copy, distribute and modify it."
   12192 
   12193 ac_pwd='$ac_pwd'
   12194 srcdir='$srcdir'
   12195 INSTALL='$INSTALL'
   12196 MKDIR_P='$MKDIR_P'
   12197 AWK='$AWK'
   12198 test -n "\$AWK" || AWK=awk
   12199 _ACEOF
   12200 
   12201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12202 # The default lists apply if the user does not specify any file.
   12203 ac_need_defaults=:
   12204 while test $# != 0
   12205 do
   12206   case $1 in
   12207   --*=*)
   12208     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12209     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12210     ac_shift=:
   12211     ;;
   12212   *)
   12213     ac_option=$1
   12214     ac_optarg=$2
   12215     ac_shift=shift
   12216     ;;
   12217   esac
   12218 
   12219   case $ac_option in
   12220   # Handling of the options.
   12221   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12222     ac_cs_recheck=: ;;
   12223   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12224     $as_echo "$ac_cs_version"; exit ;;
   12225   --debug | --debu | --deb | --de | --d | -d )
   12226     debug=: ;;
   12227   --file | --fil | --fi | --f )
   12228     $ac_shift
   12229     case $ac_optarg in
   12230     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12231     esac
   12232     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   12233     ac_need_defaults=false;;
   12234   --header | --heade | --head | --hea )
   12235     $ac_shift
   12236     case $ac_optarg in
   12237     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12238     esac
   12239     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   12240     ac_need_defaults=false;;
   12241   --he | --h)
   12242     # Conflict between --help and --header
   12243     { $as_echo "$as_me: error: ambiguous option: $1
   12244 Try \`$0 --help' for more information." >&2
   12245    { (exit 1); exit 1; }; };;
   12246   --help | --hel | -h )
   12247     $as_echo "$ac_cs_usage"; exit ;;
   12248   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12249   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12250     ac_cs_silent=: ;;
   12251 
   12252   # This is an error.
   12253   -*) { $as_echo "$as_me: error: unrecognized option: $1
   12254 Try \`$0 --help' for more information." >&2
   12255    { (exit 1); exit 1; }; } ;;
   12256 
   12257   *) ac_config_targets="$ac_config_targets $1"
   12258      ac_need_defaults=false ;;
   12259 
   12260   esac
   12261   shift
   12262 done
   12263 
   12264 ac_configure_extra_args=
   12265 
   12266 if $ac_cs_silent; then
   12267   exec 6>/dev/null
   12268   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12269 fi
   12270 
   12271 _ACEOF
   12272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12273 if \$ac_cs_recheck; then
   12274   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12275   shift
   12276   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12277   CONFIG_SHELL='$SHELL'
   12278   export CONFIG_SHELL
   12279   exec "\$@"
   12280 fi
   12281 
   12282 _ACEOF
   12283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12284 exec 5>>config.log
   12285 {
   12286   echo
   12287   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12288 ## Running $as_me. ##
   12289 _ASBOX
   12290   $as_echo "$ac_log"
   12291 } >&5
   12292 
   12293 _ACEOF
   12294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12295 #
   12296 # INIT-COMMANDS
   12297 #
   12298 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12299 
   12300 
   12301 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12302 # if CDPATH is set.
   12303 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12304 
   12305 sed_quote_subst='$sed_quote_subst'
   12306 double_quote_subst='$double_quote_subst'
   12307 delay_variable_subst='$delay_variable_subst'
   12308 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12309 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12310 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12311 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12312 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12313 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12314 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12315 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12316 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12317 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12318 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12319 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12320 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12321 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12322 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12323 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12324 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12325 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12326 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12327 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12328 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12329 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12330 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12331 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12332 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12333 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12334 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12335 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12336 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12337 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12338 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12339 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12340 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12341 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12342 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12343 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12344 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12345 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12346 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12347 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12348 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12349 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12350 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12351 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12352 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"`'
   12353 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"`'
   12354 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12355 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12356 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12357 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12358 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12359 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12360 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12361 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12362 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12363 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12364 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12365 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12366 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12367 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12368 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12369 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12370 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12371 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12372 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12373 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12374 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12375 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12376 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12377 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12378 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12379 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12380 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12381 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12382 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12383 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12384 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12385 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12386 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12387 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12388 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12389 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12390 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12391 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12392 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12393 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12394 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12395 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12396 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12397 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12398 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12399 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12400 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12401 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12402 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12403 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12404 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12405 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12406 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12407 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12408 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12409 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12410 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12411 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12412 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12413 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12414 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12415 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12416 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12417 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12418 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12419 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12420 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12421 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12422 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12423 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12424 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12425 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12426 
   12427 LTCC='$LTCC'
   12428 LTCFLAGS='$LTCFLAGS'
   12429 compiler='$compiler_DEFAULT'
   12430 
   12431 # Quote evaled strings.
   12432 for var in SED \
   12433 GREP \
   12434 EGREP \
   12435 FGREP \
   12436 LD \
   12437 NM \
   12438 LN_S \
   12439 lt_SP2NL \
   12440 lt_NL2SP \
   12441 reload_flag \
   12442 OBJDUMP \
   12443 deplibs_check_method \
   12444 file_magic_cmd \
   12445 AR \
   12446 AR_FLAGS \
   12447 STRIP \
   12448 RANLIB \
   12449 CC \
   12450 CFLAGS \
   12451 compiler \
   12452 lt_cv_sys_global_symbol_pipe \
   12453 lt_cv_sys_global_symbol_to_cdecl \
   12454 lt_cv_sys_global_symbol_to_c_name_address \
   12455 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12456 SHELL \
   12457 ECHO \
   12458 lt_prog_compiler_no_builtin_flag \
   12459 lt_prog_compiler_wl \
   12460 lt_prog_compiler_pic \
   12461 lt_prog_compiler_static \
   12462 lt_cv_prog_compiler_c_o \
   12463 need_locks \
   12464 DSYMUTIL \
   12465 NMEDIT \
   12466 LIPO \
   12467 OTOOL \
   12468 OTOOL64 \
   12469 shrext_cmds \
   12470 export_dynamic_flag_spec \
   12471 whole_archive_flag_spec \
   12472 compiler_needs_object \
   12473 with_gnu_ld \
   12474 allow_undefined_flag \
   12475 no_undefined_flag \
   12476 hardcode_libdir_flag_spec \
   12477 hardcode_libdir_flag_spec_ld \
   12478 hardcode_libdir_separator \
   12479 fix_srcfile_path \
   12480 exclude_expsyms \
   12481 include_expsyms \
   12482 file_list_spec \
   12483 variables_saved_for_relink \
   12484 libname_spec \
   12485 library_names_spec \
   12486 soname_spec \
   12487 finish_eval \
   12488 old_striplib \
   12489 striplib; do
   12490     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12491     *[\\\\\\\`\\"\\\$]*)
   12492       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12493       ;;
   12494     *)
   12495       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12496       ;;
   12497     esac
   12498 done
   12499 
   12500 # Double-quote double-evaled strings.
   12501 for var in reload_cmds \
   12502 old_postinstall_cmds \
   12503 old_postuninstall_cmds \
   12504 old_archive_cmds \
   12505 extract_expsyms_cmds \
   12506 old_archive_from_new_cmds \
   12507 old_archive_from_expsyms_cmds \
   12508 archive_cmds \
   12509 archive_expsym_cmds \
   12510 module_cmds \
   12511 module_expsym_cmds \
   12512 export_symbols_cmds \
   12513 prelink_cmds \
   12514 postinstall_cmds \
   12515 postuninstall_cmds \
   12516 finish_cmds \
   12517 sys_lib_search_path_spec \
   12518 sys_lib_dlsearch_path_spec; do
   12519     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12520     *[\\\\\\\`\\"\\\$]*)
   12521       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12522       ;;
   12523     *)
   12524       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12525       ;;
   12526     esac
   12527 done
   12528 
   12529 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12530 case \$lt_ECHO in
   12531 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12532   ;;
   12533 esac
   12534 
   12535 ac_aux_dir='$ac_aux_dir'
   12536 xsi_shell='$xsi_shell'
   12537 lt_shell_append='$lt_shell_append'
   12538 
   12539 # See if we are running on zsh, and set the options which allow our
   12540 # commands through without removal of \ escapes INIT.
   12541 if test -n "\${ZSH_VERSION+set}" ; then
   12542    setopt NO_GLOB_SUBST
   12543 fi
   12544 
   12545 
   12546     PACKAGE='$PACKAGE'
   12547     VERSION='$VERSION'
   12548     TIMESTAMP='$TIMESTAMP'
   12549     RM='$RM'
   12550     ofile='$ofile'
   12551 
   12552 
   12553 
   12554 
   12555 _ACEOF
   12556 
   12557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12558 
   12559 # Handling of arguments.
   12560 for ac_config_target in $ac_config_targets
   12561 do
   12562   case $ac_config_target in
   12563     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12564     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12565     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12566     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12567     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12568     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12569     "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;;
   12570 
   12571   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12572 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12573    { (exit 1); exit 1; }; };;
   12574   esac
   12575 done
   12576 
   12577 
   12578 # If the user did not use the arguments to specify the items to instantiate,
   12579 # then the envvar interface is used.  Set only those that are not.
   12580 # We use the long form for the default assignment because of an extremely
   12581 # bizarre bug on SunOS 4.1.3.
   12582 if $ac_need_defaults; then
   12583   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12584   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12585   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12586 fi
   12587 
   12588 # Have a temporary directory for convenience.  Make it in the build tree
   12589 # simply because there is no reason against having it here, and in addition,
   12590 # creating and moving files from /tmp can sometimes cause problems.
   12591 # Hook for its removal unless debugging.
   12592 # Note that there is a small window in which the directory will not be cleaned:
   12593 # after its creation but before its name has been assigned to `$tmp'.
   12594 $debug ||
   12595 {
   12596   tmp=
   12597   trap 'exit_status=$?
   12598   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12599 ' 0
   12600   trap '{ (exit 1); exit 1; }' 1 2 13 15
   12601 }
   12602 # Create a (secure) tmp directory for tmp files.
   12603 
   12604 {
   12605   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12606   test -n "$tmp" && test -d "$tmp"
   12607 }  ||
   12608 {
   12609   tmp=./conf$$-$RANDOM
   12610   (umask 077 && mkdir "$tmp")
   12611 } ||
   12612 {
   12613    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   12614    { (exit 1); exit 1; }
   12615 }
   12616 
   12617 # Set up the scripts for CONFIG_FILES section.
   12618 # No need to generate them if there are no CONFIG_FILES.
   12619 # This happens for instance with `./config.status config.h'.
   12620 if test -n "$CONFIG_FILES"; then
   12621 
   12622 
   12623 ac_cr='
'
   12625 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12627   ac_cs_awk_cr='\\r'
   12628 else
   12629   ac_cs_awk_cr=$ac_cr
   12630 fi
   12631 
   12632 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12633 _ACEOF
   12634 
   12635 
   12636 {
   12637   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12638   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12639   echo "_ACEOF"
   12640 } >conf$$subs.sh ||
   12641   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12642 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12643    { (exit 1); exit 1; }; }
   12644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12645 ac_delim='%!_!# '
   12646 for ac_last_try in false false false false false :; do
   12647   . ./conf$$subs.sh ||
   12648     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12649 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12650    { (exit 1); exit 1; }; }
   12651 
   12652   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12653   if test $ac_delim_n = $ac_delim_num; then
   12654     break
   12655   elif $ac_last_try; then
   12656     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12657 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12658    { (exit 1); exit 1; }; }
   12659   else
   12660     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12661   fi
   12662 done
   12663 rm -f conf$$subs.sh
   12664 
   12665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12666 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12667 _ACEOF
   12668 sed -n '
   12669 h
   12670 s/^/S["/; s/!.*/"]=/
   12671 p
   12672 g
   12673 s/^[^!]*!//
   12674 :repl
   12675 t repl
   12676 s/'"$ac_delim"'$//
   12677 t delim
   12678 :nl
   12679 h
   12680 s/\(.\{148\}\).*/\1/
   12681 t more1
   12682 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12683 p
   12684 n
   12685 b repl
   12686 :more1
   12687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12688 p
   12689 g
   12690 s/.\{148\}//
   12691 t nl
   12692 :delim
   12693 h
   12694 s/\(.\{148\}\).*/\1/
   12695 t more2
   12696 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12697 p
   12698 b
   12699 :more2
   12700 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12701 p
   12702 g
   12703 s/.\{148\}//
   12704 t delim
   12705 ' <conf$$subs.awk | sed '
   12706 /^[^""]/{
   12707   N
   12708   s/\n//
   12709 }
   12710 ' >>$CONFIG_STATUS || ac_write_fail=1
   12711 rm -f conf$$subs.awk
   12712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12713 _ACAWK
   12714 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12715   for (key in S) S_is_set[key] = 1
   12716   FS = ""
   12717 
   12718 }
   12719 {
   12720   line = $ 0
   12721   nfields = split(line, field, "@")
   12722   substed = 0
   12723   len = length(field[1])
   12724   for (i = 2; i < nfields; i++) {
   12725     key = field[i]
   12726     keylen = length(key)
   12727     if (S_is_set[key]) {
   12728       value = S[key]
   12729       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12730       len += length(value) + length(field[++i])
   12731       substed = 1
   12732     } else
   12733       len += 1 + keylen
   12734   }
   12735 
   12736   print line
   12737 }
   12738 
   12739 _ACAWK
   12740 _ACEOF
   12741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12742 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12743   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12744 else
   12745   cat
   12746 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12747   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   12748 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   12749    { (exit 1); exit 1; }; }
   12750 _ACEOF
   12751 
   12752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12754 # trailing colons and then remove the whole line if VPATH becomes empty
   12755 # (actually we leave an empty line to preserve line numbers).
   12756 if test "x$srcdir" = x.; then
   12757   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12758 s/:*\$(srcdir):*/:/
   12759 s/:*\${srcdir}:*/:/
   12760 s/:*@srcdir@:*/:/
   12761 s/^\([^=]*=[	 ]*\):*/\1/
   12762 s/:*$//
   12763 s/^[^=]*=[	 ]*$//
   12764 }'
   12765 fi
   12766 
   12767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12768 fi # test -n "$CONFIG_FILES"
   12769 
   12770 # Set up the scripts for CONFIG_HEADERS section.
   12771 # No need to generate them if there are no CONFIG_HEADERS.
   12772 # This happens for instance with `./config.status Makefile'.
   12773 if test -n "$CONFIG_HEADERS"; then
   12774 cat >"$tmp/defines.awk" <<\_ACAWK ||
   12775 BEGIN {
   12776 _ACEOF
   12777 
   12778 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12779 # here-document in config.status, that substitutes the proper values into
   12780 # config.h.in to produce config.h.
   12781 
   12782 # Create a delimiter string that does not exist in confdefs.h, to ease
   12783 # handling of long lines.
   12784 ac_delim='%!_!# '
   12785 for ac_last_try in false false :; do
   12786   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   12787   if test -z "$ac_t"; then
   12788     break
   12789   elif $ac_last_try; then
   12790     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   12791 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   12792    { (exit 1); exit 1; }; }
   12793   else
   12794     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12795   fi
   12796 done
   12797 
   12798 # For the awk script, D is an array of macro values keyed by name,
   12799 # likewise P contains macro parameters if any.  Preserve backslash
   12800 # newline sequences.
   12801 
   12802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12803 sed -n '
   12804 s/.\{148\}/&'"$ac_delim"'/g
   12805 t rset
   12806 :rset
   12807 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12808 t def
   12809 d
   12810 :def
   12811 s/\\$//
   12812 t bsnl
   12813 s/["\\]/\\&/g
   12814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12815 D["\1"]=" \3"/p
   12816 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12817 d
   12818 :bsnl
   12819 s/["\\]/\\&/g
   12820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12821 D["\1"]=" \3\\\\\\n"\\/p
   12822 t cont
   12823 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12824 t cont
   12825 d
   12826 :cont
   12827 n
   12828 s/.\{148\}/&'"$ac_delim"'/g
   12829 t clear
   12830 :clear
   12831 s/\\$//
   12832 t bsnlc
   12833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12834 d
   12835 :bsnlc
   12836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12837 b cont
   12838 ' <confdefs.h | sed '
   12839 s/'"$ac_delim"'/"\\\
   12840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12841 
   12842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12843   for (key in D) D_is_set[key] = 1
   12844   FS = ""
   12845 }
   12846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12847   line = \$ 0
   12848   split(line, arg, " ")
   12849   if (arg[1] == "#") {
   12850     defundef = arg[2]
   12851     mac1 = arg[3]
   12852   } else {
   12853     defundef = substr(arg[1], 2)
   12854     mac1 = arg[2]
   12855   }
   12856   split(mac1, mac2, "(") #)
   12857   macro = mac2[1]
   12858   prefix = substr(line, 1, index(line, defundef) - 1)
   12859   if (D_is_set[macro]) {
   12860     # Preserve the white space surrounding the "#".
   12861     print prefix "define", macro P[macro] D[macro]
   12862     next
   12863   } else {
   12864     # Replace #undef with comments.  This is necessary, for example,
   12865     # in the case of _POSIX_SOURCE, which is predefined and required
   12866     # on some systems where configure will not decide to define it.
   12867     if (defundef == "undef") {
   12868       print "/*", prefix defundef, macro, "*/"
   12869       next
   12870     }
   12871   }
   12872 }
   12873 { print }
   12874 _ACAWK
   12875 _ACEOF
   12876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12877   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   12878 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   12879    { (exit 1); exit 1; }; }
   12880 fi # test -n "$CONFIG_HEADERS"
   12881 
   12882 
   12883 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12884 shift
   12885 for ac_tag
   12886 do
   12887   case $ac_tag in
   12888   :[FHLC]) ac_mode=$ac_tag; continue;;
   12889   esac
   12890   case $ac_mode$ac_tag in
   12891   :[FHL]*:*);;
   12892   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   12893 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   12894    { (exit 1); exit 1; }; };;
   12895   :[FH]-) ac_tag=-:-;;
   12896   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12897   esac
   12898   ac_save_IFS=$IFS
   12899   IFS=:
   12900   set x $ac_tag
   12901   IFS=$ac_save_IFS
   12902   shift
   12903   ac_file=$1
   12904   shift
   12905 
   12906   case $ac_mode in
   12907   :L) ac_source=$1;;
   12908   :[FH])
   12909     ac_file_inputs=
   12910     for ac_f
   12911     do
   12912       case $ac_f in
   12913       -) ac_f="$tmp/stdin";;
   12914       *) # Look for the file first in the build tree, then in the source tree
   12915 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12916 	 # because $ac_f cannot contain `:'.
   12917 	 test -f "$ac_f" ||
   12918 	   case $ac_f in
   12919 	   [\\/$]*) false;;
   12920 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12921 	   esac ||
   12922 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   12923 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   12924    { (exit 1); exit 1; }; };;
   12925       esac
   12926       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12927       ac_file_inputs="$ac_file_inputs '$ac_f'"
   12928     done
   12929 
   12930     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12931     # use $as_me), people would be surprised to read:
   12932     #    /* config.h.  Generated by config.status.  */
   12933     configure_input='Generated from '`
   12934 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12935 	`' by configure.'
   12936     if test x"$ac_file" != x-; then
   12937       configure_input="$ac_file.  $configure_input"
   12938       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   12939 $as_echo "$as_me: creating $ac_file" >&6;}
   12940     fi
   12941     # Neutralize special characters interpreted by sed in replacement strings.
   12942     case $configure_input in #(
   12943     *\&* | *\|* | *\\* )
   12944        ac_sed_conf_input=`$as_echo "$configure_input" |
   12945        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12946     *) ac_sed_conf_input=$configure_input;;
   12947     esac
   12948 
   12949     case $ac_tag in
   12950     *:-:* | *:-) cat >"$tmp/stdin" \
   12951       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   12952 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   12953    { (exit 1); exit 1; }; } ;;
   12954     esac
   12955     ;;
   12956   esac
   12957 
   12958   ac_dir=`$as_dirname -- "$ac_file" ||
   12959 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12960 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12961 	 X"$ac_file" : 'X\(//\)$' \| \
   12962 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12963 $as_echo X"$ac_file" |
   12964     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12965 	    s//\1/
   12966 	    q
   12967 	  }
   12968 	  /^X\(\/\/\)[^/].*/{
   12969 	    s//\1/
   12970 	    q
   12971 	  }
   12972 	  /^X\(\/\/\)$/{
   12973 	    s//\1/
   12974 	    q
   12975 	  }
   12976 	  /^X\(\/\).*/{
   12977 	    s//\1/
   12978 	    q
   12979 	  }
   12980 	  s/.*/./; q'`
   12981   { as_dir="$ac_dir"
   12982   case $as_dir in #(
   12983   -*) as_dir=./$as_dir;;
   12984   esac
   12985   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   12986     as_dirs=
   12987     while :; do
   12988       case $as_dir in #(
   12989       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12990       *) as_qdir=$as_dir;;
   12991       esac
   12992       as_dirs="'$as_qdir' $as_dirs"
   12993       as_dir=`$as_dirname -- "$as_dir" ||
   12994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12995 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12996 	 X"$as_dir" : 'X\(//\)$' \| \
   12997 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12998 $as_echo X"$as_dir" |
   12999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13000 	    s//\1/
   13001 	    q
   13002 	  }
   13003 	  /^X\(\/\/\)[^/].*/{
   13004 	    s//\1/
   13005 	    q
   13006 	  }
   13007 	  /^X\(\/\/\)$/{
   13008 	    s//\1/
   13009 	    q
   13010 	  }
   13011 	  /^X\(\/\).*/{
   13012 	    s//\1/
   13013 	    q
   13014 	  }
   13015 	  s/.*/./; q'`
   13016       test -d "$as_dir" && break
   13017     done
   13018     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13019   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13020 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13021    { (exit 1); exit 1; }; }; }
   13022   ac_builddir=.
   13023 
   13024 case "$ac_dir" in
   13025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13026 *)
   13027   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13028   # A ".." for each directory in $ac_dir_suffix.
   13029   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13030   case $ac_top_builddir_sub in
   13031   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13032   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13033   esac ;;
   13034 esac
   13035 ac_abs_top_builddir=$ac_pwd
   13036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13037 # for backward compatibility:
   13038 ac_top_builddir=$ac_top_build_prefix
   13039 
   13040 case $srcdir in
   13041   .)  # We are building in place.
   13042     ac_srcdir=.
   13043     ac_top_srcdir=$ac_top_builddir_sub
   13044     ac_abs_top_srcdir=$ac_pwd ;;
   13045   [\\/]* | ?:[\\/]* )  # Absolute name.
   13046     ac_srcdir=$srcdir$ac_dir_suffix;
   13047     ac_top_srcdir=$srcdir
   13048     ac_abs_top_srcdir=$srcdir ;;
   13049   *) # Relative name.
   13050     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13051     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13052     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13053 esac
   13054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13055 
   13056 
   13057   case $ac_mode in
   13058   :F)
   13059   #
   13060   # CONFIG_FILE
   13061   #
   13062 
   13063   case $INSTALL in
   13064   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13065   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13066   esac
   13067   ac_MKDIR_P=$MKDIR_P
   13068   case $MKDIR_P in
   13069   [\\/$]* | ?:[\\/]* ) ;;
   13070   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13071   esac
   13072 _ACEOF
   13073 
   13074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13075 # If the template does not know about datarootdir, expand it.
   13076 # FIXME: This hack should be removed a few years after 2.60.
   13077 ac_datarootdir_hack=; ac_datarootdir_seen=
   13078 
   13079 ac_sed_dataroot='
   13080 /datarootdir/ {
   13081   p
   13082   q
   13083 }
   13084 /@datadir@/p
   13085 /@docdir@/p
   13086 /@infodir@/p
   13087 /@localedir@/p
   13088 /@mandir@/p
   13089 '
   13090 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13091 *datarootdir*) ac_datarootdir_seen=yes;;
   13092 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13093   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13094 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13095 _ACEOF
   13096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13097   ac_datarootdir_hack='
   13098   s&@datadir@&$datadir&g
   13099   s&@docdir@&$docdir&g
   13100   s&@infodir@&$infodir&g
   13101   s&@localedir@&$localedir&g
   13102   s&@mandir@&$mandir&g
   13103     s&\\\${datarootdir}&$datarootdir&g' ;;
   13104 esac
   13105 _ACEOF
   13106 
   13107 # Neutralize VPATH when `$srcdir' = `.'.
   13108 # Shell code in configure.ac might set extrasub.
   13109 # FIXME: do we really want to maintain this feature?
   13110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13111 ac_sed_extra="$ac_vpsub
   13112 $extrasub
   13113 _ACEOF
   13114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13115 :t
   13116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13117 s|@configure_input@|$ac_sed_conf_input|;t t
   13118 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13119 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13120 s&@srcdir@&$ac_srcdir&;t t
   13121 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13122 s&@top_srcdir@&$ac_top_srcdir&;t t
   13123 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13124 s&@builddir@&$ac_builddir&;t t
   13125 s&@abs_builddir@&$ac_abs_builddir&;t t
   13126 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13127 s&@INSTALL@&$ac_INSTALL&;t t
   13128 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13129 $ac_datarootdir_hack
   13130 "
   13131 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13132   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13133 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13134    { (exit 1); exit 1; }; }
   13135 
   13136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13137   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13138   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13139   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13140 which seems to be undefined.  Please make sure it is defined." >&5
   13141 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13142 which seems to be undefined.  Please make sure it is defined." >&2;}
   13143 
   13144   rm -f "$tmp/stdin"
   13145   case $ac_file in
   13146   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13147   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13148   esac \
   13149   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13150 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13151    { (exit 1); exit 1; }; }
   13152  ;;
   13153   :H)
   13154   #
   13155   # CONFIG_HEADER
   13156   #
   13157   if test x"$ac_file" != x-; then
   13158     {
   13159       $as_echo "/* $configure_input  */" \
   13160       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13161     } >"$tmp/config.h" \
   13162       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13163 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13164    { (exit 1); exit 1; }; }
   13165     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13166       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   13167 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13168     else
   13169       rm -f "$ac_file"
   13170       mv "$tmp/config.h" "$ac_file" \
   13171 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13172 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13173    { (exit 1); exit 1; }; }
   13174     fi
   13175   else
   13176     $as_echo "/* $configure_input  */" \
   13177       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13178       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   13179 $as_echo "$as_me: error: could not create -" >&2;}
   13180    { (exit 1); exit 1; }; }
   13181   fi
   13182 # Compute "$ac_file"'s index in $config_headers.
   13183 _am_arg="$ac_file"
   13184 _am_stamp_count=1
   13185 for _am_header in $config_headers :; do
   13186   case $_am_header in
   13187     $_am_arg | $_am_arg:* )
   13188       break ;;
   13189     * )
   13190       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13191   esac
   13192 done
   13193 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13194 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13195 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13196 	 X"$_am_arg" : 'X\(//\)$' \| \
   13197 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13198 $as_echo X"$_am_arg" |
   13199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13200 	    s//\1/
   13201 	    q
   13202 	  }
   13203 	  /^X\(\/\/\)[^/].*/{
   13204 	    s//\1/
   13205 	    q
   13206 	  }
   13207 	  /^X\(\/\/\)$/{
   13208 	    s//\1/
   13209 	    q
   13210 	  }
   13211 	  /^X\(\/\).*/{
   13212 	    s//\1/
   13213 	    q
   13214 	  }
   13215 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13216  ;;
   13217 
   13218   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   13219 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13220  ;;
   13221   esac
   13222 
   13223 
   13224   case $ac_file$ac_mode in
   13225     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13226   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13227   # are listed without --file.  Let's play safe and only enable the eval
   13228   # if we detect the quoting.
   13229   case $CONFIG_FILES in
   13230   *\'*) eval set x "$CONFIG_FILES" ;;
   13231   *)   set x $CONFIG_FILES ;;
   13232   esac
   13233   shift
   13234   for mf
   13235   do
   13236     # Strip MF so we end up with the name of the file.
   13237     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13238     # Check whether this is an Automake generated Makefile or not.
   13239     # We used to match only the files named `Makefile.in', but
   13240     # some people rename them; so instead we look at the file content.
   13241     # Grep'ing the first line is not enough: some people post-process
   13242     # each Makefile.in and add a new line on top of each file to say so.
   13243     # Grep'ing the whole file is not good either: AIX grep has a line
   13244     # limit of 2048, but all sed's we know have understand at least 4000.
   13245     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13246       dirpart=`$as_dirname -- "$mf" ||
   13247 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13248 	 X"$mf" : 'X\(//\)[^/]' \| \
   13249 	 X"$mf" : 'X\(//\)$' \| \
   13250 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13251 $as_echo X"$mf" |
   13252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13253 	    s//\1/
   13254 	    q
   13255 	  }
   13256 	  /^X\(\/\/\)[^/].*/{
   13257 	    s//\1/
   13258 	    q
   13259 	  }
   13260 	  /^X\(\/\/\)$/{
   13261 	    s//\1/
   13262 	    q
   13263 	  }
   13264 	  /^X\(\/\).*/{
   13265 	    s//\1/
   13266 	    q
   13267 	  }
   13268 	  s/.*/./; q'`
   13269     else
   13270       continue
   13271     fi
   13272     # Extract the definition of DEPDIR, am__include, and am__quote
   13273     # from the Makefile without running `make'.
   13274     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13275     test -z "$DEPDIR" && continue
   13276     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13277     test -z "am__include" && continue
   13278     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13279     # When using ansi2knr, U may be empty or an underscore; expand it
   13280     U=`sed -n 's/^U = //p' < "$mf"`
   13281     # Find all dependency output files, they are included files with
   13282     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13283     # simplest approach to changing $(DEPDIR) to its actual value in the
   13284     # expansion.
   13285     for file in `sed -n "
   13286       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13287 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13288       # Make sure the directory exists.
   13289       test -f "$dirpart/$file" && continue
   13290       fdir=`$as_dirname -- "$file" ||
   13291 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13292 	 X"$file" : 'X\(//\)[^/]' \| \
   13293 	 X"$file" : 'X\(//\)$' \| \
   13294 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13295 $as_echo X"$file" |
   13296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13297 	    s//\1/
   13298 	    q
   13299 	  }
   13300 	  /^X\(\/\/\)[^/].*/{
   13301 	    s//\1/
   13302 	    q
   13303 	  }
   13304 	  /^X\(\/\/\)$/{
   13305 	    s//\1/
   13306 	    q
   13307 	  }
   13308 	  /^X\(\/\).*/{
   13309 	    s//\1/
   13310 	    q
   13311 	  }
   13312 	  s/.*/./; q'`
   13313       { as_dir=$dirpart/$fdir
   13314   case $as_dir in #(
   13315   -*) as_dir=./$as_dir;;
   13316   esac
   13317   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13318     as_dirs=
   13319     while :; do
   13320       case $as_dir in #(
   13321       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13322       *) as_qdir=$as_dir;;
   13323       esac
   13324       as_dirs="'$as_qdir' $as_dirs"
   13325       as_dir=`$as_dirname -- "$as_dir" ||
   13326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13327 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13328 	 X"$as_dir" : 'X\(//\)$' \| \
   13329 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13330 $as_echo X"$as_dir" |
   13331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13332 	    s//\1/
   13333 	    q
   13334 	  }
   13335 	  /^X\(\/\/\)[^/].*/{
   13336 	    s//\1/
   13337 	    q
   13338 	  }
   13339 	  /^X\(\/\/\)$/{
   13340 	    s//\1/
   13341 	    q
   13342 	  }
   13343 	  /^X\(\/\).*/{
   13344 	    s//\1/
   13345 	    q
   13346 	  }
   13347 	  s/.*/./; q'`
   13348       test -d "$as_dir" && break
   13349     done
   13350     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13351   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13352 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13353    { (exit 1); exit 1; }; }; }
   13354       # echo "creating $dirpart/$file"
   13355       echo '# dummy' > "$dirpart/$file"
   13356     done
   13357   done
   13358 }
   13359  ;;
   13360     "libtool":C)
   13361 
   13362     # See if we are running on zsh, and set the options which allow our
   13363     # commands through without removal of \ escapes.
   13364     if test -n "${ZSH_VERSION+set}" ; then
   13365       setopt NO_GLOB_SUBST
   13366     fi
   13367 
   13368     cfgfile="${ofile}T"
   13369     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13370     $RM "$cfgfile"
   13371 
   13372     cat <<_LT_EOF >> "$cfgfile"
   13373 #! $SHELL
   13374 
   13375 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13376 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13377 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13378 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13379 #
   13380 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13381 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13382 #   Written by Gordon Matzigkeit, 1996
   13383 #
   13384 #   This file is part of GNU Libtool.
   13385 #
   13386 # GNU Libtool is free software; you can redistribute it and/or
   13387 # modify it under the terms of the GNU General Public License as
   13388 # published by the Free Software Foundation; either version 2 of
   13389 # the License, or (at your option) any later version.
   13390 #
   13391 # As a special exception to the GNU General Public License,
   13392 # if you distribute this file as part of a program or library that
   13393 # is built using GNU Libtool, you may include this file under the
   13394 # same distribution terms that you use for the rest of that program.
   13395 #
   13396 # GNU Libtool is distributed in the hope that it will be useful,
   13397 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13398 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13399 # GNU General Public License for more details.
   13400 #
   13401 # You should have received a copy of the GNU General Public License
   13402 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13403 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13404 # obtained by writing to the Free Software Foundation, Inc.,
   13405 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13406 
   13407 
   13408 # The names of the tagged configurations supported by this script.
   13409 available_tags=""
   13410 
   13411 # ### BEGIN LIBTOOL CONFIG
   13412 
   13413 # Which release of libtool.m4 was used?
   13414 macro_version=$macro_version
   13415 macro_revision=$macro_revision
   13416 
   13417 # Whether or not to build shared libraries.
   13418 build_libtool_libs=$enable_shared
   13419 
   13420 # Whether or not to build static libraries.
   13421 build_old_libs=$enable_static
   13422 
   13423 # What type of objects to build.
   13424 pic_mode=$pic_mode
   13425 
   13426 # Whether or not to optimize for fast installation.
   13427 fast_install=$enable_fast_install
   13428 
   13429 # The host system.
   13430 host_alias=$host_alias
   13431 host=$host
   13432 host_os=$host_os
   13433 
   13434 # The build system.
   13435 build_alias=$build_alias
   13436 build=$build
   13437 build_os=$build_os
   13438 
   13439 # A sed program that does not truncate output.
   13440 SED=$lt_SED
   13441 
   13442 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13443 Xsed="\$SED -e 1s/^X//"
   13444 
   13445 # A grep program that handles long lines.
   13446 GREP=$lt_GREP
   13447 
   13448 # An ERE matcher.
   13449 EGREP=$lt_EGREP
   13450 
   13451 # A literal string matcher.
   13452 FGREP=$lt_FGREP
   13453 
   13454 # A BSD- or MS-compatible name lister.
   13455 NM=$lt_NM
   13456 
   13457 # Whether we need soft or hard links.
   13458 LN_S=$lt_LN_S
   13459 
   13460 # What is the maximum length of a command?
   13461 max_cmd_len=$max_cmd_len
   13462 
   13463 # Object file suffix (normally "o").
   13464 objext=$ac_objext
   13465 
   13466 # Executable file suffix (normally "").
   13467 exeext=$exeext
   13468 
   13469 # whether the shell understands "unset".
   13470 lt_unset=$lt_unset
   13471 
   13472 # turn spaces into newlines.
   13473 SP2NL=$lt_lt_SP2NL
   13474 
   13475 # turn newlines into spaces.
   13476 NL2SP=$lt_lt_NL2SP
   13477 
   13478 # How to create reloadable object files.
   13479 reload_flag=$lt_reload_flag
   13480 reload_cmds=$lt_reload_cmds
   13481 
   13482 # An object symbol dumper.
   13483 OBJDUMP=$lt_OBJDUMP
   13484 
   13485 # Method to check whether dependent libraries are shared objects.
   13486 deplibs_check_method=$lt_deplibs_check_method
   13487 
   13488 # Command to use when deplibs_check_method == "file_magic".
   13489 file_magic_cmd=$lt_file_magic_cmd
   13490 
   13491 # The archiver.
   13492 AR=$lt_AR
   13493 AR_FLAGS=$lt_AR_FLAGS
   13494 
   13495 # A symbol stripping program.
   13496 STRIP=$lt_STRIP
   13497 
   13498 # Commands used to install an old-style archive.
   13499 RANLIB=$lt_RANLIB
   13500 old_postinstall_cmds=$lt_old_postinstall_cmds
   13501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13502 
   13503 # A C compiler.
   13504 LTCC=$lt_CC
   13505 
   13506 # LTCC compiler flags.
   13507 LTCFLAGS=$lt_CFLAGS
   13508 
   13509 # Take the output of nm and produce a listing of raw symbols and C names.
   13510 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13511 
   13512 # Transform the output of nm in a proper C declaration.
   13513 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13514 
   13515 # Transform the output of nm in a C name address pair.
   13516 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13517 
   13518 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13519 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13520 
   13521 # The name of the directory that contains temporary libtool files.
   13522 objdir=$objdir
   13523 
   13524 # Shell to use when invoking shell scripts.
   13525 SHELL=$lt_SHELL
   13526 
   13527 # An echo program that does not interpret backslashes.
   13528 ECHO=$lt_ECHO
   13529 
   13530 # Used to examine libraries when file_magic_cmd begins with "file".
   13531 MAGIC_CMD=$MAGIC_CMD
   13532 
   13533 # Must we lock files when doing compilation?
   13534 need_locks=$lt_need_locks
   13535 
   13536 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13537 DSYMUTIL=$lt_DSYMUTIL
   13538 
   13539 # Tool to change global to local symbols on Mac OS X.
   13540 NMEDIT=$lt_NMEDIT
   13541 
   13542 # Tool to manipulate fat objects and archives on Mac OS X.
   13543 LIPO=$lt_LIPO
   13544 
   13545 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13546 OTOOL=$lt_OTOOL
   13547 
   13548 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13549 OTOOL64=$lt_OTOOL64
   13550 
   13551 # Old archive suffix (normally "a").
   13552 libext=$libext
   13553 
   13554 # Shared library suffix (normally ".so").
   13555 shrext_cmds=$lt_shrext_cmds
   13556 
   13557 # The commands to extract the exported symbol list from a shared archive.
   13558 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13559 
   13560 # Variables whose values should be saved in libtool wrapper scripts and
   13561 # restored at link time.
   13562 variables_saved_for_relink=$lt_variables_saved_for_relink
   13563 
   13564 # Do we need the "lib" prefix for modules?
   13565 need_lib_prefix=$need_lib_prefix
   13566 
   13567 # Do we need a version for libraries?
   13568 need_version=$need_version
   13569 
   13570 # Library versioning type.
   13571 version_type=$version_type
   13572 
   13573 # Shared library runtime path variable.
   13574 runpath_var=$runpath_var
   13575 
   13576 # Shared library path variable.
   13577 shlibpath_var=$shlibpath_var
   13578 
   13579 # Is shlibpath searched before the hard-coded library search path?
   13580 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13581 
   13582 # Format of library name prefix.
   13583 libname_spec=$lt_libname_spec
   13584 
   13585 # List of archive names.  First name is the real one, the rest are links.
   13586 # The last name is the one that the linker finds with -lNAME
   13587 library_names_spec=$lt_library_names_spec
   13588 
   13589 # The coded name of the library, if different from the real name.
   13590 soname_spec=$lt_soname_spec
   13591 
   13592 # Command to use after installation of a shared archive.
   13593 postinstall_cmds=$lt_postinstall_cmds
   13594 
   13595 # Command to use after uninstallation of a shared archive.
   13596 postuninstall_cmds=$lt_postuninstall_cmds
   13597 
   13598 # Commands used to finish a libtool library installation in a directory.
   13599 finish_cmds=$lt_finish_cmds
   13600 
   13601 # As "finish_cmds", except a single script fragment to be evaled but
   13602 # not shown.
   13603 finish_eval=$lt_finish_eval
   13604 
   13605 # Whether we should hardcode library paths into libraries.
   13606 hardcode_into_libs=$hardcode_into_libs
   13607 
   13608 # Compile-time system search path for libraries.
   13609 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13610 
   13611 # Run-time system search path for libraries.
   13612 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13613 
   13614 # Whether dlopen is supported.
   13615 dlopen_support=$enable_dlopen
   13616 
   13617 # Whether dlopen of programs is supported.
   13618 dlopen_self=$enable_dlopen_self
   13619 
   13620 # Whether dlopen of statically linked programs is supported.
   13621 dlopen_self_static=$enable_dlopen_self_static
   13622 
   13623 # Commands to strip libraries.
   13624 old_striplib=$lt_old_striplib
   13625 striplib=$lt_striplib
   13626 
   13627 
   13628 # The linker used to build libraries.
   13629 LD=$lt_LD
   13630 
   13631 # Commands used to build an old-style archive.
   13632 old_archive_cmds=$lt_old_archive_cmds
   13633 
   13634 # A language specific compiler.
   13635 CC=$lt_compiler
   13636 
   13637 # Is the compiler the GNU compiler?
   13638 with_gcc=$GCC
   13639 
   13640 # Compiler flag to turn off builtin functions.
   13641 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13642 
   13643 # How to pass a linker flag through the compiler.
   13644 wl=$lt_lt_prog_compiler_wl
   13645 
   13646 # Additional compiler flags for building library objects.
   13647 pic_flag=$lt_lt_prog_compiler_pic
   13648 
   13649 # Compiler flag to prevent dynamic linking.
   13650 link_static_flag=$lt_lt_prog_compiler_static
   13651 
   13652 # Does compiler simultaneously support -c and -o options?
   13653 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13654 
   13655 # Whether or not to add -lc for building shared libraries.
   13656 build_libtool_need_lc=$archive_cmds_need_lc
   13657 
   13658 # Whether or not to disallow shared libs when runtime libs are static.
   13659 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13660 
   13661 # Compiler flag to allow reflexive dlopens.
   13662 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13663 
   13664 # Compiler flag to generate shared objects directly from archives.
   13665 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13666 
   13667 # Whether the compiler copes with passing no objects directly.
   13668 compiler_needs_object=$lt_compiler_needs_object
   13669 
   13670 # Create an old-style archive from a shared archive.
   13671 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13672 
   13673 # Create a temporary old-style archive to link instead of a shared archive.
   13674 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13675 
   13676 # Commands used to build a shared archive.
   13677 archive_cmds=$lt_archive_cmds
   13678 archive_expsym_cmds=$lt_archive_expsym_cmds
   13679 
   13680 # Commands used to build a loadable module if different from building
   13681 # a shared archive.
   13682 module_cmds=$lt_module_cmds
   13683 module_expsym_cmds=$lt_module_expsym_cmds
   13684 
   13685 # Whether we are building with GNU ld or not.
   13686 with_gnu_ld=$lt_with_gnu_ld
   13687 
   13688 # Flag that allows shared libraries with undefined symbols to be built.
   13689 allow_undefined_flag=$lt_allow_undefined_flag
   13690 
   13691 # Flag that enforces no undefined symbols.
   13692 no_undefined_flag=$lt_no_undefined_flag
   13693 
   13694 # Flag to hardcode \$libdir into a binary during linking.
   13695 # This must work even if \$libdir does not exist
   13696 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13697 
   13698 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13699 # during linking.  This must work even if \$libdir does not exist.
   13700 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13701 
   13702 # Whether we need a single "-rpath" flag with a separated argument.
   13703 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13704 
   13705 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13706 # DIR into the resulting binary.
   13707 hardcode_direct=$hardcode_direct
   13708 
   13709 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13710 # DIR into the resulting binary and the resulting library dependency is
   13711 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13712 # library is relocated.
   13713 hardcode_direct_absolute=$hardcode_direct_absolute
   13714 
   13715 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13716 # into the resulting binary.
   13717 hardcode_minus_L=$hardcode_minus_L
   13718 
   13719 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13720 # into the resulting binary.
   13721 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13722 
   13723 # Set to "yes" if building a shared library automatically hardcodes DIR
   13724 # into the library and all subsequent libraries and executables linked
   13725 # against it.
   13726 hardcode_automatic=$hardcode_automatic
   13727 
   13728 # Set to yes if linker adds runtime paths of dependent libraries
   13729 # to runtime path list.
   13730 inherit_rpath=$inherit_rpath
   13731 
   13732 # Whether libtool must link a program against all its dependency libraries.
   13733 link_all_deplibs=$link_all_deplibs
   13734 
   13735 # Fix the shell variable \$srcfile for the compiler.
   13736 fix_srcfile_path=$lt_fix_srcfile_path
   13737 
   13738 # Set to "yes" if exported symbols are required.
   13739 always_export_symbols=$always_export_symbols
   13740 
   13741 # The commands to list exported symbols.
   13742 export_symbols_cmds=$lt_export_symbols_cmds
   13743 
   13744 # Symbols that should not be listed in the preloaded symbols.
   13745 exclude_expsyms=$lt_exclude_expsyms
   13746 
   13747 # Symbols that must always be exported.
   13748 include_expsyms=$lt_include_expsyms
   13749 
   13750 # Commands necessary for linking programs (against libraries) with templates.
   13751 prelink_cmds=$lt_prelink_cmds
   13752 
   13753 # Specify filename containing input files.
   13754 file_list_spec=$lt_file_list_spec
   13755 
   13756 # How to hardcode a shared library path into an executable.
   13757 hardcode_action=$hardcode_action
   13758 
   13759 # ### END LIBTOOL CONFIG
   13760 
   13761 _LT_EOF
   13762 
   13763   case $host_os in
   13764   aix3*)
   13765     cat <<\_LT_EOF >> "$cfgfile"
   13766 # AIX sometimes has problems with the GCC collect2 program.  For some
   13767 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13768 # vanish in a puff of smoke.
   13769 if test "X${COLLECT_NAMES+set}" != Xset; then
   13770   COLLECT_NAMES=
   13771   export COLLECT_NAMES
   13772 fi
   13773 _LT_EOF
   13774     ;;
   13775   esac
   13776 
   13777 
   13778 ltmain="$ac_aux_dir/ltmain.sh"
   13779 
   13780 
   13781   # We use sed instead of cat because bash on DJGPP gets confused if
   13782   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13783   # text mode, it properly converts lines to CR/LF.  This bash problem
   13784   # is reportedly fixed, but why not run on old versions too?
   13785   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13786     || (rm -f "$cfgfile"; exit 1)
   13787 
   13788   case $xsi_shell in
   13789   yes)
   13790     cat << \_LT_EOF >> "$cfgfile"
   13791 
   13792 # func_dirname file append nondir_replacement
   13793 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13794 # otherwise set result to NONDIR_REPLACEMENT.
   13795 func_dirname ()
   13796 {
   13797   case ${1} in
   13798     */*) func_dirname_result="${1%/*}${2}" ;;
   13799     *  ) func_dirname_result="${3}" ;;
   13800   esac
   13801 }
   13802 
   13803 # func_basename file
   13804 func_basename ()
   13805 {
   13806   func_basename_result="${1##*/}"
   13807 }
   13808 
   13809 # func_dirname_and_basename file append nondir_replacement
   13810 # perform func_basename and func_dirname in a single function
   13811 # call:
   13812 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13813 #             add APPEND to the result, otherwise set result
   13814 #             to NONDIR_REPLACEMENT.
   13815 #             value returned in "$func_dirname_result"
   13816 #   basename: Compute filename of FILE.
   13817 #             value retuned in "$func_basename_result"
   13818 # Implementation must be kept synchronized with func_dirname
   13819 # and func_basename. For efficiency, we do not delegate to
   13820 # those functions but instead duplicate the functionality here.
   13821 func_dirname_and_basename ()
   13822 {
   13823   case ${1} in
   13824     */*) func_dirname_result="${1%/*}${2}" ;;
   13825     *  ) func_dirname_result="${3}" ;;
   13826   esac
   13827   func_basename_result="${1##*/}"
   13828 }
   13829 
   13830 # func_stripname prefix suffix name
   13831 # strip PREFIX and SUFFIX off of NAME.
   13832 # PREFIX and SUFFIX must not contain globbing or regex special
   13833 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13834 # dot (in which case that matches only a dot).
   13835 func_stripname ()
   13836 {
   13837   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13838   # positional parameters, so assign one to ordinary parameter first.
   13839   func_stripname_result=${3}
   13840   func_stripname_result=${func_stripname_result#"${1}"}
   13841   func_stripname_result=${func_stripname_result%"${2}"}
   13842 }
   13843 
   13844 # func_opt_split
   13845 func_opt_split ()
   13846 {
   13847   func_opt_split_opt=${1%%=*}
   13848   func_opt_split_arg=${1#*=}
   13849 }
   13850 
   13851 # func_lo2o object
   13852 func_lo2o ()
   13853 {
   13854   case ${1} in
   13855     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13856     *)    func_lo2o_result=${1} ;;
   13857   esac
   13858 }
   13859 
   13860 # func_xform libobj-or-source
   13861 func_xform ()
   13862 {
   13863   func_xform_result=${1%.*}.lo
   13864 }
   13865 
   13866 # func_arith arithmetic-term...
   13867 func_arith ()
   13868 {
   13869   func_arith_result=$(( $* ))
   13870 }
   13871 
   13872 # func_len string
   13873 # STRING may not start with a hyphen.
   13874 func_len ()
   13875 {
   13876   func_len_result=${#1}
   13877 }
   13878 
   13879 _LT_EOF
   13880     ;;
   13881   *) # Bourne compatible functions.
   13882     cat << \_LT_EOF >> "$cfgfile"
   13883 
   13884 # func_dirname file append nondir_replacement
   13885 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13886 # otherwise set result to NONDIR_REPLACEMENT.
   13887 func_dirname ()
   13888 {
   13889   # Extract subdirectory from the argument.
   13890   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13891   if test "X$func_dirname_result" = "X${1}"; then
   13892     func_dirname_result="${3}"
   13893   else
   13894     func_dirname_result="$func_dirname_result${2}"
   13895   fi
   13896 }
   13897 
   13898 # func_basename file
   13899 func_basename ()
   13900 {
   13901   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13902 }
   13903 
   13904 
   13905 # func_stripname prefix suffix name
   13906 # strip PREFIX and SUFFIX off of NAME.
   13907 # PREFIX and SUFFIX must not contain globbing or regex special
   13908 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13909 # dot (in which case that matches only a dot).
   13910 # func_strip_suffix prefix name
   13911 func_stripname ()
   13912 {
   13913   case ${2} in
   13914     .*) func_stripname_result=`$ECHO "X${3}" \
   13915            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13916     *)  func_stripname_result=`$ECHO "X${3}" \
   13917            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13918   esac
   13919 }
   13920 
   13921 # sed scripts:
   13922 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13923 my_sed_long_arg='1s/^-[^=]*=//'
   13924 
   13925 # func_opt_split
   13926 func_opt_split ()
   13927 {
   13928   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13929   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13930 }
   13931 
   13932 # func_lo2o object
   13933 func_lo2o ()
   13934 {
   13935   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13936 }
   13937 
   13938 # func_xform libobj-or-source
   13939 func_xform ()
   13940 {
   13941   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   13942 }
   13943 
   13944 # func_arith arithmetic-term...
   13945 func_arith ()
   13946 {
   13947   func_arith_result=`expr "$@"`
   13948 }
   13949 
   13950 # func_len string
   13951 # STRING may not start with a hyphen.
   13952 func_len ()
   13953 {
   13954   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13955 }
   13956 
   13957 _LT_EOF
   13958 esac
   13959 
   13960 case $lt_shell_append in
   13961   yes)
   13962     cat << \_LT_EOF >> "$cfgfile"
   13963 
   13964 # func_append var value
   13965 # Append VALUE to the end of shell variable VAR.
   13966 func_append ()
   13967 {
   13968   eval "$1+=\$2"
   13969 }
   13970 _LT_EOF
   13971     ;;
   13972   *)
   13973     cat << \_LT_EOF >> "$cfgfile"
   13974 
   13975 # func_append var value
   13976 # Append VALUE to the end of shell variable VAR.
   13977 func_append ()
   13978 {
   13979   eval "$1=\$$1\$2"
   13980 }
   13981 
   13982 _LT_EOF
   13983     ;;
   13984   esac
   13985 
   13986 
   13987   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13988     || (rm -f "$cfgfile"; exit 1)
   13989 
   13990   mv -f "$cfgfile" "$ofile" ||
   13991     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13992   chmod +x "$ofile"
   13993 
   13994  ;;
   13995 
   13996   esac
   13997 done # for ac_tag
   13998 
   13999 
   14000 { (exit 0); exit 0; }
   14001 _ACEOF
   14002 chmod +x $CONFIG_STATUS
   14003 ac_clean_files=$ac_clean_files_save
   14004 
   14005 test $ac_write_fail = 0 ||
   14006   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   14007 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   14008    { (exit 1); exit 1; }; }
   14009 
   14010 
   14011 # configure is writing to config.log, and then calls config.status.
   14012 # config.status does its own redirection, appending to config.log.
   14013 # Unfortunately, on DOS this fails, as config.log is still kept open
   14014 # by configure, so config.status won't be able to write to it; its
   14015 # output is simply discarded.  So we exec the FD to /dev/null,
   14016 # effectively closing config.log, so it can be properly (re)opened and
   14017 # appended to by config.status.  When coming back to configure, we
   14018 # need to make the FD available again.
   14019 if test "$no_create" != yes; then
   14020   ac_cs_success=:
   14021   ac_config_status_args=
   14022   test "$silent" = yes &&
   14023     ac_config_status_args="$ac_config_status_args --quiet"
   14024   exec 5>/dev/null
   14025   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14026   exec 5>>config.log
   14027   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14028   # would make configure fail if this is the last instruction.
   14029   $ac_cs_success || { (exit 1); exit 1; }
   14030 fi
   14031 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14032   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14033 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14034 fi
   14035 
   14036