Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59 for xf86-video-nsc 2.8.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 2003 Free Software Foundation, Inc.
      8 # This configure script is free software; the Free Software Foundation
      9 # gives unlimited permission to copy, distribute and modify it.
     10 ## --------------------- ##
     11 ## M4sh Initialization.  ##
     12 ## --------------------- ##
     13 
     14 # Be Bourne compatible
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22   set -o posix
     23 fi
     24 DUALCASE=1; export DUALCASE # for MKS sh
     25 
     26 # Support unset when possible.
     27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28   as_unset=unset
     29 else
     30   as_unset=false
     31 fi
     32 
     33 
     34 # Work around bugs in pre-3.0 UWIN ksh.
     35 $as_unset ENV MAIL MAILPATH
     36 PS1='$ '
     37 PS2='> '
     38 PS4='+ '
     39 
     40 # NLS nuisances.
     41 for as_var in \
     42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44   LC_TELEPHONE LC_TIME
     45 do
     46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47     eval $as_var=C; export $as_var
     48   else
     49     $as_unset $as_var
     50   fi
     51 done
     52 
     53 # Required to use basename.
     54 if expr a : '\(a\)' >/dev/null 2>&1; then
     55   as_expr=expr
     56 else
     57   as_expr=false
     58 fi
     59 
     60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61   as_basename=basename
     62 else
     63   as_basename=false
     64 fi
     65 
     66 
     67 # Name of the executable.
     68 as_me=`$as_basename "$0" ||
     69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70 	 X"$0" : 'X\(//\)$' \| \
     71 	 X"$0" : 'X\(/\)$' \| \
     72 	 .     : '\(.\)' 2>/dev/null ||
     73 echo X/"$0" |
     74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77   	  s/.*/./; q'`
     78 
     79 
     80 # PATH needs CR, and LINENO needs CR and PATH.
     81 # Avoid depending upon Character Ranges.
     82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85 as_cr_digits='0123456789'
     86 as_cr_alnum=$as_cr_Letters$as_cr_digits
     87 
     88 # The user is always right.
     89 if test "${PATH_SEPARATOR+set}" != set; then
     90   echo "#! /bin/sh" >conf$$.sh
     91   echo  "exit 0"   >>conf$$.sh
     92   chmod +x conf$$.sh
     93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94     PATH_SEPARATOR=';'
     95   else
     96     PATH_SEPARATOR=:
     97   fi
     98   rm -f conf$$.sh
     99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138 	 case $as_dir in
    139 	 /*)
    140 	   if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148 	     CONFIG_SHELL=$as_dir/$as_base
    149 	     export CONFIG_SHELL
    150 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151 	   fi;;
    152 	 esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
    167     sed '
    168       N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172       t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
    175     ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
    180   # Don't try to exec as it changes $[0], causing all sort of problems
    181   # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
    184   # Exit status is that of the last command.
    185   exit
    186 }
    187 
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='	' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202 rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
    219 
    220 if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
    222 else
    223   test -d ./-p && rmdir ./-p
    224   as_mkdir_p=false
    225 fi
    226 
    227 as_executable_p="test -f"
    228 
    229 # Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231 
    232 # Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234 
    235 
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS=" 	$as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
    245 
    246 
    247 # Check that we are running under the correct shell.
    248 SHELL=${CONFIG_SHELL-/bin/sh}
    249 
    250 case X$ECHO in
    251 X*--fallback-echo)
    252   # Remove one level of quotation (which was required for Make).
    253   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    254   ;;
    255 esac
    256 
    257 echo=${ECHO-echo}
    258 if test "X$1" = X--no-reexec; then
    259   # Discard the --no-reexec flag, and continue.
    260   shift
    261 elif test "X$1" = X--fallback-echo; then
    262   # Avoid inline document here, it may be left over
    263   :
    264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    265   # Yippee, $echo works!
    266   :
    267 else
    268   # Restart under the correct shell.
    269   exec $SHELL "$0" --no-reexec ${1+"$@"}
    270 fi
    271 
    272 if test "X$1" = X--fallback-echo; then
    273   # used as fallback echo
    274   shift
    275   cat <<EOF
    276 $*
    277 EOF
    278   exit 0
    279 fi
    280 
    281 # The HP-UX ksh and POSIX shell print the target directory to stdout
    282 # if CDPATH is set.
    283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    284 
    285 if test -z "$ECHO"; then
    286 if test "X${echo_test_string+set}" != Xset; then
    287 # find a string as large as possible, as long as the shell can cope with it
    288   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    289     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    290     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    291        echo_test_string=`eval $cmd` &&
    292        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    293     then
    294       break
    295     fi
    296   done
    297 fi
    298 
    299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    300    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    301    test "X$echo_testing_string" = "X$echo_test_string"; then
    302   :
    303 else
    304   # The Solaris, AIX, and Digital Unix default echo programs unquote
    305   # backslashes.  This makes it impossible to quote backslashes using
    306   #   echo "$something" | sed 's/\\/\\\\/g'
    307   #
    308   # So, first we look for a working echo in the user's PATH.
    309 
    310   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    311   for dir in $PATH /usr/ucb; do
    312     IFS="$lt_save_ifs"
    313     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    314        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    315        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    316        test "X$echo_testing_string" = "X$echo_test_string"; then
    317       echo="$dir/echo"
    318       break
    319     fi
    320   done
    321   IFS="$lt_save_ifs"
    322 
    323   if test "X$echo" = Xecho; then
    324     # We didn't find a better echo, so look for alternatives.
    325     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    326        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    327        test "X$echo_testing_string" = "X$echo_test_string"; then
    328       # This shell has a builtin print -r that does the trick.
    329       echo='print -r'
    330     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    331 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    332       # If we have ksh, try running configure again with it.
    333       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    334       export ORIGINAL_CONFIG_SHELL
    335       CONFIG_SHELL=/bin/ksh
    336       export CONFIG_SHELL
    337       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    338     else
    339       # Try using printf.
    340       echo='printf %s\n'
    341       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    342 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    343 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    344 	# Cool, printf works
    345 	:
    346       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    347 	   test "X$echo_testing_string" = 'X\t' &&
    348 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    349 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    350 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    351 	export CONFIG_SHELL
    352 	SHELL="$CONFIG_SHELL"
    353 	export SHELL
    354 	echo="$CONFIG_SHELL $0 --fallback-echo"
    355       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    356 	   test "X$echo_testing_string" = 'X\t' &&
    357 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    358 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    359 	echo="$CONFIG_SHELL $0 --fallback-echo"
    360       else
    361 	# maybe with a smaller string...
    362 	prev=:
    363 
    364 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    365 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    366 	  then
    367 	    break
    368 	  fi
    369 	  prev="$cmd"
    370 	done
    371 
    372 	if test "$prev" != 'sed 50q "$0"'; then
    373 	  echo_test_string=`eval $prev`
    374 	  export echo_test_string
    375 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    376 	else
    377 	  # Oops.  We lost completely, so just stick with echo.
    378 	  echo=echo
    379 	fi
    380       fi
    381     fi
    382   fi
    383 fi
    384 fi
    385 
    386 # Copy echo and quote the copy suitably for passing to libtool from
    387 # the Makefile, instead of quoting the original, which is used later.
    388 ECHO=$echo
    389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    390    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    391 fi
    392 
    393 
    394 
    395 
    396 tagnames=${tagnames+${tagnames},}CXX
    397 
    398 tagnames=${tagnames+${tagnames},}F77
    399 
    400 # Name of the host.
    401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    402 # so uname gets run too.
    403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    404 
    405 exec 6>&1
    406 
    407 #
    408 # Initializations.
    409 #
    410 ac_default_prefix=/usr/local
    411 ac_config_libobj_dir=.
    412 cross_compiling=no
    413 subdirs=
    414 MFLAGS=
    415 MAKEFLAGS=
    416 SHELL=${CONFIG_SHELL-/bin/sh}
    417 
    418 # Maximum number of lines to put in a shell here document.
    419 # This variable seems obsolete.  It should probably be removed, and
    420 # only ac_max_sed_lines should be used.
    421 : ${ac_max_here_lines=38}
    422 
    423 # Identity of this package.
    424 PACKAGE_NAME='xf86-video-nsc'
    425 PACKAGE_TARNAME='xf86-video-nsc'
    426 PACKAGE_VERSION='2.8.2'
    427 PACKAGE_STRING='xf86-video-nsc 2.8.2'
    428 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    429 
    430 ac_unique_file="Makefile.am"
    431 # Factoring default headers for most tests.
    432 ac_includes_default="\
    433 #include <stdio.h>
    434 #if HAVE_SYS_TYPES_H
    435 # include <sys/types.h>
    436 #endif
    437 #if HAVE_SYS_STAT_H
    438 # include <sys/stat.h>
    439 #endif
    440 #if STDC_HEADERS
    441 # include <stdlib.h>
    442 # include <stddef.h>
    443 #else
    444 # if HAVE_STDLIB_H
    445 #  include <stdlib.h>
    446 # endif
    447 #endif
    448 #if HAVE_STRING_H
    449 # if !STDC_HEADERS && HAVE_MEMORY_H
    450 #  include <memory.h>
    451 # endif
    452 # include <string.h>
    453 #endif
    454 #if HAVE_STRINGS_H
    455 # include <strings.h>
    456 #endif
    457 #if HAVE_INTTYPES_H
    458 # include <inttypes.h>
    459 #else
    460 # if HAVE_STDINT_H
    461 #  include <stdint.h>
    462 # endif
    463 #endif
    464 #if HAVE_UNISTD_H
    465 # include <unistd.h>
    466 #endif"
    467 
    468 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL CCAS CCASFLAGS PKG_CONFIG ac_pt_PKG_CONFIG XORG_CFLAGS XORG_LIBS moduledir I386ARCH_TRUE I386ARCH_FALSE DRIVER_NAME APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
    469 ac_subst_files=''
    470 
    471 # Initialize some variables set by options.
    472 ac_init_help=
    473 ac_init_version=false
    474 # The variables have the same names as the options, with
    475 # dashes changed to underlines.
    476 cache_file=/dev/null
    477 exec_prefix=NONE
    478 no_create=
    479 no_recursion=
    480 prefix=NONE
    481 program_prefix=NONE
    482 program_suffix=NONE
    483 program_transform_name=s,x,x,
    484 silent=
    485 site=
    486 srcdir=
    487 verbose=
    488 x_includes=NONE
    489 x_libraries=NONE
    490 
    491 # Installation directory options.
    492 # These are left unexpanded so users can "make install exec_prefix=/foo"
    493 # and all the variables that are supposed to be based on exec_prefix
    494 # by default will actually change.
    495 # Use braces instead of parens because sh, perl, etc. also accept them.
    496 bindir='${exec_prefix}/bin'
    497 sbindir='${exec_prefix}/sbin'
    498 libexecdir='${exec_prefix}/libexec'
    499 datadir='${prefix}/share'
    500 sysconfdir='${prefix}/etc'
    501 sharedstatedir='${prefix}/com'
    502 localstatedir='${prefix}/var'
    503 libdir='${exec_prefix}/lib'
    504 includedir='${prefix}/include'
    505 oldincludedir='/usr/include'
    506 infodir='${prefix}/info'
    507 mandir='${prefix}/man'
    508 
    509 ac_prev=
    510 for ac_option
    511 do
    512   # If the previous option needs an argument, assign it.
    513   if test -n "$ac_prev"; then
    514     eval "$ac_prev=\$ac_option"
    515     ac_prev=
    516     continue
    517   fi
    518 
    519   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    520 
    521   # Accept the important Cygnus configure options, so we can diagnose typos.
    522 
    523   case $ac_option in
    524 
    525   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    526     ac_prev=bindir ;;
    527   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    528     bindir=$ac_optarg ;;
    529 
    530   -build | --build | --buil | --bui | --bu)
    531     ac_prev=build_alias ;;
    532   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    533     build_alias=$ac_optarg ;;
    534 
    535   -cache-file | --cache-file | --cache-fil | --cache-fi \
    536   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    537     ac_prev=cache_file ;;
    538   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    539   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    540     cache_file=$ac_optarg ;;
    541 
    542   --config-cache | -C)
    543     cache_file=config.cache ;;
    544 
    545   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    546     ac_prev=datadir ;;
    547   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    548   | --da=*)
    549     datadir=$ac_optarg ;;
    550 
    551   -disable-* | --disable-*)
    552     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    553     # Reject names that are not valid shell variable names.
    554     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    555       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    556    { (exit 1); exit 1; }; }
    557     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    558     eval "enable_$ac_feature=no" ;;
    559 
    560   -enable-* | --enable-*)
    561     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    562     # Reject names that are not valid shell variable names.
    563     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    564       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    565    { (exit 1); exit 1; }; }
    566     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    567     case $ac_option in
    568       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    569       *) ac_optarg=yes ;;
    570     esac
    571     eval "enable_$ac_feature='$ac_optarg'" ;;
    572 
    573   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    574   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    575   | --exec | --exe | --ex)
    576     ac_prev=exec_prefix ;;
    577   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    578   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    579   | --exec=* | --exe=* | --ex=*)
    580     exec_prefix=$ac_optarg ;;
    581 
    582   -gas | --gas | --ga | --g)
    583     # Obsolete; use --with-gas.
    584     with_gas=yes ;;
    585 
    586   -help | --help | --hel | --he | -h)
    587     ac_init_help=long ;;
    588   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    589     ac_init_help=recursive ;;
    590   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    591     ac_init_help=short ;;
    592 
    593   -host | --host | --hos | --ho)
    594     ac_prev=host_alias ;;
    595   -host=* | --host=* | --hos=* | --ho=*)
    596     host_alias=$ac_optarg ;;
    597 
    598   -includedir | --includedir | --includedi | --included | --include \
    599   | --includ | --inclu | --incl | --inc)
    600     ac_prev=includedir ;;
    601   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    602   | --includ=* | --inclu=* | --incl=* | --inc=*)
    603     includedir=$ac_optarg ;;
    604 
    605   -infodir | --infodir | --infodi | --infod | --info | --inf)
    606     ac_prev=infodir ;;
    607   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    608     infodir=$ac_optarg ;;
    609 
    610   -libdir | --libdir | --libdi | --libd)
    611     ac_prev=libdir ;;
    612   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    613     libdir=$ac_optarg ;;
    614 
    615   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    616   | --libexe | --libex | --libe)
    617     ac_prev=libexecdir ;;
    618   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    619   | --libexe=* | --libex=* | --libe=*)
    620     libexecdir=$ac_optarg ;;
    621 
    622   -localstatedir | --localstatedir | --localstatedi | --localstated \
    623   | --localstate | --localstat | --localsta | --localst \
    624   | --locals | --local | --loca | --loc | --lo)
    625     ac_prev=localstatedir ;;
    626   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    627   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    628   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    629     localstatedir=$ac_optarg ;;
    630 
    631   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    632     ac_prev=mandir ;;
    633   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    634     mandir=$ac_optarg ;;
    635 
    636   -nfp | --nfp | --nf)
    637     # Obsolete; use --without-fp.
    638     with_fp=no ;;
    639 
    640   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    641   | --no-cr | --no-c | -n)
    642     no_create=yes ;;
    643 
    644   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    645   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    646     no_recursion=yes ;;
    647 
    648   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    649   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    650   | --oldin | --oldi | --old | --ol | --o)
    651     ac_prev=oldincludedir ;;
    652   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    653   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    654   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    655     oldincludedir=$ac_optarg ;;
    656 
    657   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    658     ac_prev=prefix ;;
    659   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    660     prefix=$ac_optarg ;;
    661 
    662   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    663   | --program-pre | --program-pr | --program-p)
    664     ac_prev=program_prefix ;;
    665   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    666   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    667     program_prefix=$ac_optarg ;;
    668 
    669   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    670   | --program-suf | --program-su | --program-s)
    671     ac_prev=program_suffix ;;
    672   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    673   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    674     program_suffix=$ac_optarg ;;
    675 
    676   -program-transform-name | --program-transform-name \
    677   | --program-transform-nam | --program-transform-na \
    678   | --program-transform-n | --program-transform- \
    679   | --program-transform | --program-transfor \
    680   | --program-transfo | --program-transf \
    681   | --program-trans | --program-tran \
    682   | --progr-tra | --program-tr | --program-t)
    683     ac_prev=program_transform_name ;;
    684   -program-transform-name=* | --program-transform-name=* \
    685   | --program-transform-nam=* | --program-transform-na=* \
    686   | --program-transform-n=* | --program-transform-=* \
    687   | --program-transform=* | --program-transfor=* \
    688   | --program-transfo=* | --program-transf=* \
    689   | --program-trans=* | --program-tran=* \
    690   | --progr-tra=* | --program-tr=* | --program-t=*)
    691     program_transform_name=$ac_optarg ;;
    692 
    693   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    694   | -silent | --silent | --silen | --sile | --sil)
    695     silent=yes ;;
    696 
    697   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    698     ac_prev=sbindir ;;
    699   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    700   | --sbi=* | --sb=*)
    701     sbindir=$ac_optarg ;;
    702 
    703   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    704   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    705   | --sharedst | --shareds | --shared | --share | --shar \
    706   | --sha | --sh)
    707     ac_prev=sharedstatedir ;;
    708   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    709   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    710   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    711   | --sha=* | --sh=*)
    712     sharedstatedir=$ac_optarg ;;
    713 
    714   -site | --site | --sit)
    715     ac_prev=site ;;
    716   -site=* | --site=* | --sit=*)
    717     site=$ac_optarg ;;
    718 
    719   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    720     ac_prev=srcdir ;;
    721   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    722     srcdir=$ac_optarg ;;
    723 
    724   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    725   | --syscon | --sysco | --sysc | --sys | --sy)
    726     ac_prev=sysconfdir ;;
    727   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    728   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    729     sysconfdir=$ac_optarg ;;
    730 
    731   -target | --target | --targe | --targ | --tar | --ta | --t)
    732     ac_prev=target_alias ;;
    733   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    734     target_alias=$ac_optarg ;;
    735 
    736   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    737     verbose=yes ;;
    738 
    739   -version | --version | --versio | --versi | --vers | -V)
    740     ac_init_version=: ;;
    741 
    742   -with-* | --with-*)
    743     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    744     # Reject names that are not valid shell variable names.
    745     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    746       { echo "$as_me: error: invalid package name: $ac_package" >&2
    747    { (exit 1); exit 1; }; }
    748     ac_package=`echo $ac_package| sed 's/-/_/g'`
    749     case $ac_option in
    750       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    751       *) ac_optarg=yes ;;
    752     esac
    753     eval "with_$ac_package='$ac_optarg'" ;;
    754 
    755   -without-* | --without-*)
    756     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    757     # Reject names that are not valid shell variable names.
    758     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    759       { echo "$as_me: error: invalid package name: $ac_package" >&2
    760    { (exit 1); exit 1; }; }
    761     ac_package=`echo $ac_package | sed 's/-/_/g'`
    762     eval "with_$ac_package=no" ;;
    763 
    764   --x)
    765     # Obsolete; use --with-x.
    766     with_x=yes ;;
    767 
    768   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    769   | --x-incl | --x-inc | --x-in | --x-i)
    770     ac_prev=x_includes ;;
    771   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    772   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    773     x_includes=$ac_optarg ;;
    774 
    775   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    776   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    777     ac_prev=x_libraries ;;
    778   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    779   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    780     x_libraries=$ac_optarg ;;
    781 
    782   -*) { echo "$as_me: error: unrecognized option: $ac_option
    783 Try \`$0 --help' for more information." >&2
    784    { (exit 1); exit 1; }; }
    785     ;;
    786 
    787   *=*)
    788     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    789     # Reject names that are not valid shell variable names.
    790     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    791       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    792    { (exit 1); exit 1; }; }
    793     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    794     eval "$ac_envvar='$ac_optarg'"
    795     export $ac_envvar ;;
    796 
    797   *)
    798     # FIXME: should be removed in autoconf 3.0.
    799     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    800     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    801       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    802     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    803     ;;
    804 
    805   esac
    806 done
    807 
    808 if test -n "$ac_prev"; then
    809   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    810   { echo "$as_me: error: missing argument to $ac_option" >&2
    811    { (exit 1); exit 1; }; }
    812 fi
    813 
    814 # Be sure to have absolute paths.
    815 for ac_var in exec_prefix prefix
    816 do
    817   eval ac_val=$`echo $ac_var`
    818   case $ac_val in
    819     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    820     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    821    { (exit 1); exit 1; }; };;
    822   esac
    823 done
    824 
    825 # Be sure to have absolute paths.
    826 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    827 	      localstatedir libdir includedir oldincludedir infodir mandir
    828 do
    829   eval ac_val=$`echo $ac_var`
    830   case $ac_val in
    831     [\\/$]* | ?:[\\/]* ) ;;
    832     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    833    { (exit 1); exit 1; }; };;
    834   esac
    835 done
    836 
    837 # There might be people who depend on the old broken behavior: `$host'
    838 # used to hold the argument of --host etc.
    839 # FIXME: To remove some day.
    840 build=$build_alias
    841 host=$host_alias
    842 target=$target_alias
    843 
    844 # FIXME: To remove some day.
    845 if test "x$host_alias" != x; then
    846   if test "x$build_alias" = x; then
    847     cross_compiling=maybe
    848     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    849     If a cross compiler is detected then cross compile mode will be used." >&2
    850   elif test "x$build_alias" != "x$host_alias"; then
    851     cross_compiling=yes
    852   fi
    853 fi
    854 
    855 ac_tool_prefix=
    856 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    857 
    858 test "$silent" = yes && exec 6>/dev/null
    859 
    860 
    861 # Find the source files, if location was not specified.
    862 if test -z "$srcdir"; then
    863   ac_srcdir_defaulted=yes
    864   # Try the directory containing this script, then its parent.
    865   ac_confdir=`(dirname "$0") 2>/dev/null ||
    866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    867 	 X"$0" : 'X\(//\)[^/]' \| \
    868 	 X"$0" : 'X\(//\)$' \| \
    869 	 X"$0" : 'X\(/\)' \| \
    870 	 .     : '\(.\)' 2>/dev/null ||
    871 echo X"$0" |
    872     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    873   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    874   	  /^X\(\/\/\)$/{ s//\1/; q; }
    875   	  /^X\(\/\).*/{ s//\1/; q; }
    876   	  s/.*/./; q'`
    877   srcdir=$ac_confdir
    878   if test ! -r $srcdir/$ac_unique_file; then
    879     srcdir=..
    880   fi
    881 else
    882   ac_srcdir_defaulted=no
    883 fi
    884 if test ! -r $srcdir/$ac_unique_file; then
    885   if test "$ac_srcdir_defaulted" = yes; then
    886     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    887    { (exit 1); exit 1; }; }
    888   else
    889     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    890    { (exit 1); exit 1; }; }
    891   fi
    892 fi
    893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    894   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    895    { (exit 1); exit 1; }; }
    896 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    897 ac_env_build_alias_set=${build_alias+set}
    898 ac_env_build_alias_value=$build_alias
    899 ac_cv_env_build_alias_set=${build_alias+set}
    900 ac_cv_env_build_alias_value=$build_alias
    901 ac_env_host_alias_set=${host_alias+set}
    902 ac_env_host_alias_value=$host_alias
    903 ac_cv_env_host_alias_set=${host_alias+set}
    904 ac_cv_env_host_alias_value=$host_alias
    905 ac_env_target_alias_set=${target_alias+set}
    906 ac_env_target_alias_value=$target_alias
    907 ac_cv_env_target_alias_set=${target_alias+set}
    908 ac_cv_env_target_alias_value=$target_alias
    909 ac_env_CC_set=${CC+set}
    910 ac_env_CC_value=$CC
    911 ac_cv_env_CC_set=${CC+set}
    912 ac_cv_env_CC_value=$CC
    913 ac_env_CFLAGS_set=${CFLAGS+set}
    914 ac_env_CFLAGS_value=$CFLAGS
    915 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    916 ac_cv_env_CFLAGS_value=$CFLAGS
    917 ac_env_LDFLAGS_set=${LDFLAGS+set}
    918 ac_env_LDFLAGS_value=$LDFLAGS
    919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    920 ac_cv_env_LDFLAGS_value=$LDFLAGS
    921 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    922 ac_env_CPPFLAGS_value=$CPPFLAGS
    923 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    924 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    925 ac_env_CPP_set=${CPP+set}
    926 ac_env_CPP_value=$CPP
    927 ac_cv_env_CPP_set=${CPP+set}
    928 ac_cv_env_CPP_value=$CPP
    929 ac_env_CXX_set=${CXX+set}
    930 ac_env_CXX_value=$CXX
    931 ac_cv_env_CXX_set=${CXX+set}
    932 ac_cv_env_CXX_value=$CXX
    933 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    934 ac_env_CXXFLAGS_value=$CXXFLAGS
    935 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    936 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    937 ac_env_CXXCPP_set=${CXXCPP+set}
    938 ac_env_CXXCPP_value=$CXXCPP
    939 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    940 ac_cv_env_CXXCPP_value=$CXXCPP
    941 ac_env_F77_set=${F77+set}
    942 ac_env_F77_value=$F77
    943 ac_cv_env_F77_set=${F77+set}
    944 ac_cv_env_F77_value=$F77
    945 ac_env_FFLAGS_set=${FFLAGS+set}
    946 ac_env_FFLAGS_value=$FFLAGS
    947 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    948 ac_cv_env_FFLAGS_value=$FFLAGS
    949 ac_env_CCAS_set=${CCAS+set}
    950 ac_env_CCAS_value=$CCAS
    951 ac_cv_env_CCAS_set=${CCAS+set}
    952 ac_cv_env_CCAS_value=$CCAS
    953 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
    954 ac_env_CCASFLAGS_value=$CCASFLAGS
    955 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
    956 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
    957 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    958 ac_env_PKG_CONFIG_value=$PKG_CONFIG
    959 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    960 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    961 ac_env_XORG_CFLAGS_set=${XORG_CFLAGS+set}
    962 ac_env_XORG_CFLAGS_value=$XORG_CFLAGS
    963 ac_cv_env_XORG_CFLAGS_set=${XORG_CFLAGS+set}
    964 ac_cv_env_XORG_CFLAGS_value=$XORG_CFLAGS
    965 ac_env_XORG_LIBS_set=${XORG_LIBS+set}
    966 ac_env_XORG_LIBS_value=$XORG_LIBS
    967 ac_cv_env_XORG_LIBS_set=${XORG_LIBS+set}
    968 ac_cv_env_XORG_LIBS_value=$XORG_LIBS
    969 
    970 #
    971 # Report the --help message.
    972 #
    973 if test "$ac_init_help" = "long"; then
    974   # Omit some internal or obsolete options to make the list less imposing.
    975   # This message is too long to be a string in the A/UX 3.1 sh.
    976   cat <<_ACEOF
    977 \`configure' configures xf86-video-nsc 2.8.2 to adapt to many kinds of systems.
    978 
    979 Usage: $0 [OPTION]... [VAR=VALUE]...
    980 
    981 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    982 VAR=VALUE.  See below for descriptions of some of the useful variables.
    983 
    984 Defaults for the options are specified in brackets.
    985 
    986 Configuration:
    987   -h, --help              display this help and exit
    988       --help=short        display options specific to this package
    989       --help=recursive    display the short help of all the included packages
    990   -V, --version           display version information and exit
    991   -q, --quiet, --silent   do not print \`checking...' messages
    992       --cache-file=FILE   cache test results in FILE [disabled]
    993   -C, --config-cache      alias for \`--cache-file=config.cache'
    994   -n, --no-create         do not create output files
    995       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    996 
    997 _ACEOF
    998 
    999   cat <<_ACEOF
   1000 Installation directories:
   1001   --prefix=PREFIX         install architecture-independent files in PREFIX
   1002 			  [$ac_default_prefix]
   1003   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1004 			  [PREFIX]
   1005 
   1006 By default, \`make install' will install all the files in
   1007 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1008 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1009 for instance \`--prefix=\$HOME'.
   1010 
   1011 For better control, use the options below.
   1012 
   1013 Fine tuning of the installation directories:
   1014   --bindir=DIR           user executables [EPREFIX/bin]
   1015   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1016   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1017   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
   1018   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1019   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1020   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1021   --libdir=DIR           object code libraries [EPREFIX/lib]
   1022   --includedir=DIR       C header files [PREFIX/include]
   1023   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1024   --infodir=DIR          info documentation [PREFIX/info]
   1025   --mandir=DIR           man documentation [PREFIX/man]
   1026 _ACEOF
   1027 
   1028   cat <<\_ACEOF
   1029 
   1030 Program names:
   1031   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1032   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1033   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1034 
   1035 System types:
   1036   --build=BUILD     configure for building on BUILD [guessed]
   1037   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1038 _ACEOF
   1039 fi
   1040 
   1041 if test -n "$ac_init_help"; then
   1042   case $ac_init_help in
   1043      short | recursive ) echo "Configuration of xf86-video-nsc 2.8.2:";;
   1044    esac
   1045   cat <<\_ACEOF
   1046 
   1047 Optional Features:
   1048   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1049   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1050   --enable-maintainer-mode  enable make rules and dependencies not useful
   1051 			  (and sometimes confusing) to the casual installer
   1052   --enable-static[=PKGS]
   1053                           build static libraries [default=no]
   1054   --enable-shared[=PKGS]
   1055                           build shared libraries [default=yes]
   1056   --enable-fast-install[=PKGS]
   1057                           optimize for fast installation [default=yes]
   1058   --disable-dependency-tracking  speeds up one-time build
   1059   --enable-dependency-tracking   do not reject slow dependency extractors
   1060   --disable-libtool-lock  avoid locking (might break parallel builds)
   1061 
   1062 Optional Packages:
   1063   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1064   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1065   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1066   --with-pic              try to use only PIC/non-PIC objects [default=use
   1067                           both]
   1068   --with-tags[=TAGS]
   1069                           include additional configurations [automatic]
   1070   --with-xorg-module-dir=DIR
   1071                           Default xorg module directory
   1072                           [default=$libdir/xorg/modules]
   1073   --with-release-version=STRING
   1074                           Use release version string in package name
   1075 
   1076 Some influential environment variables:
   1077   CC          C compiler command
   1078   CFLAGS      C compiler flags
   1079   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1080               nonstandard directory <lib dir>
   1081   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   1082               headers in a nonstandard directory <include dir>
   1083   CPP         C preprocessor
   1084   CXX         C++ compiler command
   1085   CXXFLAGS    C++ compiler flags
   1086   CXXCPP      C++ preprocessor
   1087   F77         Fortran 77 compiler command
   1088   FFLAGS      Fortran 77 compiler flags
   1089   CCAS        assembler compiler command (defaults to CC)
   1090   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1091   PKG_CONFIG  path to pkg-config utility
   1092   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1093   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1094 
   1095 Use these variables to override the choices made by `configure' or to help
   1096 it to find libraries and programs with nonstandard names/locations.
   1097 
   1098 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1099 _ACEOF
   1100 fi
   1101 
   1102 if test "$ac_init_help" = "recursive"; then
   1103   # If there are subdirs, report their specific --help.
   1104   ac_popdir=`pwd`
   1105   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1106     test -d $ac_dir || continue
   1107     ac_builddir=.
   1108 
   1109 if test "$ac_dir" != .; then
   1110   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1111   # A "../" for each directory in $ac_dir_suffix.
   1112   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   1113 else
   1114   ac_dir_suffix= ac_top_builddir=
   1115 fi
   1116 
   1117 case $srcdir in
   1118   .)  # No --srcdir option.  We are building in place.
   1119     ac_srcdir=.
   1120     if test -z "$ac_top_builddir"; then
   1121        ac_top_srcdir=.
   1122     else
   1123        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   1124     fi ;;
   1125   [\\/]* | ?:[\\/]* )  # Absolute path.
   1126     ac_srcdir=$srcdir$ac_dir_suffix;
   1127     ac_top_srcdir=$srcdir ;;
   1128   *) # Relative path.
   1129     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   1130     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   1131 esac
   1132 
   1133 # Do not use `cd foo && pwd` to compute absolute paths, because
   1134 # the directories may not exist.
   1135 case `pwd` in
   1136 .) ac_abs_builddir="$ac_dir";;
   1137 *)
   1138   case "$ac_dir" in
   1139   .) ac_abs_builddir=`pwd`;;
   1140   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   1141   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   1142   esac;;
   1143 esac
   1144 case $ac_abs_builddir in
   1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   1146 *)
   1147   case ${ac_top_builddir}. in
   1148   .) ac_abs_top_builddir=$ac_abs_builddir;;
   1149   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   1150   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   1151   esac;;
   1152 esac
   1153 case $ac_abs_builddir in
   1154 .) ac_abs_srcdir=$ac_srcdir;;
   1155 *)
   1156   case $ac_srcdir in
   1157   .) ac_abs_srcdir=$ac_abs_builddir;;
   1158   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   1159   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   1160   esac;;
   1161 esac
   1162 case $ac_abs_builddir in
   1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   1164 *)
   1165   case $ac_top_srcdir in
   1166   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   1167   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   1168   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   1169   esac;;
   1170 esac
   1171 
   1172     cd $ac_dir
   1173     # Check for guested configure; otherwise get Cygnus style configure.
   1174     if test -f $ac_srcdir/configure.gnu; then
   1175       echo
   1176       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   1177     elif test -f $ac_srcdir/configure; then
   1178       echo
   1179       $SHELL $ac_srcdir/configure  --help=recursive
   1180     elif test -f $ac_srcdir/configure.ac ||
   1181 	   test -f $ac_srcdir/configure.in; then
   1182       echo
   1183       $ac_configure --help
   1184     else
   1185       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1186     fi
   1187     cd $ac_popdir
   1188   done
   1189 fi
   1190 
   1191 test -n "$ac_init_help" && exit 0
   1192 if $ac_init_version; then
   1193   cat <<\_ACEOF
   1194 xf86-video-nsc configure 2.8.2
   1195 generated by GNU Autoconf 2.59
   1196 
   1197 Copyright (C) 2003 Free Software Foundation, Inc.
   1198 This configure script is free software; the Free Software Foundation
   1199 gives unlimited permission to copy, distribute and modify it.
   1200 _ACEOF
   1201   exit 0
   1202 fi
   1203 exec 5>config.log
   1204 cat >&5 <<_ACEOF
   1205 This file contains any messages produced by compilers while
   1206 running configure, to aid debugging if configure makes a mistake.
   1207 
   1208 It was created by xf86-video-nsc $as_me 2.8.2, which was
   1209 generated by GNU Autoconf 2.59.  Invocation command line was
   1210 
   1211   $ $0 $@
   1212 
   1213 _ACEOF
   1214 {
   1215 cat <<_ASUNAME
   1216 ## --------- ##
   1217 ## Platform. ##
   1218 ## --------- ##
   1219 
   1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1225 
   1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1227 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1228 
   1229 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1230 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1232 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1233 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1234 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1235 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1236 
   1237 _ASUNAME
   1238 
   1239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1240 for as_dir in $PATH
   1241 do
   1242   IFS=$as_save_IFS
   1243   test -z "$as_dir" && as_dir=.
   1244   echo "PATH: $as_dir"
   1245 done
   1246 
   1247 } >&5
   1248 
   1249 cat >&5 <<_ACEOF
   1250 
   1251 
   1252 ## ----------- ##
   1253 ## Core tests. ##
   1254 ## ----------- ##
   1255 
   1256 _ACEOF
   1257 
   1258 
   1259 # Keep a trace of the command line.
   1260 # Strip out --no-create and --no-recursion so they do not pile up.
   1261 # Strip out --silent because we don't want to record it for future runs.
   1262 # Also quote any args containing shell meta-characters.
   1263 # Make two passes to allow for proper duplicate-argument suppression.
   1264 ac_configure_args=
   1265 ac_configure_args0=
   1266 ac_configure_args1=
   1267 ac_sep=
   1268 ac_must_keep_next=false
   1269 for ac_pass in 1 2
   1270 do
   1271   for ac_arg
   1272   do
   1273     case $ac_arg in
   1274     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1275     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1276     | -silent | --silent | --silen | --sile | --sil)
   1277       continue ;;
   1278     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1279       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1280     esac
   1281     case $ac_pass in
   1282     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1283     2)
   1284       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1285       if test $ac_must_keep_next = true; then
   1286 	ac_must_keep_next=false # Got value, back to normal.
   1287       else
   1288 	case $ac_arg in
   1289 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1290 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1291 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1292 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1293 	    case "$ac_configure_args0 " in
   1294 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1295 	    esac
   1296 	    ;;
   1297 	  -* ) ac_must_keep_next=true ;;
   1298 	esac
   1299       fi
   1300       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1301       # Get rid of the leading space.
   1302       ac_sep=" "
   1303       ;;
   1304     esac
   1305   done
   1306 done
   1307 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1308 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1309 
   1310 # When interrupted or exit'd, cleanup temporary files, and complete
   1311 # config.log.  We remove comments because anyway the quotes in there
   1312 # would cause problems or look ugly.
   1313 # WARNING: Be sure not to use single quotes in there, as some shells,
   1314 # such as our DU 5.0 friend, will then `close' the trap.
   1315 trap 'exit_status=$?
   1316   # Save into config.log some information that might help in debugging.
   1317   {
   1318     echo
   1319 
   1320     cat <<\_ASBOX
   1321 ## ---------------- ##
   1322 ## Cache variables. ##
   1323 ## ---------------- ##
   1324 _ASBOX
   1325     echo
   1326     # The following way of writing the cache mishandles newlines in values,
   1327 {
   1328   (set) 2>&1 |
   1329     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1330     *ac_space=\ *)
   1331       sed -n \
   1332 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1333 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1334       ;;
   1335     *)
   1336       sed -n \
   1337 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1338       ;;
   1339     esac;
   1340 }
   1341     echo
   1342 
   1343     cat <<\_ASBOX
   1344 ## ----------------- ##
   1345 ## Output variables. ##
   1346 ## ----------------- ##
   1347 _ASBOX
   1348     echo
   1349     for ac_var in $ac_subst_vars
   1350     do
   1351       eval ac_val=$`echo $ac_var`
   1352       echo "$ac_var='"'"'$ac_val'"'"'"
   1353     done | sort
   1354     echo
   1355 
   1356     if test -n "$ac_subst_files"; then
   1357       cat <<\_ASBOX
   1358 ## ------------- ##
   1359 ## Output files. ##
   1360 ## ------------- ##
   1361 _ASBOX
   1362       echo
   1363       for ac_var in $ac_subst_files
   1364       do
   1365 	eval ac_val=$`echo $ac_var`
   1366 	echo "$ac_var='"'"'$ac_val'"'"'"
   1367       done | sort
   1368       echo
   1369     fi
   1370 
   1371     if test -s confdefs.h; then
   1372       cat <<\_ASBOX
   1373 ## ----------- ##
   1374 ## confdefs.h. ##
   1375 ## ----------- ##
   1376 _ASBOX
   1377       echo
   1378       sed "/^$/d" confdefs.h | sort
   1379       echo
   1380     fi
   1381     test "$ac_signal" != 0 &&
   1382       echo "$as_me: caught signal $ac_signal"
   1383     echo "$as_me: exit $exit_status"
   1384   } >&5
   1385   rm -f core *.core &&
   1386   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1387     exit $exit_status
   1388      ' 0
   1389 for ac_signal in 1 2 13 15; do
   1390   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1391 done
   1392 ac_signal=0
   1393 
   1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1395 rm -rf conftest* confdefs.h
   1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1397 echo >confdefs.h
   1398 
   1399 # Predefined preprocessor variables.
   1400 
   1401 cat >>confdefs.h <<_ACEOF
   1402 #define PACKAGE_NAME "$PACKAGE_NAME"
   1403 _ACEOF
   1404 
   1405 
   1406 cat >>confdefs.h <<_ACEOF
   1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1408 _ACEOF
   1409 
   1410 
   1411 cat >>confdefs.h <<_ACEOF
   1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1413 _ACEOF
   1414 
   1415 
   1416 cat >>confdefs.h <<_ACEOF
   1417 #define PACKAGE_STRING "$PACKAGE_STRING"
   1418 _ACEOF
   1419 
   1420 
   1421 cat >>confdefs.h <<_ACEOF
   1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1423 _ACEOF
   1424 
   1425 
   1426 # Let the site file select an alternate cache file if it wants to.
   1427 # Prefer explicitly selected file to automatically selected ones.
   1428 if test -z "$CONFIG_SITE"; then
   1429   if test "x$prefix" != xNONE; then
   1430     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1431   else
   1432     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1433   fi
   1434 fi
   1435 for ac_site_file in $CONFIG_SITE; do
   1436   if test -r "$ac_site_file"; then
   1437     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1438 echo "$as_me: loading site script $ac_site_file" >&6;}
   1439     sed 's/^/| /' "$ac_site_file" >&5
   1440     . "$ac_site_file"
   1441   fi
   1442 done
   1443 
   1444 if test -r "$cache_file"; then
   1445   # Some versions of bash will fail to source /dev/null (special
   1446   # files actually), so we avoid doing that.
   1447   if test -f "$cache_file"; then
   1448     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1449 echo "$as_me: loading cache $cache_file" >&6;}
   1450     case $cache_file in
   1451       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1452       *)                      . ./$cache_file;;
   1453     esac
   1454   fi
   1455 else
   1456   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1457 echo "$as_me: creating cache $cache_file" >&6;}
   1458   >$cache_file
   1459 fi
   1460 
   1461 # Check that the precious variables saved in the cache have kept the same
   1462 # value.
   1463 ac_cache_corrupted=false
   1464 for ac_var in `(set) 2>&1 |
   1465 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1466   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1467   eval ac_new_set=\$ac_env_${ac_var}_set
   1468   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1469   eval ac_new_val="\$ac_env_${ac_var}_value"
   1470   case $ac_old_set,$ac_new_set in
   1471     set,)
   1472       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1474       ac_cache_corrupted=: ;;
   1475     ,set)
   1476       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1478       ac_cache_corrupted=: ;;
   1479     ,);;
   1480     *)
   1481       if test "x$ac_old_val" != "x$ac_new_val"; then
   1482 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1484 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1485 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1486 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1487 echo "$as_me:   current value: $ac_new_val" >&2;}
   1488 	ac_cache_corrupted=:
   1489       fi;;
   1490   esac
   1491   # Pass precious variables to config.status.
   1492   if test "$ac_new_set" = set; then
   1493     case $ac_new_val in
   1494     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1495       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1496     *) ac_arg=$ac_var=$ac_new_val ;;
   1497     esac
   1498     case " $ac_configure_args " in
   1499       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1500       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1501     esac
   1502   fi
   1503 done
   1504 if $ac_cache_corrupted; then
   1505   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1507   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1509    { (exit 1); exit 1; }; }
   1510 fi
   1511 
   1512 ac_ext=c
   1513 ac_cpp='$CPP $CPPFLAGS'
   1514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1517 
   1518 
   1519 
   1520 
   1521 
   1522 
   1523 
   1524 
   1525 
   1526 
   1527 
   1528 
   1529 
   1530 
   1531 
   1532 
   1533 
   1534 
   1535 
   1536 
   1537 
   1538 
   1539 
   1540 
   1541 
   1542 
   1543 
   1544 
   1545 
   1546           ac_config_headers="$ac_config_headers config.h"
   1547 
   1548 ac_aux_dir=
   1549 for ac_dir in . $srcdir/.; do
   1550   if test -f $ac_dir/install-sh; then
   1551     ac_aux_dir=$ac_dir
   1552     ac_install_sh="$ac_aux_dir/install-sh -c"
   1553     break
   1554   elif test -f $ac_dir/install.sh; then
   1555     ac_aux_dir=$ac_dir
   1556     ac_install_sh="$ac_aux_dir/install.sh -c"
   1557     break
   1558   elif test -f $ac_dir/shtool; then
   1559     ac_aux_dir=$ac_dir
   1560     ac_install_sh="$ac_aux_dir/shtool install -c"
   1561     break
   1562   fi
   1563 done
   1564 if test -z "$ac_aux_dir"; then
   1565   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
   1566 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
   1567    { (exit 1); exit 1; }; }
   1568 fi
   1569 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1570 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1571 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1572 
   1573 
   1574 am__api_version="1.9"
   1575 # Find a good install program.  We prefer a C program (faster),
   1576 # so one script is as good as another.  But avoid the broken or
   1577 # incompatible versions:
   1578 # SysV /etc/install, /usr/sbin/install
   1579 # SunOS /usr/etc/install
   1580 # IRIX /sbin/install
   1581 # AIX /bin/install
   1582 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1586 # OS/2's system install, which has a completely different semantic
   1587 # ./install, which can be erroneously created by make from ./install.sh.
   1588 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1589 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1590 if test -z "$INSTALL"; then
   1591 if test "${ac_cv_path_install+set}" = set; then
   1592   echo $ECHO_N "(cached) $ECHO_C" >&6
   1593 else
   1594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1595 for as_dir in $PATH
   1596 do
   1597   IFS=$as_save_IFS
   1598   test -z "$as_dir" && as_dir=.
   1599   # Account for people who put trailing slashes in PATH elements.
   1600 case $as_dir/ in
   1601   ./ | .// | /cC/* | \
   1602   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1603   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1604   /usr/ucb/* ) ;;
   1605   *)
   1606     # OSF1 and SCO ODT 3.0 have their own names for install.
   1607     # Don't use installbsd from OSF since it installs stuff as root
   1608     # by default.
   1609     for ac_prog in ginstall scoinst install; do
   1610       for ac_exec_ext in '' $ac_executable_extensions; do
   1611 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1612 	  if test $ac_prog = install &&
   1613 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1614 	    # AIX install.  It has an incompatible calling convention.
   1615 	    :
   1616 	  elif test $ac_prog = install &&
   1617 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1618 	    # program-specific install script used by HP pwplus--don't use.
   1619 	    :
   1620 	  else
   1621 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1622 	    break 3
   1623 	  fi
   1624 	fi
   1625       done
   1626     done
   1627     ;;
   1628 esac
   1629 done
   1630 
   1631 
   1632 fi
   1633   if test "${ac_cv_path_install+set}" = set; then
   1634     INSTALL=$ac_cv_path_install
   1635   else
   1636     # As a last resort, use the slow shell script.  We don't cache a
   1637     # path for INSTALL within a source directory, because that will
   1638     # break other packages using the cache if that directory is
   1639     # removed, or if the path is relative.
   1640     INSTALL=$ac_install_sh
   1641   fi
   1642 fi
   1643 echo "$as_me:$LINENO: result: $INSTALL" >&5
   1644 echo "${ECHO_T}$INSTALL" >&6
   1645 
   1646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1647 # It thinks the first close brace ends the variable substitution.
   1648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1649 
   1650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1651 
   1652 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1653 
   1654 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1655 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1656 # Just in case
   1657 sleep 1
   1658 echo timestamp > conftest.file
   1659 # Do `set' in a subshell so we don't clobber the current shell's
   1660 # arguments.  Must try -L first in case configure is actually a
   1661 # symlink; some systems play weird games with the mod time of symlinks
   1662 # (eg FreeBSD returns the mod time of the symlink's containing
   1663 # directory).
   1664 if (
   1665    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1666    if test "$*" = "X"; then
   1667       # -L didn't work.
   1668       set X `ls -t $srcdir/configure conftest.file`
   1669    fi
   1670    rm -f conftest.file
   1671    if test "$*" != "X $srcdir/configure conftest.file" \
   1672       && test "$*" != "X conftest.file $srcdir/configure"; then
   1673 
   1674       # If neither matched, then we have a broken ls.  This can happen
   1675       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1676       # broken ls alias from the environment.  This has actually
   1677       # happened.  Such a system could not be considered "sane".
   1678       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1679 alias in your environment" >&5
   1680 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1681 alias in your environment" >&2;}
   1682    { (exit 1); exit 1; }; }
   1683    fi
   1684 
   1685    test "$2" = conftest.file
   1686    )
   1687 then
   1688    # Ok.
   1689    :
   1690 else
   1691    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1692 Check your system clock" >&5
   1693 echo "$as_me: error: newly created file is older than distributed files!
   1694 Check your system clock" >&2;}
   1695    { (exit 1); exit 1; }; }
   1696 fi
   1697 echo "$as_me:$LINENO: result: yes" >&5
   1698 echo "${ECHO_T}yes" >&6
   1699 test "$program_prefix" != NONE &&
   1700   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1701 # Use a double $ so make ignores it.
   1702 test "$program_suffix" != NONE &&
   1703   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1704 # Double any \ or $.  echo might interpret backslashes.
   1705 # By default was `s,x,x', remove it if useless.
   1706 cat <<\_ACEOF >conftest.sed
   1707 s/[\\$]/&&/g;s/;s,x,x,$//
   1708 _ACEOF
   1709 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1710 rm conftest.sed
   1711 
   1712 # expand $ac_aux_dir to an absolute path
   1713 am_aux_dir=`cd $ac_aux_dir && pwd`
   1714 
   1715 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1716 # Use eval to expand $SHELL
   1717 if eval "$MISSING --run true"; then
   1718   am_missing_run="$MISSING --run "
   1719 else
   1720   am_missing_run=
   1721   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1722 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1723 fi
   1724 
   1725 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1726   # We used to keeping the `.' as first argument, in order to
   1727   # allow $(mkdir_p) to be used without argument.  As in
   1728   #   $(mkdir_p) $(somedir)
   1729   # where $(somedir) is conditionally defined.  However this is wrong
   1730   # for two reasons:
   1731   #  1. if the package is installed by a user who cannot write `.'
   1732   #     make install will fail,
   1733   #  2. the above comment should most certainly read
   1734   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1735   #     so it does not work when $(somedir) is undefined and
   1736   #     $(DESTDIR) is not.
   1737   #  To support the latter case, we have to write
   1738   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1739   #  so the `.' trick is pointless.
   1740   mkdir_p='mkdir -p --'
   1741 else
   1742   # On NextStep and OpenStep, the `mkdir' command does not
   1743   # recognize any option.  It will interpret all options as
   1744   # directories to create, and then abort because `.' already
   1745   # exists.
   1746   for d in ./-p ./--version;
   1747   do
   1748     test -d $d && rmdir $d
   1749   done
   1750   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1751   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1752     mkdir_p='$(mkinstalldirs)'
   1753   else
   1754     mkdir_p='$(install_sh) -d'
   1755   fi
   1756 fi
   1757 
   1758 for ac_prog in gawk mawk nawk awk
   1759 do
   1760   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1761 set dummy $ac_prog; ac_word=$2
   1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1764 if test "${ac_cv_prog_AWK+set}" = set; then
   1765   echo $ECHO_N "(cached) $ECHO_C" >&6
   1766 else
   1767   if test -n "$AWK"; then
   1768   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1769 else
   1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1771 for as_dir in $PATH
   1772 do
   1773   IFS=$as_save_IFS
   1774   test -z "$as_dir" && as_dir=.
   1775   for ac_exec_ext in '' $ac_executable_extensions; do
   1776   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1777     ac_cv_prog_AWK="$ac_prog"
   1778     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1779     break 2
   1780   fi
   1781 done
   1782 done
   1783 
   1784 fi
   1785 fi
   1786 AWK=$ac_cv_prog_AWK
   1787 if test -n "$AWK"; then
   1788   echo "$as_me:$LINENO: result: $AWK" >&5
   1789 echo "${ECHO_T}$AWK" >&6
   1790 else
   1791   echo "$as_me:$LINENO: result: no" >&5
   1792 echo "${ECHO_T}no" >&6
   1793 fi
   1794 
   1795   test -n "$AWK" && break
   1796 done
   1797 
   1798 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1799 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1800 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1801 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1802   echo $ECHO_N "(cached) $ECHO_C" >&6
   1803 else
   1804   cat >conftest.make <<\_ACEOF
   1805 all:
   1806 	@echo 'ac_maketemp="$(MAKE)"'
   1807 _ACEOF
   1808 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1809 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1810 if test -n "$ac_maketemp"; then
   1811   eval ac_cv_prog_make_${ac_make}_set=yes
   1812 else
   1813   eval ac_cv_prog_make_${ac_make}_set=no
   1814 fi
   1815 rm -f conftest.make
   1816 fi
   1817 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1818   echo "$as_me:$LINENO: result: yes" >&5
   1819 echo "${ECHO_T}yes" >&6
   1820   SET_MAKE=
   1821 else
   1822   echo "$as_me:$LINENO: result: no" >&5
   1823 echo "${ECHO_T}no" >&6
   1824   SET_MAKE="MAKE=${MAKE-make}"
   1825 fi
   1826 
   1827 rm -rf .tst 2>/dev/null
   1828 mkdir .tst 2>/dev/null
   1829 if test -d .tst; then
   1830   am__leading_dot=.
   1831 else
   1832   am__leading_dot=_
   1833 fi
   1834 rmdir .tst 2>/dev/null
   1835 
   1836 # test to see if srcdir already configured
   1837 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1838    test -f $srcdir/config.status; then
   1839   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1840 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1841    { (exit 1); exit 1; }; }
   1842 fi
   1843 
   1844 # test whether we have cygpath
   1845 if test -z "$CYGPATH_W"; then
   1846   if (cygpath --version) >/dev/null 2>/dev/null; then
   1847     CYGPATH_W='cygpath -w'
   1848   else
   1849     CYGPATH_W=echo
   1850   fi
   1851 fi
   1852 
   1853 
   1854 # Define the identity of the package.
   1855  PACKAGE='xf86-video-nsc'
   1856  VERSION='2.8.2'
   1857 
   1858 
   1859 cat >>confdefs.h <<_ACEOF
   1860 #define PACKAGE "$PACKAGE"
   1861 _ACEOF
   1862 
   1863 
   1864 cat >>confdefs.h <<_ACEOF
   1865 #define VERSION "$VERSION"
   1866 _ACEOF
   1867 
   1868 # Some tools Automake needs.
   1869 
   1870 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1871 
   1872 
   1873 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1874 
   1875 
   1876 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1877 
   1878 
   1879 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1880 
   1881 
   1882 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1883 
   1884 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1885 
   1886 # Installed binaries are usually stripped using `strip' when the user
   1887 # run `make install-strip'.  However `strip' might not be the right
   1888 # tool to use in cross-compilation environments, therefore Automake
   1889 # will honor the `STRIP' environment variable to overrule this program.
   1890 if test "$cross_compiling" != no; then
   1891   if test -n "$ac_tool_prefix"; then
   1892   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1893 set dummy ${ac_tool_prefix}strip; ac_word=$2
   1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1896 if test "${ac_cv_prog_STRIP+set}" = set; then
   1897   echo $ECHO_N "(cached) $ECHO_C" >&6
   1898 else
   1899   if test -n "$STRIP"; then
   1900   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1901 else
   1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1903 for as_dir in $PATH
   1904 do
   1905   IFS=$as_save_IFS
   1906   test -z "$as_dir" && as_dir=.
   1907   for ac_exec_ext in '' $ac_executable_extensions; do
   1908   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1909     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1911     break 2
   1912   fi
   1913 done
   1914 done
   1915 
   1916 fi
   1917 fi
   1918 STRIP=$ac_cv_prog_STRIP
   1919 if test -n "$STRIP"; then
   1920   echo "$as_me:$LINENO: result: $STRIP" >&5
   1921 echo "${ECHO_T}$STRIP" >&6
   1922 else
   1923   echo "$as_me:$LINENO: result: no" >&5
   1924 echo "${ECHO_T}no" >&6
   1925 fi
   1926 
   1927 fi
   1928 if test -z "$ac_cv_prog_STRIP"; then
   1929   ac_ct_STRIP=$STRIP
   1930   # Extract the first word of "strip", so it can be a program name with args.
   1931 set dummy strip; ac_word=$2
   1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1934 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1935   echo $ECHO_N "(cached) $ECHO_C" >&6
   1936 else
   1937   if test -n "$ac_ct_STRIP"; then
   1938   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1939 else
   1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1941 for as_dir in $PATH
   1942 do
   1943   IFS=$as_save_IFS
   1944   test -z "$as_dir" && as_dir=.
   1945   for ac_exec_ext in '' $ac_executable_extensions; do
   1946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1947     ac_cv_prog_ac_ct_STRIP="strip"
   1948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1949     break 2
   1950   fi
   1951 done
   1952 done
   1953 
   1954   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1955 fi
   1956 fi
   1957 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1958 if test -n "$ac_ct_STRIP"; then
   1959   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1960 echo "${ECHO_T}$ac_ct_STRIP" >&6
   1961 else
   1962   echo "$as_me:$LINENO: result: no" >&5
   1963 echo "${ECHO_T}no" >&6
   1964 fi
   1965 
   1966   STRIP=$ac_ct_STRIP
   1967 else
   1968   STRIP="$ac_cv_prog_STRIP"
   1969 fi
   1970 
   1971 fi
   1972 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1973 
   1974 # We need awk for the "check" target.  The system "awk" is bad on
   1975 # some platforms.
   1976 # Always define AMTAR for backward compatibility.
   1977 
   1978 AMTAR=${AMTAR-"${am_missing_run}tar"}
   1979 
   1980 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   1988 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   1989     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   1990 if test "${enable_maintainer_mode+set}" = set; then
   1991   enableval="$enable_maintainer_mode"
   1992   USE_MAINTAINER_MODE=$enableval
   1993 else
   1994   USE_MAINTAINER_MODE=no
   1995 fi;
   1996   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   1997 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   1998 
   1999 
   2000 if test $USE_MAINTAINER_MODE = yes; then
   2001   MAINTAINER_MODE_TRUE=
   2002   MAINTAINER_MODE_FALSE='#'
   2003 else
   2004   MAINTAINER_MODE_TRUE='#'
   2005   MAINTAINER_MODE_FALSE=
   2006 fi
   2007 
   2008   MAINT=$MAINTAINER_MODE_TRUE
   2009 
   2010 
   2011 
   2012 # Checks for programs.
   2013 # Check whether --enable-static or --disable-static was given.
   2014 if test "${enable_static+set}" = set; then
   2015   enableval="$enable_static"
   2016   p=${PACKAGE-default}
   2017     case $enableval in
   2018     yes) enable_static=yes ;;
   2019     no) enable_static=no ;;
   2020     *)
   2021      enable_static=no
   2022       # Look at the argument we got.  We use all the common list separators.
   2023       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2024       for pkg in $enableval; do
   2025 	IFS="$lt_save_ifs"
   2026 	if test "X$pkg" = "X$p"; then
   2027 	  enable_static=yes
   2028 	fi
   2029       done
   2030       IFS="$lt_save_ifs"
   2031       ;;
   2032     esac
   2033 else
   2034   enable_static=no
   2035 fi;
   2036 
   2037 
   2038 # Check whether --enable-shared or --disable-shared was given.
   2039 if test "${enable_shared+set}" = set; then
   2040   enableval="$enable_shared"
   2041   p=${PACKAGE-default}
   2042     case $enableval in
   2043     yes) enable_shared=yes ;;
   2044     no) enable_shared=no ;;
   2045     *)
   2046       enable_shared=no
   2047       # Look at the argument we got.  We use all the common list separators.
   2048       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2049       for pkg in $enableval; do
   2050 	IFS="$lt_save_ifs"
   2051 	if test "X$pkg" = "X$p"; then
   2052 	  enable_shared=yes
   2053 	fi
   2054       done
   2055       IFS="$lt_save_ifs"
   2056       ;;
   2057     esac
   2058 else
   2059   enable_shared=yes
   2060 fi;
   2061 
   2062 # Check whether --enable-fast-install or --disable-fast-install was given.
   2063 if test "${enable_fast_install+set}" = set; then
   2064   enableval="$enable_fast_install"
   2065   p=${PACKAGE-default}
   2066     case $enableval in
   2067     yes) enable_fast_install=yes ;;
   2068     no) enable_fast_install=no ;;
   2069     *)
   2070       enable_fast_install=no
   2071       # Look at the argument we got.  We use all the common list separators.
   2072       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2073       for pkg in $enableval; do
   2074 	IFS="$lt_save_ifs"
   2075 	if test "X$pkg" = "X$p"; then
   2076 	  enable_fast_install=yes
   2077 	fi
   2078       done
   2079       IFS="$lt_save_ifs"
   2080       ;;
   2081     esac
   2082 else
   2083   enable_fast_install=yes
   2084 fi;
   2085 
   2086 # Make sure we can run config.sub.
   2087 $ac_config_sub sun4 >/dev/null 2>&1 ||
   2088   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   2089 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   2090    { (exit 1); exit 1; }; }
   2091 
   2092 echo "$as_me:$LINENO: checking build system type" >&5
   2093 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   2094 if test "${ac_cv_build+set}" = set; then
   2095   echo $ECHO_N "(cached) $ECHO_C" >&6
   2096 else
   2097   ac_cv_build_alias=$build_alias
   2098 test -z "$ac_cv_build_alias" &&
   2099   ac_cv_build_alias=`$ac_config_guess`
   2100 test -z "$ac_cv_build_alias" &&
   2101   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2102 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2103    { (exit 1); exit 1; }; }
   2104 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   2105   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   2106 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   2107    { (exit 1); exit 1; }; }
   2108 
   2109 fi
   2110 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2111 echo "${ECHO_T}$ac_cv_build" >&6
   2112 build=$ac_cv_build
   2113 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   2114 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   2115 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   2116 
   2117 
   2118 echo "$as_me:$LINENO: checking host system type" >&5
   2119 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   2120 if test "${ac_cv_host+set}" = set; then
   2121   echo $ECHO_N "(cached) $ECHO_C" >&6
   2122 else
   2123   ac_cv_host_alias=$host_alias
   2124 test -z "$ac_cv_host_alias" &&
   2125   ac_cv_host_alias=$ac_cv_build_alias
   2126 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   2127   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   2128 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   2129    { (exit 1); exit 1; }; }
   2130 
   2131 fi
   2132 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2133 echo "${ECHO_T}$ac_cv_host" >&6
   2134 host=$ac_cv_host
   2135 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   2136 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   2137 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   2138 
   2139 
   2140 DEPDIR="${am__leading_dot}deps"
   2141 
   2142           ac_config_commands="$ac_config_commands depfiles"
   2143 
   2144 
   2145 am_make=${MAKE-make}
   2146 cat > confinc << 'END'
   2147 am__doit:
   2148 	@echo done
   2149 .PHONY: am__doit
   2150 END
   2151 # If we don't find an include directive, just comment out the code.
   2152 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2153 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2154 am__include="#"
   2155 am__quote=
   2156 _am_result=none
   2157 # First try GNU make style include.
   2158 echo "include confinc" > confmf
   2159 # We grep out `Entering directory' and `Leaving directory'
   2160 # messages which can occur if `w' ends up in MAKEFLAGS.
   2161 # In particular we don't look at `^make:' because GNU make might
   2162 # be invoked under some other name (usually "gmake"), in which
   2163 # case it prints its new name instead of `make'.
   2164 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2165    am__include=include
   2166    am__quote=
   2167    _am_result=GNU
   2168 fi
   2169 # Now try BSD make style include.
   2170 if test "$am__include" = "#"; then
   2171    echo '.include "confinc"' > confmf
   2172    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2173       am__include=.include
   2174       am__quote="\""
   2175       _am_result=BSD
   2176    fi
   2177 fi
   2178 
   2179 
   2180 echo "$as_me:$LINENO: result: $_am_result" >&5
   2181 echo "${ECHO_T}$_am_result" >&6
   2182 rm -f confinc confmf
   2183 
   2184 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2185 if test "${enable_dependency_tracking+set}" = set; then
   2186   enableval="$enable_dependency_tracking"
   2187 
   2188 fi;
   2189 if test "x$enable_dependency_tracking" != xno; then
   2190   am_depcomp="$ac_aux_dir/depcomp"
   2191   AMDEPBACKSLASH='\'
   2192 fi
   2193 
   2194 
   2195 if test "x$enable_dependency_tracking" != xno; then
   2196   AMDEP_TRUE=
   2197   AMDEP_FALSE='#'
   2198 else
   2199   AMDEP_TRUE='#'
   2200   AMDEP_FALSE=
   2201 fi
   2202 
   2203 
   2204 
   2205 ac_ext=c
   2206 ac_cpp='$CPP $CPPFLAGS'
   2207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2210 if test -n "$ac_tool_prefix"; then
   2211   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2212 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2215 if test "${ac_cv_prog_CC+set}" = set; then
   2216   echo $ECHO_N "(cached) $ECHO_C" >&6
   2217 else
   2218   if test -n "$CC"; then
   2219   ac_cv_prog_CC="$CC" # Let the user override the test.
   2220 else
   2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2222 for as_dir in $PATH
   2223 do
   2224   IFS=$as_save_IFS
   2225   test -z "$as_dir" && as_dir=.
   2226   for ac_exec_ext in '' $ac_executable_extensions; do
   2227   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2228     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2230     break 2
   2231   fi
   2232 done
   2233 done
   2234 
   2235 fi
   2236 fi
   2237 CC=$ac_cv_prog_CC
   2238 if test -n "$CC"; then
   2239   echo "$as_me:$LINENO: result: $CC" >&5
   2240 echo "${ECHO_T}$CC" >&6
   2241 else
   2242   echo "$as_me:$LINENO: result: no" >&5
   2243 echo "${ECHO_T}no" >&6
   2244 fi
   2245 
   2246 fi
   2247 if test -z "$ac_cv_prog_CC"; then
   2248   ac_ct_CC=$CC
   2249   # Extract the first word of "gcc", so it can be a program name with args.
   2250 set dummy gcc; ac_word=$2
   2251 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2254   echo $ECHO_N "(cached) $ECHO_C" >&6
   2255 else
   2256   if test -n "$ac_ct_CC"; then
   2257   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2258 else
   2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2260 for as_dir in $PATH
   2261 do
   2262   IFS=$as_save_IFS
   2263   test -z "$as_dir" && as_dir=.
   2264   for ac_exec_ext in '' $ac_executable_extensions; do
   2265   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2266     ac_cv_prog_ac_ct_CC="gcc"
   2267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2268     break 2
   2269   fi
   2270 done
   2271 done
   2272 
   2273 fi
   2274 fi
   2275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2276 if test -n "$ac_ct_CC"; then
   2277   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2278 echo "${ECHO_T}$ac_ct_CC" >&6
   2279 else
   2280   echo "$as_me:$LINENO: result: no" >&5
   2281 echo "${ECHO_T}no" >&6
   2282 fi
   2283 
   2284   CC=$ac_ct_CC
   2285 else
   2286   CC="$ac_cv_prog_CC"
   2287 fi
   2288 
   2289 if test -z "$CC"; then
   2290   if test -n "$ac_tool_prefix"; then
   2291   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2292 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2295 if test "${ac_cv_prog_CC+set}" = set; then
   2296   echo $ECHO_N "(cached) $ECHO_C" >&6
   2297 else
   2298   if test -n "$CC"; then
   2299   ac_cv_prog_CC="$CC" # Let the user override the test.
   2300 else
   2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2302 for as_dir in $PATH
   2303 do
   2304   IFS=$as_save_IFS
   2305   test -z "$as_dir" && as_dir=.
   2306   for ac_exec_ext in '' $ac_executable_extensions; do
   2307   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2308     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2310     break 2
   2311   fi
   2312 done
   2313 done
   2314 
   2315 fi
   2316 fi
   2317 CC=$ac_cv_prog_CC
   2318 if test -n "$CC"; then
   2319   echo "$as_me:$LINENO: result: $CC" >&5
   2320 echo "${ECHO_T}$CC" >&6
   2321 else
   2322   echo "$as_me:$LINENO: result: no" >&5
   2323 echo "${ECHO_T}no" >&6
   2324 fi
   2325 
   2326 fi
   2327 if test -z "$ac_cv_prog_CC"; then
   2328   ac_ct_CC=$CC
   2329   # Extract the first word of "cc", so it can be a program name with args.
   2330 set dummy cc; ac_word=$2
   2331 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2334   echo $ECHO_N "(cached) $ECHO_C" >&6
   2335 else
   2336   if test -n "$ac_ct_CC"; then
   2337   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2338 else
   2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2340 for as_dir in $PATH
   2341 do
   2342   IFS=$as_save_IFS
   2343   test -z "$as_dir" && as_dir=.
   2344   for ac_exec_ext in '' $ac_executable_extensions; do
   2345   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2346     ac_cv_prog_ac_ct_CC="cc"
   2347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2348     break 2
   2349   fi
   2350 done
   2351 done
   2352 
   2353 fi
   2354 fi
   2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2356 if test -n "$ac_ct_CC"; then
   2357   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2358 echo "${ECHO_T}$ac_ct_CC" >&6
   2359 else
   2360   echo "$as_me:$LINENO: result: no" >&5
   2361 echo "${ECHO_T}no" >&6
   2362 fi
   2363 
   2364   CC=$ac_ct_CC
   2365 else
   2366   CC="$ac_cv_prog_CC"
   2367 fi
   2368 
   2369 fi
   2370 if test -z "$CC"; then
   2371   # Extract the first word of "cc", so it can be a program name with args.
   2372 set dummy cc; ac_word=$2
   2373 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2375 if test "${ac_cv_prog_CC+set}" = set; then
   2376   echo $ECHO_N "(cached) $ECHO_C" >&6
   2377 else
   2378   if test -n "$CC"; then
   2379   ac_cv_prog_CC="$CC" # Let the user override the test.
   2380 else
   2381   ac_prog_rejected=no
   2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2383 for as_dir in $PATH
   2384 do
   2385   IFS=$as_save_IFS
   2386   test -z "$as_dir" && as_dir=.
   2387   for ac_exec_ext in '' $ac_executable_extensions; do
   2388   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2389     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2390        ac_prog_rejected=yes
   2391        continue
   2392      fi
   2393     ac_cv_prog_CC="cc"
   2394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2395     break 2
   2396   fi
   2397 done
   2398 done
   2399 
   2400 if test $ac_prog_rejected = yes; then
   2401   # We found a bogon in the path, so make sure we never use it.
   2402   set dummy $ac_cv_prog_CC
   2403   shift
   2404   if test $# != 0; then
   2405     # We chose a different compiler from the bogus one.
   2406     # However, it has the same basename, so the bogon will be chosen
   2407     # first if we set CC to just the basename; use the full file name.
   2408     shift
   2409     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2410   fi
   2411 fi
   2412 fi
   2413 fi
   2414 CC=$ac_cv_prog_CC
   2415 if test -n "$CC"; then
   2416   echo "$as_me:$LINENO: result: $CC" >&5
   2417 echo "${ECHO_T}$CC" >&6
   2418 else
   2419   echo "$as_me:$LINENO: result: no" >&5
   2420 echo "${ECHO_T}no" >&6
   2421 fi
   2422 
   2423 fi
   2424 if test -z "$CC"; then
   2425   if test -n "$ac_tool_prefix"; then
   2426   for ac_prog in cl
   2427   do
   2428     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2430 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2432 if test "${ac_cv_prog_CC+set}" = set; then
   2433   echo $ECHO_N "(cached) $ECHO_C" >&6
   2434 else
   2435   if test -n "$CC"; then
   2436   ac_cv_prog_CC="$CC" # Let the user override the test.
   2437 else
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   test -z "$as_dir" && as_dir=.
   2443   for ac_exec_ext in '' $ac_executable_extensions; do
   2444   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2445     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2446     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2447     break 2
   2448   fi
   2449 done
   2450 done
   2451 
   2452 fi
   2453 fi
   2454 CC=$ac_cv_prog_CC
   2455 if test -n "$CC"; then
   2456   echo "$as_me:$LINENO: result: $CC" >&5
   2457 echo "${ECHO_T}$CC" >&6
   2458 else
   2459   echo "$as_me:$LINENO: result: no" >&5
   2460 echo "${ECHO_T}no" >&6
   2461 fi
   2462 
   2463     test -n "$CC" && break
   2464   done
   2465 fi
   2466 if test -z "$CC"; then
   2467   ac_ct_CC=$CC
   2468   for ac_prog in cl
   2469 do
   2470   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2471 set dummy $ac_prog; ac_word=$2
   2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2475   echo $ECHO_N "(cached) $ECHO_C" >&6
   2476 else
   2477   if test -n "$ac_ct_CC"; then
   2478   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485   for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2487     ac_cv_prog_ac_ct_CC="$ac_prog"
   2488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492 done
   2493 
   2494 fi
   2495 fi
   2496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2497 if test -n "$ac_ct_CC"; then
   2498   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2499 echo "${ECHO_T}$ac_ct_CC" >&6
   2500 else
   2501   echo "$as_me:$LINENO: result: no" >&5
   2502 echo "${ECHO_T}no" >&6
   2503 fi
   2504 
   2505   test -n "$ac_ct_CC" && break
   2506 done
   2507 
   2508   CC=$ac_ct_CC
   2509 fi
   2510 
   2511 fi
   2512 
   2513 
   2514 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2515 See \`config.log' for more details." >&5
   2516 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2517 See \`config.log' for more details." >&2;}
   2518    { (exit 1); exit 1; }; }
   2519 
   2520 # Provide some information about the compiler.
   2521 echo "$as_me:$LINENO:" \
   2522      "checking for C compiler version" >&5
   2523 ac_compiler=`set X $ac_compile; echo $2`
   2524 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2525   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2526   ac_status=$?
   2527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2528   (exit $ac_status); }
   2529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2530   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2531   ac_status=$?
   2532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2533   (exit $ac_status); }
   2534 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2535   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2536   ac_status=$?
   2537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2538   (exit $ac_status); }
   2539 
   2540 cat >conftest.$ac_ext <<_ACEOF
   2541 /* confdefs.h.  */
   2542 _ACEOF
   2543 cat confdefs.h >>conftest.$ac_ext
   2544 cat >>conftest.$ac_ext <<_ACEOF
   2545 /* end confdefs.h.  */
   2546 
   2547 int
   2548 main ()
   2549 {
   2550 
   2551   ;
   2552   return 0;
   2553 }
   2554 _ACEOF
   2555 ac_clean_files_save=$ac_clean_files
   2556 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2557 # Try to create an executable without -o first, disregard a.out.
   2558 # It will help us diagnose broken compilers, and finding out an intuition
   2559 # of exeext.
   2560 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2561 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2562 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2563 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2564   (eval $ac_link_default) 2>&5
   2565   ac_status=$?
   2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2567   (exit $ac_status); }; then
   2568   # Find the output, starting from the most likely.  This scheme is
   2569 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2570 # resort.
   2571 
   2572 # Be careful to initialize this variable, since it used to be cached.
   2573 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2574 ac_cv_exeext=
   2575 # b.out is created by i960 compilers.
   2576 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2577 do
   2578   test -f "$ac_file" || continue
   2579   case $ac_file in
   2580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2581 	;;
   2582     conftest.$ac_ext )
   2583 	# This is the source file.
   2584 	;;
   2585     [ab].out )
   2586 	# We found the default executable, but exeext='' is most
   2587 	# certainly right.
   2588 	break;;
   2589     *.* )
   2590 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2591 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2592 	# but it would be cool to find out if it's true.  Does anybody
   2593 	# maintain Libtool? --akim.
   2594 	export ac_cv_exeext
   2595 	break;;
   2596     * )
   2597 	break;;
   2598   esac
   2599 done
   2600 else
   2601   echo "$as_me: failed program was:" >&5
   2602 sed 's/^/| /' conftest.$ac_ext >&5
   2603 
   2604 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2605 See \`config.log' for more details." >&5
   2606 echo "$as_me: error: C compiler cannot create executables
   2607 See \`config.log' for more details." >&2;}
   2608    { (exit 77); exit 77; }; }
   2609 fi
   2610 
   2611 ac_exeext=$ac_cv_exeext
   2612 echo "$as_me:$LINENO: result: $ac_file" >&5
   2613 echo "${ECHO_T}$ac_file" >&6
   2614 
   2615 # Check the compiler produces executables we can run.  If not, either
   2616 # the compiler is broken, or we cross compile.
   2617 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2618 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2619 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2620 # If not cross compiling, check that we can run a simple program.
   2621 if test "$cross_compiling" != yes; then
   2622   if { ac_try='./$ac_file'
   2623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2624   (eval $ac_try) 2>&5
   2625   ac_status=$?
   2626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2627   (exit $ac_status); }; }; then
   2628     cross_compiling=no
   2629   else
   2630     if test "$cross_compiling" = maybe; then
   2631 	cross_compiling=yes
   2632     else
   2633 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2634 If you meant to cross compile, use \`--host'.
   2635 See \`config.log' for more details." >&5
   2636 echo "$as_me: error: cannot run C compiled programs.
   2637 If you meant to cross compile, use \`--host'.
   2638 See \`config.log' for more details." >&2;}
   2639    { (exit 1); exit 1; }; }
   2640     fi
   2641   fi
   2642 fi
   2643 echo "$as_me:$LINENO: result: yes" >&5
   2644 echo "${ECHO_T}yes" >&6
   2645 
   2646 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2647 ac_clean_files=$ac_clean_files_save
   2648 # Check the compiler produces executables we can run.  If not, either
   2649 # the compiler is broken, or we cross compile.
   2650 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2651 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2652 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2653 echo "${ECHO_T}$cross_compiling" >&6
   2654 
   2655 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2656 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2658   (eval $ac_link) 2>&5
   2659   ac_status=$?
   2660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2661   (exit $ac_status); }; then
   2662   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2663 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2664 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2665 # `rm'.
   2666 for ac_file in conftest.exe conftest conftest.*; do
   2667   test -f "$ac_file" || continue
   2668   case $ac_file in
   2669     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2670     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2671 	  export ac_cv_exeext
   2672 	  break;;
   2673     * ) break;;
   2674   esac
   2675 done
   2676 else
   2677   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2678 See \`config.log' for more details." >&5
   2679 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2680 See \`config.log' for more details." >&2;}
   2681    { (exit 1); exit 1; }; }
   2682 fi
   2683 
   2684 rm -f conftest$ac_cv_exeext
   2685 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2686 echo "${ECHO_T}$ac_cv_exeext" >&6
   2687 
   2688 rm -f conftest.$ac_ext
   2689 EXEEXT=$ac_cv_exeext
   2690 ac_exeext=$EXEEXT
   2691 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2692 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2693 if test "${ac_cv_objext+set}" = set; then
   2694   echo $ECHO_N "(cached) $ECHO_C" >&6
   2695 else
   2696   cat >conftest.$ac_ext <<_ACEOF
   2697 /* confdefs.h.  */
   2698 _ACEOF
   2699 cat confdefs.h >>conftest.$ac_ext
   2700 cat >>conftest.$ac_ext <<_ACEOF
   2701 /* end confdefs.h.  */
   2702 
   2703 int
   2704 main ()
   2705 {
   2706 
   2707   ;
   2708   return 0;
   2709 }
   2710 _ACEOF
   2711 rm -f conftest.o conftest.obj
   2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2713   (eval $ac_compile) 2>&5
   2714   ac_status=$?
   2715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2716   (exit $ac_status); }; then
   2717   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2718   case $ac_file in
   2719     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2720     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2721        break;;
   2722   esac
   2723 done
   2724 else
   2725   echo "$as_me: failed program was:" >&5
   2726 sed 's/^/| /' conftest.$ac_ext >&5
   2727 
   2728 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2729 See \`config.log' for more details." >&5
   2730 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2731 See \`config.log' for more details." >&2;}
   2732    { (exit 1); exit 1; }; }
   2733 fi
   2734 
   2735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2736 fi
   2737 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2738 echo "${ECHO_T}$ac_cv_objext" >&6
   2739 OBJEXT=$ac_cv_objext
   2740 ac_objext=$OBJEXT
   2741 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2742 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2743 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2744   echo $ECHO_N "(cached) $ECHO_C" >&6
   2745 else
   2746   cat >conftest.$ac_ext <<_ACEOF
   2747 /* confdefs.h.  */
   2748 _ACEOF
   2749 cat confdefs.h >>conftest.$ac_ext
   2750 cat >>conftest.$ac_ext <<_ACEOF
   2751 /* end confdefs.h.  */
   2752 
   2753 int
   2754 main ()
   2755 {
   2756 #ifndef __GNUC__
   2757        choke me
   2758 #endif
   2759 
   2760   ;
   2761   return 0;
   2762 }
   2763 _ACEOF
   2764 rm -f conftest.$ac_objext
   2765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2766   (eval $ac_compile) 2>conftest.er1
   2767   ac_status=$?
   2768   grep -v '^ *+' conftest.er1 >conftest.err
   2769   rm -f conftest.er1
   2770   cat conftest.err >&5
   2771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2772   (exit $ac_status); } &&
   2773 	 { ac_try='test -z "$ac_c_werror_flag"
   2774 			 || test ! -s conftest.err'
   2775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2776   (eval $ac_try) 2>&5
   2777   ac_status=$?
   2778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2779   (exit $ac_status); }; } &&
   2780 	 { ac_try='test -s conftest.$ac_objext'
   2781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2782   (eval $ac_try) 2>&5
   2783   ac_status=$?
   2784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2785   (exit $ac_status); }; }; then
   2786   ac_compiler_gnu=yes
   2787 else
   2788   echo "$as_me: failed program was:" >&5
   2789 sed 's/^/| /' conftest.$ac_ext >&5
   2790 
   2791 ac_compiler_gnu=no
   2792 fi
   2793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2794 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2795 
   2796 fi
   2797 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2798 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2799 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2800 ac_test_CFLAGS=${CFLAGS+set}
   2801 ac_save_CFLAGS=$CFLAGS
   2802 CFLAGS="-g"
   2803 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2804 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2805 if test "${ac_cv_prog_cc_g+set}" = set; then
   2806   echo $ECHO_N "(cached) $ECHO_C" >&6
   2807 else
   2808   cat >conftest.$ac_ext <<_ACEOF
   2809 /* confdefs.h.  */
   2810 _ACEOF
   2811 cat confdefs.h >>conftest.$ac_ext
   2812 cat >>conftest.$ac_ext <<_ACEOF
   2813 /* end confdefs.h.  */
   2814 
   2815 int
   2816 main ()
   2817 {
   2818 
   2819   ;
   2820   return 0;
   2821 }
   2822 _ACEOF
   2823 rm -f conftest.$ac_objext
   2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2825   (eval $ac_compile) 2>conftest.er1
   2826   ac_status=$?
   2827   grep -v '^ *+' conftest.er1 >conftest.err
   2828   rm -f conftest.er1
   2829   cat conftest.err >&5
   2830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2831   (exit $ac_status); } &&
   2832 	 { ac_try='test -z "$ac_c_werror_flag"
   2833 			 || test ! -s conftest.err'
   2834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2835   (eval $ac_try) 2>&5
   2836   ac_status=$?
   2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2838   (exit $ac_status); }; } &&
   2839 	 { ac_try='test -s conftest.$ac_objext'
   2840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2841   (eval $ac_try) 2>&5
   2842   ac_status=$?
   2843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2844   (exit $ac_status); }; }; then
   2845   ac_cv_prog_cc_g=yes
   2846 else
   2847   echo "$as_me: failed program was:" >&5
   2848 sed 's/^/| /' conftest.$ac_ext >&5
   2849 
   2850 ac_cv_prog_cc_g=no
   2851 fi
   2852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2853 fi
   2854 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2856 if test "$ac_test_CFLAGS" = set; then
   2857   CFLAGS=$ac_save_CFLAGS
   2858 elif test $ac_cv_prog_cc_g = yes; then
   2859   if test "$GCC" = yes; then
   2860     CFLAGS="-g -O2"
   2861   else
   2862     CFLAGS="-g"
   2863   fi
   2864 else
   2865   if test "$GCC" = yes; then
   2866     CFLAGS="-O2"
   2867   else
   2868     CFLAGS=
   2869   fi
   2870 fi
   2871 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2872 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2873 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2874   echo $ECHO_N "(cached) $ECHO_C" >&6
   2875 else
   2876   ac_cv_prog_cc_stdc=no
   2877 ac_save_CC=$CC
   2878 cat >conftest.$ac_ext <<_ACEOF
   2879 /* confdefs.h.  */
   2880 _ACEOF
   2881 cat confdefs.h >>conftest.$ac_ext
   2882 cat >>conftest.$ac_ext <<_ACEOF
   2883 /* end confdefs.h.  */
   2884 #include <stdarg.h>
   2885 #include <stdio.h>
   2886 #include <sys/types.h>
   2887 #include <sys/stat.h>
   2888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2889 struct buf { int x; };
   2890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2891 static char *e (p, i)
   2892      char **p;
   2893      int i;
   2894 {
   2895   return p[i];
   2896 }
   2897 static char *f (char * (*g) (char **, int), char **p, ...)
   2898 {
   2899   char *s;
   2900   va_list v;
   2901   va_start (v,p);
   2902   s = g (p, va_arg (v,int));
   2903   va_end (v);
   2904   return s;
   2905 }
   2906 
   2907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2908    function prototypes and stuff, but not '\xHH' hex character constants.
   2909    These don't provoke an error unfortunately, instead are silently treated
   2910    as 'x'.  The following induces an error, until -std1 is added to get
   2911    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2912    array size at least.  It's necessary to write '\x00'==0 to get something
   2913    that's true only with -std1.  */
   2914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2915 
   2916 int test (int i, double x);
   2917 struct s1 {int (*f) (int a);};
   2918 struct s2 {int (*f) (double a);};
   2919 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2920 int argc;
   2921 char **argv;
   2922 int
   2923 main ()
   2924 {
   2925 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2926   ;
   2927   return 0;
   2928 }
   2929 _ACEOF
   2930 # Don't try gcc -ansi; that turns off useful extensions and
   2931 # breaks some systems' header files.
   2932 # AIX			-qlanglvl=ansi
   2933 # Ultrix and OSF/1	-std1
   2934 # HP-UX 10.20 and later	-Ae
   2935 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2936 # SVR4			-Xc -D__EXTENSIONS__
   2937 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2938 do
   2939   CC="$ac_save_CC $ac_arg"
   2940   rm -f conftest.$ac_objext
   2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2942   (eval $ac_compile) 2>conftest.er1
   2943   ac_status=$?
   2944   grep -v '^ *+' conftest.er1 >conftest.err
   2945   rm -f conftest.er1
   2946   cat conftest.err >&5
   2947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2948   (exit $ac_status); } &&
   2949 	 { ac_try='test -z "$ac_c_werror_flag"
   2950 			 || test ! -s conftest.err'
   2951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2952   (eval $ac_try) 2>&5
   2953   ac_status=$?
   2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2955   (exit $ac_status); }; } &&
   2956 	 { ac_try='test -s conftest.$ac_objext'
   2957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2958   (eval $ac_try) 2>&5
   2959   ac_status=$?
   2960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2961   (exit $ac_status); }; }; then
   2962   ac_cv_prog_cc_stdc=$ac_arg
   2963 break
   2964 else
   2965   echo "$as_me: failed program was:" >&5
   2966 sed 's/^/| /' conftest.$ac_ext >&5
   2967 
   2968 fi
   2969 rm -f conftest.err conftest.$ac_objext
   2970 done
   2971 rm -f conftest.$ac_ext conftest.$ac_objext
   2972 CC=$ac_save_CC
   2973 
   2974 fi
   2975 
   2976 case "x$ac_cv_prog_cc_stdc" in
   2977   x|xno)
   2978     echo "$as_me:$LINENO: result: none needed" >&5
   2979 echo "${ECHO_T}none needed" >&6 ;;
   2980   *)
   2981     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2982 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2983     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2984 esac
   2985 
   2986 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2987 # in C++ we need to declare it.  In case someone uses the same compiler
   2988 # for both compiling C and C++ we need to have the C++ compiler decide
   2989 # the declaration of exit, since it's the most demanding environment.
   2990 cat >conftest.$ac_ext <<_ACEOF
   2991 #ifndef __cplusplus
   2992   choke me
   2993 #endif
   2994 _ACEOF
   2995 rm -f conftest.$ac_objext
   2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2997   (eval $ac_compile) 2>conftest.er1
   2998   ac_status=$?
   2999   grep -v '^ *+' conftest.er1 >conftest.err
   3000   rm -f conftest.er1
   3001   cat conftest.err >&5
   3002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3003   (exit $ac_status); } &&
   3004 	 { ac_try='test -z "$ac_c_werror_flag"
   3005 			 || test ! -s conftest.err'
   3006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3007   (eval $ac_try) 2>&5
   3008   ac_status=$?
   3009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3010   (exit $ac_status); }; } &&
   3011 	 { ac_try='test -s conftest.$ac_objext'
   3012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3013   (eval $ac_try) 2>&5
   3014   ac_status=$?
   3015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3016   (exit $ac_status); }; }; then
   3017   for ac_declaration in \
   3018    '' \
   3019    'extern "C" void std::exit (int) throw (); using std::exit;' \
   3020    'extern "C" void std::exit (int); using std::exit;' \
   3021    'extern "C" void exit (int) throw ();' \
   3022    'extern "C" void exit (int);' \
   3023    'void exit (int);'
   3024 do
   3025   cat >conftest.$ac_ext <<_ACEOF
   3026 /* confdefs.h.  */
   3027 _ACEOF
   3028 cat confdefs.h >>conftest.$ac_ext
   3029 cat >>conftest.$ac_ext <<_ACEOF
   3030 /* end confdefs.h.  */
   3031 $ac_declaration
   3032 #include <stdlib.h>
   3033 int
   3034 main ()
   3035 {
   3036 exit (42);
   3037   ;
   3038   return 0;
   3039 }
   3040 _ACEOF
   3041 rm -f conftest.$ac_objext
   3042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3043   (eval $ac_compile) 2>conftest.er1
   3044   ac_status=$?
   3045   grep -v '^ *+' conftest.er1 >conftest.err
   3046   rm -f conftest.er1
   3047   cat conftest.err >&5
   3048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3049   (exit $ac_status); } &&
   3050 	 { ac_try='test -z "$ac_c_werror_flag"
   3051 			 || test ! -s conftest.err'
   3052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3053   (eval $ac_try) 2>&5
   3054   ac_status=$?
   3055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3056   (exit $ac_status); }; } &&
   3057 	 { ac_try='test -s conftest.$ac_objext'
   3058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3059   (eval $ac_try) 2>&5
   3060   ac_status=$?
   3061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3062   (exit $ac_status); }; }; then
   3063   :
   3064 else
   3065   echo "$as_me: failed program was:" >&5
   3066 sed 's/^/| /' conftest.$ac_ext >&5
   3067 
   3068 continue
   3069 fi
   3070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3071   cat >conftest.$ac_ext <<_ACEOF
   3072 /* confdefs.h.  */
   3073 _ACEOF
   3074 cat confdefs.h >>conftest.$ac_ext
   3075 cat >>conftest.$ac_ext <<_ACEOF
   3076 /* end confdefs.h.  */
   3077 $ac_declaration
   3078 int
   3079 main ()
   3080 {
   3081 exit (42);
   3082   ;
   3083   return 0;
   3084 }
   3085 _ACEOF
   3086 rm -f conftest.$ac_objext
   3087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3088   (eval $ac_compile) 2>conftest.er1
   3089   ac_status=$?
   3090   grep -v '^ *+' conftest.er1 >conftest.err
   3091   rm -f conftest.er1
   3092   cat conftest.err >&5
   3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3094   (exit $ac_status); } &&
   3095 	 { ac_try='test -z "$ac_c_werror_flag"
   3096 			 || test ! -s conftest.err'
   3097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3098   (eval $ac_try) 2>&5
   3099   ac_status=$?
   3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3101   (exit $ac_status); }; } &&
   3102 	 { ac_try='test -s conftest.$ac_objext'
   3103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3104   (eval $ac_try) 2>&5
   3105   ac_status=$?
   3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3107   (exit $ac_status); }; }; then
   3108   break
   3109 else
   3110   echo "$as_me: failed program was:" >&5
   3111 sed 's/^/| /' conftest.$ac_ext >&5
   3112 
   3113 fi
   3114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3115 done
   3116 rm -f conftest*
   3117 if test -n "$ac_declaration"; then
   3118   echo '#ifdef __cplusplus' >>confdefs.h
   3119   echo $ac_declaration      >>confdefs.h
   3120   echo '#endif'             >>confdefs.h
   3121 fi
   3122 
   3123 else
   3124   echo "$as_me: failed program was:" >&5
   3125 sed 's/^/| /' conftest.$ac_ext >&5
   3126 
   3127 fi
   3128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3129 ac_ext=c
   3130 ac_cpp='$CPP $CPPFLAGS'
   3131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3134 
   3135 depcc="$CC"   am_compiler_list=
   3136 
   3137 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3138 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3140   echo $ECHO_N "(cached) $ECHO_C" >&6
   3141 else
   3142   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3143   # We make a subdir and do the tests there.  Otherwise we can end up
   3144   # making bogus files that we don't know about and never remove.  For
   3145   # instance it was reported that on HP-UX the gcc test will end up
   3146   # making a dummy file named `D' -- because `-MD' means `put the output
   3147   # in D'.
   3148   mkdir conftest.dir
   3149   # Copy depcomp to subdir because otherwise we won't find it if we're
   3150   # using a relative directory.
   3151   cp "$am_depcomp" conftest.dir
   3152   cd conftest.dir
   3153   # We will build objects and dependencies in a subdirectory because
   3154   # it helps to detect inapplicable dependency modes.  For instance
   3155   # both Tru64's cc and ICC support -MD to output dependencies as a
   3156   # side effect of compilation, but ICC will put the dependencies in
   3157   # the current directory while Tru64 will put them in the object
   3158   # directory.
   3159   mkdir sub
   3160 
   3161   am_cv_CC_dependencies_compiler_type=none
   3162   if test "$am_compiler_list" = ""; then
   3163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3164   fi
   3165   for depmode in $am_compiler_list; do
   3166     # Setup a source with many dependencies, because some compilers
   3167     # like to wrap large dependency lists on column 80 (with \), and
   3168     # we should not choose a depcomp mode which is confused by this.
   3169     #
   3170     # We need to recreate these files for each test, as the compiler may
   3171     # overwrite some of them when testing with obscure command lines.
   3172     # This happens at least with the AIX C compiler.
   3173     : > sub/conftest.c
   3174     for i in 1 2 3 4 5 6; do
   3175       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3176       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3177       # Solaris 8's {/usr,}/bin/sh.
   3178       touch sub/conftst$i.h
   3179     done
   3180     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3181 
   3182     case $depmode in
   3183     nosideeffect)
   3184       # after this tag, mechanisms are not by side-effect, so they'll
   3185       # only be used when explicitly requested
   3186       if test "x$enable_dependency_tracking" = xyes; then
   3187 	continue
   3188       else
   3189 	break
   3190       fi
   3191       ;;
   3192     none) break ;;
   3193     esac
   3194     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3195     # mode.  It turns out that the SunPro C++ compiler does not properly
   3196     # handle `-M -o', and we need to detect this.
   3197     if depmode=$depmode \
   3198        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3200        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3201          >/dev/null 2>conftest.err &&
   3202        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3203        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3204        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3205       # icc doesn't choke on unknown options, it will just issue warnings
   3206       # or remarks (even with -Werror).  So we grep stderr for any message
   3207       # that says an option was ignored or not supported.
   3208       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3209       #   icc: Command line warning: ignoring option '-M'; no argument required
   3210       # The diagnosis changed in icc 8.0:
   3211       #   icc: Command line remark: option '-MP' not supported
   3212       if (grep 'ignoring option' conftest.err ||
   3213           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3214         am_cv_CC_dependencies_compiler_type=$depmode
   3215         break
   3216       fi
   3217     fi
   3218   done
   3219 
   3220   cd ..
   3221   rm -rf conftest.dir
   3222 else
   3223   am_cv_CC_dependencies_compiler_type=none
   3224 fi
   3225 
   3226 fi
   3227 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3228 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3230 
   3231 
   3232 
   3233 if
   3234   test "x$enable_dependency_tracking" != xno \
   3235   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3236   am__fastdepCC_TRUE=
   3237   am__fastdepCC_FALSE='#'
   3238 else
   3239   am__fastdepCC_TRUE='#'
   3240   am__fastdepCC_FALSE=
   3241 fi
   3242 
   3243 
   3244 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3245 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
   3246 if test "${lt_cv_path_SED+set}" = set; then
   3247   echo $ECHO_N "(cached) $ECHO_C" >&6
   3248 else
   3249   # Loop through the user's path and test for sed and gsed.
   3250 # Then use that list of sed's as ones to test for truncation.
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   test -z "$as_dir" && as_dir=.
   3256   for lt_ac_prog in sed gsed; do
   3257     for ac_exec_ext in '' $ac_executable_extensions; do
   3258       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3259         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3260       fi
   3261     done
   3262   done
   3263 done
   3264 IFS=$as_save_IFS
   3265 lt_ac_max=0
   3266 lt_ac_count=0
   3267 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3268 # along with /bin/sed that truncates output.
   3269 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3270   test ! -f $lt_ac_sed && continue
   3271   cat /dev/null > conftest.in
   3272   lt_ac_count=0
   3273   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3274   # Check for GNU sed and select it if it is found.
   3275   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3276     lt_cv_path_SED=$lt_ac_sed
   3277     break
   3278   fi
   3279   while true; do
   3280     cat conftest.in conftest.in >conftest.tmp
   3281     mv conftest.tmp conftest.in
   3282     cp conftest.in conftest.nl
   3283     echo >>conftest.nl
   3284     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3285     cmp -s conftest.out conftest.nl || break
   3286     # 10000 chars as input seems more than enough
   3287     test $lt_ac_count -gt 10 && break
   3288     lt_ac_count=`expr $lt_ac_count + 1`
   3289     if test $lt_ac_count -gt $lt_ac_max; then
   3290       lt_ac_max=$lt_ac_count
   3291       lt_cv_path_SED=$lt_ac_sed
   3292     fi
   3293   done
   3294 done
   3295 
   3296 fi
   3297 
   3298 SED=$lt_cv_path_SED
   3299 
   3300 echo "$as_me:$LINENO: result: $SED" >&5
   3301 echo "${ECHO_T}$SED" >&6
   3302 
   3303 echo "$as_me:$LINENO: checking for egrep" >&5
   3304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3305 if test "${ac_cv_prog_egrep+set}" = set; then
   3306   echo $ECHO_N "(cached) $ECHO_C" >&6
   3307 else
   3308   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3309     then ac_cv_prog_egrep='grep -E'
   3310     else ac_cv_prog_egrep='egrep'
   3311     fi
   3312 fi
   3313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3315  EGREP=$ac_cv_prog_egrep
   3316 
   3317 
   3318 
   3319 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   3320 if test "${with_gnu_ld+set}" = set; then
   3321   withval="$with_gnu_ld"
   3322   test "$withval" = no || with_gnu_ld=yes
   3323 else
   3324   with_gnu_ld=no
   3325 fi;
   3326 ac_prog=ld
   3327 if test "$GCC" = yes; then
   3328   # Check if gcc -print-prog-name=ld gives a path.
   3329   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3330 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   3331   case $host in
   3332   *-*-mingw*)
   3333     # gcc leaves a trailing carriage return which upsets mingw
   3334     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3335   *)
   3336     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3337   esac
   3338   case $ac_prog in
   3339     # Accept absolute paths.
   3340     [\\/]* | ?:[\\/]*)
   3341       re_direlt='/[^/][^/]*/\.\./'
   3342       # Canonicalize the pathname of ld
   3343       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3344       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3345 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3346       done
   3347       test -z "$LD" && LD="$ac_prog"
   3348       ;;
   3349   "")
   3350     # If it fails, then pretend we aren't using GCC.
   3351     ac_prog=ld
   3352     ;;
   3353   *)
   3354     # If it is relative, then search for the first ld in PATH.
   3355     with_gnu_ld=unknown
   3356     ;;
   3357   esac
   3358 elif test "$with_gnu_ld" = yes; then
   3359   echo "$as_me:$LINENO: checking for GNU ld" >&5
   3360 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   3361 else
   3362   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3363 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   3364 fi
   3365 if test "${lt_cv_path_LD+set}" = set; then
   3366   echo $ECHO_N "(cached) $ECHO_C" >&6
   3367 else
   3368   if test -z "$LD"; then
   3369   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3370   for ac_dir in $PATH; do
   3371     IFS="$lt_save_ifs"
   3372     test -z "$ac_dir" && ac_dir=.
   3373     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3374       lt_cv_path_LD="$ac_dir/$ac_prog"
   3375       # Check to see if the program is GNU ld.  I'd rather use --version,
   3376       # but apparently some variants of GNU ld only accept -v.
   3377       # Break only if it was the GNU/non-GNU ld that we prefer.
   3378       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   3379       *GNU* | *'with BFD'*)
   3380 	test "$with_gnu_ld" != no && break
   3381 	;;
   3382       *)
   3383 	test "$with_gnu_ld" != yes && break
   3384 	;;
   3385       esac
   3386     fi
   3387   done
   3388   IFS="$lt_save_ifs"
   3389 else
   3390   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   3391 fi
   3392 fi
   3393 
   3394 LD="$lt_cv_path_LD"
   3395 if test -n "$LD"; then
   3396   echo "$as_me:$LINENO: result: $LD" >&5
   3397 echo "${ECHO_T}$LD" >&6
   3398 else
   3399   echo "$as_me:$LINENO: result: no" >&5
   3400 echo "${ECHO_T}no" >&6
   3401 fi
   3402 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   3403 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   3404    { (exit 1); exit 1; }; }
   3405 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   3406 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   3407 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   3408   echo $ECHO_N "(cached) $ECHO_C" >&6
   3409 else
   3410   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   3411 case `$LD -v 2>&1 </dev/null` in
   3412 *GNU* | *'with BFD'*)
   3413   lt_cv_prog_gnu_ld=yes
   3414   ;;
   3415 *)
   3416   lt_cv_prog_gnu_ld=no
   3417   ;;
   3418 esac
   3419 fi
   3420 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   3421 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   3422 with_gnu_ld=$lt_cv_prog_gnu_ld
   3423 
   3424 
   3425 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   3426 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
   3427 if test "${lt_cv_ld_reload_flag+set}" = set; then
   3428   echo $ECHO_N "(cached) $ECHO_C" >&6
   3429 else
   3430   lt_cv_ld_reload_flag='-r'
   3431 fi
   3432 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   3433 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
   3434 reload_flag=$lt_cv_ld_reload_flag
   3435 case $reload_flag in
   3436 "" | " "*) ;;
   3437 *) reload_flag=" $reload_flag" ;;
   3438 esac
   3439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3440 case $host_os in
   3441   darwin*)
   3442     if test "$GCC" = yes; then
   3443       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   3444     else
   3445       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3446     fi
   3447     ;;
   3448 esac
   3449 
   3450 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   3451 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
   3452 if test "${lt_cv_path_NM+set}" = set; then
   3453   echo $ECHO_N "(cached) $ECHO_C" >&6
   3454 else
   3455   if test -n "$NM"; then
   3456   # Let the user override the test.
   3457   lt_cv_path_NM="$NM"
   3458 else
   3459   lt_nm_to_check="${ac_tool_prefix}nm"
   3460   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   3461     lt_nm_to_check="$lt_nm_to_check nm"
   3462   fi
   3463   for lt_tmp_nm in $lt_nm_to_check; do
   3464     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3465     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   3466       IFS="$lt_save_ifs"
   3467       test -z "$ac_dir" && ac_dir=.
   3468       tmp_nm="$ac_dir/$lt_tmp_nm"
   3469       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   3470 	# Check to see if the nm accepts a BSD-compat flag.
   3471 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   3472 	#   nm: unknown option "B" ignored
   3473 	# Tru64's nm complains that /dev/null is an invalid object file
   3474 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   3475 	*/dev/null* | *'Invalid file or object type'*)
   3476 	  lt_cv_path_NM="$tmp_nm -B"
   3477 	  break
   3478 	  ;;
   3479 	*)
   3480 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   3481 	  */dev/null*)
   3482 	    lt_cv_path_NM="$tmp_nm -p"
   3483 	    break
   3484 	    ;;
   3485 	  *)
   3486 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   3487 	    continue # so that we can try to find one that supports BSD flags
   3488 	    ;;
   3489 	  esac
   3490 	  ;;
   3491 	esac
   3492       fi
   3493     done
   3494     IFS="$lt_save_ifs"
   3495   done
   3496   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   3497 fi
   3498 fi
   3499 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   3500 echo "${ECHO_T}$lt_cv_path_NM" >&6
   3501 NM="$lt_cv_path_NM"
   3502 
   3503 echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3504 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   3505 LN_S=$as_ln_s
   3506 if test "$LN_S" = "ln -s"; then
   3507   echo "$as_me:$LINENO: result: yes" >&5
   3508 echo "${ECHO_T}yes" >&6
   3509 else
   3510   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3511 echo "${ECHO_T}no, using $LN_S" >&6
   3512 fi
   3513 
   3514 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   3515 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
   3516 if test "${lt_cv_deplibs_check_method+set}" = set; then
   3517   echo $ECHO_N "(cached) $ECHO_C" >&6
   3518 else
   3519   lt_cv_file_magic_cmd='$MAGIC_CMD'
   3520 lt_cv_file_magic_test_file=
   3521 lt_cv_deplibs_check_method='unknown'
   3522 # Need to set the preceding variable on all platforms that support
   3523 # interlibrary dependencies.
   3524 # 'none' -- dependencies not supported.
   3525 # `unknown' -- same as none, but documents that we really don't know.
   3526 # 'pass_all' -- all dependencies passed with no checks.
   3527 # 'test_compile' -- check by making test program.
   3528 # 'file_magic [[regex]]' -- check by looking for files in library path
   3529 # which responds to the $file_magic_cmd with a given extended regex.
   3530 # If you have `file' or equivalent on your system and you're not sure
   3531 # whether `pass_all' will *always* work, you probably want this one.
   3532 
   3533 case $host_os in
   3534 aix4* | aix5*)
   3535   lt_cv_deplibs_check_method=pass_all
   3536   ;;
   3537 
   3538 beos*)
   3539   lt_cv_deplibs_check_method=pass_all
   3540   ;;
   3541 
   3542 bsdi[45]*)
   3543   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   3544   lt_cv_file_magic_cmd='/usr/bin/file -L'
   3545   lt_cv_file_magic_test_file=/shlib/libc.so
   3546   ;;
   3547 
   3548 cygwin*)
   3549   # func_win32_libid is a shell function defined in ltmain.sh
   3550   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   3551   lt_cv_file_magic_cmd='func_win32_libid'
   3552   ;;
   3553 
   3554 mingw* | pw32*)
   3555   # Base MSYS/MinGW do not provide the 'file' command needed by
   3556   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   3557   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   3558   lt_cv_file_magic_cmd='$OBJDUMP -f'
   3559   ;;
   3560 
   3561 darwin* | rhapsody*)
   3562   lt_cv_deplibs_check_method=pass_all
   3563   ;;
   3564 
   3565 freebsd* | kfreebsd*-gnu | dragonfly*)
   3566   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3567     case $host_cpu in
   3568     i*86 )
   3569       # Not sure whether the presence of OpenBSD here was a mistake.
   3570       # Let's accept both of them until this is cleared up.
   3571       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   3572       lt_cv_file_magic_cmd=/usr/bin/file
   3573       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   3574       ;;
   3575     esac
   3576   else
   3577     lt_cv_deplibs_check_method=pass_all
   3578   fi
   3579   ;;
   3580 
   3581 gnu*)
   3582   lt_cv_deplibs_check_method=pass_all
   3583   ;;
   3584 
   3585 hpux10.20* | hpux11*)
   3586   lt_cv_file_magic_cmd=/usr/bin/file
   3587   case $host_cpu in
   3588   ia64*)
   3589     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   3590     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   3591     ;;
   3592   hppa*64*)
   3593     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]'
   3594     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   3595     ;;
   3596   *)
   3597     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   3598     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   3599     ;;
   3600   esac
   3601   ;;
   3602 
   3603 interix3*)
   3604   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   3605   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   3606   ;;
   3607 
   3608 irix5* | irix6* | nonstopux*)
   3609   case $LD in
   3610   *-32|*"-32 ") libmagic=32-bit;;
   3611   *-n32|*"-n32 ") libmagic=N32;;
   3612   *-64|*"-64 ") libmagic=64-bit;;
   3613   *) libmagic=never-match;;
   3614   esac
   3615   lt_cv_deplibs_check_method=pass_all
   3616   ;;
   3617 
   3618 # This must be Linux ELF.
   3619 linux*)
   3620   lt_cv_deplibs_check_method=pass_all
   3621   ;;
   3622 
   3623 netbsd*)
   3624   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3625     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3626   else
   3627     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   3628   fi
   3629   ;;
   3630 
   3631 newos6*)
   3632   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   3633   lt_cv_file_magic_cmd=/usr/bin/file
   3634   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   3635   ;;
   3636 
   3637 nto-qnx*)
   3638   lt_cv_deplibs_check_method=unknown
   3639   ;;
   3640 
   3641 openbsd*)
   3642   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   3643     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   3644   else
   3645     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3646   fi
   3647   ;;
   3648 
   3649 osf3* | osf4* | osf5*)
   3650   lt_cv_deplibs_check_method=pass_all
   3651   ;;
   3652 
   3653 solaris*)
   3654   lt_cv_deplibs_check_method=pass_all
   3655   ;;
   3656 
   3657 sysv4 | sysv4.3*)
   3658   case $host_vendor in
   3659   motorola)
   3660     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]'
   3661     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   3662     ;;
   3663   ncr)
   3664     lt_cv_deplibs_check_method=pass_all
   3665     ;;
   3666   sequent)
   3667     lt_cv_file_magic_cmd='/bin/file'
   3668     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   3669     ;;
   3670   sni)
   3671     lt_cv_file_magic_cmd='/bin/file'
   3672     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   3673     lt_cv_file_magic_test_file=/lib/libc.so
   3674     ;;
   3675   siemens)
   3676     lt_cv_deplibs_check_method=pass_all
   3677     ;;
   3678   pc)
   3679     lt_cv_deplibs_check_method=pass_all
   3680     ;;
   3681   esac
   3682   ;;
   3683 
   3684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   3685   lt_cv_deplibs_check_method=pass_all
   3686   ;;
   3687 esac
   3688 
   3689 fi
   3690 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   3691 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
   3692 file_magic_cmd=$lt_cv_file_magic_cmd
   3693 deplibs_check_method=$lt_cv_deplibs_check_method
   3694 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   3695 
   3696 
   3697 
   3698 
   3699 # If no C compiler was specified, use CC.
   3700 LTCC=${LTCC-"$CC"}
   3701 
   3702 # If no C compiler flags were specified, use CFLAGS.
   3703 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   3704 
   3705 # Allow CC to be a program name with arguments.
   3706 compiler=$CC
   3707 
   3708 
   3709 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   3710 if test "${enable_libtool_lock+set}" = set; then
   3711   enableval="$enable_libtool_lock"
   3712 
   3713 fi;
   3714 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   3715 
   3716 # Some flags need to be propagated to the compiler or linker for good
   3717 # libtool support.
   3718 case $host in
   3719 ia64-*-hpux*)
   3720   # Find out which ABI we are using.
   3721   echo 'int i;' > conftest.$ac_ext
   3722   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3723   (eval $ac_compile) 2>&5
   3724   ac_status=$?
   3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3726   (exit $ac_status); }; then
   3727     case `/usr/bin/file conftest.$ac_objext` in
   3728     *ELF-32*)
   3729       HPUX_IA64_MODE="32"
   3730       ;;
   3731     *ELF-64*)
   3732       HPUX_IA64_MODE="64"
   3733       ;;
   3734     esac
   3735   fi
   3736   rm -rf conftest*
   3737   ;;
   3738 *-*-irix6*)
   3739   # Find out which ABI we are using.
   3740   echo '#line 3740 "configure"' > conftest.$ac_ext
   3741   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3742   (eval $ac_compile) 2>&5
   3743   ac_status=$?
   3744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3745   (exit $ac_status); }; then
   3746    if test "$lt_cv_prog_gnu_ld" = yes; then
   3747     case `/usr/bin/file conftest.$ac_objext` in
   3748     *32-bit*)
   3749       LD="${LD-ld} -melf32bsmip"
   3750       ;;
   3751     *N32*)
   3752       LD="${LD-ld} -melf32bmipn32"
   3753       ;;
   3754     *64-bit*)
   3755       LD="${LD-ld} -melf64bmip"
   3756       ;;
   3757     esac
   3758    else
   3759     case `/usr/bin/file conftest.$ac_objext` in
   3760     *32-bit*)
   3761       LD="${LD-ld} -32"
   3762       ;;
   3763     *N32*)
   3764       LD="${LD-ld} -n32"
   3765       ;;
   3766     *64-bit*)
   3767       LD="${LD-ld} -64"
   3768       ;;
   3769     esac
   3770    fi
   3771   fi
   3772   rm -rf conftest*
   3773   ;;
   3774 
   3775 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   3776   # Find out which ABI we are using.
   3777   echo 'int i;' > conftest.$ac_ext
   3778   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3779   (eval $ac_compile) 2>&5
   3780   ac_status=$?
   3781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3782   (exit $ac_status); }; then
   3783     case `/usr/bin/file conftest.o` in
   3784     *32-bit*)
   3785       case $host in
   3786         x86_64-*linux*)
   3787           LD="${LD-ld} -m elf_i386"
   3788           ;;
   3789         ppc64-*linux*|powerpc64-*linux*)
   3790           LD="${LD-ld} -m elf32ppclinux"
   3791           ;;
   3792         s390x-*linux*)
   3793           LD="${LD-ld} -m elf_s390"
   3794           ;;
   3795         sparc64-*linux*)
   3796           LD="${LD-ld} -m elf32_sparc"
   3797           ;;
   3798       esac
   3799       ;;
   3800     *64-bit*)
   3801       case $host in
   3802         x86_64-*linux*)
   3803           LD="${LD-ld} -m elf_x86_64"
   3804           ;;
   3805         ppc*-*linux*|powerpc*-*linux*)
   3806           LD="${LD-ld} -m elf64ppc"
   3807           ;;
   3808         s390*-*linux*)
   3809           LD="${LD-ld} -m elf64_s390"
   3810           ;;
   3811         sparc*-*linux*)
   3812           LD="${LD-ld} -m elf64_sparc"
   3813           ;;
   3814       esac
   3815       ;;
   3816     esac
   3817   fi
   3818   rm -rf conftest*
   3819   ;;
   3820 
   3821 *-*-sco3.2v5*)
   3822   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   3823   SAVE_CFLAGS="$CFLAGS"
   3824   CFLAGS="$CFLAGS -belf"
   3825   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   3826 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   3827 if test "${lt_cv_cc_needs_belf+set}" = set; then
   3828   echo $ECHO_N "(cached) $ECHO_C" >&6
   3829 else
   3830   ac_ext=c
   3831 ac_cpp='$CPP $CPPFLAGS'
   3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3835 
   3836      cat >conftest.$ac_ext <<_ACEOF
   3837 /* confdefs.h.  */
   3838 _ACEOF
   3839 cat confdefs.h >>conftest.$ac_ext
   3840 cat >>conftest.$ac_ext <<_ACEOF
   3841 /* end confdefs.h.  */
   3842 
   3843 int
   3844 main ()
   3845 {
   3846 
   3847   ;
   3848   return 0;
   3849 }
   3850 _ACEOF
   3851 rm -f conftest.$ac_objext conftest$ac_exeext
   3852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3853   (eval $ac_link) 2>conftest.er1
   3854   ac_status=$?
   3855   grep -v '^ *+' conftest.er1 >conftest.err
   3856   rm -f conftest.er1
   3857   cat conftest.err >&5
   3858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3859   (exit $ac_status); } &&
   3860 	 { ac_try='test -z "$ac_c_werror_flag"
   3861 			 || test ! -s conftest.err'
   3862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3863   (eval $ac_try) 2>&5
   3864   ac_status=$?
   3865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3866   (exit $ac_status); }; } &&
   3867 	 { ac_try='test -s conftest$ac_exeext'
   3868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3869   (eval $ac_try) 2>&5
   3870   ac_status=$?
   3871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3872   (exit $ac_status); }; }; then
   3873   lt_cv_cc_needs_belf=yes
   3874 else
   3875   echo "$as_me: failed program was:" >&5
   3876 sed 's/^/| /' conftest.$ac_ext >&5
   3877 
   3878 lt_cv_cc_needs_belf=no
   3879 fi
   3880 rm -f conftest.err conftest.$ac_objext \
   3881       conftest$ac_exeext conftest.$ac_ext
   3882      ac_ext=c
   3883 ac_cpp='$CPP $CPPFLAGS'
   3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3887 
   3888 fi
   3889 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   3890 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   3891   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   3892     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   3893     CFLAGS="$SAVE_CFLAGS"
   3894   fi
   3895   ;;
   3896 sparc*-*solaris*)
   3897   # Find out which ABI we are using.
   3898   echo 'int i;' > conftest.$ac_ext
   3899   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3900   (eval $ac_compile) 2>&5
   3901   ac_status=$?
   3902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3903   (exit $ac_status); }; then
   3904     case `/usr/bin/file conftest.o` in
   3905     *64-bit*)
   3906       case $lt_cv_prog_gnu_ld in
   3907       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   3908       *)    LD="${LD-ld} -64" ;;
   3909       esac
   3910       ;;
   3911     esac
   3912   fi
   3913   rm -rf conftest*
   3914   ;;
   3915 
   3916 
   3917 esac
   3918 
   3919 need_locks="$enable_libtool_lock"
   3920 
   3921 
   3922 ac_ext=c
   3923 ac_cpp='$CPP $CPPFLAGS'
   3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3927 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3928 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   3929 # On Suns, sometimes $CPP names a directory.
   3930 if test -n "$CPP" && test -d "$CPP"; then
   3931   CPP=
   3932 fi
   3933 if test -z "$CPP"; then
   3934   if test "${ac_cv_prog_CPP+set}" = set; then
   3935   echo $ECHO_N "(cached) $ECHO_C" >&6
   3936 else
   3937       # Double quotes because CPP needs to be expanded
   3938     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3939     do
   3940       ac_preproc_ok=false
   3941 for ac_c_preproc_warn_flag in '' yes
   3942 do
   3943   # Use a header file that comes with gcc, so configuring glibc
   3944   # with a fresh cross-compiler works.
   3945   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3946   # <limits.h> exists even on freestanding compilers.
   3947   # On the NeXT, cc -E runs the code through the compiler's parser,
   3948   # not just through cpp. "Syntax error" is here to catch this case.
   3949   cat >conftest.$ac_ext <<_ACEOF
   3950 /* confdefs.h.  */
   3951 _ACEOF
   3952 cat confdefs.h >>conftest.$ac_ext
   3953 cat >>conftest.$ac_ext <<_ACEOF
   3954 /* end confdefs.h.  */
   3955 #ifdef __STDC__
   3956 # include <limits.h>
   3957 #else
   3958 # include <assert.h>
   3959 #endif
   3960 		     Syntax error
   3961 _ACEOF
   3962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3963   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3964   ac_status=$?
   3965   grep -v '^ *+' conftest.er1 >conftest.err
   3966   rm -f conftest.er1
   3967   cat conftest.err >&5
   3968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3969   (exit $ac_status); } >/dev/null; then
   3970   if test -s conftest.err; then
   3971     ac_cpp_err=$ac_c_preproc_warn_flag
   3972     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3973   else
   3974     ac_cpp_err=
   3975   fi
   3976 else
   3977   ac_cpp_err=yes
   3978 fi
   3979 if test -z "$ac_cpp_err"; then
   3980   :
   3981 else
   3982   echo "$as_me: failed program was:" >&5
   3983 sed 's/^/| /' conftest.$ac_ext >&5
   3984 
   3985   # Broken: fails on valid input.
   3986 continue
   3987 fi
   3988 rm -f conftest.err conftest.$ac_ext
   3989 
   3990   # OK, works on sane cases.  Now check whether non-existent headers
   3991   # can be detected and how.
   3992   cat >conftest.$ac_ext <<_ACEOF
   3993 /* confdefs.h.  */
   3994 _ACEOF
   3995 cat confdefs.h >>conftest.$ac_ext
   3996 cat >>conftest.$ac_ext <<_ACEOF
   3997 /* end confdefs.h.  */
   3998 #include <ac_nonexistent.h>
   3999 _ACEOF
   4000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4001   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4002   ac_status=$?
   4003   grep -v '^ *+' conftest.er1 >conftest.err
   4004   rm -f conftest.er1
   4005   cat conftest.err >&5
   4006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4007   (exit $ac_status); } >/dev/null; then
   4008   if test -s conftest.err; then
   4009     ac_cpp_err=$ac_c_preproc_warn_flag
   4010     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4011   else
   4012     ac_cpp_err=
   4013   fi
   4014 else
   4015   ac_cpp_err=yes
   4016 fi
   4017 if test -z "$ac_cpp_err"; then
   4018   # Broken: success on invalid input.
   4019 continue
   4020 else
   4021   echo "$as_me: failed program was:" >&5
   4022 sed 's/^/| /' conftest.$ac_ext >&5
   4023 
   4024   # Passes both tests.
   4025 ac_preproc_ok=:
   4026 break
   4027 fi
   4028 rm -f conftest.err conftest.$ac_ext
   4029 
   4030 done
   4031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4032 rm -f conftest.err conftest.$ac_ext
   4033 if $ac_preproc_ok; then
   4034   break
   4035 fi
   4036 
   4037     done
   4038     ac_cv_prog_CPP=$CPP
   4039 
   4040 fi
   4041   CPP=$ac_cv_prog_CPP
   4042 else
   4043   ac_cv_prog_CPP=$CPP
   4044 fi
   4045 echo "$as_me:$LINENO: result: $CPP" >&5
   4046 echo "${ECHO_T}$CPP" >&6
   4047 ac_preproc_ok=false
   4048 for ac_c_preproc_warn_flag in '' yes
   4049 do
   4050   # Use a header file that comes with gcc, so configuring glibc
   4051   # with a fresh cross-compiler works.
   4052   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4053   # <limits.h> exists even on freestanding compilers.
   4054   # On the NeXT, cc -E runs the code through the compiler's parser,
   4055   # not just through cpp. "Syntax error" is here to catch this case.
   4056   cat >conftest.$ac_ext <<_ACEOF
   4057 /* confdefs.h.  */
   4058 _ACEOF
   4059 cat confdefs.h >>conftest.$ac_ext
   4060 cat >>conftest.$ac_ext <<_ACEOF
   4061 /* end confdefs.h.  */
   4062 #ifdef __STDC__
   4063 # include <limits.h>
   4064 #else
   4065 # include <assert.h>
   4066 #endif
   4067 		     Syntax error
   4068 _ACEOF
   4069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4070   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4071   ac_status=$?
   4072   grep -v '^ *+' conftest.er1 >conftest.err
   4073   rm -f conftest.er1
   4074   cat conftest.err >&5
   4075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4076   (exit $ac_status); } >/dev/null; then
   4077   if test -s conftest.err; then
   4078     ac_cpp_err=$ac_c_preproc_warn_flag
   4079     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4080   else
   4081     ac_cpp_err=
   4082   fi
   4083 else
   4084   ac_cpp_err=yes
   4085 fi
   4086 if test -z "$ac_cpp_err"; then
   4087   :
   4088 else
   4089   echo "$as_me: failed program was:" >&5
   4090 sed 's/^/| /' conftest.$ac_ext >&5
   4091 
   4092   # Broken: fails on valid input.
   4093 continue
   4094 fi
   4095 rm -f conftest.err conftest.$ac_ext
   4096 
   4097   # OK, works on sane cases.  Now check whether non-existent headers
   4098   # can be detected and how.
   4099   cat >conftest.$ac_ext <<_ACEOF
   4100 /* confdefs.h.  */
   4101 _ACEOF
   4102 cat confdefs.h >>conftest.$ac_ext
   4103 cat >>conftest.$ac_ext <<_ACEOF
   4104 /* end confdefs.h.  */
   4105 #include <ac_nonexistent.h>
   4106 _ACEOF
   4107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4108   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4109   ac_status=$?
   4110   grep -v '^ *+' conftest.er1 >conftest.err
   4111   rm -f conftest.er1
   4112   cat conftest.err >&5
   4113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4114   (exit $ac_status); } >/dev/null; then
   4115   if test -s conftest.err; then
   4116     ac_cpp_err=$ac_c_preproc_warn_flag
   4117     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4118   else
   4119     ac_cpp_err=
   4120   fi
   4121 else
   4122   ac_cpp_err=yes
   4123 fi
   4124 if test -z "$ac_cpp_err"; then
   4125   # Broken: success on invalid input.
   4126 continue
   4127 else
   4128   echo "$as_me: failed program was:" >&5
   4129 sed 's/^/| /' conftest.$ac_ext >&5
   4130 
   4131   # Passes both tests.
   4132 ac_preproc_ok=:
   4133 break
   4134 fi
   4135 rm -f conftest.err conftest.$ac_ext
   4136 
   4137 done
   4138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4139 rm -f conftest.err conftest.$ac_ext
   4140 if $ac_preproc_ok; then
   4141   :
   4142 else
   4143   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4144 See \`config.log' for more details." >&5
   4145 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4146 See \`config.log' for more details." >&2;}
   4147    { (exit 1); exit 1; }; }
   4148 fi
   4149 
   4150 ac_ext=c
   4151 ac_cpp='$CPP $CPPFLAGS'
   4152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4155 
   4156 
   4157 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4158 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4159 if test "${ac_cv_header_stdc+set}" = set; then
   4160   echo $ECHO_N "(cached) $ECHO_C" >&6
   4161 else
   4162   cat >conftest.$ac_ext <<_ACEOF
   4163 /* confdefs.h.  */
   4164 _ACEOF
   4165 cat confdefs.h >>conftest.$ac_ext
   4166 cat >>conftest.$ac_ext <<_ACEOF
   4167 /* end confdefs.h.  */
   4168 #include <stdlib.h>
   4169 #include <stdarg.h>
   4170 #include <string.h>
   4171 #include <float.h>
   4172 
   4173 int
   4174 main ()
   4175 {
   4176 
   4177   ;
   4178   return 0;
   4179 }
   4180 _ACEOF
   4181 rm -f conftest.$ac_objext
   4182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4183   (eval $ac_compile) 2>conftest.er1
   4184   ac_status=$?
   4185   grep -v '^ *+' conftest.er1 >conftest.err
   4186   rm -f conftest.er1
   4187   cat conftest.err >&5
   4188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4189   (exit $ac_status); } &&
   4190 	 { ac_try='test -z "$ac_c_werror_flag"
   4191 			 || test ! -s conftest.err'
   4192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4193   (eval $ac_try) 2>&5
   4194   ac_status=$?
   4195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4196   (exit $ac_status); }; } &&
   4197 	 { ac_try='test -s conftest.$ac_objext'
   4198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4199   (eval $ac_try) 2>&5
   4200   ac_status=$?
   4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4202   (exit $ac_status); }; }; then
   4203   ac_cv_header_stdc=yes
   4204 else
   4205   echo "$as_me: failed program was:" >&5
   4206 sed 's/^/| /' conftest.$ac_ext >&5
   4207 
   4208 ac_cv_header_stdc=no
   4209 fi
   4210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4211 
   4212 if test $ac_cv_header_stdc = yes; then
   4213   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4214   cat >conftest.$ac_ext <<_ACEOF
   4215 /* confdefs.h.  */
   4216 _ACEOF
   4217 cat confdefs.h >>conftest.$ac_ext
   4218 cat >>conftest.$ac_ext <<_ACEOF
   4219 /* end confdefs.h.  */
   4220 #include <string.h>
   4221 
   4222 _ACEOF
   4223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4224   $EGREP "memchr" >/dev/null 2>&1; then
   4225   :
   4226 else
   4227   ac_cv_header_stdc=no
   4228 fi
   4229 rm -f conftest*
   4230 
   4231 fi
   4232 
   4233 if test $ac_cv_header_stdc = yes; then
   4234   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4235   cat >conftest.$ac_ext <<_ACEOF
   4236 /* confdefs.h.  */
   4237 _ACEOF
   4238 cat confdefs.h >>conftest.$ac_ext
   4239 cat >>conftest.$ac_ext <<_ACEOF
   4240 /* end confdefs.h.  */
   4241 #include <stdlib.h>
   4242 
   4243 _ACEOF
   4244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4245   $EGREP "free" >/dev/null 2>&1; then
   4246   :
   4247 else
   4248   ac_cv_header_stdc=no
   4249 fi
   4250 rm -f conftest*
   4251 
   4252 fi
   4253 
   4254 if test $ac_cv_header_stdc = yes; then
   4255   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4256   if test "$cross_compiling" = yes; then
   4257   :
   4258 else
   4259   cat >conftest.$ac_ext <<_ACEOF
   4260 /* confdefs.h.  */
   4261 _ACEOF
   4262 cat confdefs.h >>conftest.$ac_ext
   4263 cat >>conftest.$ac_ext <<_ACEOF
   4264 /* end confdefs.h.  */
   4265 #include <ctype.h>
   4266 #if ((' ' & 0x0FF) == 0x020)
   4267 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4268 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4269 #else
   4270 # define ISLOWER(c) \
   4271 		   (('a' <= (c) && (c) <= 'i') \
   4272 		     || ('j' <= (c) && (c) <= 'r') \
   4273 		     || ('s' <= (c) && (c) <= 'z'))
   4274 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4275 #endif
   4276 
   4277 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4278 int
   4279 main ()
   4280 {
   4281   int i;
   4282   for (i = 0; i < 256; i++)
   4283     if (XOR (islower (i), ISLOWER (i))
   4284 	|| toupper (i) != TOUPPER (i))
   4285       exit(2);
   4286   exit (0);
   4287 }
   4288 _ACEOF
   4289 rm -f conftest$ac_exeext
   4290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4291   (eval $ac_link) 2>&5
   4292   ac_status=$?
   4293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4294   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4296   (eval $ac_try) 2>&5
   4297   ac_status=$?
   4298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4299   (exit $ac_status); }; }; then
   4300   :
   4301 else
   4302   echo "$as_me: program exited with status $ac_status" >&5
   4303 echo "$as_me: failed program was:" >&5
   4304 sed 's/^/| /' conftest.$ac_ext >&5
   4305 
   4306 ( exit $ac_status )
   4307 ac_cv_header_stdc=no
   4308 fi
   4309 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4310 fi
   4311 fi
   4312 fi
   4313 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4314 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4315 if test $ac_cv_header_stdc = yes; then
   4316 
   4317 cat >>confdefs.h <<\_ACEOF
   4318 #define STDC_HEADERS 1
   4319 _ACEOF
   4320 
   4321 fi
   4322 
   4323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4334 		  inttypes.h stdint.h unistd.h
   4335 do
   4336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4337 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4340   echo $ECHO_N "(cached) $ECHO_C" >&6
   4341 else
   4342   cat >conftest.$ac_ext <<_ACEOF
   4343 /* confdefs.h.  */
   4344 _ACEOF
   4345 cat confdefs.h >>conftest.$ac_ext
   4346 cat >>conftest.$ac_ext <<_ACEOF
   4347 /* end confdefs.h.  */
   4348 $ac_includes_default
   4349 
   4350 #include <$ac_header>
   4351 _ACEOF
   4352 rm -f conftest.$ac_objext
   4353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4354   (eval $ac_compile) 2>conftest.er1
   4355   ac_status=$?
   4356   grep -v '^ *+' conftest.er1 >conftest.err
   4357   rm -f conftest.er1
   4358   cat conftest.err >&5
   4359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4360   (exit $ac_status); } &&
   4361 	 { ac_try='test -z "$ac_c_werror_flag"
   4362 			 || test ! -s conftest.err'
   4363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4364   (eval $ac_try) 2>&5
   4365   ac_status=$?
   4366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4367   (exit $ac_status); }; } &&
   4368 	 { ac_try='test -s conftest.$ac_objext'
   4369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4370   (eval $ac_try) 2>&5
   4371   ac_status=$?
   4372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4373   (exit $ac_status); }; }; then
   4374   eval "$as_ac_Header=yes"
   4375 else
   4376   echo "$as_me: failed program was:" >&5
   4377 sed 's/^/| /' conftest.$ac_ext >&5
   4378 
   4379 eval "$as_ac_Header=no"
   4380 fi
   4381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4382 fi
   4383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4386   cat >>confdefs.h <<_ACEOF
   4387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4388 _ACEOF
   4389 
   4390 fi
   4391 
   4392 done
   4393 
   4394 
   4395 
   4396 for ac_header in dlfcn.h
   4397 do
   4398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4400   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4403   echo $ECHO_N "(cached) $ECHO_C" >&6
   4404 fi
   4405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4407 else
   4408   # Is the header compilable?
   4409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4411 cat >conftest.$ac_ext <<_ACEOF
   4412 /* confdefs.h.  */
   4413 _ACEOF
   4414 cat confdefs.h >>conftest.$ac_ext
   4415 cat >>conftest.$ac_ext <<_ACEOF
   4416 /* end confdefs.h.  */
   4417 $ac_includes_default
   4418 #include <$ac_header>
   4419 _ACEOF
   4420 rm -f conftest.$ac_objext
   4421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4422   (eval $ac_compile) 2>conftest.er1
   4423   ac_status=$?
   4424   grep -v '^ *+' conftest.er1 >conftest.err
   4425   rm -f conftest.er1
   4426   cat conftest.err >&5
   4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4428   (exit $ac_status); } &&
   4429 	 { ac_try='test -z "$ac_c_werror_flag"
   4430 			 || test ! -s conftest.err'
   4431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4432   (eval $ac_try) 2>&5
   4433   ac_status=$?
   4434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4435   (exit $ac_status); }; } &&
   4436 	 { ac_try='test -s conftest.$ac_objext'
   4437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4438   (eval $ac_try) 2>&5
   4439   ac_status=$?
   4440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4441   (exit $ac_status); }; }; then
   4442   ac_header_compiler=yes
   4443 else
   4444   echo "$as_me: failed program was:" >&5
   4445 sed 's/^/| /' conftest.$ac_ext >&5
   4446 
   4447 ac_header_compiler=no
   4448 fi
   4449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4451 echo "${ECHO_T}$ac_header_compiler" >&6
   4452 
   4453 # Is the header present?
   4454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4456 cat >conftest.$ac_ext <<_ACEOF
   4457 /* confdefs.h.  */
   4458 _ACEOF
   4459 cat confdefs.h >>conftest.$ac_ext
   4460 cat >>conftest.$ac_ext <<_ACEOF
   4461 /* end confdefs.h.  */
   4462 #include <$ac_header>
   4463 _ACEOF
   4464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4465   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4466   ac_status=$?
   4467   grep -v '^ *+' conftest.er1 >conftest.err
   4468   rm -f conftest.er1
   4469   cat conftest.err >&5
   4470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4471   (exit $ac_status); } >/dev/null; then
   4472   if test -s conftest.err; then
   4473     ac_cpp_err=$ac_c_preproc_warn_flag
   4474     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4475   else
   4476     ac_cpp_err=
   4477   fi
   4478 else
   4479   ac_cpp_err=yes
   4480 fi
   4481 if test -z "$ac_cpp_err"; then
   4482   ac_header_preproc=yes
   4483 else
   4484   echo "$as_me: failed program was:" >&5
   4485 sed 's/^/| /' conftest.$ac_ext >&5
   4486 
   4487   ac_header_preproc=no
   4488 fi
   4489 rm -f conftest.err conftest.$ac_ext
   4490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4491 echo "${ECHO_T}$ac_header_preproc" >&6
   4492 
   4493 # So?  What about this header?
   4494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4495   yes:no: )
   4496     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4498     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4500     ac_header_preproc=yes
   4501     ;;
   4502   no:yes:* )
   4503     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4505     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4506 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4507     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4509     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4510 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4511     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4513     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4515     (
   4516       cat <<\_ASBOX
   4517 ## ---------------------------------------------------------------------- ##
   4518 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   4519 ## ---------------------------------------------------------------------- ##
   4520 _ASBOX
   4521     ) |
   4522       sed "s/^/$as_me: WARNING:     /" >&2
   4523     ;;
   4524 esac
   4525 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4528   echo $ECHO_N "(cached) $ECHO_C" >&6
   4529 else
   4530   eval "$as_ac_Header=\$ac_header_preproc"
   4531 fi
   4532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4534 
   4535 fi
   4536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4537   cat >>confdefs.h <<_ACEOF
   4538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4539 _ACEOF
   4540 
   4541 fi
   4542 
   4543 done
   4544 
   4545 ac_ext=cc
   4546 ac_cpp='$CXXCPP $CPPFLAGS'
   4547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4550 if test -n "$ac_tool_prefix"; then
   4551   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4552   do
   4553     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4555 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4557 if test "${ac_cv_prog_CXX+set}" = set; then
   4558   echo $ECHO_N "(cached) $ECHO_C" >&6
   4559 else
   4560   if test -n "$CXX"; then
   4561   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4562 else
   4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4564 for as_dir in $PATH
   4565 do
   4566   IFS=$as_save_IFS
   4567   test -z "$as_dir" && as_dir=.
   4568   for ac_exec_ext in '' $ac_executable_extensions; do
   4569   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4570     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4571     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4572     break 2
   4573   fi
   4574 done
   4575 done
   4576 
   4577 fi
   4578 fi
   4579 CXX=$ac_cv_prog_CXX
   4580 if test -n "$CXX"; then
   4581   echo "$as_me:$LINENO: result: $CXX" >&5
   4582 echo "${ECHO_T}$CXX" >&6
   4583 else
   4584   echo "$as_me:$LINENO: result: no" >&5
   4585 echo "${ECHO_T}no" >&6
   4586 fi
   4587 
   4588     test -n "$CXX" && break
   4589   done
   4590 fi
   4591 if test -z "$CXX"; then
   4592   ac_ct_CXX=$CXX
   4593   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4594 do
   4595   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4596 set dummy $ac_prog; ac_word=$2
   4597 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4599 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   4600   echo $ECHO_N "(cached) $ECHO_C" >&6
   4601 else
   4602   if test -n "$ac_ct_CXX"; then
   4603   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4604 else
   4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4606 for as_dir in $PATH
   4607 do
   4608   IFS=$as_save_IFS
   4609   test -z "$as_dir" && as_dir=.
   4610   for ac_exec_ext in '' $ac_executable_extensions; do
   4611   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4612     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4613     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4614     break 2
   4615   fi
   4616 done
   4617 done
   4618 
   4619 fi
   4620 fi
   4621 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4622 if test -n "$ac_ct_CXX"; then
   4623   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   4624 echo "${ECHO_T}$ac_ct_CXX" >&6
   4625 else
   4626   echo "$as_me:$LINENO: result: no" >&5
   4627 echo "${ECHO_T}no" >&6
   4628 fi
   4629 
   4630   test -n "$ac_ct_CXX" && break
   4631 done
   4632 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
   4633 
   4634   CXX=$ac_ct_CXX
   4635 fi
   4636 
   4637 
   4638 # Provide some information about the compiler.
   4639 echo "$as_me:$LINENO:" \
   4640      "checking for C++ compiler version" >&5
   4641 ac_compiler=`set X $ac_compile; echo $2`
   4642 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   4643   (eval $ac_compiler --version </dev/null >&5) 2>&5
   4644   ac_status=$?
   4645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4646   (exit $ac_status); }
   4647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   4648   (eval $ac_compiler -v </dev/null >&5) 2>&5
   4649   ac_status=$?
   4650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4651   (exit $ac_status); }
   4652 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   4653   (eval $ac_compiler -V </dev/null >&5) 2>&5
   4654   ac_status=$?
   4655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4656   (exit $ac_status); }
   4657 
   4658 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   4659 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   4660 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   4661   echo $ECHO_N "(cached) $ECHO_C" >&6
   4662 else
   4663   cat >conftest.$ac_ext <<_ACEOF
   4664 /* confdefs.h.  */
   4665 _ACEOF
   4666 cat confdefs.h >>conftest.$ac_ext
   4667 cat >>conftest.$ac_ext <<_ACEOF
   4668 /* end confdefs.h.  */
   4669 
   4670 int
   4671 main ()
   4672 {
   4673 #ifndef __GNUC__
   4674        choke me
   4675 #endif
   4676 
   4677   ;
   4678   return 0;
   4679 }
   4680 _ACEOF
   4681 rm -f conftest.$ac_objext
   4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4683   (eval $ac_compile) 2>conftest.er1
   4684   ac_status=$?
   4685   grep -v '^ *+' conftest.er1 >conftest.err
   4686   rm -f conftest.er1
   4687   cat conftest.err >&5
   4688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4689   (exit $ac_status); } &&
   4690 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4691 			 || test ! -s conftest.err'
   4692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4693   (eval $ac_try) 2>&5
   4694   ac_status=$?
   4695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4696   (exit $ac_status); }; } &&
   4697 	 { ac_try='test -s conftest.$ac_objext'
   4698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4699   (eval $ac_try) 2>&5
   4700   ac_status=$?
   4701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4702   (exit $ac_status); }; }; then
   4703   ac_compiler_gnu=yes
   4704 else
   4705   echo "$as_me: failed program was:" >&5
   4706 sed 's/^/| /' conftest.$ac_ext >&5
   4707 
   4708 ac_compiler_gnu=no
   4709 fi
   4710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4711 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4712 
   4713 fi
   4714 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   4715 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   4716 GXX=`test $ac_compiler_gnu = yes && echo yes`
   4717 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4718 ac_save_CXXFLAGS=$CXXFLAGS
   4719 CXXFLAGS="-g"
   4720 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   4721 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   4722 if test "${ac_cv_prog_cxx_g+set}" = set; then
   4723   echo $ECHO_N "(cached) $ECHO_C" >&6
   4724 else
   4725   cat >conftest.$ac_ext <<_ACEOF
   4726 /* confdefs.h.  */
   4727 _ACEOF
   4728 cat confdefs.h >>conftest.$ac_ext
   4729 cat >>conftest.$ac_ext <<_ACEOF
   4730 /* end confdefs.h.  */
   4731 
   4732 int
   4733 main ()
   4734 {
   4735 
   4736   ;
   4737   return 0;
   4738 }
   4739 _ACEOF
   4740 rm -f conftest.$ac_objext
   4741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4742   (eval $ac_compile) 2>conftest.er1
   4743   ac_status=$?
   4744   grep -v '^ *+' conftest.er1 >conftest.err
   4745   rm -f conftest.er1
   4746   cat conftest.err >&5
   4747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4748   (exit $ac_status); } &&
   4749 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4750 			 || test ! -s conftest.err'
   4751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4752   (eval $ac_try) 2>&5
   4753   ac_status=$?
   4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4755   (exit $ac_status); }; } &&
   4756 	 { ac_try='test -s conftest.$ac_objext'
   4757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4758   (eval $ac_try) 2>&5
   4759   ac_status=$?
   4760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4761   (exit $ac_status); }; }; then
   4762   ac_cv_prog_cxx_g=yes
   4763 else
   4764   echo "$as_me: failed program was:" >&5
   4765 sed 's/^/| /' conftest.$ac_ext >&5
   4766 
   4767 ac_cv_prog_cxx_g=no
   4768 fi
   4769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4770 fi
   4771 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   4772 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
   4773 if test "$ac_test_CXXFLAGS" = set; then
   4774   CXXFLAGS=$ac_save_CXXFLAGS
   4775 elif test $ac_cv_prog_cxx_g = yes; then
   4776   if test "$GXX" = yes; then
   4777     CXXFLAGS="-g -O2"
   4778   else
   4779     CXXFLAGS="-g"
   4780   fi
   4781 else
   4782   if test "$GXX" = yes; then
   4783     CXXFLAGS="-O2"
   4784   else
   4785     CXXFLAGS=
   4786   fi
   4787 fi
   4788 for ac_declaration in \
   4789    '' \
   4790    'extern "C" void std::exit (int) throw (); using std::exit;' \
   4791    'extern "C" void std::exit (int); using std::exit;' \
   4792    'extern "C" void exit (int) throw ();' \
   4793    'extern "C" void exit (int);' \
   4794    'void exit (int);'
   4795 do
   4796   cat >conftest.$ac_ext <<_ACEOF
   4797 /* confdefs.h.  */
   4798 _ACEOF
   4799 cat confdefs.h >>conftest.$ac_ext
   4800 cat >>conftest.$ac_ext <<_ACEOF
   4801 /* end confdefs.h.  */
   4802 $ac_declaration
   4803 #include <stdlib.h>
   4804 int
   4805 main ()
   4806 {
   4807 exit (42);
   4808   ;
   4809   return 0;
   4810 }
   4811 _ACEOF
   4812 rm -f conftest.$ac_objext
   4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4814   (eval $ac_compile) 2>conftest.er1
   4815   ac_status=$?
   4816   grep -v '^ *+' conftest.er1 >conftest.err
   4817   rm -f conftest.er1
   4818   cat conftest.err >&5
   4819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4820   (exit $ac_status); } &&
   4821 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4822 			 || test ! -s conftest.err'
   4823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4824   (eval $ac_try) 2>&5
   4825   ac_status=$?
   4826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4827   (exit $ac_status); }; } &&
   4828 	 { ac_try='test -s conftest.$ac_objext'
   4829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4830   (eval $ac_try) 2>&5
   4831   ac_status=$?
   4832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4833   (exit $ac_status); }; }; then
   4834   :
   4835 else
   4836   echo "$as_me: failed program was:" >&5
   4837 sed 's/^/| /' conftest.$ac_ext >&5
   4838 
   4839 continue
   4840 fi
   4841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4842   cat >conftest.$ac_ext <<_ACEOF
   4843 /* confdefs.h.  */
   4844 _ACEOF
   4845 cat confdefs.h >>conftest.$ac_ext
   4846 cat >>conftest.$ac_ext <<_ACEOF
   4847 /* end confdefs.h.  */
   4848 $ac_declaration
   4849 int
   4850 main ()
   4851 {
   4852 exit (42);
   4853   ;
   4854   return 0;
   4855 }
   4856 _ACEOF
   4857 rm -f conftest.$ac_objext
   4858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4859   (eval $ac_compile) 2>conftest.er1
   4860   ac_status=$?
   4861   grep -v '^ *+' conftest.er1 >conftest.err
   4862   rm -f conftest.er1
   4863   cat conftest.err >&5
   4864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4865   (exit $ac_status); } &&
   4866 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4867 			 || test ! -s conftest.err'
   4868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4869   (eval $ac_try) 2>&5
   4870   ac_status=$?
   4871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4872   (exit $ac_status); }; } &&
   4873 	 { ac_try='test -s conftest.$ac_objext'
   4874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4875   (eval $ac_try) 2>&5
   4876   ac_status=$?
   4877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4878   (exit $ac_status); }; }; then
   4879   break
   4880 else
   4881   echo "$as_me: failed program was:" >&5
   4882 sed 's/^/| /' conftest.$ac_ext >&5
   4883 
   4884 fi
   4885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4886 done
   4887 rm -f conftest*
   4888 if test -n "$ac_declaration"; then
   4889   echo '#ifdef __cplusplus' >>confdefs.h
   4890   echo $ac_declaration      >>confdefs.h
   4891   echo '#endif'             >>confdefs.h
   4892 fi
   4893 
   4894 ac_ext=cc
   4895 ac_cpp='$CXXCPP $CPPFLAGS'
   4896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4899 
   4900 depcc="$CXX"  am_compiler_list=
   4901 
   4902 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4903 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   4904 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   4905   echo $ECHO_N "(cached) $ECHO_C" >&6
   4906 else
   4907   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4908   # We make a subdir and do the tests there.  Otherwise we can end up
   4909   # making bogus files that we don't know about and never remove.  For
   4910   # instance it was reported that on HP-UX the gcc test will end up
   4911   # making a dummy file named `D' -- because `-MD' means `put the output
   4912   # in D'.
   4913   mkdir conftest.dir
   4914   # Copy depcomp to subdir because otherwise we won't find it if we're
   4915   # using a relative directory.
   4916   cp "$am_depcomp" conftest.dir
   4917   cd conftest.dir
   4918   # We will build objects and dependencies in a subdirectory because
   4919   # it helps to detect inapplicable dependency modes.  For instance
   4920   # both Tru64's cc and ICC support -MD to output dependencies as a
   4921   # side effect of compilation, but ICC will put the dependencies in
   4922   # the current directory while Tru64 will put them in the object
   4923   # directory.
   4924   mkdir sub
   4925 
   4926   am_cv_CXX_dependencies_compiler_type=none
   4927   if test "$am_compiler_list" = ""; then
   4928      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4929   fi
   4930   for depmode in $am_compiler_list; do
   4931     # Setup a source with many dependencies, because some compilers
   4932     # like to wrap large dependency lists on column 80 (with \), and
   4933     # we should not choose a depcomp mode which is confused by this.
   4934     #
   4935     # We need to recreate these files for each test, as the compiler may
   4936     # overwrite some of them when testing with obscure command lines.
   4937     # This happens at least with the AIX C compiler.
   4938     : > sub/conftest.c
   4939     for i in 1 2 3 4 5 6; do
   4940       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4941       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4942       # Solaris 8's {/usr,}/bin/sh.
   4943       touch sub/conftst$i.h
   4944     done
   4945     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4946 
   4947     case $depmode in
   4948     nosideeffect)
   4949       # after this tag, mechanisms are not by side-effect, so they'll
   4950       # only be used when explicitly requested
   4951       if test "x$enable_dependency_tracking" = xyes; then
   4952 	continue
   4953       else
   4954 	break
   4955       fi
   4956       ;;
   4957     none) break ;;
   4958     esac
   4959     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4960     # mode.  It turns out that the SunPro C++ compiler does not properly
   4961     # handle `-M -o', and we need to detect this.
   4962     if depmode=$depmode \
   4963        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4964        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4965        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4966          >/dev/null 2>conftest.err &&
   4967        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4968        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4969        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4970       # icc doesn't choke on unknown options, it will just issue warnings
   4971       # or remarks (even with -Werror).  So we grep stderr for any message
   4972       # that says an option was ignored or not supported.
   4973       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4974       #   icc: Command line warning: ignoring option '-M'; no argument required
   4975       # The diagnosis changed in icc 8.0:
   4976       #   icc: Command line remark: option '-MP' not supported
   4977       if (grep 'ignoring option' conftest.err ||
   4978           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4979         am_cv_CXX_dependencies_compiler_type=$depmode
   4980         break
   4981       fi
   4982     fi
   4983   done
   4984 
   4985   cd ..
   4986   rm -rf conftest.dir
   4987 else
   4988   am_cv_CXX_dependencies_compiler_type=none
   4989 fi
   4990 
   4991 fi
   4992 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4993 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   4994 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4995 
   4996 
   4997 
   4998 if
   4999   test "x$enable_dependency_tracking" != xno \
   5000   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5001   am__fastdepCXX_TRUE=
   5002   am__fastdepCXX_FALSE='#'
   5003 else
   5004   am__fastdepCXX_TRUE='#'
   5005   am__fastdepCXX_FALSE=
   5006 fi
   5007 
   5008 
   5009 
   5010 
   5011 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5012     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5013     (test "X$CXX" != "Xg++"))) ; then
   5014   ac_ext=cc
   5015 ac_cpp='$CXXCPP $CPPFLAGS'
   5016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5019 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5020 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
   5021 if test -z "$CXXCPP"; then
   5022   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5023   echo $ECHO_N "(cached) $ECHO_C" >&6
   5024 else
   5025       # Double quotes because CXXCPP needs to be expanded
   5026     for CXXCPP in "$CXX -E" "/lib/cpp"
   5027     do
   5028       ac_preproc_ok=false
   5029 for ac_cxx_preproc_warn_flag in '' yes
   5030 do
   5031   # Use a header file that comes with gcc, so configuring glibc
   5032   # with a fresh cross-compiler works.
   5033   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5034   # <limits.h> exists even on freestanding compilers.
   5035   # On the NeXT, cc -E runs the code through the compiler's parser,
   5036   # not just through cpp. "Syntax error" is here to catch this case.
   5037   cat >conftest.$ac_ext <<_ACEOF
   5038 /* confdefs.h.  */
   5039 _ACEOF
   5040 cat confdefs.h >>conftest.$ac_ext
   5041 cat >>conftest.$ac_ext <<_ACEOF
   5042 /* end confdefs.h.  */
   5043 #ifdef __STDC__
   5044 # include <limits.h>
   5045 #else
   5046 # include <assert.h>
   5047 #endif
   5048 		     Syntax error
   5049 _ACEOF
   5050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5051   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5052   ac_status=$?
   5053   grep -v '^ *+' conftest.er1 >conftest.err
   5054   rm -f conftest.er1
   5055   cat conftest.err >&5
   5056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5057   (exit $ac_status); } >/dev/null; then
   5058   if test -s conftest.err; then
   5059     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5060     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5061   else
   5062     ac_cpp_err=
   5063   fi
   5064 else
   5065   ac_cpp_err=yes
   5066 fi
   5067 if test -z "$ac_cpp_err"; then
   5068   :
   5069 else
   5070   echo "$as_me: failed program was:" >&5
   5071 sed 's/^/| /' conftest.$ac_ext >&5
   5072 
   5073   # Broken: fails on valid input.
   5074 continue
   5075 fi
   5076 rm -f conftest.err conftest.$ac_ext
   5077 
   5078   # OK, works on sane cases.  Now check whether non-existent headers
   5079   # can be detected and how.
   5080   cat >conftest.$ac_ext <<_ACEOF
   5081 /* confdefs.h.  */
   5082 _ACEOF
   5083 cat confdefs.h >>conftest.$ac_ext
   5084 cat >>conftest.$ac_ext <<_ACEOF
   5085 /* end confdefs.h.  */
   5086 #include <ac_nonexistent.h>
   5087 _ACEOF
   5088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5089   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5090   ac_status=$?
   5091   grep -v '^ *+' conftest.er1 >conftest.err
   5092   rm -f conftest.er1
   5093   cat conftest.err >&5
   5094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5095   (exit $ac_status); } >/dev/null; then
   5096   if test -s conftest.err; then
   5097     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5098     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5099   else
   5100     ac_cpp_err=
   5101   fi
   5102 else
   5103   ac_cpp_err=yes
   5104 fi
   5105 if test -z "$ac_cpp_err"; then
   5106   # Broken: success on invalid input.
   5107 continue
   5108 else
   5109   echo "$as_me: failed program was:" >&5
   5110 sed 's/^/| /' conftest.$ac_ext >&5
   5111 
   5112   # Passes both tests.
   5113 ac_preproc_ok=:
   5114 break
   5115 fi
   5116 rm -f conftest.err conftest.$ac_ext
   5117 
   5118 done
   5119 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5120 rm -f conftest.err conftest.$ac_ext
   5121 if $ac_preproc_ok; then
   5122   break
   5123 fi
   5124 
   5125     done
   5126     ac_cv_prog_CXXCPP=$CXXCPP
   5127 
   5128 fi
   5129   CXXCPP=$ac_cv_prog_CXXCPP
   5130 else
   5131   ac_cv_prog_CXXCPP=$CXXCPP
   5132 fi
   5133 echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5134 echo "${ECHO_T}$CXXCPP" >&6
   5135 ac_preproc_ok=false
   5136 for ac_cxx_preproc_warn_flag in '' yes
   5137 do
   5138   # Use a header file that comes with gcc, so configuring glibc
   5139   # with a fresh cross-compiler works.
   5140   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5141   # <limits.h> exists even on freestanding compilers.
   5142   # On the NeXT, cc -E runs the code through the compiler's parser,
   5143   # not just through cpp. "Syntax error" is here to catch this case.
   5144   cat >conftest.$ac_ext <<_ACEOF
   5145 /* confdefs.h.  */
   5146 _ACEOF
   5147 cat confdefs.h >>conftest.$ac_ext
   5148 cat >>conftest.$ac_ext <<_ACEOF
   5149 /* end confdefs.h.  */
   5150 #ifdef __STDC__
   5151 # include <limits.h>
   5152 #else
   5153 # include <assert.h>
   5154 #endif
   5155 		     Syntax error
   5156 _ACEOF
   5157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5158   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5159   ac_status=$?
   5160   grep -v '^ *+' conftest.er1 >conftest.err
   5161   rm -f conftest.er1
   5162   cat conftest.err >&5
   5163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5164   (exit $ac_status); } >/dev/null; then
   5165   if test -s conftest.err; then
   5166     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5167     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5168   else
   5169     ac_cpp_err=
   5170   fi
   5171 else
   5172   ac_cpp_err=yes
   5173 fi
   5174 if test -z "$ac_cpp_err"; then
   5175   :
   5176 else
   5177   echo "$as_me: failed program was:" >&5
   5178 sed 's/^/| /' conftest.$ac_ext >&5
   5179 
   5180   # Broken: fails on valid input.
   5181 continue
   5182 fi
   5183 rm -f conftest.err conftest.$ac_ext
   5184 
   5185   # OK, works on sane cases.  Now check whether non-existent headers
   5186   # can be detected and how.
   5187   cat >conftest.$ac_ext <<_ACEOF
   5188 /* confdefs.h.  */
   5189 _ACEOF
   5190 cat confdefs.h >>conftest.$ac_ext
   5191 cat >>conftest.$ac_ext <<_ACEOF
   5192 /* end confdefs.h.  */
   5193 #include <ac_nonexistent.h>
   5194 _ACEOF
   5195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5196   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5197   ac_status=$?
   5198   grep -v '^ *+' conftest.er1 >conftest.err
   5199   rm -f conftest.er1
   5200   cat conftest.err >&5
   5201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5202   (exit $ac_status); } >/dev/null; then
   5203   if test -s conftest.err; then
   5204     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5205     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5206   else
   5207     ac_cpp_err=
   5208   fi
   5209 else
   5210   ac_cpp_err=yes
   5211 fi
   5212 if test -z "$ac_cpp_err"; then
   5213   # Broken: success on invalid input.
   5214 continue
   5215 else
   5216   echo "$as_me: failed program was:" >&5
   5217 sed 's/^/| /' conftest.$ac_ext >&5
   5218 
   5219   # Passes both tests.
   5220 ac_preproc_ok=:
   5221 break
   5222 fi
   5223 rm -f conftest.err conftest.$ac_ext
   5224 
   5225 done
   5226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5227 rm -f conftest.err conftest.$ac_ext
   5228 if $ac_preproc_ok; then
   5229   :
   5230 else
   5231   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5232 See \`config.log' for more details." >&5
   5233 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5234 See \`config.log' for more details." >&2;}
   5235    { (exit 1); exit 1; }; }
   5236 fi
   5237 
   5238 ac_ext=cc
   5239 ac_cpp='$CXXCPP $CPPFLAGS'
   5240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5243 
   5244 fi
   5245 
   5246 
   5247 ac_ext=f
   5248 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5249 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5250 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5251 if test -n "$ac_tool_prefix"; then
   5252   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5253   do
   5254     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5256 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5258 if test "${ac_cv_prog_F77+set}" = set; then
   5259   echo $ECHO_N "(cached) $ECHO_C" >&6
   5260 else
   5261   if test -n "$F77"; then
   5262   ac_cv_prog_F77="$F77" # Let the user override the test.
   5263 else
   5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5265 for as_dir in $PATH
   5266 do
   5267   IFS=$as_save_IFS
   5268   test -z "$as_dir" && as_dir=.
   5269   for ac_exec_ext in '' $ac_executable_extensions; do
   5270   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5271     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5273     break 2
   5274   fi
   5275 done
   5276 done
   5277 
   5278 fi
   5279 fi
   5280 F77=$ac_cv_prog_F77
   5281 if test -n "$F77"; then
   5282   echo "$as_me:$LINENO: result: $F77" >&5
   5283 echo "${ECHO_T}$F77" >&6
   5284 else
   5285   echo "$as_me:$LINENO: result: no" >&5
   5286 echo "${ECHO_T}no" >&6
   5287 fi
   5288 
   5289     test -n "$F77" && break
   5290   done
   5291 fi
   5292 if test -z "$F77"; then
   5293   ac_ct_F77=$F77
   5294   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5295 do
   5296   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5297 set dummy $ac_prog; ac_word=$2
   5298 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5300 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5301   echo $ECHO_N "(cached) $ECHO_C" >&6
   5302 else
   5303   if test -n "$ac_ct_F77"; then
   5304   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5305 else
   5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5307 for as_dir in $PATH
   5308 do
   5309   IFS=$as_save_IFS
   5310   test -z "$as_dir" && as_dir=.
   5311   for ac_exec_ext in '' $ac_executable_extensions; do
   5312   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5313     ac_cv_prog_ac_ct_F77="$ac_prog"
   5314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5315     break 2
   5316   fi
   5317 done
   5318 done
   5319 
   5320 fi
   5321 fi
   5322 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5323 if test -n "$ac_ct_F77"; then
   5324   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5325 echo "${ECHO_T}$ac_ct_F77" >&6
   5326 else
   5327   echo "$as_me:$LINENO: result: no" >&5
   5328 echo "${ECHO_T}no" >&6
   5329 fi
   5330 
   5331   test -n "$ac_ct_F77" && break
   5332 done
   5333 
   5334   F77=$ac_ct_F77
   5335 fi
   5336 
   5337 
   5338 # Provide some information about the compiler.
   5339 echo "$as_me:5339:" \
   5340      "checking for Fortran 77 compiler version" >&5
   5341 ac_compiler=`set X $ac_compile; echo $2`
   5342 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   5343   (eval $ac_compiler --version </dev/null >&5) 2>&5
   5344   ac_status=$?
   5345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5346   (exit $ac_status); }
   5347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   5348   (eval $ac_compiler -v </dev/null >&5) 2>&5
   5349   ac_status=$?
   5350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5351   (exit $ac_status); }
   5352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   5353   (eval $ac_compiler -V </dev/null >&5) 2>&5
   5354   ac_status=$?
   5355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5356   (exit $ac_status); }
   5357 rm -f a.out
   5358 
   5359 # If we don't use `.F' as extension, the preprocessor is not run on the
   5360 # input file.  (Note that this only needs to work for GNU compilers.)
   5361 ac_save_ext=$ac_ext
   5362 ac_ext=F
   5363 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   5364 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
   5365 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   5366   echo $ECHO_N "(cached) $ECHO_C" >&6
   5367 else
   5368   cat >conftest.$ac_ext <<_ACEOF
   5369       program main
   5370 #ifndef __GNUC__
   5371        choke me
   5372 #endif
   5373 
   5374       end
   5375 _ACEOF
   5376 rm -f conftest.$ac_objext
   5377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5378   (eval $ac_compile) 2>conftest.er1
   5379   ac_status=$?
   5380   grep -v '^ *+' conftest.er1 >conftest.err
   5381   rm -f conftest.er1
   5382   cat conftest.err >&5
   5383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5384   (exit $ac_status); } &&
   5385 	 { ac_try='test -z "$ac_f77_werror_flag"
   5386 			 || test ! -s conftest.err'
   5387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5388   (eval $ac_try) 2>&5
   5389   ac_status=$?
   5390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5391   (exit $ac_status); }; } &&
   5392 	 { ac_try='test -s conftest.$ac_objext'
   5393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5394   (eval $ac_try) 2>&5
   5395   ac_status=$?
   5396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5397   (exit $ac_status); }; }; then
   5398   ac_compiler_gnu=yes
   5399 else
   5400   echo "$as_me: failed program was:" >&5
   5401 sed 's/^/| /' conftest.$ac_ext >&5
   5402 
   5403 ac_compiler_gnu=no
   5404 fi
   5405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5406 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   5407 
   5408 fi
   5409 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   5410 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
   5411 ac_ext=$ac_save_ext
   5412 ac_test_FFLAGS=${FFLAGS+set}
   5413 ac_save_FFLAGS=$FFLAGS
   5414 FFLAGS=
   5415 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   5416 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
   5417 if test "${ac_cv_prog_f77_g+set}" = set; then
   5418   echo $ECHO_N "(cached) $ECHO_C" >&6
   5419 else
   5420   FFLAGS=-g
   5421 cat >conftest.$ac_ext <<_ACEOF
   5422       program main
   5423 
   5424       end
   5425 _ACEOF
   5426 rm -f conftest.$ac_objext
   5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5428   (eval $ac_compile) 2>conftest.er1
   5429   ac_status=$?
   5430   grep -v '^ *+' conftest.er1 >conftest.err
   5431   rm -f conftest.er1
   5432   cat conftest.err >&5
   5433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5434   (exit $ac_status); } &&
   5435 	 { ac_try='test -z "$ac_f77_werror_flag"
   5436 			 || test ! -s conftest.err'
   5437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5438   (eval $ac_try) 2>&5
   5439   ac_status=$?
   5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5441   (exit $ac_status); }; } &&
   5442 	 { ac_try='test -s conftest.$ac_objext'
   5443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5444   (eval $ac_try) 2>&5
   5445   ac_status=$?
   5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5447   (exit $ac_status); }; }; then
   5448   ac_cv_prog_f77_g=yes
   5449 else
   5450   echo "$as_me: failed program was:" >&5
   5451 sed 's/^/| /' conftest.$ac_ext >&5
   5452 
   5453 ac_cv_prog_f77_g=no
   5454 fi
   5455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5456 
   5457 fi
   5458 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   5459 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
   5460 if test "$ac_test_FFLAGS" = set; then
   5461   FFLAGS=$ac_save_FFLAGS
   5462 elif test $ac_cv_prog_f77_g = yes; then
   5463   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5464     FFLAGS="-g -O2"
   5465   else
   5466     FFLAGS="-g"
   5467   fi
   5468 else
   5469   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5470     FFLAGS="-O2"
   5471   else
   5472     FFLAGS=
   5473   fi
   5474 fi
   5475 
   5476 G77=`test $ac_compiler_gnu = yes && echo yes`
   5477 ac_ext=c
   5478 ac_cpp='$CPP $CPPFLAGS'
   5479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5482 
   5483 
   5484 
   5485 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   5486 
   5487 # find the maximum length of command line arguments
   5488 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5489 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   5490 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5491   echo $ECHO_N "(cached) $ECHO_C" >&6
   5492 else
   5493     i=0
   5494   teststring="ABCD"
   5495 
   5496   case $build_os in
   5497   msdosdjgpp*)
   5498     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5499     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5500     # during glob expansion).  Even if it were fixed, the result of this
   5501     # check would be larger than it should be.
   5502     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5503     ;;
   5504 
   5505   gnu*)
   5506     # Under GNU Hurd, this test is not required because there is
   5507     # no limit to the length of command line arguments.
   5508     # Libtool will interpret -1 as no limit whatsoever
   5509     lt_cv_sys_max_cmd_len=-1;
   5510     ;;
   5511 
   5512   cygwin* | mingw*)
   5513     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5514     # about 5 minutes as the teststring grows exponentially.
   5515     # Worse, since 9x/ME are not pre-emptively multitasking,
   5516     # you end up with a "frozen" computer, even though with patience
   5517     # the test eventually succeeds (with a max line length of 256k).
   5518     # Instead, let's just punt: use the minimum linelength reported by
   5519     # all of the supported platforms: 8192 (on NT/2K/XP).
   5520     lt_cv_sys_max_cmd_len=8192;
   5521     ;;
   5522 
   5523   amigaos*)
   5524     # On AmigaOS with pdksh, this test takes hours, literally.
   5525     # So we just punt and use a minimum line length of 8192.
   5526     lt_cv_sys_max_cmd_len=8192;
   5527     ;;
   5528 
   5529   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5530     # This has been around since 386BSD, at least.  Likely further.
   5531     if test -x /sbin/sysctl; then
   5532       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5533     elif test -x /usr/sbin/sysctl; then
   5534       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5535     else
   5536       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5537     fi
   5538     # And add a safety zone
   5539     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5540     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5541     ;;
   5542 
   5543   interix*)
   5544     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5545     lt_cv_sys_max_cmd_len=196608
   5546     ;;
   5547 
   5548   osf*)
   5549     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5550     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5551     # nice to cause kernel panics so lets avoid the loop below.
   5552     # First set a reasonable default.
   5553     lt_cv_sys_max_cmd_len=16384
   5554     #
   5555     if test -x /sbin/sysconfig; then
   5556       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5557         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5558       esac
   5559     fi
   5560     ;;
   5561   sco3.2v5*)
   5562     lt_cv_sys_max_cmd_len=102400
   5563     ;;
   5564   sysv5* | sco5v6* | sysv4.2uw2*)
   5565     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5566     if test -n "$kargmax"; then
   5567       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   5568     else
   5569       lt_cv_sys_max_cmd_len=32768
   5570     fi
   5571     ;;
   5572   *)
   5573     # If test is not a shell built-in, we'll probably end up computing a
   5574     # maximum length that is only half of the actual maximum length, but
   5575     # we can't tell.
   5576     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5577     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   5578 	       = "XX$teststring") >/dev/null 2>&1 &&
   5579 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   5580 	    lt_cv_sys_max_cmd_len=$new_result &&
   5581 	    test $i != 17 # 1/2 MB should be enough
   5582     do
   5583       i=`expr $i + 1`
   5584       teststring=$teststring$teststring
   5585     done
   5586     teststring=
   5587     # Add a significant safety factor because C++ compilers can tack on massive
   5588     # amounts of additional arguments before passing them to the linker.
   5589     # It appears as though 1/2 is a usable value.
   5590     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5591     ;;
   5592   esac
   5593 
   5594 fi
   5595 
   5596 if test -n $lt_cv_sys_max_cmd_len ; then
   5597   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5598 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   5599 else
   5600   echo "$as_me:$LINENO: result: none" >&5
   5601 echo "${ECHO_T}none" >&6
   5602 fi
   5603 
   5604 
   5605 
   5606 
   5607 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5608 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5609 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   5610 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5611   echo $ECHO_N "(cached) $ECHO_C" >&6
   5612 else
   5613 
   5614 # These are sane defaults that work on at least a few old systems.
   5615 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5616 
   5617 # Character class describing NM global symbol codes.
   5618 symcode='[BCDEGRST]'
   5619 
   5620 # Regexp to match symbols that can be accessed directly from C.
   5621 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5622 
   5623 # Transform an extracted symbol line into a proper C declaration
   5624 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   5625 
   5626 # Transform an extracted symbol line into symbol name and symbol address
   5627 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   5628 
   5629 # Define system-specific variables.
   5630 case $host_os in
   5631 aix*)
   5632   symcode='[BCDT]'
   5633   ;;
   5634 cygwin* | mingw* | pw32*)
   5635   symcode='[ABCDGISTW]'
   5636   ;;
   5637 hpux*) # Its linker distinguishes data from code symbols
   5638   if test "$host_cpu" = ia64; then
   5639     symcode='[ABCDEGRST]'
   5640   fi
   5641   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5642   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   5643   ;;
   5644 linux*)
   5645   if test "$host_cpu" = ia64; then
   5646     symcode='[ABCDGIRSTW]'
   5647     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5648     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   5649   fi
   5650   ;;
   5651 irix* | nonstopux*)
   5652   symcode='[BCDEGRST]'
   5653   ;;
   5654 osf*)
   5655   symcode='[BCDEGQRST]'
   5656   ;;
   5657 solaris*)
   5658   symcode='[BDRT]'
   5659   ;;
   5660 sco3.2v5*)
   5661   symcode='[DT]'
   5662   ;;
   5663 sysv4.2uw2*)
   5664   symcode='[DT]'
   5665   ;;
   5666 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5667   symcode='[ABDT]'
   5668   ;;
   5669 sysv4)
   5670   symcode='[DFNSTU]'
   5671   ;;
   5672 esac
   5673 
   5674 # Handle CRLF in mingw tool chain
   5675 opt_cr=
   5676 case $build_os in
   5677 mingw*)
   5678   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5679   ;;
   5680 esac
   5681 
   5682 # If we're using GNU nm, then use its standard symbol codes.
   5683 case `$NM -V 2>&1` in
   5684 *GNU* | *'with BFD'*)
   5685   symcode='[ABCDGIRSTW]' ;;
   5686 esac
   5687 
   5688 # Try without a prefix undercore, then with it.
   5689 for ac_symprfx in "" "_"; do
   5690 
   5691   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5692   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5693 
   5694   # Write the raw and C identifiers.
   5695   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5696 
   5697   # Check to see that the pipe works correctly.
   5698   pipe_works=no
   5699 
   5700   rm -f conftest*
   5701   cat > conftest.$ac_ext <<EOF
   5702 #ifdef __cplusplus
   5703 extern "C" {
   5704 #endif
   5705 char nm_test_var;
   5706 void nm_test_func(){}
   5707 #ifdef __cplusplus
   5708 }
   5709 #endif
   5710 int main(){nm_test_var='a';nm_test_func();return(0);}
   5711 EOF
   5712 
   5713   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5714   (eval $ac_compile) 2>&5
   5715   ac_status=$?
   5716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5717   (exit $ac_status); }; then
   5718     # Now try to grab the symbols.
   5719     nlist=conftest.nm
   5720     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5721   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5722   ac_status=$?
   5723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5724   (exit $ac_status); } && test -s "$nlist"; then
   5725       # Try sorting and uniquifying the output.
   5726       if sort "$nlist" | uniq > "$nlist"T; then
   5727 	mv -f "$nlist"T "$nlist"
   5728       else
   5729 	rm -f "$nlist"T
   5730       fi
   5731 
   5732       # Make sure that we snagged all the symbols we need.
   5733       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   5734 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   5735 	  cat <<EOF > conftest.$ac_ext
   5736 #ifdef __cplusplus
   5737 extern "C" {
   5738 #endif
   5739 
   5740 EOF
   5741 	  # Now generate the symbol file.
   5742 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   5743 
   5744 	  cat <<EOF >> conftest.$ac_ext
   5745 #if defined (__STDC__) && __STDC__
   5746 # define lt_ptr_t void *
   5747 #else
   5748 # define lt_ptr_t char *
   5749 # define const
   5750 #endif
   5751 
   5752 /* The mapping between symbol names and symbols. */
   5753 const struct {
   5754   const char *name;
   5755   lt_ptr_t address;
   5756 }
   5757 lt_preloaded_symbols[] =
   5758 {
   5759 EOF
   5760 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   5761 	  cat <<\EOF >> conftest.$ac_ext
   5762   {0, (lt_ptr_t) 0}
   5763 };
   5764 
   5765 #ifdef __cplusplus
   5766 }
   5767 #endif
   5768 EOF
   5769 	  # Now try linking the two files.
   5770 	  mv conftest.$ac_objext conftstm.$ac_objext
   5771 	  lt_save_LIBS="$LIBS"
   5772 	  lt_save_CFLAGS="$CFLAGS"
   5773 	  LIBS="conftstm.$ac_objext"
   5774 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5775 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5776   (eval $ac_link) 2>&5
   5777   ac_status=$?
   5778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5779   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5780 	    pipe_works=yes
   5781 	  fi
   5782 	  LIBS="$lt_save_LIBS"
   5783 	  CFLAGS="$lt_save_CFLAGS"
   5784 	else
   5785 	  echo "cannot find nm_test_func in $nlist" >&5
   5786 	fi
   5787       else
   5788 	echo "cannot find nm_test_var in $nlist" >&5
   5789       fi
   5790     else
   5791       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5792     fi
   5793   else
   5794     echo "$progname: failed program was:" >&5
   5795     cat conftest.$ac_ext >&5
   5796   fi
   5797   rm -f conftest* conftst*
   5798 
   5799   # Do not use the global_symbol_pipe unless it works.
   5800   if test "$pipe_works" = yes; then
   5801     break
   5802   else
   5803     lt_cv_sys_global_symbol_pipe=
   5804   fi
   5805 done
   5806 
   5807 fi
   5808 
   5809 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5810   lt_cv_sys_global_symbol_to_cdecl=
   5811 fi
   5812 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5813   echo "$as_me:$LINENO: result: failed" >&5
   5814 echo "${ECHO_T}failed" >&6
   5815 else
   5816   echo "$as_me:$LINENO: result: ok" >&5
   5817 echo "${ECHO_T}ok" >&6
   5818 fi
   5819 
   5820 echo "$as_me:$LINENO: checking for objdir" >&5
   5821 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   5822 if test "${lt_cv_objdir+set}" = set; then
   5823   echo $ECHO_N "(cached) $ECHO_C" >&6
   5824 else
   5825   rm -f .libs 2>/dev/null
   5826 mkdir .libs 2>/dev/null
   5827 if test -d .libs; then
   5828   lt_cv_objdir=.libs
   5829 else
   5830   # MS-DOS does not allow filenames that begin with a dot.
   5831   lt_cv_objdir=_libs
   5832 fi
   5833 rmdir .libs 2>/dev/null
   5834 fi
   5835 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   5836 echo "${ECHO_T}$lt_cv_objdir" >&6
   5837 objdir=$lt_cv_objdir
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 case $host_os in
   5844 aix3*)
   5845   # AIX sometimes has problems with the GCC collect2 program.  For some
   5846   # reason, if we set the COLLECT_NAMES environment variable, the problems
   5847   # vanish in a puff of smoke.
   5848   if test "X${COLLECT_NAMES+set}" != Xset; then
   5849     COLLECT_NAMES=
   5850     export COLLECT_NAMES
   5851   fi
   5852   ;;
   5853 esac
   5854 
   5855 # Sed substitution that helps us do robust quoting.  It backslashifies
   5856 # metacharacters that are still active within double-quoted strings.
   5857 Xsed='sed -e 1s/^X//'
   5858 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   5859 
   5860 # Same as above, but do not quote variable references.
   5861 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   5862 
   5863 # Sed substitution to delay expansion of an escaped shell variable in a
   5864 # double_quote_subst'ed string.
   5865 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5866 
   5867 # Sed substitution to avoid accidental globbing in evaled expressions
   5868 no_glob_subst='s/\*/\\\*/g'
   5869 
   5870 # Constants:
   5871 rm="rm -f"
   5872 
   5873 # Global variables:
   5874 default_ofile=libtool
   5875 can_build_shared=yes
   5876 
   5877 # All known linkers require a `.a' archive for static linking (except MSVC,
   5878 # which needs '.lib').
   5879 libext=a
   5880 ltmain="$ac_aux_dir/ltmain.sh"
   5881 ofile="$default_ofile"
   5882 with_gnu_ld="$lt_cv_prog_gnu_ld"
   5883 
   5884 if test -n "$ac_tool_prefix"; then
   5885   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5886 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5887 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5889 if test "${ac_cv_prog_AR+set}" = set; then
   5890   echo $ECHO_N "(cached) $ECHO_C" >&6
   5891 else
   5892   if test -n "$AR"; then
   5893   ac_cv_prog_AR="$AR" # Let the user override the test.
   5894 else
   5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5896 for as_dir in $PATH
   5897 do
   5898   IFS=$as_save_IFS
   5899   test -z "$as_dir" && as_dir=.
   5900   for ac_exec_ext in '' $ac_executable_extensions; do
   5901   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5902     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5903     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5904     break 2
   5905   fi
   5906 done
   5907 done
   5908 
   5909 fi
   5910 fi
   5911 AR=$ac_cv_prog_AR
   5912 if test -n "$AR"; then
   5913   echo "$as_me:$LINENO: result: $AR" >&5
   5914 echo "${ECHO_T}$AR" >&6
   5915 else
   5916   echo "$as_me:$LINENO: result: no" >&5
   5917 echo "${ECHO_T}no" >&6
   5918 fi
   5919 
   5920 fi
   5921 if test -z "$ac_cv_prog_AR"; then
   5922   ac_ct_AR=$AR
   5923   # Extract the first word of "ar", so it can be a program name with args.
   5924 set dummy ar; ac_word=$2
   5925 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5927 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5928   echo $ECHO_N "(cached) $ECHO_C" >&6
   5929 else
   5930   if test -n "$ac_ct_AR"; then
   5931   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5932 else
   5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5934 for as_dir in $PATH
   5935 do
   5936   IFS=$as_save_IFS
   5937   test -z "$as_dir" && as_dir=.
   5938   for ac_exec_ext in '' $ac_executable_extensions; do
   5939   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5940     ac_cv_prog_ac_ct_AR="ar"
   5941     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5942     break 2
   5943   fi
   5944 done
   5945 done
   5946 
   5947   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
   5948 fi
   5949 fi
   5950 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5951 if test -n "$ac_ct_AR"; then
   5952   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5953 echo "${ECHO_T}$ac_ct_AR" >&6
   5954 else
   5955   echo "$as_me:$LINENO: result: no" >&5
   5956 echo "${ECHO_T}no" >&6
   5957 fi
   5958 
   5959   AR=$ac_ct_AR
   5960 else
   5961   AR="$ac_cv_prog_AR"
   5962 fi
   5963 
   5964 if test -n "$ac_tool_prefix"; then
   5965   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5966 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5967 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5969 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5970   echo $ECHO_N "(cached) $ECHO_C" >&6
   5971 else
   5972   if test -n "$RANLIB"; then
   5973   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5974 else
   5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5976 for as_dir in $PATH
   5977 do
   5978   IFS=$as_save_IFS
   5979   test -z "$as_dir" && as_dir=.
   5980   for ac_exec_ext in '' $ac_executable_extensions; do
   5981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5982     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5984     break 2
   5985   fi
   5986 done
   5987 done
   5988 
   5989 fi
   5990 fi
   5991 RANLIB=$ac_cv_prog_RANLIB
   5992 if test -n "$RANLIB"; then
   5993   echo "$as_me:$LINENO: result: $RANLIB" >&5
   5994 echo "${ECHO_T}$RANLIB" >&6
   5995 else
   5996   echo "$as_me:$LINENO: result: no" >&5
   5997 echo "${ECHO_T}no" >&6
   5998 fi
   5999 
   6000 fi
   6001 if test -z "$ac_cv_prog_RANLIB"; then
   6002   ac_ct_RANLIB=$RANLIB
   6003   # Extract the first word of "ranlib", so it can be a program name with args.
   6004 set dummy ranlib; ac_word=$2
   6005 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6007 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6008   echo $ECHO_N "(cached) $ECHO_C" >&6
   6009 else
   6010   if test -n "$ac_ct_RANLIB"; then
   6011   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6012 else
   6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6014 for as_dir in $PATH
   6015 do
   6016   IFS=$as_save_IFS
   6017   test -z "$as_dir" && as_dir=.
   6018   for ac_exec_ext in '' $ac_executable_extensions; do
   6019   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6020     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6022     break 2
   6023   fi
   6024 done
   6025 done
   6026 
   6027   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6028 fi
   6029 fi
   6030 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6031 if test -n "$ac_ct_RANLIB"; then
   6032   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6033 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6034 else
   6035   echo "$as_me:$LINENO: result: no" >&5
   6036 echo "${ECHO_T}no" >&6
   6037 fi
   6038 
   6039   RANLIB=$ac_ct_RANLIB
   6040 else
   6041   RANLIB="$ac_cv_prog_RANLIB"
   6042 fi
   6043 
   6044 if test -n "$ac_tool_prefix"; then
   6045   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6046 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6047 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6049 if test "${ac_cv_prog_STRIP+set}" = set; then
   6050   echo $ECHO_N "(cached) $ECHO_C" >&6
   6051 else
   6052   if test -n "$STRIP"; then
   6053   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6054 else
   6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6056 for as_dir in $PATH
   6057 do
   6058   IFS=$as_save_IFS
   6059   test -z "$as_dir" && as_dir=.
   6060   for ac_exec_ext in '' $ac_executable_extensions; do
   6061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6062     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6064     break 2
   6065   fi
   6066 done
   6067 done
   6068 
   6069 fi
   6070 fi
   6071 STRIP=$ac_cv_prog_STRIP
   6072 if test -n "$STRIP"; then
   6073   echo "$as_me:$LINENO: result: $STRIP" >&5
   6074 echo "${ECHO_T}$STRIP" >&6
   6075 else
   6076   echo "$as_me:$LINENO: result: no" >&5
   6077 echo "${ECHO_T}no" >&6
   6078 fi
   6079 
   6080 fi
   6081 if test -z "$ac_cv_prog_STRIP"; then
   6082   ac_ct_STRIP=$STRIP
   6083   # Extract the first word of "strip", so it can be a program name with args.
   6084 set dummy strip; ac_word=$2
   6085 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6087 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6088   echo $ECHO_N "(cached) $ECHO_C" >&6
   6089 else
   6090   if test -n "$ac_ct_STRIP"; then
   6091   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6092 else
   6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6094 for as_dir in $PATH
   6095 do
   6096   IFS=$as_save_IFS
   6097   test -z "$as_dir" && as_dir=.
   6098   for ac_exec_ext in '' $ac_executable_extensions; do
   6099   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6100     ac_cv_prog_ac_ct_STRIP="strip"
   6101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6102     break 2
   6103   fi
   6104 done
   6105 done
   6106 
   6107   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   6108 fi
   6109 fi
   6110 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6111 if test -n "$ac_ct_STRIP"; then
   6112   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6113 echo "${ECHO_T}$ac_ct_STRIP" >&6
   6114 else
   6115   echo "$as_me:$LINENO: result: no" >&5
   6116 echo "${ECHO_T}no" >&6
   6117 fi
   6118 
   6119   STRIP=$ac_ct_STRIP
   6120 else
   6121   STRIP="$ac_cv_prog_STRIP"
   6122 fi
   6123 
   6124 
   6125 old_CC="$CC"
   6126 old_CFLAGS="$CFLAGS"
   6127 
   6128 # Set sane defaults for various variables
   6129 test -z "$AR" && AR=ar
   6130 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6131 test -z "$AS" && AS=as
   6132 test -z "$CC" && CC=cc
   6133 test -z "$LTCC" && LTCC=$CC
   6134 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6135 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6136 test -z "$LD" && LD=ld
   6137 test -z "$LN_S" && LN_S="ln -s"
   6138 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6139 test -z "$NM" && NM=nm
   6140 test -z "$SED" && SED=sed
   6141 test -z "$OBJDUMP" && OBJDUMP=objdump
   6142 test -z "$RANLIB" && RANLIB=:
   6143 test -z "$STRIP" && STRIP=:
   6144 test -z "$ac_objext" && ac_objext=o
   6145 
   6146 # Determine commands to create old-style static archives.
   6147 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6148 old_postinstall_cmds='chmod 644 $oldlib'
   6149 old_postuninstall_cmds=
   6150 
   6151 if test -n "$RANLIB"; then
   6152   case $host_os in
   6153   openbsd*)
   6154     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6155     ;;
   6156   *)
   6157     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6158     ;;
   6159   esac
   6160   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6161 fi
   6162 
   6163 for cc_temp in $compiler""; do
   6164   case $cc_temp in
   6165     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6166     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6167     \-*) ;;
   6168     *) break;;
   6169   esac
   6170 done
   6171 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6172 
   6173 
   6174 # Only perform the check for file, if the check method requires it
   6175 case $deplibs_check_method in
   6176 file_magic*)
   6177   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6178     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6179 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   6180 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6181   echo $ECHO_N "(cached) $ECHO_C" >&6
   6182 else
   6183   case $MAGIC_CMD in
   6184 [\\/*] |  ?:[\\/]*)
   6185   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6186   ;;
   6187 *)
   6188   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6189   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6190   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6191   for ac_dir in $ac_dummy; do
   6192     IFS="$lt_save_ifs"
   6193     test -z "$ac_dir" && ac_dir=.
   6194     if test -f $ac_dir/${ac_tool_prefix}file; then
   6195       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6196       if test -n "$file_magic_test_file"; then
   6197 	case $deplibs_check_method in
   6198 	"file_magic "*)
   6199 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6200 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6201 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6202 	    $EGREP "$file_magic_regex" > /dev/null; then
   6203 	    :
   6204 	  else
   6205 	    cat <<EOF 1>&2
   6206 
   6207 *** Warning: the command libtool uses to detect shared libraries,
   6208 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6209 *** The result is that libtool may fail to recognize shared libraries
   6210 *** as such.  This will affect the creation of libtool libraries that
   6211 *** depend on shared libraries, but programs linked with such libtool
   6212 *** libraries will work regardless of this problem.  Nevertheless, you
   6213 *** may want to report the problem to your system manager and/or to
   6214 *** bug-libtool@gnu.org
   6215 
   6216 EOF
   6217 	  fi ;;
   6218 	esac
   6219       fi
   6220       break
   6221     fi
   6222   done
   6223   IFS="$lt_save_ifs"
   6224   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6225   ;;
   6226 esac
   6227 fi
   6228 
   6229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6230 if test -n "$MAGIC_CMD"; then
   6231   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6232 echo "${ECHO_T}$MAGIC_CMD" >&6
   6233 else
   6234   echo "$as_me:$LINENO: result: no" >&5
   6235 echo "${ECHO_T}no" >&6
   6236 fi
   6237 
   6238 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6239   if test -n "$ac_tool_prefix"; then
   6240     echo "$as_me:$LINENO: checking for file" >&5
   6241 echo $ECHO_N "checking for file... $ECHO_C" >&6
   6242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6243   echo $ECHO_N "(cached) $ECHO_C" >&6
   6244 else
   6245   case $MAGIC_CMD in
   6246 [\\/*] |  ?:[\\/]*)
   6247   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6248   ;;
   6249 *)
   6250   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6251   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6252   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6253   for ac_dir in $ac_dummy; do
   6254     IFS="$lt_save_ifs"
   6255     test -z "$ac_dir" && ac_dir=.
   6256     if test -f $ac_dir/file; then
   6257       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6258       if test -n "$file_magic_test_file"; then
   6259 	case $deplibs_check_method in
   6260 	"file_magic "*)
   6261 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6262 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6263 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6264 	    $EGREP "$file_magic_regex" > /dev/null; then
   6265 	    :
   6266 	  else
   6267 	    cat <<EOF 1>&2
   6268 
   6269 *** Warning: the command libtool uses to detect shared libraries,
   6270 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6271 *** The result is that libtool may fail to recognize shared libraries
   6272 *** as such.  This will affect the creation of libtool libraries that
   6273 *** depend on shared libraries, but programs linked with such libtool
   6274 *** libraries will work regardless of this problem.  Nevertheless, you
   6275 *** may want to report the problem to your system manager and/or to
   6276 *** bug-libtool@gnu.org
   6277 
   6278 EOF
   6279 	  fi ;;
   6280 	esac
   6281       fi
   6282       break
   6283     fi
   6284   done
   6285   IFS="$lt_save_ifs"
   6286   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6287   ;;
   6288 esac
   6289 fi
   6290 
   6291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6292 if test -n "$MAGIC_CMD"; then
   6293   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6294 echo "${ECHO_T}$MAGIC_CMD" >&6
   6295 else
   6296   echo "$as_me:$LINENO: result: no" >&5
   6297 echo "${ECHO_T}no" >&6
   6298 fi
   6299 
   6300   else
   6301     MAGIC_CMD=:
   6302   fi
   6303 fi
   6304 
   6305   fi
   6306   ;;
   6307 esac
   6308 
   6309 enable_dlopen=no
   6310 enable_win32_dll=no
   6311 
   6312 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   6313 if test "${enable_libtool_lock+set}" = set; then
   6314   enableval="$enable_libtool_lock"
   6315 
   6316 fi;
   6317 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6318 
   6319 
   6320 # Check whether --with-pic or --without-pic was given.
   6321 if test "${with_pic+set}" = set; then
   6322   withval="$with_pic"
   6323   pic_mode="$withval"
   6324 else
   6325   pic_mode=default
   6326 fi;
   6327 test -z "$pic_mode" && pic_mode=default
   6328 
   6329 # Use C for the default configuration in the libtool script
   6330 tagname=
   6331 lt_save_CC="$CC"
   6332 ac_ext=c
   6333 ac_cpp='$CPP $CPPFLAGS'
   6334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6337 
   6338 
   6339 # Source file extension for C test sources.
   6340 ac_ext=c
   6341 
   6342 # Object file extension for compiled C test sources.
   6343 objext=o
   6344 objext=$objext
   6345 
   6346 # Code to be used in simple compile tests
   6347 lt_simple_compile_test_code="int some_variable = 0;\n"
   6348 
   6349 # Code to be used in simple link tests
   6350 lt_simple_link_test_code='int main(){return(0);}\n'
   6351 
   6352 
   6353 # If no C compiler was specified, use CC.
   6354 LTCC=${LTCC-"$CC"}
   6355 
   6356 # If no C compiler flags were specified, use CFLAGS.
   6357 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6358 
   6359 # Allow CC to be a program name with arguments.
   6360 compiler=$CC
   6361 
   6362 
   6363 # save warnings/boilerplate of simple test code
   6364 ac_outfile=conftest.$ac_objext
   6365 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   6366 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6367 _lt_compiler_boilerplate=`cat conftest.err`
   6368 $rm conftest*
   6369 
   6370 ac_outfile=conftest.$ac_objext
   6371 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   6372 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6373 _lt_linker_boilerplate=`cat conftest.err`
   6374 $rm conftest*
   6375 
   6376 
   6377 
   6378 lt_prog_compiler_no_builtin_flag=
   6379 
   6380 if test "$GCC" = yes; then
   6381   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   6382 
   6383 
   6384 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   6385 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   6386 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   6387   echo $ECHO_N "(cached) $ECHO_C" >&6
   6388 else
   6389   lt_cv_prog_compiler_rtti_exceptions=no
   6390   ac_outfile=conftest.$ac_objext
   6391    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6392    lt_compiler_flag="-fno-rtti -fno-exceptions"
   6393    # Insert the option either (1) after the last *FLAGS variable, or
   6394    # (2) before a word containing "conftest.", or (3) at the end.
   6395    # Note that $ac_compile itself does not contain backslashes and begins
   6396    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6397    # The option is referenced via a variable to avoid confusing sed.
   6398    lt_compile=`echo "$ac_compile" | $SED \
   6399    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6400    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6401    -e 's:$: $lt_compiler_flag:'`
   6402    (eval echo "\"\$as_me:6402: $lt_compile\"" >&5)
   6403    (eval "$lt_compile" 2>conftest.err)
   6404    ac_status=$?
   6405    cat conftest.err >&5
   6406    echo "$as_me:6406: \$? = $ac_status" >&5
   6407    if (exit $ac_status) && test -s "$ac_outfile"; then
   6408      # The compiler can only warn and ignore the option if not recognized
   6409      # So say no if there are warnings other than the usual output.
   6410      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   6411      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6412      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   6413        lt_cv_prog_compiler_rtti_exceptions=yes
   6414      fi
   6415    fi
   6416    $rm conftest*
   6417 
   6418 fi
   6419 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   6420 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   6421 
   6422 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   6423     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   6424 else
   6425     :
   6426 fi
   6427 
   6428 fi
   6429 
   6430 lt_prog_compiler_wl=
   6431 lt_prog_compiler_pic=
   6432 lt_prog_compiler_static=
   6433 
   6434 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   6435 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   6436 
   6437   if test "$GCC" = yes; then
   6438     lt_prog_compiler_wl='-Wl,'
   6439     lt_prog_compiler_static='-static'
   6440 
   6441     case $host_os in
   6442       aix*)
   6443       # All AIX code is PIC.
   6444       if test "$host_cpu" = ia64; then
   6445 	# AIX 5 now supports IA64 processor
   6446 	lt_prog_compiler_static='-Bstatic'
   6447       fi
   6448       ;;
   6449 
   6450     amigaos*)
   6451       # FIXME: we need at least 68020 code to build shared libraries, but
   6452       # adding the `-m68020' flag to GCC prevents building anything better,
   6453       # like `-m68040'.
   6454       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   6455       ;;
   6456 
   6457     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   6458       # PIC is the default for these OSes.
   6459       ;;
   6460 
   6461     mingw* | pw32* | os2*)
   6462       # This hack is so that the source file can tell whether it is being
   6463       # built for inclusion in a dll (and should export symbols for example).
   6464       lt_prog_compiler_pic='-DDLL_EXPORT'
   6465       ;;
   6466 
   6467     darwin* | rhapsody*)
   6468       # PIC is the default on this platform
   6469       # Common symbols not allowed in MH_DYLIB files
   6470       lt_prog_compiler_pic='-fno-common'
   6471       ;;
   6472 
   6473     interix3*)
   6474       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   6475       # Instead, we relocate shared libraries at runtime.
   6476       ;;
   6477 
   6478     msdosdjgpp*)
   6479       # Just because we use GCC doesn't mean we suddenly get shared libraries
   6480       # on systems that don't support them.
   6481       lt_prog_compiler_can_build_shared=no
   6482       enable_shared=no
   6483       ;;
   6484 
   6485     sysv4*MP*)
   6486       if test -d /usr/nec; then
   6487 	lt_prog_compiler_pic=-Kconform_pic
   6488       fi
   6489       ;;
   6490 
   6491     hpux*)
   6492       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6493       # not for PA HP-UX.
   6494       case $host_cpu in
   6495       hppa*64*|ia64*)
   6496 	# +Z the default
   6497 	;;
   6498       *)
   6499 	lt_prog_compiler_pic='-fPIC'
   6500 	;;
   6501       esac
   6502       ;;
   6503 
   6504     *)
   6505       lt_prog_compiler_pic='-fPIC'
   6506       ;;
   6507     esac
   6508   else
   6509     # PORTME Check for flag to pass linker flags through the system compiler.
   6510     case $host_os in
   6511     aix*)
   6512       lt_prog_compiler_wl='-Wl,'
   6513       if test "$host_cpu" = ia64; then
   6514 	# AIX 5 now supports IA64 processor
   6515 	lt_prog_compiler_static='-Bstatic'
   6516       else
   6517 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   6518       fi
   6519       ;;
   6520       darwin*)
   6521         # PIC is the default on this platform
   6522         # Common symbols not allowed in MH_DYLIB files
   6523        case $cc_basename in
   6524          xlc*)
   6525          lt_prog_compiler_pic='-qnocommon'
   6526          lt_prog_compiler_wl='-Wl,'
   6527          ;;
   6528        esac
   6529        ;;
   6530 
   6531     mingw* | pw32* | os2*)
   6532       # This hack is so that the source file can tell whether it is being
   6533       # built for inclusion in a dll (and should export symbols for example).
   6534       lt_prog_compiler_pic='-DDLL_EXPORT'
   6535       ;;
   6536 
   6537     hpux9* | hpux10* | hpux11*)
   6538       lt_prog_compiler_wl='-Wl,'
   6539       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6540       # not for PA HP-UX.
   6541       case $host_cpu in
   6542       hppa*64*|ia64*)
   6543 	# +Z the default
   6544 	;;
   6545       *)
   6546 	lt_prog_compiler_pic='+Z'
   6547 	;;
   6548       esac
   6549       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   6550       lt_prog_compiler_static='${wl}-a ${wl}archive'
   6551       ;;
   6552 
   6553     irix5* | irix6* | nonstopux*)
   6554       lt_prog_compiler_wl='-Wl,'
   6555       # PIC (with -KPIC) is the default.
   6556       lt_prog_compiler_static='-non_shared'
   6557       ;;
   6558 
   6559     newsos6)
   6560       lt_prog_compiler_pic='-KPIC'
   6561       lt_prog_compiler_static='-Bstatic'
   6562       ;;
   6563 
   6564     linux*)
   6565       case $cc_basename in
   6566       icc* | ecc*)
   6567 	lt_prog_compiler_wl='-Wl,'
   6568 	lt_prog_compiler_pic='-KPIC'
   6569 	lt_prog_compiler_static='-static'
   6570         ;;
   6571       pgcc* | pgf77* | pgf90* | pgf95*)
   6572         # Portland Group compilers (*not* the Pentium gcc compiler,
   6573 	# which looks to be a dead project)
   6574 	lt_prog_compiler_wl='-Wl,'
   6575 	lt_prog_compiler_pic='-fpic'
   6576 	lt_prog_compiler_static='-Bstatic'
   6577         ;;
   6578       ccc*)
   6579         lt_prog_compiler_wl='-Wl,'
   6580         # All Alpha code is PIC.
   6581         lt_prog_compiler_static='-non_shared'
   6582         ;;
   6583       esac
   6584       ;;
   6585 
   6586     osf3* | osf4* | osf5*)
   6587       lt_prog_compiler_wl='-Wl,'
   6588       # All OSF/1 code is PIC.
   6589       lt_prog_compiler_static='-non_shared'
   6590       ;;
   6591 
   6592     solaris*)
   6593       lt_prog_compiler_pic='-KPIC'
   6594       lt_prog_compiler_static='-Bstatic'
   6595       case $cc_basename in
   6596       f77* | f90* | f95*)
   6597 	lt_prog_compiler_wl='-Qoption ld ';;
   6598       *)
   6599 	lt_prog_compiler_wl='-Wl,';;
   6600       esac
   6601       ;;
   6602 
   6603     sunos4*)
   6604       lt_prog_compiler_wl='-Qoption ld '
   6605       lt_prog_compiler_pic='-PIC'
   6606       lt_prog_compiler_static='-Bstatic'
   6607       ;;
   6608 
   6609     sysv4 | sysv4.2uw2* | sysv4.3*)
   6610       lt_prog_compiler_wl='-Wl,'
   6611       lt_prog_compiler_pic='-KPIC'
   6612       lt_prog_compiler_static='-Bstatic'
   6613       ;;
   6614 
   6615     sysv4*MP*)
   6616       if test -d /usr/nec ;then
   6617 	lt_prog_compiler_pic='-Kconform_pic'
   6618 	lt_prog_compiler_static='-Bstatic'
   6619       fi
   6620       ;;
   6621 
   6622     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   6623       lt_prog_compiler_wl='-Wl,'
   6624       lt_prog_compiler_pic='-KPIC'
   6625       lt_prog_compiler_static='-Bstatic'
   6626       ;;
   6627 
   6628     unicos*)
   6629       lt_prog_compiler_wl='-Wl,'
   6630       lt_prog_compiler_can_build_shared=no
   6631       ;;
   6632 
   6633     uts4*)
   6634       lt_prog_compiler_pic='-pic'
   6635       lt_prog_compiler_static='-Bstatic'
   6636       ;;
   6637 
   6638     *)
   6639       lt_prog_compiler_can_build_shared=no
   6640       ;;
   6641     esac
   6642   fi
   6643 
   6644 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   6645 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
   6646 
   6647 #
   6648 # Check to make sure the PIC flag actually works.
   6649 #
   6650 if test -n "$lt_prog_compiler_pic"; then
   6651 
   6652 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   6653 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   6654 if test "${lt_prog_compiler_pic_works+set}" = set; then
   6655   echo $ECHO_N "(cached) $ECHO_C" >&6
   6656 else
   6657   lt_prog_compiler_pic_works=no
   6658   ac_outfile=conftest.$ac_objext
   6659    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6660    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   6661    # Insert the option either (1) after the last *FLAGS variable, or
   6662    # (2) before a word containing "conftest.", or (3) at the end.
   6663    # Note that $ac_compile itself does not contain backslashes and begins
   6664    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6665    # The option is referenced via a variable to avoid confusing sed.
   6666    lt_compile=`echo "$ac_compile" | $SED \
   6667    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6668    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6669    -e 's:$: $lt_compiler_flag:'`
   6670    (eval echo "\"\$as_me:6670: $lt_compile\"" >&5)
   6671    (eval "$lt_compile" 2>conftest.err)
   6672    ac_status=$?
   6673    cat conftest.err >&5
   6674    echo "$as_me:6674: \$? = $ac_status" >&5
   6675    if (exit $ac_status) && test -s "$ac_outfile"; then
   6676      # The compiler can only warn and ignore the option if not recognized
   6677      # So say no if there are warnings other than the usual output.
   6678      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   6679      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6680      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   6681        lt_prog_compiler_pic_works=yes
   6682      fi
   6683    fi
   6684    $rm conftest*
   6685 
   6686 fi
   6687 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   6688 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   6689 
   6690 if test x"$lt_prog_compiler_pic_works" = xyes; then
   6691     case $lt_prog_compiler_pic in
   6692      "" | " "*) ;;
   6693      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   6694      esac
   6695 else
   6696     lt_prog_compiler_pic=
   6697      lt_prog_compiler_can_build_shared=no
   6698 fi
   6699 
   6700 fi
   6701 case $host_os in
   6702   # For platforms which do not support PIC, -DPIC is meaningless:
   6703   *djgpp*)
   6704     lt_prog_compiler_pic=
   6705     ;;
   6706   *)
   6707     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   6708     ;;
   6709 esac
   6710 
   6711 #
   6712 # Check to make sure the static flag actually works.
   6713 #
   6714 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   6715 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   6716 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   6717 if test "${lt_prog_compiler_static_works+set}" = set; then
   6718   echo $ECHO_N "(cached) $ECHO_C" >&6
   6719 else
   6720   lt_prog_compiler_static_works=no
   6721    save_LDFLAGS="$LDFLAGS"
   6722    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   6723    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   6724    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   6725      # The linker can only warn and ignore the option if not recognized
   6726      # So say no if there are warnings
   6727      if test -s conftest.err; then
   6728        # Append any errors to the config.log.
   6729        cat conftest.err 1>&5
   6730        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   6731        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6732        if diff conftest.exp conftest.er2 >/dev/null; then
   6733          lt_prog_compiler_static_works=yes
   6734        fi
   6735      else
   6736        lt_prog_compiler_static_works=yes
   6737      fi
   6738    fi
   6739    $rm conftest*
   6740    LDFLAGS="$save_LDFLAGS"
   6741 
   6742 fi
   6743 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   6744 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   6745 
   6746 if test x"$lt_prog_compiler_static_works" = xyes; then
   6747     :
   6748 else
   6749     lt_prog_compiler_static=
   6750 fi
   6751 
   6752 
   6753 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   6754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   6755 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   6756   echo $ECHO_N "(cached) $ECHO_C" >&6
   6757 else
   6758   lt_cv_prog_compiler_c_o=no
   6759    $rm -r conftest 2>/dev/null
   6760    mkdir conftest
   6761    cd conftest
   6762    mkdir out
   6763    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6764 
   6765    lt_compiler_flag="-o out/conftest2.$ac_objext"
   6766    # Insert the option either (1) after the last *FLAGS variable, or
   6767    # (2) before a word containing "conftest.", or (3) at the end.
   6768    # Note that $ac_compile itself does not contain backslashes and begins
   6769    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6770    lt_compile=`echo "$ac_compile" | $SED \
   6771    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6772    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6773    -e 's:$: $lt_compiler_flag:'`
   6774    (eval echo "\"\$as_me:6774: $lt_compile\"" >&5)
   6775    (eval "$lt_compile" 2>out/conftest.err)
   6776    ac_status=$?
   6777    cat out/conftest.err >&5
   6778    echo "$as_me:6778: \$? = $ac_status" >&5
   6779    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   6780    then
   6781      # The compiler can only warn and ignore the option if not recognized
   6782      # So say no if there are warnings
   6783      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   6784      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   6785      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   6786        lt_cv_prog_compiler_c_o=yes
   6787      fi
   6788    fi
   6789    chmod u+w . 2>&5
   6790    $rm conftest*
   6791    # SGI C++ compiler will create directory out/ii_files/ for
   6792    # template instantiation
   6793    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   6794    $rm out/* && rmdir out
   6795    cd ..
   6796    rmdir conftest
   6797    $rm conftest*
   6798 
   6799 fi
   6800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   6801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   6802 
   6803 
   6804 hard_links="nottested"
   6805 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   6806   # do not overwrite the value of need_locks provided by the user
   6807   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   6808 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   6809   hard_links=yes
   6810   $rm conftest*
   6811   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   6812   touch conftest.a
   6813   ln conftest.a conftest.b 2>&5 || hard_links=no
   6814   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   6815   echo "$as_me:$LINENO: result: $hard_links" >&5
   6816 echo "${ECHO_T}$hard_links" >&6
   6817   if test "$hard_links" = no; then
   6818     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   6819 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   6820     need_locks=warn
   6821   fi
   6822 else
   6823   need_locks=no
   6824 fi
   6825 
   6826 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   6827 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   6828 
   6829   runpath_var=
   6830   allow_undefined_flag=
   6831   enable_shared_with_static_runtimes=no
   6832   archive_cmds=
   6833   archive_expsym_cmds=
   6834   old_archive_From_new_cmds=
   6835   old_archive_from_expsyms_cmds=
   6836   export_dynamic_flag_spec=
   6837   whole_archive_flag_spec=
   6838   thread_safe_flag_spec=
   6839   hardcode_libdir_flag_spec=
   6840   hardcode_libdir_flag_spec_ld=
   6841   hardcode_libdir_separator=
   6842   hardcode_direct=no
   6843   hardcode_minus_L=no
   6844   hardcode_shlibpath_var=unsupported
   6845   link_all_deplibs=unknown
   6846   hardcode_automatic=no
   6847   module_cmds=
   6848   module_expsym_cmds=
   6849   always_export_symbols=no
   6850   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   6851   # include_expsyms should be a list of space-separated symbols to be *always*
   6852   # included in the symbol list
   6853   include_expsyms=
   6854   # exclude_expsyms can be an extended regexp of symbols to exclude
   6855   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   6856   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   6857   # as well as any symbol that contains `d'.
   6858   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   6859   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   6860   # platforms (ab)use it in PIC code, but their linkers get confused if
   6861   # the symbol is explicitly referenced.  Since portable code cannot
   6862   # rely on this symbol name, it's probably fine to never include it in
   6863   # preloaded symbol tables.
   6864   extract_expsyms_cmds=
   6865   # Just being paranoid about ensuring that cc_basename is set.
   6866   for cc_temp in $compiler""; do
   6867   case $cc_temp in
   6868     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6869     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6870     \-*) ;;
   6871     *) break;;
   6872   esac
   6873 done
   6874 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6875 
   6876   case $host_os in
   6877   cygwin* | mingw* | pw32*)
   6878     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   6879     # When not using gcc, we currently assume that we are using
   6880     # Microsoft Visual C++.
   6881     if test "$GCC" != yes; then
   6882       with_gnu_ld=no
   6883     fi
   6884     ;;
   6885   interix*)
   6886     # we just hope/assume this is gcc and not c89 (= MSVC++)
   6887     with_gnu_ld=yes
   6888     ;;
   6889   openbsd*)
   6890     with_gnu_ld=no
   6891     ;;
   6892   esac
   6893 
   6894   ld_shlibs=yes
   6895   if test "$with_gnu_ld" = yes; then
   6896     # If archive_cmds runs LD, not CC, wlarc should be empty
   6897     wlarc='${wl}'
   6898 
   6899     # Set some defaults for GNU ld with shared library support. These
   6900     # are reset later if shared libraries are not supported. Putting them
   6901     # here allows them to be overridden if necessary.
   6902     runpath_var=LD_RUN_PATH
   6903     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   6904     export_dynamic_flag_spec='${wl}--export-dynamic'
   6905     # ancient GNU ld didn't support --whole-archive et. al.
   6906     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   6907 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   6908       else
   6909   	whole_archive_flag_spec=
   6910     fi
   6911     supports_anon_versioning=no
   6912     case `$LD -v 2>/dev/null` in
   6913       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   6914       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   6915       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   6916       *\ 2.11.*) ;; # other 2.11 versions
   6917       *) supports_anon_versioning=yes ;;
   6918     esac
   6919 
   6920     # See if GNU ld supports shared libraries.
   6921     case $host_os in
   6922     aix3* | aix4* | aix5*)
   6923       # On AIX/PPC, the GNU linker is very broken
   6924       if test "$host_cpu" != ia64; then
   6925 	ld_shlibs=no
   6926 	cat <<EOF 1>&2
   6927 
   6928 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   6929 *** to be unable to reliably create shared libraries on AIX.
   6930 *** Therefore, libtool is disabling shared libraries support.  If you
   6931 *** really care for shared libraries, you may want to modify your PATH
   6932 *** so that a non-GNU linker is found, and then restart.
   6933 
   6934 EOF
   6935       fi
   6936       ;;
   6937 
   6938     amigaos*)
   6939       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)'
   6940       hardcode_libdir_flag_spec='-L$libdir'
   6941       hardcode_minus_L=yes
   6942 
   6943       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   6944       # that the semantics of dynamic libraries on AmigaOS, at least up
   6945       # to version 4, is to share data among multiple programs linked
   6946       # with the same dynamic library.  Since this doesn't match the
   6947       # behavior of shared libraries on other platforms, we can't use
   6948       # them.
   6949       ld_shlibs=no
   6950       ;;
   6951 
   6952     beos*)
   6953       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   6954 	allow_undefined_flag=unsupported
   6955 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   6956 	# support --undefined.  This deserves some investigation.  FIXME
   6957 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   6958       else
   6959 	ld_shlibs=no
   6960       fi
   6961       ;;
   6962 
   6963     cygwin* | mingw* | pw32*)
   6964       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   6965       # as there is no search path for DLLs.
   6966       hardcode_libdir_flag_spec='-L$libdir'
   6967       allow_undefined_flag=unsupported
   6968       always_export_symbols=no
   6969       enable_shared_with_static_runtimes=yes
   6970       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   6971 
   6972       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   6973         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   6974 	# If the export-symbols file already is a .def file (1st line
   6975 	# is EXPORTS), use it as is; otherwise, prepend...
   6976 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   6977 	  cp $export_symbols $output_objdir/$soname.def;
   6978 	else
   6979 	  echo EXPORTS > $output_objdir/$soname.def;
   6980 	  cat $export_symbols >> $output_objdir/$soname.def;
   6981 	fi~
   6982 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   6983       else
   6984 	ld_shlibs=no
   6985       fi
   6986       ;;
   6987 
   6988     interix3*)
   6989       hardcode_direct=no
   6990       hardcode_shlibpath_var=no
   6991       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   6992       export_dynamic_flag_spec='${wl}-E'
   6993       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   6994       # Instead, shared libraries are loaded at an image base (0x10000000 by
   6995       # default) and relocated if they conflict, which is a slow very memory
   6996       # consuming and fragmenting process.  To avoid this, we pick a random,
   6997       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   6998       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   6999       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7000       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'
   7001       ;;
   7002 
   7003     linux*)
   7004       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7005 	tmp_addflag=
   7006 	case $cc_basename,$host_cpu in
   7007 	pgcc*)				# Portland Group C compiler
   7008 	  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'
   7009 	  tmp_addflag=' $pic_flag'
   7010 	  ;;
   7011 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7012 	  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'
   7013 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7014 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7015 	  tmp_addflag=' -i_dynamic' ;;
   7016 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7017 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7018 	ifc* | ifort*)			# Intel Fortran compiler
   7019 	  tmp_addflag=' -nofor_main' ;;
   7020 	esac
   7021 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7022 
   7023 	if test $supports_anon_versioning = yes; then
   7024 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7025   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7026   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7027 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7028 	fi
   7029       else
   7030 	ld_shlibs=no
   7031       fi
   7032       ;;
   7033 
   7034     netbsd*)
   7035       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7036 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7037 	wlarc=
   7038       else
   7039 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7040 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7041       fi
   7042       ;;
   7043 
   7044     solaris*)
   7045       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7046 	ld_shlibs=no
   7047 	cat <<EOF 1>&2
   7048 
   7049 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7050 *** create shared libraries on Solaris systems.  Therefore, libtool
   7051 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7052 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7053 *** your PATH or compiler configuration so that the native linker is
   7054 *** used, and then restart.
   7055 
   7056 EOF
   7057       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7058 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7059 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7060       else
   7061 	ld_shlibs=no
   7062       fi
   7063       ;;
   7064 
   7065     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7066       case `$LD -v 2>&1` in
   7067         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7068 	ld_shlibs=no
   7069 	cat <<_LT_EOF 1>&2
   7070 
   7071 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7072 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7073 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7074 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7075 *** your PATH or compiler configuration so that the native linker is
   7076 *** used, and then restart.
   7077 
   7078 _LT_EOF
   7079 	;;
   7080 	*)
   7081 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7082 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7083 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7084 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7085 	  else
   7086 	    ld_shlibs=no
   7087 	  fi
   7088 	;;
   7089       esac
   7090       ;;
   7091 
   7092     sunos4*)
   7093       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7094       wlarc=
   7095       hardcode_direct=yes
   7096       hardcode_shlibpath_var=no
   7097       ;;
   7098 
   7099     *)
   7100       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7101 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7102 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7103       else
   7104 	ld_shlibs=no
   7105       fi
   7106       ;;
   7107     esac
   7108 
   7109     if test "$ld_shlibs" = no; then
   7110       runpath_var=
   7111       hardcode_libdir_flag_spec=
   7112       export_dynamic_flag_spec=
   7113       whole_archive_flag_spec=
   7114     fi
   7115   else
   7116     # PORTME fill in a description of your system's linker (not GNU ld)
   7117     case $host_os in
   7118     aix3*)
   7119       allow_undefined_flag=unsupported
   7120       always_export_symbols=yes
   7121       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'
   7122       # Note: this linker hardcodes the directories in LIBPATH if there
   7123       # are no directories specified by -L.
   7124       hardcode_minus_L=yes
   7125       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7126 	# Neither direct hardcoding nor static linking is supported with a
   7127 	# broken collect2.
   7128 	hardcode_direct=unsupported
   7129       fi
   7130       ;;
   7131 
   7132     aix4* | aix5*)
   7133       if test "$host_cpu" = ia64; then
   7134 	# On IA64, the linker does run time linking by default, so we don't
   7135 	# have to do anything special.
   7136 	aix_use_runtimelinking=no
   7137 	exp_sym_flag='-Bexport'
   7138 	no_entry_flag=""
   7139       else
   7140 	# If we're using GNU nm, then we don't want the "-C" option.
   7141 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7142 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7143 	  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'
   7144 	else
   7145 	  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'
   7146 	fi
   7147 	aix_use_runtimelinking=no
   7148 
   7149 	# Test if we are trying to use run time linking or normal
   7150 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7151 	# need to do runtime linking.
   7152 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7153 	  for ld_flag in $LDFLAGS; do
   7154   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7155   	    aix_use_runtimelinking=yes
   7156   	    break
   7157   	  fi
   7158 	  done
   7159 	  ;;
   7160 	esac
   7161 
   7162 	exp_sym_flag='-bexport'
   7163 	no_entry_flag='-bnoentry'
   7164       fi
   7165 
   7166       # When large executables or shared objects are built, AIX ld can
   7167       # have problems creating the table of contents.  If linking a library
   7168       # or program results in "error TOC overflow" add -mminimal-toc to
   7169       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7170       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7171 
   7172       archive_cmds=''
   7173       hardcode_direct=yes
   7174       hardcode_libdir_separator=':'
   7175       link_all_deplibs=yes
   7176 
   7177       if test "$GCC" = yes; then
   7178 	case $host_os in aix4.[012]|aix4.[012].*)
   7179 	# We only want to do this on AIX 4.2 and lower, the check
   7180 	# below for broken collect2 doesn't work under 4.3+
   7181 	  collect2name=`${CC} -print-prog-name=collect2`
   7182 	  if test -f "$collect2name" && \
   7183   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7184 	  then
   7185   	  # We have reworked collect2
   7186   	  hardcode_direct=yes
   7187 	  else
   7188   	  # We have old collect2
   7189   	  hardcode_direct=unsupported
   7190   	  # It fails to find uninstalled libraries when the uninstalled
   7191   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7192   	  # to unsupported forces relinking
   7193   	  hardcode_minus_L=yes
   7194   	  hardcode_libdir_flag_spec='-L$libdir'
   7195   	  hardcode_libdir_separator=
   7196 	  fi
   7197 	  ;;
   7198 	esac
   7199 	shared_flag='-shared'
   7200 	if test "$aix_use_runtimelinking" = yes; then
   7201 	  shared_flag="$shared_flag "'${wl}-G'
   7202 	fi
   7203       else
   7204 	# not using gcc
   7205 	if test "$host_cpu" = ia64; then
   7206   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7207   	# chokes on -Wl,-G. The following line is correct:
   7208 	  shared_flag='-G'
   7209 	else
   7210 	  if test "$aix_use_runtimelinking" = yes; then
   7211 	    shared_flag='${wl}-G'
   7212 	  else
   7213 	    shared_flag='${wl}-bM:SRE'
   7214 	  fi
   7215 	fi
   7216       fi
   7217 
   7218       # It seems that -bexpall does not export symbols beginning with
   7219       # underscore (_), so it is better to generate a list of symbols to export.
   7220       always_export_symbols=yes
   7221       if test "$aix_use_runtimelinking" = yes; then
   7222 	# Warning - without using the other runtime loading flags (-brtl),
   7223 	# -berok will link without error, but may produce a broken library.
   7224 	allow_undefined_flag='-berok'
   7225        # Determine the default libpath from the value encoded in an empty executable.
   7226        cat >conftest.$ac_ext <<_ACEOF
   7227 /* confdefs.h.  */
   7228 _ACEOF
   7229 cat confdefs.h >>conftest.$ac_ext
   7230 cat >>conftest.$ac_ext <<_ACEOF
   7231 /* end confdefs.h.  */
   7232 
   7233 int
   7234 main ()
   7235 {
   7236 
   7237   ;
   7238   return 0;
   7239 }
   7240 _ACEOF
   7241 rm -f conftest.$ac_objext conftest$ac_exeext
   7242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7243   (eval $ac_link) 2>conftest.er1
   7244   ac_status=$?
   7245   grep -v '^ *+' conftest.er1 >conftest.err
   7246   rm -f conftest.er1
   7247   cat conftest.err >&5
   7248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7249   (exit $ac_status); } &&
   7250 	 { ac_try='test -z "$ac_c_werror_flag"
   7251 			 || test ! -s conftest.err'
   7252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7253   (eval $ac_try) 2>&5
   7254   ac_status=$?
   7255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7256   (exit $ac_status); }; } &&
   7257 	 { ac_try='test -s conftest$ac_exeext'
   7258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7259   (eval $ac_try) 2>&5
   7260   ac_status=$?
   7261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7262   (exit $ac_status); }; }; then
   7263 
   7264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7265 }'`
   7266 # Check for a 64-bit object if we didn't find anything.
   7267 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7268 }'`; fi
   7269 else
   7270   echo "$as_me: failed program was:" >&5
   7271 sed 's/^/| /' conftest.$ac_ext >&5
   7272 
   7273 fi
   7274 rm -f conftest.err conftest.$ac_objext \
   7275       conftest$ac_exeext conftest.$ac_ext
   7276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7277 
   7278        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7279 	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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   7280        else
   7281 	if test "$host_cpu" = ia64; then
   7282 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7283 	  allow_undefined_flag="-z nodefs"
   7284 	  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"
   7285 	else
   7286 	 # Determine the default libpath from the value encoded in an empty executable.
   7287 	 cat >conftest.$ac_ext <<_ACEOF
   7288 /* confdefs.h.  */
   7289 _ACEOF
   7290 cat confdefs.h >>conftest.$ac_ext
   7291 cat >>conftest.$ac_ext <<_ACEOF
   7292 /* end confdefs.h.  */
   7293 
   7294 int
   7295 main ()
   7296 {
   7297 
   7298   ;
   7299   return 0;
   7300 }
   7301 _ACEOF
   7302 rm -f conftest.$ac_objext conftest$ac_exeext
   7303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7304   (eval $ac_link) 2>conftest.er1
   7305   ac_status=$?
   7306   grep -v '^ *+' conftest.er1 >conftest.err
   7307   rm -f conftest.er1
   7308   cat conftest.err >&5
   7309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7310   (exit $ac_status); } &&
   7311 	 { ac_try='test -z "$ac_c_werror_flag"
   7312 			 || test ! -s conftest.err'
   7313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7314   (eval $ac_try) 2>&5
   7315   ac_status=$?
   7316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7317   (exit $ac_status); }; } &&
   7318 	 { ac_try='test -s conftest$ac_exeext'
   7319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7320   (eval $ac_try) 2>&5
   7321   ac_status=$?
   7322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7323   (exit $ac_status); }; }; then
   7324 
   7325 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7326 }'`
   7327 # Check for a 64-bit object if we didn't find anything.
   7328 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7329 }'`; fi
   7330 else
   7331   echo "$as_me: failed program was:" >&5
   7332 sed 's/^/| /' conftest.$ac_ext >&5
   7333 
   7334 fi
   7335 rm -f conftest.err conftest.$ac_objext \
   7336       conftest$ac_exeext conftest.$ac_ext
   7337 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7338 
   7339 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7340 	  # Warning - without using the other run time loading flags,
   7341 	  # -berok will link without error, but may produce a broken library.
   7342 	  no_undefined_flag=' ${wl}-bernotok'
   7343 	  allow_undefined_flag=' ${wl}-berok'
   7344 	  # Exported symbols can be pulled into shared objects from archives
   7345 	  whole_archive_flag_spec='$convenience'
   7346 	  archive_cmds_need_lc=yes
   7347 	  # This is similar to how AIX traditionally builds its shared libraries.
   7348 	  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'
   7349 	fi
   7350       fi
   7351       ;;
   7352 
   7353     amigaos*)
   7354       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)'
   7355       hardcode_libdir_flag_spec='-L$libdir'
   7356       hardcode_minus_L=yes
   7357       # see comment about different semantics on the GNU ld section
   7358       ld_shlibs=no
   7359       ;;
   7360 
   7361     bsdi[45]*)
   7362       export_dynamic_flag_spec=-rdynamic
   7363       ;;
   7364 
   7365     cygwin* | mingw* | pw32*)
   7366       # When not using gcc, we currently assume that we are using
   7367       # Microsoft Visual C++.
   7368       # hardcode_libdir_flag_spec is actually meaningless, as there is
   7369       # no search path for DLLs.
   7370       hardcode_libdir_flag_spec=' '
   7371       allow_undefined_flag=unsupported
   7372       # Tell ltmain to make .lib files, not .a files.
   7373       libext=lib
   7374       # Tell ltmain to make .dll files, not .so files.
   7375       shrext_cmds=".dll"
   7376       # FIXME: Setting linknames here is a bad hack.
   7377       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   7378       # The linker will automatically build a .lib file if we build a DLL.
   7379       old_archive_From_new_cmds='true'
   7380       # FIXME: Should let the user specify the lib program.
   7381       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   7382       fix_srcfile_path='`cygpath -w "$srcfile"`'
   7383       enable_shared_with_static_runtimes=yes
   7384       ;;
   7385 
   7386     darwin* | rhapsody*)
   7387       case $host_os in
   7388         rhapsody* | darwin1.[012])
   7389          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   7390          ;;
   7391        *) # Darwin 1.3 on
   7392          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   7393            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7394          else
   7395            case ${MACOSX_DEPLOYMENT_TARGET} in
   7396              10.[012])
   7397                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7398                ;;
   7399              10.*)
   7400                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   7401                ;;
   7402            esac
   7403          fi
   7404          ;;
   7405       esac
   7406       archive_cmds_need_lc=no
   7407       hardcode_direct=no
   7408       hardcode_automatic=yes
   7409       hardcode_shlibpath_var=unsupported
   7410       whole_archive_flag_spec=''
   7411       link_all_deplibs=yes
   7412     if test "$GCC" = yes ; then
   7413     	output_verbose_link_cmd='echo'
   7414         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   7415       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7416       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7417       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7418       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7419     else
   7420       case $cc_basename in
   7421         xlc*)
   7422          output_verbose_link_cmd='echo'
   7423          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   7424          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7425           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7426          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7427           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7428           ;;
   7429        *)
   7430          ld_shlibs=no
   7431           ;;
   7432       esac
   7433     fi
   7434       ;;
   7435 
   7436     dgux*)
   7437       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7438       hardcode_libdir_flag_spec='-L$libdir'
   7439       hardcode_shlibpath_var=no
   7440       ;;
   7441 
   7442     freebsd1*)
   7443       ld_shlibs=no
   7444       ;;
   7445 
   7446     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   7447     # support.  Future versions do this automatically, but an explicit c++rt0.o
   7448     # does not break anything, and helps significantly (at the cost of a little
   7449     # extra space).
   7450     freebsd2.2*)
   7451       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   7452       hardcode_libdir_flag_spec='-R$libdir'
   7453       hardcode_direct=yes
   7454       hardcode_shlibpath_var=no
   7455       ;;
   7456 
   7457     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   7458     freebsd2*)
   7459       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7460       hardcode_direct=yes
   7461       hardcode_minus_L=yes
   7462       hardcode_shlibpath_var=no
   7463       ;;
   7464 
   7465     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   7466     freebsd* | kfreebsd*-gnu | dragonfly*)
   7467       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   7468       hardcode_libdir_flag_spec='-R$libdir'
   7469       hardcode_direct=yes
   7470       hardcode_shlibpath_var=no
   7471       ;;
   7472 
   7473     hpux9*)
   7474       if test "$GCC" = yes; then
   7475 	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'
   7476       else
   7477 	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'
   7478       fi
   7479       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7480       hardcode_libdir_separator=:
   7481       hardcode_direct=yes
   7482 
   7483       # hardcode_minus_L: Not really in the search PATH,
   7484       # but as the default location of the library.
   7485       hardcode_minus_L=yes
   7486       export_dynamic_flag_spec='${wl}-E'
   7487       ;;
   7488 
   7489     hpux10*)
   7490       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7491 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7492       else
   7493 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   7494       fi
   7495       if test "$with_gnu_ld" = no; then
   7496 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7497 	hardcode_libdir_separator=:
   7498 
   7499 	hardcode_direct=yes
   7500 	export_dynamic_flag_spec='${wl}-E'
   7501 
   7502 	# hardcode_minus_L: Not really in the search PATH,
   7503 	# but as the default location of the library.
   7504 	hardcode_minus_L=yes
   7505       fi
   7506       ;;
   7507 
   7508     hpux11*)
   7509       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7510 	case $host_cpu in
   7511 	hppa*64*)
   7512 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7513 	  ;;
   7514 	ia64*)
   7515 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7516 	  ;;
   7517 	*)
   7518 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7519 	  ;;
   7520 	esac
   7521       else
   7522 	case $host_cpu in
   7523 	hppa*64*)
   7524 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7525 	  ;;
   7526 	ia64*)
   7527 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7528 	  ;;
   7529 	*)
   7530 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7531 	  ;;
   7532 	esac
   7533       fi
   7534       if test "$with_gnu_ld" = no; then
   7535 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7536 	hardcode_libdir_separator=:
   7537 
   7538 	case $host_cpu in
   7539 	hppa*64*|ia64*)
   7540 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   7541 	  hardcode_direct=no
   7542 	  hardcode_shlibpath_var=no
   7543 	  ;;
   7544 	*)
   7545 	  hardcode_direct=yes
   7546 	  export_dynamic_flag_spec='${wl}-E'
   7547 
   7548 	  # hardcode_minus_L: Not really in the search PATH,
   7549 	  # but as the default location of the library.
   7550 	  hardcode_minus_L=yes
   7551 	  ;;
   7552 	esac
   7553       fi
   7554       ;;
   7555 
   7556     irix5* | irix6* | nonstopux*)
   7557       if test "$GCC" = yes; then
   7558 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   7559       else
   7560 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   7561 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   7562       fi
   7563       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7564       hardcode_libdir_separator=:
   7565       link_all_deplibs=yes
   7566       ;;
   7567 
   7568     netbsd*)
   7569       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7570 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   7571       else
   7572 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   7573       fi
   7574       hardcode_libdir_flag_spec='-R$libdir'
   7575       hardcode_direct=yes
   7576       hardcode_shlibpath_var=no
   7577       ;;
   7578 
   7579     newsos6)
   7580       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7581       hardcode_direct=yes
   7582       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7583       hardcode_libdir_separator=:
   7584       hardcode_shlibpath_var=no
   7585       ;;
   7586 
   7587     openbsd*)
   7588       hardcode_direct=yes
   7589       hardcode_shlibpath_var=no
   7590       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7591 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7592 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   7593 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7594 	export_dynamic_flag_spec='${wl}-E'
   7595       else
   7596        case $host_os in
   7597 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   7598 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7599 	   hardcode_libdir_flag_spec='-R$libdir'
   7600 	   ;;
   7601 	 *)
   7602 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7603 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7604 	   ;;
   7605        esac
   7606       fi
   7607       ;;
   7608 
   7609     os2*)
   7610       hardcode_libdir_flag_spec='-L$libdir'
   7611       hardcode_minus_L=yes
   7612       allow_undefined_flag=unsupported
   7613       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'
   7614       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   7615       ;;
   7616 
   7617     osf3*)
   7618       if test "$GCC" = yes; then
   7619 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7620 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   7621       else
   7622 	allow_undefined_flag=' -expect_unresolved \*'
   7623 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   7624       fi
   7625       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7626       hardcode_libdir_separator=:
   7627       ;;
   7628 
   7629     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   7630       if test "$GCC" = yes; then
   7631 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7632 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   7633 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7634       else
   7635 	allow_undefined_flag=' -expect_unresolved \*'
   7636 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   7637 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   7638 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   7639 
   7640 	# Both c and cxx compiler support -rpath directly
   7641 	hardcode_libdir_flag_spec='-rpath $libdir'
   7642       fi
   7643       hardcode_libdir_separator=:
   7644       ;;
   7645 
   7646     solaris*)
   7647       no_undefined_flag=' -z text'
   7648       if test "$GCC" = yes; then
   7649 	wlarc='${wl}'
   7650 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7651 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7652 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   7653       else
   7654 	wlarc=''
   7655 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7656 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7657   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   7658       fi
   7659       hardcode_libdir_flag_spec='-R$libdir'
   7660       hardcode_shlibpath_var=no
   7661       case $host_os in
   7662       solaris2.[0-5] | solaris2.[0-5].*) ;;
   7663       *)
   7664  	# The compiler driver will combine linker options so we
   7665  	# cannot just pass the convience library names through
   7666  	# without $wl, iff we do not link with $LD.
   7667  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   7668  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   7669  	case $wlarc in
   7670  	'')
   7671  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   7672  	*)
   7673  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   7674  	esac ;;
   7675       esac
   7676       link_all_deplibs=yes
   7677       ;;
   7678 
   7679     sunos4*)
   7680       if test "x$host_vendor" = xsequent; then
   7681 	# Use $CC to link under sequent, because it throws in some extra .o
   7682 	# files that make .init and .fini sections work.
   7683 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   7684       else
   7685 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   7686       fi
   7687       hardcode_libdir_flag_spec='-L$libdir'
   7688       hardcode_direct=yes
   7689       hardcode_minus_L=yes
   7690       hardcode_shlibpath_var=no
   7691       ;;
   7692 
   7693     sysv4)
   7694       case $host_vendor in
   7695 	sni)
   7696 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7697 	  hardcode_direct=yes # is this really true???
   7698 	;;
   7699 	siemens)
   7700 	  ## LD is ld it makes a PLAMLIB
   7701 	  ## CC just makes a GrossModule.
   7702 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   7703 	  reload_cmds='$CC -r -o $output$reload_objs'
   7704 	  hardcode_direct=no
   7705         ;;
   7706 	motorola)
   7707 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7708 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   7709 	;;
   7710       esac
   7711       runpath_var='LD_RUN_PATH'
   7712       hardcode_shlibpath_var=no
   7713       ;;
   7714 
   7715     sysv4.3*)
   7716       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7717       hardcode_shlibpath_var=no
   7718       export_dynamic_flag_spec='-Bexport'
   7719       ;;
   7720 
   7721     sysv4*MP*)
   7722       if test -d /usr/nec; then
   7723 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7724 	hardcode_shlibpath_var=no
   7725 	runpath_var=LD_RUN_PATH
   7726 	hardcode_runpath_var=yes
   7727 	ld_shlibs=yes
   7728       fi
   7729       ;;
   7730 
   7731     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   7732       no_undefined_flag='${wl}-z,text'
   7733       archive_cmds_need_lc=no
   7734       hardcode_shlibpath_var=no
   7735       runpath_var='LD_RUN_PATH'
   7736 
   7737       if test "$GCC" = yes; then
   7738 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7739 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7740       else
   7741 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7742 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7743       fi
   7744       ;;
   7745 
   7746     sysv5* | sco3.2v5* | sco5v6*)
   7747       # Note: We can NOT use -z defs as we might desire, because we do not
   7748       # link with -lc, and that would cause any symbols used from libc to
   7749       # always be unresolved, which means just about no library would
   7750       # ever link correctly.  If we're not using GNU ld we use -z text
   7751       # though, which does catch some bad symbols but isn't as heavy-handed
   7752       # as -z defs.
   7753       no_undefined_flag='${wl}-z,text'
   7754       allow_undefined_flag='${wl}-z,nodefs'
   7755       archive_cmds_need_lc=no
   7756       hardcode_shlibpath_var=no
   7757       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   7758       hardcode_libdir_separator=':'
   7759       link_all_deplibs=yes
   7760       export_dynamic_flag_spec='${wl}-Bexport'
   7761       runpath_var='LD_RUN_PATH'
   7762 
   7763       if test "$GCC" = yes; then
   7764 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7765 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7766       else
   7767 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7768 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7769       fi
   7770       ;;
   7771 
   7772     uts4*)
   7773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7774       hardcode_libdir_flag_spec='-L$libdir'
   7775       hardcode_shlibpath_var=no
   7776       ;;
   7777 
   7778     *)
   7779       ld_shlibs=no
   7780       ;;
   7781     esac
   7782   fi
   7783 
   7784 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   7785 echo "${ECHO_T}$ld_shlibs" >&6
   7786 test "$ld_shlibs" = no && can_build_shared=no
   7787 
   7788 #
   7789 # Do we need to explicitly link libc?
   7790 #
   7791 case "x$archive_cmds_need_lc" in
   7792 x|xyes)
   7793   # Assume -lc should be added
   7794   archive_cmds_need_lc=yes
   7795 
   7796   if test "$enable_shared" = yes && test "$GCC" = yes; then
   7797     case $archive_cmds in
   7798     *'~'*)
   7799       # FIXME: we may have to deal with multi-command sequences.
   7800       ;;
   7801     '$CC '*)
   7802       # Test whether the compiler implicitly links with -lc since on some
   7803       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   7804       # to ld, don't add -lc before -lgcc.
   7805       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   7806 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   7807       $rm conftest*
   7808       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7809 
   7810       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7811   (eval $ac_compile) 2>&5
   7812   ac_status=$?
   7813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7814   (exit $ac_status); } 2>conftest.err; then
   7815         soname=conftest
   7816         lib=conftest
   7817         libobjs=conftest.$ac_objext
   7818         deplibs=
   7819         wl=$lt_prog_compiler_wl
   7820 	pic_flag=$lt_prog_compiler_pic
   7821         compiler_flags=-v
   7822         linker_flags=-v
   7823         verstring=
   7824         output_objdir=.
   7825         libname=conftest
   7826         lt_save_allow_undefined_flag=$allow_undefined_flag
   7827         allow_undefined_flag=
   7828         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   7829   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   7830   ac_status=$?
   7831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7832   (exit $ac_status); }
   7833         then
   7834 	  archive_cmds_need_lc=no
   7835         else
   7836 	  archive_cmds_need_lc=yes
   7837         fi
   7838         allow_undefined_flag=$lt_save_allow_undefined_flag
   7839       else
   7840         cat conftest.err 1>&5
   7841       fi
   7842       $rm conftest*
   7843       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   7844 echo "${ECHO_T}$archive_cmds_need_lc" >&6
   7845       ;;
   7846     esac
   7847   fi
   7848   ;;
   7849 esac
   7850 
   7851 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   7852 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   7853 library_names_spec=
   7854 libname_spec='lib$name'
   7855 soname_spec=
   7856 shrext_cmds=".so"
   7857 postinstall_cmds=
   7858 postuninstall_cmds=
   7859 finish_cmds=
   7860 finish_eval=
   7861 shlibpath_var=
   7862 shlibpath_overrides_runpath=unknown
   7863 version_type=none
   7864 dynamic_linker="$host_os ld.so"
   7865 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   7866 if test "$GCC" = yes; then
   7867   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   7868   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   7869     # if the path contains ";" then we assume it to be the separator
   7870     # otherwise default to the standard path separator (i.e. ":") - it is
   7871     # assumed that no part of a normal pathname contains ";" but that should
   7872     # okay in the real world where ";" in dirpaths is itself problematic.
   7873     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   7874   else
   7875     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   7876   fi
   7877 else
   7878   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   7879 fi
   7880 need_lib_prefix=unknown
   7881 hardcode_into_libs=no
   7882 
   7883 # when you set need_version to no, make sure it does not cause -set_version
   7884 # flags to be left without arguments
   7885 need_version=unknown
   7886 
   7887 case $host_os in
   7888 aix3*)
   7889   version_type=linux
   7890   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   7891   shlibpath_var=LIBPATH
   7892 
   7893   # AIX 3 has no versioning support, so we append a major version to the name.
   7894   soname_spec='${libname}${release}${shared_ext}$major'
   7895   ;;
   7896 
   7897 aix4* | aix5*)
   7898   version_type=linux
   7899   need_lib_prefix=no
   7900   need_version=no
   7901   hardcode_into_libs=yes
   7902   if test "$host_cpu" = ia64; then
   7903     # AIX 5 supports IA64
   7904     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   7905     shlibpath_var=LD_LIBRARY_PATH
   7906   else
   7907     # With GCC up to 2.95.x, collect2 would create an import file
   7908     # for dependence libraries.  The import file would start with
   7909     # the line `#! .'.  This would cause the generated library to
   7910     # depend on `.', always an invalid library.  This was fixed in
   7911     # development snapshots of GCC prior to 3.0.
   7912     case $host_os in
   7913       aix4 | aix4.[01] | aix4.[01].*)
   7914       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   7915 	   echo ' yes '
   7916 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   7917 	:
   7918       else
   7919 	can_build_shared=no
   7920       fi
   7921       ;;
   7922     esac
   7923     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   7924     # soname into executable. Probably we can add versioning support to
   7925     # collect2, so additional links can be useful in future.
   7926     if test "$aix_use_runtimelinking" = yes; then
   7927       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   7928       # instead of lib<name>.a to let people know that these are not
   7929       # typical AIX shared libraries.
   7930       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   7931     else
   7932       # We preserve .a as extension for shared libraries through AIX4.2
   7933       # and later when we are not doing run time linking.
   7934       library_names_spec='${libname}${release}.a $libname.a'
   7935       soname_spec='${libname}${release}${shared_ext}$major'
   7936     fi
   7937     shlibpath_var=LIBPATH
   7938   fi
   7939   ;;
   7940 
   7941 amigaos*)
   7942   library_names_spec='$libname.ixlibrary $libname.a'
   7943   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   7944   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'
   7945   ;;
   7946 
   7947 beos*)
   7948   library_names_spec='${libname}${shared_ext}'
   7949   dynamic_linker="$host_os ld.so"
   7950   shlibpath_var=LIBRARY_PATH
   7951   ;;
   7952 
   7953 bsdi[45]*)
   7954   version_type=linux
   7955   need_version=no
   7956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   7957   soname_spec='${libname}${release}${shared_ext}$major'
   7958   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   7959   shlibpath_var=LD_LIBRARY_PATH
   7960   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   7961   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   7962   # the default ld.so.conf also contains /usr/contrib/lib and
   7963   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   7964   # libtool to hard-code these into programs
   7965   ;;
   7966 
   7967 cygwin* | mingw* | pw32*)
   7968   version_type=windows
   7969   shrext_cmds=".dll"
   7970   need_version=no
   7971   need_lib_prefix=no
   7972 
   7973   case $GCC,$host_os in
   7974   yes,cygwin* | yes,mingw* | yes,pw32*)
   7975     library_names_spec='$libname.dll.a'
   7976     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   7977     postinstall_cmds='base_file=`basename \${file}`~
   7978       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   7979       dldir=$destdir/`dirname \$dlpath`~
   7980       test -d \$dldir || mkdir -p \$dldir~
   7981       $install_prog $dir/$dlname \$dldir/$dlname~
   7982       chmod a+x \$dldir/$dlname'
   7983     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   7984       dlpath=$dir/\$dldll~
   7985        $rm \$dlpath'
   7986     shlibpath_overrides_runpath=yes
   7987 
   7988     case $host_os in
   7989     cygwin*)
   7990       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   7991       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   7992       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   7993       ;;
   7994     mingw*)
   7995       # MinGW DLLs use traditional 'lib' prefix
   7996       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   7997       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   7998       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   7999         # It is most probably a Windows format PATH printed by
   8000         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8001         # path with ; separators, and with drive letters. We can handle the
   8002         # drive letters (cygwin fileutils understands them), so leave them,
   8003         # especially as we might pass files found there to a mingw objdump,
   8004         # which wouldn't understand a cygwinified path. Ahh.
   8005         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8006       else
   8007         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8008       fi
   8009       ;;
   8010     pw32*)
   8011       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8012       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8013       ;;
   8014     esac
   8015     ;;
   8016 
   8017   *)
   8018     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8019     ;;
   8020   esac
   8021   dynamic_linker='Win32 ld.exe'
   8022   # FIXME: first we should search . and the directory the executable is in
   8023   shlibpath_var=PATH
   8024   ;;
   8025 
   8026 darwin* | rhapsody*)
   8027   dynamic_linker="$host_os dyld"
   8028   version_type=darwin
   8029   need_lib_prefix=no
   8030   need_version=no
   8031   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8032   soname_spec='${libname}${release}${major}$shared_ext'
   8033   shlibpath_overrides_runpath=yes
   8034   shlibpath_var=DYLD_LIBRARY_PATH
   8035   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8036   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8037   if test "$GCC" = yes; then
   8038     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   8039   else
   8040     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8041   fi
   8042   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8043   ;;
   8044 
   8045 dgux*)
   8046   version_type=linux
   8047   need_lib_prefix=no
   8048   need_version=no
   8049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8050   soname_spec='${libname}${release}${shared_ext}$major'
   8051   shlibpath_var=LD_LIBRARY_PATH
   8052   ;;
   8053 
   8054 freebsd1*)
   8055   dynamic_linker=no
   8056   ;;
   8057 
   8058 kfreebsd*-gnu)
   8059   version_type=linux
   8060   need_lib_prefix=no
   8061   need_version=no
   8062   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8063   soname_spec='${libname}${release}${shared_ext}$major'
   8064   shlibpath_var=LD_LIBRARY_PATH
   8065   shlibpath_overrides_runpath=no
   8066   hardcode_into_libs=yes
   8067   dynamic_linker='GNU ld.so'
   8068   ;;
   8069 
   8070 freebsd* | dragonfly*)
   8071   # DragonFly does not have aout.  When/if they implement a new
   8072   # versioning mechanism, adjust this.
   8073   if test -x /usr/bin/objformat; then
   8074     objformat=`/usr/bin/objformat`
   8075   else
   8076     case $host_os in
   8077     freebsd[123]*) objformat=aout ;;
   8078     *) objformat=elf ;;
   8079     esac
   8080   fi
   8081   version_type=freebsd-$objformat
   8082   case $version_type in
   8083     freebsd-elf*)
   8084       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8085       need_version=no
   8086       need_lib_prefix=no
   8087       ;;
   8088     freebsd-*)
   8089       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8090       need_version=yes
   8091       ;;
   8092   esac
   8093   shlibpath_var=LD_LIBRARY_PATH
   8094   case $host_os in
   8095   freebsd2*)
   8096     shlibpath_overrides_runpath=yes
   8097     ;;
   8098   freebsd3.[01]* | freebsdelf3.[01]*)
   8099     shlibpath_overrides_runpath=yes
   8100     hardcode_into_libs=yes
   8101     ;;
   8102   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8103   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8104     shlibpath_overrides_runpath=no
   8105     hardcode_into_libs=yes
   8106     ;;
   8107   freebsd*) # from 4.6 on
   8108     shlibpath_overrides_runpath=yes
   8109     hardcode_into_libs=yes
   8110     ;;
   8111   esac
   8112   ;;
   8113 
   8114 gnu*)
   8115   version_type=linux
   8116   need_lib_prefix=no
   8117   need_version=no
   8118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8119   soname_spec='${libname}${release}${shared_ext}$major'
   8120   shlibpath_var=LD_LIBRARY_PATH
   8121   hardcode_into_libs=yes
   8122   ;;
   8123 
   8124 hpux9* | hpux10* | hpux11*)
   8125   # Give a soname corresponding to the major version so that dld.sl refuses to
   8126   # link against other versions.
   8127   version_type=sunos
   8128   need_lib_prefix=no
   8129   need_version=no
   8130   case $host_cpu in
   8131   ia64*)
   8132     shrext_cmds='.so'
   8133     hardcode_into_libs=yes
   8134     dynamic_linker="$host_os dld.so"
   8135     shlibpath_var=LD_LIBRARY_PATH
   8136     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8137     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8138     soname_spec='${libname}${release}${shared_ext}$major'
   8139     if test "X$HPUX_IA64_MODE" = X32; then
   8140       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8141     else
   8142       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8143     fi
   8144     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8145     ;;
   8146    hppa*64*)
   8147      shrext_cmds='.sl'
   8148      hardcode_into_libs=yes
   8149      dynamic_linker="$host_os dld.sl"
   8150      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8151      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8152      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8153      soname_spec='${libname}${release}${shared_ext}$major'
   8154      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8155      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8156      ;;
   8157    *)
   8158     shrext_cmds='.sl'
   8159     dynamic_linker="$host_os dld.sl"
   8160     shlibpath_var=SHLIB_PATH
   8161     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8162     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8163     soname_spec='${libname}${release}${shared_ext}$major'
   8164     ;;
   8165   esac
   8166   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8167   postinstall_cmds='chmod 555 $lib'
   8168   ;;
   8169 
   8170 interix3*)
   8171   version_type=linux
   8172   need_lib_prefix=no
   8173   need_version=no
   8174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8175   soname_spec='${libname}${release}${shared_ext}$major'
   8176   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8177   shlibpath_var=LD_LIBRARY_PATH
   8178   shlibpath_overrides_runpath=no
   8179   hardcode_into_libs=yes
   8180   ;;
   8181 
   8182 irix5* | irix6* | nonstopux*)
   8183   case $host_os in
   8184     nonstopux*) version_type=nonstopux ;;
   8185     *)
   8186 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8187 		version_type=linux
   8188 	else
   8189 		version_type=irix
   8190 	fi ;;
   8191   esac
   8192   need_lib_prefix=no
   8193   need_version=no
   8194   soname_spec='${libname}${release}${shared_ext}$major'
   8195   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8196   case $host_os in
   8197   irix5* | nonstopux*)
   8198     libsuff= shlibsuff=
   8199     ;;
   8200   *)
   8201     case $LD in # libtool.m4 will add one of these switches to LD
   8202     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8203       libsuff= shlibsuff= libmagic=32-bit;;
   8204     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8205       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8206     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8207       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8208     *) libsuff= shlibsuff= libmagic=never-match;;
   8209     esac
   8210     ;;
   8211   esac
   8212   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8213   shlibpath_overrides_runpath=no
   8214   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8215   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8216   hardcode_into_libs=yes
   8217   ;;
   8218 
   8219 # No shared lib support for Linux oldld, aout, or coff.
   8220 linux*oldld* | linux*aout* | linux*coff*)
   8221   dynamic_linker=no
   8222   ;;
   8223 
   8224 # This must be Linux ELF.
   8225 linux*)
   8226   version_type=linux
   8227   need_lib_prefix=no
   8228   need_version=no
   8229   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8230   soname_spec='${libname}${release}${shared_ext}$major'
   8231   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8232   shlibpath_var=LD_LIBRARY_PATH
   8233   shlibpath_overrides_runpath=no
   8234   # This implies no fast_install, which is unacceptable.
   8235   # Some rework will be needed to allow for fast_install
   8236   # before this can be enabled.
   8237   hardcode_into_libs=yes
   8238 
   8239   # find out which ABI we are using
   8240   libsuff=
   8241   case "$host_cpu" in
   8242   x86_64*|s390x*|powerpc64*)
   8243     echo '#line 8243 "configure"' > conftest.$ac_ext
   8244     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8245   (eval $ac_compile) 2>&5
   8246   ac_status=$?
   8247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8248   (exit $ac_status); }; then
   8249       case `/usr/bin/file conftest.$ac_objext` in
   8250       *64-bit*)
   8251         libsuff=64
   8252         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   8253         ;;
   8254       esac
   8255     fi
   8256     rm -rf conftest*
   8257     ;;
   8258   esac
   8259 
   8260   # Append ld.so.conf contents to the search path
   8261   if test -f /etc/ld.so.conf; then
   8262     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   8263     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   8264   fi
   8265 
   8266   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8267   # powerpc, because MkLinux only supported shared libraries with the
   8268   # GNU dynamic linker.  Since this was broken with cross compilers,
   8269   # most powerpc-linux boxes support dynamic linking these days and
   8270   # people can always --disable-shared, the test was removed, and we
   8271   # assume the GNU/Linux dynamic linker is in use.
   8272   dynamic_linker='GNU/Linux ld.so'
   8273   ;;
   8274 
   8275 knetbsd*-gnu)
   8276   version_type=linux
   8277   need_lib_prefix=no
   8278   need_version=no
   8279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8280   soname_spec='${libname}${release}${shared_ext}$major'
   8281   shlibpath_var=LD_LIBRARY_PATH
   8282   shlibpath_overrides_runpath=no
   8283   hardcode_into_libs=yes
   8284   dynamic_linker='GNU ld.so'
   8285   ;;
   8286 
   8287 netbsd*)
   8288   version_type=sunos
   8289   need_lib_prefix=no
   8290   need_version=no
   8291   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8292     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8293     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8294     dynamic_linker='NetBSD (a.out) ld.so'
   8295   else
   8296     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8297     soname_spec='${libname}${release}${shared_ext}$major'
   8298     dynamic_linker='NetBSD ld.elf_so'
   8299   fi
   8300   shlibpath_var=LD_LIBRARY_PATH
   8301   shlibpath_overrides_runpath=yes
   8302   hardcode_into_libs=yes
   8303   ;;
   8304 
   8305 newsos6)
   8306   version_type=linux
   8307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8308   shlibpath_var=LD_LIBRARY_PATH
   8309   shlibpath_overrides_runpath=yes
   8310   ;;
   8311 
   8312 nto-qnx*)
   8313   version_type=linux
   8314   need_lib_prefix=no
   8315   need_version=no
   8316   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8317   soname_spec='${libname}${release}${shared_ext}$major'
   8318   shlibpath_var=LD_LIBRARY_PATH
   8319   shlibpath_overrides_runpath=yes
   8320   ;;
   8321 
   8322 openbsd*)
   8323   version_type=sunos
   8324   sys_lib_dlsearch_path_spec="/usr/lib"
   8325   need_lib_prefix=no
   8326   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8327   case $host_os in
   8328     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8329     *)                         need_version=no  ;;
   8330   esac
   8331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8332   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8333   shlibpath_var=LD_LIBRARY_PATH
   8334   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8335     case $host_os in
   8336       openbsd2.[89] | openbsd2.[89].*)
   8337 	shlibpath_overrides_runpath=no
   8338 	;;
   8339       *)
   8340 	shlibpath_overrides_runpath=yes
   8341 	;;
   8342       esac
   8343   else
   8344     shlibpath_overrides_runpath=yes
   8345   fi
   8346   ;;
   8347 
   8348 os2*)
   8349   libname_spec='$name'
   8350   shrext_cmds=".dll"
   8351   need_lib_prefix=no
   8352   library_names_spec='$libname${shared_ext} $libname.a'
   8353   dynamic_linker='OS/2 ld.exe'
   8354   shlibpath_var=LIBPATH
   8355   ;;
   8356 
   8357 osf3* | osf4* | osf5*)
   8358   version_type=osf
   8359   need_lib_prefix=no
   8360   need_version=no
   8361   soname_spec='${libname}${release}${shared_ext}$major'
   8362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8363   shlibpath_var=LD_LIBRARY_PATH
   8364   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   8365   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   8366   ;;
   8367 
   8368 solaris*)
   8369   version_type=linux
   8370   need_lib_prefix=no
   8371   need_version=no
   8372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8373   soname_spec='${libname}${release}${shared_ext}$major'
   8374   shlibpath_var=LD_LIBRARY_PATH
   8375   shlibpath_overrides_runpath=yes
   8376   hardcode_into_libs=yes
   8377   # ldd complains unless libraries are executable
   8378   postinstall_cmds='chmod +x $lib'
   8379   ;;
   8380 
   8381 sunos4*)
   8382   version_type=sunos
   8383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8384   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   8385   shlibpath_var=LD_LIBRARY_PATH
   8386   shlibpath_overrides_runpath=yes
   8387   if test "$with_gnu_ld" = yes; then
   8388     need_lib_prefix=no
   8389   fi
   8390   need_version=yes
   8391   ;;
   8392 
   8393 sysv4 | sysv4.3*)
   8394   version_type=linux
   8395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8396   soname_spec='${libname}${release}${shared_ext}$major'
   8397   shlibpath_var=LD_LIBRARY_PATH
   8398   case $host_vendor in
   8399     sni)
   8400       shlibpath_overrides_runpath=no
   8401       need_lib_prefix=no
   8402       export_dynamic_flag_spec='${wl}-Blargedynsym'
   8403       runpath_var=LD_RUN_PATH
   8404       ;;
   8405     siemens)
   8406       need_lib_prefix=no
   8407       ;;
   8408     motorola)
   8409       need_lib_prefix=no
   8410       need_version=no
   8411       shlibpath_overrides_runpath=no
   8412       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   8413       ;;
   8414   esac
   8415   ;;
   8416 
   8417 sysv4*MP*)
   8418   if test -d /usr/nec ;then
   8419     version_type=linux
   8420     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   8421     soname_spec='$libname${shared_ext}.$major'
   8422     shlibpath_var=LD_LIBRARY_PATH
   8423   fi
   8424   ;;
   8425 
   8426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   8427   version_type=freebsd-elf
   8428   need_lib_prefix=no
   8429   need_version=no
   8430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8431   soname_spec='${libname}${release}${shared_ext}$major'
   8432   shlibpath_var=LD_LIBRARY_PATH
   8433   hardcode_into_libs=yes
   8434   if test "$with_gnu_ld" = yes; then
   8435     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   8436     shlibpath_overrides_runpath=no
   8437   else
   8438     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   8439     shlibpath_overrides_runpath=yes
   8440     case $host_os in
   8441       sco3.2v5*)
   8442         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   8443 	;;
   8444     esac
   8445   fi
   8446   sys_lib_dlsearch_path_spec='/usr/lib'
   8447   ;;
   8448 
   8449 uts4*)
   8450   version_type=linux
   8451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8452   soname_spec='${libname}${release}${shared_ext}$major'
   8453   shlibpath_var=LD_LIBRARY_PATH
   8454   ;;
   8455 
   8456 *)
   8457   dynamic_linker=no
   8458   ;;
   8459 esac
   8460 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   8461 echo "${ECHO_T}$dynamic_linker" >&6
   8462 test "$dynamic_linker" = no && can_build_shared=no
   8463 
   8464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   8465 if test "$GCC" = yes; then
   8466   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   8467 fi
   8468 
   8469 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   8470 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   8471 hardcode_action=
   8472 if test -n "$hardcode_libdir_flag_spec" || \
   8473    test -n "$runpath_var" || \
   8474    test "X$hardcode_automatic" = "Xyes" ; then
   8475 
   8476   # We can hardcode non-existant directories.
   8477   if test "$hardcode_direct" != no &&
   8478      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   8479      # have to relink, otherwise we might link with an installed library
   8480      # when we should be linking with a yet-to-be-installed one
   8481      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   8482      test "$hardcode_minus_L" != no; then
   8483     # Linking always hardcodes the temporary library directory.
   8484     hardcode_action=relink
   8485   else
   8486     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   8487     hardcode_action=immediate
   8488   fi
   8489 else
   8490   # We cannot hardcode anything, or else we can only hardcode existing
   8491   # directories.
   8492   hardcode_action=unsupported
   8493 fi
   8494 echo "$as_me:$LINENO: result: $hardcode_action" >&5
   8495 echo "${ECHO_T}$hardcode_action" >&6
   8496 
   8497 if test "$hardcode_action" = relink; then
   8498   # Fast installation is not supported
   8499   enable_fast_install=no
   8500 elif test "$shlibpath_overrides_runpath" = yes ||
   8501      test "$enable_shared" = no; then
   8502   # Fast installation is not necessary
   8503   enable_fast_install=needless
   8504 fi
   8505 
   8506 striplib=
   8507 old_striplib=
   8508 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   8509 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   8510 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   8511   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   8512   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   8513   echo "$as_me:$LINENO: result: yes" >&5
   8514 echo "${ECHO_T}yes" >&6
   8515 else
   8516 # FIXME - insert some real tests, host_os isn't really good enough
   8517   case $host_os in
   8518    darwin*)
   8519        if test -n "$STRIP" ; then
   8520          striplib="$STRIP -x"
   8521          echo "$as_me:$LINENO: result: yes" >&5
   8522 echo "${ECHO_T}yes" >&6
   8523        else
   8524   echo "$as_me:$LINENO: result: no" >&5
   8525 echo "${ECHO_T}no" >&6
   8526 fi
   8527        ;;
   8528    *)
   8529   echo "$as_me:$LINENO: result: no" >&5
   8530 echo "${ECHO_T}no" >&6
   8531     ;;
   8532   esac
   8533 fi
   8534 
   8535 if test "x$enable_dlopen" != xyes; then
   8536   enable_dlopen=unknown
   8537   enable_dlopen_self=unknown
   8538   enable_dlopen_self_static=unknown
   8539 else
   8540   lt_cv_dlopen=no
   8541   lt_cv_dlopen_libs=
   8542 
   8543   case $host_os in
   8544   beos*)
   8545     lt_cv_dlopen="load_add_on"
   8546     lt_cv_dlopen_libs=
   8547     lt_cv_dlopen_self=yes
   8548     ;;
   8549 
   8550   mingw* | pw32*)
   8551     lt_cv_dlopen="LoadLibrary"
   8552     lt_cv_dlopen_libs=
   8553    ;;
   8554 
   8555   cygwin*)
   8556     lt_cv_dlopen="dlopen"
   8557     lt_cv_dlopen_libs=
   8558    ;;
   8559 
   8560   darwin*)
   8561   # if libdl is installed we need to link against it
   8562     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   8563 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   8564 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   8565   echo $ECHO_N "(cached) $ECHO_C" >&6
   8566 else
   8567   ac_check_lib_save_LIBS=$LIBS
   8568 LIBS="-ldl  $LIBS"
   8569 cat >conftest.$ac_ext <<_ACEOF
   8570 /* confdefs.h.  */
   8571 _ACEOF
   8572 cat confdefs.h >>conftest.$ac_ext
   8573 cat >>conftest.$ac_ext <<_ACEOF
   8574 /* end confdefs.h.  */
   8575 
   8576 /* Override any gcc2 internal prototype to avoid an error.  */
   8577 #ifdef __cplusplus
   8578 extern "C"
   8579 #endif
   8580 /* We use char because int might match the return type of a gcc2
   8581    builtin and then its argument prototype would still apply.  */
   8582 char dlopen ();
   8583 int
   8584 main ()
   8585 {
   8586 dlopen ();
   8587   ;
   8588   return 0;
   8589 }
   8590 _ACEOF
   8591 rm -f conftest.$ac_objext conftest$ac_exeext
   8592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8593   (eval $ac_link) 2>conftest.er1
   8594   ac_status=$?
   8595   grep -v '^ *+' conftest.er1 >conftest.err
   8596   rm -f conftest.er1
   8597   cat conftest.err >&5
   8598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8599   (exit $ac_status); } &&
   8600 	 { ac_try='test -z "$ac_c_werror_flag"
   8601 			 || test ! -s conftest.err'
   8602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8603   (eval $ac_try) 2>&5
   8604   ac_status=$?
   8605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8606   (exit $ac_status); }; } &&
   8607 	 { ac_try='test -s conftest$ac_exeext'
   8608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8609   (eval $ac_try) 2>&5
   8610   ac_status=$?
   8611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8612   (exit $ac_status); }; }; then
   8613   ac_cv_lib_dl_dlopen=yes
   8614 else
   8615   echo "$as_me: failed program was:" >&5
   8616 sed 's/^/| /' conftest.$ac_ext >&5
   8617 
   8618 ac_cv_lib_dl_dlopen=no
   8619 fi
   8620 rm -f conftest.err conftest.$ac_objext \
   8621       conftest$ac_exeext conftest.$ac_ext
   8622 LIBS=$ac_check_lib_save_LIBS
   8623 fi
   8624 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   8625 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   8626 if test $ac_cv_lib_dl_dlopen = yes; then
   8627   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   8628 else
   8629 
   8630     lt_cv_dlopen="dyld"
   8631     lt_cv_dlopen_libs=
   8632     lt_cv_dlopen_self=yes
   8633 
   8634 fi
   8635 
   8636    ;;
   8637 
   8638   *)
   8639     echo "$as_me:$LINENO: checking for shl_load" >&5
   8640 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   8641 if test "${ac_cv_func_shl_load+set}" = set; then
   8642   echo $ECHO_N "(cached) $ECHO_C" >&6
   8643 else
   8644   cat >conftest.$ac_ext <<_ACEOF
   8645 /* confdefs.h.  */
   8646 _ACEOF
   8647 cat confdefs.h >>conftest.$ac_ext
   8648 cat >>conftest.$ac_ext <<_ACEOF
   8649 /* end confdefs.h.  */
   8650 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   8651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8652 #define shl_load innocuous_shl_load
   8653 
   8654 /* System header to define __stub macros and hopefully few prototypes,
   8655     which can conflict with char shl_load (); below.
   8656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8657     <limits.h> exists even on freestanding compilers.  */
   8658 
   8659 #ifdef __STDC__
   8660 # include <limits.h>
   8661 #else
   8662 # include <assert.h>
   8663 #endif
   8664 
   8665 #undef shl_load
   8666 
   8667 /* Override any gcc2 internal prototype to avoid an error.  */
   8668 #ifdef __cplusplus
   8669 extern "C"
   8670 {
   8671 #endif
   8672 /* We use char because int might match the return type of a gcc2
   8673    builtin and then its argument prototype would still apply.  */
   8674 char shl_load ();
   8675 /* The GNU C library defines this for functions which it implements
   8676     to always fail with ENOSYS.  Some functions are actually named
   8677     something starting with __ and the normal name is an alias.  */
   8678 #if defined (__stub_shl_load) || defined (__stub___shl_load)
   8679 choke me
   8680 #else
   8681 char (*f) () = shl_load;
   8682 #endif
   8683 #ifdef __cplusplus
   8684 }
   8685 #endif
   8686 
   8687 int
   8688 main ()
   8689 {
   8690 return f != shl_load;
   8691   ;
   8692   return 0;
   8693 }
   8694 _ACEOF
   8695 rm -f conftest.$ac_objext conftest$ac_exeext
   8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8697   (eval $ac_link) 2>conftest.er1
   8698   ac_status=$?
   8699   grep -v '^ *+' conftest.er1 >conftest.err
   8700   rm -f conftest.er1
   8701   cat conftest.err >&5
   8702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8703   (exit $ac_status); } &&
   8704 	 { ac_try='test -z "$ac_c_werror_flag"
   8705 			 || test ! -s conftest.err'
   8706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8707   (eval $ac_try) 2>&5
   8708   ac_status=$?
   8709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8710   (exit $ac_status); }; } &&
   8711 	 { ac_try='test -s conftest$ac_exeext'
   8712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8713   (eval $ac_try) 2>&5
   8714   ac_status=$?
   8715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8716   (exit $ac_status); }; }; then
   8717   ac_cv_func_shl_load=yes
   8718 else
   8719   echo "$as_me: failed program was:" >&5
   8720 sed 's/^/| /' conftest.$ac_ext >&5
   8721 
   8722 ac_cv_func_shl_load=no
   8723 fi
   8724 rm -f conftest.err conftest.$ac_objext \
   8725       conftest$ac_exeext conftest.$ac_ext
   8726 fi
   8727 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   8728 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   8729 if test $ac_cv_func_shl_load = yes; then
   8730   lt_cv_dlopen="shl_load"
   8731 else
   8732   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   8733 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   8734 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   8735   echo $ECHO_N "(cached) $ECHO_C" >&6
   8736 else
   8737   ac_check_lib_save_LIBS=$LIBS
   8738 LIBS="-ldld  $LIBS"
   8739 cat >conftest.$ac_ext <<_ACEOF
   8740 /* confdefs.h.  */
   8741 _ACEOF
   8742 cat confdefs.h >>conftest.$ac_ext
   8743 cat >>conftest.$ac_ext <<_ACEOF
   8744 /* end confdefs.h.  */
   8745 
   8746 /* Override any gcc2 internal prototype to avoid an error.  */
   8747 #ifdef __cplusplus
   8748 extern "C"
   8749 #endif
   8750 /* We use char because int might match the return type of a gcc2
   8751    builtin and then its argument prototype would still apply.  */
   8752 char shl_load ();
   8753 int
   8754 main ()
   8755 {
   8756 shl_load ();
   8757   ;
   8758   return 0;
   8759 }
   8760 _ACEOF
   8761 rm -f conftest.$ac_objext conftest$ac_exeext
   8762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8763   (eval $ac_link) 2>conftest.er1
   8764   ac_status=$?
   8765   grep -v '^ *+' conftest.er1 >conftest.err
   8766   rm -f conftest.er1
   8767   cat conftest.err >&5
   8768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8769   (exit $ac_status); } &&
   8770 	 { ac_try='test -z "$ac_c_werror_flag"
   8771 			 || test ! -s conftest.err'
   8772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8773   (eval $ac_try) 2>&5
   8774   ac_status=$?
   8775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8776   (exit $ac_status); }; } &&
   8777 	 { ac_try='test -s conftest$ac_exeext'
   8778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8779   (eval $ac_try) 2>&5
   8780   ac_status=$?
   8781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8782   (exit $ac_status); }; }; then
   8783   ac_cv_lib_dld_shl_load=yes
   8784 else
   8785   echo "$as_me: failed program was:" >&5
   8786 sed 's/^/| /' conftest.$ac_ext >&5
   8787 
   8788 ac_cv_lib_dld_shl_load=no
   8789 fi
   8790 rm -f conftest.err conftest.$ac_objext \
   8791       conftest$ac_exeext conftest.$ac_ext
   8792 LIBS=$ac_check_lib_save_LIBS
   8793 fi
   8794 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   8795 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   8796 if test $ac_cv_lib_dld_shl_load = yes; then
   8797   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   8798 else
   8799   echo "$as_me:$LINENO: checking for dlopen" >&5
   8800 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   8801 if test "${ac_cv_func_dlopen+set}" = set; then
   8802   echo $ECHO_N "(cached) $ECHO_C" >&6
   8803 else
   8804   cat >conftest.$ac_ext <<_ACEOF
   8805 /* confdefs.h.  */
   8806 _ACEOF
   8807 cat confdefs.h >>conftest.$ac_ext
   8808 cat >>conftest.$ac_ext <<_ACEOF
   8809 /* end confdefs.h.  */
   8810 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   8811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8812 #define dlopen innocuous_dlopen
   8813 
   8814 /* System header to define __stub macros and hopefully few prototypes,
   8815     which can conflict with char dlopen (); below.
   8816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8817     <limits.h> exists even on freestanding compilers.  */
   8818 
   8819 #ifdef __STDC__
   8820 # include <limits.h>
   8821 #else
   8822 # include <assert.h>
   8823 #endif
   8824 
   8825 #undef dlopen
   8826 
   8827 /* Override any gcc2 internal prototype to avoid an error.  */
   8828 #ifdef __cplusplus
   8829 extern "C"
   8830 {
   8831 #endif
   8832 /* We use char because int might match the return type of a gcc2
   8833    builtin and then its argument prototype would still apply.  */
   8834 char dlopen ();
   8835 /* The GNU C library defines this for functions which it implements
   8836     to always fail with ENOSYS.  Some functions are actually named
   8837     something starting with __ and the normal name is an alias.  */
   8838 #if defined (__stub_dlopen) || defined (__stub___dlopen)
   8839 choke me
   8840 #else
   8841 char (*f) () = dlopen;
   8842 #endif
   8843 #ifdef __cplusplus
   8844 }
   8845 #endif
   8846 
   8847 int
   8848 main ()
   8849 {
   8850 return f != dlopen;
   8851   ;
   8852   return 0;
   8853 }
   8854 _ACEOF
   8855 rm -f conftest.$ac_objext conftest$ac_exeext
   8856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8857   (eval $ac_link) 2>conftest.er1
   8858   ac_status=$?
   8859   grep -v '^ *+' conftest.er1 >conftest.err
   8860   rm -f conftest.er1
   8861   cat conftest.err >&5
   8862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8863   (exit $ac_status); } &&
   8864 	 { ac_try='test -z "$ac_c_werror_flag"
   8865 			 || test ! -s conftest.err'
   8866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8867   (eval $ac_try) 2>&5
   8868   ac_status=$?
   8869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8870   (exit $ac_status); }; } &&
   8871 	 { ac_try='test -s conftest$ac_exeext'
   8872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8873   (eval $ac_try) 2>&5
   8874   ac_status=$?
   8875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8876   (exit $ac_status); }; }; then
   8877   ac_cv_func_dlopen=yes
   8878 else
   8879   echo "$as_me: failed program was:" >&5
   8880 sed 's/^/| /' conftest.$ac_ext >&5
   8881 
   8882 ac_cv_func_dlopen=no
   8883 fi
   8884 rm -f conftest.err conftest.$ac_objext \
   8885       conftest$ac_exeext conftest.$ac_ext
   8886 fi
   8887 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   8888 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   8889 if test $ac_cv_func_dlopen = yes; then
   8890   lt_cv_dlopen="dlopen"
   8891 else
   8892   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   8893 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   8894 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   8895   echo $ECHO_N "(cached) $ECHO_C" >&6
   8896 else
   8897   ac_check_lib_save_LIBS=$LIBS
   8898 LIBS="-ldl  $LIBS"
   8899 cat >conftest.$ac_ext <<_ACEOF
   8900 /* confdefs.h.  */
   8901 _ACEOF
   8902 cat confdefs.h >>conftest.$ac_ext
   8903 cat >>conftest.$ac_ext <<_ACEOF
   8904 /* end confdefs.h.  */
   8905 
   8906 /* Override any gcc2 internal prototype to avoid an error.  */
   8907 #ifdef __cplusplus
   8908 extern "C"
   8909 #endif
   8910 /* We use char because int might match the return type of a gcc2
   8911    builtin and then its argument prototype would still apply.  */
   8912 char dlopen ();
   8913 int
   8914 main ()
   8915 {
   8916 dlopen ();
   8917   ;
   8918   return 0;
   8919 }
   8920 _ACEOF
   8921 rm -f conftest.$ac_objext conftest$ac_exeext
   8922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8923   (eval $ac_link) 2>conftest.er1
   8924   ac_status=$?
   8925   grep -v '^ *+' conftest.er1 >conftest.err
   8926   rm -f conftest.er1
   8927   cat conftest.err >&5
   8928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8929   (exit $ac_status); } &&
   8930 	 { ac_try='test -z "$ac_c_werror_flag"
   8931 			 || test ! -s conftest.err'
   8932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8933   (eval $ac_try) 2>&5
   8934   ac_status=$?
   8935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8936   (exit $ac_status); }; } &&
   8937 	 { ac_try='test -s conftest$ac_exeext'
   8938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8939   (eval $ac_try) 2>&5
   8940   ac_status=$?
   8941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8942   (exit $ac_status); }; }; then
   8943   ac_cv_lib_dl_dlopen=yes
   8944 else
   8945   echo "$as_me: failed program was:" >&5
   8946 sed 's/^/| /' conftest.$ac_ext >&5
   8947 
   8948 ac_cv_lib_dl_dlopen=no
   8949 fi
   8950 rm -f conftest.err conftest.$ac_objext \
   8951       conftest$ac_exeext conftest.$ac_ext
   8952 LIBS=$ac_check_lib_save_LIBS
   8953 fi
   8954 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   8955 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   8956 if test $ac_cv_lib_dl_dlopen = yes; then
   8957   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   8958 else
   8959   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   8960 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   8961 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   8962   echo $ECHO_N "(cached) $ECHO_C" >&6
   8963 else
   8964   ac_check_lib_save_LIBS=$LIBS
   8965 LIBS="-lsvld  $LIBS"
   8966 cat >conftest.$ac_ext <<_ACEOF
   8967 /* confdefs.h.  */
   8968 _ACEOF
   8969 cat confdefs.h >>conftest.$ac_ext
   8970 cat >>conftest.$ac_ext <<_ACEOF
   8971 /* end confdefs.h.  */
   8972 
   8973 /* Override any gcc2 internal prototype to avoid an error.  */
   8974 #ifdef __cplusplus
   8975 extern "C"
   8976 #endif
   8977 /* We use char because int might match the return type of a gcc2
   8978    builtin and then its argument prototype would still apply.  */
   8979 char dlopen ();
   8980 int
   8981 main ()
   8982 {
   8983 dlopen ();
   8984   ;
   8985   return 0;
   8986 }
   8987 _ACEOF
   8988 rm -f conftest.$ac_objext conftest$ac_exeext
   8989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8990   (eval $ac_link) 2>conftest.er1
   8991   ac_status=$?
   8992   grep -v '^ *+' conftest.er1 >conftest.err
   8993   rm -f conftest.er1
   8994   cat conftest.err >&5
   8995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8996   (exit $ac_status); } &&
   8997 	 { ac_try='test -z "$ac_c_werror_flag"
   8998 			 || test ! -s conftest.err'
   8999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9000   (eval $ac_try) 2>&5
   9001   ac_status=$?
   9002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9003   (exit $ac_status); }; } &&
   9004 	 { ac_try='test -s conftest$ac_exeext'
   9005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9006   (eval $ac_try) 2>&5
   9007   ac_status=$?
   9008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9009   (exit $ac_status); }; }; then
   9010   ac_cv_lib_svld_dlopen=yes
   9011 else
   9012   echo "$as_me: failed program was:" >&5
   9013 sed 's/^/| /' conftest.$ac_ext >&5
   9014 
   9015 ac_cv_lib_svld_dlopen=no
   9016 fi
   9017 rm -f conftest.err conftest.$ac_objext \
   9018       conftest$ac_exeext conftest.$ac_ext
   9019 LIBS=$ac_check_lib_save_LIBS
   9020 fi
   9021 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9022 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   9023 if test $ac_cv_lib_svld_dlopen = yes; then
   9024   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9025 else
   9026   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9027 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   9028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9029   echo $ECHO_N "(cached) $ECHO_C" >&6
   9030 else
   9031   ac_check_lib_save_LIBS=$LIBS
   9032 LIBS="-ldld  $LIBS"
   9033 cat >conftest.$ac_ext <<_ACEOF
   9034 /* confdefs.h.  */
   9035 _ACEOF
   9036 cat confdefs.h >>conftest.$ac_ext
   9037 cat >>conftest.$ac_ext <<_ACEOF
   9038 /* end confdefs.h.  */
   9039 
   9040 /* Override any gcc2 internal prototype to avoid an error.  */
   9041 #ifdef __cplusplus
   9042 extern "C"
   9043 #endif
   9044 /* We use char because int might match the return type of a gcc2
   9045    builtin and then its argument prototype would still apply.  */
   9046 char dld_link ();
   9047 int
   9048 main ()
   9049 {
   9050 dld_link ();
   9051   ;
   9052   return 0;
   9053 }
   9054 _ACEOF
   9055 rm -f conftest.$ac_objext conftest$ac_exeext
   9056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9057   (eval $ac_link) 2>conftest.er1
   9058   ac_status=$?
   9059   grep -v '^ *+' conftest.er1 >conftest.err
   9060   rm -f conftest.er1
   9061   cat conftest.err >&5
   9062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9063   (exit $ac_status); } &&
   9064 	 { ac_try='test -z "$ac_c_werror_flag"
   9065 			 || test ! -s conftest.err'
   9066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9067   (eval $ac_try) 2>&5
   9068   ac_status=$?
   9069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9070   (exit $ac_status); }; } &&
   9071 	 { ac_try='test -s conftest$ac_exeext'
   9072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9073   (eval $ac_try) 2>&5
   9074   ac_status=$?
   9075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9076   (exit $ac_status); }; }; then
   9077   ac_cv_lib_dld_dld_link=yes
   9078 else
   9079   echo "$as_me: failed program was:" >&5
   9080 sed 's/^/| /' conftest.$ac_ext >&5
   9081 
   9082 ac_cv_lib_dld_dld_link=no
   9083 fi
   9084 rm -f conftest.err conftest.$ac_objext \
   9085       conftest$ac_exeext conftest.$ac_ext
   9086 LIBS=$ac_check_lib_save_LIBS
   9087 fi
   9088 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9089 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   9090 if test $ac_cv_lib_dld_dld_link = yes; then
   9091   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9092 fi
   9093 
   9094 
   9095 fi
   9096 
   9097 
   9098 fi
   9099 
   9100 
   9101 fi
   9102 
   9103 
   9104 fi
   9105 
   9106 
   9107 fi
   9108 
   9109     ;;
   9110   esac
   9111 
   9112   if test "x$lt_cv_dlopen" != xno; then
   9113     enable_dlopen=yes
   9114   else
   9115     enable_dlopen=no
   9116   fi
   9117 
   9118   case $lt_cv_dlopen in
   9119   dlopen)
   9120     save_CPPFLAGS="$CPPFLAGS"
   9121     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9122 
   9123     save_LDFLAGS="$LDFLAGS"
   9124     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9125 
   9126     save_LIBS="$LIBS"
   9127     LIBS="$lt_cv_dlopen_libs $LIBS"
   9128 
   9129     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9130 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   9131 if test "${lt_cv_dlopen_self+set}" = set; then
   9132   echo $ECHO_N "(cached) $ECHO_C" >&6
   9133 else
   9134   	  if test "$cross_compiling" = yes; then :
   9135   lt_cv_dlopen_self=cross
   9136 else
   9137   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9138   lt_status=$lt_dlunknown
   9139   cat > conftest.$ac_ext <<EOF
   9140 #line 9140 "configure"
   9141 #include "confdefs.h"
   9142 
   9143 #if HAVE_DLFCN_H
   9144 #include <dlfcn.h>
   9145 #endif
   9146 
   9147 #include <stdio.h>
   9148 
   9149 #ifdef RTLD_GLOBAL
   9150 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9151 #else
   9152 #  ifdef DL_GLOBAL
   9153 #    define LT_DLGLOBAL		DL_GLOBAL
   9154 #  else
   9155 #    define LT_DLGLOBAL		0
   9156 #  endif
   9157 #endif
   9158 
   9159 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9160    find out it does not work in some platform. */
   9161 #ifndef LT_DLLAZY_OR_NOW
   9162 #  ifdef RTLD_LAZY
   9163 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9164 #  else
   9165 #    ifdef DL_LAZY
   9166 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9167 #    else
   9168 #      ifdef RTLD_NOW
   9169 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9170 #      else
   9171 #        ifdef DL_NOW
   9172 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9173 #        else
   9174 #          define LT_DLLAZY_OR_NOW	0
   9175 #        endif
   9176 #      endif
   9177 #    endif
   9178 #  endif
   9179 #endif
   9180 
   9181 #ifdef __cplusplus
   9182 extern "C" void exit (int);
   9183 #endif
   9184 
   9185 void fnord() { int i=42;}
   9186 int main ()
   9187 {
   9188   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9189   int status = $lt_dlunknown;
   9190 
   9191   if (self)
   9192     {
   9193       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9194       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9195       /* dlclose (self); */
   9196     }
   9197   else
   9198     puts (dlerror ());
   9199 
   9200     exit (status);
   9201 }
   9202 EOF
   9203   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9204   (eval $ac_link) 2>&5
   9205   ac_status=$?
   9206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9207   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9208     (./conftest; exit; ) >&5 2>/dev/null
   9209     lt_status=$?
   9210     case x$lt_status in
   9211       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9212       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9213       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9214     esac
   9215   else :
   9216     # compilation failed
   9217     lt_cv_dlopen_self=no
   9218   fi
   9219 fi
   9220 rm -fr conftest*
   9221 
   9222 
   9223 fi
   9224 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9225 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   9226 
   9227     if test "x$lt_cv_dlopen_self" = xyes; then
   9228       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9229       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9230 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   9231 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9232   echo $ECHO_N "(cached) $ECHO_C" >&6
   9233 else
   9234   	  if test "$cross_compiling" = yes; then :
   9235   lt_cv_dlopen_self_static=cross
   9236 else
   9237   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9238   lt_status=$lt_dlunknown
   9239   cat > conftest.$ac_ext <<EOF
   9240 #line 9240 "configure"
   9241 #include "confdefs.h"
   9242 
   9243 #if HAVE_DLFCN_H
   9244 #include <dlfcn.h>
   9245 #endif
   9246 
   9247 #include <stdio.h>
   9248 
   9249 #ifdef RTLD_GLOBAL
   9250 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9251 #else
   9252 #  ifdef DL_GLOBAL
   9253 #    define LT_DLGLOBAL		DL_GLOBAL
   9254 #  else
   9255 #    define LT_DLGLOBAL		0
   9256 #  endif
   9257 #endif
   9258 
   9259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9260    find out it does not work in some platform. */
   9261 #ifndef LT_DLLAZY_OR_NOW
   9262 #  ifdef RTLD_LAZY
   9263 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9264 #  else
   9265 #    ifdef DL_LAZY
   9266 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9267 #    else
   9268 #      ifdef RTLD_NOW
   9269 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9270 #      else
   9271 #        ifdef DL_NOW
   9272 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9273 #        else
   9274 #          define LT_DLLAZY_OR_NOW	0
   9275 #        endif
   9276 #      endif
   9277 #    endif
   9278 #  endif
   9279 #endif
   9280 
   9281 #ifdef __cplusplus
   9282 extern "C" void exit (int);
   9283 #endif
   9284 
   9285 void fnord() { int i=42;}
   9286 int main ()
   9287 {
   9288   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9289   int status = $lt_dlunknown;
   9290 
   9291   if (self)
   9292     {
   9293       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9294       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9295       /* dlclose (self); */
   9296     }
   9297   else
   9298     puts (dlerror ());
   9299 
   9300     exit (status);
   9301 }
   9302 EOF
   9303   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9304   (eval $ac_link) 2>&5
   9305   ac_status=$?
   9306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9307   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9308     (./conftest; exit; ) >&5 2>/dev/null
   9309     lt_status=$?
   9310     case x$lt_status in
   9311       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9312       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9313       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9314     esac
   9315   else :
   9316     # compilation failed
   9317     lt_cv_dlopen_self_static=no
   9318   fi
   9319 fi
   9320 rm -fr conftest*
   9321 
   9322 
   9323 fi
   9324 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9325 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
   9326     fi
   9327 
   9328     CPPFLAGS="$save_CPPFLAGS"
   9329     LDFLAGS="$save_LDFLAGS"
   9330     LIBS="$save_LIBS"
   9331     ;;
   9332   esac
   9333 
   9334   case $lt_cv_dlopen_self in
   9335   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9336   *) enable_dlopen_self=unknown ;;
   9337   esac
   9338 
   9339   case $lt_cv_dlopen_self_static in
   9340   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9341   *) enable_dlopen_self_static=unknown ;;
   9342   esac
   9343 fi
   9344 
   9345 
   9346 # Report which library types will actually be built
   9347 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9348 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   9349 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9350 echo "${ECHO_T}$can_build_shared" >&6
   9351 
   9352 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9353 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   9354 test "$can_build_shared" = "no" && enable_shared=no
   9355 
   9356 # On AIX, shared libraries and static libraries use the same namespace, and
   9357 # are all built from PIC.
   9358 case $host_os in
   9359 aix3*)
   9360   test "$enable_shared" = yes && enable_static=no
   9361   if test -n "$RANLIB"; then
   9362     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9363     postinstall_cmds='$RANLIB $lib'
   9364   fi
   9365   ;;
   9366 
   9367 aix4* | aix5*)
   9368   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   9369     test "$enable_shared" = yes && enable_static=no
   9370   fi
   9371     ;;
   9372 esac
   9373 echo "$as_me:$LINENO: result: $enable_shared" >&5
   9374 echo "${ECHO_T}$enable_shared" >&6
   9375 
   9376 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   9377 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   9378 # Make sure either enable_shared or enable_static is yes.
   9379 test "$enable_shared" = yes || enable_static=yes
   9380 echo "$as_me:$LINENO: result: $enable_static" >&5
   9381 echo "${ECHO_T}$enable_static" >&6
   9382 
   9383 # The else clause should only fire when bootstrapping the
   9384 # libtool distribution, otherwise you forgot to ship ltmain.sh
   9385 # with your package, and you will get complaints that there are
   9386 # no rules to generate ltmain.sh.
   9387 if test -f "$ltmain"; then
   9388   # See if we are running on zsh, and set the options which allow our commands through
   9389   # without removal of \ escapes.
   9390   if test -n "${ZSH_VERSION+set}" ; then
   9391     setopt NO_GLOB_SUBST
   9392   fi
   9393   # Now quote all the things that may contain metacharacters while being
   9394   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   9395   # variables and quote the copies for generation of the libtool script.
   9396   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   9397     SED SHELL STRIP \
   9398     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   9399     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   9400     deplibs_check_method reload_flag reload_cmds need_locks \
   9401     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   9402     lt_cv_sys_global_symbol_to_c_name_address \
   9403     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   9404     old_postinstall_cmds old_postuninstall_cmds \
   9405     compiler \
   9406     CC \
   9407     LD \
   9408     lt_prog_compiler_wl \
   9409     lt_prog_compiler_pic \
   9410     lt_prog_compiler_static \
   9411     lt_prog_compiler_no_builtin_flag \
   9412     export_dynamic_flag_spec \
   9413     thread_safe_flag_spec \
   9414     whole_archive_flag_spec \
   9415     enable_shared_with_static_runtimes \
   9416     old_archive_cmds \
   9417     old_archive_from_new_cmds \
   9418     predep_objects \
   9419     postdep_objects \
   9420     predeps \
   9421     postdeps \
   9422     compiler_lib_search_path \
   9423     archive_cmds \
   9424     archive_expsym_cmds \
   9425     postinstall_cmds \
   9426     postuninstall_cmds \
   9427     old_archive_from_expsyms_cmds \
   9428     allow_undefined_flag \
   9429     no_undefined_flag \
   9430     export_symbols_cmds \
   9431     hardcode_libdir_flag_spec \
   9432     hardcode_libdir_flag_spec_ld \
   9433     hardcode_libdir_separator \
   9434     hardcode_automatic \
   9435     module_cmds \
   9436     module_expsym_cmds \
   9437     lt_cv_prog_compiler_c_o \
   9438     exclude_expsyms \
   9439     include_expsyms; do
   9440 
   9441     case $var in
   9442     old_archive_cmds | \
   9443     old_archive_from_new_cmds | \
   9444     archive_cmds | \
   9445     archive_expsym_cmds | \
   9446     module_cmds | \
   9447     module_expsym_cmds | \
   9448     old_archive_from_expsyms_cmds | \
   9449     export_symbols_cmds | \
   9450     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   9451     postinstall_cmds | postuninstall_cmds | \
   9452     old_postinstall_cmds | old_postuninstall_cmds | \
   9453     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   9454       # Double-quote double-evaled strings.
   9455       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   9456       ;;
   9457     *)
   9458       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   9459       ;;
   9460     esac
   9461   done
   9462 
   9463   case $lt_echo in
   9464   *'\$0 --fallback-echo"')
   9465     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   9466     ;;
   9467   esac
   9468 
   9469 cfgfile="${ofile}T"
   9470   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   9471   $rm -f "$cfgfile"
   9472   { echo "$as_me:$LINENO: creating $ofile" >&5
   9473 echo "$as_me: creating $ofile" >&6;}
   9474 
   9475   cat <<__EOF__ >> "$cfgfile"
   9476 #! $SHELL
   9477 
   9478 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   9479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   9480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   9481 #
   9482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   9483 # Free Software Foundation, Inc.
   9484 #
   9485 # This file is part of GNU Libtool:
   9486 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   9487 #
   9488 # This program is free software; you can redistribute it and/or modify
   9489 # it under the terms of the GNU General Public License as published by
   9490 # the Free Software Foundation; either version 2 of the License, or
   9491 # (at your option) any later version.
   9492 #
   9493 # This program is distributed in the hope that it will be useful, but
   9494 # WITHOUT ANY WARRANTY; without even the implied warranty of
   9495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   9496 # General Public License for more details.
   9497 #
   9498 # You should have received a copy of the GNU General Public License
   9499 # along with this program; if not, write to the Free Software
   9500 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   9501 #
   9502 # As a special exception to the GNU General Public License, if you
   9503 # distribute this file as part of a program that contains a
   9504 # configuration script generated by Autoconf, you may include it under
   9505 # the same distribution terms that you use for the rest of that program.
   9506 
   9507 # A sed program that does not truncate output.
   9508 SED=$lt_SED
   9509 
   9510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   9511 Xsed="$SED -e 1s/^X//"
   9512 
   9513 # The HP-UX ksh and POSIX shell print the target directory to stdout
   9514 # if CDPATH is set.
   9515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   9516 
   9517 # The names of the tagged configurations supported by this script.
   9518 available_tags=
   9519 
   9520 # ### BEGIN LIBTOOL CONFIG
   9521 
   9522 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   9523 
   9524 # Shell to use when invoking shell scripts.
   9525 SHELL=$lt_SHELL
   9526 
   9527 # Whether or not to build shared libraries.
   9528 build_libtool_libs=$enable_shared
   9529 
   9530 # Whether or not to build static libraries.
   9531 build_old_libs=$enable_static
   9532 
   9533 # Whether or not to add -lc for building shared libraries.
   9534 build_libtool_need_lc=$archive_cmds_need_lc
   9535 
   9536 # Whether or not to disallow shared libs when runtime libs are static
   9537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   9538 
   9539 # Whether or not to optimize for fast installation.
   9540 fast_install=$enable_fast_install
   9541 
   9542 # The host system.
   9543 host_alias=$host_alias
   9544 host=$host
   9545 host_os=$host_os
   9546 
   9547 # The build system.
   9548 build_alias=$build_alias
   9549 build=$build
   9550 build_os=$build_os
   9551 
   9552 # An echo program that does not interpret backslashes.
   9553 echo=$lt_echo
   9554 
   9555 # The archiver.
   9556 AR=$lt_AR
   9557 AR_FLAGS=$lt_AR_FLAGS
   9558 
   9559 # A C compiler.
   9560 LTCC=$lt_LTCC
   9561 
   9562 # LTCC compiler flags.
   9563 LTCFLAGS=$lt_LTCFLAGS
   9564 
   9565 # A language-specific compiler.
   9566 CC=$lt_compiler
   9567 
   9568 # Is the compiler the GNU C compiler?
   9569 with_gcc=$GCC
   9570 
   9571 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
   9572 gcc_ver=\`gcc -dumpversion\`
   9573 
   9574 # An ERE matcher.
   9575 EGREP=$lt_EGREP
   9576 
   9577 # The linker used to build libraries.
   9578 LD=$lt_LD
   9579 
   9580 # Whether we need hard or soft links.
   9581 LN_S=$lt_LN_S
   9582 
   9583 # A BSD-compatible nm program.
   9584 NM=$lt_NM
   9585 
   9586 # A symbol stripping program
   9587 STRIP=$lt_STRIP
   9588 
   9589 # Used to examine libraries when file_magic_cmd begins "file"
   9590 MAGIC_CMD=$MAGIC_CMD
   9591 
   9592 # Used on cygwin: DLL creation program.
   9593 DLLTOOL="$DLLTOOL"
   9594 
   9595 # Used on cygwin: object dumper.
   9596 OBJDUMP="$OBJDUMP"
   9597 
   9598 # Used on cygwin: assembler.
   9599 AS="$AS"
   9600 
   9601 # The name of the directory that contains temporary libtool files.
   9602 objdir=$objdir
   9603 
   9604 # How to create reloadable object files.
   9605 reload_flag=$lt_reload_flag
   9606 reload_cmds=$lt_reload_cmds
   9607 
   9608 # How to pass a linker flag through the compiler.
   9609 wl=$lt_lt_prog_compiler_wl
   9610 
   9611 # Object file suffix (normally "o").
   9612 objext="$ac_objext"
   9613 
   9614 # Old archive suffix (normally "a").
   9615 libext="$libext"
   9616 
   9617 # Shared library suffix (normally ".so").
   9618 shrext_cmds='$shrext_cmds'
   9619 
   9620 # Executable file suffix (normally "").
   9621 exeext="$exeext"
   9622 
   9623 # Additional compiler flags for building library objects.
   9624 pic_flag=$lt_lt_prog_compiler_pic
   9625 pic_mode=$pic_mode
   9626 
   9627 # What is the maximum length of a command?
   9628 max_cmd_len=$lt_cv_sys_max_cmd_len
   9629 
   9630 # Does compiler simultaneously support -c and -o options?
   9631 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   9632 
   9633 # Must we lock files when doing compilation?
   9634 need_locks=$lt_need_locks
   9635 
   9636 # Do we need the lib prefix for modules?
   9637 need_lib_prefix=$need_lib_prefix
   9638 
   9639 # Do we need a version for libraries?
   9640 need_version=$need_version
   9641 
   9642 # Whether dlopen is supported.
   9643 dlopen_support=$enable_dlopen
   9644 
   9645 # Whether dlopen of programs is supported.
   9646 dlopen_self=$enable_dlopen_self
   9647 
   9648 # Whether dlopen of statically linked programs is supported.
   9649 dlopen_self_static=$enable_dlopen_self_static
   9650 
   9651 # Compiler flag to prevent dynamic linking.
   9652 link_static_flag=$lt_lt_prog_compiler_static
   9653 
   9654 # Compiler flag to turn off builtin functions.
   9655 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   9656 
   9657 # Compiler flag to allow reflexive dlopens.
   9658 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   9659 
   9660 # Compiler flag to generate shared objects directly from archives.
   9661 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   9662 
   9663 # Compiler flag to generate thread-safe objects.
   9664 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   9665 
   9666 # Library versioning type.
   9667 version_type=$version_type
   9668 
   9669 # Format of library name prefix.
   9670 libname_spec=$lt_libname_spec
   9671 
   9672 # List of archive names.  First name is the real one, the rest are links.
   9673 # The last name is the one that the linker finds with -lNAME.
   9674 library_names_spec=$lt_library_names_spec
   9675 
   9676 # The coded name of the library, if different from the real name.
   9677 soname_spec=$lt_soname_spec
   9678 
   9679 # Commands used to build and install an old-style archive.
   9680 RANLIB=$lt_RANLIB
   9681 old_archive_cmds=$lt_old_archive_cmds
   9682 old_postinstall_cmds=$lt_old_postinstall_cmds
   9683 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   9684 
   9685 # Create an old-style archive from a shared archive.
   9686 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   9687 
   9688 # Create a temporary old-style archive to link instead of a shared archive.
   9689 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   9690 
   9691 # Commands used to build and install a shared archive.
   9692 archive_cmds=$lt_archive_cmds
   9693 archive_expsym_cmds=$lt_archive_expsym_cmds
   9694 postinstall_cmds=$lt_postinstall_cmds
   9695 postuninstall_cmds=$lt_postuninstall_cmds
   9696 
   9697 # Commands used to build a loadable module (assumed same as above if empty)
   9698 module_cmds=$lt_module_cmds
   9699 module_expsym_cmds=$lt_module_expsym_cmds
   9700 
   9701 # Commands to strip libraries.
   9702 old_striplib=$lt_old_striplib
   9703 striplib=$lt_striplib
   9704 
   9705 # Dependencies to place before the objects being linked to create a
   9706 # shared library.
   9707 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   9708 
   9709 # Dependencies to place after the objects being linked to create a
   9710 # shared library.
   9711 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   9712 
   9713 # Dependencies to place before the objects being linked to create a
   9714 # shared library.
   9715 predeps=$lt_predeps
   9716 
   9717 # Dependencies to place after the objects being linked to create a
   9718 # shared library.
   9719 postdeps=$lt_postdeps
   9720 
   9721 # The library search path used internally by the compiler when linking
   9722 # a shared library.
   9723 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   9724 
   9725 # Method to check whether dependent libraries are shared objects.
   9726 deplibs_check_method=$lt_deplibs_check_method
   9727 
   9728 # Command to use when deplibs_check_method == file_magic.
   9729 file_magic_cmd=$lt_file_magic_cmd
   9730 
   9731 # Flag that allows shared libraries with undefined symbols to be built.
   9732 allow_undefined_flag=$lt_allow_undefined_flag
   9733 
   9734 # Flag that forces no undefined symbols.
   9735 no_undefined_flag=$lt_no_undefined_flag
   9736 
   9737 # Commands used to finish a libtool library installation in a directory.
   9738 finish_cmds=$lt_finish_cmds
   9739 
   9740 # Same as above, but a single script fragment to be evaled but not shown.
   9741 finish_eval=$lt_finish_eval
   9742 
   9743 # Take the output of nm and produce a listing of raw symbols and C names.
   9744 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   9745 
   9746 # Transform the output of nm in a proper C declaration
   9747 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   9748 
   9749 # Transform the output of nm in a C name address pair
   9750 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   9751 
   9752 # This is the shared library runtime path variable.
   9753 runpath_var=$runpath_var
   9754 
   9755 # This is the shared library path variable.
   9756 shlibpath_var=$shlibpath_var
   9757 
   9758 # Is shlibpath searched before the hard-coded library search path?
   9759 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   9760 
   9761 # How to hardcode a shared library path into an executable.
   9762 hardcode_action=$hardcode_action
   9763 
   9764 # Whether we should hardcode library paths into libraries.
   9765 hardcode_into_libs=$hardcode_into_libs
   9766 
   9767 # Flag to hardcode \$libdir into a binary during linking.
   9768 # This must work even if \$libdir does not exist.
   9769 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   9770 
   9771 # If ld is used when linking, flag to hardcode \$libdir into
   9772 # a binary during linking. This must work even if \$libdir does
   9773 # not exist.
   9774 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   9775 
   9776 # Whether we need a single -rpath flag with a separated argument.
   9777 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   9778 
   9779 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   9780 # resulting binary.
   9781 hardcode_direct=$hardcode_direct
   9782 
   9783 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   9784 # resulting binary.
   9785 hardcode_minus_L=$hardcode_minus_L
   9786 
   9787 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   9788 # the resulting binary.
   9789 hardcode_shlibpath_var=$hardcode_shlibpath_var
   9790 
   9791 # Set to yes if building a shared library automatically hardcodes DIR into the library
   9792 # and all subsequent libraries and executables linked against it.
   9793 hardcode_automatic=$hardcode_automatic
   9794 
   9795 # Variables whose values should be saved in libtool wrapper scripts and
   9796 # restored at relink time.
   9797 variables_saved_for_relink="$variables_saved_for_relink"
   9798 
   9799 # Whether libtool must link a program against all its dependency libraries.
   9800 link_all_deplibs=$link_all_deplibs
   9801 
   9802 # Compile-time system search path for libraries
   9803 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   9804 
   9805 # Run-time system search path for libraries
   9806 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   9807 
   9808 # Fix the shell variable \$srcfile for the compiler.
   9809 fix_srcfile_path="$fix_srcfile_path"
   9810 
   9811 # Set to yes if exported symbols are required.
   9812 always_export_symbols=$always_export_symbols
   9813 
   9814 # The commands to list exported symbols.
   9815 export_symbols_cmds=$lt_export_symbols_cmds
   9816 
   9817 # The commands to extract the exported symbol list from a shared archive.
   9818 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   9819 
   9820 # Symbols that should not be listed in the preloaded symbols.
   9821 exclude_expsyms=$lt_exclude_expsyms
   9822 
   9823 # Symbols that must always be exported.
   9824 include_expsyms=$lt_include_expsyms
   9825 
   9826 # ### END LIBTOOL CONFIG
   9827 
   9828 __EOF__
   9829 
   9830 
   9831   case $host_os in
   9832   aix3*)
   9833     cat <<\EOF >> "$cfgfile"
   9834 
   9835 # AIX sometimes has problems with the GCC collect2 program.  For some
   9836 # reason, if we set the COLLECT_NAMES environment variable, the problems
   9837 # vanish in a puff of smoke.
   9838 if test "X${COLLECT_NAMES+set}" != Xset; then
   9839   COLLECT_NAMES=
   9840   export COLLECT_NAMES
   9841 fi
   9842 EOF
   9843     ;;
   9844   esac
   9845 
   9846   # We use sed instead of cat because bash on DJGPP gets confused if
   9847   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   9848   # text mode, it properly converts lines to CR/LF.  This bash problem
   9849   # is reportedly fixed, but why not run on old versions too?
   9850   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   9851 
   9852   mv -f "$cfgfile" "$ofile" || \
   9853     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   9854   chmod +x "$ofile"
   9855 
   9856 else
   9857   # If there is no Makefile yet, we rely on a make rule to execute
   9858   # `config.status --recheck' to rerun these tests and create the
   9859   # libtool script then.
   9860   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   9861   if test -f "$ltmain_in"; then
   9862     test -f Makefile && make "$ltmain"
   9863   fi
   9864 fi
   9865 
   9866 
   9867 ac_ext=c
   9868 ac_cpp='$CPP $CPPFLAGS'
   9869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9872 
   9873 CC="$lt_save_CC"
   9874 
   9875 
   9876 # Check whether --with-tags or --without-tags was given.
   9877 if test "${with_tags+set}" = set; then
   9878   withval="$with_tags"
   9879   tagnames="$withval"
   9880 fi;
   9881 
   9882 if test -f "$ltmain" && test -n "$tagnames"; then
   9883   if test ! -f "${ofile}"; then
   9884     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   9885 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   9886   fi
   9887 
   9888   if test -z "$LTCC"; then
   9889     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   9890     if test -z "$LTCC"; then
   9891       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   9892 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   9893     else
   9894       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   9895 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   9896     fi
   9897   fi
   9898   if test -z "$LTCFLAGS"; then
   9899     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   9900   fi
   9901 
   9902   # Extract list of available tagged configurations in $ofile.
   9903   # Note that this assumes the entire list is on one line.
   9904   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   9905 
   9906   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9907   for tagname in $tagnames; do
   9908     IFS="$lt_save_ifs"
   9909     # Check whether tagname contains only valid characters
   9910     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   9911     "") ;;
   9912     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   9913 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   9914    { (exit 1); exit 1; }; }
   9915 	;;
   9916     esac
   9917 
   9918     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   9919     then
   9920       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   9921 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   9922    { (exit 1); exit 1; }; }
   9923     fi
   9924 
   9925     # Update the list of available tags.
   9926     if test -n "$tagname"; then
   9927       echo appending configuration tag \"$tagname\" to $ofile
   9928 
   9929       case $tagname in
   9930       CXX)
   9931 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   9932 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   9933 	    (test "X$CXX" != "Xg++"))) ; then
   9934 	  ac_ext=cc
   9935 ac_cpp='$CXXCPP $CPPFLAGS'
   9936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   9939 
   9940 
   9941 
   9942 
   9943 archive_cmds_need_lc_CXX=no
   9944 allow_undefined_flag_CXX=
   9945 always_export_symbols_CXX=no
   9946 archive_expsym_cmds_CXX=
   9947 export_dynamic_flag_spec_CXX=
   9948 hardcode_direct_CXX=no
   9949 hardcode_libdir_flag_spec_CXX=
   9950 hardcode_libdir_flag_spec_ld_CXX=
   9951 hardcode_libdir_separator_CXX=
   9952 hardcode_minus_L_CXX=no
   9953 hardcode_shlibpath_var_CXX=unsupported
   9954 hardcode_automatic_CXX=no
   9955 module_cmds_CXX=
   9956 module_expsym_cmds_CXX=
   9957 link_all_deplibs_CXX=unknown
   9958 old_archive_cmds_CXX=$old_archive_cmds
   9959 no_undefined_flag_CXX=
   9960 whole_archive_flag_spec_CXX=
   9961 enable_shared_with_static_runtimes_CXX=no
   9962 
   9963 # Dependencies to place before and after the object being linked:
   9964 predep_objects_CXX=
   9965 postdep_objects_CXX=
   9966 predeps_CXX=
   9967 postdeps_CXX=
   9968 compiler_lib_search_path_CXX=
   9969 
   9970 # Source file extension for C++ test sources.
   9971 ac_ext=cpp
   9972 
   9973 # Object file extension for compiled C++ test sources.
   9974 objext=o
   9975 objext_CXX=$objext
   9976 
   9977 # Code to be used in simple compile tests
   9978 lt_simple_compile_test_code="int some_variable = 0;\n"
   9979 
   9980 # Code to be used in simple link tests
   9981 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   9982 
   9983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   9984 
   9985 # If no C compiler was specified, use CC.
   9986 LTCC=${LTCC-"$CC"}
   9987 
   9988 # If no C compiler flags were specified, use CFLAGS.
   9989 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9990 
   9991 # Allow CC to be a program name with arguments.
   9992 compiler=$CC
   9993 
   9994 
   9995 # save warnings/boilerplate of simple test code
   9996 ac_outfile=conftest.$ac_objext
   9997 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   9998 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9999 _lt_compiler_boilerplate=`cat conftest.err`
   10000 $rm conftest*
   10001 
   10002 ac_outfile=conftest.$ac_objext
   10003 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10004 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10005 _lt_linker_boilerplate=`cat conftest.err`
   10006 $rm conftest*
   10007 
   10008 
   10009 # Allow CC to be a program name with arguments.
   10010 lt_save_CC=$CC
   10011 lt_save_LD=$LD
   10012 lt_save_GCC=$GCC
   10013 GCC=$GXX
   10014 lt_save_with_gnu_ld=$with_gnu_ld
   10015 lt_save_path_LD=$lt_cv_path_LD
   10016 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10017   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10018 else
   10019   $as_unset lt_cv_prog_gnu_ld
   10020 fi
   10021 if test -n "${lt_cv_path_LDCXX+set}"; then
   10022   lt_cv_path_LD=$lt_cv_path_LDCXX
   10023 else
   10024   $as_unset lt_cv_path_LD
   10025 fi
   10026 test -z "${LDCXX+set}" || LD=$LDCXX
   10027 CC=${CXX-"c++"}
   10028 compiler=$CC
   10029 compiler_CXX=$CC
   10030 for cc_temp in $compiler""; do
   10031   case $cc_temp in
   10032     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10033     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10034     \-*) ;;
   10035     *) break;;
   10036   esac
   10037 done
   10038 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10039 
   10040 
   10041 # We don't want -fno-exception wen compiling C++ code, so set the
   10042 # no_builtin_flag separately
   10043 if test "$GXX" = yes; then
   10044   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10045 else
   10046   lt_prog_compiler_no_builtin_flag_CXX=
   10047 fi
   10048 
   10049 if test "$GXX" = yes; then
   10050   # Set up default GNU C++ configuration
   10051 
   10052 
   10053 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   10054 if test "${with_gnu_ld+set}" = set; then
   10055   withval="$with_gnu_ld"
   10056   test "$withval" = no || with_gnu_ld=yes
   10057 else
   10058   with_gnu_ld=no
   10059 fi;
   10060 ac_prog=ld
   10061 if test "$GCC" = yes; then
   10062   # Check if gcc -print-prog-name=ld gives a path.
   10063   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10064 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   10065   case $host in
   10066   *-*-mingw*)
   10067     # gcc leaves a trailing carriage return which upsets mingw
   10068     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10069   *)
   10070     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10071   esac
   10072   case $ac_prog in
   10073     # Accept absolute paths.
   10074     [\\/]* | ?:[\\/]*)
   10075       re_direlt='/[^/][^/]*/\.\./'
   10076       # Canonicalize the pathname of ld
   10077       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10078       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10079 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10080       done
   10081       test -z "$LD" && LD="$ac_prog"
   10082       ;;
   10083   "")
   10084     # If it fails, then pretend we aren't using GCC.
   10085     ac_prog=ld
   10086     ;;
   10087   *)
   10088     # If it is relative, then search for the first ld in PATH.
   10089     with_gnu_ld=unknown
   10090     ;;
   10091   esac
   10092 elif test "$with_gnu_ld" = yes; then
   10093   echo "$as_me:$LINENO: checking for GNU ld" >&5
   10094 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   10095 else
   10096   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10097 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   10098 fi
   10099 if test "${lt_cv_path_LD+set}" = set; then
   10100   echo $ECHO_N "(cached) $ECHO_C" >&6
   10101 else
   10102   if test -z "$LD"; then
   10103   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10104   for ac_dir in $PATH; do
   10105     IFS="$lt_save_ifs"
   10106     test -z "$ac_dir" && ac_dir=.
   10107     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10108       lt_cv_path_LD="$ac_dir/$ac_prog"
   10109       # Check to see if the program is GNU ld.  I'd rather use --version,
   10110       # but apparently some variants of GNU ld only accept -v.
   10111       # Break only if it was the GNU/non-GNU ld that we prefer.
   10112       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10113       *GNU* | *'with BFD'*)
   10114 	test "$with_gnu_ld" != no && break
   10115 	;;
   10116       *)
   10117 	test "$with_gnu_ld" != yes && break
   10118 	;;
   10119       esac
   10120     fi
   10121   done
   10122   IFS="$lt_save_ifs"
   10123 else
   10124   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10125 fi
   10126 fi
   10127 
   10128 LD="$lt_cv_path_LD"
   10129 if test -n "$LD"; then
   10130   echo "$as_me:$LINENO: result: $LD" >&5
   10131 echo "${ECHO_T}$LD" >&6
   10132 else
   10133   echo "$as_me:$LINENO: result: no" >&5
   10134 echo "${ECHO_T}no" >&6
   10135 fi
   10136 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10137 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10138    { (exit 1); exit 1; }; }
   10139 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10140 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   10141 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10142   echo $ECHO_N "(cached) $ECHO_C" >&6
   10143 else
   10144   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10145 case `$LD -v 2>&1 </dev/null` in
   10146 *GNU* | *'with BFD'*)
   10147   lt_cv_prog_gnu_ld=yes
   10148   ;;
   10149 *)
   10150   lt_cv_prog_gnu_ld=no
   10151   ;;
   10152 esac
   10153 fi
   10154 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10155 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   10156 with_gnu_ld=$lt_cv_prog_gnu_ld
   10157 
   10158 
   10159 
   10160   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10161   # archiving commands below assume that GNU ld is being used.
   10162   if test "$with_gnu_ld" = yes; then
   10163     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10164     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10165 
   10166     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10167     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10168 
   10169     # If archive_cmds runs LD, not CC, wlarc should be empty
   10170     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10171     #     investigate it a little bit more. (MM)
   10172     wlarc='${wl}'
   10173 
   10174     # ancient GNU ld didn't support --whole-archive et. al.
   10175     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10176 	grep 'no-whole-archive' > /dev/null; then
   10177       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10178     else
   10179       whole_archive_flag_spec_CXX=
   10180     fi
   10181   else
   10182     with_gnu_ld=no
   10183     wlarc=
   10184 
   10185     # A generic and very simple default shared library creation
   10186     # command for GNU C++ for the case where it uses the native
   10187     # linker, instead of GNU ld.  If possible, this setting should
   10188     # overridden to take advantage of the native linker features on
   10189     # the platform it is being used on.
   10190     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10191   fi
   10192 
   10193   # Commands to make compiler produce verbose output that lists
   10194   # what "hidden" libraries, object files and flags are used when
   10195   # linking a shared library.
   10196   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10197 
   10198 else
   10199   GXX=no
   10200   with_gnu_ld=no
   10201   wlarc=
   10202 fi
   10203 
   10204 # PORTME: fill in a description of your system's C++ link characteristics
   10205 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10206 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   10207 ld_shlibs_CXX=yes
   10208 case $host_os in
   10209   aix3*)
   10210     # FIXME: insert proper C++ library support
   10211     ld_shlibs_CXX=no
   10212     ;;
   10213   aix4* | aix5*)
   10214     if test "$host_cpu" = ia64; then
   10215       # On IA64, the linker does run time linking by default, so we don't
   10216       # have to do anything special.
   10217       aix_use_runtimelinking=no
   10218       exp_sym_flag='-Bexport'
   10219       no_entry_flag=""
   10220     else
   10221       aix_use_runtimelinking=no
   10222 
   10223       # Test if we are trying to use run time linking or normal
   10224       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10225       # need to do runtime linking.
   10226       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10227 	for ld_flag in $LDFLAGS; do
   10228 	  case $ld_flag in
   10229 	  *-brtl*)
   10230 	    aix_use_runtimelinking=yes
   10231 	    break
   10232 	    ;;
   10233 	  esac
   10234 	done
   10235 	;;
   10236       esac
   10237 
   10238       exp_sym_flag='-bexport'
   10239       no_entry_flag='-bnoentry'
   10240     fi
   10241 
   10242     # When large executables or shared objects are built, AIX ld can
   10243     # have problems creating the table of contents.  If linking a library
   10244     # or program results in "error TOC overflow" add -mminimal-toc to
   10245     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10246     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10247 
   10248     archive_cmds_CXX=''
   10249     hardcode_direct_CXX=yes
   10250     hardcode_libdir_separator_CXX=':'
   10251     link_all_deplibs_CXX=yes
   10252 
   10253     if test "$GXX" = yes; then
   10254       case $host_os in aix4.[012]|aix4.[012].*)
   10255       # We only want to do this on AIX 4.2 and lower, the check
   10256       # below for broken collect2 doesn't work under 4.3+
   10257 	collect2name=`${CC} -print-prog-name=collect2`
   10258 	if test -f "$collect2name" && \
   10259 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10260 	then
   10261 	  # We have reworked collect2
   10262 	  hardcode_direct_CXX=yes
   10263 	else
   10264 	  # We have old collect2
   10265 	  hardcode_direct_CXX=unsupported
   10266 	  # It fails to find uninstalled libraries when the uninstalled
   10267 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10268 	  # to unsupported forces relinking
   10269 	  hardcode_minus_L_CXX=yes
   10270 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10271 	  hardcode_libdir_separator_CXX=
   10272 	fi
   10273 	;;
   10274       esac
   10275       shared_flag='-shared'
   10276       if test "$aix_use_runtimelinking" = yes; then
   10277 	shared_flag="$shared_flag "'${wl}-G'
   10278       fi
   10279     else
   10280       # not using gcc
   10281       if test "$host_cpu" = ia64; then
   10282 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10283 	# chokes on -Wl,-G. The following line is correct:
   10284 	shared_flag='-G'
   10285       else
   10286 	if test "$aix_use_runtimelinking" = yes; then
   10287 	  shared_flag='${wl}-G'
   10288 	else
   10289 	  shared_flag='${wl}-bM:SRE'
   10290 	fi
   10291       fi
   10292     fi
   10293 
   10294     # It seems that -bexpall does not export symbols beginning with
   10295     # underscore (_), so it is better to generate a list of symbols to export.
   10296     always_export_symbols_CXX=yes
   10297     if test "$aix_use_runtimelinking" = yes; then
   10298       # Warning - without using the other runtime loading flags (-brtl),
   10299       # -berok will link without error, but may produce a broken library.
   10300       allow_undefined_flag_CXX='-berok'
   10301       # Determine the default libpath from the value encoded in an empty executable.
   10302       cat >conftest.$ac_ext <<_ACEOF
   10303 /* confdefs.h.  */
   10304 _ACEOF
   10305 cat confdefs.h >>conftest.$ac_ext
   10306 cat >>conftest.$ac_ext <<_ACEOF
   10307 /* end confdefs.h.  */
   10308 
   10309 int
   10310 main ()
   10311 {
   10312 
   10313   ;
   10314   return 0;
   10315 }
   10316 _ACEOF
   10317 rm -f conftest.$ac_objext conftest$ac_exeext
   10318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10319   (eval $ac_link) 2>conftest.er1
   10320   ac_status=$?
   10321   grep -v '^ *+' conftest.er1 >conftest.err
   10322   rm -f conftest.er1
   10323   cat conftest.err >&5
   10324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10325   (exit $ac_status); } &&
   10326 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10327 			 || test ! -s conftest.err'
   10328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10329   (eval $ac_try) 2>&5
   10330   ac_status=$?
   10331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10332   (exit $ac_status); }; } &&
   10333 	 { ac_try='test -s conftest$ac_exeext'
   10334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10335   (eval $ac_try) 2>&5
   10336   ac_status=$?
   10337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10338   (exit $ac_status); }; }; then
   10339 
   10340 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10341 }'`
   10342 # Check for a 64-bit object if we didn't find anything.
   10343 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10344 }'`; fi
   10345 else
   10346   echo "$as_me: failed program was:" >&5
   10347 sed 's/^/| /' conftest.$ac_ext >&5
   10348 
   10349 fi
   10350 rm -f conftest.err conftest.$ac_objext \
   10351       conftest$ac_exeext conftest.$ac_ext
   10352 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10353 
   10354       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10355 
   10356       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   10357      else
   10358       if test "$host_cpu" = ia64; then
   10359 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10360 	allow_undefined_flag_CXX="-z nodefs"
   10361 	archive_expsym_cmds_CXX="\$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"
   10362       else
   10363 	# Determine the default libpath from the value encoded in an empty executable.
   10364 	cat >conftest.$ac_ext <<_ACEOF
   10365 /* confdefs.h.  */
   10366 _ACEOF
   10367 cat confdefs.h >>conftest.$ac_ext
   10368 cat >>conftest.$ac_ext <<_ACEOF
   10369 /* end confdefs.h.  */
   10370 
   10371 int
   10372 main ()
   10373 {
   10374 
   10375   ;
   10376   return 0;
   10377 }
   10378 _ACEOF
   10379 rm -f conftest.$ac_objext conftest$ac_exeext
   10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10381   (eval $ac_link) 2>conftest.er1
   10382   ac_status=$?
   10383   grep -v '^ *+' conftest.er1 >conftest.err
   10384   rm -f conftest.er1
   10385   cat conftest.err >&5
   10386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10387   (exit $ac_status); } &&
   10388 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10389 			 || test ! -s conftest.err'
   10390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10391   (eval $ac_try) 2>&5
   10392   ac_status=$?
   10393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10394   (exit $ac_status); }; } &&
   10395 	 { ac_try='test -s conftest$ac_exeext'
   10396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10397   (eval $ac_try) 2>&5
   10398   ac_status=$?
   10399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10400   (exit $ac_status); }; }; then
   10401 
   10402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10403 }'`
   10404 # Check for a 64-bit object if we didn't find anything.
   10405 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10406 }'`; fi
   10407 else
   10408   echo "$as_me: failed program was:" >&5
   10409 sed 's/^/| /' conftest.$ac_ext >&5
   10410 
   10411 fi
   10412 rm -f conftest.err conftest.$ac_objext \
   10413       conftest$ac_exeext conftest.$ac_ext
   10414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10415 
   10416 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10417 	# Warning - without using the other run time loading flags,
   10418 	# -berok will link without error, but may produce a broken library.
   10419 	no_undefined_flag_CXX=' ${wl}-bernotok'
   10420 	allow_undefined_flag_CXX=' ${wl}-berok'
   10421 	# Exported symbols can be pulled into shared objects from archives
   10422 	whole_archive_flag_spec_CXX='$convenience'
   10423 	archive_cmds_need_lc_CXX=yes
   10424 	# This is similar to how AIX traditionally builds its shared libraries.
   10425 	archive_expsym_cmds_CXX="\$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'
   10426       fi
   10427     fi
   10428     ;;
   10429 
   10430   beos*)
   10431     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   10432       allow_undefined_flag_CXX=unsupported
   10433       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10434       # support --undefined.  This deserves some investigation.  FIXME
   10435       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10436     else
   10437       ld_shlibs_CXX=no
   10438     fi
   10439     ;;
   10440 
   10441   chorus*)
   10442     case $cc_basename in
   10443       *)
   10444 	# FIXME: insert proper C++ library support
   10445 	ld_shlibs_CXX=no
   10446 	;;
   10447     esac
   10448     ;;
   10449 
   10450   cygwin* | mingw* | pw32*)
   10451     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   10452     # as there is no search path for DLLs.
   10453     hardcode_libdir_flag_spec_CXX='-L$libdir'
   10454     allow_undefined_flag_CXX=unsupported
   10455     always_export_symbols_CXX=no
   10456     enable_shared_with_static_runtimes_CXX=yes
   10457 
   10458     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   10459       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10460       # If the export-symbols file already is a .def file (1st line
   10461       # is EXPORTS), use it as is; otherwise, prepend...
   10462       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10463 	cp $export_symbols $output_objdir/$soname.def;
   10464       else
   10465 	echo EXPORTS > $output_objdir/$soname.def;
   10466 	cat $export_symbols >> $output_objdir/$soname.def;
   10467       fi~
   10468       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10469     else
   10470       ld_shlibs_CXX=no
   10471     fi
   10472   ;;
   10473       darwin* | rhapsody*)
   10474         case $host_os in
   10475         rhapsody* | darwin1.[012])
   10476          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   10477          ;;
   10478        *) # Darwin 1.3 on
   10479          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   10480            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10481          else
   10482            case ${MACOSX_DEPLOYMENT_TARGET} in
   10483              10.[012])
   10484                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10485                ;;
   10486              10.*)
   10487                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   10488                ;;
   10489            esac
   10490          fi
   10491          ;;
   10492         esac
   10493       archive_cmds_need_lc_CXX=no
   10494       hardcode_direct_CXX=no
   10495       hardcode_automatic_CXX=yes
   10496       hardcode_shlibpath_var_CXX=unsupported
   10497       whole_archive_flag_spec_CXX=''
   10498       link_all_deplibs_CXX=yes
   10499 
   10500     if test "$GXX" = yes ; then
   10501       lt_int_apple_cc_single_mod=no
   10502       output_verbose_link_cmd='echo'
   10503       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   10504        lt_int_apple_cc_single_mod=yes
   10505       fi
   10506       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10507        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   10508       else
   10509           archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   10510         fi
   10511         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10512         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10513           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10514             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   10515           else
   10516             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   10517           fi
   10518             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   10519       else
   10520       case $cc_basename in
   10521         xlc*)
   10522          output_verbose_link_cmd='echo'
   10523           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   10524           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10525           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10526           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   10527           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   10528           ;;
   10529        *)
   10530          ld_shlibs_CXX=no
   10531           ;;
   10532       esac
   10533       fi
   10534         ;;
   10535 
   10536   dgux*)
   10537     case $cc_basename in
   10538       ec++*)
   10539 	# FIXME: insert proper C++ library support
   10540 	ld_shlibs_CXX=no
   10541 	;;
   10542       ghcx*)
   10543 	# Green Hills C++ Compiler
   10544 	# FIXME: insert proper C++ library support
   10545 	ld_shlibs_CXX=no
   10546 	;;
   10547       *)
   10548 	# FIXME: insert proper C++ library support
   10549 	ld_shlibs_CXX=no
   10550 	;;
   10551     esac
   10552     ;;
   10553   freebsd[12]*)
   10554     # C++ shared libraries reported to be fairly broken before switch to ELF
   10555     ld_shlibs_CXX=no
   10556     ;;
   10557   freebsd-elf*)
   10558     archive_cmds_need_lc_CXX=no
   10559     ;;
   10560   freebsd* | kfreebsd*-gnu | dragonfly*)
   10561     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   10562     # conventions
   10563     ld_shlibs_CXX=yes
   10564     ;;
   10565   gnu*)
   10566     ;;
   10567   hpux9*)
   10568     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10569     hardcode_libdir_separator_CXX=:
   10570     export_dynamic_flag_spec_CXX='${wl}-E'
   10571     hardcode_direct_CXX=yes
   10572     hardcode_minus_L_CXX=yes # Not in the search PATH,
   10573 				# but as the default
   10574 				# location of the library.
   10575 
   10576     case $cc_basename in
   10577     CC*)
   10578       # FIXME: insert proper C++ library support
   10579       ld_shlibs_CXX=no
   10580       ;;
   10581     aCC*)
   10582       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10583       # Commands to make compiler produce verbose output that lists
   10584       # what "hidden" libraries, object files and flags are used when
   10585       # linking a shared library.
   10586       #
   10587       # There doesn't appear to be a way to prevent this compiler from
   10588       # explicitly linking system object files so we need to strip them
   10589       # from the output so that they don't get included in the library
   10590       # dependencies.
   10591       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10592       ;;
   10593     *)
   10594       if test "$GXX" = yes; then
   10595         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10596       else
   10597         # FIXME: insert proper C++ library support
   10598         ld_shlibs_CXX=no
   10599       fi
   10600       ;;
   10601     esac
   10602     ;;
   10603   hpux10*|hpux11*)
   10604     if test $with_gnu_ld = no; then
   10605       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10606       hardcode_libdir_separator_CXX=:
   10607 
   10608       case $host_cpu in
   10609       hppa*64*|ia64*)
   10610 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   10611         ;;
   10612       *)
   10613 	export_dynamic_flag_spec_CXX='${wl}-E'
   10614         ;;
   10615       esac
   10616     fi
   10617     case $host_cpu in
   10618     hppa*64*|ia64*)
   10619       hardcode_direct_CXX=no
   10620       hardcode_shlibpath_var_CXX=no
   10621       ;;
   10622     *)
   10623       hardcode_direct_CXX=yes
   10624       hardcode_minus_L_CXX=yes # Not in the search PATH,
   10625 					      # but as the default
   10626 					      # location of the library.
   10627       ;;
   10628     esac
   10629 
   10630     case $cc_basename in
   10631       CC*)
   10632 	# FIXME: insert proper C++ library support
   10633 	ld_shlibs_CXX=no
   10634 	;;
   10635       aCC*)
   10636 	case $host_cpu in
   10637 	hppa*64*)
   10638 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10639 	  ;;
   10640 	ia64*)
   10641 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10642 	  ;;
   10643 	*)
   10644 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10645 	  ;;
   10646 	esac
   10647 	# Commands to make compiler produce verbose output that lists
   10648 	# what "hidden" libraries, object files and flags are used when
   10649 	# linking a shared library.
   10650 	#
   10651 	# There doesn't appear to be a way to prevent this compiler from
   10652 	# explicitly linking system object files so we need to strip them
   10653 	# from the output so that they don't get included in the library
   10654 	# dependencies.
   10655 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10656 	;;
   10657       *)
   10658 	if test "$GXX" = yes; then
   10659 	  if test $with_gnu_ld = no; then
   10660 	    case $host_cpu in
   10661 	    hppa*64*)
   10662 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10663 	      ;;
   10664 	    ia64*)
   10665 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10666 	      ;;
   10667 	    *)
   10668 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10669 	      ;;
   10670 	    esac
   10671 	  fi
   10672 	else
   10673 	  # FIXME: insert proper C++ library support
   10674 	  ld_shlibs_CXX=no
   10675 	fi
   10676 	;;
   10677     esac
   10678     ;;
   10679   interix3*)
   10680     hardcode_direct_CXX=no
   10681     hardcode_shlibpath_var_CXX=no
   10682     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10683     export_dynamic_flag_spec_CXX='${wl}-E'
   10684     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10685     # Instead, shared libraries are loaded at an image base (0x10000000 by
   10686     # default) and relocated if they conflict, which is a slow very memory
   10687     # consuming and fragmenting process.  To avoid this, we pick a random,
   10688     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10689     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10690     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10691     archive_expsym_cmds_CXX='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'
   10692     ;;
   10693   irix5* | irix6*)
   10694     case $cc_basename in
   10695       CC*)
   10696 	# SGI C++
   10697 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   10698 
   10699 	# Archives containing C++ object files must be created using
   10700 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   10701 	# necessary to make sure instantiated templates are included
   10702 	# in the archive.
   10703 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   10704 	;;
   10705       *)
   10706 	if test "$GXX" = yes; then
   10707 	  if test "$with_gnu_ld" = no; then
   10708 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10709 	  else
   10710 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   10711 	  fi
   10712 	fi
   10713 	link_all_deplibs_CXX=yes
   10714 	;;
   10715     esac
   10716     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10717     hardcode_libdir_separator_CXX=:
   10718     ;;
   10719   linux*)
   10720     case $cc_basename in
   10721       KCC*)
   10722 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10723 
   10724 	# KCC will only create a shared library if the output file
   10725 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10726 	# to its proper name (with version) after linking.
   10727 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   10728 	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   10729 	# Commands to make compiler produce verbose output that lists
   10730 	# what "hidden" libraries, object files and flags are used when
   10731 	# linking a shared library.
   10732 	#
   10733 	# There doesn't appear to be a way to prevent this compiler from
   10734 	# explicitly linking system object files so we need to strip them
   10735 	# from the output so that they don't get included in the library
   10736 	# dependencies.
   10737 	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10738 
   10739 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   10740 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10741 
   10742 	# Archives containing C++ object files must be created using
   10743 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   10744 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   10745 	;;
   10746       icpc*)
   10747 	# Intel C++
   10748 	with_gnu_ld=yes
   10749 	# version 8.0 and above of icpc choke on multiply defined symbols
   10750 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   10751 	# earlier do not add the objects themselves.
   10752 	case `$CC -V 2>&1` in
   10753 	*"Version 7."*)
   10754   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10755   	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10756 	  ;;
   10757 	*)  # Version 8.0 or newer
   10758 	  tmp_idyn=
   10759 	  case $host_cpu in
   10760 	    ia64*) tmp_idyn=' -i_dynamic';;
   10761 	  esac
   10762   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10763 	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10764 	  ;;
   10765 	esac
   10766 	archive_cmds_need_lc_CXX=no
   10767 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10768 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10769 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10770 	;;
   10771       pgCC*)
   10772         # Portland Group C++ compiler
   10773 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   10774   	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   10775 
   10776 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10777 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10778 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   10779         ;;
   10780       cxx*)
   10781 	# Compaq C++
   10782 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10783 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   10784 
   10785 	runpath_var=LD_RUN_PATH
   10786 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   10787 	hardcode_libdir_separator_CXX=:
   10788 
   10789 	# Commands to make compiler produce verbose output that lists
   10790 	# what "hidden" libraries, object files and flags are used when
   10791 	# linking a shared library.
   10792 	#
   10793 	# There doesn't appear to be a way to prevent this compiler from
   10794 	# explicitly linking system object files so we need to strip them
   10795 	# from the output so that they don't get included in the library
   10796 	# dependencies.
   10797 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10798 	;;
   10799     esac
   10800     ;;
   10801   lynxos*)
   10802     # FIXME: insert proper C++ library support
   10803     ld_shlibs_CXX=no
   10804     ;;
   10805   m88k*)
   10806     # FIXME: insert proper C++ library support
   10807     ld_shlibs_CXX=no
   10808     ;;
   10809   mvs*)
   10810     case $cc_basename in
   10811       cxx*)
   10812 	# FIXME: insert proper C++ library support
   10813 	ld_shlibs_CXX=no
   10814 	;;
   10815       *)
   10816 	# FIXME: insert proper C++ library support
   10817 	ld_shlibs_CXX=no
   10818 	;;
   10819     esac
   10820     ;;
   10821   netbsd*)
   10822     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   10823       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   10824       wlarc=
   10825       hardcode_libdir_flag_spec_CXX='-R$libdir'
   10826       hardcode_direct_CXX=yes
   10827       hardcode_shlibpath_var_CXX=no
   10828     fi
   10829     # Workaround some broken pre-1.5 toolchains
   10830     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   10831     ;;
   10832   openbsd2*)
   10833     # C++ shared libraries are fairly broken
   10834     ld_shlibs_CXX=no
   10835     ;;
   10836   openbsd*)
   10837     hardcode_direct_CXX=yes
   10838     hardcode_shlibpath_var_CXX=no
   10839     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10840     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10841     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10842       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   10843       export_dynamic_flag_spec_CXX='${wl}-E'
   10844       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10845     fi
   10846     output_verbose_link_cmd='echo'
   10847     ;;
   10848   osf3*)
   10849     case $cc_basename in
   10850       KCC*)
   10851 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10852 
   10853 	# KCC will only create a shared library if the output file
   10854 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10855 	# to its proper name (with version) after linking.
   10856 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   10857 
   10858 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10859 	hardcode_libdir_separator_CXX=:
   10860 
   10861 	# Archives containing C++ object files must be created using
   10862 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   10863 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   10864 
   10865 	;;
   10866       RCC*)
   10867 	# Rational C++ 2.4.1
   10868 	# FIXME: insert proper C++ library support
   10869 	ld_shlibs_CXX=no
   10870 	;;
   10871       cxx*)
   10872 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10873 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   10874 
   10875 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10876 	hardcode_libdir_separator_CXX=:
   10877 
   10878 	# Commands to make compiler produce verbose output that lists
   10879 	# what "hidden" libraries, object files and flags are used when
   10880 	# linking a shared library.
   10881 	#
   10882 	# There doesn't appear to be a way to prevent this compiler from
   10883 	# explicitly linking system object files so we need to strip them
   10884 	# from the output so that they don't get included in the library
   10885 	# dependencies.
   10886 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10887 	;;
   10888       *)
   10889 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   10890 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10891 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10892 
   10893 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10894 	  hardcode_libdir_separator_CXX=:
   10895 
   10896 	  # Commands to make compiler produce verbose output that lists
   10897 	  # what "hidden" libraries, object files and flags are used when
   10898 	  # linking a shared library.
   10899 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10900 
   10901 	else
   10902 	  # FIXME: insert proper C++ library support
   10903 	  ld_shlibs_CXX=no
   10904 	fi
   10905 	;;
   10906     esac
   10907     ;;
   10908   osf4* | osf5*)
   10909     case $cc_basename in
   10910       KCC*)
   10911 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10912 
   10913 	# KCC will only create a shared library if the output file
   10914 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10915 	# to its proper name (with version) after linking.
   10916 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   10917 
   10918 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10919 	hardcode_libdir_separator_CXX=:
   10920 
   10921 	# Archives containing C++ object files must be created using
   10922 	# the KAI C++ compiler.
   10923 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   10924 	;;
   10925       RCC*)
   10926 	# Rational C++ 2.4.1
   10927 	# FIXME: insert proper C++ library support
   10928 	ld_shlibs_CXX=no
   10929 	;;
   10930       cxx*)
   10931 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   10932 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   10933 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   10934 	  echo "-hidden">> $lib.exp~
   10935 	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
   10936 	  $rm $lib.exp'
   10937 
   10938 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   10939 	hardcode_libdir_separator_CXX=:
   10940 
   10941 	# Commands to make compiler produce verbose output that lists
   10942 	# what "hidden" libraries, object files and flags are used when
   10943 	# linking a shared library.
   10944 	#
   10945 	# There doesn't appear to be a way to prevent this compiler from
   10946 	# explicitly linking system object files so we need to strip them
   10947 	# from the output so that they don't get included in the library
   10948 	# dependencies.
   10949 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   10950 	;;
   10951       *)
   10952 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   10953 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10954 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10955 
   10956 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10957 	  hardcode_libdir_separator_CXX=:
   10958 
   10959 	  # Commands to make compiler produce verbose output that lists
   10960 	  # what "hidden" libraries, object files and flags are used when
   10961 	  # linking a shared library.
   10962 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10963 
   10964 	else
   10965 	  # FIXME: insert proper C++ library support
   10966 	  ld_shlibs_CXX=no
   10967 	fi
   10968 	;;
   10969     esac
   10970     ;;
   10971   psos*)
   10972     # FIXME: insert proper C++ library support
   10973     ld_shlibs_CXX=no
   10974     ;;
   10975   sunos4*)
   10976     case $cc_basename in
   10977       CC*)
   10978 	# Sun C++ 4.x
   10979 	# FIXME: insert proper C++ library support
   10980 	ld_shlibs_CXX=no
   10981 	;;
   10982       lcc*)
   10983 	# Lucid
   10984 	# FIXME: insert proper C++ library support
   10985 	ld_shlibs_CXX=no
   10986 	;;
   10987       *)
   10988 	# FIXME: insert proper C++ library support
   10989 	ld_shlibs_CXX=no
   10990 	;;
   10991     esac
   10992     ;;
   10993   solaris*)
   10994     case $cc_basename in
   10995       CC*)
   10996 	# Sun C++ 4.2, 5.x and Centerline C++
   10997         archive_cmds_need_lc_CXX=yes
   10998 	no_undefined_flag_CXX=' -zdefs'
   10999 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11000 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11001 	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11002 
   11003 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11004 	hardcode_shlibpath_var_CXX=no
   11005 	case $host_os in
   11006 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11007 	  *)
   11008 	    # The C++ compiler is used as linker so we must use $wl
   11009 	    # flag to pass the commands to the underlying system
   11010 	    # linker. We must also pass each convience library through
   11011 	    # to the system linker between allextract/defaultextract.
   11012 	    # The C++ compiler will combine linker options so we
   11013 	    # cannot just pass the convience library names through
   11014 	    # without $wl.
   11015 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11016 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   11017 	    ;;
   11018 	esac
   11019 	link_all_deplibs_CXX=yes
   11020 
   11021 	output_verbose_link_cmd='echo'
   11022 
   11023 	# Archives containing C++ object files must be created using
   11024 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11025 	# necessary to make sure instantiated templates are included
   11026 	# in the archive.
   11027 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11028 	;;
   11029       gcx*)
   11030 	# Green Hills C++ Compiler
   11031 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11032 
   11033 	# The C++ compiler must be used to create the archive.
   11034 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11035 	;;
   11036       *)
   11037 	# GNU C++ compiler with Solaris linker
   11038 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11039 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11040 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11041 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11042 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11043 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11044 
   11045 	    # Commands to make compiler produce verbose output that lists
   11046 	    # what "hidden" libraries, object files and flags are used when
   11047 	    # linking a shared library.
   11048 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11049 	  else
   11050 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11051 	    # platform.
   11052 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11053 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11054 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11055 
   11056 	    # Commands to make compiler produce verbose output that lists
   11057 	    # what "hidden" libraries, object files and flags are used when
   11058 	    # linking a shared library.
   11059 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11060 	  fi
   11061 
   11062 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11063 	fi
   11064 	;;
   11065     esac
   11066     ;;
   11067   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11068     no_undefined_flag_CXX='${wl}-z,text'
   11069     archive_cmds_need_lc_CXX=no
   11070     hardcode_shlibpath_var_CXX=no
   11071     runpath_var='LD_RUN_PATH'
   11072 
   11073     case $cc_basename in
   11074       CC*)
   11075 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11076 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11077 	;;
   11078       *)
   11079 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11080 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11081 	;;
   11082     esac
   11083     ;;
   11084   sysv5* | sco3.2v5* | sco5v6*)
   11085     # Note: We can NOT use -z defs as we might desire, because we do not
   11086     # link with -lc, and that would cause any symbols used from libc to
   11087     # always be unresolved, which means just about no library would
   11088     # ever link correctly.  If we're not using GNU ld we use -z text
   11089     # though, which does catch some bad symbols but isn't as heavy-handed
   11090     # as -z defs.
   11091     # For security reasons, it is highly recommended that you always
   11092     # use absolute paths for naming shared libraries, and exclude the
   11093     # DT_RUNPATH tag from executables and libraries.  But doing so
   11094     # requires that you compile everything twice, which is a pain.
   11095     # So that behaviour is only enabled if SCOABSPATH is set to a
   11096     # non-empty value in the environment.  Most likely only useful for
   11097     # creating official distributions of packages.
   11098     # This is a hack until libtool officially supports absolute path
   11099     # names for shared libraries.
   11100     no_undefined_flag_CXX='${wl}-z,text'
   11101     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11102     archive_cmds_need_lc_CXX=no
   11103     hardcode_shlibpath_var_CXX=no
   11104     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11105     hardcode_libdir_separator_CXX=':'
   11106     link_all_deplibs_CXX=yes
   11107     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11108     runpath_var='LD_RUN_PATH'
   11109 
   11110     case $cc_basename in
   11111       CC*)
   11112 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11113 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11114 	;;
   11115       *)
   11116 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11117 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11118 	;;
   11119     esac
   11120     ;;
   11121   tandem*)
   11122     case $cc_basename in
   11123       NCC*)
   11124 	# NonStop-UX NCC 3.20
   11125 	# FIXME: insert proper C++ library support
   11126 	ld_shlibs_CXX=no
   11127 	;;
   11128       *)
   11129 	# FIXME: insert proper C++ library support
   11130 	ld_shlibs_CXX=no
   11131 	;;
   11132     esac
   11133     ;;
   11134   vxworks*)
   11135     # FIXME: insert proper C++ library support
   11136     ld_shlibs_CXX=no
   11137     ;;
   11138   *)
   11139     # FIXME: insert proper C++ library support
   11140     ld_shlibs_CXX=no
   11141     ;;
   11142 esac
   11143 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11144 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   11145 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11146 
   11147 GCC_CXX="$GXX"
   11148 LD_CXX="$LD"
   11149 
   11150 
   11151 cat > conftest.$ac_ext <<EOF
   11152 class Foo
   11153 {
   11154 public:
   11155   Foo (void) { a = 0; }
   11156 private:
   11157   int a;
   11158 };
   11159 EOF
   11160 
   11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11162   (eval $ac_compile) 2>&5
   11163   ac_status=$?
   11164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11165   (exit $ac_status); }; then
   11166   # Parse the compiler output and extract the necessary
   11167   # objects, libraries and library flags.
   11168 
   11169   # Sentinel used to keep track of whether or not we are before
   11170   # the conftest object file.
   11171   pre_test_object_deps_done=no
   11172 
   11173   # The `*' in the case matches for architectures that use `case' in
   11174   # $output_verbose_cmd can trigger glob expansion during the loop
   11175   # eval without this substitution.
   11176   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11177 
   11178   for p in `eval $output_verbose_link_cmd`; do
   11179     case $p in
   11180 
   11181     -L* | -R* | -l*)
   11182        # Some compilers place space between "-{L,R}" and the path.
   11183        # Remove the space.
   11184        if test $p = "-L" \
   11185 	  || test $p = "-R"; then
   11186 	 prev=$p
   11187 	 continue
   11188        else
   11189 	 prev=
   11190        fi
   11191 
   11192        if test "$pre_test_object_deps_done" = no; then
   11193 	 case $p in
   11194 	 -L* | -R*)
   11195 	   # Internal compiler library paths should come after those
   11196 	   # provided the user.  The postdeps already come after the
   11197 	   # user supplied libs so there is no need to process them.
   11198 	   if test -z "$compiler_lib_search_path_CXX"; then
   11199 	     compiler_lib_search_path_CXX="${prev}${p}"
   11200 	   else
   11201 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11202 	   fi
   11203 	   ;;
   11204 	 # The "-l" case would never come before the object being
   11205 	 # linked, so don't bother handling this case.
   11206 	 esac
   11207        else
   11208 	 if test -z "$postdeps_CXX"; then
   11209 	   postdeps_CXX="${prev}${p}"
   11210 	 else
   11211 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11212 	 fi
   11213        fi
   11214        ;;
   11215 
   11216     *.$objext)
   11217        # This assumes that the test object file only shows up
   11218        # once in the compiler output.
   11219        if test "$p" = "conftest.$objext"; then
   11220 	 pre_test_object_deps_done=yes
   11221 	 continue
   11222        fi
   11223 
   11224        if test "$pre_test_object_deps_done" = no; then
   11225 	 if test -z "$predep_objects_CXX"; then
   11226 	   predep_objects_CXX="$p"
   11227 	 else
   11228 	   predep_objects_CXX="$predep_objects_CXX $p"
   11229 	 fi
   11230        else
   11231 	 if test -z "$postdep_objects_CXX"; then
   11232 	   postdep_objects_CXX="$p"
   11233 	 else
   11234 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11235 	 fi
   11236        fi
   11237        ;;
   11238 
   11239     *) ;; # Ignore the rest.
   11240 
   11241     esac
   11242   done
   11243 
   11244   # Clean up.
   11245   rm -f a.out a.exe
   11246 else
   11247   echo "libtool.m4: error: problem compiling CXX test program"
   11248 fi
   11249 
   11250 $rm -f confest.$objext
   11251 
   11252 # PORTME: override above test on systems where it is broken
   11253 case $host_os in
   11254 interix3*)
   11255   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11256   # hack all around it, let's just trust "g++" to DTRT.
   11257   predep_objects_CXX=
   11258   postdep_objects_CXX=
   11259   postdeps_CXX=
   11260   ;;
   11261 
   11262 solaris*)
   11263   case $cc_basename in
   11264   CC*)
   11265     # Adding this requires a known-good setup of shared libraries for
   11266     # Sun compiler versions before 5.6, else PIC objects from an old
   11267     # archive will be linked into the output, leading to subtle bugs.
   11268     postdeps_CXX='-lCstd -lCrun'
   11269     ;;
   11270   esac
   11271   ;;
   11272 esac
   11273 
   11274 
   11275 case " $postdeps_CXX " in
   11276 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11277 esac
   11278 
   11279 lt_prog_compiler_wl_CXX=
   11280 lt_prog_compiler_pic_CXX=
   11281 lt_prog_compiler_static_CXX=
   11282 
   11283 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11284 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   11285 
   11286   # C++ specific cases for pic, static, wl, etc.
   11287   if test "$GXX" = yes; then
   11288     lt_prog_compiler_wl_CXX='-Wl,'
   11289     lt_prog_compiler_static_CXX='-static'
   11290 
   11291     case $host_os in
   11292     aix*)
   11293       # All AIX code is PIC.
   11294       if test "$host_cpu" = ia64; then
   11295 	# AIX 5 now supports IA64 processor
   11296 	lt_prog_compiler_static_CXX='-Bstatic'
   11297       fi
   11298       ;;
   11299     amigaos*)
   11300       # FIXME: we need at least 68020 code to build shared libraries, but
   11301       # adding the `-m68020' flag to GCC prevents building anything better,
   11302       # like `-m68040'.
   11303       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11304       ;;
   11305     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11306       # PIC is the default for these OSes.
   11307       ;;
   11308     mingw* | os2* | pw32*)
   11309       # This hack is so that the source file can tell whether it is being
   11310       # built for inclusion in a dll (and should export symbols for example).
   11311       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11312       ;;
   11313     darwin* | rhapsody*)
   11314       # PIC is the default on this platform
   11315       # Common symbols not allowed in MH_DYLIB files
   11316       lt_prog_compiler_pic_CXX='-fno-common'
   11317       ;;
   11318     *djgpp*)
   11319       # DJGPP does not support shared libraries at all
   11320       lt_prog_compiler_pic_CXX=
   11321       ;;
   11322     interix3*)
   11323       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11324       # Instead, we relocate shared libraries at runtime.
   11325       ;;
   11326     sysv4*MP*)
   11327       if test -d /usr/nec; then
   11328 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11329       fi
   11330       ;;
   11331     hpux*)
   11332       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11333       # not for PA HP-UX.
   11334       case $host_cpu in
   11335       hppa*64*|ia64*)
   11336 	;;
   11337       *)
   11338 	lt_prog_compiler_pic_CXX='-fPIC'
   11339 	;;
   11340       esac
   11341       ;;
   11342     *)
   11343       lt_prog_compiler_pic_CXX='-fPIC'
   11344       ;;
   11345     esac
   11346   else
   11347     case $host_os in
   11348       aix4* | aix5*)
   11349 	# All AIX code is PIC.
   11350 	if test "$host_cpu" = ia64; then
   11351 	  # AIX 5 now supports IA64 processor
   11352 	  lt_prog_compiler_static_CXX='-Bstatic'
   11353 	else
   11354 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11355 	fi
   11356 	;;
   11357       chorus*)
   11358 	case $cc_basename in
   11359 	cxch68*)
   11360 	  # Green Hills C++ Compiler
   11361 	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   11362 	  ;;
   11363 	esac
   11364 	;;
   11365        darwin*)
   11366          # PIC is the default on this platform
   11367          # Common symbols not allowed in MH_DYLIB files
   11368          case $cc_basename in
   11369            xlc*)
   11370            lt_prog_compiler_pic_CXX='-qnocommon'
   11371            lt_prog_compiler_wl_CXX='-Wl,'
   11372            ;;
   11373          esac
   11374        ;;
   11375       dgux*)
   11376 	case $cc_basename in
   11377 	  ec++*)
   11378 	    lt_prog_compiler_pic_CXX='-KPIC'
   11379 	    ;;
   11380 	  ghcx*)
   11381 	    # Green Hills C++ Compiler
   11382 	    lt_prog_compiler_pic_CXX='-pic'
   11383 	    ;;
   11384 	  *)
   11385 	    ;;
   11386 	esac
   11387 	;;
   11388       freebsd* | kfreebsd*-gnu | dragonfly*)
   11389 	# FreeBSD uses GNU C++
   11390 	;;
   11391       hpux9* | hpux10* | hpux11*)
   11392 	case $cc_basename in
   11393 	  CC*)
   11394 	    lt_prog_compiler_wl_CXX='-Wl,'
   11395 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11396 	    if test "$host_cpu" != ia64; then
   11397 	      lt_prog_compiler_pic_CXX='+Z'
   11398 	    fi
   11399 	    ;;
   11400 	  aCC*)
   11401 	    lt_prog_compiler_wl_CXX='-Wl,'
   11402 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11403 	    case $host_cpu in
   11404 	    hppa*64*|ia64*)
   11405 	      # +Z the default
   11406 	      ;;
   11407 	    *)
   11408 	      lt_prog_compiler_pic_CXX='+Z'
   11409 	      ;;
   11410 	    esac
   11411 	    ;;
   11412 	  *)
   11413 	    ;;
   11414 	esac
   11415 	;;
   11416       interix*)
   11417 	# This is c89, which is MS Visual C++ (no shared libs)
   11418 	# Anyone wants to do a port?
   11419 	;;
   11420       irix5* | irix6* | nonstopux*)
   11421 	case $cc_basename in
   11422 	  CC*)
   11423 	    lt_prog_compiler_wl_CXX='-Wl,'
   11424 	    lt_prog_compiler_static_CXX='-non_shared'
   11425 	    # CC pic flag -KPIC is the default.
   11426 	    ;;
   11427 	  *)
   11428 	    ;;
   11429 	esac
   11430 	;;
   11431       linux*)
   11432 	case $cc_basename in
   11433 	  KCC*)
   11434 	    # KAI C++ Compiler
   11435 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11436 	    lt_prog_compiler_pic_CXX='-fPIC'
   11437 	    ;;
   11438 	  icpc* | ecpc*)
   11439 	    # Intel C++
   11440 	    lt_prog_compiler_wl_CXX='-Wl,'
   11441 	    lt_prog_compiler_pic_CXX='-KPIC'
   11442 	    lt_prog_compiler_static_CXX='-static'
   11443 	    ;;
   11444 	  pgCC*)
   11445 	    # Portland Group C++ compiler.
   11446 	    lt_prog_compiler_wl_CXX='-Wl,'
   11447 	    lt_prog_compiler_pic_CXX='-fpic'
   11448 	    lt_prog_compiler_static_CXX='-Bstatic'
   11449 	    ;;
   11450 	  cxx*)
   11451 	    # Compaq C++
   11452 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11453 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11454 	    lt_prog_compiler_pic_CXX=
   11455 	    lt_prog_compiler_static_CXX='-non_shared'
   11456 	    ;;
   11457 	  *)
   11458 	    ;;
   11459 	esac
   11460 	;;
   11461       lynxos*)
   11462 	;;
   11463       m88k*)
   11464 	;;
   11465       mvs*)
   11466 	case $cc_basename in
   11467 	  cxx*)
   11468 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   11469 	    ;;
   11470 	  *)
   11471 	    ;;
   11472 	esac
   11473 	;;
   11474       netbsd*)
   11475 	;;
   11476       osf3* | osf4* | osf5*)
   11477 	case $cc_basename in
   11478 	  KCC*)
   11479 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11480 	    ;;
   11481 	  RCC*)
   11482 	    # Rational C++ 2.4.1
   11483 	    lt_prog_compiler_pic_CXX='-pic'
   11484 	    ;;
   11485 	  cxx*)
   11486 	    # Digital/Compaq C++
   11487 	    lt_prog_compiler_wl_CXX='-Wl,'
   11488 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11489 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11490 	    lt_prog_compiler_pic_CXX=
   11491 	    lt_prog_compiler_static_CXX='-non_shared'
   11492 	    ;;
   11493 	  *)
   11494 	    ;;
   11495 	esac
   11496 	;;
   11497       psos*)
   11498 	;;
   11499       solaris*)
   11500 	case $cc_basename in
   11501 	  CC*)
   11502 	    # Sun C++ 4.2, 5.x and Centerline C++
   11503 	    lt_prog_compiler_pic_CXX='-KPIC'
   11504 	    lt_prog_compiler_static_CXX='-Bstatic'
   11505 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   11506 	    ;;
   11507 	  gcx*)
   11508 	    # Green Hills C++ Compiler
   11509 	    lt_prog_compiler_pic_CXX='-PIC'
   11510 	    ;;
   11511 	  *)
   11512 	    ;;
   11513 	esac
   11514 	;;
   11515       sunos4*)
   11516 	case $cc_basename in
   11517 	  CC*)
   11518 	    # Sun C++ 4.x
   11519 	    lt_prog_compiler_pic_CXX='-pic'
   11520 	    lt_prog_compiler_static_CXX='-Bstatic'
   11521 	    ;;
   11522 	  lcc*)
   11523 	    # Lucid
   11524 	    lt_prog_compiler_pic_CXX='-pic'
   11525 	    ;;
   11526 	  *)
   11527 	    ;;
   11528 	esac
   11529 	;;
   11530       tandem*)
   11531 	case $cc_basename in
   11532 	  NCC*)
   11533 	    # NonStop-UX NCC 3.20
   11534 	    lt_prog_compiler_pic_CXX='-KPIC'
   11535 	    ;;
   11536 	  *)
   11537 	    ;;
   11538 	esac
   11539 	;;
   11540       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11541 	case $cc_basename in
   11542 	  CC*)
   11543 	    lt_prog_compiler_wl_CXX='-Wl,'
   11544 	    lt_prog_compiler_pic_CXX='-KPIC'
   11545 	    lt_prog_compiler_static_CXX='-Bstatic'
   11546 	    ;;
   11547 	esac
   11548 	;;
   11549       vxworks*)
   11550 	;;
   11551       *)
   11552 	lt_prog_compiler_can_build_shared_CXX=no
   11553 	;;
   11554     esac
   11555   fi
   11556 
   11557 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   11558 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
   11559 
   11560 #
   11561 # Check to make sure the PIC flag actually works.
   11562 #
   11563 if test -n "$lt_prog_compiler_pic_CXX"; then
   11564 
   11565 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   11566 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
   11567 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   11568   echo $ECHO_N "(cached) $ECHO_C" >&6
   11569 else
   11570   lt_prog_compiler_pic_works_CXX=no
   11571   ac_outfile=conftest.$ac_objext
   11572    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11573    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   11574    # Insert the option either (1) after the last *FLAGS variable, or
   11575    # (2) before a word containing "conftest.", or (3) at the end.
   11576    # Note that $ac_compile itself does not contain backslashes and begins
   11577    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11578    # The option is referenced via a variable to avoid confusing sed.
   11579    lt_compile=`echo "$ac_compile" | $SED \
   11580    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11581    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11582    -e 's:$: $lt_compiler_flag:'`
   11583    (eval echo "\"\$as_me:11583: $lt_compile\"" >&5)
   11584    (eval "$lt_compile" 2>conftest.err)
   11585    ac_status=$?
   11586    cat conftest.err >&5
   11587    echo "$as_me:11587: \$? = $ac_status" >&5
   11588    if (exit $ac_status) && test -s "$ac_outfile"; then
   11589      # The compiler can only warn and ignore the option if not recognized
   11590      # So say no if there are warnings other than the usual output.
   11591      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   11592      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11593      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11594        lt_prog_compiler_pic_works_CXX=yes
   11595      fi
   11596    fi
   11597    $rm conftest*
   11598 
   11599 fi
   11600 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   11601 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
   11602 
   11603 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   11604     case $lt_prog_compiler_pic_CXX in
   11605      "" | " "*) ;;
   11606      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   11607      esac
   11608 else
   11609     lt_prog_compiler_pic_CXX=
   11610      lt_prog_compiler_can_build_shared_CXX=no
   11611 fi
   11612 
   11613 fi
   11614 case $host_os in
   11615   # For platforms which do not support PIC, -DPIC is meaningless:
   11616   *djgpp*)
   11617     lt_prog_compiler_pic_CXX=
   11618     ;;
   11619   *)
   11620     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   11621     ;;
   11622 esac
   11623 
   11624 #
   11625 # Check to make sure the static flag actually works.
   11626 #
   11627 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   11628 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11629 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   11630 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   11631   echo $ECHO_N "(cached) $ECHO_C" >&6
   11632 else
   11633   lt_prog_compiler_static_works_CXX=no
   11634    save_LDFLAGS="$LDFLAGS"
   11635    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11636    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   11637    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11638      # The linker can only warn and ignore the option if not recognized
   11639      # So say no if there are warnings
   11640      if test -s conftest.err; then
   11641        # Append any errors to the config.log.
   11642        cat conftest.err 1>&5
   11643        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   11644        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11645        if diff conftest.exp conftest.er2 >/dev/null; then
   11646          lt_prog_compiler_static_works_CXX=yes
   11647        fi
   11648      else
   11649        lt_prog_compiler_static_works_CXX=yes
   11650      fi
   11651    fi
   11652    $rm conftest*
   11653    LDFLAGS="$save_LDFLAGS"
   11654 
   11655 fi
   11656 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   11657 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
   11658 
   11659 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   11660     :
   11661 else
   11662     lt_prog_compiler_static_CXX=
   11663 fi
   11664 
   11665 
   11666 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   11667 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   11668 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   11669   echo $ECHO_N "(cached) $ECHO_C" >&6
   11670 else
   11671   lt_cv_prog_compiler_c_o_CXX=no
   11672    $rm -r conftest 2>/dev/null
   11673    mkdir conftest
   11674    cd conftest
   11675    mkdir out
   11676    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11677 
   11678    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11679    # Insert the option either (1) after the last *FLAGS variable, or
   11680    # (2) before a word containing "conftest.", or (3) at the end.
   11681    # Note that $ac_compile itself does not contain backslashes and begins
   11682    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11683    lt_compile=`echo "$ac_compile" | $SED \
   11684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11686    -e 's:$: $lt_compiler_flag:'`
   11687    (eval echo "\"\$as_me:11687: $lt_compile\"" >&5)
   11688    (eval "$lt_compile" 2>out/conftest.err)
   11689    ac_status=$?
   11690    cat out/conftest.err >&5
   11691    echo "$as_me:11691: \$? = $ac_status" >&5
   11692    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11693    then
   11694      # The compiler can only warn and ignore the option if not recognized
   11695      # So say no if there are warnings
   11696      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   11697      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11698      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11699        lt_cv_prog_compiler_c_o_CXX=yes
   11700      fi
   11701    fi
   11702    chmod u+w . 2>&5
   11703    $rm conftest*
   11704    # SGI C++ compiler will create directory out/ii_files/ for
   11705    # template instantiation
   11706    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   11707    $rm out/* && rmdir out
   11708    cd ..
   11709    rmdir conftest
   11710    $rm conftest*
   11711 
   11712 fi
   11713 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   11714 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
   11715 
   11716 
   11717 hard_links="nottested"
   11718 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   11719   # do not overwrite the value of need_locks provided by the user
   11720   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   11721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   11722   hard_links=yes
   11723   $rm conftest*
   11724   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11725   touch conftest.a
   11726   ln conftest.a conftest.b 2>&5 || hard_links=no
   11727   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11728   echo "$as_me:$LINENO: result: $hard_links" >&5
   11729 echo "${ECHO_T}$hard_links" >&6
   11730   if test "$hard_links" = no; then
   11731     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   11732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   11733     need_locks=warn
   11734   fi
   11735 else
   11736   need_locks=no
   11737 fi
   11738 
   11739 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11740 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   11741 
   11742   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11743   case $host_os in
   11744   aix4* | aix5*)
   11745     # If we're using GNU nm, then we don't want the "-C" option.
   11746     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   11747     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   11748       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   11749     else
   11750       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   11751     fi
   11752     ;;
   11753   pw32*)
   11754     export_symbols_cmds_CXX="$ltdll_cmds"
   11755   ;;
   11756   cygwin* | mingw*)
   11757     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   11758   ;;
   11759   *)
   11760     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11761   ;;
   11762   esac
   11763 
   11764 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11765 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   11766 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11767 
   11768 #
   11769 # Do we need to explicitly link libc?
   11770 #
   11771 case "x$archive_cmds_need_lc_CXX" in
   11772 x|xyes)
   11773   # Assume -lc should be added
   11774   archive_cmds_need_lc_CXX=yes
   11775 
   11776   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11777     case $archive_cmds_CXX in
   11778     *'~'*)
   11779       # FIXME: we may have to deal with multi-command sequences.
   11780       ;;
   11781     '$CC '*)
   11782       # Test whether the compiler implicitly links with -lc since on some
   11783       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11784       # to ld, don't add -lc before -lgcc.
   11785       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   11786 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   11787       $rm conftest*
   11788       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11789 
   11790       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11791   (eval $ac_compile) 2>&5
   11792   ac_status=$?
   11793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11794   (exit $ac_status); } 2>conftest.err; then
   11795         soname=conftest
   11796         lib=conftest
   11797         libobjs=conftest.$ac_objext
   11798         deplibs=
   11799         wl=$lt_prog_compiler_wl_CXX
   11800 	pic_flag=$lt_prog_compiler_pic_CXX
   11801         compiler_flags=-v
   11802         linker_flags=-v
   11803         verstring=
   11804         output_objdir=.
   11805         libname=conftest
   11806         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   11807         allow_undefined_flag_CXX=
   11808         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   11809   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11810   ac_status=$?
   11811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11812   (exit $ac_status); }
   11813         then
   11814 	  archive_cmds_need_lc_CXX=no
   11815         else
   11816 	  archive_cmds_need_lc_CXX=yes
   11817         fi
   11818         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   11819       else
   11820         cat conftest.err 1>&5
   11821       fi
   11822       $rm conftest*
   11823       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   11824 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
   11825       ;;
   11826     esac
   11827   fi
   11828   ;;
   11829 esac
   11830 
   11831 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   11832 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   11833 library_names_spec=
   11834 libname_spec='lib$name'
   11835 soname_spec=
   11836 shrext_cmds=".so"
   11837 postinstall_cmds=
   11838 postuninstall_cmds=
   11839 finish_cmds=
   11840 finish_eval=
   11841 shlibpath_var=
   11842 shlibpath_overrides_runpath=unknown
   11843 version_type=none
   11844 dynamic_linker="$host_os ld.so"
   11845 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11846 if test "$GCC" = yes; then
   11847   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11848   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   11849     # if the path contains ";" then we assume it to be the separator
   11850     # otherwise default to the standard path separator (i.e. ":") - it is
   11851     # assumed that no part of a normal pathname contains ";" but that should
   11852     # okay in the real world where ";" in dirpaths is itself problematic.
   11853     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11854   else
   11855     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11856   fi
   11857 else
   11858   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11859 fi
   11860 need_lib_prefix=unknown
   11861 hardcode_into_libs=no
   11862 
   11863 # when you set need_version to no, make sure it does not cause -set_version
   11864 # flags to be left without arguments
   11865 need_version=unknown
   11866 
   11867 case $host_os in
   11868 aix3*)
   11869   version_type=linux
   11870   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11871   shlibpath_var=LIBPATH
   11872 
   11873   # AIX 3 has no versioning support, so we append a major version to the name.
   11874   soname_spec='${libname}${release}${shared_ext}$major'
   11875   ;;
   11876 
   11877 aix4* | aix5*)
   11878   version_type=linux
   11879   need_lib_prefix=no
   11880   need_version=no
   11881   hardcode_into_libs=yes
   11882   if test "$host_cpu" = ia64; then
   11883     # AIX 5 supports IA64
   11884     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11885     shlibpath_var=LD_LIBRARY_PATH
   11886   else
   11887     # With GCC up to 2.95.x, collect2 would create an import file
   11888     # for dependence libraries.  The import file would start with
   11889     # the line `#! .'.  This would cause the generated library to
   11890     # depend on `.', always an invalid library.  This was fixed in
   11891     # development snapshots of GCC prior to 3.0.
   11892     case $host_os in
   11893       aix4 | aix4.[01] | aix4.[01].*)
   11894       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11895 	   echo ' yes '
   11896 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   11897 	:
   11898       else
   11899 	can_build_shared=no
   11900       fi
   11901       ;;
   11902     esac
   11903     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11904     # soname into executable. Probably we can add versioning support to
   11905     # collect2, so additional links can be useful in future.
   11906     if test "$aix_use_runtimelinking" = yes; then
   11907       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11908       # instead of lib<name>.a to let people know that these are not
   11909       # typical AIX shared libraries.
   11910       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11911     else
   11912       # We preserve .a as extension for shared libraries through AIX4.2
   11913       # and later when we are not doing run time linking.
   11914       library_names_spec='${libname}${release}.a $libname.a'
   11915       soname_spec='${libname}${release}${shared_ext}$major'
   11916     fi
   11917     shlibpath_var=LIBPATH
   11918   fi
   11919   ;;
   11920 
   11921 amigaos*)
   11922   library_names_spec='$libname.ixlibrary $libname.a'
   11923   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11924   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'
   11925   ;;
   11926 
   11927 beos*)
   11928   library_names_spec='${libname}${shared_ext}'
   11929   dynamic_linker="$host_os ld.so"
   11930   shlibpath_var=LIBRARY_PATH
   11931   ;;
   11932 
   11933 bsdi[45]*)
   11934   version_type=linux
   11935   need_version=no
   11936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11937   soname_spec='${libname}${release}${shared_ext}$major'
   11938   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11939   shlibpath_var=LD_LIBRARY_PATH
   11940   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11941   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11942   # the default ld.so.conf also contains /usr/contrib/lib and
   11943   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11944   # libtool to hard-code these into programs
   11945   ;;
   11946 
   11947 cygwin* | mingw* | pw32*)
   11948   version_type=windows
   11949   shrext_cmds=".dll"
   11950   need_version=no
   11951   need_lib_prefix=no
   11952 
   11953   case $GCC,$host_os in
   11954   yes,cygwin* | yes,mingw* | yes,pw32*)
   11955     library_names_spec='$libname.dll.a'
   11956     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11957     postinstall_cmds='base_file=`basename \${file}`~
   11958       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   11959       dldir=$destdir/`dirname \$dlpath`~
   11960       test -d \$dldir || mkdir -p \$dldir~
   11961       $install_prog $dir/$dlname \$dldir/$dlname~
   11962       chmod a+x \$dldir/$dlname'
   11963     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11964       dlpath=$dir/\$dldll~
   11965        $rm \$dlpath'
   11966     shlibpath_overrides_runpath=yes
   11967 
   11968     case $host_os in
   11969     cygwin*)
   11970       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11971       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11972       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   11973       ;;
   11974     mingw*)
   11975       # MinGW DLLs use traditional 'lib' prefix
   11976       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11977       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11978       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   11979         # It is most probably a Windows format PATH printed by
   11980         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   11981         # path with ; separators, and with drive letters. We can handle the
   11982         # drive letters (cygwin fileutils understands them), so leave them,
   11983         # especially as we might pass files found there to a mingw objdump,
   11984         # which wouldn't understand a cygwinified path. Ahh.
   11985         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11986       else
   11987         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11988       fi
   11989       ;;
   11990     pw32*)
   11991       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11992       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11993       ;;
   11994     esac
   11995     ;;
   11996 
   11997   *)
   11998     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11999     ;;
   12000   esac
   12001   dynamic_linker='Win32 ld.exe'
   12002   # FIXME: first we should search . and the directory the executable is in
   12003   shlibpath_var=PATH
   12004   ;;
   12005 
   12006 darwin* | rhapsody*)
   12007   dynamic_linker="$host_os dyld"
   12008   version_type=darwin
   12009   need_lib_prefix=no
   12010   need_version=no
   12011   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12012   soname_spec='${libname}${release}${major}$shared_ext'
   12013   shlibpath_overrides_runpath=yes
   12014   shlibpath_var=DYLD_LIBRARY_PATH
   12015   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12016   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12017   if test "$GCC" = yes; then
   12018     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   12019   else
   12020     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12021   fi
   12022   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12023   ;;
   12024 
   12025 dgux*)
   12026   version_type=linux
   12027   need_lib_prefix=no
   12028   need_version=no
   12029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12030   soname_spec='${libname}${release}${shared_ext}$major'
   12031   shlibpath_var=LD_LIBRARY_PATH
   12032   ;;
   12033 
   12034 freebsd1*)
   12035   dynamic_linker=no
   12036   ;;
   12037 
   12038 kfreebsd*-gnu)
   12039   version_type=linux
   12040   need_lib_prefix=no
   12041   need_version=no
   12042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12043   soname_spec='${libname}${release}${shared_ext}$major'
   12044   shlibpath_var=LD_LIBRARY_PATH
   12045   shlibpath_overrides_runpath=no
   12046   hardcode_into_libs=yes
   12047   dynamic_linker='GNU ld.so'
   12048   ;;
   12049 
   12050 freebsd* | dragonfly*)
   12051   # DragonFly does not have aout.  When/if they implement a new
   12052   # versioning mechanism, adjust this.
   12053   if test -x /usr/bin/objformat; then
   12054     objformat=`/usr/bin/objformat`
   12055   else
   12056     case $host_os in
   12057     freebsd[123]*) objformat=aout ;;
   12058     *) objformat=elf ;;
   12059     esac
   12060   fi
   12061   version_type=freebsd-$objformat
   12062   case $version_type in
   12063     freebsd-elf*)
   12064       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12065       need_version=no
   12066       need_lib_prefix=no
   12067       ;;
   12068     freebsd-*)
   12069       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12070       need_version=yes
   12071       ;;
   12072   esac
   12073   shlibpath_var=LD_LIBRARY_PATH
   12074   case $host_os in
   12075   freebsd2*)
   12076     shlibpath_overrides_runpath=yes
   12077     ;;
   12078   freebsd3.[01]* | freebsdelf3.[01]*)
   12079     shlibpath_overrides_runpath=yes
   12080     hardcode_into_libs=yes
   12081     ;;
   12082   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12083   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12084     shlibpath_overrides_runpath=no
   12085     hardcode_into_libs=yes
   12086     ;;
   12087   freebsd*) # from 4.6 on
   12088     shlibpath_overrides_runpath=yes
   12089     hardcode_into_libs=yes
   12090     ;;
   12091   esac
   12092   ;;
   12093 
   12094 gnu*)
   12095   version_type=linux
   12096   need_lib_prefix=no
   12097   need_version=no
   12098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12099   soname_spec='${libname}${release}${shared_ext}$major'
   12100   shlibpath_var=LD_LIBRARY_PATH
   12101   hardcode_into_libs=yes
   12102   ;;
   12103 
   12104 hpux9* | hpux10* | hpux11*)
   12105   # Give a soname corresponding to the major version so that dld.sl refuses to
   12106   # link against other versions.
   12107   version_type=sunos
   12108   need_lib_prefix=no
   12109   need_version=no
   12110   case $host_cpu in
   12111   ia64*)
   12112     shrext_cmds='.so'
   12113     hardcode_into_libs=yes
   12114     dynamic_linker="$host_os dld.so"
   12115     shlibpath_var=LD_LIBRARY_PATH
   12116     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12117     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12118     soname_spec='${libname}${release}${shared_ext}$major'
   12119     if test "X$HPUX_IA64_MODE" = X32; then
   12120       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12121     else
   12122       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12123     fi
   12124     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12125     ;;
   12126    hppa*64*)
   12127      shrext_cmds='.sl'
   12128      hardcode_into_libs=yes
   12129      dynamic_linker="$host_os dld.sl"
   12130      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12131      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12132      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12133      soname_spec='${libname}${release}${shared_ext}$major'
   12134      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12135      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12136      ;;
   12137    *)
   12138     shrext_cmds='.sl'
   12139     dynamic_linker="$host_os dld.sl"
   12140     shlibpath_var=SHLIB_PATH
   12141     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12142     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12143     soname_spec='${libname}${release}${shared_ext}$major'
   12144     ;;
   12145   esac
   12146   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12147   postinstall_cmds='chmod 555 $lib'
   12148   ;;
   12149 
   12150 interix3*)
   12151   version_type=linux
   12152   need_lib_prefix=no
   12153   need_version=no
   12154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12155   soname_spec='${libname}${release}${shared_ext}$major'
   12156   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12157   shlibpath_var=LD_LIBRARY_PATH
   12158   shlibpath_overrides_runpath=no
   12159   hardcode_into_libs=yes
   12160   ;;
   12161 
   12162 irix5* | irix6* | nonstopux*)
   12163   case $host_os in
   12164     nonstopux*) version_type=nonstopux ;;
   12165     *)
   12166 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12167 		version_type=linux
   12168 	else
   12169 		version_type=irix
   12170 	fi ;;
   12171   esac
   12172   need_lib_prefix=no
   12173   need_version=no
   12174   soname_spec='${libname}${release}${shared_ext}$major'
   12175   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12176   case $host_os in
   12177   irix5* | nonstopux*)
   12178     libsuff= shlibsuff=
   12179     ;;
   12180   *)
   12181     case $LD in # libtool.m4 will add one of these switches to LD
   12182     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12183       libsuff= shlibsuff= libmagic=32-bit;;
   12184     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12185       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12186     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12187       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12188     *) libsuff= shlibsuff= libmagic=never-match;;
   12189     esac
   12190     ;;
   12191   esac
   12192   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12193   shlibpath_overrides_runpath=no
   12194   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12195   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12196   hardcode_into_libs=yes
   12197   ;;
   12198 
   12199 # No shared lib support for Linux oldld, aout, or coff.
   12200 linux*oldld* | linux*aout* | linux*coff*)
   12201   dynamic_linker=no
   12202   ;;
   12203 
   12204 # This must be Linux ELF.
   12205 linux*)
   12206   version_type=linux
   12207   need_lib_prefix=no
   12208   need_version=no
   12209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12210   soname_spec='${libname}${release}${shared_ext}$major'
   12211   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12212   shlibpath_var=LD_LIBRARY_PATH
   12213   shlibpath_overrides_runpath=no
   12214   # This implies no fast_install, which is unacceptable.
   12215   # Some rework will be needed to allow for fast_install
   12216   # before this can be enabled.
   12217   hardcode_into_libs=yes
   12218 
   12219   # find out which ABI we are using
   12220   libsuff=
   12221   case "$host_cpu" in
   12222   x86_64*|s390x*|powerpc64*)
   12223     echo '#line 12223 "configure"' > conftest.$ac_ext
   12224     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12225   (eval $ac_compile) 2>&5
   12226   ac_status=$?
   12227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12228   (exit $ac_status); }; then
   12229       case `/usr/bin/file conftest.$ac_objext` in
   12230       *64-bit*)
   12231         libsuff=64
   12232         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   12233         ;;
   12234       esac
   12235     fi
   12236     rm -rf conftest*
   12237     ;;
   12238   esac
   12239 
   12240   # Append ld.so.conf contents to the search path
   12241   if test -f /etc/ld.so.conf; then
   12242     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12243     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   12244   fi
   12245 
   12246   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12247   # powerpc, because MkLinux only supported shared libraries with the
   12248   # GNU dynamic linker.  Since this was broken with cross compilers,
   12249   # most powerpc-linux boxes support dynamic linking these days and
   12250   # people can always --disable-shared, the test was removed, and we
   12251   # assume the GNU/Linux dynamic linker is in use.
   12252   dynamic_linker='GNU/Linux ld.so'
   12253   ;;
   12254 
   12255 knetbsd*-gnu)
   12256   version_type=linux
   12257   need_lib_prefix=no
   12258   need_version=no
   12259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12260   soname_spec='${libname}${release}${shared_ext}$major'
   12261   shlibpath_var=LD_LIBRARY_PATH
   12262   shlibpath_overrides_runpath=no
   12263   hardcode_into_libs=yes
   12264   dynamic_linker='GNU ld.so'
   12265   ;;
   12266 
   12267 netbsd*)
   12268   version_type=sunos
   12269   need_lib_prefix=no
   12270   need_version=no
   12271   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12272     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12273     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12274     dynamic_linker='NetBSD (a.out) ld.so'
   12275   else
   12276     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12277     soname_spec='${libname}${release}${shared_ext}$major'
   12278     dynamic_linker='NetBSD ld.elf_so'
   12279   fi
   12280   shlibpath_var=LD_LIBRARY_PATH
   12281   shlibpath_overrides_runpath=yes
   12282   hardcode_into_libs=yes
   12283   ;;
   12284 
   12285 newsos6)
   12286   version_type=linux
   12287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12288   shlibpath_var=LD_LIBRARY_PATH
   12289   shlibpath_overrides_runpath=yes
   12290   ;;
   12291 
   12292 nto-qnx*)
   12293   version_type=linux
   12294   need_lib_prefix=no
   12295   need_version=no
   12296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12297   soname_spec='${libname}${release}${shared_ext}$major'
   12298   shlibpath_var=LD_LIBRARY_PATH
   12299   shlibpath_overrides_runpath=yes
   12300   ;;
   12301 
   12302 openbsd*)
   12303   version_type=sunos
   12304   sys_lib_dlsearch_path_spec="/usr/lib"
   12305   need_lib_prefix=no
   12306   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12307   case $host_os in
   12308     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12309     *)                         need_version=no  ;;
   12310   esac
   12311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12312   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12313   shlibpath_var=LD_LIBRARY_PATH
   12314   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12315     case $host_os in
   12316       openbsd2.[89] | openbsd2.[89].*)
   12317 	shlibpath_overrides_runpath=no
   12318 	;;
   12319       *)
   12320 	shlibpath_overrides_runpath=yes
   12321 	;;
   12322       esac
   12323   else
   12324     shlibpath_overrides_runpath=yes
   12325   fi
   12326   ;;
   12327 
   12328 os2*)
   12329   libname_spec='$name'
   12330   shrext_cmds=".dll"
   12331   need_lib_prefix=no
   12332   library_names_spec='$libname${shared_ext} $libname.a'
   12333   dynamic_linker='OS/2 ld.exe'
   12334   shlibpath_var=LIBPATH
   12335   ;;
   12336 
   12337 osf3* | osf4* | osf5*)
   12338   version_type=osf
   12339   need_lib_prefix=no
   12340   need_version=no
   12341   soname_spec='${libname}${release}${shared_ext}$major'
   12342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12343   shlibpath_var=LD_LIBRARY_PATH
   12344   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12345   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12346   ;;
   12347 
   12348 solaris*)
   12349   version_type=linux
   12350   need_lib_prefix=no
   12351   need_version=no
   12352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12353   soname_spec='${libname}${release}${shared_ext}$major'
   12354   shlibpath_var=LD_LIBRARY_PATH
   12355   shlibpath_overrides_runpath=yes
   12356   hardcode_into_libs=yes
   12357   # ldd complains unless libraries are executable
   12358   postinstall_cmds='chmod +x $lib'
   12359   ;;
   12360 
   12361 sunos4*)
   12362   version_type=sunos
   12363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12364   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12365   shlibpath_var=LD_LIBRARY_PATH
   12366   shlibpath_overrides_runpath=yes
   12367   if test "$with_gnu_ld" = yes; then
   12368     need_lib_prefix=no
   12369   fi
   12370   need_version=yes
   12371   ;;
   12372 
   12373 sysv4 | sysv4.3*)
   12374   version_type=linux
   12375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12376   soname_spec='${libname}${release}${shared_ext}$major'
   12377   shlibpath_var=LD_LIBRARY_PATH
   12378   case $host_vendor in
   12379     sni)
   12380       shlibpath_overrides_runpath=no
   12381       need_lib_prefix=no
   12382       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12383       runpath_var=LD_RUN_PATH
   12384       ;;
   12385     siemens)
   12386       need_lib_prefix=no
   12387       ;;
   12388     motorola)
   12389       need_lib_prefix=no
   12390       need_version=no
   12391       shlibpath_overrides_runpath=no
   12392       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12393       ;;
   12394   esac
   12395   ;;
   12396 
   12397 sysv4*MP*)
   12398   if test -d /usr/nec ;then
   12399     version_type=linux
   12400     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12401     soname_spec='$libname${shared_ext}.$major'
   12402     shlibpath_var=LD_LIBRARY_PATH
   12403   fi
   12404   ;;
   12405 
   12406 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12407   version_type=freebsd-elf
   12408   need_lib_prefix=no
   12409   need_version=no
   12410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12411   soname_spec='${libname}${release}${shared_ext}$major'
   12412   shlibpath_var=LD_LIBRARY_PATH
   12413   hardcode_into_libs=yes
   12414   if test "$with_gnu_ld" = yes; then
   12415     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12416     shlibpath_overrides_runpath=no
   12417   else
   12418     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12419     shlibpath_overrides_runpath=yes
   12420     case $host_os in
   12421       sco3.2v5*)
   12422         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12423 	;;
   12424     esac
   12425   fi
   12426   sys_lib_dlsearch_path_spec='/usr/lib'
   12427   ;;
   12428 
   12429 uts4*)
   12430   version_type=linux
   12431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12432   soname_spec='${libname}${release}${shared_ext}$major'
   12433   shlibpath_var=LD_LIBRARY_PATH
   12434   ;;
   12435 
   12436 *)
   12437   dynamic_linker=no
   12438   ;;
   12439 esac
   12440 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   12441 echo "${ECHO_T}$dynamic_linker" >&6
   12442 test "$dynamic_linker" = no && can_build_shared=no
   12443 
   12444 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12445 if test "$GCC" = yes; then
   12446   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12447 fi
   12448 
   12449 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   12450 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   12451 hardcode_action_CXX=
   12452 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   12453    test -n "$runpath_var_CXX" || \
   12454    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   12455 
   12456   # We can hardcode non-existant directories.
   12457   if test "$hardcode_direct_CXX" != no &&
   12458      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12459      # have to relink, otherwise we might link with an installed library
   12460      # when we should be linking with a yet-to-be-installed one
   12461      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   12462      test "$hardcode_minus_L_CXX" != no; then
   12463     # Linking always hardcodes the temporary library directory.
   12464     hardcode_action_CXX=relink
   12465   else
   12466     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12467     hardcode_action_CXX=immediate
   12468   fi
   12469 else
   12470   # We cannot hardcode anything, or else we can only hardcode existing
   12471   # directories.
   12472   hardcode_action_CXX=unsupported
   12473 fi
   12474 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   12475 echo "${ECHO_T}$hardcode_action_CXX" >&6
   12476 
   12477 if test "$hardcode_action_CXX" = relink; then
   12478   # Fast installation is not supported
   12479   enable_fast_install=no
   12480 elif test "$shlibpath_overrides_runpath" = yes ||
   12481      test "$enable_shared" = no; then
   12482   # Fast installation is not necessary
   12483   enable_fast_install=needless
   12484 fi
   12485 
   12486 
   12487 # The else clause should only fire when bootstrapping the
   12488 # libtool distribution, otherwise you forgot to ship ltmain.sh
   12489 # with your package, and you will get complaints that there are
   12490 # no rules to generate ltmain.sh.
   12491 if test -f "$ltmain"; then
   12492   # See if we are running on zsh, and set the options which allow our commands through
   12493   # without removal of \ escapes.
   12494   if test -n "${ZSH_VERSION+set}" ; then
   12495     setopt NO_GLOB_SUBST
   12496   fi
   12497   # Now quote all the things that may contain metacharacters while being
   12498   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   12499   # variables and quote the copies for generation of the libtool script.
   12500   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   12501     SED SHELL STRIP \
   12502     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   12503     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   12504     deplibs_check_method reload_flag reload_cmds need_locks \
   12505     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   12506     lt_cv_sys_global_symbol_to_c_name_address \
   12507     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   12508     old_postinstall_cmds old_postuninstall_cmds \
   12509     compiler_CXX \
   12510     CC_CXX \
   12511     LD_CXX \
   12512     lt_prog_compiler_wl_CXX \
   12513     lt_prog_compiler_pic_CXX \
   12514     lt_prog_compiler_static_CXX \
   12515     lt_prog_compiler_no_builtin_flag_CXX \
   12516     export_dynamic_flag_spec_CXX \
   12517     thread_safe_flag_spec_CXX \
   12518     whole_archive_flag_spec_CXX \
   12519     enable_shared_with_static_runtimes_CXX \
   12520     old_archive_cmds_CXX \
   12521     old_archive_from_new_cmds_CXX \
   12522     predep_objects_CXX \
   12523     postdep_objects_CXX \
   12524     predeps_CXX \
   12525     postdeps_CXX \
   12526     compiler_lib_search_path_CXX \
   12527     archive_cmds_CXX \
   12528     archive_expsym_cmds_CXX \
   12529     postinstall_cmds_CXX \
   12530     postuninstall_cmds_CXX \
   12531     old_archive_from_expsyms_cmds_CXX \
   12532     allow_undefined_flag_CXX \
   12533     no_undefined_flag_CXX \
   12534     export_symbols_cmds_CXX \
   12535     hardcode_libdir_flag_spec_CXX \
   12536     hardcode_libdir_flag_spec_ld_CXX \
   12537     hardcode_libdir_separator_CXX \
   12538     hardcode_automatic_CXX \
   12539     module_cmds_CXX \
   12540     module_expsym_cmds_CXX \
   12541     lt_cv_prog_compiler_c_o_CXX \
   12542     exclude_expsyms_CXX \
   12543     include_expsyms_CXX; do
   12544 
   12545     case $var in
   12546     old_archive_cmds_CXX | \
   12547     old_archive_from_new_cmds_CXX | \
   12548     archive_cmds_CXX | \
   12549     archive_expsym_cmds_CXX | \
   12550     module_cmds_CXX | \
   12551     module_expsym_cmds_CXX | \
   12552     old_archive_from_expsyms_cmds_CXX | \
   12553     export_symbols_cmds_CXX | \
   12554     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   12555     postinstall_cmds | postuninstall_cmds | \
   12556     old_postinstall_cmds | old_postuninstall_cmds | \
   12557     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   12558       # Double-quote double-evaled strings.
   12559       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   12560       ;;
   12561     *)
   12562       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   12563       ;;
   12564     esac
   12565   done
   12566 
   12567   case $lt_echo in
   12568   *'\$0 --fallback-echo"')
   12569     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   12570     ;;
   12571   esac
   12572 
   12573 cfgfile="$ofile"
   12574 
   12575   cat <<__EOF__ >> "$cfgfile"
   12576 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   12577 
   12578 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   12579 
   12580 # Shell to use when invoking shell scripts.
   12581 SHELL=$lt_SHELL
   12582 
   12583 # Whether or not to build shared libraries.
   12584 build_libtool_libs=$enable_shared
   12585 
   12586 # Whether or not to build static libraries.
   12587 build_old_libs=$enable_static
   12588 
   12589 # Whether or not to add -lc for building shared libraries.
   12590 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   12591 
   12592 # Whether or not to disallow shared libs when runtime libs are static
   12593 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   12594 
   12595 # Whether or not to optimize for fast installation.
   12596 fast_install=$enable_fast_install
   12597 
   12598 # The host system.
   12599 host_alias=$host_alias
   12600 host=$host
   12601 host_os=$host_os
   12602 
   12603 # The build system.
   12604 build_alias=$build_alias
   12605 build=$build
   12606 build_os=$build_os
   12607 
   12608 # An echo program that does not interpret backslashes.
   12609 echo=$lt_echo
   12610 
   12611 # The archiver.
   12612 AR=$lt_AR
   12613 AR_FLAGS=$lt_AR_FLAGS
   12614 
   12615 # A C compiler.
   12616 LTCC=$lt_LTCC
   12617 
   12618 # LTCC compiler flags.
   12619 LTCFLAGS=$lt_LTCFLAGS
   12620 
   12621 # A language-specific compiler.
   12622 CC=$lt_compiler_CXX
   12623 
   12624 # Is the compiler the GNU C compiler?
   12625 with_gcc=$GCC_CXX
   12626 
   12627 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
   12628 gcc_ver=\`gcc -dumpversion\`
   12629 
   12630 # An ERE matcher.
   12631 EGREP=$lt_EGREP
   12632 
   12633 # The linker used to build libraries.
   12634 LD=$lt_LD_CXX
   12635 
   12636 # Whether we need hard or soft links.
   12637 LN_S=$lt_LN_S
   12638 
   12639 # A BSD-compatible nm program.
   12640 NM=$lt_NM
   12641 
   12642 # A symbol stripping program
   12643 STRIP=$lt_STRIP
   12644 
   12645 # Used to examine libraries when file_magic_cmd begins "file"
   12646 MAGIC_CMD=$MAGIC_CMD
   12647 
   12648 # Used on cygwin: DLL creation program.
   12649 DLLTOOL="$DLLTOOL"
   12650 
   12651 # Used on cygwin: object dumper.
   12652 OBJDUMP="$OBJDUMP"
   12653 
   12654 # Used on cygwin: assembler.
   12655 AS="$AS"
   12656 
   12657 # The name of the directory that contains temporary libtool files.
   12658 objdir=$objdir
   12659 
   12660 # How to create reloadable object files.
   12661 reload_flag=$lt_reload_flag
   12662 reload_cmds=$lt_reload_cmds
   12663 
   12664 # How to pass a linker flag through the compiler.
   12665 wl=$lt_lt_prog_compiler_wl_CXX
   12666 
   12667 # Object file suffix (normally "o").
   12668 objext="$ac_objext"
   12669 
   12670 # Old archive suffix (normally "a").
   12671 libext="$libext"
   12672 
   12673 # Shared library suffix (normally ".so").
   12674 shrext_cmds='$shrext_cmds'
   12675 
   12676 # Executable file suffix (normally "").
   12677 exeext="$exeext"
   12678 
   12679 # Additional compiler flags for building library objects.
   12680 pic_flag=$lt_lt_prog_compiler_pic_CXX
   12681 pic_mode=$pic_mode
   12682 
   12683 # What is the maximum length of a command?
   12684 max_cmd_len=$lt_cv_sys_max_cmd_len
   12685 
   12686 # Does compiler simultaneously support -c and -o options?
   12687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   12688 
   12689 # Must we lock files when doing compilation?
   12690 need_locks=$lt_need_locks
   12691 
   12692 # Do we need the lib prefix for modules?
   12693 need_lib_prefix=$need_lib_prefix
   12694 
   12695 # Do we need a version for libraries?
   12696 need_version=$need_version
   12697 
   12698 # Whether dlopen is supported.
   12699 dlopen_support=$enable_dlopen
   12700 
   12701 # Whether dlopen of programs is supported.
   12702 dlopen_self=$enable_dlopen_self
   12703 
   12704 # Whether dlopen of statically linked programs is supported.
   12705 dlopen_self_static=$enable_dlopen_self_static
   12706 
   12707 # Compiler flag to prevent dynamic linking.
   12708 link_static_flag=$lt_lt_prog_compiler_static_CXX
   12709 
   12710 # Compiler flag to turn off builtin functions.
   12711 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   12712 
   12713 # Compiler flag to allow reflexive dlopens.
   12714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   12715 
   12716 # Compiler flag to generate shared objects directly from archives.
   12717 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   12718 
   12719 # Compiler flag to generate thread-safe objects.
   12720 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   12721 
   12722 # Library versioning type.
   12723 version_type=$version_type
   12724 
   12725 # Format of library name prefix.
   12726 libname_spec=$lt_libname_spec
   12727 
   12728 # List of archive names.  First name is the real one, the rest are links.
   12729 # The last name is the one that the linker finds with -lNAME.
   12730 library_names_spec=$lt_library_names_spec
   12731 
   12732 # The coded name of the library, if different from the real name.
   12733 soname_spec=$lt_soname_spec
   12734 
   12735 # Commands used to build and install an old-style archive.
   12736 RANLIB=$lt_RANLIB
   12737 old_archive_cmds=$lt_old_archive_cmds_CXX
   12738 old_postinstall_cmds=$lt_old_postinstall_cmds
   12739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   12740 
   12741 # Create an old-style archive from a shared archive.
   12742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   12743 
   12744 # Create a temporary old-style archive to link instead of a shared archive.
   12745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   12746 
   12747 # Commands used to build and install a shared archive.
   12748 archive_cmds=$lt_archive_cmds_CXX
   12749 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   12750 postinstall_cmds=$lt_postinstall_cmds
   12751 postuninstall_cmds=$lt_postuninstall_cmds
   12752 
   12753 # Commands used to build a loadable module (assumed same as above if empty)
   12754 module_cmds=$lt_module_cmds_CXX
   12755 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   12756 
   12757 # Commands to strip libraries.
   12758 old_striplib=$lt_old_striplib
   12759 striplib=$lt_striplib
   12760 
   12761 # Dependencies to place before the objects being linked to create a
   12762 # shared library.
   12763 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   12764 
   12765 # Dependencies to place after the objects being linked to create a
   12766 # shared library.
   12767 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   12768 
   12769 # Dependencies to place before the objects being linked to create a
   12770 # shared library.
   12771 predeps=$lt_predeps_CXX
   12772 
   12773 # Dependencies to place after the objects being linked to create a
   12774 # shared library.
   12775 postdeps=$lt_postdeps_CXX
   12776 
   12777 # The library search path used internally by the compiler when linking
   12778 # a shared library.
   12779 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   12780 
   12781 # Method to check whether dependent libraries are shared objects.
   12782 deplibs_check_method=$lt_deplibs_check_method
   12783 
   12784 # Command to use when deplibs_check_method == file_magic.
   12785 file_magic_cmd=$lt_file_magic_cmd
   12786 
   12787 # Flag that allows shared libraries with undefined symbols to be built.
   12788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   12789 
   12790 # Flag that forces no undefined symbols.
   12791 no_undefined_flag=$lt_no_undefined_flag_CXX
   12792 
   12793 # Commands used to finish a libtool library installation in a directory.
   12794 finish_cmds=$lt_finish_cmds
   12795 
   12796 # Same as above, but a single script fragment to be evaled but not shown.
   12797 finish_eval=$lt_finish_eval
   12798 
   12799 # Take the output of nm and produce a listing of raw symbols and C names.
   12800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   12801 
   12802 # Transform the output of nm in a proper C declaration
   12803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   12804 
   12805 # Transform the output of nm in a C name address pair
   12806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   12807 
   12808 # This is the shared library runtime path variable.
   12809 runpath_var=$runpath_var
   12810 
   12811 # This is the shared library path variable.
   12812 shlibpath_var=$shlibpath_var
   12813 
   12814 # Is shlibpath searched before the hard-coded library search path?
   12815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   12816 
   12817 # How to hardcode a shared library path into an executable.
   12818 hardcode_action=$hardcode_action_CXX
   12819 
   12820 # Whether we should hardcode library paths into libraries.
   12821 hardcode_into_libs=$hardcode_into_libs
   12822 
   12823 # Flag to hardcode \$libdir into a binary during linking.
   12824 # This must work even if \$libdir does not exist.
   12825 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   12826 
   12827 # If ld is used when linking, flag to hardcode \$libdir into
   12828 # a binary during linking. This must work even if \$libdir does
   12829 # not exist.
   12830 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   12831 
   12832 # Whether we need a single -rpath flag with a separated argument.
   12833 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   12834 
   12835 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   12836 # resulting binary.
   12837 hardcode_direct=$hardcode_direct_CXX
   12838 
   12839 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   12840 # resulting binary.
   12841 hardcode_minus_L=$hardcode_minus_L_CXX
   12842 
   12843 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   12844 # the resulting binary.
   12845 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   12846 
   12847 # Set to yes if building a shared library automatically hardcodes DIR into the library
   12848 # and all subsequent libraries and executables linked against it.
   12849 hardcode_automatic=$hardcode_automatic_CXX
   12850 
   12851 # Variables whose values should be saved in libtool wrapper scripts and
   12852 # restored at relink time.
   12853 variables_saved_for_relink="$variables_saved_for_relink"
   12854 
   12855 # Whether libtool must link a program against all its dependency libraries.
   12856 link_all_deplibs=$link_all_deplibs_CXX
   12857 
   12858 # Compile-time system search path for libraries
   12859 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   12860 
   12861 # Run-time system search path for libraries
   12862 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   12863 
   12864 # Fix the shell variable \$srcfile for the compiler.
   12865 fix_srcfile_path="$fix_srcfile_path_CXX"
   12866 
   12867 # Set to yes if exported symbols are required.
   12868 always_export_symbols=$always_export_symbols_CXX
   12869 
   12870 # The commands to list exported symbols.
   12871 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   12872 
   12873 # The commands to extract the exported symbol list from a shared archive.
   12874 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   12875 
   12876 # Symbols that should not be listed in the preloaded symbols.
   12877 exclude_expsyms=$lt_exclude_expsyms_CXX
   12878 
   12879 # Symbols that must always be exported.
   12880 include_expsyms=$lt_include_expsyms_CXX
   12881 
   12882 # ### END LIBTOOL TAG CONFIG: $tagname
   12883 
   12884 __EOF__
   12885 
   12886 
   12887 else
   12888   # If there is no Makefile yet, we rely on a make rule to execute
   12889   # `config.status --recheck' to rerun these tests and create the
   12890   # libtool script then.
   12891   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   12892   if test -f "$ltmain_in"; then
   12893     test -f Makefile && make "$ltmain"
   12894   fi
   12895 fi
   12896 
   12897 
   12898 ac_ext=c
   12899 ac_cpp='$CPP $CPPFLAGS'
   12900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12903 
   12904 CC=$lt_save_CC
   12905 LDCXX=$LD
   12906 LD=$lt_save_LD
   12907 GCC=$lt_save_GCC
   12908 with_gnu_ldcxx=$with_gnu_ld
   12909 with_gnu_ld=$lt_save_with_gnu_ld
   12910 lt_cv_path_LDCXX=$lt_cv_path_LD
   12911 lt_cv_path_LD=$lt_save_path_LD
   12912 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   12913 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   12914 
   12915 	else
   12916 	  tagname=""
   12917 	fi
   12918 	;;
   12919 
   12920       F77)
   12921 	if test -n "$F77" && test "X$F77" != "Xno"; then
   12922 
   12923 ac_ext=f
   12924 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   12925 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12926 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   12927 
   12928 
   12929 archive_cmds_need_lc_F77=no
   12930 allow_undefined_flag_F77=
   12931 always_export_symbols_F77=no
   12932 archive_expsym_cmds_F77=
   12933 export_dynamic_flag_spec_F77=
   12934 hardcode_direct_F77=no
   12935 hardcode_libdir_flag_spec_F77=
   12936 hardcode_libdir_flag_spec_ld_F77=
   12937 hardcode_libdir_separator_F77=
   12938 hardcode_minus_L_F77=no
   12939 hardcode_automatic_F77=no
   12940 module_cmds_F77=
   12941 module_expsym_cmds_F77=
   12942 link_all_deplibs_F77=unknown
   12943 old_archive_cmds_F77=$old_archive_cmds
   12944 no_undefined_flag_F77=
   12945 whole_archive_flag_spec_F77=
   12946 enable_shared_with_static_runtimes_F77=no
   12947 
   12948 # Source file extension for f77 test sources.
   12949 ac_ext=f
   12950 
   12951 # Object file extension for compiled f77 test sources.
   12952 objext=o
   12953 objext_F77=$objext
   12954 
   12955 # Code to be used in simple compile tests
   12956 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   12957 
   12958 # Code to be used in simple link tests
   12959 lt_simple_link_test_code="      program t\n      end\n"
   12960 
   12961 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12962 
   12963 # If no C compiler was specified, use CC.
   12964 LTCC=${LTCC-"$CC"}
   12965 
   12966 # If no C compiler flags were specified, use CFLAGS.
   12967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12968 
   12969 # Allow CC to be a program name with arguments.
   12970 compiler=$CC
   12971 
   12972 
   12973 # save warnings/boilerplate of simple test code
   12974 ac_outfile=conftest.$ac_objext
   12975 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   12976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12977 _lt_compiler_boilerplate=`cat conftest.err`
   12978 $rm conftest*
   12979 
   12980 ac_outfile=conftest.$ac_objext
   12981 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   12982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12983 _lt_linker_boilerplate=`cat conftest.err`
   12984 $rm conftest*
   12985 
   12986 
   12987 # Allow CC to be a program name with arguments.
   12988 lt_save_CC="$CC"
   12989 CC=${F77-"f77"}
   12990 compiler=$CC
   12991 compiler_F77=$CC
   12992 for cc_temp in $compiler""; do
   12993   case $cc_temp in
   12994     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12995     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12996     \-*) ;;
   12997     *) break;;
   12998   esac
   12999 done
   13000 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13001 
   13002 
   13003 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13004 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   13005 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13006 echo "${ECHO_T}$can_build_shared" >&6
   13007 
   13008 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13009 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   13010 test "$can_build_shared" = "no" && enable_shared=no
   13011 
   13012 # On AIX, shared libraries and static libraries use the same namespace, and
   13013 # are all built from PIC.
   13014 case $host_os in
   13015 aix3*)
   13016   test "$enable_shared" = yes && enable_static=no
   13017   if test -n "$RANLIB"; then
   13018     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13019     postinstall_cmds='$RANLIB $lib'
   13020   fi
   13021   ;;
   13022 aix4* | aix5*)
   13023   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13024     test "$enable_shared" = yes && enable_static=no
   13025   fi
   13026   ;;
   13027 esac
   13028 echo "$as_me:$LINENO: result: $enable_shared" >&5
   13029 echo "${ECHO_T}$enable_shared" >&6
   13030 
   13031 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13032 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   13033 # Make sure either enable_shared or enable_static is yes.
   13034 test "$enable_shared" = yes || enable_static=yes
   13035 echo "$as_me:$LINENO: result: $enable_static" >&5
   13036 echo "${ECHO_T}$enable_static" >&6
   13037 
   13038 GCC_F77="$G77"
   13039 LD_F77="$LD"
   13040 
   13041 lt_prog_compiler_wl_F77=
   13042 lt_prog_compiler_pic_F77=
   13043 lt_prog_compiler_static_F77=
   13044 
   13045 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13046 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   13047 
   13048   if test "$GCC" = yes; then
   13049     lt_prog_compiler_wl_F77='-Wl,'
   13050     lt_prog_compiler_static_F77='-static'
   13051 
   13052     case $host_os in
   13053       aix*)
   13054       # All AIX code is PIC.
   13055       if test "$host_cpu" = ia64; then
   13056 	# AIX 5 now supports IA64 processor
   13057 	lt_prog_compiler_static_F77='-Bstatic'
   13058       fi
   13059       ;;
   13060 
   13061     amigaos*)
   13062       # FIXME: we need at least 68020 code to build shared libraries, but
   13063       # adding the `-m68020' flag to GCC prevents building anything better,
   13064       # like `-m68040'.
   13065       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13066       ;;
   13067 
   13068     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13069       # PIC is the default for these OSes.
   13070       ;;
   13071 
   13072     mingw* | pw32* | os2*)
   13073       # This hack is so that the source file can tell whether it is being
   13074       # built for inclusion in a dll (and should export symbols for example).
   13075       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13076       ;;
   13077 
   13078     darwin* | rhapsody*)
   13079       # PIC is the default on this platform
   13080       # Common symbols not allowed in MH_DYLIB files
   13081       lt_prog_compiler_pic_F77='-fno-common'
   13082       ;;
   13083 
   13084     interix3*)
   13085       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13086       # Instead, we relocate shared libraries at runtime.
   13087       ;;
   13088 
   13089     msdosdjgpp*)
   13090       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13091       # on systems that don't support them.
   13092       lt_prog_compiler_can_build_shared_F77=no
   13093       enable_shared=no
   13094       ;;
   13095 
   13096     sysv4*MP*)
   13097       if test -d /usr/nec; then
   13098 	lt_prog_compiler_pic_F77=-Kconform_pic
   13099       fi
   13100       ;;
   13101 
   13102     hpux*)
   13103       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13104       # not for PA HP-UX.
   13105       case $host_cpu in
   13106       hppa*64*|ia64*)
   13107 	# +Z the default
   13108 	;;
   13109       *)
   13110 	lt_prog_compiler_pic_F77='-fPIC'
   13111 	;;
   13112       esac
   13113       ;;
   13114 
   13115     *)
   13116       lt_prog_compiler_pic_F77='-fPIC'
   13117       ;;
   13118     esac
   13119   else
   13120     # PORTME Check for flag to pass linker flags through the system compiler.
   13121     case $host_os in
   13122     aix*)
   13123       lt_prog_compiler_wl_F77='-Wl,'
   13124       if test "$host_cpu" = ia64; then
   13125 	# AIX 5 now supports IA64 processor
   13126 	lt_prog_compiler_static_F77='-Bstatic'
   13127       else
   13128 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13129       fi
   13130       ;;
   13131       darwin*)
   13132         # PIC is the default on this platform
   13133         # Common symbols not allowed in MH_DYLIB files
   13134        case $cc_basename in
   13135          xlc*)
   13136          lt_prog_compiler_pic_F77='-qnocommon'
   13137          lt_prog_compiler_wl_F77='-Wl,'
   13138          ;;
   13139        esac
   13140        ;;
   13141 
   13142     mingw* | pw32* | os2*)
   13143       # This hack is so that the source file can tell whether it is being
   13144       # built for inclusion in a dll (and should export symbols for example).
   13145       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13146       ;;
   13147 
   13148     hpux9* | hpux10* | hpux11*)
   13149       lt_prog_compiler_wl_F77='-Wl,'
   13150       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13151       # not for PA HP-UX.
   13152       case $host_cpu in
   13153       hppa*64*|ia64*)
   13154 	# +Z the default
   13155 	;;
   13156       *)
   13157 	lt_prog_compiler_pic_F77='+Z'
   13158 	;;
   13159       esac
   13160       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13161       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13162       ;;
   13163 
   13164     irix5* | irix6* | nonstopux*)
   13165       lt_prog_compiler_wl_F77='-Wl,'
   13166       # PIC (with -KPIC) is the default.
   13167       lt_prog_compiler_static_F77='-non_shared'
   13168       ;;
   13169 
   13170     newsos6)
   13171       lt_prog_compiler_pic_F77='-KPIC'
   13172       lt_prog_compiler_static_F77='-Bstatic'
   13173       ;;
   13174 
   13175     linux*)
   13176       case $cc_basename in
   13177       icc* | ecc*)
   13178 	lt_prog_compiler_wl_F77='-Wl,'
   13179 	lt_prog_compiler_pic_F77='-KPIC'
   13180 	lt_prog_compiler_static_F77='-static'
   13181         ;;
   13182       pgcc* | pgf77* | pgf90* | pgf95*)
   13183         # Portland Group compilers (*not* the Pentium gcc compiler,
   13184 	# which looks to be a dead project)
   13185 	lt_prog_compiler_wl_F77='-Wl,'
   13186 	lt_prog_compiler_pic_F77='-fpic'
   13187 	lt_prog_compiler_static_F77='-Bstatic'
   13188         ;;
   13189       ccc*)
   13190         lt_prog_compiler_wl_F77='-Wl,'
   13191         # All Alpha code is PIC.
   13192         lt_prog_compiler_static_F77='-non_shared'
   13193         ;;
   13194       esac
   13195       ;;
   13196 
   13197     osf3* | osf4* | osf5*)
   13198       lt_prog_compiler_wl_F77='-Wl,'
   13199       # All OSF/1 code is PIC.
   13200       lt_prog_compiler_static_F77='-non_shared'
   13201       ;;
   13202 
   13203     solaris*)
   13204       lt_prog_compiler_pic_F77='-KPIC'
   13205       lt_prog_compiler_static_F77='-Bstatic'
   13206       case $cc_basename in
   13207       f77* | f90* | f95*)
   13208 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13209       *)
   13210 	lt_prog_compiler_wl_F77='-Wl,';;
   13211       esac
   13212       ;;
   13213 
   13214     sunos4*)
   13215       lt_prog_compiler_wl_F77='-Qoption ld '
   13216       lt_prog_compiler_pic_F77='-PIC'
   13217       lt_prog_compiler_static_F77='-Bstatic'
   13218       ;;
   13219 
   13220     sysv4 | sysv4.2uw2* | sysv4.3*)
   13221       lt_prog_compiler_wl_F77='-Wl,'
   13222       lt_prog_compiler_pic_F77='-KPIC'
   13223       lt_prog_compiler_static_F77='-Bstatic'
   13224       ;;
   13225 
   13226     sysv4*MP*)
   13227       if test -d /usr/nec ;then
   13228 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13229 	lt_prog_compiler_static_F77='-Bstatic'
   13230       fi
   13231       ;;
   13232 
   13233     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13234       lt_prog_compiler_wl_F77='-Wl,'
   13235       lt_prog_compiler_pic_F77='-KPIC'
   13236       lt_prog_compiler_static_F77='-Bstatic'
   13237       ;;
   13238 
   13239     unicos*)
   13240       lt_prog_compiler_wl_F77='-Wl,'
   13241       lt_prog_compiler_can_build_shared_F77=no
   13242       ;;
   13243 
   13244     uts4*)
   13245       lt_prog_compiler_pic_F77='-pic'
   13246       lt_prog_compiler_static_F77='-Bstatic'
   13247       ;;
   13248 
   13249     *)
   13250       lt_prog_compiler_can_build_shared_F77=no
   13251       ;;
   13252     esac
   13253   fi
   13254 
   13255 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13256 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
   13257 
   13258 #
   13259 # Check to make sure the PIC flag actually works.
   13260 #
   13261 if test -n "$lt_prog_compiler_pic_F77"; then
   13262 
   13263 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13264 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
   13265 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13266   echo $ECHO_N "(cached) $ECHO_C" >&6
   13267 else
   13268   lt_prog_compiler_pic_works_F77=no
   13269   ac_outfile=conftest.$ac_objext
   13270    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13271    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13272    # Insert the option either (1) after the last *FLAGS variable, or
   13273    # (2) before a word containing "conftest.", or (3) at the end.
   13274    # Note that $ac_compile itself does not contain backslashes and begins
   13275    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13276    # The option is referenced via a variable to avoid confusing sed.
   13277    lt_compile=`echo "$ac_compile" | $SED \
   13278    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13279    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13280    -e 's:$: $lt_compiler_flag:'`
   13281    (eval echo "\"\$as_me:13281: $lt_compile\"" >&5)
   13282    (eval "$lt_compile" 2>conftest.err)
   13283    ac_status=$?
   13284    cat conftest.err >&5
   13285    echo "$as_me:13285: \$? = $ac_status" >&5
   13286    if (exit $ac_status) && test -s "$ac_outfile"; then
   13287      # The compiler can only warn and ignore the option if not recognized
   13288      # So say no if there are warnings other than the usual output.
   13289      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13290      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13291      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13292        lt_prog_compiler_pic_works_F77=yes
   13293      fi
   13294    fi
   13295    $rm conftest*
   13296 
   13297 fi
   13298 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13299 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
   13300 
   13301 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13302     case $lt_prog_compiler_pic_F77 in
   13303      "" | " "*) ;;
   13304      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13305      esac
   13306 else
   13307     lt_prog_compiler_pic_F77=
   13308      lt_prog_compiler_can_build_shared_F77=no
   13309 fi
   13310 
   13311 fi
   13312 case $host_os in
   13313   # For platforms which do not support PIC, -DPIC is meaningless:
   13314   *djgpp*)
   13315     lt_prog_compiler_pic_F77=
   13316     ;;
   13317   *)
   13318     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13319     ;;
   13320 esac
   13321 
   13322 #
   13323 # Check to make sure the static flag actually works.
   13324 #
   13325 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13326 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13327 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   13328 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13329   echo $ECHO_N "(cached) $ECHO_C" >&6
   13330 else
   13331   lt_prog_compiler_static_works_F77=no
   13332    save_LDFLAGS="$LDFLAGS"
   13333    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13334    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13335    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13336      # The linker can only warn and ignore the option if not recognized
   13337      # So say no if there are warnings
   13338      if test -s conftest.err; then
   13339        # Append any errors to the config.log.
   13340        cat conftest.err 1>&5
   13341        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13342        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13343        if diff conftest.exp conftest.er2 >/dev/null; then
   13344          lt_prog_compiler_static_works_F77=yes
   13345        fi
   13346      else
   13347        lt_prog_compiler_static_works_F77=yes
   13348      fi
   13349    fi
   13350    $rm conftest*
   13351    LDFLAGS="$save_LDFLAGS"
   13352 
   13353 fi
   13354 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13355 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
   13356 
   13357 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13358     :
   13359 else
   13360     lt_prog_compiler_static_F77=
   13361 fi
   13362 
   13363 
   13364 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13365 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   13366 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13367   echo $ECHO_N "(cached) $ECHO_C" >&6
   13368 else
   13369   lt_cv_prog_compiler_c_o_F77=no
   13370    $rm -r conftest 2>/dev/null
   13371    mkdir conftest
   13372    cd conftest
   13373    mkdir out
   13374    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13375 
   13376    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13377    # Insert the option either (1) after the last *FLAGS variable, or
   13378    # (2) before a word containing "conftest.", or (3) at the end.
   13379    # Note that $ac_compile itself does not contain backslashes and begins
   13380    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13381    lt_compile=`echo "$ac_compile" | $SED \
   13382    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13383    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13384    -e 's:$: $lt_compiler_flag:'`
   13385    (eval echo "\"\$as_me:13385: $lt_compile\"" >&5)
   13386    (eval "$lt_compile" 2>out/conftest.err)
   13387    ac_status=$?
   13388    cat out/conftest.err >&5
   13389    echo "$as_me:13389: \$? = $ac_status" >&5
   13390    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13391    then
   13392      # The compiler can only warn and ignore the option if not recognized
   13393      # So say no if there are warnings
   13394      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13395      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13396      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13397        lt_cv_prog_compiler_c_o_F77=yes
   13398      fi
   13399    fi
   13400    chmod u+w . 2>&5
   13401    $rm conftest*
   13402    # SGI C++ compiler will create directory out/ii_files/ for
   13403    # template instantiation
   13404    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13405    $rm out/* && rmdir out
   13406    cd ..
   13407    rmdir conftest
   13408    $rm conftest*
   13409 
   13410 fi
   13411 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   13412 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
   13413 
   13414 
   13415 hard_links="nottested"
   13416 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   13417   # do not overwrite the value of need_locks provided by the user
   13418   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13419 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   13420   hard_links=yes
   13421   $rm conftest*
   13422   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13423   touch conftest.a
   13424   ln conftest.a conftest.b 2>&5 || hard_links=no
   13425   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13426   echo "$as_me:$LINENO: result: $hard_links" >&5
   13427 echo "${ECHO_T}$hard_links" >&6
   13428   if test "$hard_links" = no; then
   13429     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13430 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13431     need_locks=warn
   13432   fi
   13433 else
   13434   need_locks=no
   13435 fi
   13436 
   13437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   13439 
   13440   runpath_var=
   13441   allow_undefined_flag_F77=
   13442   enable_shared_with_static_runtimes_F77=no
   13443   archive_cmds_F77=
   13444   archive_expsym_cmds_F77=
   13445   old_archive_From_new_cmds_F77=
   13446   old_archive_from_expsyms_cmds_F77=
   13447   export_dynamic_flag_spec_F77=
   13448   whole_archive_flag_spec_F77=
   13449   thread_safe_flag_spec_F77=
   13450   hardcode_libdir_flag_spec_F77=
   13451   hardcode_libdir_flag_spec_ld_F77=
   13452   hardcode_libdir_separator_F77=
   13453   hardcode_direct_F77=no
   13454   hardcode_minus_L_F77=no
   13455   hardcode_shlibpath_var_F77=unsupported
   13456   link_all_deplibs_F77=unknown
   13457   hardcode_automatic_F77=no
   13458   module_cmds_F77=
   13459   module_expsym_cmds_F77=
   13460   always_export_symbols_F77=no
   13461   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13462   # include_expsyms should be a list of space-separated symbols to be *always*
   13463   # included in the symbol list
   13464   include_expsyms_F77=
   13465   # exclude_expsyms can be an extended regexp of symbols to exclude
   13466   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   13467   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   13468   # as well as any symbol that contains `d'.
   13469   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   13470   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13471   # platforms (ab)use it in PIC code, but their linkers get confused if
   13472   # the symbol is explicitly referenced.  Since portable code cannot
   13473   # rely on this symbol name, it's probably fine to never include it in
   13474   # preloaded symbol tables.
   13475   extract_expsyms_cmds=
   13476   # Just being paranoid about ensuring that cc_basename is set.
   13477   for cc_temp in $compiler""; do
   13478   case $cc_temp in
   13479     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13480     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13481     \-*) ;;
   13482     *) break;;
   13483   esac
   13484 done
   13485 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13486 
   13487   case $host_os in
   13488   cygwin* | mingw* | pw32*)
   13489     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   13490     # When not using gcc, we currently assume that we are using
   13491     # Microsoft Visual C++.
   13492     if test "$GCC" != yes; then
   13493       with_gnu_ld=no
   13494     fi
   13495     ;;
   13496   interix*)
   13497     # we just hope/assume this is gcc and not c89 (= MSVC++)
   13498     with_gnu_ld=yes
   13499     ;;
   13500   openbsd*)
   13501     with_gnu_ld=no
   13502     ;;
   13503   esac
   13504 
   13505   ld_shlibs_F77=yes
   13506   if test "$with_gnu_ld" = yes; then
   13507     # If archive_cmds runs LD, not CC, wlarc should be empty
   13508     wlarc='${wl}'
   13509 
   13510     # Set some defaults for GNU ld with shared library support. These
   13511     # are reset later if shared libraries are not supported. Putting them
   13512     # here allows them to be overridden if necessary.
   13513     runpath_var=LD_RUN_PATH
   13514     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   13515     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   13516     # ancient GNU ld didn't support --whole-archive et. al.
   13517     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   13518 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13519       else
   13520   	whole_archive_flag_spec_F77=
   13521     fi
   13522     supports_anon_versioning=no
   13523     case `$LD -v 2>/dev/null` in
   13524       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13525       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13526       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13527       *\ 2.11.*) ;; # other 2.11 versions
   13528       *) supports_anon_versioning=yes ;;
   13529     esac
   13530 
   13531     # See if GNU ld supports shared libraries.
   13532     case $host_os in
   13533     aix3* | aix4* | aix5*)
   13534       # On AIX/PPC, the GNU linker is very broken
   13535       if test "$host_cpu" != ia64; then
   13536 	ld_shlibs_F77=no
   13537 	cat <<EOF 1>&2
   13538 
   13539 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   13540 *** to be unable to reliably create shared libraries on AIX.
   13541 *** Therefore, libtool is disabling shared libraries support.  If you
   13542 *** really care for shared libraries, you may want to modify your PATH
   13543 *** so that a non-GNU linker is found, and then restart.
   13544 
   13545 EOF
   13546       fi
   13547       ;;
   13548 
   13549     amigaos*)
   13550       archive_cmds_F77='$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)'
   13551       hardcode_libdir_flag_spec_F77='-L$libdir'
   13552       hardcode_minus_L_F77=yes
   13553 
   13554       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   13555       # that the semantics of dynamic libraries on AmigaOS, at least up
   13556       # to version 4, is to share data among multiple programs linked
   13557       # with the same dynamic library.  Since this doesn't match the
   13558       # behavior of shared libraries on other platforms, we can't use
   13559       # them.
   13560       ld_shlibs_F77=no
   13561       ;;
   13562 
   13563     beos*)
   13564       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13565 	allow_undefined_flag_F77=unsupported
   13566 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13567 	# support --undefined.  This deserves some investigation.  FIXME
   13568 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13569       else
   13570 	ld_shlibs_F77=no
   13571       fi
   13572       ;;
   13573 
   13574     cygwin* | mingw* | pw32*)
   13575       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   13576       # as there is no search path for DLLs.
   13577       hardcode_libdir_flag_spec_F77='-L$libdir'
   13578       allow_undefined_flag_F77=unsupported
   13579       always_export_symbols_F77=no
   13580       enable_shared_with_static_runtimes_F77=yes
   13581       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   13582 
   13583       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   13584         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13585 	# If the export-symbols file already is a .def file (1st line
   13586 	# is EXPORTS), use it as is; otherwise, prepend...
   13587 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13588 	  cp $export_symbols $output_objdir/$soname.def;
   13589 	else
   13590 	  echo EXPORTS > $output_objdir/$soname.def;
   13591 	  cat $export_symbols >> $output_objdir/$soname.def;
   13592 	fi~
   13593 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13594       else
   13595 	ld_shlibs_F77=no
   13596       fi
   13597       ;;
   13598 
   13599     interix3*)
   13600       hardcode_direct_F77=no
   13601       hardcode_shlibpath_var_F77=no
   13602       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   13603       export_dynamic_flag_spec_F77='${wl}-E'
   13604       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13605       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13606       # default) and relocated if they conflict, which is a slow very memory
   13607       # consuming and fragmenting process.  To avoid this, we pick a random,
   13608       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13609       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13610       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13611       archive_expsym_cmds_F77='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'
   13612       ;;
   13613 
   13614     linux*)
   13615       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13616 	tmp_addflag=
   13617 	case $cc_basename,$host_cpu in
   13618 	pgcc*)				# Portland Group C compiler
   13619 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   13620 	  tmp_addflag=' $pic_flag'
   13621 	  ;;
   13622 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   13623 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   13624 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13625 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   13626 	  tmp_addflag=' -i_dynamic' ;;
   13627 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13628 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13629 	ifc* | ifort*)			# Intel Fortran compiler
   13630 	  tmp_addflag=' -nofor_main' ;;
   13631 	esac
   13632 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13633 
   13634 	if test $supports_anon_versioning = yes; then
   13635 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   13636   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13637   $echo "local: *; };" >> $output_objdir/$libname.ver~
   13638 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13639 	fi
   13640       else
   13641 	ld_shlibs_F77=no
   13642       fi
   13643       ;;
   13644 
   13645     netbsd*)
   13646       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13647 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13648 	wlarc=
   13649       else
   13650 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13651 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13652       fi
   13653       ;;
   13654 
   13655     solaris*)
   13656       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   13657 	ld_shlibs_F77=no
   13658 	cat <<EOF 1>&2
   13659 
   13660 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13661 *** create shared libraries on Solaris systems.  Therefore, libtool
   13662 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13663 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13664 *** your PATH or compiler configuration so that the native linker is
   13665 *** used, and then restart.
   13666 
   13667 EOF
   13668       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13669 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13670 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13671       else
   13672 	ld_shlibs_F77=no
   13673       fi
   13674       ;;
   13675 
   13676     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13677       case `$LD -v 2>&1` in
   13678         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13679 	ld_shlibs_F77=no
   13680 	cat <<_LT_EOF 1>&2
   13681 
   13682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   13683 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13684 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13685 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13686 *** your PATH or compiler configuration so that the native linker is
   13687 *** used, and then restart.
   13688 
   13689 _LT_EOF
   13690 	;;
   13691 	*)
   13692 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13693 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   13694 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   13695 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   13696 	  else
   13697 	    ld_shlibs_F77=no
   13698 	  fi
   13699 	;;
   13700       esac
   13701       ;;
   13702 
   13703     sunos4*)
   13704       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13705       wlarc=
   13706       hardcode_direct_F77=yes
   13707       hardcode_shlibpath_var_F77=no
   13708       ;;
   13709 
   13710     *)
   13711       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13712 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13713 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13714       else
   13715 	ld_shlibs_F77=no
   13716       fi
   13717       ;;
   13718     esac
   13719 
   13720     if test "$ld_shlibs_F77" = no; then
   13721       runpath_var=
   13722       hardcode_libdir_flag_spec_F77=
   13723       export_dynamic_flag_spec_F77=
   13724       whole_archive_flag_spec_F77=
   13725     fi
   13726   else
   13727     # PORTME fill in a description of your system's linker (not GNU ld)
   13728     case $host_os in
   13729     aix3*)
   13730       allow_undefined_flag_F77=unsupported
   13731       always_export_symbols_F77=yes
   13732       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   13733       # Note: this linker hardcodes the directories in LIBPATH if there
   13734       # are no directories specified by -L.
   13735       hardcode_minus_L_F77=yes
   13736       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   13737 	# Neither direct hardcoding nor static linking is supported with a
   13738 	# broken collect2.
   13739 	hardcode_direct_F77=unsupported
   13740       fi
   13741       ;;
   13742 
   13743     aix4* | aix5*)
   13744       if test "$host_cpu" = ia64; then
   13745 	# On IA64, the linker does run time linking by default, so we don't
   13746 	# have to do anything special.
   13747 	aix_use_runtimelinking=no
   13748 	exp_sym_flag='-Bexport'
   13749 	no_entry_flag=""
   13750       else
   13751 	# If we're using GNU nm, then we don't want the "-C" option.
   13752 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   13753 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13754 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13755 	else
   13756 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13757 	fi
   13758 	aix_use_runtimelinking=no
   13759 
   13760 	# Test if we are trying to use run time linking or normal
   13761 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13762 	# need to do runtime linking.
   13763 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   13764 	  for ld_flag in $LDFLAGS; do
   13765   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   13766   	    aix_use_runtimelinking=yes
   13767   	    break
   13768   	  fi
   13769 	  done
   13770 	  ;;
   13771 	esac
   13772 
   13773 	exp_sym_flag='-bexport'
   13774 	no_entry_flag='-bnoentry'
   13775       fi
   13776 
   13777       # When large executables or shared objects are built, AIX ld can
   13778       # have problems creating the table of contents.  If linking a library
   13779       # or program results in "error TOC overflow" add -mminimal-toc to
   13780       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13781       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13782 
   13783       archive_cmds_F77=''
   13784       hardcode_direct_F77=yes
   13785       hardcode_libdir_separator_F77=':'
   13786       link_all_deplibs_F77=yes
   13787 
   13788       if test "$GCC" = yes; then
   13789 	case $host_os in aix4.[012]|aix4.[012].*)
   13790 	# We only want to do this on AIX 4.2 and lower, the check
   13791 	# below for broken collect2 doesn't work under 4.3+
   13792 	  collect2name=`${CC} -print-prog-name=collect2`
   13793 	  if test -f "$collect2name" && \
   13794   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   13795 	  then
   13796   	  # We have reworked collect2
   13797   	  hardcode_direct_F77=yes
   13798 	  else
   13799   	  # We have old collect2
   13800   	  hardcode_direct_F77=unsupported
   13801   	  # It fails to find uninstalled libraries when the uninstalled
   13802   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   13803   	  # to unsupported forces relinking
   13804   	  hardcode_minus_L_F77=yes
   13805   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   13806   	  hardcode_libdir_separator_F77=
   13807 	  fi
   13808 	  ;;
   13809 	esac
   13810 	shared_flag='-shared'
   13811 	if test "$aix_use_runtimelinking" = yes; then
   13812 	  shared_flag="$shared_flag "'${wl}-G'
   13813 	fi
   13814       else
   13815 	# not using gcc
   13816 	if test "$host_cpu" = ia64; then
   13817   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13818   	# chokes on -Wl,-G. The following line is correct:
   13819 	  shared_flag='-G'
   13820 	else
   13821 	  if test "$aix_use_runtimelinking" = yes; then
   13822 	    shared_flag='${wl}-G'
   13823 	  else
   13824 	    shared_flag='${wl}-bM:SRE'
   13825 	  fi
   13826 	fi
   13827       fi
   13828 
   13829       # It seems that -bexpall does not export symbols beginning with
   13830       # underscore (_), so it is better to generate a list of symbols to export.
   13831       always_export_symbols_F77=yes
   13832       if test "$aix_use_runtimelinking" = yes; then
   13833 	# Warning - without using the other runtime loading flags (-brtl),
   13834 	# -berok will link without error, but may produce a broken library.
   13835 	allow_undefined_flag_F77='-berok'
   13836        # Determine the default libpath from the value encoded in an empty executable.
   13837        cat >conftest.$ac_ext <<_ACEOF
   13838       program main
   13839 
   13840       end
   13841 _ACEOF
   13842 rm -f conftest.$ac_objext conftest$ac_exeext
   13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13844   (eval $ac_link) 2>conftest.er1
   13845   ac_status=$?
   13846   grep -v '^ *+' conftest.er1 >conftest.err
   13847   rm -f conftest.er1
   13848   cat conftest.err >&5
   13849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13850   (exit $ac_status); } &&
   13851 	 { ac_try='test -z "$ac_f77_werror_flag"
   13852 			 || test ! -s conftest.err'
   13853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13854   (eval $ac_try) 2>&5
   13855   ac_status=$?
   13856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13857   (exit $ac_status); }; } &&
   13858 	 { ac_try='test -s conftest$ac_exeext'
   13859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13860   (eval $ac_try) 2>&5
   13861   ac_status=$?
   13862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13863   (exit $ac_status); }; }; then
   13864 
   13865 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13866 }'`
   13867 # Check for a 64-bit object if we didn't find anything.
   13868 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13869 }'`; fi
   13870 else
   13871   echo "$as_me: failed program was:" >&5
   13872 sed 's/^/| /' conftest.$ac_ext >&5
   13873 
   13874 fi
   13875 rm -f conftest.err conftest.$ac_objext \
   13876       conftest$ac_exeext conftest.$ac_ext
   13877 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13878 
   13879        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   13880 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   13881        else
   13882 	if test "$host_cpu" = ia64; then
   13883 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   13884 	  allow_undefined_flag_F77="-z nodefs"
   13885 	  archive_expsym_cmds_F77="\$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"
   13886 	else
   13887 	 # Determine the default libpath from the value encoded in an empty executable.
   13888 	 cat >conftest.$ac_ext <<_ACEOF
   13889       program main
   13890 
   13891       end
   13892 _ACEOF
   13893 rm -f conftest.$ac_objext conftest$ac_exeext
   13894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13895   (eval $ac_link) 2>conftest.er1
   13896   ac_status=$?
   13897   grep -v '^ *+' conftest.er1 >conftest.err
   13898   rm -f conftest.er1
   13899   cat conftest.err >&5
   13900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13901   (exit $ac_status); } &&
   13902 	 { ac_try='test -z "$ac_f77_werror_flag"
   13903 			 || test ! -s conftest.err'
   13904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13905   (eval $ac_try) 2>&5
   13906   ac_status=$?
   13907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13908   (exit $ac_status); }; } &&
   13909 	 { ac_try='test -s conftest$ac_exeext'
   13910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13911   (eval $ac_try) 2>&5
   13912   ac_status=$?
   13913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13914   (exit $ac_status); }; }; then
   13915 
   13916 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13917 }'`
   13918 # Check for a 64-bit object if we didn't find anything.
   13919 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13920 }'`; fi
   13921 else
   13922   echo "$as_me: failed program was:" >&5
   13923 sed 's/^/| /' conftest.$ac_ext >&5
   13924 
   13925 fi
   13926 rm -f conftest.err conftest.$ac_objext \
   13927       conftest$ac_exeext conftest.$ac_ext
   13928 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13929 
   13930 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   13931 	  # Warning - without using the other run time loading flags,
   13932 	  # -berok will link without error, but may produce a broken library.
   13933 	  no_undefined_flag_F77=' ${wl}-bernotok'
   13934 	  allow_undefined_flag_F77=' ${wl}-berok'
   13935 	  # Exported symbols can be pulled into shared objects from archives
   13936 	  whole_archive_flag_spec_F77='$convenience'
   13937 	  archive_cmds_need_lc_F77=yes
   13938 	  # This is similar to how AIX traditionally builds its shared libraries.
   13939 	  archive_expsym_cmds_F77="\$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'
   13940 	fi
   13941       fi
   13942       ;;
   13943 
   13944     amigaos*)
   13945       archive_cmds_F77='$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)'
   13946       hardcode_libdir_flag_spec_F77='-L$libdir'
   13947       hardcode_minus_L_F77=yes
   13948       # see comment about different semantics on the GNU ld section
   13949       ld_shlibs_F77=no
   13950       ;;
   13951 
   13952     bsdi[45]*)
   13953       export_dynamic_flag_spec_F77=-rdynamic
   13954       ;;
   13955 
   13956     cygwin* | mingw* | pw32*)
   13957       # When not using gcc, we currently assume that we are using
   13958       # Microsoft Visual C++.
   13959       # hardcode_libdir_flag_spec is actually meaningless, as there is
   13960       # no search path for DLLs.
   13961       hardcode_libdir_flag_spec_F77=' '
   13962       allow_undefined_flag_F77=unsupported
   13963       # Tell ltmain to make .lib files, not .a files.
   13964       libext=lib
   13965       # Tell ltmain to make .dll files, not .so files.
   13966       shrext_cmds=".dll"
   13967       # FIXME: Setting linknames here is a bad hack.
   13968       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   13969       # The linker will automatically build a .lib file if we build a DLL.
   13970       old_archive_From_new_cmds_F77='true'
   13971       # FIXME: Should let the user specify the lib program.
   13972       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   13973       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   13974       enable_shared_with_static_runtimes_F77=yes
   13975       ;;
   13976 
   13977     darwin* | rhapsody*)
   13978       case $host_os in
   13979         rhapsody* | darwin1.[012])
   13980          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   13981          ;;
   13982        *) # Darwin 1.3 on
   13983          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   13984            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   13985          else
   13986            case ${MACOSX_DEPLOYMENT_TARGET} in
   13987              10.[012])
   13988                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   13989                ;;
   13990              10.*)
   13991                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   13992                ;;
   13993            esac
   13994          fi
   13995          ;;
   13996       esac
   13997       archive_cmds_need_lc_F77=no
   13998       hardcode_direct_F77=no
   13999       hardcode_automatic_F77=yes
   14000       hardcode_shlibpath_var_F77=unsupported
   14001       whole_archive_flag_spec_F77=''
   14002       link_all_deplibs_F77=yes
   14003     if test "$GCC" = yes ; then
   14004     	output_verbose_link_cmd='echo'
   14005         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14006       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14007       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14008       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14009       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14010     else
   14011       case $cc_basename in
   14012         xlc*)
   14013          output_verbose_link_cmd='echo'
   14014          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14015          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14016           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14017          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14018           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14019           ;;
   14020        *)
   14021          ld_shlibs_F77=no
   14022           ;;
   14023       esac
   14024     fi
   14025       ;;
   14026 
   14027     dgux*)
   14028       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14029       hardcode_libdir_flag_spec_F77='-L$libdir'
   14030       hardcode_shlibpath_var_F77=no
   14031       ;;
   14032 
   14033     freebsd1*)
   14034       ld_shlibs_F77=no
   14035       ;;
   14036 
   14037     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14038     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14039     # does not break anything, and helps significantly (at the cost of a little
   14040     # extra space).
   14041     freebsd2.2*)
   14042       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14043       hardcode_libdir_flag_spec_F77='-R$libdir'
   14044       hardcode_direct_F77=yes
   14045       hardcode_shlibpath_var_F77=no
   14046       ;;
   14047 
   14048     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14049     freebsd2*)
   14050       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14051       hardcode_direct_F77=yes
   14052       hardcode_minus_L_F77=yes
   14053       hardcode_shlibpath_var_F77=no
   14054       ;;
   14055 
   14056     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14057     freebsd* | kfreebsd*-gnu | dragonfly*)
   14058       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14059       hardcode_libdir_flag_spec_F77='-R$libdir'
   14060       hardcode_direct_F77=yes
   14061       hardcode_shlibpath_var_F77=no
   14062       ;;
   14063 
   14064     hpux9*)
   14065       if test "$GCC" = yes; then
   14066 	archive_cmds_F77='$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'
   14067       else
   14068 	archive_cmds_F77='$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'
   14069       fi
   14070       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14071       hardcode_libdir_separator_F77=:
   14072       hardcode_direct_F77=yes
   14073 
   14074       # hardcode_minus_L: Not really in the search PATH,
   14075       # but as the default location of the library.
   14076       hardcode_minus_L_F77=yes
   14077       export_dynamic_flag_spec_F77='${wl}-E'
   14078       ;;
   14079 
   14080     hpux10*)
   14081       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14082 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14083       else
   14084 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14085       fi
   14086       if test "$with_gnu_ld" = no; then
   14087 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14088 	hardcode_libdir_separator_F77=:
   14089 
   14090 	hardcode_direct_F77=yes
   14091 	export_dynamic_flag_spec_F77='${wl}-E'
   14092 
   14093 	# hardcode_minus_L: Not really in the search PATH,
   14094 	# but as the default location of the library.
   14095 	hardcode_minus_L_F77=yes
   14096       fi
   14097       ;;
   14098 
   14099     hpux11*)
   14100       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14101 	case $host_cpu in
   14102 	hppa*64*)
   14103 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14104 	  ;;
   14105 	ia64*)
   14106 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14107 	  ;;
   14108 	*)
   14109 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14110 	  ;;
   14111 	esac
   14112       else
   14113 	case $host_cpu in
   14114 	hppa*64*)
   14115 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14116 	  ;;
   14117 	ia64*)
   14118 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14119 	  ;;
   14120 	*)
   14121 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14122 	  ;;
   14123 	esac
   14124       fi
   14125       if test "$with_gnu_ld" = no; then
   14126 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14127 	hardcode_libdir_separator_F77=:
   14128 
   14129 	case $host_cpu in
   14130 	hppa*64*|ia64*)
   14131 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14132 	  hardcode_direct_F77=no
   14133 	  hardcode_shlibpath_var_F77=no
   14134 	  ;;
   14135 	*)
   14136 	  hardcode_direct_F77=yes
   14137 	  export_dynamic_flag_spec_F77='${wl}-E'
   14138 
   14139 	  # hardcode_minus_L: Not really in the search PATH,
   14140 	  # but as the default location of the library.
   14141 	  hardcode_minus_L_F77=yes
   14142 	  ;;
   14143 	esac
   14144       fi
   14145       ;;
   14146 
   14147     irix5* | irix6* | nonstopux*)
   14148       if test "$GCC" = yes; then
   14149 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   14150       else
   14151 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   14152 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14153       fi
   14154       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14155       hardcode_libdir_separator_F77=:
   14156       link_all_deplibs_F77=yes
   14157       ;;
   14158 
   14159     netbsd*)
   14160       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14161 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14162       else
   14163 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14164       fi
   14165       hardcode_libdir_flag_spec_F77='-R$libdir'
   14166       hardcode_direct_F77=yes
   14167       hardcode_shlibpath_var_F77=no
   14168       ;;
   14169 
   14170     newsos6)
   14171       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14172       hardcode_direct_F77=yes
   14173       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14174       hardcode_libdir_separator_F77=:
   14175       hardcode_shlibpath_var_F77=no
   14176       ;;
   14177 
   14178     openbsd*)
   14179       hardcode_direct_F77=yes
   14180       hardcode_shlibpath_var_F77=no
   14181       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14182 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14183 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14184 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14185 	export_dynamic_flag_spec_F77='${wl}-E'
   14186       else
   14187        case $host_os in
   14188 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14189 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14190 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14191 	   ;;
   14192 	 *)
   14193 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14194 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14195 	   ;;
   14196        esac
   14197       fi
   14198       ;;
   14199 
   14200     os2*)
   14201       hardcode_libdir_flag_spec_F77='-L$libdir'
   14202       hardcode_minus_L_F77=yes
   14203       allow_undefined_flag_F77=unsupported
   14204       archive_cmds_F77='$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'
   14205       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14206       ;;
   14207 
   14208     osf3*)
   14209       if test "$GCC" = yes; then
   14210 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14211 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   14212       else
   14213 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14214 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   14215       fi
   14216       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14217       hardcode_libdir_separator_F77=:
   14218       ;;
   14219 
   14220     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14221       if test "$GCC" = yes; then
   14222 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14223 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   14224 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14225       else
   14226 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14227 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   14228 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   14229 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   14230 
   14231 	# Both c and cxx compiler support -rpath directly
   14232 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14233       fi
   14234       hardcode_libdir_separator_F77=:
   14235       ;;
   14236 
   14237     solaris*)
   14238       no_undefined_flag_F77=' -z text'
   14239       if test "$GCC" = yes; then
   14240 	wlarc='${wl}'
   14241 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14242 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14243 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14244       else
   14245 	wlarc=''
   14246 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14247 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14248   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14249       fi
   14250       hardcode_libdir_flag_spec_F77='-R$libdir'
   14251       hardcode_shlibpath_var_F77=no
   14252       case $host_os in
   14253       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14254       *)
   14255  	# The compiler driver will combine linker options so we
   14256  	# cannot just pass the convience library names through
   14257  	# without $wl, iff we do not link with $LD.
   14258  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14259  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14260  	case $wlarc in
   14261  	'')
   14262  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14263  	*)
   14264  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   14265  	esac ;;
   14266       esac
   14267       link_all_deplibs_F77=yes
   14268       ;;
   14269 
   14270     sunos4*)
   14271       if test "x$host_vendor" = xsequent; then
   14272 	# Use $CC to link under sequent, because it throws in some extra .o
   14273 	# files that make .init and .fini sections work.
   14274 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14275       else
   14276 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14277       fi
   14278       hardcode_libdir_flag_spec_F77='-L$libdir'
   14279       hardcode_direct_F77=yes
   14280       hardcode_minus_L_F77=yes
   14281       hardcode_shlibpath_var_F77=no
   14282       ;;
   14283 
   14284     sysv4)
   14285       case $host_vendor in
   14286 	sni)
   14287 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14288 	  hardcode_direct_F77=yes # is this really true???
   14289 	;;
   14290 	siemens)
   14291 	  ## LD is ld it makes a PLAMLIB
   14292 	  ## CC just makes a GrossModule.
   14293 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14294 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14295 	  hardcode_direct_F77=no
   14296         ;;
   14297 	motorola)
   14298 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14299 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14300 	;;
   14301       esac
   14302       runpath_var='LD_RUN_PATH'
   14303       hardcode_shlibpath_var_F77=no
   14304       ;;
   14305 
   14306     sysv4.3*)
   14307       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14308       hardcode_shlibpath_var_F77=no
   14309       export_dynamic_flag_spec_F77='-Bexport'
   14310       ;;
   14311 
   14312     sysv4*MP*)
   14313       if test -d /usr/nec; then
   14314 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14315 	hardcode_shlibpath_var_F77=no
   14316 	runpath_var=LD_RUN_PATH
   14317 	hardcode_runpath_var=yes
   14318 	ld_shlibs_F77=yes
   14319       fi
   14320       ;;
   14321 
   14322     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14323       no_undefined_flag_F77='${wl}-z,text'
   14324       archive_cmds_need_lc_F77=no
   14325       hardcode_shlibpath_var_F77=no
   14326       runpath_var='LD_RUN_PATH'
   14327 
   14328       if test "$GCC" = yes; then
   14329 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14330 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14331       else
   14332 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14333 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14334       fi
   14335       ;;
   14336 
   14337     sysv5* | sco3.2v5* | sco5v6*)
   14338       # Note: We can NOT use -z defs as we might desire, because we do not
   14339       # link with -lc, and that would cause any symbols used from libc to
   14340       # always be unresolved, which means just about no library would
   14341       # ever link correctly.  If we're not using GNU ld we use -z text
   14342       # though, which does catch some bad symbols but isn't as heavy-handed
   14343       # as -z defs.
   14344       no_undefined_flag_F77='${wl}-z,text'
   14345       allow_undefined_flag_F77='${wl}-z,nodefs'
   14346       archive_cmds_need_lc_F77=no
   14347       hardcode_shlibpath_var_F77=no
   14348       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14349       hardcode_libdir_separator_F77=':'
   14350       link_all_deplibs_F77=yes
   14351       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14352       runpath_var='LD_RUN_PATH'
   14353 
   14354       if test "$GCC" = yes; then
   14355 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14356 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14357       else
   14358 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14359 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14360       fi
   14361       ;;
   14362 
   14363     uts4*)
   14364       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14365       hardcode_libdir_flag_spec_F77='-L$libdir'
   14366       hardcode_shlibpath_var_F77=no
   14367       ;;
   14368 
   14369     *)
   14370       ld_shlibs_F77=no
   14371       ;;
   14372     esac
   14373   fi
   14374 
   14375 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14376 echo "${ECHO_T}$ld_shlibs_F77" >&6
   14377 test "$ld_shlibs_F77" = no && can_build_shared=no
   14378 
   14379 #
   14380 # Do we need to explicitly link libc?
   14381 #
   14382 case "x$archive_cmds_need_lc_F77" in
   14383 x|xyes)
   14384   # Assume -lc should be added
   14385   archive_cmds_need_lc_F77=yes
   14386 
   14387   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14388     case $archive_cmds_F77 in
   14389     *'~'*)
   14390       # FIXME: we may have to deal with multi-command sequences.
   14391       ;;
   14392     '$CC '*)
   14393       # Test whether the compiler implicitly links with -lc since on some
   14394       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14395       # to ld, don't add -lc before -lgcc.
   14396       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14397 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   14398       $rm conftest*
   14399       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14400 
   14401       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14402   (eval $ac_compile) 2>&5
   14403   ac_status=$?
   14404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14405   (exit $ac_status); } 2>conftest.err; then
   14406         soname=conftest
   14407         lib=conftest
   14408         libobjs=conftest.$ac_objext
   14409         deplibs=
   14410         wl=$lt_prog_compiler_wl_F77
   14411 	pic_flag=$lt_prog_compiler_pic_F77
   14412         compiler_flags=-v
   14413         linker_flags=-v
   14414         verstring=
   14415         output_objdir=.
   14416         libname=conftest
   14417         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   14418         allow_undefined_flag_F77=
   14419         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   14420   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14421   ac_status=$?
   14422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14423   (exit $ac_status); }
   14424         then
   14425 	  archive_cmds_need_lc_F77=no
   14426         else
   14427 	  archive_cmds_need_lc_F77=yes
   14428         fi
   14429         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   14430       else
   14431         cat conftest.err 1>&5
   14432       fi
   14433       $rm conftest*
   14434       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   14435 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
   14436       ;;
   14437     esac
   14438   fi
   14439   ;;
   14440 esac
   14441 
   14442 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   14443 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   14444 library_names_spec=
   14445 libname_spec='lib$name'
   14446 soname_spec=
   14447 shrext_cmds=".so"
   14448 postinstall_cmds=
   14449 postuninstall_cmds=
   14450 finish_cmds=
   14451 finish_eval=
   14452 shlibpath_var=
   14453 shlibpath_overrides_runpath=unknown
   14454 version_type=none
   14455 dynamic_linker="$host_os ld.so"
   14456 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14457 if test "$GCC" = yes; then
   14458   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14459   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   14460     # if the path contains ";" then we assume it to be the separator
   14461     # otherwise default to the standard path separator (i.e. ":") - it is
   14462     # assumed that no part of a normal pathname contains ";" but that should
   14463     # okay in the real world where ";" in dirpaths is itself problematic.
   14464     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14465   else
   14466     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14467   fi
   14468 else
   14469   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   14470 fi
   14471 need_lib_prefix=unknown
   14472 hardcode_into_libs=no
   14473 
   14474 # when you set need_version to no, make sure it does not cause -set_version
   14475 # flags to be left without arguments
   14476 need_version=unknown
   14477 
   14478 case $host_os in
   14479 aix3*)
   14480   version_type=linux
   14481   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14482   shlibpath_var=LIBPATH
   14483 
   14484   # AIX 3 has no versioning support, so we append a major version to the name.
   14485   soname_spec='${libname}${release}${shared_ext}$major'
   14486   ;;
   14487 
   14488 aix4* | aix5*)
   14489   version_type=linux
   14490   need_lib_prefix=no
   14491   need_version=no
   14492   hardcode_into_libs=yes
   14493   if test "$host_cpu" = ia64; then
   14494     # AIX 5 supports IA64
   14495     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14496     shlibpath_var=LD_LIBRARY_PATH
   14497   else
   14498     # With GCC up to 2.95.x, collect2 would create an import file
   14499     # for dependence libraries.  The import file would start with
   14500     # the line `#! .'.  This would cause the generated library to
   14501     # depend on `.', always an invalid library.  This was fixed in
   14502     # development snapshots of GCC prior to 3.0.
   14503     case $host_os in
   14504       aix4 | aix4.[01] | aix4.[01].*)
   14505       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14506 	   echo ' yes '
   14507 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   14508 	:
   14509       else
   14510 	can_build_shared=no
   14511       fi
   14512       ;;
   14513     esac
   14514     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14515     # soname into executable. Probably we can add versioning support to
   14516     # collect2, so additional links can be useful in future.
   14517     if test "$aix_use_runtimelinking" = yes; then
   14518       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14519       # instead of lib<name>.a to let people know that these are not
   14520       # typical AIX shared libraries.
   14521       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14522     else
   14523       # We preserve .a as extension for shared libraries through AIX4.2
   14524       # and later when we are not doing run time linking.
   14525       library_names_spec='${libname}${release}.a $libname.a'
   14526       soname_spec='${libname}${release}${shared_ext}$major'
   14527     fi
   14528     shlibpath_var=LIBPATH
   14529   fi
   14530   ;;
   14531 
   14532 amigaos*)
   14533   library_names_spec='$libname.ixlibrary $libname.a'
   14534   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14535   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'
   14536   ;;
   14537 
   14538 beos*)
   14539   library_names_spec='${libname}${shared_ext}'
   14540   dynamic_linker="$host_os ld.so"
   14541   shlibpath_var=LIBRARY_PATH
   14542   ;;
   14543 
   14544 bsdi[45]*)
   14545   version_type=linux
   14546   need_version=no
   14547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14548   soname_spec='${libname}${release}${shared_ext}$major'
   14549   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14550   shlibpath_var=LD_LIBRARY_PATH
   14551   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14552   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14553   # the default ld.so.conf also contains /usr/contrib/lib and
   14554   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14555   # libtool to hard-code these into programs
   14556   ;;
   14557 
   14558 cygwin* | mingw* | pw32*)
   14559   version_type=windows
   14560   shrext_cmds=".dll"
   14561   need_version=no
   14562   need_lib_prefix=no
   14563 
   14564   case $GCC,$host_os in
   14565   yes,cygwin* | yes,mingw* | yes,pw32*)
   14566     library_names_spec='$libname.dll.a'
   14567     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14568     postinstall_cmds='base_file=`basename \${file}`~
   14569       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   14570       dldir=$destdir/`dirname \$dlpath`~
   14571       test -d \$dldir || mkdir -p \$dldir~
   14572       $install_prog $dir/$dlname \$dldir/$dlname~
   14573       chmod a+x \$dldir/$dlname'
   14574     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14575       dlpath=$dir/\$dldll~
   14576        $rm \$dlpath'
   14577     shlibpath_overrides_runpath=yes
   14578 
   14579     case $host_os in
   14580     cygwin*)
   14581       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14582       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14583       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   14584       ;;
   14585     mingw*)
   14586       # MinGW DLLs use traditional 'lib' prefix
   14587       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14588       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14589       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   14590         # It is most probably a Windows format PATH printed by
   14591         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   14592         # path with ; separators, and with drive letters. We can handle the
   14593         # drive letters (cygwin fileutils understands them), so leave them,
   14594         # especially as we might pass files found there to a mingw objdump,
   14595         # which wouldn't understand a cygwinified path. Ahh.
   14596         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14597       else
   14598         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14599       fi
   14600       ;;
   14601     pw32*)
   14602       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14603       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14604       ;;
   14605     esac
   14606     ;;
   14607 
   14608   *)
   14609     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14610     ;;
   14611   esac
   14612   dynamic_linker='Win32 ld.exe'
   14613   # FIXME: first we should search . and the directory the executable is in
   14614   shlibpath_var=PATH
   14615   ;;
   14616 
   14617 darwin* | rhapsody*)
   14618   dynamic_linker="$host_os dyld"
   14619   version_type=darwin
   14620   need_lib_prefix=no
   14621   need_version=no
   14622   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14623   soname_spec='${libname}${release}${major}$shared_ext'
   14624   shlibpath_overrides_runpath=yes
   14625   shlibpath_var=DYLD_LIBRARY_PATH
   14626   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14627   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   14628   if test "$GCC" = yes; then
   14629     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   14630   else
   14631     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   14632   fi
   14633   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14634   ;;
   14635 
   14636 dgux*)
   14637   version_type=linux
   14638   need_lib_prefix=no
   14639   need_version=no
   14640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14641   soname_spec='${libname}${release}${shared_ext}$major'
   14642   shlibpath_var=LD_LIBRARY_PATH
   14643   ;;
   14644 
   14645 freebsd1*)
   14646   dynamic_linker=no
   14647   ;;
   14648 
   14649 kfreebsd*-gnu)
   14650   version_type=linux
   14651   need_lib_prefix=no
   14652   need_version=no
   14653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14654   soname_spec='${libname}${release}${shared_ext}$major'
   14655   shlibpath_var=LD_LIBRARY_PATH
   14656   shlibpath_overrides_runpath=no
   14657   hardcode_into_libs=yes
   14658   dynamic_linker='GNU ld.so'
   14659   ;;
   14660 
   14661 freebsd* | dragonfly*)
   14662   # DragonFly does not have aout.  When/if they implement a new
   14663   # versioning mechanism, adjust this.
   14664   if test -x /usr/bin/objformat; then
   14665     objformat=`/usr/bin/objformat`
   14666   else
   14667     case $host_os in
   14668     freebsd[123]*) objformat=aout ;;
   14669     *) objformat=elf ;;
   14670     esac
   14671   fi
   14672   version_type=freebsd-$objformat
   14673   case $version_type in
   14674     freebsd-elf*)
   14675       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14676       need_version=no
   14677       need_lib_prefix=no
   14678       ;;
   14679     freebsd-*)
   14680       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14681       need_version=yes
   14682       ;;
   14683   esac
   14684   shlibpath_var=LD_LIBRARY_PATH
   14685   case $host_os in
   14686   freebsd2*)
   14687     shlibpath_overrides_runpath=yes
   14688     ;;
   14689   freebsd3.[01]* | freebsdelf3.[01]*)
   14690     shlibpath_overrides_runpath=yes
   14691     hardcode_into_libs=yes
   14692     ;;
   14693   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14694   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14695     shlibpath_overrides_runpath=no
   14696     hardcode_into_libs=yes
   14697     ;;
   14698   freebsd*) # from 4.6 on
   14699     shlibpath_overrides_runpath=yes
   14700     hardcode_into_libs=yes
   14701     ;;
   14702   esac
   14703   ;;
   14704 
   14705 gnu*)
   14706   version_type=linux
   14707   need_lib_prefix=no
   14708   need_version=no
   14709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14710   soname_spec='${libname}${release}${shared_ext}$major'
   14711   shlibpath_var=LD_LIBRARY_PATH
   14712   hardcode_into_libs=yes
   14713   ;;
   14714 
   14715 hpux9* | hpux10* | hpux11*)
   14716   # Give a soname corresponding to the major version so that dld.sl refuses to
   14717   # link against other versions.
   14718   version_type=sunos
   14719   need_lib_prefix=no
   14720   need_version=no
   14721   case $host_cpu in
   14722   ia64*)
   14723     shrext_cmds='.so'
   14724     hardcode_into_libs=yes
   14725     dynamic_linker="$host_os dld.so"
   14726     shlibpath_var=LD_LIBRARY_PATH
   14727     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14728     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14729     soname_spec='${libname}${release}${shared_ext}$major'
   14730     if test "X$HPUX_IA64_MODE" = X32; then
   14731       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14732     else
   14733       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14734     fi
   14735     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14736     ;;
   14737    hppa*64*)
   14738      shrext_cmds='.sl'
   14739      hardcode_into_libs=yes
   14740      dynamic_linker="$host_os dld.sl"
   14741      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14742      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14743      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14744      soname_spec='${libname}${release}${shared_ext}$major'
   14745      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14746      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14747      ;;
   14748    *)
   14749     shrext_cmds='.sl'
   14750     dynamic_linker="$host_os dld.sl"
   14751     shlibpath_var=SHLIB_PATH
   14752     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14753     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14754     soname_spec='${libname}${release}${shared_ext}$major'
   14755     ;;
   14756   esac
   14757   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   14758   postinstall_cmds='chmod 555 $lib'
   14759   ;;
   14760 
   14761 interix3*)
   14762   version_type=linux
   14763   need_lib_prefix=no
   14764   need_version=no
   14765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14766   soname_spec='${libname}${release}${shared_ext}$major'
   14767   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14768   shlibpath_var=LD_LIBRARY_PATH
   14769   shlibpath_overrides_runpath=no
   14770   hardcode_into_libs=yes
   14771   ;;
   14772 
   14773 irix5* | irix6* | nonstopux*)
   14774   case $host_os in
   14775     nonstopux*) version_type=nonstopux ;;
   14776     *)
   14777 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14778 		version_type=linux
   14779 	else
   14780 		version_type=irix
   14781 	fi ;;
   14782   esac
   14783   need_lib_prefix=no
   14784   need_version=no
   14785   soname_spec='${libname}${release}${shared_ext}$major'
   14786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14787   case $host_os in
   14788   irix5* | nonstopux*)
   14789     libsuff= shlibsuff=
   14790     ;;
   14791   *)
   14792     case $LD in # libtool.m4 will add one of these switches to LD
   14793     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14794       libsuff= shlibsuff= libmagic=32-bit;;
   14795     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14796       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14797     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14798       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14799     *) libsuff= shlibsuff= libmagic=never-match;;
   14800     esac
   14801     ;;
   14802   esac
   14803   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14804   shlibpath_overrides_runpath=no
   14805   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14806   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14807   hardcode_into_libs=yes
   14808   ;;
   14809 
   14810 # No shared lib support for Linux oldld, aout, or coff.
   14811 linux*oldld* | linux*aout* | linux*coff*)
   14812   dynamic_linker=no
   14813   ;;
   14814 
   14815 # This must be Linux ELF.
   14816 linux*)
   14817   version_type=linux
   14818   need_lib_prefix=no
   14819   need_version=no
   14820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14821   soname_spec='${libname}${release}${shared_ext}$major'
   14822   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14823   shlibpath_var=LD_LIBRARY_PATH
   14824   shlibpath_overrides_runpath=no
   14825   # This implies no fast_install, which is unacceptable.
   14826   # Some rework will be needed to allow for fast_install
   14827   # before this can be enabled.
   14828   hardcode_into_libs=yes
   14829 
   14830   # find out which ABI we are using
   14831   libsuff=
   14832   case "$host_cpu" in
   14833   x86_64*|s390x*|powerpc64*)
   14834     echo '#line 14834 "configure"' > conftest.$ac_ext
   14835     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14836   (eval $ac_compile) 2>&5
   14837   ac_status=$?
   14838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14839   (exit $ac_status); }; then
   14840       case `/usr/bin/file conftest.$ac_objext` in
   14841       *64-bit*)
   14842         libsuff=64
   14843         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   14844         ;;
   14845       esac
   14846     fi
   14847     rm -rf conftest*
   14848     ;;
   14849   esac
   14850 
   14851   # Append ld.so.conf contents to the search path
   14852   if test -f /etc/ld.so.conf; then
   14853     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   14854     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   14855   fi
   14856 
   14857   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14858   # powerpc, because MkLinux only supported shared libraries with the
   14859   # GNU dynamic linker.  Since this was broken with cross compilers,
   14860   # most powerpc-linux boxes support dynamic linking these days and
   14861   # people can always --disable-shared, the test was removed, and we
   14862   # assume the GNU/Linux dynamic linker is in use.
   14863   dynamic_linker='GNU/Linux ld.so'
   14864   ;;
   14865 
   14866 knetbsd*-gnu)
   14867   version_type=linux
   14868   need_lib_prefix=no
   14869   need_version=no
   14870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14871   soname_spec='${libname}${release}${shared_ext}$major'
   14872   shlibpath_var=LD_LIBRARY_PATH
   14873   shlibpath_overrides_runpath=no
   14874   hardcode_into_libs=yes
   14875   dynamic_linker='GNU ld.so'
   14876   ;;
   14877 
   14878 netbsd*)
   14879   version_type=sunos
   14880   need_lib_prefix=no
   14881   need_version=no
   14882   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14883     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14884     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14885     dynamic_linker='NetBSD (a.out) ld.so'
   14886   else
   14887     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14888     soname_spec='${libname}${release}${shared_ext}$major'
   14889     dynamic_linker='NetBSD ld.elf_so'
   14890   fi
   14891   shlibpath_var=LD_LIBRARY_PATH
   14892   shlibpath_overrides_runpath=yes
   14893   hardcode_into_libs=yes
   14894   ;;
   14895 
   14896 newsos6)
   14897   version_type=linux
   14898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14899   shlibpath_var=LD_LIBRARY_PATH
   14900   shlibpath_overrides_runpath=yes
   14901   ;;
   14902 
   14903 nto-qnx*)
   14904   version_type=linux
   14905   need_lib_prefix=no
   14906   need_version=no
   14907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14908   soname_spec='${libname}${release}${shared_ext}$major'
   14909   shlibpath_var=LD_LIBRARY_PATH
   14910   shlibpath_overrides_runpath=yes
   14911   ;;
   14912 
   14913 openbsd*)
   14914   version_type=sunos
   14915   sys_lib_dlsearch_path_spec="/usr/lib"
   14916   need_lib_prefix=no
   14917   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14918   case $host_os in
   14919     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   14920     *)                         need_version=no  ;;
   14921   esac
   14922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14923   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14924   shlibpath_var=LD_LIBRARY_PATH
   14925   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14926     case $host_os in
   14927       openbsd2.[89] | openbsd2.[89].*)
   14928 	shlibpath_overrides_runpath=no
   14929 	;;
   14930       *)
   14931 	shlibpath_overrides_runpath=yes
   14932 	;;
   14933       esac
   14934   else
   14935     shlibpath_overrides_runpath=yes
   14936   fi
   14937   ;;
   14938 
   14939 os2*)
   14940   libname_spec='$name'
   14941   shrext_cmds=".dll"
   14942   need_lib_prefix=no
   14943   library_names_spec='$libname${shared_ext} $libname.a'
   14944   dynamic_linker='OS/2 ld.exe'
   14945   shlibpath_var=LIBPATH
   14946   ;;
   14947 
   14948 osf3* | osf4* | osf5*)
   14949   version_type=osf
   14950   need_lib_prefix=no
   14951   need_version=no
   14952   soname_spec='${libname}${release}${shared_ext}$major'
   14953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14954   shlibpath_var=LD_LIBRARY_PATH
   14955   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14956   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14957   ;;
   14958 
   14959 solaris*)
   14960   version_type=linux
   14961   need_lib_prefix=no
   14962   need_version=no
   14963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14964   soname_spec='${libname}${release}${shared_ext}$major'
   14965   shlibpath_var=LD_LIBRARY_PATH
   14966   shlibpath_overrides_runpath=yes
   14967   hardcode_into_libs=yes
   14968   # ldd complains unless libraries are executable
   14969   postinstall_cmds='chmod +x $lib'
   14970   ;;
   14971 
   14972 sunos4*)
   14973   version_type=sunos
   14974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14975   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14976   shlibpath_var=LD_LIBRARY_PATH
   14977   shlibpath_overrides_runpath=yes
   14978   if test "$with_gnu_ld" = yes; then
   14979     need_lib_prefix=no
   14980   fi
   14981   need_version=yes
   14982   ;;
   14983 
   14984 sysv4 | sysv4.3*)
   14985   version_type=linux
   14986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14987   soname_spec='${libname}${release}${shared_ext}$major'
   14988   shlibpath_var=LD_LIBRARY_PATH
   14989   case $host_vendor in
   14990     sni)
   14991       shlibpath_overrides_runpath=no
   14992       need_lib_prefix=no
   14993       export_dynamic_flag_spec='${wl}-Blargedynsym'
   14994       runpath_var=LD_RUN_PATH
   14995       ;;
   14996     siemens)
   14997       need_lib_prefix=no
   14998       ;;
   14999     motorola)
   15000       need_lib_prefix=no
   15001       need_version=no
   15002       shlibpath_overrides_runpath=no
   15003       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15004       ;;
   15005   esac
   15006   ;;
   15007 
   15008 sysv4*MP*)
   15009   if test -d /usr/nec ;then
   15010     version_type=linux
   15011     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15012     soname_spec='$libname${shared_ext}.$major'
   15013     shlibpath_var=LD_LIBRARY_PATH
   15014   fi
   15015   ;;
   15016 
   15017 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15018   version_type=freebsd-elf
   15019   need_lib_prefix=no
   15020   need_version=no
   15021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15022   soname_spec='${libname}${release}${shared_ext}$major'
   15023   shlibpath_var=LD_LIBRARY_PATH
   15024   hardcode_into_libs=yes
   15025   if test "$with_gnu_ld" = yes; then
   15026     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15027     shlibpath_overrides_runpath=no
   15028   else
   15029     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15030     shlibpath_overrides_runpath=yes
   15031     case $host_os in
   15032       sco3.2v5*)
   15033         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15034 	;;
   15035     esac
   15036   fi
   15037   sys_lib_dlsearch_path_spec='/usr/lib'
   15038   ;;
   15039 
   15040 uts4*)
   15041   version_type=linux
   15042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15043   soname_spec='${libname}${release}${shared_ext}$major'
   15044   shlibpath_var=LD_LIBRARY_PATH
   15045   ;;
   15046 
   15047 *)
   15048   dynamic_linker=no
   15049   ;;
   15050 esac
   15051 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15052 echo "${ECHO_T}$dynamic_linker" >&6
   15053 test "$dynamic_linker" = no && can_build_shared=no
   15054 
   15055 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15056 if test "$GCC" = yes; then
   15057   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15058 fi
   15059 
   15060 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15061 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   15062 hardcode_action_F77=
   15063 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15064    test -n "$runpath_var_F77" || \
   15065    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15066 
   15067   # We can hardcode non-existant directories.
   15068   if test "$hardcode_direct_F77" != no &&
   15069      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15070      # have to relink, otherwise we might link with an installed library
   15071      # when we should be linking with a yet-to-be-installed one
   15072      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15073      test "$hardcode_minus_L_F77" != no; then
   15074     # Linking always hardcodes the temporary library directory.
   15075     hardcode_action_F77=relink
   15076   else
   15077     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15078     hardcode_action_F77=immediate
   15079   fi
   15080 else
   15081   # We cannot hardcode anything, or else we can only hardcode existing
   15082   # directories.
   15083   hardcode_action_F77=unsupported
   15084 fi
   15085 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15086 echo "${ECHO_T}$hardcode_action_F77" >&6
   15087 
   15088 if test "$hardcode_action_F77" = relink; then
   15089   # Fast installation is not supported
   15090   enable_fast_install=no
   15091 elif test "$shlibpath_overrides_runpath" = yes ||
   15092      test "$enable_shared" = no; then
   15093   # Fast installation is not necessary
   15094   enable_fast_install=needless
   15095 fi
   15096 
   15097 
   15098 # The else clause should only fire when bootstrapping the
   15099 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15100 # with your package, and you will get complaints that there are
   15101 # no rules to generate ltmain.sh.
   15102 if test -f "$ltmain"; then
   15103   # See if we are running on zsh, and set the options which allow our commands through
   15104   # without removal of \ escapes.
   15105   if test -n "${ZSH_VERSION+set}" ; then
   15106     setopt NO_GLOB_SUBST
   15107   fi
   15108   # Now quote all the things that may contain metacharacters while being
   15109   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15110   # variables and quote the copies for generation of the libtool script.
   15111   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15112     SED SHELL STRIP \
   15113     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15114     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15115     deplibs_check_method reload_flag reload_cmds need_locks \
   15116     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15117     lt_cv_sys_global_symbol_to_c_name_address \
   15118     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15119     old_postinstall_cmds old_postuninstall_cmds \
   15120     compiler_F77 \
   15121     CC_F77 \
   15122     LD_F77 \
   15123     lt_prog_compiler_wl_F77 \
   15124     lt_prog_compiler_pic_F77 \
   15125     lt_prog_compiler_static_F77 \
   15126     lt_prog_compiler_no_builtin_flag_F77 \
   15127     export_dynamic_flag_spec_F77 \
   15128     thread_safe_flag_spec_F77 \
   15129     whole_archive_flag_spec_F77 \
   15130     enable_shared_with_static_runtimes_F77 \
   15131     old_archive_cmds_F77 \
   15132     old_archive_from_new_cmds_F77 \
   15133     predep_objects_F77 \
   15134     postdep_objects_F77 \
   15135     predeps_F77 \
   15136     postdeps_F77 \
   15137     compiler_lib_search_path_F77 \
   15138     archive_cmds_F77 \
   15139     archive_expsym_cmds_F77 \
   15140     postinstall_cmds_F77 \
   15141     postuninstall_cmds_F77 \
   15142     old_archive_from_expsyms_cmds_F77 \
   15143     allow_undefined_flag_F77 \
   15144     no_undefined_flag_F77 \
   15145     export_symbols_cmds_F77 \
   15146     hardcode_libdir_flag_spec_F77 \
   15147     hardcode_libdir_flag_spec_ld_F77 \
   15148     hardcode_libdir_separator_F77 \
   15149     hardcode_automatic_F77 \
   15150     module_cmds_F77 \
   15151     module_expsym_cmds_F77 \
   15152     lt_cv_prog_compiler_c_o_F77 \
   15153     exclude_expsyms_F77 \
   15154     include_expsyms_F77; do
   15155 
   15156     case $var in
   15157     old_archive_cmds_F77 | \
   15158     old_archive_from_new_cmds_F77 | \
   15159     archive_cmds_F77 | \
   15160     archive_expsym_cmds_F77 | \
   15161     module_cmds_F77 | \
   15162     module_expsym_cmds_F77 | \
   15163     old_archive_from_expsyms_cmds_F77 | \
   15164     export_symbols_cmds_F77 | \
   15165     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15166     postinstall_cmds | postuninstall_cmds | \
   15167     old_postinstall_cmds | old_postuninstall_cmds | \
   15168     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15169       # Double-quote double-evaled strings.
   15170       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15171       ;;
   15172     *)
   15173       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15174       ;;
   15175     esac
   15176   done
   15177 
   15178   case $lt_echo in
   15179   *'\$0 --fallback-echo"')
   15180     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15181     ;;
   15182   esac
   15183 
   15184 cfgfile="$ofile"
   15185 
   15186   cat <<__EOF__ >> "$cfgfile"
   15187 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15188 
   15189 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15190 
   15191 # Shell to use when invoking shell scripts.
   15192 SHELL=$lt_SHELL
   15193 
   15194 # Whether or not to build shared libraries.
   15195 build_libtool_libs=$enable_shared
   15196 
   15197 # Whether or not to build static libraries.
   15198 build_old_libs=$enable_static
   15199 
   15200 # Whether or not to add -lc for building shared libraries.
   15201 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15202 
   15203 # Whether or not to disallow shared libs when runtime libs are static
   15204 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15205 
   15206 # Whether or not to optimize for fast installation.
   15207 fast_install=$enable_fast_install
   15208 
   15209 # The host system.
   15210 host_alias=$host_alias
   15211 host=$host
   15212 host_os=$host_os
   15213 
   15214 # The build system.
   15215 build_alias=$build_alias
   15216 build=$build
   15217 build_os=$build_os
   15218 
   15219 # An echo program that does not interpret backslashes.
   15220 echo=$lt_echo
   15221 
   15222 # The archiver.
   15223 AR=$lt_AR
   15224 AR_FLAGS=$lt_AR_FLAGS
   15225 
   15226 # A C compiler.
   15227 LTCC=$lt_LTCC
   15228 
   15229 # LTCC compiler flags.
   15230 LTCFLAGS=$lt_LTCFLAGS
   15231 
   15232 # A language-specific compiler.
   15233 CC=$lt_compiler_F77
   15234 
   15235 # Is the compiler the GNU C compiler?
   15236 with_gcc=$GCC_F77
   15237 
   15238 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
   15239 gcc_ver=\`gcc -dumpversion\`
   15240 
   15241 # An ERE matcher.
   15242 EGREP=$lt_EGREP
   15243 
   15244 # The linker used to build libraries.
   15245 LD=$lt_LD_F77
   15246 
   15247 # Whether we need hard or soft links.
   15248 LN_S=$lt_LN_S
   15249 
   15250 # A BSD-compatible nm program.
   15251 NM=$lt_NM
   15252 
   15253 # A symbol stripping program
   15254 STRIP=$lt_STRIP
   15255 
   15256 # Used to examine libraries when file_magic_cmd begins "file"
   15257 MAGIC_CMD=$MAGIC_CMD
   15258 
   15259 # Used on cygwin: DLL creation program.
   15260 DLLTOOL="$DLLTOOL"
   15261 
   15262 # Used on cygwin: object dumper.
   15263 OBJDUMP="$OBJDUMP"
   15264 
   15265 # Used on cygwin: assembler.
   15266 AS="$AS"
   15267 
   15268 # The name of the directory that contains temporary libtool files.
   15269 objdir=$objdir
   15270 
   15271 # How to create reloadable object files.
   15272 reload_flag=$lt_reload_flag
   15273 reload_cmds=$lt_reload_cmds
   15274 
   15275 # How to pass a linker flag through the compiler.
   15276 wl=$lt_lt_prog_compiler_wl_F77
   15277 
   15278 # Object file suffix (normally "o").
   15279 objext="$ac_objext"
   15280 
   15281 # Old archive suffix (normally "a").
   15282 libext="$libext"
   15283 
   15284 # Shared library suffix (normally ".so").
   15285 shrext_cmds='$shrext_cmds'
   15286 
   15287 # Executable file suffix (normally "").
   15288 exeext="$exeext"
   15289 
   15290 # Additional compiler flags for building library objects.
   15291 pic_flag=$lt_lt_prog_compiler_pic_F77
   15292 pic_mode=$pic_mode
   15293 
   15294 # What is the maximum length of a command?
   15295 max_cmd_len=$lt_cv_sys_max_cmd_len
   15296 
   15297 # Does compiler simultaneously support -c and -o options?
   15298 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15299 
   15300 # Must we lock files when doing compilation?
   15301 need_locks=$lt_need_locks
   15302 
   15303 # Do we need the lib prefix for modules?
   15304 need_lib_prefix=$need_lib_prefix
   15305 
   15306 # Do we need a version for libraries?
   15307 need_version=$need_version
   15308 
   15309 # Whether dlopen is supported.
   15310 dlopen_support=$enable_dlopen
   15311 
   15312 # Whether dlopen of programs is supported.
   15313 dlopen_self=$enable_dlopen_self
   15314 
   15315 # Whether dlopen of statically linked programs is supported.
   15316 dlopen_self_static=$enable_dlopen_self_static
   15317 
   15318 # Compiler flag to prevent dynamic linking.
   15319 link_static_flag=$lt_lt_prog_compiler_static_F77
   15320 
   15321 # Compiler flag to turn off builtin functions.
   15322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15323 
   15324 # Compiler flag to allow reflexive dlopens.
   15325 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15326 
   15327 # Compiler flag to generate shared objects directly from archives.
   15328 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15329 
   15330 # Compiler flag to generate thread-safe objects.
   15331 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15332 
   15333 # Library versioning type.
   15334 version_type=$version_type
   15335 
   15336 # Format of library name prefix.
   15337 libname_spec=$lt_libname_spec
   15338 
   15339 # List of archive names.  First name is the real one, the rest are links.
   15340 # The last name is the one that the linker finds with -lNAME.
   15341 library_names_spec=$lt_library_names_spec
   15342 
   15343 # The coded name of the library, if different from the real name.
   15344 soname_spec=$lt_soname_spec
   15345 
   15346 # Commands used to build and install an old-style archive.
   15347 RANLIB=$lt_RANLIB
   15348 old_archive_cmds=$lt_old_archive_cmds_F77
   15349 old_postinstall_cmds=$lt_old_postinstall_cmds
   15350 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15351 
   15352 # Create an old-style archive from a shared archive.
   15353 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15354 
   15355 # Create a temporary old-style archive to link instead of a shared archive.
   15356 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15357 
   15358 # Commands used to build and install a shared archive.
   15359 archive_cmds=$lt_archive_cmds_F77
   15360 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15361 postinstall_cmds=$lt_postinstall_cmds
   15362 postuninstall_cmds=$lt_postuninstall_cmds
   15363 
   15364 # Commands used to build a loadable module (assumed same as above if empty)
   15365 module_cmds=$lt_module_cmds_F77
   15366 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15367 
   15368 # Commands to strip libraries.
   15369 old_striplib=$lt_old_striplib
   15370 striplib=$lt_striplib
   15371 
   15372 # Dependencies to place before the objects being linked to create a
   15373 # shared library.
   15374 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   15375 
   15376 # Dependencies to place after the objects being linked to create a
   15377 # shared library.
   15378 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   15379 
   15380 # Dependencies to place before the objects being linked to create a
   15381 # shared library.
   15382 predeps=$lt_predeps_F77
   15383 
   15384 # Dependencies to place after the objects being linked to create a
   15385 # shared library.
   15386 postdeps=$lt_postdeps_F77
   15387 
   15388 # The library search path used internally by the compiler when linking
   15389 # a shared library.
   15390 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   15391 
   15392 # Method to check whether dependent libraries are shared objects.
   15393 deplibs_check_method=$lt_deplibs_check_method
   15394 
   15395 # Command to use when deplibs_check_method == file_magic.
   15396 file_magic_cmd=$lt_file_magic_cmd
   15397 
   15398 # Flag that allows shared libraries with undefined symbols to be built.
   15399 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15400 
   15401 # Flag that forces no undefined symbols.
   15402 no_undefined_flag=$lt_no_undefined_flag_F77
   15403 
   15404 # Commands used to finish a libtool library installation in a directory.
   15405 finish_cmds=$lt_finish_cmds
   15406 
   15407 # Same as above, but a single script fragment to be evaled but not shown.
   15408 finish_eval=$lt_finish_eval
   15409 
   15410 # Take the output of nm and produce a listing of raw symbols and C names.
   15411 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15412 
   15413 # Transform the output of nm in a proper C declaration
   15414 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15415 
   15416 # Transform the output of nm in a C name address pair
   15417 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15418 
   15419 # This is the shared library runtime path variable.
   15420 runpath_var=$runpath_var
   15421 
   15422 # This is the shared library path variable.
   15423 shlibpath_var=$shlibpath_var
   15424 
   15425 # Is shlibpath searched before the hard-coded library search path?
   15426 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15427 
   15428 # How to hardcode a shared library path into an executable.
   15429 hardcode_action=$hardcode_action_F77
   15430 
   15431 # Whether we should hardcode library paths into libraries.
   15432 hardcode_into_libs=$hardcode_into_libs
   15433 
   15434 # Flag to hardcode \$libdir into a binary during linking.
   15435 # This must work even if \$libdir does not exist.
   15436 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   15437 
   15438 # If ld is used when linking, flag to hardcode \$libdir into
   15439 # a binary during linking. This must work even if \$libdir does
   15440 # not exist.
   15441 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   15442 
   15443 # Whether we need a single -rpath flag with a separated argument.
   15444 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   15445 
   15446 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   15447 # resulting binary.
   15448 hardcode_direct=$hardcode_direct_F77
   15449 
   15450 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   15451 # resulting binary.
   15452 hardcode_minus_L=$hardcode_minus_L_F77
   15453 
   15454 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   15455 # the resulting binary.
   15456 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   15457 
   15458 # Set to yes if building a shared library automatically hardcodes DIR into the library
   15459 # and all subsequent libraries and executables linked against it.
   15460 hardcode_automatic=$hardcode_automatic_F77
   15461 
   15462 # Variables whose values should be saved in libtool wrapper scripts and
   15463 # restored at relink time.
   15464 variables_saved_for_relink="$variables_saved_for_relink"
   15465 
   15466 # Whether libtool must link a program against all its dependency libraries.
   15467 link_all_deplibs=$link_all_deplibs_F77
   15468 
   15469 # Compile-time system search path for libraries
   15470 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   15471 
   15472 # Run-time system search path for libraries
   15473 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15474 
   15475 # Fix the shell variable \$srcfile for the compiler.
   15476 fix_srcfile_path="$fix_srcfile_path_F77"
   15477 
   15478 # Set to yes if exported symbols are required.
   15479 always_export_symbols=$always_export_symbols_F77
   15480 
   15481 # The commands to list exported symbols.
   15482 export_symbols_cmds=$lt_export_symbols_cmds_F77
   15483 
   15484 # The commands to extract the exported symbol list from a shared archive.
   15485 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15486 
   15487 # Symbols that should not be listed in the preloaded symbols.
   15488 exclude_expsyms=$lt_exclude_expsyms_F77
   15489 
   15490 # Symbols that must always be exported.
   15491 include_expsyms=$lt_include_expsyms_F77
   15492 
   15493 # ### END LIBTOOL TAG CONFIG: $tagname
   15494 
   15495 __EOF__
   15496 
   15497 
   15498 else
   15499   # If there is no Makefile yet, we rely on a make rule to execute
   15500   # `config.status --recheck' to rerun these tests and create the
   15501   # libtool script then.
   15502   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   15503   if test -f "$ltmain_in"; then
   15504     test -f Makefile && make "$ltmain"
   15505   fi
   15506 fi
   15507 
   15508 
   15509 ac_ext=c
   15510 ac_cpp='$CPP $CPPFLAGS'
   15511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15514 
   15515 CC="$lt_save_CC"
   15516 
   15517 	else
   15518 	  tagname=""
   15519 	fi
   15520 	;;
   15521 
   15522       GCJ)
   15523 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   15524 
   15525 
   15526 
   15527 # Source file extension for Java test sources.
   15528 ac_ext=java
   15529 
   15530 # Object file extension for compiled Java test sources.
   15531 objext=o
   15532 objext_GCJ=$objext
   15533 
   15534 # Code to be used in simple compile tests
   15535 lt_simple_compile_test_code="class foo {}\n"
   15536 
   15537 # Code to be used in simple link tests
   15538 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   15539 
   15540 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   15541 
   15542 # If no C compiler was specified, use CC.
   15543 LTCC=${LTCC-"$CC"}
   15544 
   15545 # If no C compiler flags were specified, use CFLAGS.
   15546 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15547 
   15548 # Allow CC to be a program name with arguments.
   15549 compiler=$CC
   15550 
   15551 
   15552 # save warnings/boilerplate of simple test code
   15553 ac_outfile=conftest.$ac_objext
   15554 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   15555 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15556 _lt_compiler_boilerplate=`cat conftest.err`
   15557 $rm conftest*
   15558 
   15559 ac_outfile=conftest.$ac_objext
   15560 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   15561 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15562 _lt_linker_boilerplate=`cat conftest.err`
   15563 $rm conftest*
   15564 
   15565 
   15566 # Allow CC to be a program name with arguments.
   15567 lt_save_CC="$CC"
   15568 CC=${GCJ-"gcj"}
   15569 compiler=$CC
   15570 compiler_GCJ=$CC
   15571 for cc_temp in $compiler""; do
   15572   case $cc_temp in
   15573     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   15574     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   15575     \-*) ;;
   15576     *) break;;
   15577   esac
   15578 done
   15579 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   15580 
   15581 
   15582 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   15583 archive_cmds_need_lc_GCJ=no
   15584 
   15585 old_archive_cmds_GCJ=$old_archive_cmds
   15586 
   15587 
   15588 lt_prog_compiler_no_builtin_flag_GCJ=
   15589 
   15590 if test "$GCC" = yes; then
   15591   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   15592 
   15593 
   15594 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15595 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   15596 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   15597   echo $ECHO_N "(cached) $ECHO_C" >&6
   15598 else
   15599   lt_cv_prog_compiler_rtti_exceptions=no
   15600   ac_outfile=conftest.$ac_objext
   15601    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15602    lt_compiler_flag="-fno-rtti -fno-exceptions"
   15603    # Insert the option either (1) after the last *FLAGS variable, or
   15604    # (2) before a word containing "conftest.", or (3) at the end.
   15605    # Note that $ac_compile itself does not contain backslashes and begins
   15606    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15607    # The option is referenced via a variable to avoid confusing sed.
   15608    lt_compile=`echo "$ac_compile" | $SED \
   15609    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15610    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15611    -e 's:$: $lt_compiler_flag:'`
   15612    (eval echo "\"\$as_me:15612: $lt_compile\"" >&5)
   15613    (eval "$lt_compile" 2>conftest.err)
   15614    ac_status=$?
   15615    cat conftest.err >&5
   15616    echo "$as_me:15616: \$? = $ac_status" >&5
   15617    if (exit $ac_status) && test -s "$ac_outfile"; then
   15618      # The compiler can only warn and ignore the option if not recognized
   15619      # So say no if there are warnings other than the usual output.
   15620      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   15621      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15622      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15623        lt_cv_prog_compiler_rtti_exceptions=yes
   15624      fi
   15625    fi
   15626    $rm conftest*
   15627 
   15628 fi
   15629 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15630 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   15631 
   15632 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   15633     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   15634 else
   15635     :
   15636 fi
   15637 
   15638 fi
   15639 
   15640 lt_prog_compiler_wl_GCJ=
   15641 lt_prog_compiler_pic_GCJ=
   15642 lt_prog_compiler_static_GCJ=
   15643 
   15644 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   15645 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   15646 
   15647   if test "$GCC" = yes; then
   15648     lt_prog_compiler_wl_GCJ='-Wl,'
   15649     lt_prog_compiler_static_GCJ='-static'
   15650 
   15651     case $host_os in
   15652       aix*)
   15653       # All AIX code is PIC.
   15654       if test "$host_cpu" = ia64; then
   15655 	# AIX 5 now supports IA64 processor
   15656 	lt_prog_compiler_static_GCJ='-Bstatic'
   15657       fi
   15658       ;;
   15659 
   15660     amigaos*)
   15661       # FIXME: we need at least 68020 code to build shared libraries, but
   15662       # adding the `-m68020' flag to GCC prevents building anything better,
   15663       # like `-m68040'.
   15664       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   15665       ;;
   15666 
   15667     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15668       # PIC is the default for these OSes.
   15669       ;;
   15670 
   15671     mingw* | pw32* | os2*)
   15672       # This hack is so that the source file can tell whether it is being
   15673       # built for inclusion in a dll (and should export symbols for example).
   15674       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   15675       ;;
   15676 
   15677     darwin* | rhapsody*)
   15678       # PIC is the default on this platform
   15679       # Common symbols not allowed in MH_DYLIB files
   15680       lt_prog_compiler_pic_GCJ='-fno-common'
   15681       ;;
   15682 
   15683     interix3*)
   15684       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15685       # Instead, we relocate shared libraries at runtime.
   15686       ;;
   15687 
   15688     msdosdjgpp*)
   15689       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15690       # on systems that don't support them.
   15691       lt_prog_compiler_can_build_shared_GCJ=no
   15692       enable_shared=no
   15693       ;;
   15694 
   15695     sysv4*MP*)
   15696       if test -d /usr/nec; then
   15697 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   15698       fi
   15699       ;;
   15700 
   15701     hpux*)
   15702       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15703       # not for PA HP-UX.
   15704       case $host_cpu in
   15705       hppa*64*|ia64*)
   15706 	# +Z the default
   15707 	;;
   15708       *)
   15709 	lt_prog_compiler_pic_GCJ='-fPIC'
   15710 	;;
   15711       esac
   15712       ;;
   15713 
   15714     *)
   15715       lt_prog_compiler_pic_GCJ='-fPIC'
   15716       ;;
   15717     esac
   15718   else
   15719     # PORTME Check for flag to pass linker flags through the system compiler.
   15720     case $host_os in
   15721     aix*)
   15722       lt_prog_compiler_wl_GCJ='-Wl,'
   15723       if test "$host_cpu" = ia64; then
   15724 	# AIX 5 now supports IA64 processor
   15725 	lt_prog_compiler_static_GCJ='-Bstatic'
   15726       else
   15727 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   15728       fi
   15729       ;;
   15730       darwin*)
   15731         # PIC is the default on this platform
   15732         # Common symbols not allowed in MH_DYLIB files
   15733        case $cc_basename in
   15734          xlc*)
   15735          lt_prog_compiler_pic_GCJ='-qnocommon'
   15736          lt_prog_compiler_wl_GCJ='-Wl,'
   15737          ;;
   15738        esac
   15739        ;;
   15740 
   15741     mingw* | pw32* | os2*)
   15742       # This hack is so that the source file can tell whether it is being
   15743       # built for inclusion in a dll (and should export symbols for example).
   15744       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   15745       ;;
   15746 
   15747     hpux9* | hpux10* | hpux11*)
   15748       lt_prog_compiler_wl_GCJ='-Wl,'
   15749       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15750       # not for PA HP-UX.
   15751       case $host_cpu in
   15752       hppa*64*|ia64*)
   15753 	# +Z the default
   15754 	;;
   15755       *)
   15756 	lt_prog_compiler_pic_GCJ='+Z'
   15757 	;;
   15758       esac
   15759       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15760       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   15761       ;;
   15762 
   15763     irix5* | irix6* | nonstopux*)
   15764       lt_prog_compiler_wl_GCJ='-Wl,'
   15765       # PIC (with -KPIC) is the default.
   15766       lt_prog_compiler_static_GCJ='-non_shared'
   15767       ;;
   15768 
   15769     newsos6)
   15770       lt_prog_compiler_pic_GCJ='-KPIC'
   15771       lt_prog_compiler_static_GCJ='-Bstatic'
   15772       ;;
   15773 
   15774     linux*)
   15775       case $cc_basename in
   15776       icc* | ecc*)
   15777 	lt_prog_compiler_wl_GCJ='-Wl,'
   15778 	lt_prog_compiler_pic_GCJ='-KPIC'
   15779 	lt_prog_compiler_static_GCJ='-static'
   15780         ;;
   15781       pgcc* | pgf77* | pgf90* | pgf95*)
   15782         # Portland Group compilers (*not* the Pentium gcc compiler,
   15783 	# which looks to be a dead project)
   15784 	lt_prog_compiler_wl_GCJ='-Wl,'
   15785 	lt_prog_compiler_pic_GCJ='-fpic'
   15786 	lt_prog_compiler_static_GCJ='-Bstatic'
   15787         ;;
   15788       ccc*)
   15789         lt_prog_compiler_wl_GCJ='-Wl,'
   15790         # All Alpha code is PIC.
   15791         lt_prog_compiler_static_GCJ='-non_shared'
   15792         ;;
   15793       esac
   15794       ;;
   15795 
   15796     osf3* | osf4* | osf5*)
   15797       lt_prog_compiler_wl_GCJ='-Wl,'
   15798       # All OSF/1 code is PIC.
   15799       lt_prog_compiler_static_GCJ='-non_shared'
   15800       ;;
   15801 
   15802     solaris*)
   15803       lt_prog_compiler_pic_GCJ='-KPIC'
   15804       lt_prog_compiler_static_GCJ='-Bstatic'
   15805       case $cc_basename in
   15806       f77* | f90* | f95*)
   15807 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   15808       *)
   15809 	lt_prog_compiler_wl_GCJ='-Wl,';;
   15810       esac
   15811       ;;
   15812 
   15813     sunos4*)
   15814       lt_prog_compiler_wl_GCJ='-Qoption ld '
   15815       lt_prog_compiler_pic_GCJ='-PIC'
   15816       lt_prog_compiler_static_GCJ='-Bstatic'
   15817       ;;
   15818 
   15819     sysv4 | sysv4.2uw2* | sysv4.3*)
   15820       lt_prog_compiler_wl_GCJ='-Wl,'
   15821       lt_prog_compiler_pic_GCJ='-KPIC'
   15822       lt_prog_compiler_static_GCJ='-Bstatic'
   15823       ;;
   15824 
   15825     sysv4*MP*)
   15826       if test -d /usr/nec ;then
   15827 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   15828 	lt_prog_compiler_static_GCJ='-Bstatic'
   15829       fi
   15830       ;;
   15831 
   15832     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15833       lt_prog_compiler_wl_GCJ='-Wl,'
   15834       lt_prog_compiler_pic_GCJ='-KPIC'
   15835       lt_prog_compiler_static_GCJ='-Bstatic'
   15836       ;;
   15837 
   15838     unicos*)
   15839       lt_prog_compiler_wl_GCJ='-Wl,'
   15840       lt_prog_compiler_can_build_shared_GCJ=no
   15841       ;;
   15842 
   15843     uts4*)
   15844       lt_prog_compiler_pic_GCJ='-pic'
   15845       lt_prog_compiler_static_GCJ='-Bstatic'
   15846       ;;
   15847 
   15848     *)
   15849       lt_prog_compiler_can_build_shared_GCJ=no
   15850       ;;
   15851     esac
   15852   fi
   15853 
   15854 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   15855 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
   15856 
   15857 #
   15858 # Check to make sure the PIC flag actually works.
   15859 #
   15860 if test -n "$lt_prog_compiler_pic_GCJ"; then
   15861 
   15862 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   15863 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
   15864 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   15865   echo $ECHO_N "(cached) $ECHO_C" >&6
   15866 else
   15867   lt_prog_compiler_pic_works_GCJ=no
   15868   ac_outfile=conftest.$ac_objext
   15869    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15870    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   15871    # Insert the option either (1) after the last *FLAGS variable, or
   15872    # (2) before a word containing "conftest.", or (3) at the end.
   15873    # Note that $ac_compile itself does not contain backslashes and begins
   15874    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15875    # The option is referenced via a variable to avoid confusing sed.
   15876    lt_compile=`echo "$ac_compile" | $SED \
   15877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15879    -e 's:$: $lt_compiler_flag:'`
   15880    (eval echo "\"\$as_me:15880: $lt_compile\"" >&5)
   15881    (eval "$lt_compile" 2>conftest.err)
   15882    ac_status=$?
   15883    cat conftest.err >&5
   15884    echo "$as_me:15884: \$? = $ac_status" >&5
   15885    if (exit $ac_status) && test -s "$ac_outfile"; then
   15886      # The compiler can only warn and ignore the option if not recognized
   15887      # So say no if there are warnings other than the usual output.
   15888      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   15889      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15890      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15891        lt_prog_compiler_pic_works_GCJ=yes
   15892      fi
   15893    fi
   15894    $rm conftest*
   15895 
   15896 fi
   15897 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   15898 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
   15899 
   15900 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   15901     case $lt_prog_compiler_pic_GCJ in
   15902      "" | " "*) ;;
   15903      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   15904      esac
   15905 else
   15906     lt_prog_compiler_pic_GCJ=
   15907      lt_prog_compiler_can_build_shared_GCJ=no
   15908 fi
   15909 
   15910 fi
   15911 case $host_os in
   15912   # For platforms which do not support PIC, -DPIC is meaningless:
   15913   *djgpp*)
   15914     lt_prog_compiler_pic_GCJ=
   15915     ;;
   15916   *)
   15917     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   15918     ;;
   15919 esac
   15920 
   15921 #
   15922 # Check to make sure the static flag actually works.
   15923 #
   15924 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   15925 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15926 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   15927 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   15928   echo $ECHO_N "(cached) $ECHO_C" >&6
   15929 else
   15930   lt_prog_compiler_static_works_GCJ=no
   15931    save_LDFLAGS="$LDFLAGS"
   15932    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15933    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   15934    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15935      # The linker can only warn and ignore the option if not recognized
   15936      # So say no if there are warnings
   15937      if test -s conftest.err; then
   15938        # Append any errors to the config.log.
   15939        cat conftest.err 1>&5
   15940        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   15941        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15942        if diff conftest.exp conftest.er2 >/dev/null; then
   15943          lt_prog_compiler_static_works_GCJ=yes
   15944        fi
   15945      else
   15946        lt_prog_compiler_static_works_GCJ=yes
   15947      fi
   15948    fi
   15949    $rm conftest*
   15950    LDFLAGS="$save_LDFLAGS"
   15951 
   15952 fi
   15953 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   15954 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
   15955 
   15956 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   15957     :
   15958 else
   15959     lt_prog_compiler_static_GCJ=
   15960 fi
   15961 
   15962 
   15963 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   15964 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   15965 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   15966   echo $ECHO_N "(cached) $ECHO_C" >&6
   15967 else
   15968   lt_cv_prog_compiler_c_o_GCJ=no
   15969    $rm -r conftest 2>/dev/null
   15970    mkdir conftest
   15971    cd conftest
   15972    mkdir out
   15973    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15974 
   15975    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15976    # Insert the option either (1) after the last *FLAGS variable, or
   15977    # (2) before a word containing "conftest.", or (3) at the end.
   15978    # Note that $ac_compile itself does not contain backslashes and begins
   15979    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15980    lt_compile=`echo "$ac_compile" | $SED \
   15981    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15982    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15983    -e 's:$: $lt_compiler_flag:'`
   15984    (eval echo "\"\$as_me:15984: $lt_compile\"" >&5)
   15985    (eval "$lt_compile" 2>out/conftest.err)
   15986    ac_status=$?
   15987    cat out/conftest.err >&5
   15988    echo "$as_me:15988: \$? = $ac_status" >&5
   15989    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15990    then
   15991      # The compiler can only warn and ignore the option if not recognized
   15992      # So say no if there are warnings
   15993      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   15994      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15995      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15996        lt_cv_prog_compiler_c_o_GCJ=yes
   15997      fi
   15998    fi
   15999    chmod u+w . 2>&5
   16000    $rm conftest*
   16001    # SGI C++ compiler will create directory out/ii_files/ for
   16002    # template instantiation
   16003    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16004    $rm out/* && rmdir out
   16005    cd ..
   16006    rmdir conftest
   16007    $rm conftest*
   16008 
   16009 fi
   16010 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16011 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
   16012 
   16013 
   16014 hard_links="nottested"
   16015 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16016   # do not overwrite the value of need_locks provided by the user
   16017   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16018 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   16019   hard_links=yes
   16020   $rm conftest*
   16021   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16022   touch conftest.a
   16023   ln conftest.a conftest.b 2>&5 || hard_links=no
   16024   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16025   echo "$as_me:$LINENO: result: $hard_links" >&5
   16026 echo "${ECHO_T}$hard_links" >&6
   16027   if test "$hard_links" = no; then
   16028     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16029 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16030     need_locks=warn
   16031   fi
   16032 else
   16033   need_locks=no
   16034 fi
   16035 
   16036 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16037 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   16038 
   16039   runpath_var=
   16040   allow_undefined_flag_GCJ=
   16041   enable_shared_with_static_runtimes_GCJ=no
   16042   archive_cmds_GCJ=
   16043   archive_expsym_cmds_GCJ=
   16044   old_archive_From_new_cmds_GCJ=
   16045   old_archive_from_expsyms_cmds_GCJ=
   16046   export_dynamic_flag_spec_GCJ=
   16047   whole_archive_flag_spec_GCJ=
   16048   thread_safe_flag_spec_GCJ=
   16049   hardcode_libdir_flag_spec_GCJ=
   16050   hardcode_libdir_flag_spec_ld_GCJ=
   16051   hardcode_libdir_separator_GCJ=
   16052   hardcode_direct_GCJ=no
   16053   hardcode_minus_L_GCJ=no
   16054   hardcode_shlibpath_var_GCJ=unsupported
   16055   link_all_deplibs_GCJ=unknown
   16056   hardcode_automatic_GCJ=no
   16057   module_cmds_GCJ=
   16058   module_expsym_cmds_GCJ=
   16059   always_export_symbols_GCJ=no
   16060   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16061   # include_expsyms should be a list of space-separated symbols to be *always*
   16062   # included in the symbol list
   16063   include_expsyms_GCJ=
   16064   # exclude_expsyms can be an extended regexp of symbols to exclude
   16065   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16066   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16067   # as well as any symbol that contains `d'.
   16068   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16069   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16070   # platforms (ab)use it in PIC code, but their linkers get confused if
   16071   # the symbol is explicitly referenced.  Since portable code cannot
   16072   # rely on this symbol name, it's probably fine to never include it in
   16073   # preloaded symbol tables.
   16074   extract_expsyms_cmds=
   16075   # Just being paranoid about ensuring that cc_basename is set.
   16076   for cc_temp in $compiler""; do
   16077   case $cc_temp in
   16078     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16079     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16080     \-*) ;;
   16081     *) break;;
   16082   esac
   16083 done
   16084 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16085 
   16086   case $host_os in
   16087   cygwin* | mingw* | pw32*)
   16088     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16089     # When not using gcc, we currently assume that we are using
   16090     # Microsoft Visual C++.
   16091     if test "$GCC" != yes; then
   16092       with_gnu_ld=no
   16093     fi
   16094     ;;
   16095   interix*)
   16096     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16097     with_gnu_ld=yes
   16098     ;;
   16099   openbsd*)
   16100     with_gnu_ld=no
   16101     ;;
   16102   esac
   16103 
   16104   ld_shlibs_GCJ=yes
   16105   if test "$with_gnu_ld" = yes; then
   16106     # If archive_cmds runs LD, not CC, wlarc should be empty
   16107     wlarc='${wl}'
   16108 
   16109     # Set some defaults for GNU ld with shared library support. These
   16110     # are reset later if shared libraries are not supported. Putting them
   16111     # here allows them to be overridden if necessary.
   16112     runpath_var=LD_RUN_PATH
   16113     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16114     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16115     # ancient GNU ld didn't support --whole-archive et. al.
   16116     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16117 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16118       else
   16119   	whole_archive_flag_spec_GCJ=
   16120     fi
   16121     supports_anon_versioning=no
   16122     case `$LD -v 2>/dev/null` in
   16123       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16124       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16125       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16126       *\ 2.11.*) ;; # other 2.11 versions
   16127       *) supports_anon_versioning=yes ;;
   16128     esac
   16129 
   16130     # See if GNU ld supports shared libraries.
   16131     case $host_os in
   16132     aix3* | aix4* | aix5*)
   16133       # On AIX/PPC, the GNU linker is very broken
   16134       if test "$host_cpu" != ia64; then
   16135 	ld_shlibs_GCJ=no
   16136 	cat <<EOF 1>&2
   16137 
   16138 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16139 *** to be unable to reliably create shared libraries on AIX.
   16140 *** Therefore, libtool is disabling shared libraries support.  If you
   16141 *** really care for shared libraries, you may want to modify your PATH
   16142 *** so that a non-GNU linker is found, and then restart.
   16143 
   16144 EOF
   16145       fi
   16146       ;;
   16147 
   16148     amigaos*)
   16149       archive_cmds_GCJ='$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)'
   16150       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16151       hardcode_minus_L_GCJ=yes
   16152 
   16153       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16154       # that the semantics of dynamic libraries on AmigaOS, at least up
   16155       # to version 4, is to share data among multiple programs linked
   16156       # with the same dynamic library.  Since this doesn't match the
   16157       # behavior of shared libraries on other platforms, we can't use
   16158       # them.
   16159       ld_shlibs_GCJ=no
   16160       ;;
   16161 
   16162     beos*)
   16163       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16164 	allow_undefined_flag_GCJ=unsupported
   16165 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16166 	# support --undefined.  This deserves some investigation.  FIXME
   16167 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16168       else
   16169 	ld_shlibs_GCJ=no
   16170       fi
   16171       ;;
   16172 
   16173     cygwin* | mingw* | pw32*)
   16174       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16175       # as there is no search path for DLLs.
   16176       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16177       allow_undefined_flag_GCJ=unsupported
   16178       always_export_symbols_GCJ=no
   16179       enable_shared_with_static_runtimes_GCJ=yes
   16180       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16181 
   16182       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16183         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16184 	# If the export-symbols file already is a .def file (1st line
   16185 	# is EXPORTS), use it as is; otherwise, prepend...
   16186 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16187 	  cp $export_symbols $output_objdir/$soname.def;
   16188 	else
   16189 	  echo EXPORTS > $output_objdir/$soname.def;
   16190 	  cat $export_symbols >> $output_objdir/$soname.def;
   16191 	fi~
   16192 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16193       else
   16194 	ld_shlibs_GCJ=no
   16195       fi
   16196       ;;
   16197 
   16198     interix3*)
   16199       hardcode_direct_GCJ=no
   16200       hardcode_shlibpath_var_GCJ=no
   16201       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16202       export_dynamic_flag_spec_GCJ='${wl}-E'
   16203       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16204       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16205       # default) and relocated if they conflict, which is a slow very memory
   16206       # consuming and fragmenting process.  To avoid this, we pick a random,
   16207       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16208       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16209       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16210       archive_expsym_cmds_GCJ='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'
   16211       ;;
   16212 
   16213     linux*)
   16214       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16215 	tmp_addflag=
   16216 	case $cc_basename,$host_cpu in
   16217 	pgcc*)				# Portland Group C compiler
   16218 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   16219 	  tmp_addflag=' $pic_flag'
   16220 	  ;;
   16221 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16222 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   16223 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16224 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16225 	  tmp_addflag=' -i_dynamic' ;;
   16226 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16227 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16228 	ifc* | ifort*)			# Intel Fortran compiler
   16229 	  tmp_addflag=' -nofor_main' ;;
   16230 	esac
   16231 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16232 
   16233 	if test $supports_anon_versioning = yes; then
   16234 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16235   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16236   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16237 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16238 	fi
   16239       else
   16240 	ld_shlibs_GCJ=no
   16241       fi
   16242       ;;
   16243 
   16244     netbsd*)
   16245       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16246 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16247 	wlarc=
   16248       else
   16249 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16250 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16251       fi
   16252       ;;
   16253 
   16254     solaris*)
   16255       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16256 	ld_shlibs_GCJ=no
   16257 	cat <<EOF 1>&2
   16258 
   16259 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16260 *** create shared libraries on Solaris systems.  Therefore, libtool
   16261 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16262 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16263 *** your PATH or compiler configuration so that the native linker is
   16264 *** used, and then restart.
   16265 
   16266 EOF
   16267       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16268 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16269 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16270       else
   16271 	ld_shlibs_GCJ=no
   16272       fi
   16273       ;;
   16274 
   16275     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16276       case `$LD -v 2>&1` in
   16277         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16278 	ld_shlibs_GCJ=no
   16279 	cat <<_LT_EOF 1>&2
   16280 
   16281 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16282 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16283 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16284 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16285 *** your PATH or compiler configuration so that the native linker is
   16286 *** used, and then restart.
   16287 
   16288 _LT_EOF
   16289 	;;
   16290 	*)
   16291 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16292 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16293 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16294 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16295 	  else
   16296 	    ld_shlibs_GCJ=no
   16297 	  fi
   16298 	;;
   16299       esac
   16300       ;;
   16301 
   16302     sunos4*)
   16303       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16304       wlarc=
   16305       hardcode_direct_GCJ=yes
   16306       hardcode_shlibpath_var_GCJ=no
   16307       ;;
   16308 
   16309     *)
   16310       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16311 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16312 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16313       else
   16314 	ld_shlibs_GCJ=no
   16315       fi
   16316       ;;
   16317     esac
   16318 
   16319     if test "$ld_shlibs_GCJ" = no; then
   16320       runpath_var=
   16321       hardcode_libdir_flag_spec_GCJ=
   16322       export_dynamic_flag_spec_GCJ=
   16323       whole_archive_flag_spec_GCJ=
   16324     fi
   16325   else
   16326     # PORTME fill in a description of your system's linker (not GNU ld)
   16327     case $host_os in
   16328     aix3*)
   16329       allow_undefined_flag_GCJ=unsupported
   16330       always_export_symbols_GCJ=yes
   16331       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   16332       # Note: this linker hardcodes the directories in LIBPATH if there
   16333       # are no directories specified by -L.
   16334       hardcode_minus_L_GCJ=yes
   16335       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16336 	# Neither direct hardcoding nor static linking is supported with a
   16337 	# broken collect2.
   16338 	hardcode_direct_GCJ=unsupported
   16339       fi
   16340       ;;
   16341 
   16342     aix4* | aix5*)
   16343       if test "$host_cpu" = ia64; then
   16344 	# On IA64, the linker does run time linking by default, so we don't
   16345 	# have to do anything special.
   16346 	aix_use_runtimelinking=no
   16347 	exp_sym_flag='-Bexport'
   16348 	no_entry_flag=""
   16349       else
   16350 	# If we're using GNU nm, then we don't want the "-C" option.
   16351 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16352 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16353 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   16354 	else
   16355 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   16356 	fi
   16357 	aix_use_runtimelinking=no
   16358 
   16359 	# Test if we are trying to use run time linking or normal
   16360 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16361 	# need to do runtime linking.
   16362 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16363 	  for ld_flag in $LDFLAGS; do
   16364   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16365   	    aix_use_runtimelinking=yes
   16366   	    break
   16367   	  fi
   16368 	  done
   16369 	  ;;
   16370 	esac
   16371 
   16372 	exp_sym_flag='-bexport'
   16373 	no_entry_flag='-bnoentry'
   16374       fi
   16375 
   16376       # When large executables or shared objects are built, AIX ld can
   16377       # have problems creating the table of contents.  If linking a library
   16378       # or program results in "error TOC overflow" add -mminimal-toc to
   16379       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16380       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16381 
   16382       archive_cmds_GCJ=''
   16383       hardcode_direct_GCJ=yes
   16384       hardcode_libdir_separator_GCJ=':'
   16385       link_all_deplibs_GCJ=yes
   16386 
   16387       if test "$GCC" = yes; then
   16388 	case $host_os in aix4.[012]|aix4.[012].*)
   16389 	# We only want to do this on AIX 4.2 and lower, the check
   16390 	# below for broken collect2 doesn't work under 4.3+
   16391 	  collect2name=`${CC} -print-prog-name=collect2`
   16392 	  if test -f "$collect2name" && \
   16393   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16394 	  then
   16395   	  # We have reworked collect2
   16396   	  hardcode_direct_GCJ=yes
   16397 	  else
   16398   	  # We have old collect2
   16399   	  hardcode_direct_GCJ=unsupported
   16400   	  # It fails to find uninstalled libraries when the uninstalled
   16401   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16402   	  # to unsupported forces relinking
   16403   	  hardcode_minus_L_GCJ=yes
   16404   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16405   	  hardcode_libdir_separator_GCJ=
   16406 	  fi
   16407 	  ;;
   16408 	esac
   16409 	shared_flag='-shared'
   16410 	if test "$aix_use_runtimelinking" = yes; then
   16411 	  shared_flag="$shared_flag "'${wl}-G'
   16412 	fi
   16413       else
   16414 	# not using gcc
   16415 	if test "$host_cpu" = ia64; then
   16416   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16417   	# chokes on -Wl,-G. The following line is correct:
   16418 	  shared_flag='-G'
   16419 	else
   16420 	  if test "$aix_use_runtimelinking" = yes; then
   16421 	    shared_flag='${wl}-G'
   16422 	  else
   16423 	    shared_flag='${wl}-bM:SRE'
   16424 	  fi
   16425 	fi
   16426       fi
   16427 
   16428       # It seems that -bexpall does not export symbols beginning with
   16429       # underscore (_), so it is better to generate a list of symbols to export.
   16430       always_export_symbols_GCJ=yes
   16431       if test "$aix_use_runtimelinking" = yes; then
   16432 	# Warning - without using the other runtime loading flags (-brtl),
   16433 	# -berok will link without error, but may produce a broken library.
   16434 	allow_undefined_flag_GCJ='-berok'
   16435        # Determine the default libpath from the value encoded in an empty executable.
   16436        cat >conftest.$ac_ext <<_ACEOF
   16437 /* confdefs.h.  */
   16438 _ACEOF
   16439 cat confdefs.h >>conftest.$ac_ext
   16440 cat >>conftest.$ac_ext <<_ACEOF
   16441 /* end confdefs.h.  */
   16442 
   16443 int
   16444 main ()
   16445 {
   16446 
   16447   ;
   16448   return 0;
   16449 }
   16450 _ACEOF
   16451 rm -f conftest.$ac_objext conftest$ac_exeext
   16452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16453   (eval $ac_link) 2>conftest.er1
   16454   ac_status=$?
   16455   grep -v '^ *+' conftest.er1 >conftest.err
   16456   rm -f conftest.er1
   16457   cat conftest.err >&5
   16458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16459   (exit $ac_status); } &&
   16460 	 { ac_try='test -z "$ac_c_werror_flag"
   16461 			 || test ! -s conftest.err'
   16462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16463   (eval $ac_try) 2>&5
   16464   ac_status=$?
   16465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16466   (exit $ac_status); }; } &&
   16467 	 { ac_try='test -s conftest$ac_exeext'
   16468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16469   (eval $ac_try) 2>&5
   16470   ac_status=$?
   16471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16472   (exit $ac_status); }; }; then
   16473 
   16474 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16475 }'`
   16476 # Check for a 64-bit object if we didn't find anything.
   16477 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16478 }'`; fi
   16479 else
   16480   echo "$as_me: failed program was:" >&5
   16481 sed 's/^/| /' conftest.$ac_ext >&5
   16482 
   16483 fi
   16484 rm -f conftest.err conftest.$ac_objext \
   16485       conftest$ac_exeext conftest.$ac_ext
   16486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16487 
   16488        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16489 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   16490        else
   16491 	if test "$host_cpu" = ia64; then
   16492 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   16493 	  allow_undefined_flag_GCJ="-z nodefs"
   16494 	  archive_expsym_cmds_GCJ="\$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"
   16495 	else
   16496 	 # Determine the default libpath from the value encoded in an empty executable.
   16497 	 cat >conftest.$ac_ext <<_ACEOF
   16498 /* confdefs.h.  */
   16499 _ACEOF
   16500 cat confdefs.h >>conftest.$ac_ext
   16501 cat >>conftest.$ac_ext <<_ACEOF
   16502 /* end confdefs.h.  */
   16503 
   16504 int
   16505 main ()
   16506 {
   16507 
   16508   ;
   16509   return 0;
   16510 }
   16511 _ACEOF
   16512 rm -f conftest.$ac_objext conftest$ac_exeext
   16513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16514   (eval $ac_link) 2>conftest.er1
   16515   ac_status=$?
   16516   grep -v '^ *+' conftest.er1 >conftest.err
   16517   rm -f conftest.er1
   16518   cat conftest.err >&5
   16519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16520   (exit $ac_status); } &&
   16521 	 { ac_try='test -z "$ac_c_werror_flag"
   16522 			 || test ! -s conftest.err'
   16523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16524   (eval $ac_try) 2>&5
   16525   ac_status=$?
   16526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16527   (exit $ac_status); }; } &&
   16528 	 { ac_try='test -s conftest$ac_exeext'
   16529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16530   (eval $ac_try) 2>&5
   16531   ac_status=$?
   16532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16533   (exit $ac_status); }; }; then
   16534 
   16535 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16536 }'`
   16537 # Check for a 64-bit object if we didn't find anything.
   16538 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16539 }'`; fi
   16540 else
   16541   echo "$as_me: failed program was:" >&5
   16542 sed 's/^/| /' conftest.$ac_ext >&5
   16543 
   16544 fi
   16545 rm -f conftest.err conftest.$ac_objext \
   16546       conftest$ac_exeext conftest.$ac_ext
   16547 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16548 
   16549 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16550 	  # Warning - without using the other run time loading flags,
   16551 	  # -berok will link without error, but may produce a broken library.
   16552 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   16553 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   16554 	  # Exported symbols can be pulled into shared objects from archives
   16555 	  whole_archive_flag_spec_GCJ='$convenience'
   16556 	  archive_cmds_need_lc_GCJ=yes
   16557 	  # This is similar to how AIX traditionally builds its shared libraries.
   16558 	  archive_expsym_cmds_GCJ="\$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'
   16559 	fi
   16560       fi
   16561       ;;
   16562 
   16563     amigaos*)
   16564       archive_cmds_GCJ='$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)'
   16565       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16566       hardcode_minus_L_GCJ=yes
   16567       # see comment about different semantics on the GNU ld section
   16568       ld_shlibs_GCJ=no
   16569       ;;
   16570 
   16571     bsdi[45]*)
   16572       export_dynamic_flag_spec_GCJ=-rdynamic
   16573       ;;
   16574 
   16575     cygwin* | mingw* | pw32*)
   16576       # When not using gcc, we currently assume that we are using
   16577       # Microsoft Visual C++.
   16578       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16579       # no search path for DLLs.
   16580       hardcode_libdir_flag_spec_GCJ=' '
   16581       allow_undefined_flag_GCJ=unsupported
   16582       # Tell ltmain to make .lib files, not .a files.
   16583       libext=lib
   16584       # Tell ltmain to make .dll files, not .so files.
   16585       shrext_cmds=".dll"
   16586       # FIXME: Setting linknames here is a bad hack.
   16587       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   16588       # The linker will automatically build a .lib file if we build a DLL.
   16589       old_archive_From_new_cmds_GCJ='true'
   16590       # FIXME: Should let the user specify the lib program.
   16591       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   16592       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   16593       enable_shared_with_static_runtimes_GCJ=yes
   16594       ;;
   16595 
   16596     darwin* | rhapsody*)
   16597       case $host_os in
   16598         rhapsody* | darwin1.[012])
   16599          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   16600          ;;
   16601        *) # Darwin 1.3 on
   16602          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   16603            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16604          else
   16605            case ${MACOSX_DEPLOYMENT_TARGET} in
   16606              10.[012])
   16607                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16608                ;;
   16609              10.*)
   16610                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   16611                ;;
   16612            esac
   16613          fi
   16614          ;;
   16615       esac
   16616       archive_cmds_need_lc_GCJ=no
   16617       hardcode_direct_GCJ=no
   16618       hardcode_automatic_GCJ=yes
   16619       hardcode_shlibpath_var_GCJ=unsupported
   16620       whole_archive_flag_spec_GCJ=''
   16621       link_all_deplibs_GCJ=yes
   16622     if test "$GCC" = yes ; then
   16623     	output_verbose_link_cmd='echo'
   16624         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   16625       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16626       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16627       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   16628       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   16629     else
   16630       case $cc_basename in
   16631         xlc*)
   16632          output_verbose_link_cmd='echo'
   16633          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   16634          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16635           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16636          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   16637           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   16638           ;;
   16639        *)
   16640          ld_shlibs_GCJ=no
   16641           ;;
   16642       esac
   16643     fi
   16644       ;;
   16645 
   16646     dgux*)
   16647       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16648       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16649       hardcode_shlibpath_var_GCJ=no
   16650       ;;
   16651 
   16652     freebsd1*)
   16653       ld_shlibs_GCJ=no
   16654       ;;
   16655 
   16656     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16657     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16658     # does not break anything, and helps significantly (at the cost of a little
   16659     # extra space).
   16660     freebsd2.2*)
   16661       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16662       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16663       hardcode_direct_GCJ=yes
   16664       hardcode_shlibpath_var_GCJ=no
   16665       ;;
   16666 
   16667     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16668     freebsd2*)
   16669       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16670       hardcode_direct_GCJ=yes
   16671       hardcode_minus_L_GCJ=yes
   16672       hardcode_shlibpath_var_GCJ=no
   16673       ;;
   16674 
   16675     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16676     freebsd* | kfreebsd*-gnu | dragonfly*)
   16677       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   16678       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16679       hardcode_direct_GCJ=yes
   16680       hardcode_shlibpath_var_GCJ=no
   16681       ;;
   16682 
   16683     hpux9*)
   16684       if test "$GCC" = yes; then
   16685 	archive_cmds_GCJ='$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'
   16686       else
   16687 	archive_cmds_GCJ='$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'
   16688       fi
   16689       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16690       hardcode_libdir_separator_GCJ=:
   16691       hardcode_direct_GCJ=yes
   16692 
   16693       # hardcode_minus_L: Not really in the search PATH,
   16694       # but as the default location of the library.
   16695       hardcode_minus_L_GCJ=yes
   16696       export_dynamic_flag_spec_GCJ='${wl}-E'
   16697       ;;
   16698 
   16699     hpux10*)
   16700       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16701 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16702       else
   16703 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16704       fi
   16705       if test "$with_gnu_ld" = no; then
   16706 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16707 	hardcode_libdir_separator_GCJ=:
   16708 
   16709 	hardcode_direct_GCJ=yes
   16710 	export_dynamic_flag_spec_GCJ='${wl}-E'
   16711 
   16712 	# hardcode_minus_L: Not really in the search PATH,
   16713 	# but as the default location of the library.
   16714 	hardcode_minus_L_GCJ=yes
   16715       fi
   16716       ;;
   16717 
   16718     hpux11*)
   16719       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16720 	case $host_cpu in
   16721 	hppa*64*)
   16722 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16723 	  ;;
   16724 	ia64*)
   16725 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16726 	  ;;
   16727 	*)
   16728 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16729 	  ;;
   16730 	esac
   16731       else
   16732 	case $host_cpu in
   16733 	hppa*64*)
   16734 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16735 	  ;;
   16736 	ia64*)
   16737 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16738 	  ;;
   16739 	*)
   16740 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16741 	  ;;
   16742 	esac
   16743       fi
   16744       if test "$with_gnu_ld" = no; then
   16745 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16746 	hardcode_libdir_separator_GCJ=:
   16747 
   16748 	case $host_cpu in
   16749 	hppa*64*|ia64*)
   16750 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   16751 	  hardcode_direct_GCJ=no
   16752 	  hardcode_shlibpath_var_GCJ=no
   16753 	  ;;
   16754 	*)
   16755 	  hardcode_direct_GCJ=yes
   16756 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   16757 
   16758 	  # hardcode_minus_L: Not really in the search PATH,
   16759 	  # but as the default location of the library.
   16760 	  hardcode_minus_L_GCJ=yes
   16761 	  ;;
   16762 	esac
   16763       fi
   16764       ;;
   16765 
   16766     irix5* | irix6* | nonstopux*)
   16767       if test "$GCC" = yes; then
   16768 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   16769       else
   16770 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   16771 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   16772       fi
   16773       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16774       hardcode_libdir_separator_GCJ=:
   16775       link_all_deplibs_GCJ=yes
   16776       ;;
   16777 
   16778     netbsd*)
   16779       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16780 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16781       else
   16782 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16783       fi
   16784       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16785       hardcode_direct_GCJ=yes
   16786       hardcode_shlibpath_var_GCJ=no
   16787       ;;
   16788 
   16789     newsos6)
   16790       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16791       hardcode_direct_GCJ=yes
   16792       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16793       hardcode_libdir_separator_GCJ=:
   16794       hardcode_shlibpath_var_GCJ=no
   16795       ;;
   16796 
   16797     openbsd*)
   16798       hardcode_direct_GCJ=yes
   16799       hardcode_shlibpath_var_GCJ=no
   16800       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16801 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16802 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   16803 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16804 	export_dynamic_flag_spec_GCJ='${wl}-E'
   16805       else
   16806        case $host_os in
   16807 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   16808 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16809 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16810 	   ;;
   16811 	 *)
   16812 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16813 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16814 	   ;;
   16815        esac
   16816       fi
   16817       ;;
   16818 
   16819     os2*)
   16820       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16821       hardcode_minus_L_GCJ=yes
   16822       allow_undefined_flag_GCJ=unsupported
   16823       archive_cmds_GCJ='$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'
   16824       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   16825       ;;
   16826 
   16827     osf3*)
   16828       if test "$GCC" = yes; then
   16829 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   16830 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   16831       else
   16832 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   16833 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   16834       fi
   16835       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16836       hardcode_libdir_separator_GCJ=:
   16837       ;;
   16838 
   16839     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16840       if test "$GCC" = yes; then
   16841 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   16842 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   16843 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16844       else
   16845 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   16846 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   16847 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   16848 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   16849 
   16850 	# Both c and cxx compiler support -rpath directly
   16851 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   16852       fi
   16853       hardcode_libdir_separator_GCJ=:
   16854       ;;
   16855 
   16856     solaris*)
   16857       no_undefined_flag_GCJ=' -z text'
   16858       if test "$GCC" = yes; then
   16859 	wlarc='${wl}'
   16860 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16861 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   16862 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   16863       else
   16864 	wlarc=''
   16865 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16866 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   16867   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   16868       fi
   16869       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16870       hardcode_shlibpath_var_GCJ=no
   16871       case $host_os in
   16872       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16873       *)
   16874  	# The compiler driver will combine linker options so we
   16875  	# cannot just pass the convience library names through
   16876  	# without $wl, iff we do not link with $LD.
   16877  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   16878  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16879  	case $wlarc in
   16880  	'')
   16881  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   16882  	*)
   16883  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   16884  	esac ;;
   16885       esac
   16886       link_all_deplibs_GCJ=yes
   16887       ;;
   16888 
   16889     sunos4*)
   16890       if test "x$host_vendor" = xsequent; then
   16891 	# Use $CC to link under sequent, because it throws in some extra .o
   16892 	# files that make .init and .fini sections work.
   16893 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16894       else
   16895 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16896       fi
   16897       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16898       hardcode_direct_GCJ=yes
   16899       hardcode_minus_L_GCJ=yes
   16900       hardcode_shlibpath_var_GCJ=no
   16901       ;;
   16902 
   16903     sysv4)
   16904       case $host_vendor in
   16905 	sni)
   16906 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16907 	  hardcode_direct_GCJ=yes # is this really true???
   16908 	;;
   16909 	siemens)
   16910 	  ## LD is ld it makes a PLAMLIB
   16911 	  ## CC just makes a GrossModule.
   16912 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16913 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   16914 	  hardcode_direct_GCJ=no
   16915         ;;
   16916 	motorola)
   16917 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16918 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   16919 	;;
   16920       esac
   16921       runpath_var='LD_RUN_PATH'
   16922       hardcode_shlibpath_var_GCJ=no
   16923       ;;
   16924 
   16925     sysv4.3*)
   16926       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16927       hardcode_shlibpath_var_GCJ=no
   16928       export_dynamic_flag_spec_GCJ='-Bexport'
   16929       ;;
   16930 
   16931     sysv4*MP*)
   16932       if test -d /usr/nec; then
   16933 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16934 	hardcode_shlibpath_var_GCJ=no
   16935 	runpath_var=LD_RUN_PATH
   16936 	hardcode_runpath_var=yes
   16937 	ld_shlibs_GCJ=yes
   16938       fi
   16939       ;;
   16940 
   16941     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   16942       no_undefined_flag_GCJ='${wl}-z,text'
   16943       archive_cmds_need_lc_GCJ=no
   16944       hardcode_shlibpath_var_GCJ=no
   16945       runpath_var='LD_RUN_PATH'
   16946 
   16947       if test "$GCC" = yes; then
   16948 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16949 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16950       else
   16951 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16952 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16953       fi
   16954       ;;
   16955 
   16956     sysv5* | sco3.2v5* | sco5v6*)
   16957       # Note: We can NOT use -z defs as we might desire, because we do not
   16958       # link with -lc, and that would cause any symbols used from libc to
   16959       # always be unresolved, which means just about no library would
   16960       # ever link correctly.  If we're not using GNU ld we use -z text
   16961       # though, which does catch some bad symbols but isn't as heavy-handed
   16962       # as -z defs.
   16963       no_undefined_flag_GCJ='${wl}-z,text'
   16964       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   16965       archive_cmds_need_lc_GCJ=no
   16966       hardcode_shlibpath_var_GCJ=no
   16967       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   16968       hardcode_libdir_separator_GCJ=':'
   16969       link_all_deplibs_GCJ=yes
   16970       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   16971       runpath_var='LD_RUN_PATH'
   16972 
   16973       if test "$GCC" = yes; then
   16974 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16975 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16976       else
   16977 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16978 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16979       fi
   16980       ;;
   16981 
   16982     uts4*)
   16983       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16984       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16985       hardcode_shlibpath_var_GCJ=no
   16986       ;;
   16987 
   16988     *)
   16989       ld_shlibs_GCJ=no
   16990       ;;
   16991     esac
   16992   fi
   16993 
   16994 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   16995 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
   16996 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   16997 
   16998 #
   16999 # Do we need to explicitly link libc?
   17000 #
   17001 case "x$archive_cmds_need_lc_GCJ" in
   17002 x|xyes)
   17003   # Assume -lc should be added
   17004   archive_cmds_need_lc_GCJ=yes
   17005 
   17006   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17007     case $archive_cmds_GCJ in
   17008     *'~'*)
   17009       # FIXME: we may have to deal with multi-command sequences.
   17010       ;;
   17011     '$CC '*)
   17012       # Test whether the compiler implicitly links with -lc since on some
   17013       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17014       # to ld, don't add -lc before -lgcc.
   17015       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17016 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   17017       $rm conftest*
   17018       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17019 
   17020       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17021   (eval $ac_compile) 2>&5
   17022   ac_status=$?
   17023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17024   (exit $ac_status); } 2>conftest.err; then
   17025         soname=conftest
   17026         lib=conftest
   17027         libobjs=conftest.$ac_objext
   17028         deplibs=
   17029         wl=$lt_prog_compiler_wl_GCJ
   17030 	pic_flag=$lt_prog_compiler_pic_GCJ
   17031         compiler_flags=-v
   17032         linker_flags=-v
   17033         verstring=
   17034         output_objdir=.
   17035         libname=conftest
   17036         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17037         allow_undefined_flag_GCJ=
   17038         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17039   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17040   ac_status=$?
   17041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17042   (exit $ac_status); }
   17043         then
   17044 	  archive_cmds_need_lc_GCJ=no
   17045         else
   17046 	  archive_cmds_need_lc_GCJ=yes
   17047         fi
   17048         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17049       else
   17050         cat conftest.err 1>&5
   17051       fi
   17052       $rm conftest*
   17053       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17054 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
   17055       ;;
   17056     esac
   17057   fi
   17058   ;;
   17059 esac
   17060 
   17061 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17062 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   17063 library_names_spec=
   17064 libname_spec='lib$name'
   17065 soname_spec=
   17066 shrext_cmds=".so"
   17067 postinstall_cmds=
   17068 postuninstall_cmds=
   17069 finish_cmds=
   17070 finish_eval=
   17071 shlibpath_var=
   17072 shlibpath_overrides_runpath=unknown
   17073 version_type=none
   17074 dynamic_linker="$host_os ld.so"
   17075 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17076 if test "$GCC" = yes; then
   17077   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17078   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17079     # if the path contains ";" then we assume it to be the separator
   17080     # otherwise default to the standard path separator (i.e. ":") - it is
   17081     # assumed that no part of a normal pathname contains ";" but that should
   17082     # okay in the real world where ";" in dirpaths is itself problematic.
   17083     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17084   else
   17085     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17086   fi
   17087 else
   17088   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17089 fi
   17090 need_lib_prefix=unknown
   17091 hardcode_into_libs=no
   17092 
   17093 # when you set need_version to no, make sure it does not cause -set_version
   17094 # flags to be left without arguments
   17095 need_version=unknown
   17096 
   17097 case $host_os in
   17098 aix3*)
   17099   version_type=linux
   17100   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17101   shlibpath_var=LIBPATH
   17102 
   17103   # AIX 3 has no versioning support, so we append a major version to the name.
   17104   soname_spec='${libname}${release}${shared_ext}$major'
   17105   ;;
   17106 
   17107 aix4* | aix5*)
   17108   version_type=linux
   17109   need_lib_prefix=no
   17110   need_version=no
   17111   hardcode_into_libs=yes
   17112   if test "$host_cpu" = ia64; then
   17113     # AIX 5 supports IA64
   17114     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17115     shlibpath_var=LD_LIBRARY_PATH
   17116   else
   17117     # With GCC up to 2.95.x, collect2 would create an import file
   17118     # for dependence libraries.  The import file would start with
   17119     # the line `#! .'.  This would cause the generated library to
   17120     # depend on `.', always an invalid library.  This was fixed in
   17121     # development snapshots of GCC prior to 3.0.
   17122     case $host_os in
   17123       aix4 | aix4.[01] | aix4.[01].*)
   17124       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17125 	   echo ' yes '
   17126 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17127 	:
   17128       else
   17129 	can_build_shared=no
   17130       fi
   17131       ;;
   17132     esac
   17133     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17134     # soname into executable. Probably we can add versioning support to
   17135     # collect2, so additional links can be useful in future.
   17136     if test "$aix_use_runtimelinking" = yes; then
   17137       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17138       # instead of lib<name>.a to let people know that these are not
   17139       # typical AIX shared libraries.
   17140       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17141     else
   17142       # We preserve .a as extension for shared libraries through AIX4.2
   17143       # and later when we are not doing run time linking.
   17144       library_names_spec='${libname}${release}.a $libname.a'
   17145       soname_spec='${libname}${release}${shared_ext}$major'
   17146     fi
   17147     shlibpath_var=LIBPATH
   17148   fi
   17149   ;;
   17150 
   17151 amigaos*)
   17152   library_names_spec='$libname.ixlibrary $libname.a'
   17153   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17154   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'
   17155   ;;
   17156 
   17157 beos*)
   17158   library_names_spec='${libname}${shared_ext}'
   17159   dynamic_linker="$host_os ld.so"
   17160   shlibpath_var=LIBRARY_PATH
   17161   ;;
   17162 
   17163 bsdi[45]*)
   17164   version_type=linux
   17165   need_version=no
   17166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17167   soname_spec='${libname}${release}${shared_ext}$major'
   17168   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17169   shlibpath_var=LD_LIBRARY_PATH
   17170   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17171   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17172   # the default ld.so.conf also contains /usr/contrib/lib and
   17173   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17174   # libtool to hard-code these into programs
   17175   ;;
   17176 
   17177 cygwin* | mingw* | pw32*)
   17178   version_type=windows
   17179   shrext_cmds=".dll"
   17180   need_version=no
   17181   need_lib_prefix=no
   17182 
   17183   case $GCC,$host_os in
   17184   yes,cygwin* | yes,mingw* | yes,pw32*)
   17185     library_names_spec='$libname.dll.a'
   17186     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17187     postinstall_cmds='base_file=`basename \${file}`~
   17188       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17189       dldir=$destdir/`dirname \$dlpath`~
   17190       test -d \$dldir || mkdir -p \$dldir~
   17191       $install_prog $dir/$dlname \$dldir/$dlname~
   17192       chmod a+x \$dldir/$dlname'
   17193     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17194       dlpath=$dir/\$dldll~
   17195        $rm \$dlpath'
   17196     shlibpath_overrides_runpath=yes
   17197 
   17198     case $host_os in
   17199     cygwin*)
   17200       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17201       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17202       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17203       ;;
   17204     mingw*)
   17205       # MinGW DLLs use traditional 'lib' prefix
   17206       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17207       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17208       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17209         # It is most probably a Windows format PATH printed by
   17210         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17211         # path with ; separators, and with drive letters. We can handle the
   17212         # drive letters (cygwin fileutils understands them), so leave them,
   17213         # especially as we might pass files found there to a mingw objdump,
   17214         # which wouldn't understand a cygwinified path. Ahh.
   17215         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17216       else
   17217         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17218       fi
   17219       ;;
   17220     pw32*)
   17221       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17222       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17223       ;;
   17224     esac
   17225     ;;
   17226 
   17227   *)
   17228     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17229     ;;
   17230   esac
   17231   dynamic_linker='Win32 ld.exe'
   17232   # FIXME: first we should search . and the directory the executable is in
   17233   shlibpath_var=PATH
   17234   ;;
   17235 
   17236 darwin* | rhapsody*)
   17237   dynamic_linker="$host_os dyld"
   17238   version_type=darwin
   17239   need_lib_prefix=no
   17240   need_version=no
   17241   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17242   soname_spec='${libname}${release}${major}$shared_ext'
   17243   shlibpath_overrides_runpath=yes
   17244   shlibpath_var=DYLD_LIBRARY_PATH
   17245   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17246   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17247   if test "$GCC" = yes; then
   17248     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   17249   else
   17250     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17251   fi
   17252   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17253   ;;
   17254 
   17255 dgux*)
   17256   version_type=linux
   17257   need_lib_prefix=no
   17258   need_version=no
   17259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17260   soname_spec='${libname}${release}${shared_ext}$major'
   17261   shlibpath_var=LD_LIBRARY_PATH
   17262   ;;
   17263 
   17264 freebsd1*)
   17265   dynamic_linker=no
   17266   ;;
   17267 
   17268 kfreebsd*-gnu)
   17269   version_type=linux
   17270   need_lib_prefix=no
   17271   need_version=no
   17272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17273   soname_spec='${libname}${release}${shared_ext}$major'
   17274   shlibpath_var=LD_LIBRARY_PATH
   17275   shlibpath_overrides_runpath=no
   17276   hardcode_into_libs=yes
   17277   dynamic_linker='GNU ld.so'
   17278   ;;
   17279 
   17280 freebsd* | dragonfly*)
   17281   # DragonFly does not have aout.  When/if they implement a new
   17282   # versioning mechanism, adjust this.
   17283   if test -x /usr/bin/objformat; then
   17284     objformat=`/usr/bin/objformat`
   17285   else
   17286     case $host_os in
   17287     freebsd[123]*) objformat=aout ;;
   17288     *) objformat=elf ;;
   17289     esac
   17290   fi
   17291   version_type=freebsd-$objformat
   17292   case $version_type in
   17293     freebsd-elf*)
   17294       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17295       need_version=no
   17296       need_lib_prefix=no
   17297       ;;
   17298     freebsd-*)
   17299       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17300       need_version=yes
   17301       ;;
   17302   esac
   17303   shlibpath_var=LD_LIBRARY_PATH
   17304   case $host_os in
   17305   freebsd2*)
   17306     shlibpath_overrides_runpath=yes
   17307     ;;
   17308   freebsd3.[01]* | freebsdelf3.[01]*)
   17309     shlibpath_overrides_runpath=yes
   17310     hardcode_into_libs=yes
   17311     ;;
   17312   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17313   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17314     shlibpath_overrides_runpath=no
   17315     hardcode_into_libs=yes
   17316     ;;
   17317   freebsd*) # from 4.6 on
   17318     shlibpath_overrides_runpath=yes
   17319     hardcode_into_libs=yes
   17320     ;;
   17321   esac
   17322   ;;
   17323 
   17324 gnu*)
   17325   version_type=linux
   17326   need_lib_prefix=no
   17327   need_version=no
   17328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17329   soname_spec='${libname}${release}${shared_ext}$major'
   17330   shlibpath_var=LD_LIBRARY_PATH
   17331   hardcode_into_libs=yes
   17332   ;;
   17333 
   17334 hpux9* | hpux10* | hpux11*)
   17335   # Give a soname corresponding to the major version so that dld.sl refuses to
   17336   # link against other versions.
   17337   version_type=sunos
   17338   need_lib_prefix=no
   17339   need_version=no
   17340   case $host_cpu in
   17341   ia64*)
   17342     shrext_cmds='.so'
   17343     hardcode_into_libs=yes
   17344     dynamic_linker="$host_os dld.so"
   17345     shlibpath_var=LD_LIBRARY_PATH
   17346     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17347     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17348     soname_spec='${libname}${release}${shared_ext}$major'
   17349     if test "X$HPUX_IA64_MODE" = X32; then
   17350       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17351     else
   17352       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17353     fi
   17354     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17355     ;;
   17356    hppa*64*)
   17357      shrext_cmds='.sl'
   17358      hardcode_into_libs=yes
   17359      dynamic_linker="$host_os dld.sl"
   17360      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17361      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17362      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17363      soname_spec='${libname}${release}${shared_ext}$major'
   17364      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17365      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17366      ;;
   17367    *)
   17368     shrext_cmds='.sl'
   17369     dynamic_linker="$host_os dld.sl"
   17370     shlibpath_var=SHLIB_PATH
   17371     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17373     soname_spec='${libname}${release}${shared_ext}$major'
   17374     ;;
   17375   esac
   17376   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17377   postinstall_cmds='chmod 555 $lib'
   17378   ;;
   17379 
   17380 interix3*)
   17381   version_type=linux
   17382   need_lib_prefix=no
   17383   need_version=no
   17384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17385   soname_spec='${libname}${release}${shared_ext}$major'
   17386   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17387   shlibpath_var=LD_LIBRARY_PATH
   17388   shlibpath_overrides_runpath=no
   17389   hardcode_into_libs=yes
   17390   ;;
   17391 
   17392 irix5* | irix6* | nonstopux*)
   17393   case $host_os in
   17394     nonstopux*) version_type=nonstopux ;;
   17395     *)
   17396 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17397 		version_type=linux
   17398 	else
   17399 		version_type=irix
   17400 	fi ;;
   17401   esac
   17402   need_lib_prefix=no
   17403   need_version=no
   17404   soname_spec='${libname}${release}${shared_ext}$major'
   17405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17406   case $host_os in
   17407   irix5* | nonstopux*)
   17408     libsuff= shlibsuff=
   17409     ;;
   17410   *)
   17411     case $LD in # libtool.m4 will add one of these switches to LD
   17412     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17413       libsuff= shlibsuff= libmagic=32-bit;;
   17414     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17415       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17416     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17417       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17418     *) libsuff= shlibsuff= libmagic=never-match;;
   17419     esac
   17420     ;;
   17421   esac
   17422   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17423   shlibpath_overrides_runpath=no
   17424   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17425   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17426   hardcode_into_libs=yes
   17427   ;;
   17428 
   17429 # No shared lib support for Linux oldld, aout, or coff.
   17430 linux*oldld* | linux*aout* | linux*coff*)
   17431   dynamic_linker=no
   17432   ;;
   17433 
   17434 # This must be Linux ELF.
   17435 linux*)
   17436   version_type=linux
   17437   need_lib_prefix=no
   17438   need_version=no
   17439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17440   soname_spec='${libname}${release}${shared_ext}$major'
   17441   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17442   shlibpath_var=LD_LIBRARY_PATH
   17443   shlibpath_overrides_runpath=no
   17444   # This implies no fast_install, which is unacceptable.
   17445   # Some rework will be needed to allow for fast_install
   17446   # before this can be enabled.
   17447   hardcode_into_libs=yes
   17448 
   17449   # find out which ABI we are using
   17450   libsuff=
   17451   case "$host_cpu" in
   17452   x86_64*|s390x*|powerpc64*)
   17453     echo '#line 17453 "configure"' > conftest.$ac_ext
   17454     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17455   (eval $ac_compile) 2>&5
   17456   ac_status=$?
   17457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17458   (exit $ac_status); }; then
   17459       case `/usr/bin/file conftest.$ac_objext` in
   17460       *64-bit*)
   17461         libsuff=64
   17462         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   17463         ;;
   17464       esac
   17465     fi
   17466     rm -rf conftest*
   17467     ;;
   17468   esac
   17469 
   17470   # Append ld.so.conf contents to the search path
   17471   if test -f /etc/ld.so.conf; then
   17472     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   17473     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   17474   fi
   17475 
   17476   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17477   # powerpc, because MkLinux only supported shared libraries with the
   17478   # GNU dynamic linker.  Since this was broken with cross compilers,
   17479   # most powerpc-linux boxes support dynamic linking these days and
   17480   # people can always --disable-shared, the test was removed, and we
   17481   # assume the GNU/Linux dynamic linker is in use.
   17482   dynamic_linker='GNU/Linux ld.so'
   17483   ;;
   17484 
   17485 knetbsd*-gnu)
   17486   version_type=linux
   17487   need_lib_prefix=no
   17488   need_version=no
   17489   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17490   soname_spec='${libname}${release}${shared_ext}$major'
   17491   shlibpath_var=LD_LIBRARY_PATH
   17492   shlibpath_overrides_runpath=no
   17493   hardcode_into_libs=yes
   17494   dynamic_linker='GNU ld.so'
   17495   ;;
   17496 
   17497 netbsd*)
   17498   version_type=sunos
   17499   need_lib_prefix=no
   17500   need_version=no
   17501   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17503     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17504     dynamic_linker='NetBSD (a.out) ld.so'
   17505   else
   17506     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17507     soname_spec='${libname}${release}${shared_ext}$major'
   17508     dynamic_linker='NetBSD ld.elf_so'
   17509   fi
   17510   shlibpath_var=LD_LIBRARY_PATH
   17511   shlibpath_overrides_runpath=yes
   17512   hardcode_into_libs=yes
   17513   ;;
   17514 
   17515 newsos6)
   17516   version_type=linux
   17517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17518   shlibpath_var=LD_LIBRARY_PATH
   17519   shlibpath_overrides_runpath=yes
   17520   ;;
   17521 
   17522 nto-qnx*)
   17523   version_type=linux
   17524   need_lib_prefix=no
   17525   need_version=no
   17526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17527   soname_spec='${libname}${release}${shared_ext}$major'
   17528   shlibpath_var=LD_LIBRARY_PATH
   17529   shlibpath_overrides_runpath=yes
   17530   ;;
   17531 
   17532 openbsd*)
   17533   version_type=sunos
   17534   sys_lib_dlsearch_path_spec="/usr/lib"
   17535   need_lib_prefix=no
   17536   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   17537   case $host_os in
   17538     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   17539     *)                         need_version=no  ;;
   17540   esac
   17541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17542   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17543   shlibpath_var=LD_LIBRARY_PATH
   17544   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17545     case $host_os in
   17546       openbsd2.[89] | openbsd2.[89].*)
   17547 	shlibpath_overrides_runpath=no
   17548 	;;
   17549       *)
   17550 	shlibpath_overrides_runpath=yes
   17551 	;;
   17552       esac
   17553   else
   17554     shlibpath_overrides_runpath=yes
   17555   fi
   17556   ;;
   17557 
   17558 os2*)
   17559   libname_spec='$name'
   17560   shrext_cmds=".dll"
   17561   need_lib_prefix=no
   17562   library_names_spec='$libname${shared_ext} $libname.a'
   17563   dynamic_linker='OS/2 ld.exe'
   17564   shlibpath_var=LIBPATH
   17565   ;;
   17566 
   17567 osf3* | osf4* | osf5*)
   17568   version_type=osf
   17569   need_lib_prefix=no
   17570   need_version=no
   17571   soname_spec='${libname}${release}${shared_ext}$major'
   17572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17573   shlibpath_var=LD_LIBRARY_PATH
   17574   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17575   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   17576   ;;
   17577 
   17578 solaris*)
   17579   version_type=linux
   17580   need_lib_prefix=no
   17581   need_version=no
   17582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17583   soname_spec='${libname}${release}${shared_ext}$major'
   17584   shlibpath_var=LD_LIBRARY_PATH
   17585   shlibpath_overrides_runpath=yes
   17586   hardcode_into_libs=yes
   17587   # ldd complains unless libraries are executable
   17588   postinstall_cmds='chmod +x $lib'
   17589   ;;
   17590 
   17591 sunos4*)
   17592   version_type=sunos
   17593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17594   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17595   shlibpath_var=LD_LIBRARY_PATH
   17596   shlibpath_overrides_runpath=yes
   17597   if test "$with_gnu_ld" = yes; then
   17598     need_lib_prefix=no
   17599   fi
   17600   need_version=yes
   17601   ;;
   17602 
   17603 sysv4 | sysv4.3*)
   17604   version_type=linux
   17605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17606   soname_spec='${libname}${release}${shared_ext}$major'
   17607   shlibpath_var=LD_LIBRARY_PATH
   17608   case $host_vendor in
   17609     sni)
   17610       shlibpath_overrides_runpath=no
   17611       need_lib_prefix=no
   17612       export_dynamic_flag_spec='${wl}-Blargedynsym'
   17613       runpath_var=LD_RUN_PATH
   17614       ;;
   17615     siemens)
   17616       need_lib_prefix=no
   17617       ;;
   17618     motorola)
   17619       need_lib_prefix=no
   17620       need_version=no
   17621       shlibpath_overrides_runpath=no
   17622       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17623       ;;
   17624   esac
   17625   ;;
   17626 
   17627 sysv4*MP*)
   17628   if test -d /usr/nec ;then
   17629     version_type=linux
   17630     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   17631     soname_spec='$libname${shared_ext}.$major'
   17632     shlibpath_var=LD_LIBRARY_PATH
   17633   fi
   17634   ;;
   17635 
   17636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17637   version_type=freebsd-elf
   17638   need_lib_prefix=no
   17639   need_version=no
   17640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17641   soname_spec='${libname}${release}${shared_ext}$major'
   17642   shlibpath_var=LD_LIBRARY_PATH
   17643   hardcode_into_libs=yes
   17644   if test "$with_gnu_ld" = yes; then
   17645     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17646     shlibpath_overrides_runpath=no
   17647   else
   17648     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17649     shlibpath_overrides_runpath=yes
   17650     case $host_os in
   17651       sco3.2v5*)
   17652         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17653 	;;
   17654     esac
   17655   fi
   17656   sys_lib_dlsearch_path_spec='/usr/lib'
   17657   ;;
   17658 
   17659 uts4*)
   17660   version_type=linux
   17661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17662   soname_spec='${libname}${release}${shared_ext}$major'
   17663   shlibpath_var=LD_LIBRARY_PATH
   17664   ;;
   17665 
   17666 *)
   17667   dynamic_linker=no
   17668   ;;
   17669 esac
   17670 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   17671 echo "${ECHO_T}$dynamic_linker" >&6
   17672 test "$dynamic_linker" = no && can_build_shared=no
   17673 
   17674 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17675 if test "$GCC" = yes; then
   17676   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17677 fi
   17678 
   17679 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   17680 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   17681 hardcode_action_GCJ=
   17682 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   17683    test -n "$runpath_var_GCJ" || \
   17684    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   17685 
   17686   # We can hardcode non-existant directories.
   17687   if test "$hardcode_direct_GCJ" != no &&
   17688      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17689      # have to relink, otherwise we might link with an installed library
   17690      # when we should be linking with a yet-to-be-installed one
   17691      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   17692      test "$hardcode_minus_L_GCJ" != no; then
   17693     # Linking always hardcodes the temporary library directory.
   17694     hardcode_action_GCJ=relink
   17695   else
   17696     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17697     hardcode_action_GCJ=immediate
   17698   fi
   17699 else
   17700   # We cannot hardcode anything, or else we can only hardcode existing
   17701   # directories.
   17702   hardcode_action_GCJ=unsupported
   17703 fi
   17704 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   17705 echo "${ECHO_T}$hardcode_action_GCJ" >&6
   17706 
   17707 if test "$hardcode_action_GCJ" = relink; then
   17708   # Fast installation is not supported
   17709   enable_fast_install=no
   17710 elif test "$shlibpath_overrides_runpath" = yes ||
   17711      test "$enable_shared" = no; then
   17712   # Fast installation is not necessary
   17713   enable_fast_install=needless
   17714 fi
   17715 
   17716 
   17717 # The else clause should only fire when bootstrapping the
   17718 # libtool distribution, otherwise you forgot to ship ltmain.sh
   17719 # with your package, and you will get complaints that there are
   17720 # no rules to generate ltmain.sh.
   17721 if test -f "$ltmain"; then
   17722   # See if we are running on zsh, and set the options which allow our commands through
   17723   # without removal of \ escapes.
   17724   if test -n "${ZSH_VERSION+set}" ; then
   17725     setopt NO_GLOB_SUBST
   17726   fi
   17727   # Now quote all the things that may contain metacharacters while being
   17728   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   17729   # variables and quote the copies for generation of the libtool script.
   17730   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   17731     SED SHELL STRIP \
   17732     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   17733     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   17734     deplibs_check_method reload_flag reload_cmds need_locks \
   17735     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   17736     lt_cv_sys_global_symbol_to_c_name_address \
   17737     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   17738     old_postinstall_cmds old_postuninstall_cmds \
   17739     compiler_GCJ \
   17740     CC_GCJ \
   17741     LD_GCJ \
   17742     lt_prog_compiler_wl_GCJ \
   17743     lt_prog_compiler_pic_GCJ \
   17744     lt_prog_compiler_static_GCJ \
   17745     lt_prog_compiler_no_builtin_flag_GCJ \
   17746     export_dynamic_flag_spec_GCJ \
   17747     thread_safe_flag_spec_GCJ \
   17748     whole_archive_flag_spec_GCJ \
   17749     enable_shared_with_static_runtimes_GCJ \
   17750     old_archive_cmds_GCJ \
   17751     old_archive_from_new_cmds_GCJ \
   17752     predep_objects_GCJ \
   17753     postdep_objects_GCJ \
   17754     predeps_GCJ \
   17755     postdeps_GCJ \
   17756     compiler_lib_search_path_GCJ \
   17757     archive_cmds_GCJ \
   17758     archive_expsym_cmds_GCJ \
   17759     postinstall_cmds_GCJ \
   17760     postuninstall_cmds_GCJ \
   17761     old_archive_from_expsyms_cmds_GCJ \
   17762     allow_undefined_flag_GCJ \
   17763     no_undefined_flag_GCJ \
   17764     export_symbols_cmds_GCJ \
   17765     hardcode_libdir_flag_spec_GCJ \
   17766     hardcode_libdir_flag_spec_ld_GCJ \
   17767     hardcode_libdir_separator_GCJ \
   17768     hardcode_automatic_GCJ \
   17769     module_cmds_GCJ \
   17770     module_expsym_cmds_GCJ \
   17771     lt_cv_prog_compiler_c_o_GCJ \
   17772     exclude_expsyms_GCJ \
   17773     include_expsyms_GCJ; do
   17774 
   17775     case $var in
   17776     old_archive_cmds_GCJ | \
   17777     old_archive_from_new_cmds_GCJ | \
   17778     archive_cmds_GCJ | \
   17779     archive_expsym_cmds_GCJ | \
   17780     module_cmds_GCJ | \
   17781     module_expsym_cmds_GCJ | \
   17782     old_archive_from_expsyms_cmds_GCJ | \
   17783     export_symbols_cmds_GCJ | \
   17784     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   17785     postinstall_cmds | postuninstall_cmds | \
   17786     old_postinstall_cmds | old_postuninstall_cmds | \
   17787     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   17788       # Double-quote double-evaled strings.
   17789       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   17790       ;;
   17791     *)
   17792       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   17793       ;;
   17794     esac
   17795   done
   17796 
   17797   case $lt_echo in
   17798   *'\$0 --fallback-echo"')
   17799     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   17800     ;;
   17801   esac
   17802 
   17803 cfgfile="$ofile"
   17804 
   17805   cat <<__EOF__ >> "$cfgfile"
   17806 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   17807 
   17808 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17809 
   17810 # Shell to use when invoking shell scripts.
   17811 SHELL=$lt_SHELL
   17812 
   17813 # Whether or not to build shared libraries.
   17814 build_libtool_libs=$enable_shared
   17815 
   17816 # Whether or not to build static libraries.
   17817 build_old_libs=$enable_static
   17818 
   17819 # Whether or not to add -lc for building shared libraries.
   17820 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   17821 
   17822 # Whether or not to disallow shared libs when runtime libs are static
   17823 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   17824 
   17825 # Whether or not to optimize for fast installation.
   17826 fast_install=$enable_fast_install
   17827 
   17828 # The host system.
   17829 host_alias=$host_alias
   17830 host=$host
   17831 host_os=$host_os
   17832 
   17833 # The build system.
   17834 build_alias=$build_alias
   17835 build=$build
   17836 build_os=$build_os
   17837 
   17838 # An echo program that does not interpret backslashes.
   17839 echo=$lt_echo
   17840 
   17841 # The archiver.
   17842 AR=$lt_AR
   17843 AR_FLAGS=$lt_AR_FLAGS
   17844 
   17845 # A C compiler.
   17846 LTCC=$lt_LTCC
   17847 
   17848 # LTCC compiler flags.
   17849 LTCFLAGS=$lt_LTCFLAGS
   17850 
   17851 # A language-specific compiler.
   17852 CC=$lt_compiler_GCJ
   17853 
   17854 # Is the compiler the GNU C compiler?
   17855 with_gcc=$GCC_GCJ
   17856 
   17857 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
   17858 gcc_ver=\`gcc -dumpversion\`
   17859 
   17860 # An ERE matcher.
   17861 EGREP=$lt_EGREP
   17862 
   17863 # The linker used to build libraries.
   17864 LD=$lt_LD_GCJ
   17865 
   17866 # Whether we need hard or soft links.
   17867 LN_S=$lt_LN_S
   17868 
   17869 # A BSD-compatible nm program.
   17870 NM=$lt_NM
   17871 
   17872 # A symbol stripping program
   17873 STRIP=$lt_STRIP
   17874 
   17875 # Used to examine libraries when file_magic_cmd begins "file"
   17876 MAGIC_CMD=$MAGIC_CMD
   17877 
   17878 # Used on cygwin: DLL creation program.
   17879 DLLTOOL="$DLLTOOL"
   17880 
   17881 # Used on cygwin: object dumper.
   17882 OBJDUMP="$OBJDUMP"
   17883 
   17884 # Used on cygwin: assembler.
   17885 AS="$AS"
   17886 
   17887 # The name of the directory that contains temporary libtool files.
   17888 objdir=$objdir
   17889 
   17890 # How to create reloadable object files.
   17891 reload_flag=$lt_reload_flag
   17892 reload_cmds=$lt_reload_cmds
   17893 
   17894 # How to pass a linker flag through the compiler.
   17895 wl=$lt_lt_prog_compiler_wl_GCJ
   17896 
   17897 # Object file suffix (normally "o").
   17898 objext="$ac_objext"
   17899 
   17900 # Old archive suffix (normally "a").
   17901 libext="$libext"
   17902 
   17903 # Shared library suffix (normally ".so").
   17904 shrext_cmds='$shrext_cmds'
   17905 
   17906 # Executable file suffix (normally "").
   17907 exeext="$exeext"
   17908 
   17909 # Additional compiler flags for building library objects.
   17910 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   17911 pic_mode=$pic_mode
   17912 
   17913 # What is the maximum length of a command?
   17914 max_cmd_len=$lt_cv_sys_max_cmd_len
   17915 
   17916 # Does compiler simultaneously support -c and -o options?
   17917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   17918 
   17919 # Must we lock files when doing compilation?
   17920 need_locks=$lt_need_locks
   17921 
   17922 # Do we need the lib prefix for modules?
   17923 need_lib_prefix=$need_lib_prefix
   17924 
   17925 # Do we need a version for libraries?
   17926 need_version=$need_version
   17927 
   17928 # Whether dlopen is supported.
   17929 dlopen_support=$enable_dlopen
   17930 
   17931 # Whether dlopen of programs is supported.
   17932 dlopen_self=$enable_dlopen_self
   17933 
   17934 # Whether dlopen of statically linked programs is supported.
   17935 dlopen_self_static=$enable_dlopen_self_static
   17936 
   17937 # Compiler flag to prevent dynamic linking.
   17938 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   17939 
   17940 # Compiler flag to turn off builtin functions.
   17941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   17942 
   17943 # Compiler flag to allow reflexive dlopens.
   17944 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   17945 
   17946 # Compiler flag to generate shared objects directly from archives.
   17947 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   17948 
   17949 # Compiler flag to generate thread-safe objects.
   17950 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   17951 
   17952 # Library versioning type.
   17953 version_type=$version_type
   17954 
   17955 # Format of library name prefix.
   17956 libname_spec=$lt_libname_spec
   17957 
   17958 # List of archive names.  First name is the real one, the rest are links.
   17959 # The last name is the one that the linker finds with -lNAME.
   17960 library_names_spec=$lt_library_names_spec
   17961 
   17962 # The coded name of the library, if different from the real name.
   17963 soname_spec=$lt_soname_spec
   17964 
   17965 # Commands used to build and install an old-style archive.
   17966 RANLIB=$lt_RANLIB
   17967 old_archive_cmds=$lt_old_archive_cmds_GCJ
   17968 old_postinstall_cmds=$lt_old_postinstall_cmds
   17969 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17970 
   17971 # Create an old-style archive from a shared archive.
   17972 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   17973 
   17974 # Create a temporary old-style archive to link instead of a shared archive.
   17975 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   17976 
   17977 # Commands used to build and install a shared archive.
   17978 archive_cmds=$lt_archive_cmds_GCJ
   17979 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   17980 postinstall_cmds=$lt_postinstall_cmds
   17981 postuninstall_cmds=$lt_postuninstall_cmds
   17982 
   17983 # Commands used to build a loadable module (assumed same as above if empty)
   17984 module_cmds=$lt_module_cmds_GCJ
   17985 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   17986 
   17987 # Commands to strip libraries.
   17988 old_striplib=$lt_old_striplib
   17989 striplib=$lt_striplib
   17990 
   17991 # Dependencies to place before the objects being linked to create a
   17992 # shared library.
   17993 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   17994 
   17995 # Dependencies to place after the objects being linked to create a
   17996 # shared library.
   17997 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   17998 
   17999 # Dependencies to place before the objects being linked to create a
   18000 # shared library.
   18001 predeps=$lt_predeps_GCJ
   18002 
   18003 # Dependencies to place after the objects being linked to create a
   18004 # shared library.
   18005 postdeps=$lt_postdeps_GCJ
   18006 
   18007 # The library search path used internally by the compiler when linking
   18008 # a shared library.
   18009 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18010 
   18011 # Method to check whether dependent libraries are shared objects.
   18012 deplibs_check_method=$lt_deplibs_check_method
   18013 
   18014 # Command to use when deplibs_check_method == file_magic.
   18015 file_magic_cmd=$lt_file_magic_cmd
   18016 
   18017 # Flag that allows shared libraries with undefined symbols to be built.
   18018 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18019 
   18020 # Flag that forces no undefined symbols.
   18021 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18022 
   18023 # Commands used to finish a libtool library installation in a directory.
   18024 finish_cmds=$lt_finish_cmds
   18025 
   18026 # Same as above, but a single script fragment to be evaled but not shown.
   18027 finish_eval=$lt_finish_eval
   18028 
   18029 # Take the output of nm and produce a listing of raw symbols and C names.
   18030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18031 
   18032 # Transform the output of nm in a proper C declaration
   18033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18034 
   18035 # Transform the output of nm in a C name address pair
   18036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18037 
   18038 # This is the shared library runtime path variable.
   18039 runpath_var=$runpath_var
   18040 
   18041 # This is the shared library path variable.
   18042 shlibpath_var=$shlibpath_var
   18043 
   18044 # Is shlibpath searched before the hard-coded library search path?
   18045 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18046 
   18047 # How to hardcode a shared library path into an executable.
   18048 hardcode_action=$hardcode_action_GCJ
   18049 
   18050 # Whether we should hardcode library paths into libraries.
   18051 hardcode_into_libs=$hardcode_into_libs
   18052 
   18053 # Flag to hardcode \$libdir into a binary during linking.
   18054 # This must work even if \$libdir does not exist.
   18055 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18056 
   18057 # If ld is used when linking, flag to hardcode \$libdir into
   18058 # a binary during linking. This must work even if \$libdir does
   18059 # not exist.
   18060 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18061 
   18062 # Whether we need a single -rpath flag with a separated argument.
   18063 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18064 
   18065 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18066 # resulting binary.
   18067 hardcode_direct=$hardcode_direct_GCJ
   18068 
   18069 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18070 # resulting binary.
   18071 hardcode_minus_L=$hardcode_minus_L_GCJ
   18072 
   18073 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18074 # the resulting binary.
   18075 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18076 
   18077 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18078 # and all subsequent libraries and executables linked against it.
   18079 hardcode_automatic=$hardcode_automatic_GCJ
   18080 
   18081 # Variables whose values should be saved in libtool wrapper scripts and
   18082 # restored at relink time.
   18083 variables_saved_for_relink="$variables_saved_for_relink"
   18084 
   18085 # Whether libtool must link a program against all its dependency libraries.
   18086 link_all_deplibs=$link_all_deplibs_GCJ
   18087 
   18088 # Compile-time system search path for libraries
   18089 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18090 
   18091 # Run-time system search path for libraries
   18092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18093 
   18094 # Fix the shell variable \$srcfile for the compiler.
   18095 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18096 
   18097 # Set to yes if exported symbols are required.
   18098 always_export_symbols=$always_export_symbols_GCJ
   18099 
   18100 # The commands to list exported symbols.
   18101 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18102 
   18103 # The commands to extract the exported symbol list from a shared archive.
   18104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18105 
   18106 # Symbols that should not be listed in the preloaded symbols.
   18107 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18108 
   18109 # Symbols that must always be exported.
   18110 include_expsyms=$lt_include_expsyms_GCJ
   18111 
   18112 # ### END LIBTOOL TAG CONFIG: $tagname
   18113 
   18114 __EOF__
   18115 
   18116 
   18117 else
   18118   # If there is no Makefile yet, we rely on a make rule to execute
   18119   # `config.status --recheck' to rerun these tests and create the
   18120   # libtool script then.
   18121   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18122   if test -f "$ltmain_in"; then
   18123     test -f Makefile && make "$ltmain"
   18124   fi
   18125 fi
   18126 
   18127 
   18128 ac_ext=c
   18129 ac_cpp='$CPP $CPPFLAGS'
   18130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18133 
   18134 CC="$lt_save_CC"
   18135 
   18136 	else
   18137 	  tagname=""
   18138 	fi
   18139 	;;
   18140 
   18141       RC)
   18142 
   18143 
   18144 
   18145 # Source file extension for RC test sources.
   18146 ac_ext=rc
   18147 
   18148 # Object file extension for compiled RC test sources.
   18149 objext=o
   18150 objext_RC=$objext
   18151 
   18152 # Code to be used in simple compile tests
   18153 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18154 
   18155 # Code to be used in simple link tests
   18156 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18157 
   18158 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18159 
   18160 # If no C compiler was specified, use CC.
   18161 LTCC=${LTCC-"$CC"}
   18162 
   18163 # If no C compiler flags were specified, use CFLAGS.
   18164 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18165 
   18166 # Allow CC to be a program name with arguments.
   18167 compiler=$CC
   18168 
   18169 
   18170 # save warnings/boilerplate of simple test code
   18171 ac_outfile=conftest.$ac_objext
   18172 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18173 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18174 _lt_compiler_boilerplate=`cat conftest.err`
   18175 $rm conftest*
   18176 
   18177 ac_outfile=conftest.$ac_objext
   18178 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18179 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18180 _lt_linker_boilerplate=`cat conftest.err`
   18181 $rm conftest*
   18182 
   18183 
   18184 # Allow CC to be a program name with arguments.
   18185 lt_save_CC="$CC"
   18186 CC=${RC-"windres"}
   18187 compiler=$CC
   18188 compiler_RC=$CC
   18189 for cc_temp in $compiler""; do
   18190   case $cc_temp in
   18191     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18192     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18193     \-*) ;;
   18194     *) break;;
   18195   esac
   18196 done
   18197 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18198 
   18199 lt_cv_prog_compiler_c_o_RC=yes
   18200 
   18201 # The else clause should only fire when bootstrapping the
   18202 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18203 # with your package, and you will get complaints that there are
   18204 # no rules to generate ltmain.sh.
   18205 if test -f "$ltmain"; then
   18206   # See if we are running on zsh, and set the options which allow our commands through
   18207   # without removal of \ escapes.
   18208   if test -n "${ZSH_VERSION+set}" ; then
   18209     setopt NO_GLOB_SUBST
   18210   fi
   18211   # Now quote all the things that may contain metacharacters while being
   18212   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18213   # variables and quote the copies for generation of the libtool script.
   18214   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18215     SED SHELL STRIP \
   18216     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18217     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18218     deplibs_check_method reload_flag reload_cmds need_locks \
   18219     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18220     lt_cv_sys_global_symbol_to_c_name_address \
   18221     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18222     old_postinstall_cmds old_postuninstall_cmds \
   18223     compiler_RC \
   18224     CC_RC \
   18225     LD_RC \
   18226     lt_prog_compiler_wl_RC \
   18227     lt_prog_compiler_pic_RC \
   18228     lt_prog_compiler_static_RC \
   18229     lt_prog_compiler_no_builtin_flag_RC \
   18230     export_dynamic_flag_spec_RC \
   18231     thread_safe_flag_spec_RC \
   18232     whole_archive_flag_spec_RC \
   18233     enable_shared_with_static_runtimes_RC \
   18234     old_archive_cmds_RC \
   18235     old_archive_from_new_cmds_RC \
   18236     predep_objects_RC \
   18237     postdep_objects_RC \
   18238     predeps_RC \
   18239     postdeps_RC \
   18240     compiler_lib_search_path_RC \
   18241     archive_cmds_RC \
   18242     archive_expsym_cmds_RC \
   18243     postinstall_cmds_RC \
   18244     postuninstall_cmds_RC \
   18245     old_archive_from_expsyms_cmds_RC \
   18246     allow_undefined_flag_RC \
   18247     no_undefined_flag_RC \
   18248     export_symbols_cmds_RC \
   18249     hardcode_libdir_flag_spec_RC \
   18250     hardcode_libdir_flag_spec_ld_RC \
   18251     hardcode_libdir_separator_RC \
   18252     hardcode_automatic_RC \
   18253     module_cmds_RC \
   18254     module_expsym_cmds_RC \
   18255     lt_cv_prog_compiler_c_o_RC \
   18256     exclude_expsyms_RC \
   18257     include_expsyms_RC; do
   18258 
   18259     case $var in
   18260     old_archive_cmds_RC | \
   18261     old_archive_from_new_cmds_RC | \
   18262     archive_cmds_RC | \
   18263     archive_expsym_cmds_RC | \
   18264     module_cmds_RC | \
   18265     module_expsym_cmds_RC | \
   18266     old_archive_from_expsyms_cmds_RC | \
   18267     export_symbols_cmds_RC | \
   18268     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18269     postinstall_cmds | postuninstall_cmds | \
   18270     old_postinstall_cmds | old_postuninstall_cmds | \
   18271     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18272       # Double-quote double-evaled strings.
   18273       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18274       ;;
   18275     *)
   18276       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18277       ;;
   18278     esac
   18279   done
   18280 
   18281   case $lt_echo in
   18282   *'\$0 --fallback-echo"')
   18283     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18284     ;;
   18285   esac
   18286 
   18287 cfgfile="$ofile"
   18288 
   18289   cat <<__EOF__ >> "$cfgfile"
   18290 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18291 
   18292 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18293 
   18294 # Shell to use when invoking shell scripts.
   18295 SHELL=$lt_SHELL
   18296 
   18297 # Whether or not to build shared libraries.
   18298 build_libtool_libs=$enable_shared
   18299 
   18300 # Whether or not to build static libraries.
   18301 build_old_libs=$enable_static
   18302 
   18303 # Whether or not to add -lc for building shared libraries.
   18304 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18305 
   18306 # Whether or not to disallow shared libs when runtime libs are static
   18307 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18308 
   18309 # Whether or not to optimize for fast installation.
   18310 fast_install=$enable_fast_install
   18311 
   18312 # The host system.
   18313 host_alias=$host_alias
   18314 host=$host
   18315 host_os=$host_os
   18316 
   18317 # The build system.
   18318 build_alias=$build_alias
   18319 build=$build
   18320 build_os=$build_os
   18321 
   18322 # An echo program that does not interpret backslashes.
   18323 echo=$lt_echo
   18324 
   18325 # The archiver.
   18326 AR=$lt_AR
   18327 AR_FLAGS=$lt_AR_FLAGS
   18328 
   18329 # A C compiler.
   18330 LTCC=$lt_LTCC
   18331 
   18332 # LTCC compiler flags.
   18333 LTCFLAGS=$lt_LTCFLAGS
   18334 
   18335 # A language-specific compiler.
   18336 CC=$lt_compiler_RC
   18337 
   18338 # Is the compiler the GNU C compiler?
   18339 with_gcc=$GCC_RC
   18340 
   18341 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
   18342 gcc_ver=\`gcc -dumpversion\`
   18343 
   18344 # An ERE matcher.
   18345 EGREP=$lt_EGREP
   18346 
   18347 # The linker used to build libraries.
   18348 LD=$lt_LD_RC
   18349 
   18350 # Whether we need hard or soft links.
   18351 LN_S=$lt_LN_S
   18352 
   18353 # A BSD-compatible nm program.
   18354 NM=$lt_NM
   18355 
   18356 # A symbol stripping program
   18357 STRIP=$lt_STRIP
   18358 
   18359 # Used to examine libraries when file_magic_cmd begins "file"
   18360 MAGIC_CMD=$MAGIC_CMD
   18361 
   18362 # Used on cygwin: DLL creation program.
   18363 DLLTOOL="$DLLTOOL"
   18364 
   18365 # Used on cygwin: object dumper.
   18366 OBJDUMP="$OBJDUMP"
   18367 
   18368 # Used on cygwin: assembler.
   18369 AS="$AS"
   18370 
   18371 # The name of the directory that contains temporary libtool files.
   18372 objdir=$objdir
   18373 
   18374 # How to create reloadable object files.
   18375 reload_flag=$lt_reload_flag
   18376 reload_cmds=$lt_reload_cmds
   18377 
   18378 # How to pass a linker flag through the compiler.
   18379 wl=$lt_lt_prog_compiler_wl_RC
   18380 
   18381 # Object file suffix (normally "o").
   18382 objext="$ac_objext"
   18383 
   18384 # Old archive suffix (normally "a").
   18385 libext="$libext"
   18386 
   18387 # Shared library suffix (normally ".so").
   18388 shrext_cmds='$shrext_cmds'
   18389 
   18390 # Executable file suffix (normally "").
   18391 exeext="$exeext"
   18392 
   18393 # Additional compiler flags for building library objects.
   18394 pic_flag=$lt_lt_prog_compiler_pic_RC
   18395 pic_mode=$pic_mode
   18396 
   18397 # What is the maximum length of a command?
   18398 max_cmd_len=$lt_cv_sys_max_cmd_len
   18399 
   18400 # Does compiler simultaneously support -c and -o options?
   18401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18402 
   18403 # Must we lock files when doing compilation?
   18404 need_locks=$lt_need_locks
   18405 
   18406 # Do we need the lib prefix for modules?
   18407 need_lib_prefix=$need_lib_prefix
   18408 
   18409 # Do we need a version for libraries?
   18410 need_version=$need_version
   18411 
   18412 # Whether dlopen is supported.
   18413 dlopen_support=$enable_dlopen
   18414 
   18415 # Whether dlopen of programs is supported.
   18416 dlopen_self=$enable_dlopen_self
   18417 
   18418 # Whether dlopen of statically linked programs is supported.
   18419 dlopen_self_static=$enable_dlopen_self_static
   18420 
   18421 # Compiler flag to prevent dynamic linking.
   18422 link_static_flag=$lt_lt_prog_compiler_static_RC
   18423 
   18424 # Compiler flag to turn off builtin functions.
   18425 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18426 
   18427 # Compiler flag to allow reflexive dlopens.
   18428 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18429 
   18430 # Compiler flag to generate shared objects directly from archives.
   18431 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18432 
   18433 # Compiler flag to generate thread-safe objects.
   18434 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18435 
   18436 # Library versioning type.
   18437 version_type=$version_type
   18438 
   18439 # Format of library name prefix.
   18440 libname_spec=$lt_libname_spec
   18441 
   18442 # List of archive names.  First name is the real one, the rest are links.
   18443 # The last name is the one that the linker finds with -lNAME.
   18444 library_names_spec=$lt_library_names_spec
   18445 
   18446 # The coded name of the library, if different from the real name.
   18447 soname_spec=$lt_soname_spec
   18448 
   18449 # Commands used to build and install an old-style archive.
   18450 RANLIB=$lt_RANLIB
   18451 old_archive_cmds=$lt_old_archive_cmds_RC
   18452 old_postinstall_cmds=$lt_old_postinstall_cmds
   18453 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18454 
   18455 # Create an old-style archive from a shared archive.
   18456 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18457 
   18458 # Create a temporary old-style archive to link instead of a shared archive.
   18459 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18460 
   18461 # Commands used to build and install a shared archive.
   18462 archive_cmds=$lt_archive_cmds_RC
   18463 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   18464 postinstall_cmds=$lt_postinstall_cmds
   18465 postuninstall_cmds=$lt_postuninstall_cmds
   18466 
   18467 # Commands used to build a loadable module (assumed same as above if empty)
   18468 module_cmds=$lt_module_cmds_RC
   18469 module_expsym_cmds=$lt_module_expsym_cmds_RC
   18470 
   18471 # Commands to strip libraries.
   18472 old_striplib=$lt_old_striplib
   18473 striplib=$lt_striplib
   18474 
   18475 # Dependencies to place before the objects being linked to create a
   18476 # shared library.
   18477 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18478 
   18479 # Dependencies to place after the objects being linked to create a
   18480 # shared library.
   18481 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18482 
   18483 # Dependencies to place before the objects being linked to create a
   18484 # shared library.
   18485 predeps=$lt_predeps_RC
   18486 
   18487 # Dependencies to place after the objects being linked to create a
   18488 # shared library.
   18489 postdeps=$lt_postdeps_RC
   18490 
   18491 # The library search path used internally by the compiler when linking
   18492 # a shared library.
   18493 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18494 
   18495 # Method to check whether dependent libraries are shared objects.
   18496 deplibs_check_method=$lt_deplibs_check_method
   18497 
   18498 # Command to use when deplibs_check_method == file_magic.
   18499 file_magic_cmd=$lt_file_magic_cmd
   18500 
   18501 # Flag that allows shared libraries with undefined symbols to be built.
   18502 allow_undefined_flag=$lt_allow_undefined_flag_RC
   18503 
   18504 # Flag that forces no undefined symbols.
   18505 no_undefined_flag=$lt_no_undefined_flag_RC
   18506 
   18507 # Commands used to finish a libtool library installation in a directory.
   18508 finish_cmds=$lt_finish_cmds
   18509 
   18510 # Same as above, but a single script fragment to be evaled but not shown.
   18511 finish_eval=$lt_finish_eval
   18512 
   18513 # Take the output of nm and produce a listing of raw symbols and C names.
   18514 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18515 
   18516 # Transform the output of nm in a proper C declaration
   18517 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18518 
   18519 # Transform the output of nm in a C name address pair
   18520 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18521 
   18522 # This is the shared library runtime path variable.
   18523 runpath_var=$runpath_var
   18524 
   18525 # This is the shared library path variable.
   18526 shlibpath_var=$shlibpath_var
   18527 
   18528 # Is shlibpath searched before the hard-coded library search path?
   18529 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18530 
   18531 # How to hardcode a shared library path into an executable.
   18532 hardcode_action=$hardcode_action_RC
   18533 
   18534 # Whether we should hardcode library paths into libraries.
   18535 hardcode_into_libs=$hardcode_into_libs
   18536 
   18537 # Flag to hardcode \$libdir into a binary during linking.
   18538 # This must work even if \$libdir does not exist.
   18539 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   18540 
   18541 # If ld is used when linking, flag to hardcode \$libdir into
   18542 # a binary during linking. This must work even if \$libdir does
   18543 # not exist.
   18544 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   18545 
   18546 # Whether we need a single -rpath flag with a separated argument.
   18547 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   18548 
   18549 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18550 # resulting binary.
   18551 hardcode_direct=$hardcode_direct_RC
   18552 
   18553 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18554 # resulting binary.
   18555 hardcode_minus_L=$hardcode_minus_L_RC
   18556 
   18557 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18558 # the resulting binary.
   18559 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   18560 
   18561 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18562 # and all subsequent libraries and executables linked against it.
   18563 hardcode_automatic=$hardcode_automatic_RC
   18564 
   18565 # Variables whose values should be saved in libtool wrapper scripts and
   18566 # restored at relink time.
   18567 variables_saved_for_relink="$variables_saved_for_relink"
   18568 
   18569 # Whether libtool must link a program against all its dependency libraries.
   18570 link_all_deplibs=$link_all_deplibs_RC
   18571 
   18572 # Compile-time system search path for libraries
   18573 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
   18574 
   18575 # Run-time system search path for libraries
   18576 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18577 
   18578 # Fix the shell variable \$srcfile for the compiler.
   18579 fix_srcfile_path="$fix_srcfile_path_RC"
   18580 
   18581 # Set to yes if exported symbols are required.
   18582 always_export_symbols=$always_export_symbols_RC
   18583 
   18584 # The commands to list exported symbols.
   18585 export_symbols_cmds=$lt_export_symbols_cmds_RC
   18586 
   18587 # The commands to extract the exported symbol list from a shared archive.
   18588 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18589 
   18590 # Symbols that should not be listed in the preloaded symbols.
   18591 exclude_expsyms=$lt_exclude_expsyms_RC
   18592 
   18593 # Symbols that must always be exported.
   18594 include_expsyms=$lt_include_expsyms_RC
   18595 
   18596 # ### END LIBTOOL TAG CONFIG: $tagname
   18597 
   18598 __EOF__
   18599 
   18600 
   18601 else
   18602   # If there is no Makefile yet, we rely on a make rule to execute
   18603   # `config.status --recheck' to rerun these tests and create the
   18604   # libtool script then.
   18605   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18606   if test -f "$ltmain_in"; then
   18607     test -f Makefile && make "$ltmain"
   18608   fi
   18609 fi
   18610 
   18611 
   18612 ac_ext=c
   18613 ac_cpp='$CPP $CPPFLAGS'
   18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18617 
   18618 CC="$lt_save_CC"
   18619 
   18620 	;;
   18621 
   18622       *)
   18623 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   18624 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   18625    { (exit 1); exit 1; }; }
   18626 	;;
   18627       esac
   18628 
   18629       # Append the new tag name to the list of available tags.
   18630       if test -n "$tagname" ; then
   18631       available_tags="$available_tags $tagname"
   18632     fi
   18633     fi
   18634   done
   18635   IFS="$lt_save_ifs"
   18636 
   18637   # Now substitute the updated list of available tags.
   18638   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   18639     mv "${ofile}T" "$ofile"
   18640     chmod +x "$ofile"
   18641   else
   18642     rm -f "${ofile}T"
   18643     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   18644 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   18645    { (exit 1); exit 1; }; }
   18646   fi
   18647 fi
   18648 
   18649 
   18650 
   18651 # This can be used to rebuild libtool when needed
   18652 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   18653 
   18654 # Always use our own libtool.
   18655 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   18656 
   18657 # Prevent multiple expansion
   18658 
   18659 
   18660 
   18661 
   18662 
   18663 
   18664 
   18665 
   18666 
   18667 
   18668 
   18669 
   18670 
   18671 
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 ac_ext=c
   18679 ac_cpp='$CPP $CPPFLAGS'
   18680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18683 if test -n "$ac_tool_prefix"; then
   18684   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   18685 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   18686 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18688 if test "${ac_cv_prog_CC+set}" = set; then
   18689   echo $ECHO_N "(cached) $ECHO_C" >&6
   18690 else
   18691   if test -n "$CC"; then
   18692   ac_cv_prog_CC="$CC" # Let the user override the test.
   18693 else
   18694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18695 for as_dir in $PATH
   18696 do
   18697   IFS=$as_save_IFS
   18698   test -z "$as_dir" && as_dir=.
   18699   for ac_exec_ext in '' $ac_executable_extensions; do
   18700   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18701     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   18702     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18703     break 2
   18704   fi
   18705 done
   18706 done
   18707 
   18708 fi
   18709 fi
   18710 CC=$ac_cv_prog_CC
   18711 if test -n "$CC"; then
   18712   echo "$as_me:$LINENO: result: $CC" >&5
   18713 echo "${ECHO_T}$CC" >&6
   18714 else
   18715   echo "$as_me:$LINENO: result: no" >&5
   18716 echo "${ECHO_T}no" >&6
   18717 fi
   18718 
   18719 fi
   18720 if test -z "$ac_cv_prog_CC"; then
   18721   ac_ct_CC=$CC
   18722   # Extract the first word of "gcc", so it can be a program name with args.
   18723 set dummy gcc; ac_word=$2
   18724 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   18727   echo $ECHO_N "(cached) $ECHO_C" >&6
   18728 else
   18729   if test -n "$ac_ct_CC"; then
   18730   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   18731 else
   18732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18733 for as_dir in $PATH
   18734 do
   18735   IFS=$as_save_IFS
   18736   test -z "$as_dir" && as_dir=.
   18737   for ac_exec_ext in '' $ac_executable_extensions; do
   18738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18739     ac_cv_prog_ac_ct_CC="gcc"
   18740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18741     break 2
   18742   fi
   18743 done
   18744 done
   18745 
   18746 fi
   18747 fi
   18748 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   18749 if test -n "$ac_ct_CC"; then
   18750   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   18751 echo "${ECHO_T}$ac_ct_CC" >&6
   18752 else
   18753   echo "$as_me:$LINENO: result: no" >&5
   18754 echo "${ECHO_T}no" >&6
   18755 fi
   18756 
   18757   CC=$ac_ct_CC
   18758 else
   18759   CC="$ac_cv_prog_CC"
   18760 fi
   18761 
   18762 if test -z "$CC"; then
   18763   if test -n "$ac_tool_prefix"; then
   18764   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   18765 set dummy ${ac_tool_prefix}cc; ac_word=$2
   18766 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18768 if test "${ac_cv_prog_CC+set}" = set; then
   18769   echo $ECHO_N "(cached) $ECHO_C" >&6
   18770 else
   18771   if test -n "$CC"; then
   18772   ac_cv_prog_CC="$CC" # Let the user override the test.
   18773 else
   18774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18775 for as_dir in $PATH
   18776 do
   18777   IFS=$as_save_IFS
   18778   test -z "$as_dir" && as_dir=.
   18779   for ac_exec_ext in '' $ac_executable_extensions; do
   18780   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18781     ac_cv_prog_CC="${ac_tool_prefix}cc"
   18782     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18783     break 2
   18784   fi
   18785 done
   18786 done
   18787 
   18788 fi
   18789 fi
   18790 CC=$ac_cv_prog_CC
   18791 if test -n "$CC"; then
   18792   echo "$as_me:$LINENO: result: $CC" >&5
   18793 echo "${ECHO_T}$CC" >&6
   18794 else
   18795   echo "$as_me:$LINENO: result: no" >&5
   18796 echo "${ECHO_T}no" >&6
   18797 fi
   18798 
   18799 fi
   18800 if test -z "$ac_cv_prog_CC"; then
   18801   ac_ct_CC=$CC
   18802   # Extract the first word of "cc", so it can be a program name with args.
   18803 set dummy cc; ac_word=$2
   18804 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   18807   echo $ECHO_N "(cached) $ECHO_C" >&6
   18808 else
   18809   if test -n "$ac_ct_CC"; then
   18810   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   18811 else
   18812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18813 for as_dir in $PATH
   18814 do
   18815   IFS=$as_save_IFS
   18816   test -z "$as_dir" && as_dir=.
   18817   for ac_exec_ext in '' $ac_executable_extensions; do
   18818   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18819     ac_cv_prog_ac_ct_CC="cc"
   18820     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18821     break 2
   18822   fi
   18823 done
   18824 done
   18825 
   18826 fi
   18827 fi
   18828 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   18829 if test -n "$ac_ct_CC"; then
   18830   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   18831 echo "${ECHO_T}$ac_ct_CC" >&6
   18832 else
   18833   echo "$as_me:$LINENO: result: no" >&5
   18834 echo "${ECHO_T}no" >&6
   18835 fi
   18836 
   18837   CC=$ac_ct_CC
   18838 else
   18839   CC="$ac_cv_prog_CC"
   18840 fi
   18841 
   18842 fi
   18843 if test -z "$CC"; then
   18844   # Extract the first word of "cc", so it can be a program name with args.
   18845 set dummy cc; ac_word=$2
   18846 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18848 if test "${ac_cv_prog_CC+set}" = set; then
   18849   echo $ECHO_N "(cached) $ECHO_C" >&6
   18850 else
   18851   if test -n "$CC"; then
   18852   ac_cv_prog_CC="$CC" # Let the user override the test.
   18853 else
   18854   ac_prog_rejected=no
   18855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18856 for as_dir in $PATH
   18857 do
   18858   IFS=$as_save_IFS
   18859   test -z "$as_dir" && as_dir=.
   18860   for ac_exec_ext in '' $ac_executable_extensions; do
   18861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18862     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   18863        ac_prog_rejected=yes
   18864        continue
   18865      fi
   18866     ac_cv_prog_CC="cc"
   18867     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18868     break 2
   18869   fi
   18870 done
   18871 done
   18872 
   18873 if test $ac_prog_rejected = yes; then
   18874   # We found a bogon in the path, so make sure we never use it.
   18875   set dummy $ac_cv_prog_CC
   18876   shift
   18877   if test $# != 0; then
   18878     # We chose a different compiler from the bogus one.
   18879     # However, it has the same basename, so the bogon will be chosen
   18880     # first if we set CC to just the basename; use the full file name.
   18881     shift
   18882     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   18883   fi
   18884 fi
   18885 fi
   18886 fi
   18887 CC=$ac_cv_prog_CC
   18888 if test -n "$CC"; then
   18889   echo "$as_me:$LINENO: result: $CC" >&5
   18890 echo "${ECHO_T}$CC" >&6
   18891 else
   18892   echo "$as_me:$LINENO: result: no" >&5
   18893 echo "${ECHO_T}no" >&6
   18894 fi
   18895 
   18896 fi
   18897 if test -z "$CC"; then
   18898   if test -n "$ac_tool_prefix"; then
   18899   for ac_prog in cl
   18900   do
   18901     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   18902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   18903 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18905 if test "${ac_cv_prog_CC+set}" = set; then
   18906   echo $ECHO_N "(cached) $ECHO_C" >&6
   18907 else
   18908   if test -n "$CC"; then
   18909   ac_cv_prog_CC="$CC" # Let the user override the test.
   18910 else
   18911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18912 for as_dir in $PATH
   18913 do
   18914   IFS=$as_save_IFS
   18915   test -z "$as_dir" && as_dir=.
   18916   for ac_exec_ext in '' $ac_executable_extensions; do
   18917   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18918     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   18919     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18920     break 2
   18921   fi
   18922 done
   18923 done
   18924 
   18925 fi
   18926 fi
   18927 CC=$ac_cv_prog_CC
   18928 if test -n "$CC"; then
   18929   echo "$as_me:$LINENO: result: $CC" >&5
   18930 echo "${ECHO_T}$CC" >&6
   18931 else
   18932   echo "$as_me:$LINENO: result: no" >&5
   18933 echo "${ECHO_T}no" >&6
   18934 fi
   18935 
   18936     test -n "$CC" && break
   18937   done
   18938 fi
   18939 if test -z "$CC"; then
   18940   ac_ct_CC=$CC
   18941   for ac_prog in cl
   18942 do
   18943   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18944 set dummy $ac_prog; ac_word=$2
   18945 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   18948   echo $ECHO_N "(cached) $ECHO_C" >&6
   18949 else
   18950   if test -n "$ac_ct_CC"; then
   18951   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   18952 else
   18953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18954 for as_dir in $PATH
   18955 do
   18956   IFS=$as_save_IFS
   18957   test -z "$as_dir" && as_dir=.
   18958   for ac_exec_ext in '' $ac_executable_extensions; do
   18959   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18960     ac_cv_prog_ac_ct_CC="$ac_prog"
   18961     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18962     break 2
   18963   fi
   18964 done
   18965 done
   18966 
   18967 fi
   18968 fi
   18969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   18970 if test -n "$ac_ct_CC"; then
   18971   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   18972 echo "${ECHO_T}$ac_ct_CC" >&6
   18973 else
   18974   echo "$as_me:$LINENO: result: no" >&5
   18975 echo "${ECHO_T}no" >&6
   18976 fi
   18977 
   18978   test -n "$ac_ct_CC" && break
   18979 done
   18980 
   18981   CC=$ac_ct_CC
   18982 fi
   18983 
   18984 fi
   18985 
   18986 
   18987 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   18988 See \`config.log' for more details." >&5
   18989 echo "$as_me: error: no acceptable C compiler found in \$PATH
   18990 See \`config.log' for more details." >&2;}
   18991    { (exit 1); exit 1; }; }
   18992 
   18993 # Provide some information about the compiler.
   18994 echo "$as_me:$LINENO:" \
   18995      "checking for C compiler version" >&5
   18996 ac_compiler=`set X $ac_compile; echo $2`
   18997 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   18998   (eval $ac_compiler --version </dev/null >&5) 2>&5
   18999   ac_status=$?
   19000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19001   (exit $ac_status); }
   19002 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   19003   (eval $ac_compiler -v </dev/null >&5) 2>&5
   19004   ac_status=$?
   19005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19006   (exit $ac_status); }
   19007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   19008   (eval $ac_compiler -V </dev/null >&5) 2>&5
   19009   ac_status=$?
   19010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19011   (exit $ac_status); }
   19012 
   19013 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19014 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   19015 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19016   echo $ECHO_N "(cached) $ECHO_C" >&6
   19017 else
   19018   cat >conftest.$ac_ext <<_ACEOF
   19019 /* confdefs.h.  */
   19020 _ACEOF
   19021 cat confdefs.h >>conftest.$ac_ext
   19022 cat >>conftest.$ac_ext <<_ACEOF
   19023 /* end confdefs.h.  */
   19024 
   19025 int
   19026 main ()
   19027 {
   19028 #ifndef __GNUC__
   19029        choke me
   19030 #endif
   19031 
   19032   ;
   19033   return 0;
   19034 }
   19035 _ACEOF
   19036 rm -f conftest.$ac_objext
   19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19038   (eval $ac_compile) 2>conftest.er1
   19039   ac_status=$?
   19040   grep -v '^ *+' conftest.er1 >conftest.err
   19041   rm -f conftest.er1
   19042   cat conftest.err >&5
   19043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19044   (exit $ac_status); } &&
   19045 	 { ac_try='test -z "$ac_c_werror_flag"
   19046 			 || test ! -s conftest.err'
   19047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19048   (eval $ac_try) 2>&5
   19049   ac_status=$?
   19050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19051   (exit $ac_status); }; } &&
   19052 	 { ac_try='test -s conftest.$ac_objext'
   19053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19054   (eval $ac_try) 2>&5
   19055   ac_status=$?
   19056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19057   (exit $ac_status); }; }; then
   19058   ac_compiler_gnu=yes
   19059 else
   19060   echo "$as_me: failed program was:" >&5
   19061 sed 's/^/| /' conftest.$ac_ext >&5
   19062 
   19063 ac_compiler_gnu=no
   19064 fi
   19065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19066 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19067 
   19068 fi
   19069 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19070 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   19071 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19072 ac_test_CFLAGS=${CFLAGS+set}
   19073 ac_save_CFLAGS=$CFLAGS
   19074 CFLAGS="-g"
   19075 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19076 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   19077 if test "${ac_cv_prog_cc_g+set}" = set; then
   19078   echo $ECHO_N "(cached) $ECHO_C" >&6
   19079 else
   19080   cat >conftest.$ac_ext <<_ACEOF
   19081 /* confdefs.h.  */
   19082 _ACEOF
   19083 cat confdefs.h >>conftest.$ac_ext
   19084 cat >>conftest.$ac_ext <<_ACEOF
   19085 /* end confdefs.h.  */
   19086 
   19087 int
   19088 main ()
   19089 {
   19090 
   19091   ;
   19092   return 0;
   19093 }
   19094 _ACEOF
   19095 rm -f conftest.$ac_objext
   19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19097   (eval $ac_compile) 2>conftest.er1
   19098   ac_status=$?
   19099   grep -v '^ *+' conftest.er1 >conftest.err
   19100   rm -f conftest.er1
   19101   cat conftest.err >&5
   19102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19103   (exit $ac_status); } &&
   19104 	 { ac_try='test -z "$ac_c_werror_flag"
   19105 			 || test ! -s conftest.err'
   19106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19107   (eval $ac_try) 2>&5
   19108   ac_status=$?
   19109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19110   (exit $ac_status); }; } &&
   19111 	 { ac_try='test -s conftest.$ac_objext'
   19112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19113   (eval $ac_try) 2>&5
   19114   ac_status=$?
   19115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19116   (exit $ac_status); }; }; then
   19117   ac_cv_prog_cc_g=yes
   19118 else
   19119   echo "$as_me: failed program was:" >&5
   19120 sed 's/^/| /' conftest.$ac_ext >&5
   19121 
   19122 ac_cv_prog_cc_g=no
   19123 fi
   19124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19125 fi
   19126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19127 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   19128 if test "$ac_test_CFLAGS" = set; then
   19129   CFLAGS=$ac_save_CFLAGS
   19130 elif test $ac_cv_prog_cc_g = yes; then
   19131   if test "$GCC" = yes; then
   19132     CFLAGS="-g -O2"
   19133   else
   19134     CFLAGS="-g"
   19135   fi
   19136 else
   19137   if test "$GCC" = yes; then
   19138     CFLAGS="-O2"
   19139   else
   19140     CFLAGS=
   19141   fi
   19142 fi
   19143 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   19144 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   19145 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   19146   echo $ECHO_N "(cached) $ECHO_C" >&6
   19147 else
   19148   ac_cv_prog_cc_stdc=no
   19149 ac_save_CC=$CC
   19150 cat >conftest.$ac_ext <<_ACEOF
   19151 /* confdefs.h.  */
   19152 _ACEOF
   19153 cat confdefs.h >>conftest.$ac_ext
   19154 cat >>conftest.$ac_ext <<_ACEOF
   19155 /* end confdefs.h.  */
   19156 #include <stdarg.h>
   19157 #include <stdio.h>
   19158 #include <sys/types.h>
   19159 #include <sys/stat.h>
   19160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19161 struct buf { int x; };
   19162 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   19163 static char *e (p, i)
   19164      char **p;
   19165      int i;
   19166 {
   19167   return p[i];
   19168 }
   19169 static char *f (char * (*g) (char **, int), char **p, ...)
   19170 {
   19171   char *s;
   19172   va_list v;
   19173   va_start (v,p);
   19174   s = g (p, va_arg (v,int));
   19175   va_end (v);
   19176   return s;
   19177 }
   19178 
   19179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   19180    function prototypes and stuff, but not '\xHH' hex character constants.
   19181    These don't provoke an error unfortunately, instead are silently treated
   19182    as 'x'.  The following induces an error, until -std1 is added to get
   19183    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   19184    array size at least.  It's necessary to write '\x00'==0 to get something
   19185    that's true only with -std1.  */
   19186 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   19187 
   19188 int test (int i, double x);
   19189 struct s1 {int (*f) (int a);};
   19190 struct s2 {int (*f) (double a);};
   19191 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   19192 int argc;
   19193 char **argv;
   19194 int
   19195 main ()
   19196 {
   19197 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   19198   ;
   19199   return 0;
   19200 }
   19201 _ACEOF
   19202 # Don't try gcc -ansi; that turns off useful extensions and
   19203 # breaks some systems' header files.
   19204 # AIX			-qlanglvl=ansi
   19205 # Ultrix and OSF/1	-std1
   19206 # HP-UX 10.20 and later	-Ae
   19207 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   19208 # SVR4			-Xc -D__EXTENSIONS__
   19209 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19210 do
   19211   CC="$ac_save_CC $ac_arg"
   19212   rm -f conftest.$ac_objext
   19213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19214   (eval $ac_compile) 2>conftest.er1
   19215   ac_status=$?
   19216   grep -v '^ *+' conftest.er1 >conftest.err
   19217   rm -f conftest.er1
   19218   cat conftest.err >&5
   19219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19220   (exit $ac_status); } &&
   19221 	 { ac_try='test -z "$ac_c_werror_flag"
   19222 			 || test ! -s conftest.err'
   19223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19224   (eval $ac_try) 2>&5
   19225   ac_status=$?
   19226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19227   (exit $ac_status); }; } &&
   19228 	 { ac_try='test -s conftest.$ac_objext'
   19229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19230   (eval $ac_try) 2>&5
   19231   ac_status=$?
   19232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19233   (exit $ac_status); }; }; then
   19234   ac_cv_prog_cc_stdc=$ac_arg
   19235 break
   19236 else
   19237   echo "$as_me: failed program was:" >&5
   19238 sed 's/^/| /' conftest.$ac_ext >&5
   19239 
   19240 fi
   19241 rm -f conftest.err conftest.$ac_objext
   19242 done
   19243 rm -f conftest.$ac_ext conftest.$ac_objext
   19244 CC=$ac_save_CC
   19245 
   19246 fi
   19247 
   19248 case "x$ac_cv_prog_cc_stdc" in
   19249   x|xno)
   19250     echo "$as_me:$LINENO: result: none needed" >&5
   19251 echo "${ECHO_T}none needed" >&6 ;;
   19252   *)
   19253     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   19254 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   19255     CC="$CC $ac_cv_prog_cc_stdc" ;;
   19256 esac
   19257 
   19258 # Some people use a C++ compiler to compile C.  Since we use `exit',
   19259 # in C++ we need to declare it.  In case someone uses the same compiler
   19260 # for both compiling C and C++ we need to have the C++ compiler decide
   19261 # the declaration of exit, since it's the most demanding environment.
   19262 cat >conftest.$ac_ext <<_ACEOF
   19263 #ifndef __cplusplus
   19264   choke me
   19265 #endif
   19266 _ACEOF
   19267 rm -f conftest.$ac_objext
   19268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19269   (eval $ac_compile) 2>conftest.er1
   19270   ac_status=$?
   19271   grep -v '^ *+' conftest.er1 >conftest.err
   19272   rm -f conftest.er1
   19273   cat conftest.err >&5
   19274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19275   (exit $ac_status); } &&
   19276 	 { ac_try='test -z "$ac_c_werror_flag"
   19277 			 || test ! -s conftest.err'
   19278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19279   (eval $ac_try) 2>&5
   19280   ac_status=$?
   19281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19282   (exit $ac_status); }; } &&
   19283 	 { ac_try='test -s conftest.$ac_objext'
   19284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19285   (eval $ac_try) 2>&5
   19286   ac_status=$?
   19287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19288   (exit $ac_status); }; }; then
   19289   for ac_declaration in \
   19290    '' \
   19291    'extern "C" void std::exit (int) throw (); using std::exit;' \
   19292    'extern "C" void std::exit (int); using std::exit;' \
   19293    'extern "C" void exit (int) throw ();' \
   19294    'extern "C" void exit (int);' \
   19295    'void exit (int);'
   19296 do
   19297   cat >conftest.$ac_ext <<_ACEOF
   19298 /* confdefs.h.  */
   19299 _ACEOF
   19300 cat confdefs.h >>conftest.$ac_ext
   19301 cat >>conftest.$ac_ext <<_ACEOF
   19302 /* end confdefs.h.  */
   19303 $ac_declaration
   19304 #include <stdlib.h>
   19305 int
   19306 main ()
   19307 {
   19308 exit (42);
   19309   ;
   19310   return 0;
   19311 }
   19312 _ACEOF
   19313 rm -f conftest.$ac_objext
   19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19315   (eval $ac_compile) 2>conftest.er1
   19316   ac_status=$?
   19317   grep -v '^ *+' conftest.er1 >conftest.err
   19318   rm -f conftest.er1
   19319   cat conftest.err >&5
   19320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19321   (exit $ac_status); } &&
   19322 	 { ac_try='test -z "$ac_c_werror_flag"
   19323 			 || test ! -s conftest.err'
   19324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19325   (eval $ac_try) 2>&5
   19326   ac_status=$?
   19327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19328   (exit $ac_status); }; } &&
   19329 	 { ac_try='test -s conftest.$ac_objext'
   19330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19331   (eval $ac_try) 2>&5
   19332   ac_status=$?
   19333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19334   (exit $ac_status); }; }; then
   19335   :
   19336 else
   19337   echo "$as_me: failed program was:" >&5
   19338 sed 's/^/| /' conftest.$ac_ext >&5
   19339 
   19340 continue
   19341 fi
   19342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19343   cat >conftest.$ac_ext <<_ACEOF
   19344 /* confdefs.h.  */
   19345 _ACEOF
   19346 cat confdefs.h >>conftest.$ac_ext
   19347 cat >>conftest.$ac_ext <<_ACEOF
   19348 /* end confdefs.h.  */
   19349 $ac_declaration
   19350 int
   19351 main ()
   19352 {
   19353 exit (42);
   19354   ;
   19355   return 0;
   19356 }
   19357 _ACEOF
   19358 rm -f conftest.$ac_objext
   19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19360   (eval $ac_compile) 2>conftest.er1
   19361   ac_status=$?
   19362   grep -v '^ *+' conftest.er1 >conftest.err
   19363   rm -f conftest.er1
   19364   cat conftest.err >&5
   19365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19366   (exit $ac_status); } &&
   19367 	 { ac_try='test -z "$ac_c_werror_flag"
   19368 			 || test ! -s conftest.err'
   19369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19370   (eval $ac_try) 2>&5
   19371   ac_status=$?
   19372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19373   (exit $ac_status); }; } &&
   19374 	 { ac_try='test -s conftest.$ac_objext'
   19375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19376   (eval $ac_try) 2>&5
   19377   ac_status=$?
   19378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19379   (exit $ac_status); }; }; then
   19380   break
   19381 else
   19382   echo "$as_me: failed program was:" >&5
   19383 sed 's/^/| /' conftest.$ac_ext >&5
   19384 
   19385 fi
   19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19387 done
   19388 rm -f conftest*
   19389 if test -n "$ac_declaration"; then
   19390   echo '#ifdef __cplusplus' >>confdefs.h
   19391   echo $ac_declaration      >>confdefs.h
   19392   echo '#endif'             >>confdefs.h
   19393 fi
   19394 
   19395 else
   19396   echo "$as_me: failed program was:" >&5
   19397 sed 's/^/| /' conftest.$ac_ext >&5
   19398 
   19399 fi
   19400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19401 ac_ext=c
   19402 ac_cpp='$CPP $CPPFLAGS'
   19403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19406 
   19407 depcc="$CC"   am_compiler_list=
   19408 
   19409 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   19410 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   19411 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   19412   echo $ECHO_N "(cached) $ECHO_C" >&6
   19413 else
   19414   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19415   # We make a subdir and do the tests there.  Otherwise we can end up
   19416   # making bogus files that we don't know about and never remove.  For
   19417   # instance it was reported that on HP-UX the gcc test will end up
   19418   # making a dummy file named `D' -- because `-MD' means `put the output
   19419   # in D'.
   19420   mkdir conftest.dir
   19421   # Copy depcomp to subdir because otherwise we won't find it if we're
   19422   # using a relative directory.
   19423   cp "$am_depcomp" conftest.dir
   19424   cd conftest.dir
   19425   # We will build objects and dependencies in a subdirectory because
   19426   # it helps to detect inapplicable dependency modes.  For instance
   19427   # both Tru64's cc and ICC support -MD to output dependencies as a
   19428   # side effect of compilation, but ICC will put the dependencies in
   19429   # the current directory while Tru64 will put them in the object
   19430   # directory.
   19431   mkdir sub
   19432 
   19433   am_cv_CC_dependencies_compiler_type=none
   19434   if test "$am_compiler_list" = ""; then
   19435      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19436   fi
   19437   for depmode in $am_compiler_list; do
   19438     # Setup a source with many dependencies, because some compilers
   19439     # like to wrap large dependency lists on column 80 (with \), and
   19440     # we should not choose a depcomp mode which is confused by this.
   19441     #
   19442     # We need to recreate these files for each test, as the compiler may
   19443     # overwrite some of them when testing with obscure command lines.
   19444     # This happens at least with the AIX C compiler.
   19445     : > sub/conftest.c
   19446     for i in 1 2 3 4 5 6; do
   19447       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19448       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   19449       # Solaris 8's {/usr,}/bin/sh.
   19450       touch sub/conftst$i.h
   19451     done
   19452     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19453 
   19454     case $depmode in
   19455     nosideeffect)
   19456       # after this tag, mechanisms are not by side-effect, so they'll
   19457       # only be used when explicitly requested
   19458       if test "x$enable_dependency_tracking" = xyes; then
   19459 	continue
   19460       else
   19461 	break
   19462       fi
   19463       ;;
   19464     none) break ;;
   19465     esac
   19466     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   19467     # mode.  It turns out that the SunPro C++ compiler does not properly
   19468     # handle `-M -o', and we need to detect this.
   19469     if depmode=$depmode \
   19470        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   19471        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   19472        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   19473          >/dev/null 2>conftest.err &&
   19474        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   19475        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   19476        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   19477       # icc doesn't choke on unknown options, it will just issue warnings
   19478       # or remarks (even with -Werror).  So we grep stderr for any message
   19479       # that says an option was ignored or not supported.
   19480       # When given -MP, icc 7.0 and 7.1 complain thusly:
   19481       #   icc: Command line warning: ignoring option '-M'; no argument required
   19482       # The diagnosis changed in icc 8.0:
   19483       #   icc: Command line remark: option '-MP' not supported
   19484       if (grep 'ignoring option' conftest.err ||
   19485           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   19486         am_cv_CC_dependencies_compiler_type=$depmode
   19487         break
   19488       fi
   19489     fi
   19490   done
   19491 
   19492   cd ..
   19493   rm -rf conftest.dir
   19494 else
   19495   am_cv_CC_dependencies_compiler_type=none
   19496 fi
   19497 
   19498 fi
   19499 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   19500 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   19501 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   19502 
   19503 
   19504 
   19505 if
   19506   test "x$enable_dependency_tracking" != xno \
   19507   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   19508   am__fastdepCC_TRUE=
   19509   am__fastdepCC_FALSE='#'
   19510 else
   19511   am__fastdepCC_TRUE='#'
   19512   am__fastdepCC_FALSE=
   19513 fi
   19514 
   19515 
   19516 # By default we simply use the C compiler to build assembly code.
   19517 
   19518 test "${CCAS+set}" = set || CCAS=$CC
   19519 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   19520 
   19521 
   19522 
   19523 
   19524 
   19525 
   19526 
   19527 
   19528 # Check whether --with-xorg-module-dir or --without-xorg-module-dir was given.
   19529 if test "${with_xorg_module_dir+set}" = set; then
   19530   withval="$with_xorg_module_dir"
   19531   moduledir="$withval"
   19532 else
   19533   moduledir="$libdir/xorg/modules"
   19534 fi;
   19535 
   19536 # Checks for extensions
   19537 
   19538 	SAVE_CFLAGS="$CFLAGS"
   19539 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19540 	cat >conftest.$ac_ext <<_ACEOF
   19541 /* confdefs.h.  */
   19542 _ACEOF
   19543 cat confdefs.h >>conftest.$ac_ext
   19544 cat >>conftest.$ac_ext <<_ACEOF
   19545 /* end confdefs.h.  */
   19546 
   19547 #include "xorg-server.h"
   19548 #if !defined RANDR
   19549 #error RANDR not defined
   19550 #endif
   19551 
   19552 int
   19553 main ()
   19554 {
   19555 
   19556   ;
   19557   return 0;
   19558 }
   19559 _ACEOF
   19560 rm -f conftest.$ac_objext
   19561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19562   (eval $ac_compile) 2>conftest.er1
   19563   ac_status=$?
   19564   grep -v '^ *+' conftest.er1 >conftest.err
   19565   rm -f conftest.er1
   19566   cat conftest.err >&5
   19567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19568   (exit $ac_status); } &&
   19569 	 { ac_try='test -z "$ac_c_werror_flag"
   19570 			 || test ! -s conftest.err'
   19571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19572   (eval $ac_try) 2>&5
   19573   ac_status=$?
   19574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19575   (exit $ac_status); }; } &&
   19576 	 { ac_try='test -s conftest.$ac_objext'
   19577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19578   (eval $ac_try) 2>&5
   19579   ac_status=$?
   19580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19581   (exit $ac_status); }; }; then
   19582   _EXT_CHECK=yes
   19583 else
   19584   echo "$as_me: failed program was:" >&5
   19585 sed 's/^/| /' conftest.$ac_ext >&5
   19586 
   19587 _EXT_CHECK=no
   19588 fi
   19589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19590 	CFLAGS="$SAVE_CFLAGS"
   19591 	echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   19592 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6
   19593 	echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   19594 echo "${ECHO_T}$_EXT_CHECK" >&6
   19595 	if test "$_EXT_CHECK" != no; then
   19596 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19597 	fi
   19598 
   19599 
   19600 	SAVE_CFLAGS="$CFLAGS"
   19601 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19602 	cat >conftest.$ac_ext <<_ACEOF
   19603 /* confdefs.h.  */
   19604 _ACEOF
   19605 cat confdefs.h >>conftest.$ac_ext
   19606 cat >>conftest.$ac_ext <<_ACEOF
   19607 /* end confdefs.h.  */
   19608 
   19609 #include "xorg-server.h"
   19610 #if !defined RENDER
   19611 #error RENDER not defined
   19612 #endif
   19613 
   19614 int
   19615 main ()
   19616 {
   19617 
   19618   ;
   19619   return 0;
   19620 }
   19621 _ACEOF
   19622 rm -f conftest.$ac_objext
   19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19624   (eval $ac_compile) 2>conftest.er1
   19625   ac_status=$?
   19626   grep -v '^ *+' conftest.er1 >conftest.err
   19627   rm -f conftest.er1
   19628   cat conftest.err >&5
   19629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19630   (exit $ac_status); } &&
   19631 	 { ac_try='test -z "$ac_c_werror_flag"
   19632 			 || test ! -s conftest.err'
   19633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19634   (eval $ac_try) 2>&5
   19635   ac_status=$?
   19636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19637   (exit $ac_status); }; } &&
   19638 	 { ac_try='test -s conftest.$ac_objext'
   19639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19640   (eval $ac_try) 2>&5
   19641   ac_status=$?
   19642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19643   (exit $ac_status); }; }; then
   19644   _EXT_CHECK=yes
   19645 else
   19646   echo "$as_me: failed program was:" >&5
   19647 sed 's/^/| /' conftest.$ac_ext >&5
   19648 
   19649 _EXT_CHECK=no
   19650 fi
   19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19652 	CFLAGS="$SAVE_CFLAGS"
   19653 	echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   19654 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6
   19655 	echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   19656 echo "${ECHO_T}$_EXT_CHECK" >&6
   19657 	if test "$_EXT_CHECK" != no; then
   19658 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19659 	fi
   19660 
   19661 
   19662 	SAVE_CFLAGS="$CFLAGS"
   19663 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19664 	cat >conftest.$ac_ext <<_ACEOF
   19665 /* confdefs.h.  */
   19666 _ACEOF
   19667 cat confdefs.h >>conftest.$ac_ext
   19668 cat >>conftest.$ac_ext <<_ACEOF
   19669 /* end confdefs.h.  */
   19670 
   19671 #include "xorg-server.h"
   19672 #if !defined XV
   19673 #error XV not defined
   19674 #endif
   19675 
   19676 int
   19677 main ()
   19678 {
   19679 
   19680   ;
   19681   return 0;
   19682 }
   19683 _ACEOF
   19684 rm -f conftest.$ac_objext
   19685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19686   (eval $ac_compile) 2>conftest.er1
   19687   ac_status=$?
   19688   grep -v '^ *+' conftest.er1 >conftest.err
   19689   rm -f conftest.er1
   19690   cat conftest.err >&5
   19691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19692   (exit $ac_status); } &&
   19693 	 { ac_try='test -z "$ac_c_werror_flag"
   19694 			 || test ! -s conftest.err'
   19695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19696   (eval $ac_try) 2>&5
   19697   ac_status=$?
   19698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19699   (exit $ac_status); }; } &&
   19700 	 { ac_try='test -s conftest.$ac_objext'
   19701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19702   (eval $ac_try) 2>&5
   19703   ac_status=$?
   19704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19705   (exit $ac_status); }; }; then
   19706   _EXT_CHECK=yes
   19707 else
   19708   echo "$as_me: failed program was:" >&5
   19709 sed 's/^/| /' conftest.$ac_ext >&5
   19710 
   19711 _EXT_CHECK=no
   19712 fi
   19713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19714 	CFLAGS="$SAVE_CFLAGS"
   19715 	echo "$as_me:$LINENO: checking if XV is defined" >&5
   19716 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6
   19717 	echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   19718 echo "${ECHO_T}$_EXT_CHECK" >&6
   19719 	if test "$_EXT_CHECK" != no; then
   19720 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19721 	fi
   19722 
   19723 
   19724 	SAVE_CFLAGS="$CFLAGS"
   19725 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19726 	cat >conftest.$ac_ext <<_ACEOF
   19727 /* confdefs.h.  */
   19728 _ACEOF
   19729 cat confdefs.h >>conftest.$ac_ext
   19730 cat >>conftest.$ac_ext <<_ACEOF
   19731 /* end confdefs.h.  */
   19732 
   19733 #include "xorg-server.h"
   19734 #if !defined DPMSExtension
   19735 #error DPMSExtension not defined
   19736 #endif
   19737 
   19738 int
   19739 main ()
   19740 {
   19741 
   19742   ;
   19743   return 0;
   19744 }
   19745 _ACEOF
   19746 rm -f conftest.$ac_objext
   19747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19748   (eval $ac_compile) 2>conftest.er1
   19749   ac_status=$?
   19750   grep -v '^ *+' conftest.er1 >conftest.err
   19751   rm -f conftest.er1
   19752   cat conftest.err >&5
   19753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19754   (exit $ac_status); } &&
   19755 	 { ac_try='test -z "$ac_c_werror_flag"
   19756 			 || test ! -s conftest.err'
   19757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19758   (eval $ac_try) 2>&5
   19759   ac_status=$?
   19760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19761   (exit $ac_status); }; } &&
   19762 	 { ac_try='test -s conftest.$ac_objext'
   19763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19764   (eval $ac_try) 2>&5
   19765   ac_status=$?
   19766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19767   (exit $ac_status); }; }; then
   19768   _EXT_CHECK=yes
   19769 else
   19770   echo "$as_me: failed program was:" >&5
   19771 sed 's/^/| /' conftest.$ac_ext >&5
   19772 
   19773 _EXT_CHECK=no
   19774 fi
   19775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19776 	CFLAGS="$SAVE_CFLAGS"
   19777 	echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   19778 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6
   19779 	echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   19780 echo "${ECHO_T}$_EXT_CHECK" >&6
   19781 	if test "$_EXT_CHECK" != no; then
   19782 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19783 	fi
   19784 
   19785 
   19786 	SAVE_CFLAGS="$CFLAGS"
   19787 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19788 	cat >conftest.$ac_ext <<_ACEOF
   19789 /* confdefs.h.  */
   19790 _ACEOF
   19791 cat confdefs.h >>conftest.$ac_ext
   19792 cat >>conftest.$ac_ext <<_ACEOF
   19793 /* end confdefs.h.  */
   19794 
   19795 #include "xorg-server.h"
   19796 #if !defined XFreeXDGA
   19797 #error XFreeXDGA not defined
   19798 #endif
   19799 
   19800 int
   19801 main ()
   19802 {
   19803 
   19804   ;
   19805   return 0;
   19806 }
   19807 _ACEOF
   19808 rm -f conftest.$ac_objext
   19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   19810   (eval $ac_compile) 2>conftest.er1
   19811   ac_status=$?
   19812   grep -v '^ *+' conftest.er1 >conftest.err
   19813   rm -f conftest.er1
   19814   cat conftest.err >&5
   19815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19816   (exit $ac_status); } &&
   19817 	 { ac_try='test -z "$ac_c_werror_flag"
   19818 			 || test ! -s conftest.err'
   19819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19820   (eval $ac_try) 2>&5
   19821   ac_status=$?
   19822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19823   (exit $ac_status); }; } &&
   19824 	 { ac_try='test -s conftest.$ac_objext'
   19825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19826   (eval $ac_try) 2>&5
   19827   ac_status=$?
   19828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19829   (exit $ac_status); }; }; then
   19830   _EXT_CHECK=yes
   19831 else
   19832   echo "$as_me: failed program was:" >&5
   19833 sed 's/^/| /' conftest.$ac_ext >&5
   19834 
   19835 _EXT_CHECK=no
   19836 fi
   19837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   19838 	CFLAGS="$SAVE_CFLAGS"
   19839 	echo "$as_me:$LINENO: checking if XFreeXDGA is defined" >&5
   19840 echo $ECHO_N "checking if XFreeXDGA is defined... $ECHO_C" >&6
   19841 	echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   19842 echo "${ECHO_T}$_EXT_CHECK" >&6
   19843 	if test "$_EXT_CHECK" != no; then
   19844 		REQUIRED_MODULES="$REQUIRED_MODULES xf86dgaproto"
   19845 	fi
   19846 
   19847 
   19848 # Checks for pkg-config packages
   19849 
   19850 
   19851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19852 	if test -n "$ac_tool_prefix"; then
   19853   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19855 echo "$as_me:$LINENO: checking for $ac_word" >&5
   19856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   19857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19858   echo $ECHO_N "(cached) $ECHO_C" >&6
   19859 else
   19860   case $PKG_CONFIG in
   19861   [\\/]* | ?:[\\/]*)
   19862   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19863   ;;
   19864   *)
   19865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19866 for as_dir in $PATH
   19867 do
   19868   IFS=$as_save_IFS
   19869   test -z "$as_dir" && as_dir=.
   19870   for ac_exec_ext in '' $ac_executable_extensions; do
   19871   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19872     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19873     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19874     break 2
   19875   fi
   19876 done
   19877 done
   19878 
   19879   ;;
   19880 esac
   19881 fi
   19882 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19883 
   19884 if test -n "$PKG_CONFIG"; then
   19885   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19886 echo "${ECHO_T}$PKG_CONFIG" >&6
   19887 else
   19888   echo "$as_me:$LINENO: result: no" >&5
   19889 echo "${ECHO_T}no" >&6
   19890 fi
   19891 
   19892 fi
   19893 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19894   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19895   # Extract the first word of "pkg-config", so it can be a program name with args.
   19896 set dummy pkg-config; ac_word=$2
   19897 echo "$as_me:$LINENO: checking for $ac_word" >&5
   19898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   19899 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19900   echo $ECHO_N "(cached) $ECHO_C" >&6
   19901 else
   19902   case $ac_pt_PKG_CONFIG in
   19903   [\\/]* | ?:[\\/]*)
   19904   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19905   ;;
   19906   *)
   19907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19908 for as_dir in $PATH
   19909 do
   19910   IFS=$as_save_IFS
   19911   test -z "$as_dir" && as_dir=.
   19912   for ac_exec_ext in '' $ac_executable_extensions; do
   19913   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19914     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19915     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19916     break 2
   19917   fi
   19918 done
   19919 done
   19920 
   19921   ;;
   19922 esac
   19923 fi
   19924 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19925 
   19926 if test -n "$ac_pt_PKG_CONFIG"; then
   19927   echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19928 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
   19929 else
   19930   echo "$as_me:$LINENO: result: no" >&5
   19931 echo "${ECHO_T}no" >&6
   19932 fi
   19933 
   19934   PKG_CONFIG=$ac_pt_PKG_CONFIG
   19935 else
   19936   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19937 fi
   19938 
   19939 fi
   19940 if test -n "$PKG_CONFIG"; then
   19941 	_pkg_min_version=0.9.0
   19942 	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19943 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
   19944 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19945 		echo "$as_me:$LINENO: result: yes" >&5
   19946 echo "${ECHO_T}yes" >&6
   19947 	else
   19948 		echo "$as_me:$LINENO: result: no" >&5
   19949 echo "${ECHO_T}no" >&6
   19950 		PKG_CONFIG=""
   19951 	fi
   19952 
   19953 fi
   19954 
   19955 pkg_failed=no
   19956 echo "$as_me:$LINENO: checking for XORG" >&5
   19957 echo $ECHO_N "checking for XORG... $ECHO_C" >&6
   19958 
   19959 if test -n "$PKG_CONFIG"; then
   19960     if test -n "$XORG_CFLAGS"; then
   19961         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19962     else
   19963         if test -n "$PKG_CONFIG" && \
   19964     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   19965   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19966   ac_status=$?
   19967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19968   (exit $ac_status); }; then
   19969   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19970 else
   19971   pkg_failed=yes
   19972 fi
   19973     fi
   19974 else
   19975 	pkg_failed=untried
   19976 fi
   19977 if test -n "$PKG_CONFIG"; then
   19978     if test -n "$XORG_LIBS"; then
   19979         pkg_cv_XORG_LIBS="$XORG_LIBS"
   19980     else
   19981         if test -n "$PKG_CONFIG" && \
   19982     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   19983   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19984   ac_status=$?
   19985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19986   (exit $ac_status); }; then
   19987   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19988 else
   19989   pkg_failed=yes
   19990 fi
   19991     fi
   19992 else
   19993 	pkg_failed=untried
   19994 fi
   19995 
   19996 
   19997 
   19998 if test $pkg_failed = yes; then
   19999 
   20000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20001         _pkg_short_errors_supported=yes
   20002 else
   20003         _pkg_short_errors_supported=no
   20004 fi
   20005         if test $_pkg_short_errors_supported = yes; then
   20006 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES"`
   20007         else
   20008 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES"`
   20009         fi
   20010 	# Put the nasty error message in config.log where it belongs
   20011 	echo "$XORG_PKG_ERRORS" >&5
   20012 
   20013 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   20014 
   20015 $XORG_PKG_ERRORS
   20016 
   20017 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20018 installed software in a non-standard prefix.
   20019 
   20020 Alternatively, you may set the environment variables XORG_CFLAGS
   20021 and XORG_LIBS to avoid the need to call pkg-config.
   20022 See the pkg-config man page for more details.
   20023 " >&5
   20024 echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   20025 
   20026 $XORG_PKG_ERRORS
   20027 
   20028 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20029 installed software in a non-standard prefix.
   20030 
   20031 Alternatively, you may set the environment variables XORG_CFLAGS
   20032 and XORG_LIBS to avoid the need to call pkg-config.
   20033 See the pkg-config man page for more details.
   20034 " >&2;}
   20035    { (exit 1); exit 1; }; }
   20036 elif test $pkg_failed = untried; then
   20037 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20038 is in your PATH or set the PKG_CONFIG environment variable to the full
   20039 path to pkg-config.
   20040 
   20041 Alternatively, you may set the environment variables XORG_CFLAGS
   20042 and XORG_LIBS to avoid the need to call pkg-config.
   20043 See the pkg-config man page for more details.
   20044 
   20045 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20046 See \`config.log' for more details." >&5
   20047 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20048 is in your PATH or set the PKG_CONFIG environment variable to the full
   20049 path to pkg-config.
   20050 
   20051 Alternatively, you may set the environment variables XORG_CFLAGS
   20052 and XORG_LIBS to avoid the need to call pkg-config.
   20053 See the pkg-config man page for more details.
   20054 
   20055 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20056 See \`config.log' for more details." >&2;}
   20057    { (exit 1); exit 1; }; }
   20058 else
   20059 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20060 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20061         echo "$as_me:$LINENO: result: yes" >&5
   20062 echo "${ECHO_T}yes" >&6
   20063 	:
   20064 fi
   20065 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20066 
   20067 # Checks for libraries.
   20068 
   20069 # Checks for header files.
   20070 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20071 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   20072 if test "${ac_cv_header_stdc+set}" = set; then
   20073   echo $ECHO_N "(cached) $ECHO_C" >&6
   20074 else
   20075   cat >conftest.$ac_ext <<_ACEOF
   20076 /* confdefs.h.  */
   20077 _ACEOF
   20078 cat confdefs.h >>conftest.$ac_ext
   20079 cat >>conftest.$ac_ext <<_ACEOF
   20080 /* end confdefs.h.  */
   20081 #include <stdlib.h>
   20082 #include <stdarg.h>
   20083 #include <string.h>
   20084 #include <float.h>
   20085 
   20086 int
   20087 main ()
   20088 {
   20089 
   20090   ;
   20091   return 0;
   20092 }
   20093 _ACEOF
   20094 rm -f conftest.$ac_objext
   20095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   20096   (eval $ac_compile) 2>conftest.er1
   20097   ac_status=$?
   20098   grep -v '^ *+' conftest.er1 >conftest.err
   20099   rm -f conftest.er1
   20100   cat conftest.err >&5
   20101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20102   (exit $ac_status); } &&
   20103 	 { ac_try='test -z "$ac_c_werror_flag"
   20104 			 || test ! -s conftest.err'
   20105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20106   (eval $ac_try) 2>&5
   20107   ac_status=$?
   20108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20109   (exit $ac_status); }; } &&
   20110 	 { ac_try='test -s conftest.$ac_objext'
   20111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20112   (eval $ac_try) 2>&5
   20113   ac_status=$?
   20114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20115   (exit $ac_status); }; }; then
   20116   ac_cv_header_stdc=yes
   20117 else
   20118   echo "$as_me: failed program was:" >&5
   20119 sed 's/^/| /' conftest.$ac_ext >&5
   20120 
   20121 ac_cv_header_stdc=no
   20122 fi
   20123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   20124 
   20125 if test $ac_cv_header_stdc = yes; then
   20126   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20127   cat >conftest.$ac_ext <<_ACEOF
   20128 /* confdefs.h.  */
   20129 _ACEOF
   20130 cat confdefs.h >>conftest.$ac_ext
   20131 cat >>conftest.$ac_ext <<_ACEOF
   20132 /* end confdefs.h.  */
   20133 #include <string.h>
   20134 
   20135 _ACEOF
   20136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20137   $EGREP "memchr" >/dev/null 2>&1; then
   20138   :
   20139 else
   20140   ac_cv_header_stdc=no
   20141 fi
   20142 rm -f conftest*
   20143 
   20144 fi
   20145 
   20146 if test $ac_cv_header_stdc = yes; then
   20147   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20148   cat >conftest.$ac_ext <<_ACEOF
   20149 /* confdefs.h.  */
   20150 _ACEOF
   20151 cat confdefs.h >>conftest.$ac_ext
   20152 cat >>conftest.$ac_ext <<_ACEOF
   20153 /* end confdefs.h.  */
   20154 #include <stdlib.h>
   20155 
   20156 _ACEOF
   20157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20158   $EGREP "free" >/dev/null 2>&1; then
   20159   :
   20160 else
   20161   ac_cv_header_stdc=no
   20162 fi
   20163 rm -f conftest*
   20164 
   20165 fi
   20166 
   20167 if test $ac_cv_header_stdc = yes; then
   20168   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20169   if test "$cross_compiling" = yes; then
   20170   :
   20171 else
   20172   cat >conftest.$ac_ext <<_ACEOF
   20173 /* confdefs.h.  */
   20174 _ACEOF
   20175 cat confdefs.h >>conftest.$ac_ext
   20176 cat >>conftest.$ac_ext <<_ACEOF
   20177 /* end confdefs.h.  */
   20178 #include <ctype.h>
   20179 #if ((' ' & 0x0FF) == 0x020)
   20180 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20181 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20182 #else
   20183 # define ISLOWER(c) \
   20184 		   (('a' <= (c) && (c) <= 'i') \
   20185 		     || ('j' <= (c) && (c) <= 'r') \
   20186 		     || ('s' <= (c) && (c) <= 'z'))
   20187 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20188 #endif
   20189 
   20190 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20191 int
   20192 main ()
   20193 {
   20194   int i;
   20195   for (i = 0; i < 256; i++)
   20196     if (XOR (islower (i), ISLOWER (i))
   20197 	|| toupper (i) != TOUPPER (i))
   20198       exit(2);
   20199   exit (0);
   20200 }
   20201 _ACEOF
   20202 rm -f conftest$ac_exeext
   20203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   20204   (eval $ac_link) 2>&5
   20205   ac_status=$?
   20206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20207   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20209   (eval $ac_try) 2>&5
   20210   ac_status=$?
   20211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20212   (exit $ac_status); }; }; then
   20213   :
   20214 else
   20215   echo "$as_me: program exited with status $ac_status" >&5
   20216 echo "$as_me: failed program was:" >&5
   20217 sed 's/^/| /' conftest.$ac_ext >&5
   20218 
   20219 ( exit $ac_status )
   20220 ac_cv_header_stdc=no
   20221 fi
   20222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20223 fi
   20224 fi
   20225 fi
   20226 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20227 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   20228 if test $ac_cv_header_stdc = yes; then
   20229 
   20230 cat >>confdefs.h <<\_ACEOF
   20231 #define STDC_HEADERS 1
   20232 _ACEOF
   20233 
   20234 fi
   20235 
   20236 
   20237 
   20238 
   20239 
   20240 is386=false
   20241 
   20242 case $host_cpu in
   20243   i*86)
   20244 	is386=true
   20245 	;;
   20246 esac
   20247 
   20248 # Unset is386 if compiling for AMD64/EM64T
   20249 if test $is386 = true ; then
   20250 	echo "$as_me:$LINENO: checking whether _LP64 is declared" >&5
   20251 echo $ECHO_N "checking whether _LP64 is declared... $ECHO_C" >&6
   20252 if test "${ac_cv_have_decl__LP64+set}" = set; then
   20253   echo $ECHO_N "(cached) $ECHO_C" >&6
   20254 else
   20255   cat >conftest.$ac_ext <<_ACEOF
   20256 /* confdefs.h.  */
   20257 _ACEOF
   20258 cat confdefs.h >>conftest.$ac_ext
   20259 cat >>conftest.$ac_ext <<_ACEOF
   20260 /* end confdefs.h.  */
   20261 $ac_includes_default
   20262 int
   20263 main ()
   20264 {
   20265 #ifndef _LP64
   20266   char *p = (char *) _LP64;
   20267 #endif
   20268 
   20269   ;
   20270   return 0;
   20271 }
   20272 _ACEOF
   20273 rm -f conftest.$ac_objext
   20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   20275   (eval $ac_compile) 2>conftest.er1
   20276   ac_status=$?
   20277   grep -v '^ *+' conftest.er1 >conftest.err
   20278   rm -f conftest.er1
   20279   cat conftest.err >&5
   20280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20281   (exit $ac_status); } &&
   20282 	 { ac_try='test -z "$ac_c_werror_flag"
   20283 			 || test ! -s conftest.err'
   20284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20285   (eval $ac_try) 2>&5
   20286   ac_status=$?
   20287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20288   (exit $ac_status); }; } &&
   20289 	 { ac_try='test -s conftest.$ac_objext'
   20290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20291   (eval $ac_try) 2>&5
   20292   ac_status=$?
   20293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20294   (exit $ac_status); }; }; then
   20295   ac_cv_have_decl__LP64=yes
   20296 else
   20297   echo "$as_me: failed program was:" >&5
   20298 sed 's/^/| /' conftest.$ac_ext >&5
   20299 
   20300 ac_cv_have_decl__LP64=no
   20301 fi
   20302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   20303 fi
   20304 echo "$as_me:$LINENO: result: $ac_cv_have_decl__LP64" >&5
   20305 echo "${ECHO_T}$ac_cv_have_decl__LP64" >&6
   20306 if test $ac_cv_have_decl__LP64 = yes; then
   20307 
   20308 cat >>confdefs.h <<_ACEOF
   20309 #define HAVE_DECL__LP64 1
   20310 _ACEOF
   20311 
   20312 is386=false
   20313 else
   20314   cat >>confdefs.h <<_ACEOF
   20315 #define HAVE_DECL__LP64 0
   20316 _ACEOF
   20317 
   20318 
   20319 fi
   20320 echo "$as_me:$LINENO: checking whether __amd64__ is declared" >&5
   20321 echo $ECHO_N "checking whether __amd64__ is declared... $ECHO_C" >&6
   20322 if test "${ac_cv_have_decl___amd64__+set}" = set; then
   20323   echo $ECHO_N "(cached) $ECHO_C" >&6
   20324 else
   20325   cat >conftest.$ac_ext <<_ACEOF
   20326 /* confdefs.h.  */
   20327 _ACEOF
   20328 cat confdefs.h >>conftest.$ac_ext
   20329 cat >>conftest.$ac_ext <<_ACEOF
   20330 /* end confdefs.h.  */
   20331 $ac_includes_default
   20332 int
   20333 main ()
   20334 {
   20335 #ifndef __amd64__
   20336   char *p = (char *) __amd64__;
   20337 #endif
   20338 
   20339   ;
   20340   return 0;
   20341 }
   20342 _ACEOF
   20343 rm -f conftest.$ac_objext
   20344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   20345   (eval $ac_compile) 2>conftest.er1
   20346   ac_status=$?
   20347   grep -v '^ *+' conftest.er1 >conftest.err
   20348   rm -f conftest.er1
   20349   cat conftest.err >&5
   20350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20351   (exit $ac_status); } &&
   20352 	 { ac_try='test -z "$ac_c_werror_flag"
   20353 			 || test ! -s conftest.err'
   20354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20355   (eval $ac_try) 2>&5
   20356   ac_status=$?
   20357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20358   (exit $ac_status); }; } &&
   20359 	 { ac_try='test -s conftest.$ac_objext'
   20360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20361   (eval $ac_try) 2>&5
   20362   ac_status=$?
   20363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20364   (exit $ac_status); }; }; then
   20365   ac_cv_have_decl___amd64__=yes
   20366 else
   20367   echo "$as_me: failed program was:" >&5
   20368 sed 's/^/| /' conftest.$ac_ext >&5
   20369 
   20370 ac_cv_have_decl___amd64__=no
   20371 fi
   20372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   20373 fi
   20374 echo "$as_me:$LINENO: result: $ac_cv_have_decl___amd64__" >&5
   20375 echo "${ECHO_T}$ac_cv_have_decl___amd64__" >&6
   20376 if test $ac_cv_have_decl___amd64__ = yes; then
   20377 
   20378 cat >>confdefs.h <<_ACEOF
   20379 #define HAVE_DECL___AMD64__ 1
   20380 _ACEOF
   20381 
   20382 is386=false
   20383 else
   20384   cat >>confdefs.h <<_ACEOF
   20385 #define HAVE_DECL___AMD64__ 0
   20386 _ACEOF
   20387 
   20388 
   20389 fi
   20390 echo "$as_me:$LINENO: checking whether amd64 is declared" >&5
   20391 echo $ECHO_N "checking whether amd64 is declared... $ECHO_C" >&6
   20392 if test "${ac_cv_have_decl_amd64+set}" = set; then
   20393   echo $ECHO_N "(cached) $ECHO_C" >&6
   20394 else
   20395   cat >conftest.$ac_ext <<_ACEOF
   20396 /* confdefs.h.  */
   20397 _ACEOF
   20398 cat confdefs.h >>conftest.$ac_ext
   20399 cat >>conftest.$ac_ext <<_ACEOF
   20400 /* end confdefs.h.  */
   20401 $ac_includes_default
   20402 int
   20403 main ()
   20404 {
   20405 #ifndef amd64
   20406   char *p = (char *) amd64;
   20407 #endif
   20408 
   20409   ;
   20410   return 0;
   20411 }
   20412 _ACEOF
   20413 rm -f conftest.$ac_objext
   20414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   20415   (eval $ac_compile) 2>conftest.er1
   20416   ac_status=$?
   20417   grep -v '^ *+' conftest.er1 >conftest.err
   20418   rm -f conftest.er1
   20419   cat conftest.err >&5
   20420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20421   (exit $ac_status); } &&
   20422 	 { ac_try='test -z "$ac_c_werror_flag"
   20423 			 || test ! -s conftest.err'
   20424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20425   (eval $ac_try) 2>&5
   20426   ac_status=$?
   20427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20428   (exit $ac_status); }; } &&
   20429 	 { ac_try='test -s conftest.$ac_objext'
   20430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   20431   (eval $ac_try) 2>&5
   20432   ac_status=$?
   20433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20434   (exit $ac_status); }; }; then
   20435   ac_cv_have_decl_amd64=yes
   20436 else
   20437   echo "$as_me: failed program was:" >&5
   20438 sed 's/^/| /' conftest.$ac_ext >&5
   20439 
   20440 ac_cv_have_decl_amd64=no
   20441 fi
   20442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   20443 fi
   20444 echo "$as_me:$LINENO: result: $ac_cv_have_decl_amd64" >&5
   20445 echo "${ECHO_T}$ac_cv_have_decl_amd64" >&6
   20446 if test $ac_cv_have_decl_amd64 = yes; then
   20447 
   20448 cat >>confdefs.h <<_ACEOF
   20449 #define HAVE_DECL_AMD64 1
   20450 _ACEOF
   20451 
   20452 is386=false
   20453 else
   20454   cat >>confdefs.h <<_ACEOF
   20455 #define HAVE_DECL_AMD64 0
   20456 _ACEOF
   20457 
   20458 
   20459 fi
   20460 
   20461 
   20462 fi
   20463 
   20464 
   20465 
   20466 if test $is386 = true; then
   20467   I386ARCH_TRUE=
   20468   I386ARCH_FALSE='#'
   20469 else
   20470   I386ARCH_TRUE='#'
   20471   I386ARCH_FALSE=
   20472 fi
   20473 
   20474 
   20475 DRIVER_NAME=nsc
   20476 
   20477 
   20478 
   20479 
   20480 
   20481 if test x$APP_MAN_SUFFIX = x    ; then
   20482     APP_MAN_SUFFIX=1
   20483 fi
   20484 if test x$APP_MAN_DIR = x    ; then
   20485     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20486 fi
   20487 
   20488 if test x$LIB_MAN_SUFFIX = x    ; then
   20489     LIB_MAN_SUFFIX=3
   20490 fi
   20491 if test x$LIB_MAN_DIR = x    ; then
   20492     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20493 fi
   20494 
   20495 if test x$FILE_MAN_SUFFIX = x    ; then
   20496     case $host_os in
   20497 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20498 	*)		FILE_MAN_SUFFIX=5  ;;
   20499     esac
   20500 fi
   20501 if test x$FILE_MAN_DIR = x    ; then
   20502     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20503 fi
   20504 
   20505 if test x$MISC_MAN_SUFFIX = x    ; then
   20506     case $host_os in
   20507 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20508 	*)		MISC_MAN_SUFFIX=7  ;;
   20509     esac
   20510 fi
   20511 if test x$MISC_MAN_DIR = x    ; then
   20512     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20513 fi
   20514 
   20515 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20516     case $host_os in
   20517 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20518 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20519     esac
   20520 fi
   20521 if test x$DRIVER_MAN_DIR = x    ; then
   20522     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20523 fi
   20524 
   20525 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20526     case $host_os in
   20527 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20528 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20529     esac
   20530 fi
   20531 if test x$ADMIN_MAN_DIR = x    ; then
   20532     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20533 fi
   20534 
   20535 
   20536 
   20537 
   20538 
   20539 
   20540 
   20541 
   20542 
   20543 
   20544 
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 
   20551 # Check whether --with-release-version or --without-release-version was given.
   20552 if test "${with_release_version+set}" = set; then
   20553   withval="$with_release_version"
   20554   RELEASE_VERSION="$withval"
   20555 else
   20556   RELEASE_VERSION=""
   20557 fi;
   20558 	if test "x$RELEASE_VERSION" != "x"; then
   20559 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20560 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20561 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20562 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20563 	fi
   20564 
   20565 
   20566                               ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20567 cat >confcache <<\_ACEOF
   20568 # This file is a shell script that caches the results of configure
   20569 # tests run on this system so they can be shared between configure
   20570 # scripts and configure runs, see configure's option --config-cache.
   20571 # It is not useful on other systems.  If it contains results you don't
   20572 # want to keep, you may remove or edit it.
   20573 #
   20574 # config.status only pays attention to the cache file if you give it
   20575 # the --recheck option to rerun configure.
   20576 #
   20577 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20578 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20579 # following values.
   20580 
   20581 _ACEOF
   20582 
   20583 # The following way of writing the cache mishandles newlines in values,
   20584 # but we know of no workaround that is simple, portable, and efficient.
   20585 # So, don't put newlines in cache variables' values.
   20586 # Ultrix sh set writes to stderr and can't be redirected directly,
   20587 # and sets the high bit in the cache file unless we assign to the vars.
   20588 {
   20589   (set) 2>&1 |
   20590     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   20591     *ac_space=\ *)
   20592       # `set' does not quote correctly, so add quotes (double-quote
   20593       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20594       sed -n \
   20595 	"s/'/'\\\\''/g;
   20596 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20597       ;;
   20598     *)
   20599       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20600       sed -n \
   20601 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   20602       ;;
   20603     esac;
   20604 } |
   20605   sed '
   20606      t clear
   20607      : clear
   20608      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20609      t end
   20610      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20611      : end' >>confcache
   20612 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   20613   if test -w $cache_file; then
   20614     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   20615     cat confcache >$cache_file
   20616   else
   20617     echo "not updating unwritable cache $cache_file"
   20618   fi
   20619 fi
   20620 rm -f confcache
   20621 
   20622 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20623 # Let make expand exec_prefix.
   20624 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20625 
   20626 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   20627 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   20628 # trailing colons and then remove the whole line if VPATH becomes empty
   20629 # (actually we leave an empty line to preserve line numbers).
   20630 if test "x$srcdir" = x.; then
   20631   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   20632 s/:*\$(srcdir):*/:/;
   20633 s/:*\${srcdir}:*/:/;
   20634 s/:*@srcdir@:*/:/;
   20635 s/^\([^=]*=[	 ]*\):*/\1/;
   20636 s/:*$//;
   20637 s/^[^=]*=[	 ]*$//;
   20638 }'
   20639 fi
   20640 
   20641 DEFS=-DHAVE_CONFIG_H
   20642 
   20643 ac_libobjs=
   20644 ac_ltlibobjs=
   20645 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20646   # 1. Remove the extension, and $U if already installed.
   20647   ac_i=`echo "$ac_i" |
   20648 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   20649   # 2. Add them.
   20650   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   20651   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   20652 done
   20653 LIBOBJS=$ac_libobjs
   20654 
   20655 LTLIBOBJS=$ac_ltlibobjs
   20656 
   20657 
   20658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20659   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20660 Usually this means the macro was only invoked conditionally." >&5
   20661 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20662 Usually this means the macro was only invoked conditionally." >&2;}
   20663    { (exit 1); exit 1; }; }
   20664 fi
   20665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20666   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20667 Usually this means the macro was only invoked conditionally." >&5
   20668 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20669 Usually this means the macro was only invoked conditionally." >&2;}
   20670    { (exit 1); exit 1; }; }
   20671 fi
   20672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20673   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20674 Usually this means the macro was only invoked conditionally." >&5
   20675 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20676 Usually this means the macro was only invoked conditionally." >&2;}
   20677    { (exit 1); exit 1; }; }
   20678 fi
   20679 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20680   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20681 Usually this means the macro was only invoked conditionally." >&5
   20682 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20683 Usually this means the macro was only invoked conditionally." >&2;}
   20684    { (exit 1); exit 1; }; }
   20685 fi
   20686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20687   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20688 Usually this means the macro was only invoked conditionally." >&5
   20689 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20690 Usually this means the macro was only invoked conditionally." >&2;}
   20691    { (exit 1); exit 1; }; }
   20692 fi
   20693 if test -z "${I386ARCH_TRUE}" && test -z "${I386ARCH_FALSE}"; then
   20694   { { echo "$as_me:$LINENO: error: conditional \"I386ARCH\" was never defined.
   20695 Usually this means the macro was only invoked conditionally." >&5
   20696 echo "$as_me: error: conditional \"I386ARCH\" was never defined.
   20697 Usually this means the macro was only invoked conditionally." >&2;}
   20698    { (exit 1); exit 1; }; }
   20699 fi
   20700 
   20701 : ${CONFIG_STATUS=./config.status}
   20702 ac_clean_files_save=$ac_clean_files
   20703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20704 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20705 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20706 cat >$CONFIG_STATUS <<_ACEOF
   20707 #! $SHELL
   20708 # Generated by $as_me.
   20709 # Run this file to recreate the current configuration.
   20710 # Compiler output produced by configure, useful for debugging
   20711 # configure, is in config.log if it exists.
   20712 
   20713 debug=false
   20714 ac_cs_recheck=false
   20715 ac_cs_silent=false
   20716 SHELL=\${CONFIG_SHELL-$SHELL}
   20717 _ACEOF
   20718 
   20719 cat >>$CONFIG_STATUS <<\_ACEOF
   20720 ## --------------------- ##
   20721 ## M4sh Initialization.  ##
   20722 ## --------------------- ##
   20723 
   20724 # Be Bourne compatible
   20725 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20726   emulate sh
   20727   NULLCMD=:
   20728   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20729   # is contrary to our usage.  Disable this feature.
   20730   alias -g '${1+"$@"}'='"$@"'
   20731 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   20732   set -o posix
   20733 fi
   20734 DUALCASE=1; export DUALCASE # for MKS sh
   20735 
   20736 # Support unset when possible.
   20737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20738   as_unset=unset
   20739 else
   20740   as_unset=false
   20741 fi
   20742 
   20743 
   20744 # Work around bugs in pre-3.0 UWIN ksh.
   20745 $as_unset ENV MAIL MAILPATH
   20746 PS1='$ '
   20747 PS2='> '
   20748 PS4='+ '
   20749 
   20750 # NLS nuisances.
   20751 for as_var in \
   20752   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20753   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20754   LC_TELEPHONE LC_TIME
   20755 do
   20756   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20757     eval $as_var=C; export $as_var
   20758   else
   20759     $as_unset $as_var
   20760   fi
   20761 done
   20762 
   20763 # Required to use basename.
   20764 if expr a : '\(a\)' >/dev/null 2>&1; then
   20765   as_expr=expr
   20766 else
   20767   as_expr=false
   20768 fi
   20769 
   20770 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   20771   as_basename=basename
   20772 else
   20773   as_basename=false
   20774 fi
   20775 
   20776 
   20777 # Name of the executable.
   20778 as_me=`$as_basename "$0" ||
   20779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20780 	 X"$0" : 'X\(//\)$' \| \
   20781 	 X"$0" : 'X\(/\)$' \| \
   20782 	 .     : '\(.\)' 2>/dev/null ||
   20783 echo X/"$0" |
   20784     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   20785   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   20786   	  /^X\/\(\/\).*/{ s//\1/; q; }
   20787   	  s/.*/./; q'`
   20788 
   20789 
   20790 # PATH needs CR, and LINENO needs CR and PATH.
   20791 # Avoid depending upon Character Ranges.
   20792 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20793 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20794 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20795 as_cr_digits='0123456789'
   20796 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20797 
   20798 # The user is always right.
   20799 if test "${PATH_SEPARATOR+set}" != set; then
   20800   echo "#! /bin/sh" >conf$$.sh
   20801   echo  "exit 0"   >>conf$$.sh
   20802   chmod +x conf$$.sh
   20803   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20804     PATH_SEPARATOR=';'
   20805   else
   20806     PATH_SEPARATOR=:
   20807   fi
   20808   rm -f conf$$.sh
   20809 fi
   20810 
   20811 
   20812   as_lineno_1=$LINENO
   20813   as_lineno_2=$LINENO
   20814   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   20815   test "x$as_lineno_1" != "x$as_lineno_2" &&
   20816   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   20817   # Find who we are.  Look in the path if we contain no path at all
   20818   # relative or not.
   20819   case $0 in
   20820     *[\\/]* ) as_myself=$0 ;;
   20821     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20822 for as_dir in $PATH
   20823 do
   20824   IFS=$as_save_IFS
   20825   test -z "$as_dir" && as_dir=.
   20826   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20827 done
   20828 
   20829        ;;
   20830   esac
   20831   # We did not find ourselves, most probably we were run as `sh COMMAND'
   20832   # in which case we are not to be found in the path.
   20833   if test "x$as_myself" = x; then
   20834     as_myself=$0
   20835   fi
   20836   if test ! -f "$as_myself"; then
   20837     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   20838 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   20839    { (exit 1); exit 1; }; }
   20840   fi
   20841   case $CONFIG_SHELL in
   20842   '')
   20843     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20844 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   20845 do
   20846   IFS=$as_save_IFS
   20847   test -z "$as_dir" && as_dir=.
   20848   for as_base in sh bash ksh sh5; do
   20849 	 case $as_dir in
   20850 	 /*)
   20851 	   if ("$as_dir/$as_base" -c '
   20852   as_lineno_1=$LINENO
   20853   as_lineno_2=$LINENO
   20854   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   20855   test "x$as_lineno_1" != "x$as_lineno_2" &&
   20856   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   20857 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   20858 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   20859 	     CONFIG_SHELL=$as_dir/$as_base
   20860 	     export CONFIG_SHELL
   20861 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   20862 	   fi;;
   20863 	 esac
   20864        done
   20865 done
   20866 ;;
   20867   esac
   20868 
   20869   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   20870   # uniformly replaced by the line number.  The first 'sed' inserts a
   20871   # line-number line before each line; the second 'sed' does the real
   20872   # work.  The second script uses 'N' to pair each line-number line
   20873   # with the numbered line, and appends trailing '-' during
   20874   # substitution so that $LINENO is not a special case at line end.
   20875   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   20876   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   20877   sed '=' <$as_myself |
   20878     sed '
   20879       N
   20880       s,$,-,
   20881       : loop
   20882       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   20883       t loop
   20884       s,-$,,
   20885       s,^['$as_cr_digits']*\n,,
   20886     ' >$as_me.lineno &&
   20887   chmod +x $as_me.lineno ||
   20888     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   20889 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   20890    { (exit 1); exit 1; }; }
   20891 
   20892   # Don't try to exec as it changes $[0], causing all sort of problems
   20893   # (the dirname of $[0] is not the place where we might find the
   20894   # original and so on.  Autoconf is especially sensible to this).
   20895   . ./$as_me.lineno
   20896   # Exit status is that of the last command.
   20897   exit
   20898 }
   20899 
   20900 
   20901 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   20902   *c*,-n*) ECHO_N= ECHO_C='
   20903 ' ECHO_T='	' ;;
   20904   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   20905   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   20906 esac
   20907 
   20908 if expr a : '\(a\)' >/dev/null 2>&1; then
   20909   as_expr=expr
   20910 else
   20911   as_expr=false
   20912 fi
   20913 
   20914 rm -f conf$$ conf$$.exe conf$$.file
   20915 echo >conf$$.file
   20916 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20917   # We could just check for DJGPP; but this test a) works b) is more generic
   20918   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   20919   if test -f conf$$.exe; then
   20920     # Don't use ln at all; we don't have any links
   20921     as_ln_s='cp -p'
   20922   else
   20923     as_ln_s='ln -s'
   20924   fi
   20925 elif ln conf$$.file conf$$ 2>/dev/null; then
   20926   as_ln_s=ln
   20927 else
   20928   as_ln_s='cp -p'
   20929 fi
   20930 rm -f conf$$ conf$$.exe conf$$.file
   20931 
   20932 if mkdir -p . 2>/dev/null; then
   20933   as_mkdir_p=:
   20934 else
   20935   test -d ./-p && rmdir ./-p
   20936   as_mkdir_p=false
   20937 fi
   20938 
   20939 as_executable_p="test -f"
   20940 
   20941 # Sed expression to map a string onto a valid CPP name.
   20942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20943 
   20944 # Sed expression to map a string onto a valid variable name.
   20945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20946 
   20947 
   20948 # IFS
   20949 # We need space, tab and new line, in precisely that order.
   20950 as_nl='
   20951 '
   20952 IFS=" 	$as_nl"
   20953 
   20954 # CDPATH.
   20955 $as_unset CDPATH
   20956 
   20957 exec 6>&1
   20958 
   20959 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   20960 # report actual input values of CONFIG_FILES etc. instead of their
   20961 # values after options handling.  Logging --version etc. is OK.
   20962 exec 5>>config.log
   20963 {
   20964   echo
   20965   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20966 ## Running $as_me. ##
   20967 _ASBOX
   20968 } >&5
   20969 cat >&5 <<_CSEOF
   20970 
   20971 This file was extended by xf86-video-nsc $as_me 2.8.2, which was
   20972 generated by GNU Autoconf 2.59.  Invocation command line was
   20973 
   20974   CONFIG_FILES    = $CONFIG_FILES
   20975   CONFIG_HEADERS  = $CONFIG_HEADERS
   20976   CONFIG_LINKS    = $CONFIG_LINKS
   20977   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20978   $ $0 $@
   20979 
   20980 _CSEOF
   20981 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   20982 echo >&5
   20983 _ACEOF
   20984 
   20985 # Files that config.status was made for.
   20986 if test -n "$ac_config_files"; then
   20987   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   20988 fi
   20989 
   20990 if test -n "$ac_config_headers"; then
   20991   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   20992 fi
   20993 
   20994 if test -n "$ac_config_links"; then
   20995   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   20996 fi
   20997 
   20998 if test -n "$ac_config_commands"; then
   20999   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   21000 fi
   21001 
   21002 cat >>$CONFIG_STATUS <<\_ACEOF
   21003 
   21004 ac_cs_usage="\
   21005 \`$as_me' instantiates files from templates according to the
   21006 current configuration.
   21007 
   21008 Usage: $0 [OPTIONS] [FILE]...
   21009 
   21010   -h, --help       print this help, then exit
   21011   -V, --version    print version number, then exit
   21012   -q, --quiet      do not print progress messages
   21013   -d, --debug      don't remove temporary files
   21014       --recheck    update $as_me by reconfiguring in the same conditions
   21015   --file=FILE[:TEMPLATE]
   21016 		   instantiate the configuration file FILE
   21017   --header=FILE[:TEMPLATE]
   21018 		   instantiate the configuration header FILE
   21019 
   21020 Configuration files:
   21021 $config_files
   21022 
   21023 Configuration headers:
   21024 $config_headers
   21025 
   21026 Configuration commands:
   21027 $config_commands
   21028 
   21029 Report bugs to <bug-autoconf@gnu.org>."
   21030 _ACEOF
   21031 
   21032 cat >>$CONFIG_STATUS <<_ACEOF
   21033 ac_cs_version="\\
   21034 xf86-video-nsc config.status 2.8.2
   21035 configured by $0, generated by GNU Autoconf 2.59,
   21036   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   21037 
   21038 Copyright (C) 2003 Free Software Foundation, Inc.
   21039 This config.status script is free software; the Free Software Foundation
   21040 gives unlimited permission to copy, distribute and modify it."
   21041 srcdir=$srcdir
   21042 INSTALL="$INSTALL"
   21043 _ACEOF
   21044 
   21045 cat >>$CONFIG_STATUS <<\_ACEOF
   21046 # If no file are specified by the user, then we need to provide default
   21047 # value.  By we need to know if files were specified by the user.
   21048 ac_need_defaults=:
   21049 while test $# != 0
   21050 do
   21051   case $1 in
   21052   --*=*)
   21053     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   21054     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   21055     ac_shift=:
   21056     ;;
   21057   -*)
   21058     ac_option=$1
   21059     ac_optarg=$2
   21060     ac_shift=shift
   21061     ;;
   21062   *) # This is not an option, so the user has probably given explicit
   21063      # arguments.
   21064      ac_option=$1
   21065      ac_need_defaults=false;;
   21066   esac
   21067 
   21068   case $ac_option in
   21069   # Handling of the options.
   21070 _ACEOF
   21071 cat >>$CONFIG_STATUS <<\_ACEOF
   21072   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21073     ac_cs_recheck=: ;;
   21074   --version | --vers* | -V )
   21075     echo "$ac_cs_version"; exit 0 ;;
   21076   --he | --h)
   21077     # Conflict between --help and --header
   21078     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   21079 Try \`$0 --help' for more information." >&5
   21080 echo "$as_me: error: ambiguous option: $1
   21081 Try \`$0 --help' for more information." >&2;}
   21082    { (exit 1); exit 1; }; };;
   21083   --help | --hel | -h )
   21084     echo "$ac_cs_usage"; exit 0 ;;
   21085   --debug | --d* | -d )
   21086     debug=: ;;
   21087   --file | --fil | --fi | --f )
   21088     $ac_shift
   21089     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21090     ac_need_defaults=false;;
   21091   --header | --heade | --head | --hea )
   21092     $ac_shift
   21093     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21094     ac_need_defaults=false;;
   21095   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21096   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21097     ac_cs_silent=: ;;
   21098 
   21099   # This is an error.
   21100   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   21101 Try \`$0 --help' for more information." >&5
   21102 echo "$as_me: error: unrecognized option: $1
   21103 Try \`$0 --help' for more information." >&2;}
   21104    { (exit 1); exit 1; }; } ;;
   21105 
   21106   *) ac_config_targets="$ac_config_targets $1" ;;
   21107 
   21108   esac
   21109   shift
   21110 done
   21111 
   21112 ac_configure_extra_args=
   21113 
   21114 if $ac_cs_silent; then
   21115   exec 6>/dev/null
   21116   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21117 fi
   21118 
   21119 _ACEOF
   21120 cat >>$CONFIG_STATUS <<_ACEOF
   21121 if \$ac_cs_recheck; then
   21122   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21123   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21124 fi
   21125 
   21126 _ACEOF
   21127 
   21128 cat >>$CONFIG_STATUS <<_ACEOF
   21129 #
   21130 # INIT-COMMANDS section.
   21131 #
   21132 
   21133 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21134 
   21135 _ACEOF
   21136 
   21137 
   21138 
   21139 cat >>$CONFIG_STATUS <<\_ACEOF
   21140 for ac_config_target in $ac_config_targets
   21141 do
   21142   case "$ac_config_target" in
   21143   # Handling of arguments.
   21144   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21145   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21146   "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21147   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21148   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21149   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21150 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21151    { (exit 1); exit 1; }; };;
   21152   esac
   21153 done
   21154 
   21155 # If the user did not use the arguments to specify the items to instantiate,
   21156 # then the envvar interface is used.  Set only those that are not.
   21157 # We use the long form for the default assignment because of an extremely
   21158 # bizarre bug on SunOS 4.1.3.
   21159 if $ac_need_defaults; then
   21160   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21161   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21162   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21163 fi
   21164 
   21165 # Have a temporary directory for convenience.  Make it in the build tree
   21166 # simply because there is no reason to put it here, and in addition,
   21167 # creating and moving files from /tmp can sometimes cause problems.
   21168 # Create a temporary directory, and hook for its removal unless debugging.
   21169 $debug ||
   21170 {
   21171   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   21172   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21173 }
   21174 
   21175 # Create a (secure) tmp directory for tmp files.
   21176 
   21177 {
   21178   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   21179   test -n "$tmp" && test -d "$tmp"
   21180 }  ||
   21181 {
   21182   tmp=./confstat$$-$RANDOM
   21183   (umask 077 && mkdir $tmp)
   21184 } ||
   21185 {
   21186    echo "$me: cannot create a temporary directory in ." >&2
   21187    { (exit 1); exit 1; }
   21188 }
   21189 
   21190 _ACEOF
   21191 
   21192 cat >>$CONFIG_STATUS <<_ACEOF
   21193 
   21194 #
   21195 # CONFIG_FILES section.
   21196 #
   21197 
   21198 # No need to generate the scripts if there are no CONFIG_FILES.
   21199 # This happens for instance when ./config.status config.h
   21200 if test -n "\$CONFIG_FILES"; then
   21201   # Protect against being on the right side of a sed subst in config.status.
   21202   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   21203    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   21204 s,@SHELL@,$SHELL,;t t
   21205 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   21206 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   21207 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   21208 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   21209 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   21210 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   21211 s,@exec_prefix@,$exec_prefix,;t t
   21212 s,@prefix@,$prefix,;t t
   21213 s,@program_transform_name@,$program_transform_name,;t t
   21214 s,@bindir@,$bindir,;t t
   21215 s,@sbindir@,$sbindir,;t t
   21216 s,@libexecdir@,$libexecdir,;t t
   21217 s,@datadir@,$datadir,;t t
   21218 s,@sysconfdir@,$sysconfdir,;t t
   21219 s,@sharedstatedir@,$sharedstatedir,;t t
   21220 s,@localstatedir@,$localstatedir,;t t
   21221 s,@libdir@,$libdir,;t t
   21222 s,@includedir@,$includedir,;t t
   21223 s,@oldincludedir@,$oldincludedir,;t t
   21224 s,@infodir@,$infodir,;t t
   21225 s,@mandir@,$mandir,;t t
   21226 s,@build_alias@,$build_alias,;t t
   21227 s,@host_alias@,$host_alias,;t t
   21228 s,@target_alias@,$target_alias,;t t
   21229 s,@DEFS@,$DEFS,;t t
   21230 s,@ECHO_C@,$ECHO_C,;t t
   21231 s,@ECHO_N@,$ECHO_N,;t t
   21232 s,@ECHO_T@,$ECHO_T,;t t
   21233 s,@LIBS@,$LIBS,;t t
   21234 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   21235 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   21236 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   21237 s,@CYGPATH_W@,$CYGPATH_W,;t t
   21238 s,@PACKAGE@,$PACKAGE,;t t
   21239 s,@VERSION@,$VERSION,;t t
   21240 s,@ACLOCAL@,$ACLOCAL,;t t
   21241 s,@AUTOCONF@,$AUTOCONF,;t t
   21242 s,@AUTOMAKE@,$AUTOMAKE,;t t
   21243 s,@AUTOHEADER@,$AUTOHEADER,;t t
   21244 s,@MAKEINFO@,$MAKEINFO,;t t
   21245 s,@install_sh@,$install_sh,;t t
   21246 s,@STRIP@,$STRIP,;t t
   21247 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   21248 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   21249 s,@mkdir_p@,$mkdir_p,;t t
   21250 s,@AWK@,$AWK,;t t
   21251 s,@SET_MAKE@,$SET_MAKE,;t t
   21252 s,@am__leading_dot@,$am__leading_dot,;t t
   21253 s,@AMTAR@,$AMTAR,;t t
   21254 s,@am__tar@,$am__tar,;t t
   21255 s,@am__untar@,$am__untar,;t t
   21256 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   21257 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   21258 s,@MAINT@,$MAINT,;t t
   21259 s,@build@,$build,;t t
   21260 s,@build_cpu@,$build_cpu,;t t
   21261 s,@build_vendor@,$build_vendor,;t t
   21262 s,@build_os@,$build_os,;t t
   21263 s,@host@,$host,;t t
   21264 s,@host_cpu@,$host_cpu,;t t
   21265 s,@host_vendor@,$host_vendor,;t t
   21266 s,@host_os@,$host_os,;t t
   21267 s,@CC@,$CC,;t t
   21268 s,@CFLAGS@,$CFLAGS,;t t
   21269 s,@LDFLAGS@,$LDFLAGS,;t t
   21270 s,@CPPFLAGS@,$CPPFLAGS,;t t
   21271 s,@ac_ct_CC@,$ac_ct_CC,;t t
   21272 s,@EXEEXT@,$EXEEXT,;t t
   21273 s,@OBJEXT@,$OBJEXT,;t t
   21274 s,@DEPDIR@,$DEPDIR,;t t
   21275 s,@am__include@,$am__include,;t t
   21276 s,@am__quote@,$am__quote,;t t
   21277 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   21278 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   21279 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   21280 s,@CCDEPMODE@,$CCDEPMODE,;t t
   21281 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   21282 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   21283 s,@SED@,$SED,;t t
   21284 s,@EGREP@,$EGREP,;t t
   21285 s,@LN_S@,$LN_S,;t t
   21286 s,@ECHO@,$ECHO,;t t
   21287 s,@AR@,$AR,;t t
   21288 s,@ac_ct_AR@,$ac_ct_AR,;t t
   21289 s,@RANLIB@,$RANLIB,;t t
   21290 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   21291 s,@CPP@,$CPP,;t t
   21292 s,@CXX@,$CXX,;t t
   21293 s,@CXXFLAGS@,$CXXFLAGS,;t t
   21294 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   21295 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   21296 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
   21297 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
   21298 s,@CXXCPP@,$CXXCPP,;t t
   21299 s,@F77@,$F77,;t t
   21300 s,@FFLAGS@,$FFLAGS,;t t
   21301 s,@ac_ct_F77@,$ac_ct_F77,;t t
   21302 s,@LIBTOOL@,$LIBTOOL,;t t
   21303 s,@CCAS@,$CCAS,;t t
   21304 s,@CCASFLAGS@,$CCASFLAGS,;t t
   21305 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
   21306 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
   21307 s,@XORG_CFLAGS@,$XORG_CFLAGS,;t t
   21308 s,@XORG_LIBS@,$XORG_LIBS,;t t
   21309 s,@moduledir@,$moduledir,;t t
   21310 s,@I386ARCH_TRUE@,$I386ARCH_TRUE,;t t
   21311 s,@I386ARCH_FALSE@,$I386ARCH_FALSE,;t t
   21312 s,@DRIVER_NAME@,$DRIVER_NAME,;t t
   21313 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
   21314 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
   21315 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
   21316 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
   21317 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
   21318 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
   21319 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
   21320 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
   21321 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
   21322 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
   21323 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
   21324 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
   21325 s,@LIBOBJS@,$LIBOBJS,;t t
   21326 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   21327 CEOF
   21328 
   21329 _ACEOF
   21330 
   21331   cat >>$CONFIG_STATUS <<\_ACEOF
   21332   # Split the substitutions into bite-sized pieces for seds with
   21333   # small command number limits, like on Digital OSF/1 and HP-UX.
   21334   ac_max_sed_lines=48
   21335   ac_sed_frag=1 # Number of current file.
   21336   ac_beg=1 # First line for current file.
   21337   ac_end=$ac_max_sed_lines # Line after last line for current file.
   21338   ac_more_lines=:
   21339   ac_sed_cmds=
   21340   while $ac_more_lines; do
   21341     if test $ac_beg -gt 1; then
   21342       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   21343     else
   21344       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   21345     fi
   21346     if test ! -s $tmp/subs.frag; then
   21347       ac_more_lines=false
   21348     else
   21349       # The purpose of the label and of the branching condition is to
   21350       # speed up the sed processing (if there are no `@' at all, there
   21351       # is no need to browse any of the substitutions).
   21352       # These are the two extra sed commands mentioned above.
   21353       (echo ':t
   21354   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   21355       if test -z "$ac_sed_cmds"; then
   21356 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   21357       else
   21358 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   21359       fi
   21360       ac_sed_frag=`expr $ac_sed_frag + 1`
   21361       ac_beg=$ac_end
   21362       ac_end=`expr $ac_end + $ac_max_sed_lines`
   21363     fi
   21364   done
   21365   if test -z "$ac_sed_cmds"; then
   21366     ac_sed_cmds=cat
   21367   fi
   21368 fi # test -n "$CONFIG_FILES"
   21369 
   21370 _ACEOF
   21371 cat >>$CONFIG_STATUS <<\_ACEOF
   21372 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   21373   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   21374   case $ac_file in
   21375   - | *:- | *:-:* ) # input from stdin
   21376 	cat >$tmp/stdin
   21377 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   21378 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   21379   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   21380 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   21381   * )   ac_file_in=$ac_file.in ;;
   21382   esac
   21383 
   21384   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   21385   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   21386 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21387 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21388 	 X"$ac_file" : 'X\(//\)$' \| \
   21389 	 X"$ac_file" : 'X\(/\)' \| \
   21390 	 .     : '\(.\)' 2>/dev/null ||
   21391 echo X"$ac_file" |
   21392     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21393   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21394   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21395   	  /^X\(\/\).*/{ s//\1/; q; }
   21396   	  s/.*/./; q'`
   21397   { if $as_mkdir_p; then
   21398     mkdir -p "$ac_dir"
   21399   else
   21400     as_dir="$ac_dir"
   21401     as_dirs=
   21402     while test ! -d "$as_dir"; do
   21403       as_dirs="$as_dir $as_dirs"
   21404       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   21405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21406 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21407 	 X"$as_dir" : 'X\(//\)$' \| \
   21408 	 X"$as_dir" : 'X\(/\)' \| \
   21409 	 .     : '\(.\)' 2>/dev/null ||
   21410 echo X"$as_dir" |
   21411     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21412   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21413   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21414   	  /^X\(\/\).*/{ s//\1/; q; }
   21415   	  s/.*/./; q'`
   21416     done
   21417     test ! -n "$as_dirs" || mkdir $as_dirs
   21418   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   21419 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   21420    { (exit 1); exit 1; }; }; }
   21421 
   21422   ac_builddir=.
   21423 
   21424 if test "$ac_dir" != .; then
   21425   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21426   # A "../" for each directory in $ac_dir_suffix.
   21427   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   21428 else
   21429   ac_dir_suffix= ac_top_builddir=
   21430 fi
   21431 
   21432 case $srcdir in
   21433   .)  # No --srcdir option.  We are building in place.
   21434     ac_srcdir=.
   21435     if test -z "$ac_top_builddir"; then
   21436        ac_top_srcdir=.
   21437     else
   21438        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   21439     fi ;;
   21440   [\\/]* | ?:[\\/]* )  # Absolute path.
   21441     ac_srcdir=$srcdir$ac_dir_suffix;
   21442     ac_top_srcdir=$srcdir ;;
   21443   *) # Relative path.
   21444     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   21445     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   21446 esac
   21447 
   21448 # Do not use `cd foo && pwd` to compute absolute paths, because
   21449 # the directories may not exist.
   21450 case `pwd` in
   21451 .) ac_abs_builddir="$ac_dir";;
   21452 *)
   21453   case "$ac_dir" in
   21454   .) ac_abs_builddir=`pwd`;;
   21455   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   21456   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   21457   esac;;
   21458 esac
   21459 case $ac_abs_builddir in
   21460 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   21461 *)
   21462   case ${ac_top_builddir}. in
   21463   .) ac_abs_top_builddir=$ac_abs_builddir;;
   21464   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   21465   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   21466   esac;;
   21467 esac
   21468 case $ac_abs_builddir in
   21469 .) ac_abs_srcdir=$ac_srcdir;;
   21470 *)
   21471   case $ac_srcdir in
   21472   .) ac_abs_srcdir=$ac_abs_builddir;;
   21473   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   21474   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   21475   esac;;
   21476 esac
   21477 case $ac_abs_builddir in
   21478 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   21479 *)
   21480   case $ac_top_srcdir in
   21481   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   21482   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   21483   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   21484   esac;;
   21485 esac
   21486 
   21487 
   21488   case $INSTALL in
   21489   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21490   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   21491   esac
   21492 
   21493   if test x"$ac_file" != x-; then
   21494     { echo "$as_me:$LINENO: creating $ac_file" >&5
   21495 echo "$as_me: creating $ac_file" >&6;}
   21496     rm -f "$ac_file"
   21497   fi
   21498   # Let's still pretend it is `configure' which instantiates (i.e., don't
   21499   # use $as_me), people would be surprised to read:
   21500   #    /* config.h.  Generated by config.status.  */
   21501   if test x"$ac_file" = x-; then
   21502     configure_input=
   21503   else
   21504     configure_input="$ac_file.  "
   21505   fi
   21506   configure_input=$configure_input"Generated from `echo $ac_file_in |
   21507 				     sed 's,.*/,,'` by configure."
   21508 
   21509   # First look for the input files in the build tree, otherwise in the
   21510   # src tree.
   21511   ac_file_inputs=`IFS=:
   21512     for f in $ac_file_in; do
   21513       case $f in
   21514       -) echo $tmp/stdin ;;
   21515       [\\/$]*)
   21516 	 # Absolute (can't be DOS-style, as IFS=:)
   21517 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   21518 echo "$as_me: error: cannot find input file: $f" >&2;}
   21519    { (exit 1); exit 1; }; }
   21520 	 echo "$f";;
   21521       *) # Relative
   21522 	 if test -f "$f"; then
   21523 	   # Build tree
   21524 	   echo "$f"
   21525 	 elif test -f "$srcdir/$f"; then
   21526 	   # Source tree
   21527 	   echo "$srcdir/$f"
   21528 	 else
   21529 	   # /dev/null tree
   21530 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   21531 echo "$as_me: error: cannot find input file: $f" >&2;}
   21532    { (exit 1); exit 1; }; }
   21533 	 fi;;
   21534       esac
   21535     done` || { (exit 1); exit 1; }
   21536 _ACEOF
   21537 cat >>$CONFIG_STATUS <<_ACEOF
   21538   sed "$ac_vpsub
   21539 $extrasub
   21540 _ACEOF
   21541 cat >>$CONFIG_STATUS <<\_ACEOF
   21542 :t
   21543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21544 s,@configure_input@,$configure_input,;t t
   21545 s,@srcdir@,$ac_srcdir,;t t
   21546 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   21547 s,@top_srcdir@,$ac_top_srcdir,;t t
   21548 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   21549 s,@builddir@,$ac_builddir,;t t
   21550 s,@abs_builddir@,$ac_abs_builddir,;t t
   21551 s,@top_builddir@,$ac_top_builddir,;t t
   21552 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   21553 s,@INSTALL@,$ac_INSTALL,;t t
   21554 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   21555   rm -f $tmp/stdin
   21556   if test x"$ac_file" != x-; then
   21557     mv $tmp/out $ac_file
   21558   else
   21559     cat $tmp/out
   21560     rm -f $tmp/out
   21561   fi
   21562 
   21563 done
   21564 _ACEOF
   21565 cat >>$CONFIG_STATUS <<\_ACEOF
   21566 
   21567 #
   21568 # CONFIG_HEADER section.
   21569 #
   21570 
   21571 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   21572 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   21573 #
   21574 # ac_d sets the value in "#define NAME VALUE" lines.
   21575 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   21576 ac_dB='[	 ].*$,\1#\2'
   21577 ac_dC=' '
   21578 ac_dD=',;t'
   21579 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   21580 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   21581 ac_uB='$,\1#\2define\3'
   21582 ac_uC=' '
   21583 ac_uD=',;t'
   21584 
   21585 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   21586   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   21587   case $ac_file in
   21588   - | *:- | *:-:* ) # input from stdin
   21589 	cat >$tmp/stdin
   21590 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   21591 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   21592   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   21593 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   21594   * )   ac_file_in=$ac_file.in ;;
   21595   esac
   21596 
   21597   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   21598 echo "$as_me: creating $ac_file" >&6;}
   21599 
   21600   # First look for the input files in the build tree, otherwise in the
   21601   # src tree.
   21602   ac_file_inputs=`IFS=:
   21603     for f in $ac_file_in; do
   21604       case $f in
   21605       -) echo $tmp/stdin ;;
   21606       [\\/$]*)
   21607 	 # Absolute (can't be DOS-style, as IFS=:)
   21608 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   21609 echo "$as_me: error: cannot find input file: $f" >&2;}
   21610    { (exit 1); exit 1; }; }
   21611 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   21612 	 echo "$f";;
   21613       *) # Relative
   21614 	 if test -f "$f"; then
   21615 	   # Build tree
   21616 	   echo "$f"
   21617 	 elif test -f "$srcdir/$f"; then
   21618 	   # Source tree
   21619 	   echo "$srcdir/$f"
   21620 	 else
   21621 	   # /dev/null tree
   21622 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   21623 echo "$as_me: error: cannot find input file: $f" >&2;}
   21624    { (exit 1); exit 1; }; }
   21625 	 fi;;
   21626       esac
   21627     done` || { (exit 1); exit 1; }
   21628   # Remove the trailing spaces.
   21629   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   21630 
   21631 _ACEOF
   21632 
   21633 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   21634 # `conftest.undefs', that substitutes the proper values into
   21635 # config.h.in to produce config.h.  The first handles `#define'
   21636 # templates, and the second `#undef' templates.
   21637 # And first: Protect against being on the right side of a sed subst in
   21638 # config.status.  Protect against being in an unquoted here document
   21639 # in config.status.
   21640 rm -f conftest.defines conftest.undefs
   21641 # Using a here document instead of a string reduces the quoting nightmare.
   21642 # Putting comments in sed scripts is not portable.
   21643 #
   21644 # `end' is used to avoid that the second main sed command (meant for
   21645 # 0-ary CPP macros) applies to n-ary macro definitions.
   21646 # See the Autoconf documentation for `clear'.
   21647 cat >confdef2sed.sed <<\_ACEOF
   21648 s/[\\&,]/\\&/g
   21649 s,[\\$`],\\&,g
   21650 t clear
   21651 : clear
   21652 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   21653 t end
   21654 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   21655 : end
   21656 _ACEOF
   21657 # If some macros were called several times there might be several times
   21658 # the same #defines, which is useless.  Nevertheless, we may not want to
   21659 # sort them, since we want the *last* AC-DEFINE to be honored.
   21660 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   21661 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   21662 rm -f confdef2sed.sed
   21663 
   21664 # This sed command replaces #undef with comments.  This is necessary, for
   21665 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21666 # on some systems where configure will not decide to define it.
   21667 cat >>conftest.undefs <<\_ACEOF
   21668 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   21669 _ACEOF
   21670 
   21671 # Break up conftest.defines because some shells have a limit on the size
   21672 # of here documents, and old seds have small limits too (100 cmds).
   21673 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   21674 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   21675 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   21676 echo '  :' >>$CONFIG_STATUS
   21677 rm -f conftest.tail
   21678 while grep . conftest.defines >/dev/null
   21679 do
   21680   # Write a limited-size here document to $tmp/defines.sed.
   21681   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   21682   # Speed up: don't consider the non `#define' lines.
   21683   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   21684   # Work around the forget-to-reset-the-flag bug.
   21685   echo 't clr' >>$CONFIG_STATUS
   21686   echo ': clr' >>$CONFIG_STATUS
   21687   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   21688   echo 'CEOF
   21689   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   21690   rm -f $tmp/in
   21691   mv $tmp/out $tmp/in
   21692 ' >>$CONFIG_STATUS
   21693   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   21694   rm -f conftest.defines
   21695   mv conftest.tail conftest.defines
   21696 done
   21697 rm -f conftest.defines
   21698 echo '  fi # grep' >>$CONFIG_STATUS
   21699 echo >>$CONFIG_STATUS
   21700 
   21701 # Break up conftest.undefs because some shells have a limit on the size
   21702 # of here documents, and old seds have small limits too (100 cmds).
   21703 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   21704 rm -f conftest.tail
   21705 while grep . conftest.undefs >/dev/null
   21706 do
   21707   # Write a limited-size here document to $tmp/undefs.sed.
   21708   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   21709   # Speed up: don't consider the non `#undef'
   21710   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   21711   # Work around the forget-to-reset-the-flag bug.
   21712   echo 't clr' >>$CONFIG_STATUS
   21713   echo ': clr' >>$CONFIG_STATUS
   21714   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   21715   echo 'CEOF
   21716   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   21717   rm -f $tmp/in
   21718   mv $tmp/out $tmp/in
   21719 ' >>$CONFIG_STATUS
   21720   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   21721   rm -f conftest.undefs
   21722   mv conftest.tail conftest.undefs
   21723 done
   21724 rm -f conftest.undefs
   21725 
   21726 cat >>$CONFIG_STATUS <<\_ACEOF
   21727   # Let's still pretend it is `configure' which instantiates (i.e., don't
   21728   # use $as_me), people would be surprised to read:
   21729   #    /* config.h.  Generated by config.status.  */
   21730   if test x"$ac_file" = x-; then
   21731     echo "/* Generated by configure.  */" >$tmp/config.h
   21732   else
   21733     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   21734   fi
   21735   cat $tmp/in >>$tmp/config.h
   21736   rm -f $tmp/in
   21737   if test x"$ac_file" != x-; then
   21738     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   21739       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21740 echo "$as_me: $ac_file is unchanged" >&6;}
   21741     else
   21742       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   21743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21744 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21745 	 X"$ac_file" : 'X\(//\)$' \| \
   21746 	 X"$ac_file" : 'X\(/\)' \| \
   21747 	 .     : '\(.\)' 2>/dev/null ||
   21748 echo X"$ac_file" |
   21749     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21750   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21751   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21752   	  /^X\(\/\).*/{ s//\1/; q; }
   21753   	  s/.*/./; q'`
   21754       { if $as_mkdir_p; then
   21755     mkdir -p "$ac_dir"
   21756   else
   21757     as_dir="$ac_dir"
   21758     as_dirs=
   21759     while test ! -d "$as_dir"; do
   21760       as_dirs="$as_dir $as_dirs"
   21761       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   21762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21763 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21764 	 X"$as_dir" : 'X\(//\)$' \| \
   21765 	 X"$as_dir" : 'X\(/\)' \| \
   21766 	 .     : '\(.\)' 2>/dev/null ||
   21767 echo X"$as_dir" |
   21768     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21769   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21770   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21771   	  /^X\(\/\).*/{ s//\1/; q; }
   21772   	  s/.*/./; q'`
   21773     done
   21774     test ! -n "$as_dirs" || mkdir $as_dirs
   21775   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   21776 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   21777    { (exit 1); exit 1; }; }; }
   21778 
   21779       rm -f $ac_file
   21780       mv $tmp/config.h $ac_file
   21781     fi
   21782   else
   21783     cat $tmp/config.h
   21784     rm -f $tmp/config.h
   21785   fi
   21786 # Compute $ac_file's index in $config_headers.
   21787 _am_stamp_count=1
   21788 for _am_header in $config_headers :; do
   21789   case $_am_header in
   21790     $ac_file | $ac_file:* )
   21791       break ;;
   21792     * )
   21793       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21794   esac
   21795 done
   21796 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   21797 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21798 	 X$ac_file : 'X\(//\)[^/]' \| \
   21799 	 X$ac_file : 'X\(//\)$' \| \
   21800 	 X$ac_file : 'X\(/\)' \| \
   21801 	 .     : '\(.\)' 2>/dev/null ||
   21802 echo X$ac_file |
   21803     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21804   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21805   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21806   	  /^X\(\/\).*/{ s//\1/; q; }
   21807   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21808 done
   21809 _ACEOF
   21810 cat >>$CONFIG_STATUS <<\_ACEOF
   21811 
   21812 #
   21813 # CONFIG_COMMANDS section.
   21814 #
   21815 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   21816   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   21817   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   21818   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   21819 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21820 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   21821 	 X"$ac_dest" : 'X\(//\)$' \| \
   21822 	 X"$ac_dest" : 'X\(/\)' \| \
   21823 	 .     : '\(.\)' 2>/dev/null ||
   21824 echo X"$ac_dest" |
   21825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21826   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21827   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21828   	  /^X\(\/\).*/{ s//\1/; q; }
   21829   	  s/.*/./; q'`
   21830   { if $as_mkdir_p; then
   21831     mkdir -p "$ac_dir"
   21832   else
   21833     as_dir="$ac_dir"
   21834     as_dirs=
   21835     while test ! -d "$as_dir"; do
   21836       as_dirs="$as_dir $as_dirs"
   21837       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   21838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21839 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21840 	 X"$as_dir" : 'X\(//\)$' \| \
   21841 	 X"$as_dir" : 'X\(/\)' \| \
   21842 	 .     : '\(.\)' 2>/dev/null ||
   21843 echo X"$as_dir" |
   21844     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21845   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21846   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21847   	  /^X\(\/\).*/{ s//\1/; q; }
   21848   	  s/.*/./; q'`
   21849     done
   21850     test ! -n "$as_dirs" || mkdir $as_dirs
   21851   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   21852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   21853    { (exit 1); exit 1; }; }; }
   21854 
   21855   ac_builddir=.
   21856 
   21857 if test "$ac_dir" != .; then
   21858   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21859   # A "../" for each directory in $ac_dir_suffix.
   21860   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   21861 else
   21862   ac_dir_suffix= ac_top_builddir=
   21863 fi
   21864 
   21865 case $srcdir in
   21866   .)  # No --srcdir option.  We are building in place.
   21867     ac_srcdir=.
   21868     if test -z "$ac_top_builddir"; then
   21869        ac_top_srcdir=.
   21870     else
   21871        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   21872     fi ;;
   21873   [\\/]* | ?:[\\/]* )  # Absolute path.
   21874     ac_srcdir=$srcdir$ac_dir_suffix;
   21875     ac_top_srcdir=$srcdir ;;
   21876   *) # Relative path.
   21877     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   21878     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   21879 esac
   21880 
   21881 # Do not use `cd foo && pwd` to compute absolute paths, because
   21882 # the directories may not exist.
   21883 case `pwd` in
   21884 .) ac_abs_builddir="$ac_dir";;
   21885 *)
   21886   case "$ac_dir" in
   21887   .) ac_abs_builddir=`pwd`;;
   21888   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   21889   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   21890   esac;;
   21891 esac
   21892 case $ac_abs_builddir in
   21893 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   21894 *)
   21895   case ${ac_top_builddir}. in
   21896   .) ac_abs_top_builddir=$ac_abs_builddir;;
   21897   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   21898   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   21899   esac;;
   21900 esac
   21901 case $ac_abs_builddir in
   21902 .) ac_abs_srcdir=$ac_srcdir;;
   21903 *)
   21904   case $ac_srcdir in
   21905   .) ac_abs_srcdir=$ac_abs_builddir;;
   21906   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   21907   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   21908   esac;;
   21909 esac
   21910 case $ac_abs_builddir in
   21911 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   21912 *)
   21913   case $ac_top_srcdir in
   21914   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   21915   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   21916   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   21917   esac;;
   21918 esac
   21919 
   21920 
   21921   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   21922 echo "$as_me: executing $ac_dest commands" >&6;}
   21923   case $ac_dest in
   21924     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21925   # Strip MF so we end up with the name of the file.
   21926   mf=`echo "$mf" | sed -e 's/:.*$//'`
   21927   # Check whether this is an Automake generated Makefile or not.
   21928   # We used to match only the files named `Makefile.in', but
   21929   # some people rename them; so instead we look at the file content.
   21930   # Grep'ing the first line is not enough: some people post-process
   21931   # each Makefile.in and add a new line on top of each file to say so.
   21932   # So let's grep whole file.
   21933   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   21934     dirpart=`(dirname "$mf") 2>/dev/null ||
   21935 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21936 	 X"$mf" : 'X\(//\)[^/]' \| \
   21937 	 X"$mf" : 'X\(//\)$' \| \
   21938 	 X"$mf" : 'X\(/\)' \| \
   21939 	 .     : '\(.\)' 2>/dev/null ||
   21940 echo X"$mf" |
   21941     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21942   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21943   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21944   	  /^X\(\/\).*/{ s//\1/; q; }
   21945   	  s/.*/./; q'`
   21946   else
   21947     continue
   21948   fi
   21949   # Extract the definition of DEPDIR, am__include, and am__quote
   21950   # from the Makefile without running `make'.
   21951   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21952   test -z "$DEPDIR" && continue
   21953   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21954   test -z "am__include" && continue
   21955   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21956   # When using ansi2knr, U may be empty or an underscore; expand it
   21957   U=`sed -n 's/^U = //p' < "$mf"`
   21958   # Find all dependency output files, they are included files with
   21959   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21960   # simplest approach to changing $(DEPDIR) to its actual value in the
   21961   # expansion.
   21962   for file in `sed -n "
   21963     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21964        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   21965     # Make sure the directory exists.
   21966     test -f "$dirpart/$file" && continue
   21967     fdir=`(dirname "$file") 2>/dev/null ||
   21968 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21969 	 X"$file" : 'X\(//\)[^/]' \| \
   21970 	 X"$file" : 'X\(//\)$' \| \
   21971 	 X"$file" : 'X\(/\)' \| \
   21972 	 .     : '\(.\)' 2>/dev/null ||
   21973 echo X"$file" |
   21974     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21975   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21976   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21977   	  /^X\(\/\).*/{ s//\1/; q; }
   21978   	  s/.*/./; q'`
   21979     { if $as_mkdir_p; then
   21980     mkdir -p $dirpart/$fdir
   21981   else
   21982     as_dir=$dirpart/$fdir
   21983     as_dirs=
   21984     while test ! -d "$as_dir"; do
   21985       as_dirs="$as_dir $as_dirs"
   21986       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   21987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21988 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21989 	 X"$as_dir" : 'X\(//\)$' \| \
   21990 	 X"$as_dir" : 'X\(/\)' \| \
   21991 	 .     : '\(.\)' 2>/dev/null ||
   21992 echo X"$as_dir" |
   21993     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   21994   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   21995   	  /^X\(\/\/\)$/{ s//\1/; q; }
   21996   	  /^X\(\/\).*/{ s//\1/; q; }
   21997   	  s/.*/./; q'`
   21998     done
   21999     test ! -n "$as_dirs" || mkdir $as_dirs
   22000   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   22001 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   22002    { (exit 1); exit 1; }; }; }
   22003 
   22004     # echo "creating $dirpart/$file"
   22005     echo '# dummy' > "$dirpart/$file"
   22006   done
   22007 done
   22008  ;;
   22009   esac
   22010 done
   22011 _ACEOF
   22012 
   22013 cat >>$CONFIG_STATUS <<\_ACEOF
   22014 
   22015 { (exit 0); exit 0; }
   22016 _ACEOF
   22017 chmod +x $CONFIG_STATUS
   22018 ac_clean_files=$ac_clean_files_save
   22019 
   22020 
   22021 # configure is writing to config.log, and then calls config.status.
   22022 # config.status does its own redirection, appending to config.log.
   22023 # Unfortunately, on DOS this fails, as config.log is still kept open
   22024 # by configure, so config.status won't be able to write to it; its
   22025 # output is simply discarded.  So we exec the FD to /dev/null,
   22026 # effectively closing config.log, so it can be properly (re)opened and
   22027 # appended to by config.status.  When coming back to configure, we
   22028 # need to make the FD available again.
   22029 if test "$no_create" != yes; then
   22030   ac_cs_success=:
   22031   ac_config_status_args=
   22032   test "$silent" = yes &&
   22033     ac_config_status_args="$ac_config_status_args --quiet"
   22034   exec 5>/dev/null
   22035   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22036   exec 5>>config.log
   22037   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22038   # would make configure fail if this is the last instruction.
   22039   $ac_cs_success || { (exit 1); exit 1; }
   22040 fi
   22041 
   22042