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 libXxf86vm 1.0.1.
      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='libXxf86vm'
    425 PACKAGE_TARNAME='libXxf86vm'
    426 PACKAGE_VERSION='1.0.1'
    427 PACKAGE_STRING='libXxf86vm 1.0.1'
    428 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    429 
    430 # Factoring default headers for most tests.
    431 ac_includes_default="\
    432 #include <stdio.h>
    433 #if HAVE_SYS_TYPES_H
    434 # include <sys/types.h>
    435 #endif
    436 #if HAVE_SYS_STAT_H
    437 # include <sys/stat.h>
    438 #endif
    439 #if STDC_HEADERS
    440 # include <stdlib.h>
    441 # include <stddef.h>
    442 #else
    443 # if HAVE_STDLIB_H
    444 #  include <stdlib.h>
    445 # endif
    446 #endif
    447 #if HAVE_STRING_H
    448 # if !STDC_HEADERS && HAVE_MEMORY_H
    449 #  include <memory.h>
    450 # endif
    451 # include <string.h>
    452 #endif
    453 #if HAVE_STRINGS_H
    454 # include <strings.h>
    455 #endif
    456 #if HAVE_INTTYPES_H
    457 # include <inttypes.h>
    458 #else
    459 # if HAVE_STDINT_H
    460 #  include <stdint.h>
    461 # endif
    462 #endif
    463 #if HAVE_UNISTD_H
    464 # include <unistd.h>
    465 #endif"
    466 
    467 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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 PKG_CONFIG ac_pt_PKG_CONFIG XXF86VM_CFLAGS XXF86VM_LIBS MALLOC_ZERO_CFLAGS XMALLOC_ZERO_CFLAGS XTMALLOC_ZERO_CFLAGS 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'
    468 ac_subst_files=''
    469 
    470 # Initialize some variables set by options.
    471 ac_init_help=
    472 ac_init_version=false
    473 # The variables have the same names as the options, with
    474 # dashes changed to underlines.
    475 cache_file=/dev/null
    476 exec_prefix=NONE
    477 no_create=
    478 no_recursion=
    479 prefix=NONE
    480 program_prefix=NONE
    481 program_suffix=NONE
    482 program_transform_name=s,x,x,
    483 silent=
    484 site=
    485 srcdir=
    486 verbose=
    487 x_includes=NONE
    488 x_libraries=NONE
    489 
    490 # Installation directory options.
    491 # These are left unexpanded so users can "make install exec_prefix=/foo"
    492 # and all the variables that are supposed to be based on exec_prefix
    493 # by default will actually change.
    494 # Use braces instead of parens because sh, perl, etc. also accept them.
    495 bindir='${exec_prefix}/bin'
    496 sbindir='${exec_prefix}/sbin'
    497 libexecdir='${exec_prefix}/libexec'
    498 datadir='${prefix}/share'
    499 sysconfdir='${prefix}/etc'
    500 sharedstatedir='${prefix}/com'
    501 localstatedir='${prefix}/var'
    502 libdir='${exec_prefix}/lib'
    503 includedir='${prefix}/include'
    504 oldincludedir='/usr/include'
    505 infodir='${prefix}/info'
    506 mandir='${prefix}/man'
    507 
    508 ac_prev=
    509 for ac_option
    510 do
    511   # If the previous option needs an argument, assign it.
    512   if test -n "$ac_prev"; then
    513     eval "$ac_prev=\$ac_option"
    514     ac_prev=
    515     continue
    516   fi
    517 
    518   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    519 
    520   # Accept the important Cygnus configure options, so we can diagnose typos.
    521 
    522   case $ac_option in
    523 
    524   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    525     ac_prev=bindir ;;
    526   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    527     bindir=$ac_optarg ;;
    528 
    529   -build | --build | --buil | --bui | --bu)
    530     ac_prev=build_alias ;;
    531   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    532     build_alias=$ac_optarg ;;
    533 
    534   -cache-file | --cache-file | --cache-fil | --cache-fi \
    535   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    536     ac_prev=cache_file ;;
    537   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    538   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    539     cache_file=$ac_optarg ;;
    540 
    541   --config-cache | -C)
    542     cache_file=config.cache ;;
    543 
    544   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    545     ac_prev=datadir ;;
    546   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    547   | --da=*)
    548     datadir=$ac_optarg ;;
    549 
    550   -disable-* | --disable-*)
    551     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    552     # Reject names that are not valid shell variable names.
    553     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    554       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    555    { (exit 1); exit 1; }; }
    556     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    557     eval "enable_$ac_feature=no" ;;
    558 
    559   -enable-* | --enable-*)
    560     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    561     # Reject names that are not valid shell variable names.
    562     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    563       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    564    { (exit 1); exit 1; }; }
    565     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    566     case $ac_option in
    567       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    568       *) ac_optarg=yes ;;
    569     esac
    570     eval "enable_$ac_feature='$ac_optarg'" ;;
    571 
    572   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    573   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    574   | --exec | --exe | --ex)
    575     ac_prev=exec_prefix ;;
    576   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    577   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    578   | --exec=* | --exe=* | --ex=*)
    579     exec_prefix=$ac_optarg ;;
    580 
    581   -gas | --gas | --ga | --g)
    582     # Obsolete; use --with-gas.
    583     with_gas=yes ;;
    584 
    585   -help | --help | --hel | --he | -h)
    586     ac_init_help=long ;;
    587   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    588     ac_init_help=recursive ;;
    589   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    590     ac_init_help=short ;;
    591 
    592   -host | --host | --hos | --ho)
    593     ac_prev=host_alias ;;
    594   -host=* | --host=* | --hos=* | --ho=*)
    595     host_alias=$ac_optarg ;;
    596 
    597   -includedir | --includedir | --includedi | --included | --include \
    598   | --includ | --inclu | --incl | --inc)
    599     ac_prev=includedir ;;
    600   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    601   | --includ=* | --inclu=* | --incl=* | --inc=*)
    602     includedir=$ac_optarg ;;
    603 
    604   -infodir | --infodir | --infodi | --infod | --info | --inf)
    605     ac_prev=infodir ;;
    606   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    607     infodir=$ac_optarg ;;
    608 
    609   -libdir | --libdir | --libdi | --libd)
    610     ac_prev=libdir ;;
    611   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    612     libdir=$ac_optarg ;;
    613 
    614   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    615   | --libexe | --libex | --libe)
    616     ac_prev=libexecdir ;;
    617   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    618   | --libexe=* | --libex=* | --libe=*)
    619     libexecdir=$ac_optarg ;;
    620 
    621   -localstatedir | --localstatedir | --localstatedi | --localstated \
    622   | --localstate | --localstat | --localsta | --localst \
    623   | --locals | --local | --loca | --loc | --lo)
    624     ac_prev=localstatedir ;;
    625   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    626   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    627   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    628     localstatedir=$ac_optarg ;;
    629 
    630   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    631     ac_prev=mandir ;;
    632   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    633     mandir=$ac_optarg ;;
    634 
    635   -nfp | --nfp | --nf)
    636     # Obsolete; use --without-fp.
    637     with_fp=no ;;
    638 
    639   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    640   | --no-cr | --no-c | -n)
    641     no_create=yes ;;
    642 
    643   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    644   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    645     no_recursion=yes ;;
    646 
    647   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    648   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    649   | --oldin | --oldi | --old | --ol | --o)
    650     ac_prev=oldincludedir ;;
    651   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    652   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    653   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    654     oldincludedir=$ac_optarg ;;
    655 
    656   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    657     ac_prev=prefix ;;
    658   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    659     prefix=$ac_optarg ;;
    660 
    661   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    662   | --program-pre | --program-pr | --program-p)
    663     ac_prev=program_prefix ;;
    664   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    665   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    666     program_prefix=$ac_optarg ;;
    667 
    668   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    669   | --program-suf | --program-su | --program-s)
    670     ac_prev=program_suffix ;;
    671   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    672   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    673     program_suffix=$ac_optarg ;;
    674 
    675   -program-transform-name | --program-transform-name \
    676   | --program-transform-nam | --program-transform-na \
    677   | --program-transform-n | --program-transform- \
    678   | --program-transform | --program-transfor \
    679   | --program-transfo | --program-transf \
    680   | --program-trans | --program-tran \
    681   | --progr-tra | --program-tr | --program-t)
    682     ac_prev=program_transform_name ;;
    683   -program-transform-name=* | --program-transform-name=* \
    684   | --program-transform-nam=* | --program-transform-na=* \
    685   | --program-transform-n=* | --program-transform-=* \
    686   | --program-transform=* | --program-transfor=* \
    687   | --program-transfo=* | --program-transf=* \
    688   | --program-trans=* | --program-tran=* \
    689   | --progr-tra=* | --program-tr=* | --program-t=*)
    690     program_transform_name=$ac_optarg ;;
    691 
    692   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    693   | -silent | --silent | --silen | --sile | --sil)
    694     silent=yes ;;
    695 
    696   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    697     ac_prev=sbindir ;;
    698   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    699   | --sbi=* | --sb=*)
    700     sbindir=$ac_optarg ;;
    701 
    702   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    703   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    704   | --sharedst | --shareds | --shared | --share | --shar \
    705   | --sha | --sh)
    706     ac_prev=sharedstatedir ;;
    707   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    708   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    709   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    710   | --sha=* | --sh=*)
    711     sharedstatedir=$ac_optarg ;;
    712 
    713   -site | --site | --sit)
    714     ac_prev=site ;;
    715   -site=* | --site=* | --sit=*)
    716     site=$ac_optarg ;;
    717 
    718   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    719     ac_prev=srcdir ;;
    720   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    721     srcdir=$ac_optarg ;;
    722 
    723   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    724   | --syscon | --sysco | --sysc | --sys | --sy)
    725     ac_prev=sysconfdir ;;
    726   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    727   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    728     sysconfdir=$ac_optarg ;;
    729 
    730   -target | --target | --targe | --targ | --tar | --ta | --t)
    731     ac_prev=target_alias ;;
    732   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    733     target_alias=$ac_optarg ;;
    734 
    735   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    736     verbose=yes ;;
    737 
    738   -version | --version | --versio | --versi | --vers | -V)
    739     ac_init_version=: ;;
    740 
    741   -with-* | --with-*)
    742     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    743     # Reject names that are not valid shell variable names.
    744     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    745       { echo "$as_me: error: invalid package name: $ac_package" >&2
    746    { (exit 1); exit 1; }; }
    747     ac_package=`echo $ac_package| sed 's/-/_/g'`
    748     case $ac_option in
    749       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    750       *) ac_optarg=yes ;;
    751     esac
    752     eval "with_$ac_package='$ac_optarg'" ;;
    753 
    754   -without-* | --without-*)
    755     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    756     # Reject names that are not valid shell variable names.
    757     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    758       { echo "$as_me: error: invalid package name: $ac_package" >&2
    759    { (exit 1); exit 1; }; }
    760     ac_package=`echo $ac_package | sed 's/-/_/g'`
    761     eval "with_$ac_package=no" ;;
    762 
    763   --x)
    764     # Obsolete; use --with-x.
    765     with_x=yes ;;
    766 
    767   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    768   | --x-incl | --x-inc | --x-in | --x-i)
    769     ac_prev=x_includes ;;
    770   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    771   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    772     x_includes=$ac_optarg ;;
    773 
    774   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    775   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    776     ac_prev=x_libraries ;;
    777   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    778   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    779     x_libraries=$ac_optarg ;;
    780 
    781   -*) { echo "$as_me: error: unrecognized option: $ac_option
    782 Try \`$0 --help' for more information." >&2
    783    { (exit 1); exit 1; }; }
    784     ;;
    785 
    786   *=*)
    787     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    788     # Reject names that are not valid shell variable names.
    789     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    790       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    791    { (exit 1); exit 1; }; }
    792     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    793     eval "$ac_envvar='$ac_optarg'"
    794     export $ac_envvar ;;
    795 
    796   *)
    797     # FIXME: should be removed in autoconf 3.0.
    798     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    799     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    800       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    801     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    802     ;;
    803 
    804   esac
    805 done
    806 
    807 if test -n "$ac_prev"; then
    808   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    809   { echo "$as_me: error: missing argument to $ac_option" >&2
    810    { (exit 1); exit 1; }; }
    811 fi
    812 
    813 # Be sure to have absolute paths.
    814 for ac_var in exec_prefix prefix
    815 do
    816   eval ac_val=$`echo $ac_var`
    817   case $ac_val in
    818     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    819     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    820    { (exit 1); exit 1; }; };;
    821   esac
    822 done
    823 
    824 # Be sure to have absolute paths.
    825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    826 	      localstatedir libdir includedir oldincludedir infodir mandir
    827 do
    828   eval ac_val=$`echo $ac_var`
    829   case $ac_val in
    830     [\\/$]* | ?:[\\/]* ) ;;
    831     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    832    { (exit 1); exit 1; }; };;
    833   esac
    834 done
    835 
    836 # There might be people who depend on the old broken behavior: `$host'
    837 # used to hold the argument of --host etc.
    838 # FIXME: To remove some day.
    839 build=$build_alias
    840 host=$host_alias
    841 target=$target_alias
    842 
    843 # FIXME: To remove some day.
    844 if test "x$host_alias" != x; then
    845   if test "x$build_alias" = x; then
    846     cross_compiling=maybe
    847     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    848     If a cross compiler is detected then cross compile mode will be used." >&2
    849   elif test "x$build_alias" != "x$host_alias"; then
    850     cross_compiling=yes
    851   fi
    852 fi
    853 
    854 ac_tool_prefix=
    855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    856 
    857 test "$silent" = yes && exec 6>/dev/null
    858 
    859 
    860 # Find the source files, if location was not specified.
    861 if test -z "$srcdir"; then
    862   ac_srcdir_defaulted=yes
    863   # Try the directory containing this script, then its parent.
    864   ac_confdir=`(dirname "$0") 2>/dev/null ||
    865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    866 	 X"$0" : 'X\(//\)[^/]' \| \
    867 	 X"$0" : 'X\(//\)$' \| \
    868 	 X"$0" : 'X\(/\)' \| \
    869 	 .     : '\(.\)' 2>/dev/null ||
    870 echo X"$0" |
    871     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    872   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    873   	  /^X\(\/\/\)$/{ s//\1/; q; }
    874   	  /^X\(\/\).*/{ s//\1/; q; }
    875   	  s/.*/./; q'`
    876   srcdir=$ac_confdir
    877   if test ! -r $srcdir/$ac_unique_file; then
    878     srcdir=..
    879   fi
    880 else
    881   ac_srcdir_defaulted=no
    882 fi
    883 if test ! -r $srcdir/$ac_unique_file; then
    884   if test "$ac_srcdir_defaulted" = yes; then
    885     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    886    { (exit 1); exit 1; }; }
    887   else
    888     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    889    { (exit 1); exit 1; }; }
    890   fi
    891 fi
    892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    893   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    894    { (exit 1); exit 1; }; }
    895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    896 ac_env_build_alias_set=${build_alias+set}
    897 ac_env_build_alias_value=$build_alias
    898 ac_cv_env_build_alias_set=${build_alias+set}
    899 ac_cv_env_build_alias_value=$build_alias
    900 ac_env_host_alias_set=${host_alias+set}
    901 ac_env_host_alias_value=$host_alias
    902 ac_cv_env_host_alias_set=${host_alias+set}
    903 ac_cv_env_host_alias_value=$host_alias
    904 ac_env_target_alias_set=${target_alias+set}
    905 ac_env_target_alias_value=$target_alias
    906 ac_cv_env_target_alias_set=${target_alias+set}
    907 ac_cv_env_target_alias_value=$target_alias
    908 ac_env_CC_set=${CC+set}
    909 ac_env_CC_value=$CC
    910 ac_cv_env_CC_set=${CC+set}
    911 ac_cv_env_CC_value=$CC
    912 ac_env_CFLAGS_set=${CFLAGS+set}
    913 ac_env_CFLAGS_value=$CFLAGS
    914 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    915 ac_cv_env_CFLAGS_value=$CFLAGS
    916 ac_env_LDFLAGS_set=${LDFLAGS+set}
    917 ac_env_LDFLAGS_value=$LDFLAGS
    918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    919 ac_cv_env_LDFLAGS_value=$LDFLAGS
    920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    921 ac_env_CPPFLAGS_value=$CPPFLAGS
    922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    924 ac_env_CPP_set=${CPP+set}
    925 ac_env_CPP_value=$CPP
    926 ac_cv_env_CPP_set=${CPP+set}
    927 ac_cv_env_CPP_value=$CPP
    928 ac_env_CXX_set=${CXX+set}
    929 ac_env_CXX_value=$CXX
    930 ac_cv_env_CXX_set=${CXX+set}
    931 ac_cv_env_CXX_value=$CXX
    932 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    933 ac_env_CXXFLAGS_value=$CXXFLAGS
    934 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    935 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    936 ac_env_CXXCPP_set=${CXXCPP+set}
    937 ac_env_CXXCPP_value=$CXXCPP
    938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    939 ac_cv_env_CXXCPP_value=$CXXCPP
    940 ac_env_F77_set=${F77+set}
    941 ac_env_F77_value=$F77
    942 ac_cv_env_F77_set=${F77+set}
    943 ac_cv_env_F77_value=$F77
    944 ac_env_FFLAGS_set=${FFLAGS+set}
    945 ac_env_FFLAGS_value=$FFLAGS
    946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    947 ac_cv_env_FFLAGS_value=$FFLAGS
    948 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    949 ac_env_PKG_CONFIG_value=$PKG_CONFIG
    950 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    951 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    952 ac_env_XXF86VM_CFLAGS_set=${XXF86VM_CFLAGS+set}
    953 ac_env_XXF86VM_CFLAGS_value=$XXF86VM_CFLAGS
    954 ac_cv_env_XXF86VM_CFLAGS_set=${XXF86VM_CFLAGS+set}
    955 ac_cv_env_XXF86VM_CFLAGS_value=$XXF86VM_CFLAGS
    956 ac_env_XXF86VM_LIBS_set=${XXF86VM_LIBS+set}
    957 ac_env_XXF86VM_LIBS_value=$XXF86VM_LIBS
    958 ac_cv_env_XXF86VM_LIBS_set=${XXF86VM_LIBS+set}
    959 ac_cv_env_XXF86VM_LIBS_value=$XXF86VM_LIBS
    960 
    961 #
    962 # Report the --help message.
    963 #
    964 if test "$ac_init_help" = "long"; then
    965   # Omit some internal or obsolete options to make the list less imposing.
    966   # This message is too long to be a string in the A/UX 3.1 sh.
    967   cat <<_ACEOF
    968 \`configure' configures libXxf86vm 1.0.1 to adapt to many kinds of systems.
    969 
    970 Usage: $0 [OPTION]... [VAR=VALUE]...
    971 
    972 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    973 VAR=VALUE.  See below for descriptions of some of the useful variables.
    974 
    975 Defaults for the options are specified in brackets.
    976 
    977 Configuration:
    978   -h, --help              display this help and exit
    979       --help=short        display options specific to this package
    980       --help=recursive    display the short help of all the included packages
    981   -V, --version           display version information and exit
    982   -q, --quiet, --silent   do not print \`checking...' messages
    983       --cache-file=FILE   cache test results in FILE [disabled]
    984   -C, --config-cache      alias for \`--cache-file=config.cache'
    985   -n, --no-create         do not create output files
    986       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    987 
    988 _ACEOF
    989 
    990   cat <<_ACEOF
    991 Installation directories:
    992   --prefix=PREFIX         install architecture-independent files in PREFIX
    993 			  [$ac_default_prefix]
    994   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    995 			  [PREFIX]
    996 
    997 By default, \`make install' will install all the files in
    998 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    999 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1000 for instance \`--prefix=\$HOME'.
   1001 
   1002 For better control, use the options below.
   1003 
   1004 Fine tuning of the installation directories:
   1005   --bindir=DIR           user executables [EPREFIX/bin]
   1006   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1007   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1008   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
   1009   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1010   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1011   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1012   --libdir=DIR           object code libraries [EPREFIX/lib]
   1013   --includedir=DIR       C header files [PREFIX/include]
   1014   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1015   --infodir=DIR          info documentation [PREFIX/info]
   1016   --mandir=DIR           man documentation [PREFIX/man]
   1017 _ACEOF
   1018 
   1019   cat <<\_ACEOF
   1020 
   1021 Program names:
   1022   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1023   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1024   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1025 
   1026 System types:
   1027   --build=BUILD     configure for building on BUILD [guessed]
   1028   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1029 _ACEOF
   1030 fi
   1031 
   1032 if test -n "$ac_init_help"; then
   1033   case $ac_init_help in
   1034      short | recursive ) echo "Configuration of libXxf86vm 1.0.1:";;
   1035    esac
   1036   cat <<\_ACEOF
   1037 
   1038 Optional Features:
   1039   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1040   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1041   --enable-maintainer-mode  enable make rules and dependencies not useful
   1042 			  (and sometimes confusing) to the casual installer
   1043   --disable-dependency-tracking  speeds up one-time build
   1044   --enable-dependency-tracking   do not reject slow dependency extractors
   1045   --enable-shared[=PKGS]
   1046                           build shared libraries [default=yes]
   1047   --enable-static[=PKGS]
   1048                           build static libraries [default=yes]
   1049   --enable-fast-install[=PKGS]
   1050                           optimize for fast installation [default=yes]
   1051   --disable-libtool-lock  avoid locking (might break parallel builds)
   1052   --enable-malloc0returnsnull
   1053                           malloc(0) returns NULL (default: auto)
   1054 
   1055 Optional Packages:
   1056   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1057   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1058   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1059   --with-pic              try to use only PIC/non-PIC objects [default=use
   1060                           both]
   1061   --with-tags[=TAGS]
   1062                           include additional configurations [automatic]
   1063   --with-release-version=STRING
   1064                           Use release version string in package name
   1065 
   1066 Some influential environment variables:
   1067   CC          C compiler command
   1068   CFLAGS      C compiler flags
   1069   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1070               nonstandard directory <lib dir>
   1071   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   1072               headers in a nonstandard directory <include dir>
   1073   CPP         C preprocessor
   1074   CXX         C++ compiler command
   1075   CXXFLAGS    C++ compiler flags
   1076   CXXCPP      C++ preprocessor
   1077   F77         Fortran 77 compiler command
   1078   FFLAGS      Fortran 77 compiler flags
   1079   PKG_CONFIG  path to pkg-config utility
   1080   XXF86VM_CFLAGS
   1081               C compiler flags for XXF86VM, overriding pkg-config
   1082   XXF86VM_LIBS
   1083               linker flags for XXF86VM, overriding pkg-config
   1084 
   1085 Use these variables to override the choices made by `configure' or to help
   1086 it to find libraries and programs with nonstandard names/locations.
   1087 
   1088 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1089 _ACEOF
   1090 fi
   1091 
   1092 if test "$ac_init_help" = "recursive"; then
   1093   # If there are subdirs, report their specific --help.
   1094   ac_popdir=`pwd`
   1095   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1096     test -d $ac_dir || continue
   1097     ac_builddir=.
   1098 
   1099 if test "$ac_dir" != .; then
   1100   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1101   # A "../" for each directory in $ac_dir_suffix.
   1102   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   1103 else
   1104   ac_dir_suffix= ac_top_builddir=
   1105 fi
   1106 
   1107 case $srcdir in
   1108   .)  # No --srcdir option.  We are building in place.
   1109     ac_srcdir=.
   1110     if test -z "$ac_top_builddir"; then
   1111        ac_top_srcdir=.
   1112     else
   1113        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   1114     fi ;;
   1115   [\\/]* | ?:[\\/]* )  # Absolute path.
   1116     ac_srcdir=$srcdir$ac_dir_suffix;
   1117     ac_top_srcdir=$srcdir ;;
   1118   *) # Relative path.
   1119     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   1120     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   1121 esac
   1122 
   1123 # Do not use `cd foo && pwd` to compute absolute paths, because
   1124 # the directories may not exist.
   1125 case `pwd` in
   1126 .) ac_abs_builddir="$ac_dir";;
   1127 *)
   1128   case "$ac_dir" in
   1129   .) ac_abs_builddir=`pwd`;;
   1130   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   1131   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   1132   esac;;
   1133 esac
   1134 case $ac_abs_builddir in
   1135 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   1136 *)
   1137   case ${ac_top_builddir}. in
   1138   .) ac_abs_top_builddir=$ac_abs_builddir;;
   1139   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   1140   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   1141   esac;;
   1142 esac
   1143 case $ac_abs_builddir in
   1144 .) ac_abs_srcdir=$ac_srcdir;;
   1145 *)
   1146   case $ac_srcdir in
   1147   .) ac_abs_srcdir=$ac_abs_builddir;;
   1148   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   1149   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   1150   esac;;
   1151 esac
   1152 case $ac_abs_builddir in
   1153 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   1154 *)
   1155   case $ac_top_srcdir in
   1156   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   1157   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   1158   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   1159   esac;;
   1160 esac
   1161 
   1162     cd $ac_dir
   1163     # Check for guested configure; otherwise get Cygnus style configure.
   1164     if test -f $ac_srcdir/configure.gnu; then
   1165       echo
   1166       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   1167     elif test -f $ac_srcdir/configure; then
   1168       echo
   1169       $SHELL $ac_srcdir/configure  --help=recursive
   1170     elif test -f $ac_srcdir/configure.ac ||
   1171 	   test -f $ac_srcdir/configure.in; then
   1172       echo
   1173       $ac_configure --help
   1174     else
   1175       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1176     fi
   1177     cd $ac_popdir
   1178   done
   1179 fi
   1180 
   1181 test -n "$ac_init_help" && exit 0
   1182 if $ac_init_version; then
   1183   cat <<\_ACEOF
   1184 libXxf86vm configure 1.0.1
   1185 generated by GNU Autoconf 2.59
   1186 
   1187 Copyright (C) 2003 Free Software Foundation, Inc.
   1188 This configure script is free software; the Free Software Foundation
   1189 gives unlimited permission to copy, distribute and modify it.
   1190 _ACEOF
   1191   exit 0
   1192 fi
   1193 exec 5>config.log
   1194 cat >&5 <<_ACEOF
   1195 This file contains any messages produced by compilers while
   1196 running configure, to aid debugging if configure makes a mistake.
   1197 
   1198 It was created by libXxf86vm $as_me 1.0.1, which was
   1199 generated by GNU Autoconf 2.59.  Invocation command line was
   1200 
   1201   $ $0 $@
   1202 
   1203 _ACEOF
   1204 {
   1205 cat <<_ASUNAME
   1206 ## --------- ##
   1207 ## Platform. ##
   1208 ## --------- ##
   1209 
   1210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1215 
   1216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1217 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1218 
   1219 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1220 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1222 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1223 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1224 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1225 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1226 
   1227 _ASUNAME
   1228 
   1229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1230 for as_dir in $PATH
   1231 do
   1232   IFS=$as_save_IFS
   1233   test -z "$as_dir" && as_dir=.
   1234   echo "PATH: $as_dir"
   1235 done
   1236 
   1237 } >&5
   1238 
   1239 cat >&5 <<_ACEOF
   1240 
   1241 
   1242 ## ----------- ##
   1243 ## Core tests. ##
   1244 ## ----------- ##
   1245 
   1246 _ACEOF
   1247 
   1248 
   1249 # Keep a trace of the command line.
   1250 # Strip out --no-create and --no-recursion so they do not pile up.
   1251 # Strip out --silent because we don't want to record it for future runs.
   1252 # Also quote any args containing shell meta-characters.
   1253 # Make two passes to allow for proper duplicate-argument suppression.
   1254 ac_configure_args=
   1255 ac_configure_args0=
   1256 ac_configure_args1=
   1257 ac_sep=
   1258 ac_must_keep_next=false
   1259 for ac_pass in 1 2
   1260 do
   1261   for ac_arg
   1262   do
   1263     case $ac_arg in
   1264     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1265     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1266     | -silent | --silent | --silen | --sile | --sil)
   1267       continue ;;
   1268     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1269       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1270     esac
   1271     case $ac_pass in
   1272     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1273     2)
   1274       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1275       if test $ac_must_keep_next = true; then
   1276 	ac_must_keep_next=false # Got value, back to normal.
   1277       else
   1278 	case $ac_arg in
   1279 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1280 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1281 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1282 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1283 	    case "$ac_configure_args0 " in
   1284 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1285 	    esac
   1286 	    ;;
   1287 	  -* ) ac_must_keep_next=true ;;
   1288 	esac
   1289       fi
   1290       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1291       # Get rid of the leading space.
   1292       ac_sep=" "
   1293       ;;
   1294     esac
   1295   done
   1296 done
   1297 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1298 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1299 
   1300 # When interrupted or exit'd, cleanup temporary files, and complete
   1301 # config.log.  We remove comments because anyway the quotes in there
   1302 # would cause problems or look ugly.
   1303 # WARNING: Be sure not to use single quotes in there, as some shells,
   1304 # such as our DU 5.0 friend, will then `close' the trap.
   1305 trap 'exit_status=$?
   1306   # Save into config.log some information that might help in debugging.
   1307   {
   1308     echo
   1309 
   1310     cat <<\_ASBOX
   1311 ## ---------------- ##
   1312 ## Cache variables. ##
   1313 ## ---------------- ##
   1314 _ASBOX
   1315     echo
   1316     # The following way of writing the cache mishandles newlines in values,
   1317 {
   1318   (set) 2>&1 |
   1319     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1320     *ac_space=\ *)
   1321       sed -n \
   1322 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1323 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1324       ;;
   1325     *)
   1326       sed -n \
   1327 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1328       ;;
   1329     esac;
   1330 }
   1331     echo
   1332 
   1333     cat <<\_ASBOX
   1334 ## ----------------- ##
   1335 ## Output variables. ##
   1336 ## ----------------- ##
   1337 _ASBOX
   1338     echo
   1339     for ac_var in $ac_subst_vars
   1340     do
   1341       eval ac_val=$`echo $ac_var`
   1342       echo "$ac_var='"'"'$ac_val'"'"'"
   1343     done | sort
   1344     echo
   1345 
   1346     if test -n "$ac_subst_files"; then
   1347       cat <<\_ASBOX
   1348 ## ------------- ##
   1349 ## Output files. ##
   1350 ## ------------- ##
   1351 _ASBOX
   1352       echo
   1353       for ac_var in $ac_subst_files
   1354       do
   1355 	eval ac_val=$`echo $ac_var`
   1356 	echo "$ac_var='"'"'$ac_val'"'"'"
   1357       done | sort
   1358       echo
   1359     fi
   1360 
   1361     if test -s confdefs.h; then
   1362       cat <<\_ASBOX
   1363 ## ----------- ##
   1364 ## confdefs.h. ##
   1365 ## ----------- ##
   1366 _ASBOX
   1367       echo
   1368       sed "/^$/d" confdefs.h | sort
   1369       echo
   1370     fi
   1371     test "$ac_signal" != 0 &&
   1372       echo "$as_me: caught signal $ac_signal"
   1373     echo "$as_me: exit $exit_status"
   1374   } >&5
   1375   rm -f core *.core &&
   1376   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1377     exit $exit_status
   1378      ' 0
   1379 for ac_signal in 1 2 13 15; do
   1380   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1381 done
   1382 ac_signal=0
   1383 
   1384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1385 rm -rf conftest* confdefs.h
   1386 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1387 echo >confdefs.h
   1388 
   1389 # Predefined preprocessor variables.
   1390 
   1391 cat >>confdefs.h <<_ACEOF
   1392 #define PACKAGE_NAME "$PACKAGE_NAME"
   1393 _ACEOF
   1394 
   1395 
   1396 cat >>confdefs.h <<_ACEOF
   1397 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1398 _ACEOF
   1399 
   1400 
   1401 cat >>confdefs.h <<_ACEOF
   1402 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1403 _ACEOF
   1404 
   1405 
   1406 cat >>confdefs.h <<_ACEOF
   1407 #define PACKAGE_STRING "$PACKAGE_STRING"
   1408 _ACEOF
   1409 
   1410 
   1411 cat >>confdefs.h <<_ACEOF
   1412 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1413 _ACEOF
   1414 
   1415 
   1416 # Let the site file select an alternate cache file if it wants to.
   1417 # Prefer explicitly selected file to automatically selected ones.
   1418 if test -z "$CONFIG_SITE"; then
   1419   if test "x$prefix" != xNONE; then
   1420     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1421   else
   1422     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1423   fi
   1424 fi
   1425 for ac_site_file in $CONFIG_SITE; do
   1426   if test -r "$ac_site_file"; then
   1427     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1428 echo "$as_me: loading site script $ac_site_file" >&6;}
   1429     sed 's/^/| /' "$ac_site_file" >&5
   1430     . "$ac_site_file"
   1431   fi
   1432 done
   1433 
   1434 if test -r "$cache_file"; then
   1435   # Some versions of bash will fail to source /dev/null (special
   1436   # files actually), so we avoid doing that.
   1437   if test -f "$cache_file"; then
   1438     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1439 echo "$as_me: loading cache $cache_file" >&6;}
   1440     case $cache_file in
   1441       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1442       *)                      . ./$cache_file;;
   1443     esac
   1444   fi
   1445 else
   1446   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1447 echo "$as_me: creating cache $cache_file" >&6;}
   1448   >$cache_file
   1449 fi
   1450 
   1451 # Check that the precious variables saved in the cache have kept the same
   1452 # value.
   1453 ac_cache_corrupted=false
   1454 for ac_var in `(set) 2>&1 |
   1455 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1456   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1457   eval ac_new_set=\$ac_env_${ac_var}_set
   1458   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1459   eval ac_new_val="\$ac_env_${ac_var}_value"
   1460   case $ac_old_set,$ac_new_set in
   1461     set,)
   1462       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1463 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1464       ac_cache_corrupted=: ;;
   1465     ,set)
   1466       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1467 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1468       ac_cache_corrupted=: ;;
   1469     ,);;
   1470     *)
   1471       if test "x$ac_old_val" != "x$ac_new_val"; then
   1472 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1473 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1474 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1475 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1476 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1477 echo "$as_me:   current value: $ac_new_val" >&2;}
   1478 	ac_cache_corrupted=:
   1479       fi;;
   1480   esac
   1481   # Pass precious variables to config.status.
   1482   if test "$ac_new_set" = set; then
   1483     case $ac_new_val in
   1484     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1485       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1486     *) ac_arg=$ac_var=$ac_new_val ;;
   1487     esac
   1488     case " $ac_configure_args " in
   1489       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1490       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1491     esac
   1492   fi
   1493 done
   1494 if $ac_cache_corrupted; then
   1495   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1496 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1497   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1498 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1499    { (exit 1); exit 1; }; }
   1500 fi
   1501 
   1502 ac_ext=c
   1503 ac_cpp='$CPP $CPPFLAGS'
   1504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1507 
   1508 
   1509 
   1510 
   1511 
   1512 
   1513 
   1514 
   1515 
   1516 
   1517 
   1518 
   1519 
   1520 
   1521 
   1522 
   1523 
   1524 
   1525 
   1526 
   1527 
   1528 
   1529 
   1530 
   1531 
   1532 
   1533 
   1534 am__api_version="1.9"
   1535 ac_aux_dir=
   1536 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1537   if test -f $ac_dir/install-sh; then
   1538     ac_aux_dir=$ac_dir
   1539     ac_install_sh="$ac_aux_dir/install-sh -c"
   1540     break
   1541   elif test -f $ac_dir/install.sh; then
   1542     ac_aux_dir=$ac_dir
   1543     ac_install_sh="$ac_aux_dir/install.sh -c"
   1544     break
   1545   elif test -f $ac_dir/shtool; then
   1546     ac_aux_dir=$ac_dir
   1547     ac_install_sh="$ac_aux_dir/shtool install -c"
   1548     break
   1549   fi
   1550 done
   1551 if test -z "$ac_aux_dir"; then
   1552   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1553 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1554    { (exit 1); exit 1; }; }
   1555 fi
   1556 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1557 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1558 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1559 
   1560 # Find a good install program.  We prefer a C program (faster),
   1561 # so one script is as good as another.  But avoid the broken or
   1562 # incompatible versions:
   1563 # SysV /etc/install, /usr/sbin/install
   1564 # SunOS /usr/etc/install
   1565 # IRIX /sbin/install
   1566 # AIX /bin/install
   1567 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1571 # OS/2's system install, which has a completely different semantic
   1572 # ./install, which can be erroneously created by make from ./install.sh.
   1573 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1574 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1575 if test -z "$INSTALL"; then
   1576 if test "${ac_cv_path_install+set}" = set; then
   1577   echo $ECHO_N "(cached) $ECHO_C" >&6
   1578 else
   1579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1580 for as_dir in $PATH
   1581 do
   1582   IFS=$as_save_IFS
   1583   test -z "$as_dir" && as_dir=.
   1584   # Account for people who put trailing slashes in PATH elements.
   1585 case $as_dir/ in
   1586   ./ | .// | /cC/* | \
   1587   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1588   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1589   /usr/ucb/* ) ;;
   1590   *)
   1591     # OSF1 and SCO ODT 3.0 have their own names for install.
   1592     # Don't use installbsd from OSF since it installs stuff as root
   1593     # by default.
   1594     for ac_prog in ginstall scoinst install; do
   1595       for ac_exec_ext in '' $ac_executable_extensions; do
   1596 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1597 	  if test $ac_prog = install &&
   1598 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1599 	    # AIX install.  It has an incompatible calling convention.
   1600 	    :
   1601 	  elif test $ac_prog = install &&
   1602 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1603 	    # program-specific install script used by HP pwplus--don't use.
   1604 	    :
   1605 	  else
   1606 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1607 	    break 3
   1608 	  fi
   1609 	fi
   1610       done
   1611     done
   1612     ;;
   1613 esac
   1614 done
   1615 
   1616 
   1617 fi
   1618   if test "${ac_cv_path_install+set}" = set; then
   1619     INSTALL=$ac_cv_path_install
   1620   else
   1621     # As a last resort, use the slow shell script.  We don't cache a
   1622     # path for INSTALL within a source directory, because that will
   1623     # break other packages using the cache if that directory is
   1624     # removed, or if the path is relative.
   1625     INSTALL=$ac_install_sh
   1626   fi
   1627 fi
   1628 echo "$as_me:$LINENO: result: $INSTALL" >&5
   1629 echo "${ECHO_T}$INSTALL" >&6
   1630 
   1631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1632 # It thinks the first close brace ends the variable substitution.
   1633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1634 
   1635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1636 
   1637 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1638 
   1639 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1640 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1641 # Just in case
   1642 sleep 1
   1643 echo timestamp > conftest.file
   1644 # Do `set' in a subshell so we don't clobber the current shell's
   1645 # arguments.  Must try -L first in case configure is actually a
   1646 # symlink; some systems play weird games with the mod time of symlinks
   1647 # (eg FreeBSD returns the mod time of the symlink's containing
   1648 # directory).
   1649 if (
   1650    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1651    if test "$*" = "X"; then
   1652       # -L didn't work.
   1653       set X `ls -t $srcdir/configure conftest.file`
   1654    fi
   1655    rm -f conftest.file
   1656    if test "$*" != "X $srcdir/configure conftest.file" \
   1657       && test "$*" != "X conftest.file $srcdir/configure"; then
   1658 
   1659       # If neither matched, then we have a broken ls.  This can happen
   1660       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1661       # broken ls alias from the environment.  This has actually
   1662       # happened.  Such a system could not be considered "sane".
   1663       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1664 alias in your environment" >&5
   1665 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1666 alias in your environment" >&2;}
   1667    { (exit 1); exit 1; }; }
   1668    fi
   1669 
   1670    test "$2" = conftest.file
   1671    )
   1672 then
   1673    # Ok.
   1674    :
   1675 else
   1676    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1677 Check your system clock" >&5
   1678 echo "$as_me: error: newly created file is older than distributed files!
   1679 Check your system clock" >&2;}
   1680    { (exit 1); exit 1; }; }
   1681 fi
   1682 echo "$as_me:$LINENO: result: yes" >&5
   1683 echo "${ECHO_T}yes" >&6
   1684 test "$program_prefix" != NONE &&
   1685   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1686 # Use a double $ so make ignores it.
   1687 test "$program_suffix" != NONE &&
   1688   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1689 # Double any \ or $.  echo might interpret backslashes.
   1690 # By default was `s,x,x', remove it if useless.
   1691 cat <<\_ACEOF >conftest.sed
   1692 s/[\\$]/&&/g;s/;s,x,x,$//
   1693 _ACEOF
   1694 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1695 rm conftest.sed
   1696 
   1697 # expand $ac_aux_dir to an absolute path
   1698 am_aux_dir=`cd $ac_aux_dir && pwd`
   1699 
   1700 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1701 # Use eval to expand $SHELL
   1702 if eval "$MISSING --run true"; then
   1703   am_missing_run="$MISSING --run "
   1704 else
   1705   am_missing_run=
   1706   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1707 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1708 fi
   1709 
   1710 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1711   # We used to keeping the `.' as first argument, in order to
   1712   # allow $(mkdir_p) to be used without argument.  As in
   1713   #   $(mkdir_p) $(somedir)
   1714   # where $(somedir) is conditionally defined.  However this is wrong
   1715   # for two reasons:
   1716   #  1. if the package is installed by a user who cannot write `.'
   1717   #     make install will fail,
   1718   #  2. the above comment should most certainly read
   1719   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1720   #     so it does not work when $(somedir) is undefined and
   1721   #     $(DESTDIR) is not.
   1722   #  To support the latter case, we have to write
   1723   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1724   #  so the `.' trick is pointless.
   1725   mkdir_p='mkdir -p --'
   1726 else
   1727   # On NextStep and OpenStep, the `mkdir' command does not
   1728   # recognize any option.  It will interpret all options as
   1729   # directories to create, and then abort because `.' already
   1730   # exists.
   1731   for d in ./-p ./--version;
   1732   do
   1733     test -d $d && rmdir $d
   1734   done
   1735   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1736   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1737     mkdir_p='$(mkinstalldirs)'
   1738   else
   1739     mkdir_p='$(install_sh) -d'
   1740   fi
   1741 fi
   1742 
   1743 for ac_prog in gawk mawk nawk awk
   1744 do
   1745   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1746 set dummy $ac_prog; ac_word=$2
   1747 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1749 if test "${ac_cv_prog_AWK+set}" = set; then
   1750   echo $ECHO_N "(cached) $ECHO_C" >&6
   1751 else
   1752   if test -n "$AWK"; then
   1753   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1754 else
   1755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1756 for as_dir in $PATH
   1757 do
   1758   IFS=$as_save_IFS
   1759   test -z "$as_dir" && as_dir=.
   1760   for ac_exec_ext in '' $ac_executable_extensions; do
   1761   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1762     ac_cv_prog_AWK="$ac_prog"
   1763     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1764     break 2
   1765   fi
   1766 done
   1767 done
   1768 
   1769 fi
   1770 fi
   1771 AWK=$ac_cv_prog_AWK
   1772 if test -n "$AWK"; then
   1773   echo "$as_me:$LINENO: result: $AWK" >&5
   1774 echo "${ECHO_T}$AWK" >&6
   1775 else
   1776   echo "$as_me:$LINENO: result: no" >&5
   1777 echo "${ECHO_T}no" >&6
   1778 fi
   1779 
   1780   test -n "$AWK" && break
   1781 done
   1782 
   1783 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1784 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1785 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1786 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1787   echo $ECHO_N "(cached) $ECHO_C" >&6
   1788 else
   1789   cat >conftest.make <<\_ACEOF
   1790 all:
   1791 	@echo 'ac_maketemp="$(MAKE)"'
   1792 _ACEOF
   1793 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1794 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1795 if test -n "$ac_maketemp"; then
   1796   eval ac_cv_prog_make_${ac_make}_set=yes
   1797 else
   1798   eval ac_cv_prog_make_${ac_make}_set=no
   1799 fi
   1800 rm -f conftest.make
   1801 fi
   1802 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1803   echo "$as_me:$LINENO: result: yes" >&5
   1804 echo "${ECHO_T}yes" >&6
   1805   SET_MAKE=
   1806 else
   1807   echo "$as_me:$LINENO: result: no" >&5
   1808 echo "${ECHO_T}no" >&6
   1809   SET_MAKE="MAKE=${MAKE-make}"
   1810 fi
   1811 
   1812 rm -rf .tst 2>/dev/null
   1813 mkdir .tst 2>/dev/null
   1814 if test -d .tst; then
   1815   am__leading_dot=.
   1816 else
   1817   am__leading_dot=_
   1818 fi
   1819 rmdir .tst 2>/dev/null
   1820 
   1821 # test to see if srcdir already configured
   1822 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1823    test -f $srcdir/config.status; then
   1824   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1825 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1826    { (exit 1); exit 1; }; }
   1827 fi
   1828 
   1829 # test whether we have cygpath
   1830 if test -z "$CYGPATH_W"; then
   1831   if (cygpath --version) >/dev/null 2>/dev/null; then
   1832     CYGPATH_W='cygpath -w'
   1833   else
   1834     CYGPATH_W=echo
   1835   fi
   1836 fi
   1837 
   1838 
   1839 # Define the identity of the package.
   1840  PACKAGE='libXxf86vm'
   1841  VERSION='1.0.1'
   1842 
   1843 
   1844 cat >>confdefs.h <<_ACEOF
   1845 #define PACKAGE "$PACKAGE"
   1846 _ACEOF
   1847 
   1848 
   1849 cat >>confdefs.h <<_ACEOF
   1850 #define VERSION "$VERSION"
   1851 _ACEOF
   1852 
   1853 # Some tools Automake needs.
   1854 
   1855 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1856 
   1857 
   1858 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1859 
   1860 
   1861 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1862 
   1863 
   1864 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1865 
   1866 
   1867 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1868 
   1869 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1870 
   1871 # Installed binaries are usually stripped using `strip' when the user
   1872 # run `make install-strip'.  However `strip' might not be the right
   1873 # tool to use in cross-compilation environments, therefore Automake
   1874 # will honor the `STRIP' environment variable to overrule this program.
   1875 if test "$cross_compiling" != no; then
   1876   if test -n "$ac_tool_prefix"; then
   1877   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1878 set dummy ${ac_tool_prefix}strip; ac_word=$2
   1879 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1881 if test "${ac_cv_prog_STRIP+set}" = set; then
   1882   echo $ECHO_N "(cached) $ECHO_C" >&6
   1883 else
   1884   if test -n "$STRIP"; then
   1885   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1886 else
   1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1888 for as_dir in $PATH
   1889 do
   1890   IFS=$as_save_IFS
   1891   test -z "$as_dir" && as_dir=.
   1892   for ac_exec_ext in '' $ac_executable_extensions; do
   1893   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1894     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1895     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1896     break 2
   1897   fi
   1898 done
   1899 done
   1900 
   1901 fi
   1902 fi
   1903 STRIP=$ac_cv_prog_STRIP
   1904 if test -n "$STRIP"; then
   1905   echo "$as_me:$LINENO: result: $STRIP" >&5
   1906 echo "${ECHO_T}$STRIP" >&6
   1907 else
   1908   echo "$as_me:$LINENO: result: no" >&5
   1909 echo "${ECHO_T}no" >&6
   1910 fi
   1911 
   1912 fi
   1913 if test -z "$ac_cv_prog_STRIP"; then
   1914   ac_ct_STRIP=$STRIP
   1915   # Extract the first word of "strip", so it can be a program name with args.
   1916 set dummy strip; ac_word=$2
   1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1920   echo $ECHO_N "(cached) $ECHO_C" >&6
   1921 else
   1922   if test -n "$ac_ct_STRIP"; then
   1923   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1924 else
   1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1926 for as_dir in $PATH
   1927 do
   1928   IFS=$as_save_IFS
   1929   test -z "$as_dir" && as_dir=.
   1930   for ac_exec_ext in '' $ac_executable_extensions; do
   1931   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1932     ac_cv_prog_ac_ct_STRIP="strip"
   1933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1934     break 2
   1935   fi
   1936 done
   1937 done
   1938 
   1939   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1940 fi
   1941 fi
   1942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1943 if test -n "$ac_ct_STRIP"; then
   1944   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1945 echo "${ECHO_T}$ac_ct_STRIP" >&6
   1946 else
   1947   echo "$as_me:$LINENO: result: no" >&5
   1948 echo "${ECHO_T}no" >&6
   1949 fi
   1950 
   1951   STRIP=$ac_ct_STRIP
   1952 else
   1953   STRIP="$ac_cv_prog_STRIP"
   1954 fi
   1955 
   1956 fi
   1957 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1958 
   1959 # We need awk for the "check" target.  The system "awk" is bad on
   1960 # some platforms.
   1961 # Always define AMTAR for backward compatibility.
   1962 
   1963 AMTAR=${AMTAR-"${am_missing_run}tar"}
   1964 
   1965 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1966 
   1967 
   1968 
   1969 
   1970 
   1971 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   1972 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   1973     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   1974 if test "${enable_maintainer_mode+set}" = set; then
   1975   enableval="$enable_maintainer_mode"
   1976   USE_MAINTAINER_MODE=$enableval
   1977 else
   1978   USE_MAINTAINER_MODE=no
   1979 fi;
   1980   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   1981 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   1982 
   1983 
   1984 if test $USE_MAINTAINER_MODE = yes; then
   1985   MAINTAINER_MODE_TRUE=
   1986   MAINTAINER_MODE_FALSE='#'
   1987 else
   1988   MAINTAINER_MODE_TRUE='#'
   1989   MAINTAINER_MODE_FALSE=
   1990 fi
   1991 
   1992   MAINT=$MAINTAINER_MODE_TRUE
   1993 
   1994 
   1995 
   1996           ac_config_headers="$ac_config_headers src/config.h"
   1997 
   1998 
   1999 # Check for progs
   2000 ac_ext=c
   2001 ac_cpp='$CPP $CPPFLAGS'
   2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2005 if test -n "$ac_tool_prefix"; then
   2006   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2007 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2010 if test "${ac_cv_prog_CC+set}" = set; then
   2011   echo $ECHO_N "(cached) $ECHO_C" >&6
   2012 else
   2013   if test -n "$CC"; then
   2014   ac_cv_prog_CC="$CC" # Let the user override the test.
   2015 else
   2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2017 for as_dir in $PATH
   2018 do
   2019   IFS=$as_save_IFS
   2020   test -z "$as_dir" && as_dir=.
   2021   for ac_exec_ext in '' $ac_executable_extensions; do
   2022   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2023     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2024     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2025     break 2
   2026   fi
   2027 done
   2028 done
   2029 
   2030 fi
   2031 fi
   2032 CC=$ac_cv_prog_CC
   2033 if test -n "$CC"; then
   2034   echo "$as_me:$LINENO: result: $CC" >&5
   2035 echo "${ECHO_T}$CC" >&6
   2036 else
   2037   echo "$as_me:$LINENO: result: no" >&5
   2038 echo "${ECHO_T}no" >&6
   2039 fi
   2040 
   2041 fi
   2042 if test -z "$ac_cv_prog_CC"; then
   2043   ac_ct_CC=$CC
   2044   # Extract the first word of "gcc", so it can be a program name with args.
   2045 set dummy gcc; ac_word=$2
   2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2049   echo $ECHO_N "(cached) $ECHO_C" >&6
   2050 else
   2051   if test -n "$ac_ct_CC"; then
   2052   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2053 else
   2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2055 for as_dir in $PATH
   2056 do
   2057   IFS=$as_save_IFS
   2058   test -z "$as_dir" && as_dir=.
   2059   for ac_exec_ext in '' $ac_executable_extensions; do
   2060   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2061     ac_cv_prog_ac_ct_CC="gcc"
   2062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2063     break 2
   2064   fi
   2065 done
   2066 done
   2067 
   2068 fi
   2069 fi
   2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2071 if test -n "$ac_ct_CC"; then
   2072   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2073 echo "${ECHO_T}$ac_ct_CC" >&6
   2074 else
   2075   echo "$as_me:$LINENO: result: no" >&5
   2076 echo "${ECHO_T}no" >&6
   2077 fi
   2078 
   2079   CC=$ac_ct_CC
   2080 else
   2081   CC="$ac_cv_prog_CC"
   2082 fi
   2083 
   2084 if test -z "$CC"; then
   2085   if test -n "$ac_tool_prefix"; then
   2086   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2087 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2090 if test "${ac_cv_prog_CC+set}" = set; then
   2091   echo $ECHO_N "(cached) $ECHO_C" >&6
   2092 else
   2093   if test -n "$CC"; then
   2094   ac_cv_prog_CC="$CC" # Let the user override the test.
   2095 else
   2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2097 for as_dir in $PATH
   2098 do
   2099   IFS=$as_save_IFS
   2100   test -z "$as_dir" && as_dir=.
   2101   for ac_exec_ext in '' $ac_executable_extensions; do
   2102   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2103     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2104     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2105     break 2
   2106   fi
   2107 done
   2108 done
   2109 
   2110 fi
   2111 fi
   2112 CC=$ac_cv_prog_CC
   2113 if test -n "$CC"; then
   2114   echo "$as_me:$LINENO: result: $CC" >&5
   2115 echo "${ECHO_T}$CC" >&6
   2116 else
   2117   echo "$as_me:$LINENO: result: no" >&5
   2118 echo "${ECHO_T}no" >&6
   2119 fi
   2120 
   2121 fi
   2122 if test -z "$ac_cv_prog_CC"; then
   2123   ac_ct_CC=$CC
   2124   # Extract the first word of "cc", so it can be a program name with args.
   2125 set dummy cc; ac_word=$2
   2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2129   echo $ECHO_N "(cached) $ECHO_C" >&6
   2130 else
   2131   if test -n "$ac_ct_CC"; then
   2132   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2133 else
   2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2135 for as_dir in $PATH
   2136 do
   2137   IFS=$as_save_IFS
   2138   test -z "$as_dir" && as_dir=.
   2139   for ac_exec_ext in '' $ac_executable_extensions; do
   2140   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2141     ac_cv_prog_ac_ct_CC="cc"
   2142     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2143     break 2
   2144   fi
   2145 done
   2146 done
   2147 
   2148 fi
   2149 fi
   2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2151 if test -n "$ac_ct_CC"; then
   2152   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2153 echo "${ECHO_T}$ac_ct_CC" >&6
   2154 else
   2155   echo "$as_me:$LINENO: result: no" >&5
   2156 echo "${ECHO_T}no" >&6
   2157 fi
   2158 
   2159   CC=$ac_ct_CC
   2160 else
   2161   CC="$ac_cv_prog_CC"
   2162 fi
   2163 
   2164 fi
   2165 if test -z "$CC"; then
   2166   # Extract the first word of "cc", so it can be a program name with args.
   2167 set dummy cc; ac_word=$2
   2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2170 if test "${ac_cv_prog_CC+set}" = set; then
   2171   echo $ECHO_N "(cached) $ECHO_C" >&6
   2172 else
   2173   if test -n "$CC"; then
   2174   ac_cv_prog_CC="$CC" # Let the user override the test.
   2175 else
   2176   ac_prog_rejected=no
   2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2178 for as_dir in $PATH
   2179 do
   2180   IFS=$as_save_IFS
   2181   test -z "$as_dir" && as_dir=.
   2182   for ac_exec_ext in '' $ac_executable_extensions; do
   2183   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2184     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2185        ac_prog_rejected=yes
   2186        continue
   2187      fi
   2188     ac_cv_prog_CC="cc"
   2189     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2190     break 2
   2191   fi
   2192 done
   2193 done
   2194 
   2195 if test $ac_prog_rejected = yes; then
   2196   # We found a bogon in the path, so make sure we never use it.
   2197   set dummy $ac_cv_prog_CC
   2198   shift
   2199   if test $# != 0; then
   2200     # We chose a different compiler from the bogus one.
   2201     # However, it has the same basename, so the bogon will be chosen
   2202     # first if we set CC to just the basename; use the full file name.
   2203     shift
   2204     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2205   fi
   2206 fi
   2207 fi
   2208 fi
   2209 CC=$ac_cv_prog_CC
   2210 if test -n "$CC"; then
   2211   echo "$as_me:$LINENO: result: $CC" >&5
   2212 echo "${ECHO_T}$CC" >&6
   2213 else
   2214   echo "$as_me:$LINENO: result: no" >&5
   2215 echo "${ECHO_T}no" >&6
   2216 fi
   2217 
   2218 fi
   2219 if test -z "$CC"; then
   2220   if test -n "$ac_tool_prefix"; then
   2221   for ac_prog in cl
   2222   do
   2223     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2227 if test "${ac_cv_prog_CC+set}" = set; then
   2228   echo $ECHO_N "(cached) $ECHO_C" >&6
   2229 else
   2230   if test -n "$CC"; then
   2231   ac_cv_prog_CC="$CC" # Let the user override the test.
   2232 else
   2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2234 for as_dir in $PATH
   2235 do
   2236   IFS=$as_save_IFS
   2237   test -z "$as_dir" && as_dir=.
   2238   for ac_exec_ext in '' $ac_executable_extensions; do
   2239   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2240     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2242     break 2
   2243   fi
   2244 done
   2245 done
   2246 
   2247 fi
   2248 fi
   2249 CC=$ac_cv_prog_CC
   2250 if test -n "$CC"; then
   2251   echo "$as_me:$LINENO: result: $CC" >&5
   2252 echo "${ECHO_T}$CC" >&6
   2253 else
   2254   echo "$as_me:$LINENO: result: no" >&5
   2255 echo "${ECHO_T}no" >&6
   2256 fi
   2257 
   2258     test -n "$CC" && break
   2259   done
   2260 fi
   2261 if test -z "$CC"; then
   2262   ac_ct_CC=$CC
   2263   for ac_prog in cl
   2264 do
   2265   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2266 set dummy $ac_prog; ac_word=$2
   2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2270   echo $ECHO_N "(cached) $ECHO_C" >&6
   2271 else
   2272   if test -n "$ac_ct_CC"; then
   2273   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2274 else
   2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2276 for as_dir in $PATH
   2277 do
   2278   IFS=$as_save_IFS
   2279   test -z "$as_dir" && as_dir=.
   2280   for ac_exec_ext in '' $ac_executable_extensions; do
   2281   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2282     ac_cv_prog_ac_ct_CC="$ac_prog"
   2283     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2284     break 2
   2285   fi
   2286 done
   2287 done
   2288 
   2289 fi
   2290 fi
   2291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2292 if test -n "$ac_ct_CC"; then
   2293   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2294 echo "${ECHO_T}$ac_ct_CC" >&6
   2295 else
   2296   echo "$as_me:$LINENO: result: no" >&5
   2297 echo "${ECHO_T}no" >&6
   2298 fi
   2299 
   2300   test -n "$ac_ct_CC" && break
   2301 done
   2302 
   2303   CC=$ac_ct_CC
   2304 fi
   2305 
   2306 fi
   2307 
   2308 
   2309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2310 See \`config.log' for more details." >&5
   2311 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2312 See \`config.log' for more details." >&2;}
   2313    { (exit 1); exit 1; }; }
   2314 
   2315 # Provide some information about the compiler.
   2316 echo "$as_me:$LINENO:" \
   2317      "checking for C compiler version" >&5
   2318 ac_compiler=`set X $ac_compile; echo $2`
   2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2320   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2321   ac_status=$?
   2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2323   (exit $ac_status); }
   2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2325   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2326   ac_status=$?
   2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2328   (exit $ac_status); }
   2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2330   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2331   ac_status=$?
   2332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2333   (exit $ac_status); }
   2334 
   2335 cat >conftest.$ac_ext <<_ACEOF
   2336 /* confdefs.h.  */
   2337 _ACEOF
   2338 cat confdefs.h >>conftest.$ac_ext
   2339 cat >>conftest.$ac_ext <<_ACEOF
   2340 /* end confdefs.h.  */
   2341 
   2342 int
   2343 main ()
   2344 {
   2345 
   2346   ;
   2347   return 0;
   2348 }
   2349 _ACEOF
   2350 ac_clean_files_save=$ac_clean_files
   2351 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2352 # Try to create an executable without -o first, disregard a.out.
   2353 # It will help us diagnose broken compilers, and finding out an intuition
   2354 # of exeext.
   2355 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2356 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2357 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2358 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2359   (eval $ac_link_default) 2>&5
   2360   ac_status=$?
   2361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2362   (exit $ac_status); }; then
   2363   # Find the output, starting from the most likely.  This scheme is
   2364 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2365 # resort.
   2366 
   2367 # Be careful to initialize this variable, since it used to be cached.
   2368 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2369 ac_cv_exeext=
   2370 # b.out is created by i960 compilers.
   2371 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2372 do
   2373   test -f "$ac_file" || continue
   2374   case $ac_file in
   2375     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2376 	;;
   2377     conftest.$ac_ext )
   2378 	# This is the source file.
   2379 	;;
   2380     [ab].out )
   2381 	# We found the default executable, but exeext='' is most
   2382 	# certainly right.
   2383 	break;;
   2384     *.* )
   2385 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2386 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2387 	# but it would be cool to find out if it's true.  Does anybody
   2388 	# maintain Libtool? --akim.
   2389 	export ac_cv_exeext
   2390 	break;;
   2391     * )
   2392 	break;;
   2393   esac
   2394 done
   2395 else
   2396   echo "$as_me: failed program was:" >&5
   2397 sed 's/^/| /' conftest.$ac_ext >&5
   2398 
   2399 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2400 See \`config.log' for more details." >&5
   2401 echo "$as_me: error: C compiler cannot create executables
   2402 See \`config.log' for more details." >&2;}
   2403    { (exit 77); exit 77; }; }
   2404 fi
   2405 
   2406 ac_exeext=$ac_cv_exeext
   2407 echo "$as_me:$LINENO: result: $ac_file" >&5
   2408 echo "${ECHO_T}$ac_file" >&6
   2409 
   2410 # Check the compiler produces executables we can run.  If not, either
   2411 # the compiler is broken, or we cross compile.
   2412 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2413 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2414 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2415 # If not cross compiling, check that we can run a simple program.
   2416 if test "$cross_compiling" != yes; then
   2417   if { ac_try='./$ac_file'
   2418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2419   (eval $ac_try) 2>&5
   2420   ac_status=$?
   2421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2422   (exit $ac_status); }; }; then
   2423     cross_compiling=no
   2424   else
   2425     if test "$cross_compiling" = maybe; then
   2426 	cross_compiling=yes
   2427     else
   2428 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2429 If you meant to cross compile, use \`--host'.
   2430 See \`config.log' for more details." >&5
   2431 echo "$as_me: error: cannot run C compiled programs.
   2432 If you meant to cross compile, use \`--host'.
   2433 See \`config.log' for more details." >&2;}
   2434    { (exit 1); exit 1; }; }
   2435     fi
   2436   fi
   2437 fi
   2438 echo "$as_me:$LINENO: result: yes" >&5
   2439 echo "${ECHO_T}yes" >&6
   2440 
   2441 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2442 ac_clean_files=$ac_clean_files_save
   2443 # Check the compiler produces executables we can run.  If not, either
   2444 # the compiler is broken, or we cross compile.
   2445 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2446 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2447 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2448 echo "${ECHO_T}$cross_compiling" >&6
   2449 
   2450 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2451 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2453   (eval $ac_link) 2>&5
   2454   ac_status=$?
   2455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2456   (exit $ac_status); }; then
   2457   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2458 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2459 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2460 # `rm'.
   2461 for ac_file in conftest.exe conftest conftest.*; do
   2462   test -f "$ac_file" || continue
   2463   case $ac_file in
   2464     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2465     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2466 	  export ac_cv_exeext
   2467 	  break;;
   2468     * ) break;;
   2469   esac
   2470 done
   2471 else
   2472   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2473 See \`config.log' for more details." >&5
   2474 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2475 See \`config.log' for more details." >&2;}
   2476    { (exit 1); exit 1; }; }
   2477 fi
   2478 
   2479 rm -f conftest$ac_cv_exeext
   2480 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2481 echo "${ECHO_T}$ac_cv_exeext" >&6
   2482 
   2483 rm -f conftest.$ac_ext
   2484 EXEEXT=$ac_cv_exeext
   2485 ac_exeext=$EXEEXT
   2486 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2487 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2488 if test "${ac_cv_objext+set}" = set; then
   2489   echo $ECHO_N "(cached) $ECHO_C" >&6
   2490 else
   2491   cat >conftest.$ac_ext <<_ACEOF
   2492 /* confdefs.h.  */
   2493 _ACEOF
   2494 cat confdefs.h >>conftest.$ac_ext
   2495 cat >>conftest.$ac_ext <<_ACEOF
   2496 /* end confdefs.h.  */
   2497 
   2498 int
   2499 main ()
   2500 {
   2501 
   2502   ;
   2503   return 0;
   2504 }
   2505 _ACEOF
   2506 rm -f conftest.o conftest.obj
   2507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2508   (eval $ac_compile) 2>&5
   2509   ac_status=$?
   2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2511   (exit $ac_status); }; then
   2512   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2513   case $ac_file in
   2514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2515     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2516        break;;
   2517   esac
   2518 done
   2519 else
   2520   echo "$as_me: failed program was:" >&5
   2521 sed 's/^/| /' conftest.$ac_ext >&5
   2522 
   2523 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2524 See \`config.log' for more details." >&5
   2525 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2526 See \`config.log' for more details." >&2;}
   2527    { (exit 1); exit 1; }; }
   2528 fi
   2529 
   2530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2531 fi
   2532 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2533 echo "${ECHO_T}$ac_cv_objext" >&6
   2534 OBJEXT=$ac_cv_objext
   2535 ac_objext=$OBJEXT
   2536 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2537 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2538 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2539   echo $ECHO_N "(cached) $ECHO_C" >&6
   2540 else
   2541   cat >conftest.$ac_ext <<_ACEOF
   2542 /* confdefs.h.  */
   2543 _ACEOF
   2544 cat confdefs.h >>conftest.$ac_ext
   2545 cat >>conftest.$ac_ext <<_ACEOF
   2546 /* end confdefs.h.  */
   2547 
   2548 int
   2549 main ()
   2550 {
   2551 #ifndef __GNUC__
   2552        choke me
   2553 #endif
   2554 
   2555   ;
   2556   return 0;
   2557 }
   2558 _ACEOF
   2559 rm -f conftest.$ac_objext
   2560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2561   (eval $ac_compile) 2>conftest.er1
   2562   ac_status=$?
   2563   grep -v '^ *+' conftest.er1 >conftest.err
   2564   rm -f conftest.er1
   2565   cat conftest.err >&5
   2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2567   (exit $ac_status); } &&
   2568 	 { ac_try='test -z "$ac_c_werror_flag"
   2569 			 || test ! -s conftest.err'
   2570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2571   (eval $ac_try) 2>&5
   2572   ac_status=$?
   2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2574   (exit $ac_status); }; } &&
   2575 	 { ac_try='test -s conftest.$ac_objext'
   2576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2577   (eval $ac_try) 2>&5
   2578   ac_status=$?
   2579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2580   (exit $ac_status); }; }; then
   2581   ac_compiler_gnu=yes
   2582 else
   2583   echo "$as_me: failed program was:" >&5
   2584 sed 's/^/| /' conftest.$ac_ext >&5
   2585 
   2586 ac_compiler_gnu=no
   2587 fi
   2588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2590 
   2591 fi
   2592 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2593 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2594 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2595 ac_test_CFLAGS=${CFLAGS+set}
   2596 ac_save_CFLAGS=$CFLAGS
   2597 CFLAGS="-g"
   2598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2600 if test "${ac_cv_prog_cc_g+set}" = set; then
   2601   echo $ECHO_N "(cached) $ECHO_C" >&6
   2602 else
   2603   cat >conftest.$ac_ext <<_ACEOF
   2604 /* confdefs.h.  */
   2605 _ACEOF
   2606 cat confdefs.h >>conftest.$ac_ext
   2607 cat >>conftest.$ac_ext <<_ACEOF
   2608 /* end confdefs.h.  */
   2609 
   2610 int
   2611 main ()
   2612 {
   2613 
   2614   ;
   2615   return 0;
   2616 }
   2617 _ACEOF
   2618 rm -f conftest.$ac_objext
   2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2620   (eval $ac_compile) 2>conftest.er1
   2621   ac_status=$?
   2622   grep -v '^ *+' conftest.er1 >conftest.err
   2623   rm -f conftest.er1
   2624   cat conftest.err >&5
   2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2626   (exit $ac_status); } &&
   2627 	 { ac_try='test -z "$ac_c_werror_flag"
   2628 			 || test ! -s conftest.err'
   2629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2630   (eval $ac_try) 2>&5
   2631   ac_status=$?
   2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2633   (exit $ac_status); }; } &&
   2634 	 { ac_try='test -s conftest.$ac_objext'
   2635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2636   (eval $ac_try) 2>&5
   2637   ac_status=$?
   2638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2639   (exit $ac_status); }; }; then
   2640   ac_cv_prog_cc_g=yes
   2641 else
   2642   echo "$as_me: failed program was:" >&5
   2643 sed 's/^/| /' conftest.$ac_ext >&5
   2644 
   2645 ac_cv_prog_cc_g=no
   2646 fi
   2647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2648 fi
   2649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2650 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2651 if test "$ac_test_CFLAGS" = set; then
   2652   CFLAGS=$ac_save_CFLAGS
   2653 elif test $ac_cv_prog_cc_g = yes; then
   2654   if test "$GCC" = yes; then
   2655     CFLAGS="-g -O2"
   2656   else
   2657     CFLAGS="-g"
   2658   fi
   2659 else
   2660   if test "$GCC" = yes; then
   2661     CFLAGS="-O2"
   2662   else
   2663     CFLAGS=
   2664   fi
   2665 fi
   2666 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2667 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2668 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2669   echo $ECHO_N "(cached) $ECHO_C" >&6
   2670 else
   2671   ac_cv_prog_cc_stdc=no
   2672 ac_save_CC=$CC
   2673 cat >conftest.$ac_ext <<_ACEOF
   2674 /* confdefs.h.  */
   2675 _ACEOF
   2676 cat confdefs.h >>conftest.$ac_ext
   2677 cat >>conftest.$ac_ext <<_ACEOF
   2678 /* end confdefs.h.  */
   2679 #include <stdarg.h>
   2680 #include <stdio.h>
   2681 #include <sys/types.h>
   2682 #include <sys/stat.h>
   2683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2684 struct buf { int x; };
   2685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2686 static char *e (p, i)
   2687      char **p;
   2688      int i;
   2689 {
   2690   return p[i];
   2691 }
   2692 static char *f (char * (*g) (char **, int), char **p, ...)
   2693 {
   2694   char *s;
   2695   va_list v;
   2696   va_start (v,p);
   2697   s = g (p, va_arg (v,int));
   2698   va_end (v);
   2699   return s;
   2700 }
   2701 
   2702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2703    function prototypes and stuff, but not '\xHH' hex character constants.
   2704    These don't provoke an error unfortunately, instead are silently treated
   2705    as 'x'.  The following induces an error, until -std1 is added to get
   2706    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2707    array size at least.  It's necessary to write '\x00'==0 to get something
   2708    that's true only with -std1.  */
   2709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2710 
   2711 int test (int i, double x);
   2712 struct s1 {int (*f) (int a);};
   2713 struct s2 {int (*f) (double a);};
   2714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2715 int argc;
   2716 char **argv;
   2717 int
   2718 main ()
   2719 {
   2720 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2721   ;
   2722   return 0;
   2723 }
   2724 _ACEOF
   2725 # Don't try gcc -ansi; that turns off useful extensions and
   2726 # breaks some systems' header files.
   2727 # AIX			-qlanglvl=ansi
   2728 # Ultrix and OSF/1	-std1
   2729 # HP-UX 10.20 and later	-Ae
   2730 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2731 # SVR4			-Xc -D__EXTENSIONS__
   2732 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2733 do
   2734   CC="$ac_save_CC $ac_arg"
   2735   rm -f conftest.$ac_objext
   2736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2737   (eval $ac_compile) 2>conftest.er1
   2738   ac_status=$?
   2739   grep -v '^ *+' conftest.er1 >conftest.err
   2740   rm -f conftest.er1
   2741   cat conftest.err >&5
   2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2743   (exit $ac_status); } &&
   2744 	 { ac_try='test -z "$ac_c_werror_flag"
   2745 			 || test ! -s conftest.err'
   2746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2747   (eval $ac_try) 2>&5
   2748   ac_status=$?
   2749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2750   (exit $ac_status); }; } &&
   2751 	 { ac_try='test -s conftest.$ac_objext'
   2752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2753   (eval $ac_try) 2>&5
   2754   ac_status=$?
   2755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2756   (exit $ac_status); }; }; then
   2757   ac_cv_prog_cc_stdc=$ac_arg
   2758 break
   2759 else
   2760   echo "$as_me: failed program was:" >&5
   2761 sed 's/^/| /' conftest.$ac_ext >&5
   2762 
   2763 fi
   2764 rm -f conftest.err conftest.$ac_objext
   2765 done
   2766 rm -f conftest.$ac_ext conftest.$ac_objext
   2767 CC=$ac_save_CC
   2768 
   2769 fi
   2770 
   2771 case "x$ac_cv_prog_cc_stdc" in
   2772   x|xno)
   2773     echo "$as_me:$LINENO: result: none needed" >&5
   2774 echo "${ECHO_T}none needed" >&6 ;;
   2775   *)
   2776     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2778     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2779 esac
   2780 
   2781 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2782 # in C++ we need to declare it.  In case someone uses the same compiler
   2783 # for both compiling C and C++ we need to have the C++ compiler decide
   2784 # the declaration of exit, since it's the most demanding environment.
   2785 cat >conftest.$ac_ext <<_ACEOF
   2786 #ifndef __cplusplus
   2787   choke me
   2788 #endif
   2789 _ACEOF
   2790 rm -f conftest.$ac_objext
   2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2792   (eval $ac_compile) 2>conftest.er1
   2793   ac_status=$?
   2794   grep -v '^ *+' conftest.er1 >conftest.err
   2795   rm -f conftest.er1
   2796   cat conftest.err >&5
   2797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2798   (exit $ac_status); } &&
   2799 	 { ac_try='test -z "$ac_c_werror_flag"
   2800 			 || test ! -s conftest.err'
   2801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2802   (eval $ac_try) 2>&5
   2803   ac_status=$?
   2804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2805   (exit $ac_status); }; } &&
   2806 	 { ac_try='test -s conftest.$ac_objext'
   2807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2808   (eval $ac_try) 2>&5
   2809   ac_status=$?
   2810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2811   (exit $ac_status); }; }; then
   2812   for ac_declaration in \
   2813    '' \
   2814    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2815    'extern "C" void std::exit (int); using std::exit;' \
   2816    'extern "C" void exit (int) throw ();' \
   2817    'extern "C" void exit (int);' \
   2818    'void exit (int);'
   2819 do
   2820   cat >conftest.$ac_ext <<_ACEOF
   2821 /* confdefs.h.  */
   2822 _ACEOF
   2823 cat confdefs.h >>conftest.$ac_ext
   2824 cat >>conftest.$ac_ext <<_ACEOF
   2825 /* end confdefs.h.  */
   2826 $ac_declaration
   2827 #include <stdlib.h>
   2828 int
   2829 main ()
   2830 {
   2831 exit (42);
   2832   ;
   2833   return 0;
   2834 }
   2835 _ACEOF
   2836 rm -f conftest.$ac_objext
   2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2838   (eval $ac_compile) 2>conftest.er1
   2839   ac_status=$?
   2840   grep -v '^ *+' conftest.er1 >conftest.err
   2841   rm -f conftest.er1
   2842   cat conftest.err >&5
   2843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2844   (exit $ac_status); } &&
   2845 	 { ac_try='test -z "$ac_c_werror_flag"
   2846 			 || test ! -s conftest.err'
   2847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2848   (eval $ac_try) 2>&5
   2849   ac_status=$?
   2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2851   (exit $ac_status); }; } &&
   2852 	 { ac_try='test -s conftest.$ac_objext'
   2853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2854   (eval $ac_try) 2>&5
   2855   ac_status=$?
   2856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2857   (exit $ac_status); }; }; then
   2858   :
   2859 else
   2860   echo "$as_me: failed program was:" >&5
   2861 sed 's/^/| /' conftest.$ac_ext >&5
   2862 
   2863 continue
   2864 fi
   2865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2866   cat >conftest.$ac_ext <<_ACEOF
   2867 /* confdefs.h.  */
   2868 _ACEOF
   2869 cat confdefs.h >>conftest.$ac_ext
   2870 cat >>conftest.$ac_ext <<_ACEOF
   2871 /* end confdefs.h.  */
   2872 $ac_declaration
   2873 int
   2874 main ()
   2875 {
   2876 exit (42);
   2877   ;
   2878   return 0;
   2879 }
   2880 _ACEOF
   2881 rm -f conftest.$ac_objext
   2882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2883   (eval $ac_compile) 2>conftest.er1
   2884   ac_status=$?
   2885   grep -v '^ *+' conftest.er1 >conftest.err
   2886   rm -f conftest.er1
   2887   cat conftest.err >&5
   2888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2889   (exit $ac_status); } &&
   2890 	 { ac_try='test -z "$ac_c_werror_flag"
   2891 			 || test ! -s conftest.err'
   2892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2893   (eval $ac_try) 2>&5
   2894   ac_status=$?
   2895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2896   (exit $ac_status); }; } &&
   2897 	 { ac_try='test -s conftest.$ac_objext'
   2898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2899   (eval $ac_try) 2>&5
   2900   ac_status=$?
   2901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2902   (exit $ac_status); }; }; then
   2903   break
   2904 else
   2905   echo "$as_me: failed program was:" >&5
   2906 sed 's/^/| /' conftest.$ac_ext >&5
   2907 
   2908 fi
   2909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2910 done
   2911 rm -f conftest*
   2912 if test -n "$ac_declaration"; then
   2913   echo '#ifdef __cplusplus' >>confdefs.h
   2914   echo $ac_declaration      >>confdefs.h
   2915   echo '#endif'             >>confdefs.h
   2916 fi
   2917 
   2918 else
   2919   echo "$as_me: failed program was:" >&5
   2920 sed 's/^/| /' conftest.$ac_ext >&5
   2921 
   2922 fi
   2923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2924 ac_ext=c
   2925 ac_cpp='$CPP $CPPFLAGS'
   2926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2929 DEPDIR="${am__leading_dot}deps"
   2930 
   2931           ac_config_commands="$ac_config_commands depfiles"
   2932 
   2933 
   2934 am_make=${MAKE-make}
   2935 cat > confinc << 'END'
   2936 am__doit:
   2937 	@echo done
   2938 .PHONY: am__doit
   2939 END
   2940 # If we don't find an include directive, just comment out the code.
   2941 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2942 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2943 am__include="#"
   2944 am__quote=
   2945 _am_result=none
   2946 # First try GNU make style include.
   2947 echo "include confinc" > confmf
   2948 # We grep out `Entering directory' and `Leaving directory'
   2949 # messages which can occur if `w' ends up in MAKEFLAGS.
   2950 # In particular we don't look at `^make:' because GNU make might
   2951 # be invoked under some other name (usually "gmake"), in which
   2952 # case it prints its new name instead of `make'.
   2953 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2954    am__include=include
   2955    am__quote=
   2956    _am_result=GNU
   2957 fi
   2958 # Now try BSD make style include.
   2959 if test "$am__include" = "#"; then
   2960    echo '.include "confinc"' > confmf
   2961    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2962       am__include=.include
   2963       am__quote="\""
   2964       _am_result=BSD
   2965    fi
   2966 fi
   2967 
   2968 
   2969 echo "$as_me:$LINENO: result: $_am_result" >&5
   2970 echo "${ECHO_T}$_am_result" >&6
   2971 rm -f confinc confmf
   2972 
   2973 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2974 if test "${enable_dependency_tracking+set}" = set; then
   2975   enableval="$enable_dependency_tracking"
   2976 
   2977 fi;
   2978 if test "x$enable_dependency_tracking" != xno; then
   2979   am_depcomp="$ac_aux_dir/depcomp"
   2980   AMDEPBACKSLASH='\'
   2981 fi
   2982 
   2983 
   2984 if test "x$enable_dependency_tracking" != xno; then
   2985   AMDEP_TRUE=
   2986   AMDEP_FALSE='#'
   2987 else
   2988   AMDEP_TRUE='#'
   2989   AMDEP_FALSE=
   2990 fi
   2991 
   2992 
   2993 
   2994 
   2995 depcc="$CC"   am_compiler_list=
   2996 
   2997 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   2998 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   2999 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3000   echo $ECHO_N "(cached) $ECHO_C" >&6
   3001 else
   3002   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3003   # We make a subdir and do the tests there.  Otherwise we can end up
   3004   # making bogus files that we don't know about and never remove.  For
   3005   # instance it was reported that on HP-UX the gcc test will end up
   3006   # making a dummy file named `D' -- because `-MD' means `put the output
   3007   # in D'.
   3008   mkdir conftest.dir
   3009   # Copy depcomp to subdir because otherwise we won't find it if we're
   3010   # using a relative directory.
   3011   cp "$am_depcomp" conftest.dir
   3012   cd conftest.dir
   3013   # We will build objects and dependencies in a subdirectory because
   3014   # it helps to detect inapplicable dependency modes.  For instance
   3015   # both Tru64's cc and ICC support -MD to output dependencies as a
   3016   # side effect of compilation, but ICC will put the dependencies in
   3017   # the current directory while Tru64 will put them in the object
   3018   # directory.
   3019   mkdir sub
   3020 
   3021   am_cv_CC_dependencies_compiler_type=none
   3022   if test "$am_compiler_list" = ""; then
   3023      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3024   fi
   3025   for depmode in $am_compiler_list; do
   3026     # Setup a source with many dependencies, because some compilers
   3027     # like to wrap large dependency lists on column 80 (with \), and
   3028     # we should not choose a depcomp mode which is confused by this.
   3029     #
   3030     # We need to recreate these files for each test, as the compiler may
   3031     # overwrite some of them when testing with obscure command lines.
   3032     # This happens at least with the AIX C compiler.
   3033     : > sub/conftest.c
   3034     for i in 1 2 3 4 5 6; do
   3035       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3036       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3037       # Solaris 8's {/usr,}/bin/sh.
   3038       touch sub/conftst$i.h
   3039     done
   3040     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3041 
   3042     case $depmode in
   3043     nosideeffect)
   3044       # after this tag, mechanisms are not by side-effect, so they'll
   3045       # only be used when explicitly requested
   3046       if test "x$enable_dependency_tracking" = xyes; then
   3047 	continue
   3048       else
   3049 	break
   3050       fi
   3051       ;;
   3052     none) break ;;
   3053     esac
   3054     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3055     # mode.  It turns out that the SunPro C++ compiler does not properly
   3056     # handle `-M -o', and we need to detect this.
   3057     if depmode=$depmode \
   3058        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3059        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3060        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3061          >/dev/null 2>conftest.err &&
   3062        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3063        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3064        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3065       # icc doesn't choke on unknown options, it will just issue warnings
   3066       # or remarks (even with -Werror).  So we grep stderr for any message
   3067       # that says an option was ignored or not supported.
   3068       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3069       #   icc: Command line warning: ignoring option '-M'; no argument required
   3070       # The diagnosis changed in icc 8.0:
   3071       #   icc: Command line remark: option '-MP' not supported
   3072       if (grep 'ignoring option' conftest.err ||
   3073           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3074         am_cv_CC_dependencies_compiler_type=$depmode
   3075         break
   3076       fi
   3077     fi
   3078   done
   3079 
   3080   cd ..
   3081   rm -rf conftest.dir
   3082 else
   3083   am_cv_CC_dependencies_compiler_type=none
   3084 fi
   3085 
   3086 fi
   3087 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3088 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3089 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3090 
   3091 
   3092 
   3093 if
   3094   test "x$enable_dependency_tracking" != xno \
   3095   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3096   am__fastdepCC_TRUE=
   3097   am__fastdepCC_FALSE='#'
   3098 else
   3099   am__fastdepCC_TRUE='#'
   3100   am__fastdepCC_FALSE=
   3101 fi
   3102 
   3103 
   3104 # Check whether --enable-shared or --disable-shared was given.
   3105 if test "${enable_shared+set}" = set; then
   3106   enableval="$enable_shared"
   3107   p=${PACKAGE-default}
   3108     case $enableval in
   3109     yes) enable_shared=yes ;;
   3110     no) enable_shared=no ;;
   3111     *)
   3112       enable_shared=no
   3113       # Look at the argument we got.  We use all the common list separators.
   3114       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3115       for pkg in $enableval; do
   3116 	IFS="$lt_save_ifs"
   3117 	if test "X$pkg" = "X$p"; then
   3118 	  enable_shared=yes
   3119 	fi
   3120       done
   3121       IFS="$lt_save_ifs"
   3122       ;;
   3123     esac
   3124 else
   3125   enable_shared=yes
   3126 fi;
   3127 
   3128 # Check whether --enable-static or --disable-static was given.
   3129 if test "${enable_static+set}" = set; then
   3130   enableval="$enable_static"
   3131   p=${PACKAGE-default}
   3132     case $enableval in
   3133     yes) enable_static=yes ;;
   3134     no) enable_static=no ;;
   3135     *)
   3136      enable_static=no
   3137       # Look at the argument we got.  We use all the common list separators.
   3138       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3139       for pkg in $enableval; do
   3140 	IFS="$lt_save_ifs"
   3141 	if test "X$pkg" = "X$p"; then
   3142 	  enable_static=yes
   3143 	fi
   3144       done
   3145       IFS="$lt_save_ifs"
   3146       ;;
   3147     esac
   3148 else
   3149   enable_static=yes
   3150 fi;
   3151 
   3152 # Check whether --enable-fast-install or --disable-fast-install was given.
   3153 if test "${enable_fast_install+set}" = set; then
   3154   enableval="$enable_fast_install"
   3155   p=${PACKAGE-default}
   3156     case $enableval in
   3157     yes) enable_fast_install=yes ;;
   3158     no) enable_fast_install=no ;;
   3159     *)
   3160       enable_fast_install=no
   3161       # Look at the argument we got.  We use all the common list separators.
   3162       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3163       for pkg in $enableval; do
   3164 	IFS="$lt_save_ifs"
   3165 	if test "X$pkg" = "X$p"; then
   3166 	  enable_fast_install=yes
   3167 	fi
   3168       done
   3169       IFS="$lt_save_ifs"
   3170       ;;
   3171     esac
   3172 else
   3173   enable_fast_install=yes
   3174 fi;
   3175 
   3176 # Make sure we can run config.sub.
   3177 $ac_config_sub sun4 >/dev/null 2>&1 ||
   3178   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   3179 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   3180    { (exit 1); exit 1; }; }
   3181 
   3182 echo "$as_me:$LINENO: checking build system type" >&5
   3183 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   3184 if test "${ac_cv_build+set}" = set; then
   3185   echo $ECHO_N "(cached) $ECHO_C" >&6
   3186 else
   3187   ac_cv_build_alias=$build_alias
   3188 test -z "$ac_cv_build_alias" &&
   3189   ac_cv_build_alias=`$ac_config_guess`
   3190 test -z "$ac_cv_build_alias" &&
   3191   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3192 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3193    { (exit 1); exit 1; }; }
   3194 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   3195   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   3196 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   3197    { (exit 1); exit 1; }; }
   3198 
   3199 fi
   3200 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3201 echo "${ECHO_T}$ac_cv_build" >&6
   3202 build=$ac_cv_build
   3203 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3204 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3205 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3206 
   3207 
   3208 echo "$as_me:$LINENO: checking host system type" >&5
   3209 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   3210 if test "${ac_cv_host+set}" = set; then
   3211   echo $ECHO_N "(cached) $ECHO_C" >&6
   3212 else
   3213   ac_cv_host_alias=$host_alias
   3214 test -z "$ac_cv_host_alias" &&
   3215   ac_cv_host_alias=$ac_cv_build_alias
   3216 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   3217   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   3218 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   3219    { (exit 1); exit 1; }; }
   3220 
   3221 fi
   3222 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3223 echo "${ECHO_T}$ac_cv_host" >&6
   3224 host=$ac_cv_host
   3225 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3226 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3227 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3228 
   3229 
   3230 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3231 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
   3232 if test "${lt_cv_path_SED+set}" = set; then
   3233   echo $ECHO_N "(cached) $ECHO_C" >&6
   3234 else
   3235   # Loop through the user's path and test for sed and gsed.
   3236 # Then use that list of sed's as ones to test for truncation.
   3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3238 for as_dir in $PATH
   3239 do
   3240   IFS=$as_save_IFS
   3241   test -z "$as_dir" && as_dir=.
   3242   for lt_ac_prog in sed gsed; do
   3243     for ac_exec_ext in '' $ac_executable_extensions; do
   3244       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3245         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3246       fi
   3247     done
   3248   done
   3249 done
   3250 lt_ac_max=0
   3251 lt_ac_count=0
   3252 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3253 # along with /bin/sed that truncates output.
   3254 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3255   test ! -f $lt_ac_sed && continue
   3256   cat /dev/null > conftest.in
   3257   lt_ac_count=0
   3258   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3259   # Check for GNU sed and select it if it is found.
   3260   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3261     lt_cv_path_SED=$lt_ac_sed
   3262     break
   3263   fi
   3264   while true; do
   3265     cat conftest.in conftest.in >conftest.tmp
   3266     mv conftest.tmp conftest.in
   3267     cp conftest.in conftest.nl
   3268     echo >>conftest.nl
   3269     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3270     cmp -s conftest.out conftest.nl || break
   3271     # 10000 chars as input seems more than enough
   3272     test $lt_ac_count -gt 10 && break
   3273     lt_ac_count=`expr $lt_ac_count + 1`
   3274     if test $lt_ac_count -gt $lt_ac_max; then
   3275       lt_ac_max=$lt_ac_count
   3276       lt_cv_path_SED=$lt_ac_sed
   3277     fi
   3278   done
   3279 done
   3280 
   3281 fi
   3282 
   3283 SED=$lt_cv_path_SED
   3284 echo "$as_me:$LINENO: result: $SED" >&5
   3285 echo "${ECHO_T}$SED" >&6
   3286 
   3287 echo "$as_me:$LINENO: checking for egrep" >&5
   3288 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3289 if test "${ac_cv_prog_egrep+set}" = set; then
   3290   echo $ECHO_N "(cached) $ECHO_C" >&6
   3291 else
   3292   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3293     then ac_cv_prog_egrep='grep -E'
   3294     else ac_cv_prog_egrep='egrep'
   3295     fi
   3296 fi
   3297 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3298 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3299  EGREP=$ac_cv_prog_egrep
   3300 
   3301 
   3302 
   3303 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   3304 if test "${with_gnu_ld+set}" = set; then
   3305   withval="$with_gnu_ld"
   3306   test "$withval" = no || with_gnu_ld=yes
   3307 else
   3308   with_gnu_ld=no
   3309 fi;
   3310 ac_prog=ld
   3311 if test "$GCC" = yes; then
   3312   # Check if gcc -print-prog-name=ld gives a path.
   3313   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3314 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   3315   case $host in
   3316   *-*-mingw*)
   3317     # gcc leaves a trailing carriage return which upsets mingw
   3318     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3319   *)
   3320     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3321   esac
   3322   case $ac_prog in
   3323     # Accept absolute paths.
   3324     [\\/]* | ?:[\\/]*)
   3325       re_direlt='/[^/][^/]*/\.\./'
   3326       # Canonicalize the pathname of ld
   3327       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3328       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3329 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3330       done
   3331       test -z "$LD" && LD="$ac_prog"
   3332       ;;
   3333   "")
   3334     # If it fails, then pretend we aren't using GCC.
   3335     ac_prog=ld
   3336     ;;
   3337   *)
   3338     # If it is relative, then search for the first ld in PATH.
   3339     with_gnu_ld=unknown
   3340     ;;
   3341   esac
   3342 elif test "$with_gnu_ld" = yes; then
   3343   echo "$as_me:$LINENO: checking for GNU ld" >&5
   3344 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   3345 else
   3346   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3347 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   3348 fi
   3349 if test "${lt_cv_path_LD+set}" = set; then
   3350   echo $ECHO_N "(cached) $ECHO_C" >&6
   3351 else
   3352   if test -z "$LD"; then
   3353   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3354   for ac_dir in $PATH; do
   3355     IFS="$lt_save_ifs"
   3356     test -z "$ac_dir" && ac_dir=.
   3357     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3358       lt_cv_path_LD="$ac_dir/$ac_prog"
   3359       # Check to see if the program is GNU ld.  I'd rather use --version,
   3360       # but apparently some variants of GNU ld only accept -v.
   3361       # Break only if it was the GNU/non-GNU ld that we prefer.
   3362       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   3363       *GNU* | *'with BFD'*)
   3364 	test "$with_gnu_ld" != no && break
   3365 	;;
   3366       *)
   3367 	test "$with_gnu_ld" != yes && break
   3368 	;;
   3369       esac
   3370     fi
   3371   done
   3372   IFS="$lt_save_ifs"
   3373 else
   3374   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   3375 fi
   3376 fi
   3377 
   3378 LD="$lt_cv_path_LD"
   3379 if test -n "$LD"; then
   3380   echo "$as_me:$LINENO: result: $LD" >&5
   3381 echo "${ECHO_T}$LD" >&6
   3382 else
   3383   echo "$as_me:$LINENO: result: no" >&5
   3384 echo "${ECHO_T}no" >&6
   3385 fi
   3386 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   3387 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   3388    { (exit 1); exit 1; }; }
   3389 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   3390 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   3391 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   3392   echo $ECHO_N "(cached) $ECHO_C" >&6
   3393 else
   3394   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   3395 case `$LD -v 2>&1 </dev/null` in
   3396 *GNU* | *'with BFD'*)
   3397   lt_cv_prog_gnu_ld=yes
   3398   ;;
   3399 *)
   3400   lt_cv_prog_gnu_ld=no
   3401   ;;
   3402 esac
   3403 fi
   3404 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   3405 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   3406 with_gnu_ld=$lt_cv_prog_gnu_ld
   3407 
   3408 
   3409 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   3410 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
   3411 if test "${lt_cv_ld_reload_flag+set}" = set; then
   3412   echo $ECHO_N "(cached) $ECHO_C" >&6
   3413 else
   3414   lt_cv_ld_reload_flag='-r'
   3415 fi
   3416 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   3417 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
   3418 reload_flag=$lt_cv_ld_reload_flag
   3419 case $reload_flag in
   3420 "" | " "*) ;;
   3421 *) reload_flag=" $reload_flag" ;;
   3422 esac
   3423 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3424 case $host_os in
   3425   darwin*)
   3426     if test "$GCC" = yes; then
   3427       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   3428     else
   3429       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3430     fi
   3431     ;;
   3432 esac
   3433 
   3434 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   3435 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
   3436 if test "${lt_cv_path_NM+set}" = set; then
   3437   echo $ECHO_N "(cached) $ECHO_C" >&6
   3438 else
   3439   if test -n "$NM"; then
   3440   # Let the user override the test.
   3441   lt_cv_path_NM="$NM"
   3442 else
   3443   lt_nm_to_check="${ac_tool_prefix}nm"
   3444   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   3445     lt_nm_to_check="$lt_nm_to_check nm"
   3446   fi
   3447   for lt_tmp_nm in $lt_nm_to_check; do
   3448     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3449     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   3450       IFS="$lt_save_ifs"
   3451       test -z "$ac_dir" && ac_dir=.
   3452       tmp_nm="$ac_dir/$lt_tmp_nm"
   3453       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   3454 	# Check to see if the nm accepts a BSD-compat flag.
   3455 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   3456 	#   nm: unknown option "B" ignored
   3457 	# Tru64's nm complains that /dev/null is an invalid object file
   3458 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   3459 	*/dev/null* | *'Invalid file or object type'*)
   3460 	  lt_cv_path_NM="$tmp_nm -B"
   3461 	  break
   3462 	  ;;
   3463 	*)
   3464 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   3465 	  */dev/null*)
   3466 	    lt_cv_path_NM="$tmp_nm -p"
   3467 	    break
   3468 	    ;;
   3469 	  *)
   3470 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   3471 	    continue # so that we can try to find one that supports BSD flags
   3472 	    ;;
   3473 	  esac
   3474 	  ;;
   3475 	esac
   3476       fi
   3477     done
   3478     IFS="$lt_save_ifs"
   3479   done
   3480   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   3481 fi
   3482 fi
   3483 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   3484 echo "${ECHO_T}$lt_cv_path_NM" >&6
   3485 NM="$lt_cv_path_NM"
   3486 
   3487 echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3488 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   3489 LN_S=$as_ln_s
   3490 if test "$LN_S" = "ln -s"; then
   3491   echo "$as_me:$LINENO: result: yes" >&5
   3492 echo "${ECHO_T}yes" >&6
   3493 else
   3494   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3495 echo "${ECHO_T}no, using $LN_S" >&6
   3496 fi
   3497 
   3498 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   3499 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
   3500 if test "${lt_cv_deplibs_check_method+set}" = set; then
   3501   echo $ECHO_N "(cached) $ECHO_C" >&6
   3502 else
   3503   lt_cv_file_magic_cmd='$MAGIC_CMD'
   3504 lt_cv_file_magic_test_file=
   3505 lt_cv_deplibs_check_method='unknown'
   3506 # Need to set the preceding variable on all platforms that support
   3507 # interlibrary dependencies.
   3508 # 'none' -- dependencies not supported.
   3509 # `unknown' -- same as none, but documents that we really don't know.
   3510 # 'pass_all' -- all dependencies passed with no checks.
   3511 # 'test_compile' -- check by making test program.
   3512 # 'file_magic [[regex]]' -- check by looking for files in library path
   3513 # which responds to the $file_magic_cmd with a given extended regex.
   3514 # If you have `file' or equivalent on your system and you're not sure
   3515 # whether `pass_all' will *always* work, you probably want this one.
   3516 
   3517 case $host_os in
   3518 aix4* | aix5*)
   3519   lt_cv_deplibs_check_method=pass_all
   3520   ;;
   3521 
   3522 beos*)
   3523   lt_cv_deplibs_check_method=pass_all
   3524   ;;
   3525 
   3526 bsdi[45]*)
   3527   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   3528   lt_cv_file_magic_cmd='/usr/bin/file -L'
   3529   lt_cv_file_magic_test_file=/shlib/libc.so
   3530   ;;
   3531 
   3532 cygwin*)
   3533   # func_win32_libid is a shell function defined in ltmain.sh
   3534   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   3535   lt_cv_file_magic_cmd='func_win32_libid'
   3536   ;;
   3537 
   3538 mingw* | pw32*)
   3539   # Base MSYS/MinGW do not provide the 'file' command needed by
   3540   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   3541   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   3542   lt_cv_file_magic_cmd='$OBJDUMP -f'
   3543   ;;
   3544 
   3545 darwin* | rhapsody*)
   3546   lt_cv_deplibs_check_method=pass_all
   3547   ;;
   3548 
   3549 freebsd* | kfreebsd*-gnu | dragonfly*)
   3550   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3551     case $host_cpu in
   3552     i*86 )
   3553       # Not sure whether the presence of OpenBSD here was a mistake.
   3554       # Let's accept both of them until this is cleared up.
   3555       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   3556       lt_cv_file_magic_cmd=/usr/bin/file
   3557       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   3558       ;;
   3559     esac
   3560   else
   3561     lt_cv_deplibs_check_method=pass_all
   3562   fi
   3563   ;;
   3564 
   3565 gnu*)
   3566   lt_cv_deplibs_check_method=pass_all
   3567   ;;
   3568 
   3569 hpux10.20* | hpux11*)
   3570   lt_cv_file_magic_cmd=/usr/bin/file
   3571   case $host_cpu in
   3572   ia64*)
   3573     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   3574     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   3575     ;;
   3576   hppa*64*)
   3577     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]'
   3578     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   3579     ;;
   3580   *)
   3581     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   3582     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   3583     ;;
   3584   esac
   3585   ;;
   3586 
   3587 interix3*)
   3588   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   3589   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   3590   ;;
   3591 
   3592 irix5* | irix6* | nonstopux*)
   3593   case $LD in
   3594   *-32|*"-32 ") libmagic=32-bit;;
   3595   *-n32|*"-n32 ") libmagic=N32;;
   3596   *-64|*"-64 ") libmagic=64-bit;;
   3597   *) libmagic=never-match;;
   3598   esac
   3599   lt_cv_deplibs_check_method=pass_all
   3600   ;;
   3601 
   3602 # This must be Linux ELF.
   3603 linux*)
   3604   lt_cv_deplibs_check_method=pass_all
   3605   ;;
   3606 
   3607 netbsd*)
   3608   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3609     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3610   else
   3611     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   3612   fi
   3613   ;;
   3614 
   3615 newos6*)
   3616   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   3617   lt_cv_file_magic_cmd=/usr/bin/file
   3618   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   3619   ;;
   3620 
   3621 nto-qnx*)
   3622   lt_cv_deplibs_check_method=unknown
   3623   ;;
   3624 
   3625 openbsd*)
   3626   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   3627     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   3628   else
   3629     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3630   fi
   3631   ;;
   3632 
   3633 osf3* | osf4* | osf5*)
   3634   lt_cv_deplibs_check_method=pass_all
   3635   ;;
   3636 
   3637 solaris*)
   3638   lt_cv_deplibs_check_method=pass_all
   3639   ;;
   3640 
   3641 sysv4 | sysv4.3*)
   3642   case $host_vendor in
   3643   motorola)
   3644     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]'
   3645     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   3646     ;;
   3647   ncr)
   3648     lt_cv_deplibs_check_method=pass_all
   3649     ;;
   3650   sequent)
   3651     lt_cv_file_magic_cmd='/bin/file'
   3652     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   3653     ;;
   3654   sni)
   3655     lt_cv_file_magic_cmd='/bin/file'
   3656     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   3657     lt_cv_file_magic_test_file=/lib/libc.so
   3658     ;;
   3659   siemens)
   3660     lt_cv_deplibs_check_method=pass_all
   3661     ;;
   3662   pc)
   3663     lt_cv_deplibs_check_method=pass_all
   3664     ;;
   3665   esac
   3666   ;;
   3667 
   3668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   3669   lt_cv_deplibs_check_method=pass_all
   3670   ;;
   3671 esac
   3672 
   3673 fi
   3674 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   3675 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
   3676 file_magic_cmd=$lt_cv_file_magic_cmd
   3677 deplibs_check_method=$lt_cv_deplibs_check_method
   3678 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   3679 
   3680 
   3681 
   3682 
   3683 # If no C compiler was specified, use CC.
   3684 LTCC=${LTCC-"$CC"}
   3685 
   3686 # If no C compiler flags were specified, use CFLAGS.
   3687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   3688 
   3689 # Allow CC to be a program name with arguments.
   3690 compiler=$CC
   3691 
   3692 
   3693 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   3694 if test "${enable_libtool_lock+set}" = set; then
   3695   enableval="$enable_libtool_lock"
   3696 
   3697 fi;
   3698 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   3699 
   3700 # Some flags need to be propagated to the compiler or linker for good
   3701 # libtool support.
   3702 case $host in
   3703 ia64-*-hpux*)
   3704   # Find out which ABI we are using.
   3705   echo 'int i;' > conftest.$ac_ext
   3706   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3707   (eval $ac_compile) 2>&5
   3708   ac_status=$?
   3709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3710   (exit $ac_status); }; then
   3711     case `/usr/bin/file conftest.$ac_objext` in
   3712     *ELF-32*)
   3713       HPUX_IA64_MODE="32"
   3714       ;;
   3715     *ELF-64*)
   3716       HPUX_IA64_MODE="64"
   3717       ;;
   3718     esac
   3719   fi
   3720   rm -rf conftest*
   3721   ;;
   3722 *-*-irix6*)
   3723   # Find out which ABI we are using.
   3724   echo '#line 3724 "configure"' > conftest.$ac_ext
   3725   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3726   (eval $ac_compile) 2>&5
   3727   ac_status=$?
   3728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3729   (exit $ac_status); }; then
   3730    if test "$lt_cv_prog_gnu_ld" = yes; then
   3731     case `/usr/bin/file conftest.$ac_objext` in
   3732     *32-bit*)
   3733       LD="${LD-ld} -melf32bsmip"
   3734       ;;
   3735     *N32*)
   3736       LD="${LD-ld} -melf32bmipn32"
   3737       ;;
   3738     *64-bit*)
   3739       LD="${LD-ld} -melf64bmip"
   3740       ;;
   3741     esac
   3742    else
   3743     case `/usr/bin/file conftest.$ac_objext` in
   3744     *32-bit*)
   3745       LD="${LD-ld} -32"
   3746       ;;
   3747     *N32*)
   3748       LD="${LD-ld} -n32"
   3749       ;;
   3750     *64-bit*)
   3751       LD="${LD-ld} -64"
   3752       ;;
   3753     esac
   3754    fi
   3755   fi
   3756   rm -rf conftest*
   3757   ;;
   3758 
   3759 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   3760   # Find out which ABI we are using.
   3761   echo 'int i;' > conftest.$ac_ext
   3762   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3763   (eval $ac_compile) 2>&5
   3764   ac_status=$?
   3765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3766   (exit $ac_status); }; then
   3767     case `/usr/bin/file conftest.o` in
   3768     *32-bit*)
   3769       case $host in
   3770         x86_64-*linux*)
   3771           LD="${LD-ld} -m elf_i386"
   3772           ;;
   3773         ppc64-*linux*|powerpc64-*linux*)
   3774           LD="${LD-ld} -m elf32ppclinux"
   3775           ;;
   3776         s390x-*linux*)
   3777           LD="${LD-ld} -m elf_s390"
   3778           ;;
   3779         sparc64-*linux*)
   3780           LD="${LD-ld} -m elf32_sparc"
   3781           ;;
   3782       esac
   3783       ;;
   3784     *64-bit*)
   3785       case $host in
   3786         x86_64-*linux*)
   3787           LD="${LD-ld} -m elf_x86_64"
   3788           ;;
   3789         ppc*-*linux*|powerpc*-*linux*)
   3790           LD="${LD-ld} -m elf64ppc"
   3791           ;;
   3792         s390*-*linux*)
   3793           LD="${LD-ld} -m elf64_s390"
   3794           ;;
   3795         sparc*-*linux*)
   3796           LD="${LD-ld} -m elf64_sparc"
   3797           ;;
   3798       esac
   3799       ;;
   3800     esac
   3801   fi
   3802   rm -rf conftest*
   3803   ;;
   3804 
   3805 *-*-sco3.2v5*)
   3806   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   3807   SAVE_CFLAGS="$CFLAGS"
   3808   CFLAGS="$CFLAGS -belf"
   3809   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   3810 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   3811 if test "${lt_cv_cc_needs_belf+set}" = set; then
   3812   echo $ECHO_N "(cached) $ECHO_C" >&6
   3813 else
   3814   ac_ext=c
   3815 ac_cpp='$CPP $CPPFLAGS'
   3816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3819 
   3820      cat >conftest.$ac_ext <<_ACEOF
   3821 /* confdefs.h.  */
   3822 _ACEOF
   3823 cat confdefs.h >>conftest.$ac_ext
   3824 cat >>conftest.$ac_ext <<_ACEOF
   3825 /* end confdefs.h.  */
   3826 
   3827 int
   3828 main ()
   3829 {
   3830 
   3831   ;
   3832   return 0;
   3833 }
   3834 _ACEOF
   3835 rm -f conftest.$ac_objext conftest$ac_exeext
   3836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3837   (eval $ac_link) 2>conftest.er1
   3838   ac_status=$?
   3839   grep -v '^ *+' conftest.er1 >conftest.err
   3840   rm -f conftest.er1
   3841   cat conftest.err >&5
   3842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3843   (exit $ac_status); } &&
   3844 	 { ac_try='test -z "$ac_c_werror_flag"
   3845 			 || test ! -s conftest.err'
   3846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3847   (eval $ac_try) 2>&5
   3848   ac_status=$?
   3849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3850   (exit $ac_status); }; } &&
   3851 	 { ac_try='test -s conftest$ac_exeext'
   3852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3853   (eval $ac_try) 2>&5
   3854   ac_status=$?
   3855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3856   (exit $ac_status); }; }; then
   3857   lt_cv_cc_needs_belf=yes
   3858 else
   3859   echo "$as_me: failed program was:" >&5
   3860 sed 's/^/| /' conftest.$ac_ext >&5
   3861 
   3862 lt_cv_cc_needs_belf=no
   3863 fi
   3864 rm -f conftest.err conftest.$ac_objext \
   3865       conftest$ac_exeext conftest.$ac_ext
   3866      ac_ext=c
   3867 ac_cpp='$CPP $CPPFLAGS'
   3868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3871 
   3872 fi
   3873 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   3874 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   3875   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   3876     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   3877     CFLAGS="$SAVE_CFLAGS"
   3878   fi
   3879   ;;
   3880 sparc*-*solaris*)
   3881   # Find out which ABI we are using.
   3882   echo 'int i;' > conftest.$ac_ext
   3883   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3884   (eval $ac_compile) 2>&5
   3885   ac_status=$?
   3886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3887   (exit $ac_status); }; then
   3888     case `/usr/bin/file conftest.o` in
   3889     *64-bit*)
   3890       case $lt_cv_prog_gnu_ld in
   3891       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   3892       *)    LD="${LD-ld} -64" ;;
   3893       esac
   3894       ;;
   3895     esac
   3896   fi
   3897   rm -rf conftest*
   3898   ;;
   3899 
   3900 
   3901 esac
   3902 
   3903 need_locks="$enable_libtool_lock"
   3904 
   3905 
   3906 ac_ext=c
   3907 ac_cpp='$CPP $CPPFLAGS'
   3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3911 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3912 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   3913 # On Suns, sometimes $CPP names a directory.
   3914 if test -n "$CPP" && test -d "$CPP"; then
   3915   CPP=
   3916 fi
   3917 if test -z "$CPP"; then
   3918   if test "${ac_cv_prog_CPP+set}" = set; then
   3919   echo $ECHO_N "(cached) $ECHO_C" >&6
   3920 else
   3921       # Double quotes because CPP needs to be expanded
   3922     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3923     do
   3924       ac_preproc_ok=false
   3925 for ac_c_preproc_warn_flag in '' yes
   3926 do
   3927   # Use a header file that comes with gcc, so configuring glibc
   3928   # with a fresh cross-compiler works.
   3929   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3930   # <limits.h> exists even on freestanding compilers.
   3931   # On the NeXT, cc -E runs the code through the compiler's parser,
   3932   # not just through cpp. "Syntax error" is here to catch this case.
   3933   cat >conftest.$ac_ext <<_ACEOF
   3934 /* confdefs.h.  */
   3935 _ACEOF
   3936 cat confdefs.h >>conftest.$ac_ext
   3937 cat >>conftest.$ac_ext <<_ACEOF
   3938 /* end confdefs.h.  */
   3939 #ifdef __STDC__
   3940 # include <limits.h>
   3941 #else
   3942 # include <assert.h>
   3943 #endif
   3944 		     Syntax error
   3945 _ACEOF
   3946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3947   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3948   ac_status=$?
   3949   grep -v '^ *+' conftest.er1 >conftest.err
   3950   rm -f conftest.er1
   3951   cat conftest.err >&5
   3952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3953   (exit $ac_status); } >/dev/null; then
   3954   if test -s conftest.err; then
   3955     ac_cpp_err=$ac_c_preproc_warn_flag
   3956     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3957   else
   3958     ac_cpp_err=
   3959   fi
   3960 else
   3961   ac_cpp_err=yes
   3962 fi
   3963 if test -z "$ac_cpp_err"; then
   3964   :
   3965 else
   3966   echo "$as_me: failed program was:" >&5
   3967 sed 's/^/| /' conftest.$ac_ext >&5
   3968 
   3969   # Broken: fails on valid input.
   3970 continue
   3971 fi
   3972 rm -f conftest.err conftest.$ac_ext
   3973 
   3974   # OK, works on sane cases.  Now check whether non-existent headers
   3975   # can be detected and how.
   3976   cat >conftest.$ac_ext <<_ACEOF
   3977 /* confdefs.h.  */
   3978 _ACEOF
   3979 cat confdefs.h >>conftest.$ac_ext
   3980 cat >>conftest.$ac_ext <<_ACEOF
   3981 /* end confdefs.h.  */
   3982 #include <ac_nonexistent.h>
   3983 _ACEOF
   3984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3985   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3986   ac_status=$?
   3987   grep -v '^ *+' conftest.er1 >conftest.err
   3988   rm -f conftest.er1
   3989   cat conftest.err >&5
   3990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3991   (exit $ac_status); } >/dev/null; then
   3992   if test -s conftest.err; then
   3993     ac_cpp_err=$ac_c_preproc_warn_flag
   3994     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3995   else
   3996     ac_cpp_err=
   3997   fi
   3998 else
   3999   ac_cpp_err=yes
   4000 fi
   4001 if test -z "$ac_cpp_err"; then
   4002   # Broken: success on invalid input.
   4003 continue
   4004 else
   4005   echo "$as_me: failed program was:" >&5
   4006 sed 's/^/| /' conftest.$ac_ext >&5
   4007 
   4008   # Passes both tests.
   4009 ac_preproc_ok=:
   4010 break
   4011 fi
   4012 rm -f conftest.err conftest.$ac_ext
   4013 
   4014 done
   4015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4016 rm -f conftest.err conftest.$ac_ext
   4017 if $ac_preproc_ok; then
   4018   break
   4019 fi
   4020 
   4021     done
   4022     ac_cv_prog_CPP=$CPP
   4023 
   4024 fi
   4025   CPP=$ac_cv_prog_CPP
   4026 else
   4027   ac_cv_prog_CPP=$CPP
   4028 fi
   4029 echo "$as_me:$LINENO: result: $CPP" >&5
   4030 echo "${ECHO_T}$CPP" >&6
   4031 ac_preproc_ok=false
   4032 for ac_c_preproc_warn_flag in '' yes
   4033 do
   4034   # Use a header file that comes with gcc, so configuring glibc
   4035   # with a fresh cross-compiler works.
   4036   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4037   # <limits.h> exists even on freestanding compilers.
   4038   # On the NeXT, cc -E runs the code through the compiler's parser,
   4039   # not just through cpp. "Syntax error" is here to catch this case.
   4040   cat >conftest.$ac_ext <<_ACEOF
   4041 /* confdefs.h.  */
   4042 _ACEOF
   4043 cat confdefs.h >>conftest.$ac_ext
   4044 cat >>conftest.$ac_ext <<_ACEOF
   4045 /* end confdefs.h.  */
   4046 #ifdef __STDC__
   4047 # include <limits.h>
   4048 #else
   4049 # include <assert.h>
   4050 #endif
   4051 		     Syntax error
   4052 _ACEOF
   4053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4054   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4055   ac_status=$?
   4056   grep -v '^ *+' conftest.er1 >conftest.err
   4057   rm -f conftest.er1
   4058   cat conftest.err >&5
   4059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4060   (exit $ac_status); } >/dev/null; then
   4061   if test -s conftest.err; then
   4062     ac_cpp_err=$ac_c_preproc_warn_flag
   4063     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4064   else
   4065     ac_cpp_err=
   4066   fi
   4067 else
   4068   ac_cpp_err=yes
   4069 fi
   4070 if test -z "$ac_cpp_err"; then
   4071   :
   4072 else
   4073   echo "$as_me: failed program was:" >&5
   4074 sed 's/^/| /' conftest.$ac_ext >&5
   4075 
   4076   # Broken: fails on valid input.
   4077 continue
   4078 fi
   4079 rm -f conftest.err conftest.$ac_ext
   4080 
   4081   # OK, works on sane cases.  Now check whether non-existent headers
   4082   # can be detected and how.
   4083   cat >conftest.$ac_ext <<_ACEOF
   4084 /* confdefs.h.  */
   4085 _ACEOF
   4086 cat confdefs.h >>conftest.$ac_ext
   4087 cat >>conftest.$ac_ext <<_ACEOF
   4088 /* end confdefs.h.  */
   4089 #include <ac_nonexistent.h>
   4090 _ACEOF
   4091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4092   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4093   ac_status=$?
   4094   grep -v '^ *+' conftest.er1 >conftest.err
   4095   rm -f conftest.er1
   4096   cat conftest.err >&5
   4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4098   (exit $ac_status); } >/dev/null; then
   4099   if test -s conftest.err; then
   4100     ac_cpp_err=$ac_c_preproc_warn_flag
   4101     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4102   else
   4103     ac_cpp_err=
   4104   fi
   4105 else
   4106   ac_cpp_err=yes
   4107 fi
   4108 if test -z "$ac_cpp_err"; then
   4109   # Broken: success on invalid input.
   4110 continue
   4111 else
   4112   echo "$as_me: failed program was:" >&5
   4113 sed 's/^/| /' conftest.$ac_ext >&5
   4114 
   4115   # Passes both tests.
   4116 ac_preproc_ok=:
   4117 break
   4118 fi
   4119 rm -f conftest.err conftest.$ac_ext
   4120 
   4121 done
   4122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4123 rm -f conftest.err conftest.$ac_ext
   4124 if $ac_preproc_ok; then
   4125   :
   4126 else
   4127   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4128 See \`config.log' for more details." >&5
   4129 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4130 See \`config.log' for more details." >&2;}
   4131    { (exit 1); exit 1; }; }
   4132 fi
   4133 
   4134 ac_ext=c
   4135 ac_cpp='$CPP $CPPFLAGS'
   4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4139 
   4140 
   4141 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4142 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4143 if test "${ac_cv_header_stdc+set}" = set; then
   4144   echo $ECHO_N "(cached) $ECHO_C" >&6
   4145 else
   4146   cat >conftest.$ac_ext <<_ACEOF
   4147 /* confdefs.h.  */
   4148 _ACEOF
   4149 cat confdefs.h >>conftest.$ac_ext
   4150 cat >>conftest.$ac_ext <<_ACEOF
   4151 /* end confdefs.h.  */
   4152 #include <stdlib.h>
   4153 #include <stdarg.h>
   4154 #include <string.h>
   4155 #include <float.h>
   4156 
   4157 int
   4158 main ()
   4159 {
   4160 
   4161   ;
   4162   return 0;
   4163 }
   4164 _ACEOF
   4165 rm -f conftest.$ac_objext
   4166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4167   (eval $ac_compile) 2>conftest.er1
   4168   ac_status=$?
   4169   grep -v '^ *+' conftest.er1 >conftest.err
   4170   rm -f conftest.er1
   4171   cat conftest.err >&5
   4172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4173   (exit $ac_status); } &&
   4174 	 { ac_try='test -z "$ac_c_werror_flag"
   4175 			 || test ! -s conftest.err'
   4176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4177   (eval $ac_try) 2>&5
   4178   ac_status=$?
   4179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4180   (exit $ac_status); }; } &&
   4181 	 { ac_try='test -s conftest.$ac_objext'
   4182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4183   (eval $ac_try) 2>&5
   4184   ac_status=$?
   4185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4186   (exit $ac_status); }; }; then
   4187   ac_cv_header_stdc=yes
   4188 else
   4189   echo "$as_me: failed program was:" >&5
   4190 sed 's/^/| /' conftest.$ac_ext >&5
   4191 
   4192 ac_cv_header_stdc=no
   4193 fi
   4194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4195 
   4196 if test $ac_cv_header_stdc = yes; then
   4197   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4198   cat >conftest.$ac_ext <<_ACEOF
   4199 /* confdefs.h.  */
   4200 _ACEOF
   4201 cat confdefs.h >>conftest.$ac_ext
   4202 cat >>conftest.$ac_ext <<_ACEOF
   4203 /* end confdefs.h.  */
   4204 #include <string.h>
   4205 
   4206 _ACEOF
   4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4208   $EGREP "memchr" >/dev/null 2>&1; then
   4209   :
   4210 else
   4211   ac_cv_header_stdc=no
   4212 fi
   4213 rm -f conftest*
   4214 
   4215 fi
   4216 
   4217 if test $ac_cv_header_stdc = yes; then
   4218   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4219   cat >conftest.$ac_ext <<_ACEOF
   4220 /* confdefs.h.  */
   4221 _ACEOF
   4222 cat confdefs.h >>conftest.$ac_ext
   4223 cat >>conftest.$ac_ext <<_ACEOF
   4224 /* end confdefs.h.  */
   4225 #include <stdlib.h>
   4226 
   4227 _ACEOF
   4228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4229   $EGREP "free" >/dev/null 2>&1; then
   4230   :
   4231 else
   4232   ac_cv_header_stdc=no
   4233 fi
   4234 rm -f conftest*
   4235 
   4236 fi
   4237 
   4238 if test $ac_cv_header_stdc = yes; then
   4239   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4240   if test "$cross_compiling" = yes; then
   4241   :
   4242 else
   4243   cat >conftest.$ac_ext <<_ACEOF
   4244 /* confdefs.h.  */
   4245 _ACEOF
   4246 cat confdefs.h >>conftest.$ac_ext
   4247 cat >>conftest.$ac_ext <<_ACEOF
   4248 /* end confdefs.h.  */
   4249 #include <ctype.h>
   4250 #if ((' ' & 0x0FF) == 0x020)
   4251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4253 #else
   4254 # define ISLOWER(c) \
   4255 		   (('a' <= (c) && (c) <= 'i') \
   4256 		     || ('j' <= (c) && (c) <= 'r') \
   4257 		     || ('s' <= (c) && (c) <= 'z'))
   4258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4259 #endif
   4260 
   4261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4262 int
   4263 main ()
   4264 {
   4265   int i;
   4266   for (i = 0; i < 256; i++)
   4267     if (XOR (islower (i), ISLOWER (i))
   4268 	|| toupper (i) != TOUPPER (i))
   4269       exit(2);
   4270   exit (0);
   4271 }
   4272 _ACEOF
   4273 rm -f conftest$ac_exeext
   4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4275   (eval $ac_link) 2>&5
   4276   ac_status=$?
   4277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4278   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4280   (eval $ac_try) 2>&5
   4281   ac_status=$?
   4282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4283   (exit $ac_status); }; }; then
   4284   :
   4285 else
   4286   echo "$as_me: program exited with status $ac_status" >&5
   4287 echo "$as_me: failed program was:" >&5
   4288 sed 's/^/| /' conftest.$ac_ext >&5
   4289 
   4290 ( exit $ac_status )
   4291 ac_cv_header_stdc=no
   4292 fi
   4293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4294 fi
   4295 fi
   4296 fi
   4297 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4298 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4299 if test $ac_cv_header_stdc = yes; then
   4300 
   4301 cat >>confdefs.h <<\_ACEOF
   4302 #define STDC_HEADERS 1
   4303 _ACEOF
   4304 
   4305 fi
   4306 
   4307 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 
   4317 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4318 		  inttypes.h stdint.h unistd.h
   4319 do
   4320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4321 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4324   echo $ECHO_N "(cached) $ECHO_C" >&6
   4325 else
   4326   cat >conftest.$ac_ext <<_ACEOF
   4327 /* confdefs.h.  */
   4328 _ACEOF
   4329 cat confdefs.h >>conftest.$ac_ext
   4330 cat >>conftest.$ac_ext <<_ACEOF
   4331 /* end confdefs.h.  */
   4332 $ac_includes_default
   4333 
   4334 #include <$ac_header>
   4335 _ACEOF
   4336 rm -f conftest.$ac_objext
   4337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4338   (eval $ac_compile) 2>conftest.er1
   4339   ac_status=$?
   4340   grep -v '^ *+' conftest.er1 >conftest.err
   4341   rm -f conftest.er1
   4342   cat conftest.err >&5
   4343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4344   (exit $ac_status); } &&
   4345 	 { ac_try='test -z "$ac_c_werror_flag"
   4346 			 || test ! -s conftest.err'
   4347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4348   (eval $ac_try) 2>&5
   4349   ac_status=$?
   4350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4351   (exit $ac_status); }; } &&
   4352 	 { ac_try='test -s conftest.$ac_objext'
   4353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4354   (eval $ac_try) 2>&5
   4355   ac_status=$?
   4356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4357   (exit $ac_status); }; }; then
   4358   eval "$as_ac_Header=yes"
   4359 else
   4360   echo "$as_me: failed program was:" >&5
   4361 sed 's/^/| /' conftest.$ac_ext >&5
   4362 
   4363 eval "$as_ac_Header=no"
   4364 fi
   4365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4366 fi
   4367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4370   cat >>confdefs.h <<_ACEOF
   4371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4372 _ACEOF
   4373 
   4374 fi
   4375 
   4376 done
   4377 
   4378 
   4379 
   4380 for ac_header in dlfcn.h
   4381 do
   4382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4384   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4387   echo $ECHO_N "(cached) $ECHO_C" >&6
   4388 fi
   4389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4391 else
   4392   # Is the header compilable?
   4393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4395 cat >conftest.$ac_ext <<_ACEOF
   4396 /* confdefs.h.  */
   4397 _ACEOF
   4398 cat confdefs.h >>conftest.$ac_ext
   4399 cat >>conftest.$ac_ext <<_ACEOF
   4400 /* end confdefs.h.  */
   4401 $ac_includes_default
   4402 #include <$ac_header>
   4403 _ACEOF
   4404 rm -f conftest.$ac_objext
   4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4406   (eval $ac_compile) 2>conftest.er1
   4407   ac_status=$?
   4408   grep -v '^ *+' conftest.er1 >conftest.err
   4409   rm -f conftest.er1
   4410   cat conftest.err >&5
   4411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4412   (exit $ac_status); } &&
   4413 	 { ac_try='test -z "$ac_c_werror_flag"
   4414 			 || test ! -s conftest.err'
   4415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4416   (eval $ac_try) 2>&5
   4417   ac_status=$?
   4418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4419   (exit $ac_status); }; } &&
   4420 	 { ac_try='test -s conftest.$ac_objext'
   4421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4422   (eval $ac_try) 2>&5
   4423   ac_status=$?
   4424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4425   (exit $ac_status); }; }; then
   4426   ac_header_compiler=yes
   4427 else
   4428   echo "$as_me: failed program was:" >&5
   4429 sed 's/^/| /' conftest.$ac_ext >&5
   4430 
   4431 ac_header_compiler=no
   4432 fi
   4433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4435 echo "${ECHO_T}$ac_header_compiler" >&6
   4436 
   4437 # Is the header present?
   4438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4440 cat >conftest.$ac_ext <<_ACEOF
   4441 /* confdefs.h.  */
   4442 _ACEOF
   4443 cat confdefs.h >>conftest.$ac_ext
   4444 cat >>conftest.$ac_ext <<_ACEOF
   4445 /* end confdefs.h.  */
   4446 #include <$ac_header>
   4447 _ACEOF
   4448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4449   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4450   ac_status=$?
   4451   grep -v '^ *+' conftest.er1 >conftest.err
   4452   rm -f conftest.er1
   4453   cat conftest.err >&5
   4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455   (exit $ac_status); } >/dev/null; then
   4456   if test -s conftest.err; then
   4457     ac_cpp_err=$ac_c_preproc_warn_flag
   4458     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4459   else
   4460     ac_cpp_err=
   4461   fi
   4462 else
   4463   ac_cpp_err=yes
   4464 fi
   4465 if test -z "$ac_cpp_err"; then
   4466   ac_header_preproc=yes
   4467 else
   4468   echo "$as_me: failed program was:" >&5
   4469 sed 's/^/| /' conftest.$ac_ext >&5
   4470 
   4471   ac_header_preproc=no
   4472 fi
   4473 rm -f conftest.err conftest.$ac_ext
   4474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4475 echo "${ECHO_T}$ac_header_preproc" >&6
   4476 
   4477 # So?  What about this header?
   4478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4479   yes:no: )
   4480     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4482     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4484     ac_header_preproc=yes
   4485     ;;
   4486   no:yes:* )
   4487     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4489     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4490 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4491     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4493     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4494 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4495     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4497     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4499     (
   4500       cat <<\_ASBOX
   4501 ## ---------------------------------------------------------------------- ##
   4502 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   4503 ## ---------------------------------------------------------------------- ##
   4504 _ASBOX
   4505     ) |
   4506       sed "s/^/$as_me: WARNING:     /" >&2
   4507     ;;
   4508 esac
   4509 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4512   echo $ECHO_N "(cached) $ECHO_C" >&6
   4513 else
   4514   eval "$as_ac_Header=\$ac_header_preproc"
   4515 fi
   4516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4518 
   4519 fi
   4520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4521   cat >>confdefs.h <<_ACEOF
   4522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4523 _ACEOF
   4524 
   4525 fi
   4526 
   4527 done
   4528 
   4529 ac_ext=cc
   4530 ac_cpp='$CXXCPP $CPPFLAGS'
   4531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4534 if test -n "$ac_tool_prefix"; then
   4535   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4536   do
   4537     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4539 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4541 if test "${ac_cv_prog_CXX+set}" = set; then
   4542   echo $ECHO_N "(cached) $ECHO_C" >&6
   4543 else
   4544   if test -n "$CXX"; then
   4545   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4546 else
   4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4548 for as_dir in $PATH
   4549 do
   4550   IFS=$as_save_IFS
   4551   test -z "$as_dir" && as_dir=.
   4552   for ac_exec_ext in '' $ac_executable_extensions; do
   4553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4554     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4556     break 2
   4557   fi
   4558 done
   4559 done
   4560 
   4561 fi
   4562 fi
   4563 CXX=$ac_cv_prog_CXX
   4564 if test -n "$CXX"; then
   4565   echo "$as_me:$LINENO: result: $CXX" >&5
   4566 echo "${ECHO_T}$CXX" >&6
   4567 else
   4568   echo "$as_me:$LINENO: result: no" >&5
   4569 echo "${ECHO_T}no" >&6
   4570 fi
   4571 
   4572     test -n "$CXX" && break
   4573   done
   4574 fi
   4575 if test -z "$CXX"; then
   4576   ac_ct_CXX=$CXX
   4577   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4578 do
   4579   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4580 set dummy $ac_prog; ac_word=$2
   4581 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4583 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   4584   echo $ECHO_N "(cached) $ECHO_C" >&6
   4585 else
   4586   if test -n "$ac_ct_CXX"; then
   4587   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4588 else
   4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4590 for as_dir in $PATH
   4591 do
   4592   IFS=$as_save_IFS
   4593   test -z "$as_dir" && as_dir=.
   4594   for ac_exec_ext in '' $ac_executable_extensions; do
   4595   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4596     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4598     break 2
   4599   fi
   4600 done
   4601 done
   4602 
   4603 fi
   4604 fi
   4605 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4606 if test -n "$ac_ct_CXX"; then
   4607   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   4608 echo "${ECHO_T}$ac_ct_CXX" >&6
   4609 else
   4610   echo "$as_me:$LINENO: result: no" >&5
   4611 echo "${ECHO_T}no" >&6
   4612 fi
   4613 
   4614   test -n "$ac_ct_CXX" && break
   4615 done
   4616 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
   4617 
   4618   CXX=$ac_ct_CXX
   4619 fi
   4620 
   4621 
   4622 # Provide some information about the compiler.
   4623 echo "$as_me:$LINENO:" \
   4624      "checking for C++ compiler version" >&5
   4625 ac_compiler=`set X $ac_compile; echo $2`
   4626 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   4627   (eval $ac_compiler --version </dev/null >&5) 2>&5
   4628   ac_status=$?
   4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4630   (exit $ac_status); }
   4631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   4632   (eval $ac_compiler -v </dev/null >&5) 2>&5
   4633   ac_status=$?
   4634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4635   (exit $ac_status); }
   4636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   4637   (eval $ac_compiler -V </dev/null >&5) 2>&5
   4638   ac_status=$?
   4639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4640   (exit $ac_status); }
   4641 
   4642 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   4643 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   4644 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   4645   echo $ECHO_N "(cached) $ECHO_C" >&6
   4646 else
   4647   cat >conftest.$ac_ext <<_ACEOF
   4648 /* confdefs.h.  */
   4649 _ACEOF
   4650 cat confdefs.h >>conftest.$ac_ext
   4651 cat >>conftest.$ac_ext <<_ACEOF
   4652 /* end confdefs.h.  */
   4653 
   4654 int
   4655 main ()
   4656 {
   4657 #ifndef __GNUC__
   4658        choke me
   4659 #endif
   4660 
   4661   ;
   4662   return 0;
   4663 }
   4664 _ACEOF
   4665 rm -f conftest.$ac_objext
   4666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4667   (eval $ac_compile) 2>conftest.er1
   4668   ac_status=$?
   4669   grep -v '^ *+' conftest.er1 >conftest.err
   4670   rm -f conftest.er1
   4671   cat conftest.err >&5
   4672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4673   (exit $ac_status); } &&
   4674 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4675 			 || test ! -s conftest.err'
   4676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4677   (eval $ac_try) 2>&5
   4678   ac_status=$?
   4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4680   (exit $ac_status); }; } &&
   4681 	 { ac_try='test -s conftest.$ac_objext'
   4682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4683   (eval $ac_try) 2>&5
   4684   ac_status=$?
   4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4686   (exit $ac_status); }; }; then
   4687   ac_compiler_gnu=yes
   4688 else
   4689   echo "$as_me: failed program was:" >&5
   4690 sed 's/^/| /' conftest.$ac_ext >&5
   4691 
   4692 ac_compiler_gnu=no
   4693 fi
   4694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4695 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4696 
   4697 fi
   4698 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   4699 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   4700 GXX=`test $ac_compiler_gnu = yes && echo yes`
   4701 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4702 ac_save_CXXFLAGS=$CXXFLAGS
   4703 CXXFLAGS="-g"
   4704 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   4705 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   4706 if test "${ac_cv_prog_cxx_g+set}" = set; then
   4707   echo $ECHO_N "(cached) $ECHO_C" >&6
   4708 else
   4709   cat >conftest.$ac_ext <<_ACEOF
   4710 /* confdefs.h.  */
   4711 _ACEOF
   4712 cat confdefs.h >>conftest.$ac_ext
   4713 cat >>conftest.$ac_ext <<_ACEOF
   4714 /* end confdefs.h.  */
   4715 
   4716 int
   4717 main ()
   4718 {
   4719 
   4720   ;
   4721   return 0;
   4722 }
   4723 _ACEOF
   4724 rm -f conftest.$ac_objext
   4725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4726   (eval $ac_compile) 2>conftest.er1
   4727   ac_status=$?
   4728   grep -v '^ *+' conftest.er1 >conftest.err
   4729   rm -f conftest.er1
   4730   cat conftest.err >&5
   4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4732   (exit $ac_status); } &&
   4733 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4734 			 || test ! -s conftest.err'
   4735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4736   (eval $ac_try) 2>&5
   4737   ac_status=$?
   4738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4739   (exit $ac_status); }; } &&
   4740 	 { ac_try='test -s conftest.$ac_objext'
   4741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4742   (eval $ac_try) 2>&5
   4743   ac_status=$?
   4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4745   (exit $ac_status); }; }; then
   4746   ac_cv_prog_cxx_g=yes
   4747 else
   4748   echo "$as_me: failed program was:" >&5
   4749 sed 's/^/| /' conftest.$ac_ext >&5
   4750 
   4751 ac_cv_prog_cxx_g=no
   4752 fi
   4753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4754 fi
   4755 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   4756 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
   4757 if test "$ac_test_CXXFLAGS" = set; then
   4758   CXXFLAGS=$ac_save_CXXFLAGS
   4759 elif test $ac_cv_prog_cxx_g = yes; then
   4760   if test "$GXX" = yes; then
   4761     CXXFLAGS="-g -O2"
   4762   else
   4763     CXXFLAGS="-g"
   4764   fi
   4765 else
   4766   if test "$GXX" = yes; then
   4767     CXXFLAGS="-O2"
   4768   else
   4769     CXXFLAGS=
   4770   fi
   4771 fi
   4772 for ac_declaration in \
   4773    '' \
   4774    'extern "C" void std::exit (int) throw (); using std::exit;' \
   4775    'extern "C" void std::exit (int); using std::exit;' \
   4776    'extern "C" void exit (int) throw ();' \
   4777    'extern "C" void exit (int);' \
   4778    'void exit (int);'
   4779 do
   4780   cat >conftest.$ac_ext <<_ACEOF
   4781 /* confdefs.h.  */
   4782 _ACEOF
   4783 cat confdefs.h >>conftest.$ac_ext
   4784 cat >>conftest.$ac_ext <<_ACEOF
   4785 /* end confdefs.h.  */
   4786 $ac_declaration
   4787 #include <stdlib.h>
   4788 int
   4789 main ()
   4790 {
   4791 exit (42);
   4792   ;
   4793   return 0;
   4794 }
   4795 _ACEOF
   4796 rm -f conftest.$ac_objext
   4797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4798   (eval $ac_compile) 2>conftest.er1
   4799   ac_status=$?
   4800   grep -v '^ *+' conftest.er1 >conftest.err
   4801   rm -f conftest.er1
   4802   cat conftest.err >&5
   4803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4804   (exit $ac_status); } &&
   4805 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4806 			 || test ! -s conftest.err'
   4807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4808   (eval $ac_try) 2>&5
   4809   ac_status=$?
   4810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4811   (exit $ac_status); }; } &&
   4812 	 { ac_try='test -s conftest.$ac_objext'
   4813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4814   (eval $ac_try) 2>&5
   4815   ac_status=$?
   4816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4817   (exit $ac_status); }; }; then
   4818   :
   4819 else
   4820   echo "$as_me: failed program was:" >&5
   4821 sed 's/^/| /' conftest.$ac_ext >&5
   4822 
   4823 continue
   4824 fi
   4825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4826   cat >conftest.$ac_ext <<_ACEOF
   4827 /* confdefs.h.  */
   4828 _ACEOF
   4829 cat confdefs.h >>conftest.$ac_ext
   4830 cat >>conftest.$ac_ext <<_ACEOF
   4831 /* end confdefs.h.  */
   4832 $ac_declaration
   4833 int
   4834 main ()
   4835 {
   4836 exit (42);
   4837   ;
   4838   return 0;
   4839 }
   4840 _ACEOF
   4841 rm -f conftest.$ac_objext
   4842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4843   (eval $ac_compile) 2>conftest.er1
   4844   ac_status=$?
   4845   grep -v '^ *+' conftest.er1 >conftest.err
   4846   rm -f conftest.er1
   4847   cat conftest.err >&5
   4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4849   (exit $ac_status); } &&
   4850 	 { ac_try='test -z "$ac_cxx_werror_flag"
   4851 			 || test ! -s conftest.err'
   4852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4853   (eval $ac_try) 2>&5
   4854   ac_status=$?
   4855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4856   (exit $ac_status); }; } &&
   4857 	 { ac_try='test -s conftest.$ac_objext'
   4858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4859   (eval $ac_try) 2>&5
   4860   ac_status=$?
   4861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4862   (exit $ac_status); }; }; then
   4863   break
   4864 else
   4865   echo "$as_me: failed program was:" >&5
   4866 sed 's/^/| /' conftest.$ac_ext >&5
   4867 
   4868 fi
   4869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4870 done
   4871 rm -f conftest*
   4872 if test -n "$ac_declaration"; then
   4873   echo '#ifdef __cplusplus' >>confdefs.h
   4874   echo $ac_declaration      >>confdefs.h
   4875   echo '#endif'             >>confdefs.h
   4876 fi
   4877 
   4878 ac_ext=cc
   4879 ac_cpp='$CXXCPP $CPPFLAGS'
   4880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4883 
   4884 depcc="$CXX"  am_compiler_list=
   4885 
   4886 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4887 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   4888 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   4889   echo $ECHO_N "(cached) $ECHO_C" >&6
   4890 else
   4891   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4892   # We make a subdir and do the tests there.  Otherwise we can end up
   4893   # making bogus files that we don't know about and never remove.  For
   4894   # instance it was reported that on HP-UX the gcc test will end up
   4895   # making a dummy file named `D' -- because `-MD' means `put the output
   4896   # in D'.
   4897   mkdir conftest.dir
   4898   # Copy depcomp to subdir because otherwise we won't find it if we're
   4899   # using a relative directory.
   4900   cp "$am_depcomp" conftest.dir
   4901   cd conftest.dir
   4902   # We will build objects and dependencies in a subdirectory because
   4903   # it helps to detect inapplicable dependency modes.  For instance
   4904   # both Tru64's cc and ICC support -MD to output dependencies as a
   4905   # side effect of compilation, but ICC will put the dependencies in
   4906   # the current directory while Tru64 will put them in the object
   4907   # directory.
   4908   mkdir sub
   4909 
   4910   am_cv_CXX_dependencies_compiler_type=none
   4911   if test "$am_compiler_list" = ""; then
   4912      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4913   fi
   4914   for depmode in $am_compiler_list; do
   4915     # Setup a source with many dependencies, because some compilers
   4916     # like to wrap large dependency lists on column 80 (with \), and
   4917     # we should not choose a depcomp mode which is confused by this.
   4918     #
   4919     # We need to recreate these files for each test, as the compiler may
   4920     # overwrite some of them when testing with obscure command lines.
   4921     # This happens at least with the AIX C compiler.
   4922     : > sub/conftest.c
   4923     for i in 1 2 3 4 5 6; do
   4924       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4925       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4926       # Solaris 8's {/usr,}/bin/sh.
   4927       touch sub/conftst$i.h
   4928     done
   4929     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4930 
   4931     case $depmode in
   4932     nosideeffect)
   4933       # after this tag, mechanisms are not by side-effect, so they'll
   4934       # only be used when explicitly requested
   4935       if test "x$enable_dependency_tracking" = xyes; then
   4936 	continue
   4937       else
   4938 	break
   4939       fi
   4940       ;;
   4941     none) break ;;
   4942     esac
   4943     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4944     # mode.  It turns out that the SunPro C++ compiler does not properly
   4945     # handle `-M -o', and we need to detect this.
   4946     if depmode=$depmode \
   4947        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4948        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4949        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4950          >/dev/null 2>conftest.err &&
   4951        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4952        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4953        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4954       # icc doesn't choke on unknown options, it will just issue warnings
   4955       # or remarks (even with -Werror).  So we grep stderr for any message
   4956       # that says an option was ignored or not supported.
   4957       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4958       #   icc: Command line warning: ignoring option '-M'; no argument required
   4959       # The diagnosis changed in icc 8.0:
   4960       #   icc: Command line remark: option '-MP' not supported
   4961       if (grep 'ignoring option' conftest.err ||
   4962           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4963         am_cv_CXX_dependencies_compiler_type=$depmode
   4964         break
   4965       fi
   4966     fi
   4967   done
   4968 
   4969   cd ..
   4970   rm -rf conftest.dir
   4971 else
   4972   am_cv_CXX_dependencies_compiler_type=none
   4973 fi
   4974 
   4975 fi
   4976 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4977 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   4978 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4979 
   4980 
   4981 
   4982 if
   4983   test "x$enable_dependency_tracking" != xno \
   4984   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4985   am__fastdepCXX_TRUE=
   4986   am__fastdepCXX_FALSE='#'
   4987 else
   4988   am__fastdepCXX_TRUE='#'
   4989   am__fastdepCXX_FALSE=
   4990 fi
   4991 
   4992 
   4993 
   4994 
   4995 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   4996     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   4997     (test "X$CXX" != "Xg++"))) ; then
   4998   ac_ext=cc
   4999 ac_cpp='$CXXCPP $CPPFLAGS'
   5000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5003 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5004 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
   5005 if test -z "$CXXCPP"; then
   5006   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5007   echo $ECHO_N "(cached) $ECHO_C" >&6
   5008 else
   5009       # Double quotes because CXXCPP needs to be expanded
   5010     for CXXCPP in "$CXX -E" "/lib/cpp"
   5011     do
   5012       ac_preproc_ok=false
   5013 for ac_cxx_preproc_warn_flag in '' yes
   5014 do
   5015   # Use a header file that comes with gcc, so configuring glibc
   5016   # with a fresh cross-compiler works.
   5017   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5018   # <limits.h> exists even on freestanding compilers.
   5019   # On the NeXT, cc -E runs the code through the compiler's parser,
   5020   # not just through cpp. "Syntax error" is here to catch this case.
   5021   cat >conftest.$ac_ext <<_ACEOF
   5022 /* confdefs.h.  */
   5023 _ACEOF
   5024 cat confdefs.h >>conftest.$ac_ext
   5025 cat >>conftest.$ac_ext <<_ACEOF
   5026 /* end confdefs.h.  */
   5027 #ifdef __STDC__
   5028 # include <limits.h>
   5029 #else
   5030 # include <assert.h>
   5031 #endif
   5032 		     Syntax error
   5033 _ACEOF
   5034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5035   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5036   ac_status=$?
   5037   grep -v '^ *+' conftest.er1 >conftest.err
   5038   rm -f conftest.er1
   5039   cat conftest.err >&5
   5040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5041   (exit $ac_status); } >/dev/null; then
   5042   if test -s conftest.err; then
   5043     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5044     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5045   else
   5046     ac_cpp_err=
   5047   fi
   5048 else
   5049   ac_cpp_err=yes
   5050 fi
   5051 if test -z "$ac_cpp_err"; then
   5052   :
   5053 else
   5054   echo "$as_me: failed program was:" >&5
   5055 sed 's/^/| /' conftest.$ac_ext >&5
   5056 
   5057   # Broken: fails on valid input.
   5058 continue
   5059 fi
   5060 rm -f conftest.err conftest.$ac_ext
   5061 
   5062   # OK, works on sane cases.  Now check whether non-existent headers
   5063   # can be detected and how.
   5064   cat >conftest.$ac_ext <<_ACEOF
   5065 /* confdefs.h.  */
   5066 _ACEOF
   5067 cat confdefs.h >>conftest.$ac_ext
   5068 cat >>conftest.$ac_ext <<_ACEOF
   5069 /* end confdefs.h.  */
   5070 #include <ac_nonexistent.h>
   5071 _ACEOF
   5072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5073   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5074   ac_status=$?
   5075   grep -v '^ *+' conftest.er1 >conftest.err
   5076   rm -f conftest.er1
   5077   cat conftest.err >&5
   5078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5079   (exit $ac_status); } >/dev/null; then
   5080   if test -s conftest.err; then
   5081     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5082     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5083   else
   5084     ac_cpp_err=
   5085   fi
   5086 else
   5087   ac_cpp_err=yes
   5088 fi
   5089 if test -z "$ac_cpp_err"; then
   5090   # Broken: success on invalid input.
   5091 continue
   5092 else
   5093   echo "$as_me: failed program was:" >&5
   5094 sed 's/^/| /' conftest.$ac_ext >&5
   5095 
   5096   # Passes both tests.
   5097 ac_preproc_ok=:
   5098 break
   5099 fi
   5100 rm -f conftest.err conftest.$ac_ext
   5101 
   5102 done
   5103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5104 rm -f conftest.err conftest.$ac_ext
   5105 if $ac_preproc_ok; then
   5106   break
   5107 fi
   5108 
   5109     done
   5110     ac_cv_prog_CXXCPP=$CXXCPP
   5111 
   5112 fi
   5113   CXXCPP=$ac_cv_prog_CXXCPP
   5114 else
   5115   ac_cv_prog_CXXCPP=$CXXCPP
   5116 fi
   5117 echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5118 echo "${ECHO_T}$CXXCPP" >&6
   5119 ac_preproc_ok=false
   5120 for ac_cxx_preproc_warn_flag in '' yes
   5121 do
   5122   # Use a header file that comes with gcc, so configuring glibc
   5123   # with a fresh cross-compiler works.
   5124   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5125   # <limits.h> exists even on freestanding compilers.
   5126   # On the NeXT, cc -E runs the code through the compiler's parser,
   5127   # not just through cpp. "Syntax error" is here to catch this case.
   5128   cat >conftest.$ac_ext <<_ACEOF
   5129 /* confdefs.h.  */
   5130 _ACEOF
   5131 cat confdefs.h >>conftest.$ac_ext
   5132 cat >>conftest.$ac_ext <<_ACEOF
   5133 /* end confdefs.h.  */
   5134 #ifdef __STDC__
   5135 # include <limits.h>
   5136 #else
   5137 # include <assert.h>
   5138 #endif
   5139 		     Syntax error
   5140 _ACEOF
   5141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5142   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5143   ac_status=$?
   5144   grep -v '^ *+' conftest.er1 >conftest.err
   5145   rm -f conftest.er1
   5146   cat conftest.err >&5
   5147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5148   (exit $ac_status); } >/dev/null; then
   5149   if test -s conftest.err; then
   5150     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5151     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5152   else
   5153     ac_cpp_err=
   5154   fi
   5155 else
   5156   ac_cpp_err=yes
   5157 fi
   5158 if test -z "$ac_cpp_err"; then
   5159   :
   5160 else
   5161   echo "$as_me: failed program was:" >&5
   5162 sed 's/^/| /' conftest.$ac_ext >&5
   5163 
   5164   # Broken: fails on valid input.
   5165 continue
   5166 fi
   5167 rm -f conftest.err conftest.$ac_ext
   5168 
   5169   # OK, works on sane cases.  Now check whether non-existent headers
   5170   # can be detected and how.
   5171   cat >conftest.$ac_ext <<_ACEOF
   5172 /* confdefs.h.  */
   5173 _ACEOF
   5174 cat confdefs.h >>conftest.$ac_ext
   5175 cat >>conftest.$ac_ext <<_ACEOF
   5176 /* end confdefs.h.  */
   5177 #include <ac_nonexistent.h>
   5178 _ACEOF
   5179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5180   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5181   ac_status=$?
   5182   grep -v '^ *+' conftest.er1 >conftest.err
   5183   rm -f conftest.er1
   5184   cat conftest.err >&5
   5185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5186   (exit $ac_status); } >/dev/null; then
   5187   if test -s conftest.err; then
   5188     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5189     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5190   else
   5191     ac_cpp_err=
   5192   fi
   5193 else
   5194   ac_cpp_err=yes
   5195 fi
   5196 if test -z "$ac_cpp_err"; then
   5197   # Broken: success on invalid input.
   5198 continue
   5199 else
   5200   echo "$as_me: failed program was:" >&5
   5201 sed 's/^/| /' conftest.$ac_ext >&5
   5202 
   5203   # Passes both tests.
   5204 ac_preproc_ok=:
   5205 break
   5206 fi
   5207 rm -f conftest.err conftest.$ac_ext
   5208 
   5209 done
   5210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5211 rm -f conftest.err conftest.$ac_ext
   5212 if $ac_preproc_ok; then
   5213   :
   5214 else
   5215   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5216 See \`config.log' for more details." >&5
   5217 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5218 See \`config.log' for more details." >&2;}
   5219    { (exit 1); exit 1; }; }
   5220 fi
   5221 
   5222 ac_ext=cc
   5223 ac_cpp='$CXXCPP $CPPFLAGS'
   5224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5227 
   5228 fi
   5229 
   5230 
   5231 ac_ext=f
   5232 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5233 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5234 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5235 if test -n "$ac_tool_prefix"; then
   5236   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5237   do
   5238     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5240 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5242 if test "${ac_cv_prog_F77+set}" = set; then
   5243   echo $ECHO_N "(cached) $ECHO_C" >&6
   5244 else
   5245   if test -n "$F77"; then
   5246   ac_cv_prog_F77="$F77" # Let the user override the test.
   5247 else
   5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5249 for as_dir in $PATH
   5250 do
   5251   IFS=$as_save_IFS
   5252   test -z "$as_dir" && as_dir=.
   5253   for ac_exec_ext in '' $ac_executable_extensions; do
   5254   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5255     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5256     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5257     break 2
   5258   fi
   5259 done
   5260 done
   5261 
   5262 fi
   5263 fi
   5264 F77=$ac_cv_prog_F77
   5265 if test -n "$F77"; then
   5266   echo "$as_me:$LINENO: result: $F77" >&5
   5267 echo "${ECHO_T}$F77" >&6
   5268 else
   5269   echo "$as_me:$LINENO: result: no" >&5
   5270 echo "${ECHO_T}no" >&6
   5271 fi
   5272 
   5273     test -n "$F77" && break
   5274   done
   5275 fi
   5276 if test -z "$F77"; then
   5277   ac_ct_F77=$F77
   5278   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5279 do
   5280   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5281 set dummy $ac_prog; ac_word=$2
   5282 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5284 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5285   echo $ECHO_N "(cached) $ECHO_C" >&6
   5286 else
   5287   if test -n "$ac_ct_F77"; then
   5288   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5289 else
   5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5291 for as_dir in $PATH
   5292 do
   5293   IFS=$as_save_IFS
   5294   test -z "$as_dir" && as_dir=.
   5295   for ac_exec_ext in '' $ac_executable_extensions; do
   5296   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5297     ac_cv_prog_ac_ct_F77="$ac_prog"
   5298     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5299     break 2
   5300   fi
   5301 done
   5302 done
   5303 
   5304 fi
   5305 fi
   5306 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5307 if test -n "$ac_ct_F77"; then
   5308   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5309 echo "${ECHO_T}$ac_ct_F77" >&6
   5310 else
   5311   echo "$as_me:$LINENO: result: no" >&5
   5312 echo "${ECHO_T}no" >&6
   5313 fi
   5314 
   5315   test -n "$ac_ct_F77" && break
   5316 done
   5317 
   5318   F77=$ac_ct_F77
   5319 fi
   5320 
   5321 
   5322 # Provide some information about the compiler.
   5323 echo "$as_me:5323:" \
   5324      "checking for Fortran 77 compiler version" >&5
   5325 ac_compiler=`set X $ac_compile; echo $2`
   5326 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   5327   (eval $ac_compiler --version </dev/null >&5) 2>&5
   5328   ac_status=$?
   5329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5330   (exit $ac_status); }
   5331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   5332   (eval $ac_compiler -v </dev/null >&5) 2>&5
   5333   ac_status=$?
   5334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5335   (exit $ac_status); }
   5336 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   5337   (eval $ac_compiler -V </dev/null >&5) 2>&5
   5338   ac_status=$?
   5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5340   (exit $ac_status); }
   5341 rm -f a.out
   5342 
   5343 # If we don't use `.F' as extension, the preprocessor is not run on the
   5344 # input file.  (Note that this only needs to work for GNU compilers.)
   5345 ac_save_ext=$ac_ext
   5346 ac_ext=F
   5347 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   5348 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
   5349 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   5350   echo $ECHO_N "(cached) $ECHO_C" >&6
   5351 else
   5352   cat >conftest.$ac_ext <<_ACEOF
   5353       program main
   5354 #ifndef __GNUC__
   5355        choke me
   5356 #endif
   5357 
   5358       end
   5359 _ACEOF
   5360 rm -f conftest.$ac_objext
   5361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5362   (eval $ac_compile) 2>conftest.er1
   5363   ac_status=$?
   5364   grep -v '^ *+' conftest.er1 >conftest.err
   5365   rm -f conftest.er1
   5366   cat conftest.err >&5
   5367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5368   (exit $ac_status); } &&
   5369 	 { ac_try='test -z "$ac_f77_werror_flag"
   5370 			 || test ! -s conftest.err'
   5371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5372   (eval $ac_try) 2>&5
   5373   ac_status=$?
   5374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5375   (exit $ac_status); }; } &&
   5376 	 { ac_try='test -s conftest.$ac_objext'
   5377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5378   (eval $ac_try) 2>&5
   5379   ac_status=$?
   5380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5381   (exit $ac_status); }; }; then
   5382   ac_compiler_gnu=yes
   5383 else
   5384   echo "$as_me: failed program was:" >&5
   5385 sed 's/^/| /' conftest.$ac_ext >&5
   5386 
   5387 ac_compiler_gnu=no
   5388 fi
   5389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5390 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   5391 
   5392 fi
   5393 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   5394 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
   5395 ac_ext=$ac_save_ext
   5396 ac_test_FFLAGS=${FFLAGS+set}
   5397 ac_save_FFLAGS=$FFLAGS
   5398 FFLAGS=
   5399 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   5400 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
   5401 if test "${ac_cv_prog_f77_g+set}" = set; then
   5402   echo $ECHO_N "(cached) $ECHO_C" >&6
   5403 else
   5404   FFLAGS=-g
   5405 cat >conftest.$ac_ext <<_ACEOF
   5406       program main
   5407 
   5408       end
   5409 _ACEOF
   5410 rm -f conftest.$ac_objext
   5411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5412   (eval $ac_compile) 2>conftest.er1
   5413   ac_status=$?
   5414   grep -v '^ *+' conftest.er1 >conftest.err
   5415   rm -f conftest.er1
   5416   cat conftest.err >&5
   5417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5418   (exit $ac_status); } &&
   5419 	 { ac_try='test -z "$ac_f77_werror_flag"
   5420 			 || test ! -s conftest.err'
   5421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5422   (eval $ac_try) 2>&5
   5423   ac_status=$?
   5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5425   (exit $ac_status); }; } &&
   5426 	 { ac_try='test -s conftest.$ac_objext'
   5427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5428   (eval $ac_try) 2>&5
   5429   ac_status=$?
   5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5431   (exit $ac_status); }; }; then
   5432   ac_cv_prog_f77_g=yes
   5433 else
   5434   echo "$as_me: failed program was:" >&5
   5435 sed 's/^/| /' conftest.$ac_ext >&5
   5436 
   5437 ac_cv_prog_f77_g=no
   5438 fi
   5439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5440 
   5441 fi
   5442 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   5443 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
   5444 if test "$ac_test_FFLAGS" = set; then
   5445   FFLAGS=$ac_save_FFLAGS
   5446 elif test $ac_cv_prog_f77_g = yes; then
   5447   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5448     FFLAGS="-g -O2"
   5449   else
   5450     FFLAGS="-g"
   5451   fi
   5452 else
   5453   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5454     FFLAGS="-O2"
   5455   else
   5456     FFLAGS=
   5457   fi
   5458 fi
   5459 
   5460 G77=`test $ac_compiler_gnu = yes && echo yes`
   5461 ac_ext=c
   5462 ac_cpp='$CPP $CPPFLAGS'
   5463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5466 
   5467 
   5468 
   5469 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   5470 
   5471 # find the maximum length of command line arguments
   5472 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5473 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   5474 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5475   echo $ECHO_N "(cached) $ECHO_C" >&6
   5476 else
   5477     i=0
   5478   teststring="ABCD"
   5479 
   5480   case $build_os in
   5481   msdosdjgpp*)
   5482     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5483     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5484     # during glob expansion).  Even if it were fixed, the result of this
   5485     # check would be larger than it should be.
   5486     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5487     ;;
   5488 
   5489   gnu*)
   5490     # Under GNU Hurd, this test is not required because there is
   5491     # no limit to the length of command line arguments.
   5492     # Libtool will interpret -1 as no limit whatsoever
   5493     lt_cv_sys_max_cmd_len=-1;
   5494     ;;
   5495 
   5496   cygwin* | mingw*)
   5497     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5498     # about 5 minutes as the teststring grows exponentially.
   5499     # Worse, since 9x/ME are not pre-emptively multitasking,
   5500     # you end up with a "frozen" computer, even though with patience
   5501     # the test eventually succeeds (with a max line length of 256k).
   5502     # Instead, let's just punt: use the minimum linelength reported by
   5503     # all of the supported platforms: 8192 (on NT/2K/XP).
   5504     lt_cv_sys_max_cmd_len=8192;
   5505     ;;
   5506 
   5507   amigaos*)
   5508     # On AmigaOS with pdksh, this test takes hours, literally.
   5509     # So we just punt and use a minimum line length of 8192.
   5510     lt_cv_sys_max_cmd_len=8192;
   5511     ;;
   5512 
   5513   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5514     # This has been around since 386BSD, at least.  Likely further.
   5515     if test -x /sbin/sysctl; then
   5516       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5517     elif test -x /usr/sbin/sysctl; then
   5518       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5519     else
   5520       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5521     fi
   5522     # And add a safety zone
   5523     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5524     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5525     ;;
   5526 
   5527   interix*)
   5528     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5529     lt_cv_sys_max_cmd_len=196608
   5530     ;;
   5531 
   5532   osf*)
   5533     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5534     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5535     # nice to cause kernel panics so lets avoid the loop below.
   5536     # First set a reasonable default.
   5537     lt_cv_sys_max_cmd_len=16384
   5538     #
   5539     if test -x /sbin/sysconfig; then
   5540       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5541         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5542       esac
   5543     fi
   5544     ;;
   5545   sco3.2v5*)
   5546     lt_cv_sys_max_cmd_len=102400
   5547     ;;
   5548   sysv5* | sco5v6* | sysv4.2uw2*)
   5549     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5550     if test -n "$kargmax"; then
   5551       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   5552     else
   5553       lt_cv_sys_max_cmd_len=32768
   5554     fi
   5555     ;;
   5556   *)
   5557     # If test is not a shell built-in, we'll probably end up computing a
   5558     # maximum length that is only half of the actual maximum length, but
   5559     # we can't tell.
   5560     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5561     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   5562 	       = "XX$teststring") >/dev/null 2>&1 &&
   5563 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   5564 	    lt_cv_sys_max_cmd_len=$new_result &&
   5565 	    test $i != 17 # 1/2 MB should be enough
   5566     do
   5567       i=`expr $i + 1`
   5568       teststring=$teststring$teststring
   5569     done
   5570     teststring=
   5571     # Add a significant safety factor because C++ compilers can tack on massive
   5572     # amounts of additional arguments before passing them to the linker.
   5573     # It appears as though 1/2 is a usable value.
   5574     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5575     ;;
   5576   esac
   5577 
   5578 fi
   5579 
   5580 if test -n $lt_cv_sys_max_cmd_len ; then
   5581   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5582 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   5583 else
   5584   echo "$as_me:$LINENO: result: none" >&5
   5585 echo "${ECHO_T}none" >&6
   5586 fi
   5587 
   5588 
   5589 
   5590 
   5591 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5592 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5593 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   5594 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5595   echo $ECHO_N "(cached) $ECHO_C" >&6
   5596 else
   5597 
   5598 # These are sane defaults that work on at least a few old systems.
   5599 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5600 
   5601 # Character class describing NM global symbol codes.
   5602 symcode='[BCDEGRST]'
   5603 
   5604 # Regexp to match symbols that can be accessed directly from C.
   5605 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5606 
   5607 # Transform an extracted symbol line into a proper C declaration
   5608 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   5609 
   5610 # Transform an extracted symbol line into symbol name and symbol address
   5611 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'"
   5612 
   5613 # Define system-specific variables.
   5614 case $host_os in
   5615 aix*)
   5616   symcode='[BCDT]'
   5617   ;;
   5618 cygwin* | mingw* | pw32*)
   5619   symcode='[ABCDGISTW]'
   5620   ;;
   5621 hpux*) # Its linker distinguishes data from code symbols
   5622   if test "$host_cpu" = ia64; then
   5623     symcode='[ABCDEGRST]'
   5624   fi
   5625   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5626   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'"
   5627   ;;
   5628 linux*)
   5629   if test "$host_cpu" = ia64; then
   5630     symcode='[ABCDGIRSTW]'
   5631     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5632     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'"
   5633   fi
   5634   ;;
   5635 irix* | nonstopux*)
   5636   symcode='[BCDEGRST]'
   5637   ;;
   5638 osf*)
   5639   symcode='[BCDEGQRST]'
   5640   ;;
   5641 solaris*)
   5642   symcode='[BDRT]'
   5643   ;;
   5644 sco3.2v5*)
   5645   symcode='[DT]'
   5646   ;;
   5647 sysv4.2uw2*)
   5648   symcode='[DT]'
   5649   ;;
   5650 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5651   symcode='[ABDT]'
   5652   ;;
   5653 sysv4)
   5654   symcode='[DFNSTU]'
   5655   ;;
   5656 esac
   5657 
   5658 # Handle CRLF in mingw tool chain
   5659 opt_cr=
   5660 case $build_os in
   5661 mingw*)
   5662   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5663   ;;
   5664 esac
   5665 
   5666 # If we're using GNU nm, then use its standard symbol codes.
   5667 case `$NM -V 2>&1` in
   5668 *GNU* | *'with BFD'*)
   5669   symcode='[ABCDGIRSTW]' ;;
   5670 esac
   5671 
   5672 # Try without a prefix undercore, then with it.
   5673 for ac_symprfx in "" "_"; do
   5674 
   5675   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5676   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5677 
   5678   # Write the raw and C identifiers.
   5679   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5680 
   5681   # Check to see that the pipe works correctly.
   5682   pipe_works=no
   5683 
   5684   rm -f conftest*
   5685   cat > conftest.$ac_ext <<EOF
   5686 #ifdef __cplusplus
   5687 extern "C" {
   5688 #endif
   5689 char nm_test_var;
   5690 void nm_test_func(){}
   5691 #ifdef __cplusplus
   5692 }
   5693 #endif
   5694 int main(){nm_test_var='a';nm_test_func();return(0);}
   5695 EOF
   5696 
   5697   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5698   (eval $ac_compile) 2>&5
   5699   ac_status=$?
   5700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5701   (exit $ac_status); }; then
   5702     # Now try to grab the symbols.
   5703     nlist=conftest.nm
   5704     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5705   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5706   ac_status=$?
   5707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5708   (exit $ac_status); } && test -s "$nlist"; then
   5709       # Try sorting and uniquifying the output.
   5710       if sort "$nlist" | uniq > "$nlist"T; then
   5711 	mv -f "$nlist"T "$nlist"
   5712       else
   5713 	rm -f "$nlist"T
   5714       fi
   5715 
   5716       # Make sure that we snagged all the symbols we need.
   5717       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   5718 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   5719 	  cat <<EOF > conftest.$ac_ext
   5720 #ifdef __cplusplus
   5721 extern "C" {
   5722 #endif
   5723 
   5724 EOF
   5725 	  # Now generate the symbol file.
   5726 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   5727 
   5728 	  cat <<EOF >> conftest.$ac_ext
   5729 #if defined (__STDC__) && __STDC__
   5730 # define lt_ptr_t void *
   5731 #else
   5732 # define lt_ptr_t char *
   5733 # define const
   5734 #endif
   5735 
   5736 /* The mapping between symbol names and symbols. */
   5737 const struct {
   5738   const char *name;
   5739   lt_ptr_t address;
   5740 }
   5741 lt_preloaded_symbols[] =
   5742 {
   5743 EOF
   5744 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   5745 	  cat <<\EOF >> conftest.$ac_ext
   5746   {0, (lt_ptr_t) 0}
   5747 };
   5748 
   5749 #ifdef __cplusplus
   5750 }
   5751 #endif
   5752 EOF
   5753 	  # Now try linking the two files.
   5754 	  mv conftest.$ac_objext conftstm.$ac_objext
   5755 	  lt_save_LIBS="$LIBS"
   5756 	  lt_save_CFLAGS="$CFLAGS"
   5757 	  LIBS="conftstm.$ac_objext"
   5758 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5759 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5760   (eval $ac_link) 2>&5
   5761   ac_status=$?
   5762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5763   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5764 	    pipe_works=yes
   5765 	  fi
   5766 	  LIBS="$lt_save_LIBS"
   5767 	  CFLAGS="$lt_save_CFLAGS"
   5768 	else
   5769 	  echo "cannot find nm_test_func in $nlist" >&5
   5770 	fi
   5771       else
   5772 	echo "cannot find nm_test_var in $nlist" >&5
   5773       fi
   5774     else
   5775       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5776     fi
   5777   else
   5778     echo "$progname: failed program was:" >&5
   5779     cat conftest.$ac_ext >&5
   5780   fi
   5781   rm -f conftest* conftst*
   5782 
   5783   # Do not use the global_symbol_pipe unless it works.
   5784   if test "$pipe_works" = yes; then
   5785     break
   5786   else
   5787     lt_cv_sys_global_symbol_pipe=
   5788   fi
   5789 done
   5790 
   5791 fi
   5792 
   5793 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5794   lt_cv_sys_global_symbol_to_cdecl=
   5795 fi
   5796 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5797   echo "$as_me:$LINENO: result: failed" >&5
   5798 echo "${ECHO_T}failed" >&6
   5799 else
   5800   echo "$as_me:$LINENO: result: ok" >&5
   5801 echo "${ECHO_T}ok" >&6
   5802 fi
   5803 
   5804 echo "$as_me:$LINENO: checking for objdir" >&5
   5805 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   5806 if test "${lt_cv_objdir+set}" = set; then
   5807   echo $ECHO_N "(cached) $ECHO_C" >&6
   5808 else
   5809   rm -f .libs 2>/dev/null
   5810 mkdir .libs 2>/dev/null
   5811 if test -d .libs; then
   5812   lt_cv_objdir=.libs
   5813 else
   5814   # MS-DOS does not allow filenames that begin with a dot.
   5815   lt_cv_objdir=_libs
   5816 fi
   5817 rmdir .libs 2>/dev/null
   5818 fi
   5819 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   5820 echo "${ECHO_T}$lt_cv_objdir" >&6
   5821 objdir=$lt_cv_objdir
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 case $host_os in
   5828 aix3*)
   5829   # AIX sometimes has problems with the GCC collect2 program.  For some
   5830   # reason, if we set the COLLECT_NAMES environment variable, the problems
   5831   # vanish in a puff of smoke.
   5832   if test "X${COLLECT_NAMES+set}" != Xset; then
   5833     COLLECT_NAMES=
   5834     export COLLECT_NAMES
   5835   fi
   5836   ;;
   5837 esac
   5838 
   5839 # Sed substitution that helps us do robust quoting.  It backslashifies
   5840 # metacharacters that are still active within double-quoted strings.
   5841 Xsed='sed -e 1s/^X//'
   5842 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   5843 
   5844 # Same as above, but do not quote variable references.
   5845 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   5846 
   5847 # Sed substitution to delay expansion of an escaped shell variable in a
   5848 # double_quote_subst'ed string.
   5849 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5850 
   5851 # Sed substitution to avoid accidental globbing in evaled expressions
   5852 no_glob_subst='s/\*/\\\*/g'
   5853 
   5854 # Constants:
   5855 rm="rm -f"
   5856 
   5857 # Global variables:
   5858 default_ofile=libtool
   5859 can_build_shared=yes
   5860 
   5861 # All known linkers require a `.a' archive for static linking (except MSVC,
   5862 # which needs '.lib').
   5863 libext=a
   5864 ltmain="$ac_aux_dir/ltmain.sh"
   5865 ofile="$default_ofile"
   5866 with_gnu_ld="$lt_cv_prog_gnu_ld"
   5867 
   5868 if test -n "$ac_tool_prefix"; then
   5869   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5870 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5871 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5873 if test "${ac_cv_prog_AR+set}" = set; then
   5874   echo $ECHO_N "(cached) $ECHO_C" >&6
   5875 else
   5876   if test -n "$AR"; then
   5877   ac_cv_prog_AR="$AR" # Let the user override the test.
   5878 else
   5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5880 for as_dir in $PATH
   5881 do
   5882   IFS=$as_save_IFS
   5883   test -z "$as_dir" && as_dir=.
   5884   for ac_exec_ext in '' $ac_executable_extensions; do
   5885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5886     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5888     break 2
   5889   fi
   5890 done
   5891 done
   5892 
   5893 fi
   5894 fi
   5895 AR=$ac_cv_prog_AR
   5896 if test -n "$AR"; then
   5897   echo "$as_me:$LINENO: result: $AR" >&5
   5898 echo "${ECHO_T}$AR" >&6
   5899 else
   5900   echo "$as_me:$LINENO: result: no" >&5
   5901 echo "${ECHO_T}no" >&6
   5902 fi
   5903 
   5904 fi
   5905 if test -z "$ac_cv_prog_AR"; then
   5906   ac_ct_AR=$AR
   5907   # Extract the first word of "ar", so it can be a program name with args.
   5908 set dummy ar; ac_word=$2
   5909 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5911 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5912   echo $ECHO_N "(cached) $ECHO_C" >&6
   5913 else
   5914   if test -n "$ac_ct_AR"; then
   5915   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5916 else
   5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5918 for as_dir in $PATH
   5919 do
   5920   IFS=$as_save_IFS
   5921   test -z "$as_dir" && as_dir=.
   5922   for ac_exec_ext in '' $ac_executable_extensions; do
   5923   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5924     ac_cv_prog_ac_ct_AR="ar"
   5925     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5926     break 2
   5927   fi
   5928 done
   5929 done
   5930 
   5931   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
   5932 fi
   5933 fi
   5934 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5935 if test -n "$ac_ct_AR"; then
   5936   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5937 echo "${ECHO_T}$ac_ct_AR" >&6
   5938 else
   5939   echo "$as_me:$LINENO: result: no" >&5
   5940 echo "${ECHO_T}no" >&6
   5941 fi
   5942 
   5943   AR=$ac_ct_AR
   5944 else
   5945   AR="$ac_cv_prog_AR"
   5946 fi
   5947 
   5948 if test -n "$ac_tool_prefix"; then
   5949   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5950 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5951 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5953 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5954   echo $ECHO_N "(cached) $ECHO_C" >&6
   5955 else
   5956   if test -n "$RANLIB"; then
   5957   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5958 else
   5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5960 for as_dir in $PATH
   5961 do
   5962   IFS=$as_save_IFS
   5963   test -z "$as_dir" && as_dir=.
   5964   for ac_exec_ext in '' $ac_executable_extensions; do
   5965   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5966     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5968     break 2
   5969   fi
   5970 done
   5971 done
   5972 
   5973 fi
   5974 fi
   5975 RANLIB=$ac_cv_prog_RANLIB
   5976 if test -n "$RANLIB"; then
   5977   echo "$as_me:$LINENO: result: $RANLIB" >&5
   5978 echo "${ECHO_T}$RANLIB" >&6
   5979 else
   5980   echo "$as_me:$LINENO: result: no" >&5
   5981 echo "${ECHO_T}no" >&6
   5982 fi
   5983 
   5984 fi
   5985 if test -z "$ac_cv_prog_RANLIB"; then
   5986   ac_ct_RANLIB=$RANLIB
   5987   # Extract the first word of "ranlib", so it can be a program name with args.
   5988 set dummy ranlib; ac_word=$2
   5989 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5991 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5992   echo $ECHO_N "(cached) $ECHO_C" >&6
   5993 else
   5994   if test -n "$ac_ct_RANLIB"; then
   5995   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5996 else
   5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5998 for as_dir in $PATH
   5999 do
   6000   IFS=$as_save_IFS
   6001   test -z "$as_dir" && as_dir=.
   6002   for ac_exec_ext in '' $ac_executable_extensions; do
   6003   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6004     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6006     break 2
   6007   fi
   6008 done
   6009 done
   6010 
   6011   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6012 fi
   6013 fi
   6014 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6015 if test -n "$ac_ct_RANLIB"; then
   6016   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6017 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6018 else
   6019   echo "$as_me:$LINENO: result: no" >&5
   6020 echo "${ECHO_T}no" >&6
   6021 fi
   6022 
   6023   RANLIB=$ac_ct_RANLIB
   6024 else
   6025   RANLIB="$ac_cv_prog_RANLIB"
   6026 fi
   6027 
   6028 if test -n "$ac_tool_prefix"; then
   6029   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6030 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6031 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6033 if test "${ac_cv_prog_STRIP+set}" = set; then
   6034   echo $ECHO_N "(cached) $ECHO_C" >&6
   6035 else
   6036   if test -n "$STRIP"; then
   6037   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6038 else
   6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6040 for as_dir in $PATH
   6041 do
   6042   IFS=$as_save_IFS
   6043   test -z "$as_dir" && as_dir=.
   6044   for ac_exec_ext in '' $ac_executable_extensions; do
   6045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6046     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6048     break 2
   6049   fi
   6050 done
   6051 done
   6052 
   6053 fi
   6054 fi
   6055 STRIP=$ac_cv_prog_STRIP
   6056 if test -n "$STRIP"; then
   6057   echo "$as_me:$LINENO: result: $STRIP" >&5
   6058 echo "${ECHO_T}$STRIP" >&6
   6059 else
   6060   echo "$as_me:$LINENO: result: no" >&5
   6061 echo "${ECHO_T}no" >&6
   6062 fi
   6063 
   6064 fi
   6065 if test -z "$ac_cv_prog_STRIP"; then
   6066   ac_ct_STRIP=$STRIP
   6067   # Extract the first word of "strip", so it can be a program name with args.
   6068 set dummy strip; ac_word=$2
   6069 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6071 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6072   echo $ECHO_N "(cached) $ECHO_C" >&6
   6073 else
   6074   if test -n "$ac_ct_STRIP"; then
   6075   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6076 else
   6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6078 for as_dir in $PATH
   6079 do
   6080   IFS=$as_save_IFS
   6081   test -z "$as_dir" && as_dir=.
   6082   for ac_exec_ext in '' $ac_executable_extensions; do
   6083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6084     ac_cv_prog_ac_ct_STRIP="strip"
   6085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6086     break 2
   6087   fi
   6088 done
   6089 done
   6090 
   6091   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   6092 fi
   6093 fi
   6094 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6095 if test -n "$ac_ct_STRIP"; then
   6096   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6097 echo "${ECHO_T}$ac_ct_STRIP" >&6
   6098 else
   6099   echo "$as_me:$LINENO: result: no" >&5
   6100 echo "${ECHO_T}no" >&6
   6101 fi
   6102 
   6103   STRIP=$ac_ct_STRIP
   6104 else
   6105   STRIP="$ac_cv_prog_STRIP"
   6106 fi
   6107 
   6108 
   6109 old_CC="$CC"
   6110 old_CFLAGS="$CFLAGS"
   6111 
   6112 # Set sane defaults for various variables
   6113 test -z "$AR" && AR=ar
   6114 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6115 test -z "$AS" && AS=as
   6116 test -z "$CC" && CC=cc
   6117 test -z "$LTCC" && LTCC=$CC
   6118 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6119 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6120 test -z "$LD" && LD=ld
   6121 test -z "$LN_S" && LN_S="ln -s"
   6122 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6123 test -z "$NM" && NM=nm
   6124 test -z "$SED" && SED=sed
   6125 test -z "$OBJDUMP" && OBJDUMP=objdump
   6126 test -z "$RANLIB" && RANLIB=:
   6127 test -z "$STRIP" && STRIP=:
   6128 test -z "$ac_objext" && ac_objext=o
   6129 
   6130 # Determine commands to create old-style static archives.
   6131 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6132 old_postinstall_cmds='chmod 644 $oldlib'
   6133 old_postuninstall_cmds=
   6134 
   6135 if test -n "$RANLIB"; then
   6136   case $host_os in
   6137   openbsd*)
   6138     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6139     ;;
   6140   *)
   6141     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6142     ;;
   6143   esac
   6144   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6145 fi
   6146 
   6147 for cc_temp in $compiler""; do
   6148   case $cc_temp in
   6149     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6150     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6151     \-*) ;;
   6152     *) break;;
   6153   esac
   6154 done
   6155 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6156 
   6157 
   6158 # Only perform the check for file, if the check method requires it
   6159 case $deplibs_check_method in
   6160 file_magic*)
   6161   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6162     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6163 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   6164 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6165   echo $ECHO_N "(cached) $ECHO_C" >&6
   6166 else
   6167   case $MAGIC_CMD in
   6168 [\\/*] |  ?:[\\/]*)
   6169   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6170   ;;
   6171 *)
   6172   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6173   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6174   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6175   for ac_dir in $ac_dummy; do
   6176     IFS="$lt_save_ifs"
   6177     test -z "$ac_dir" && ac_dir=.
   6178     if test -f $ac_dir/${ac_tool_prefix}file; then
   6179       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6180       if test -n "$file_magic_test_file"; then
   6181 	case $deplibs_check_method in
   6182 	"file_magic "*)
   6183 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6184 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6185 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6186 	    $EGREP "$file_magic_regex" > /dev/null; then
   6187 	    :
   6188 	  else
   6189 	    cat <<EOF 1>&2
   6190 
   6191 *** Warning: the command libtool uses to detect shared libraries,
   6192 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6193 *** The result is that libtool may fail to recognize shared libraries
   6194 *** as such.  This will affect the creation of libtool libraries that
   6195 *** depend on shared libraries, but programs linked with such libtool
   6196 *** libraries will work regardless of this problem.  Nevertheless, you
   6197 *** may want to report the problem to your system manager and/or to
   6198 *** bug-libtool@gnu.org
   6199 
   6200 EOF
   6201 	  fi ;;
   6202 	esac
   6203       fi
   6204       break
   6205     fi
   6206   done
   6207   IFS="$lt_save_ifs"
   6208   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6209   ;;
   6210 esac
   6211 fi
   6212 
   6213 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6214 if test -n "$MAGIC_CMD"; then
   6215   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6216 echo "${ECHO_T}$MAGIC_CMD" >&6
   6217 else
   6218   echo "$as_me:$LINENO: result: no" >&5
   6219 echo "${ECHO_T}no" >&6
   6220 fi
   6221 
   6222 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6223   if test -n "$ac_tool_prefix"; then
   6224     echo "$as_me:$LINENO: checking for file" >&5
   6225 echo $ECHO_N "checking for file... $ECHO_C" >&6
   6226 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6227   echo $ECHO_N "(cached) $ECHO_C" >&6
   6228 else
   6229   case $MAGIC_CMD in
   6230 [\\/*] |  ?:[\\/]*)
   6231   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6232   ;;
   6233 *)
   6234   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6235   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6236   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6237   for ac_dir in $ac_dummy; do
   6238     IFS="$lt_save_ifs"
   6239     test -z "$ac_dir" && ac_dir=.
   6240     if test -f $ac_dir/file; then
   6241       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6242       if test -n "$file_magic_test_file"; then
   6243 	case $deplibs_check_method in
   6244 	"file_magic "*)
   6245 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6246 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6247 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6248 	    $EGREP "$file_magic_regex" > /dev/null; then
   6249 	    :
   6250 	  else
   6251 	    cat <<EOF 1>&2
   6252 
   6253 *** Warning: the command libtool uses to detect shared libraries,
   6254 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6255 *** The result is that libtool may fail to recognize shared libraries
   6256 *** as such.  This will affect the creation of libtool libraries that
   6257 *** depend on shared libraries, but programs linked with such libtool
   6258 *** libraries will work regardless of this problem.  Nevertheless, you
   6259 *** may want to report the problem to your system manager and/or to
   6260 *** bug-libtool@gnu.org
   6261 
   6262 EOF
   6263 	  fi ;;
   6264 	esac
   6265       fi
   6266       break
   6267     fi
   6268   done
   6269   IFS="$lt_save_ifs"
   6270   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6271   ;;
   6272 esac
   6273 fi
   6274 
   6275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6276 if test -n "$MAGIC_CMD"; then
   6277   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6278 echo "${ECHO_T}$MAGIC_CMD" >&6
   6279 else
   6280   echo "$as_me:$LINENO: result: no" >&5
   6281 echo "${ECHO_T}no" >&6
   6282 fi
   6283 
   6284   else
   6285     MAGIC_CMD=:
   6286   fi
   6287 fi
   6288 
   6289   fi
   6290   ;;
   6291 esac
   6292 
   6293 enable_dlopen=no
   6294 enable_win32_dll=no
   6295 
   6296 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   6297 if test "${enable_libtool_lock+set}" = set; then
   6298   enableval="$enable_libtool_lock"
   6299 
   6300 fi;
   6301 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6302 
   6303 
   6304 # Check whether --with-pic or --without-pic was given.
   6305 if test "${with_pic+set}" = set; then
   6306   withval="$with_pic"
   6307   pic_mode="$withval"
   6308 else
   6309   pic_mode=default
   6310 fi;
   6311 test -z "$pic_mode" && pic_mode=default
   6312 
   6313 # Use C for the default configuration in the libtool script
   6314 tagname=
   6315 lt_save_CC="$CC"
   6316 ac_ext=c
   6317 ac_cpp='$CPP $CPPFLAGS'
   6318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6321 
   6322 
   6323 # Source file extension for C test sources.
   6324 ac_ext=c
   6325 
   6326 # Object file extension for compiled C test sources.
   6327 objext=o
   6328 objext=$objext
   6329 
   6330 # Code to be used in simple compile tests
   6331 lt_simple_compile_test_code="int some_variable = 0;\n"
   6332 
   6333 # Code to be used in simple link tests
   6334 lt_simple_link_test_code='int main(){return(0);}\n'
   6335 
   6336 
   6337 # If no C compiler was specified, use CC.
   6338 LTCC=${LTCC-"$CC"}
   6339 
   6340 # If no C compiler flags were specified, use CFLAGS.
   6341 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6342 
   6343 # Allow CC to be a program name with arguments.
   6344 compiler=$CC
   6345 
   6346 
   6347 # save warnings/boilerplate of simple test code
   6348 ac_outfile=conftest.$ac_objext
   6349 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   6350 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6351 _lt_compiler_boilerplate=`cat conftest.err`
   6352 $rm conftest*
   6353 
   6354 ac_outfile=conftest.$ac_objext
   6355 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   6356 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6357 _lt_linker_boilerplate=`cat conftest.err`
   6358 $rm conftest*
   6359 
   6360 
   6361 
   6362 lt_prog_compiler_no_builtin_flag=
   6363 
   6364 if test "$GCC" = yes; then
   6365   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   6366 
   6367 
   6368 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   6369 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   6370 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   6371   echo $ECHO_N "(cached) $ECHO_C" >&6
   6372 else
   6373   lt_cv_prog_compiler_rtti_exceptions=no
   6374   ac_outfile=conftest.$ac_objext
   6375    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6376    lt_compiler_flag="-fno-rtti -fno-exceptions"
   6377    # Insert the option either (1) after the last *FLAGS variable, or
   6378    # (2) before a word containing "conftest.", or (3) at the end.
   6379    # Note that $ac_compile itself does not contain backslashes and begins
   6380    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6381    # The option is referenced via a variable to avoid confusing sed.
   6382    lt_compile=`echo "$ac_compile" | $SED \
   6383    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6384    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6385    -e 's:$: $lt_compiler_flag:'`
   6386    (eval echo "\"\$as_me:6386: $lt_compile\"" >&5)
   6387    (eval "$lt_compile" 2>conftest.err)
   6388    ac_status=$?
   6389    cat conftest.err >&5
   6390    echo "$as_me:6390: \$? = $ac_status" >&5
   6391    if (exit $ac_status) && test -s "$ac_outfile"; then
   6392      # The compiler can only warn and ignore the option if not recognized
   6393      # So say no if there are warnings other than the usual output.
   6394      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   6395      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6396      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   6397        lt_cv_prog_compiler_rtti_exceptions=yes
   6398      fi
   6399    fi
   6400    $rm conftest*
   6401 
   6402 fi
   6403 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   6404 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   6405 
   6406 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   6407     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   6408 else
   6409     :
   6410 fi
   6411 
   6412 fi
   6413 
   6414 lt_prog_compiler_wl=
   6415 lt_prog_compiler_pic=
   6416 lt_prog_compiler_static=
   6417 
   6418 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   6419 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   6420 
   6421   if test "$GCC" = yes; then
   6422     lt_prog_compiler_wl='-Wl,'
   6423     lt_prog_compiler_static='-static'
   6424 
   6425     case $host_os in
   6426       aix*)
   6427       # All AIX code is PIC.
   6428       if test "$host_cpu" = ia64; then
   6429 	# AIX 5 now supports IA64 processor
   6430 	lt_prog_compiler_static='-Bstatic'
   6431       fi
   6432       ;;
   6433 
   6434     amigaos*)
   6435       # FIXME: we need at least 68020 code to build shared libraries, but
   6436       # adding the `-m68020' flag to GCC prevents building anything better,
   6437       # like `-m68040'.
   6438       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   6439       ;;
   6440 
   6441     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   6442       # PIC is the default for these OSes.
   6443       ;;
   6444 
   6445     mingw* | pw32* | os2*)
   6446       # This hack is so that the source file can tell whether it is being
   6447       # built for inclusion in a dll (and should export symbols for example).
   6448       lt_prog_compiler_pic='-DDLL_EXPORT'
   6449       ;;
   6450 
   6451     darwin* | rhapsody*)
   6452       # PIC is the default on this platform
   6453       # Common symbols not allowed in MH_DYLIB files
   6454       lt_prog_compiler_pic='-fno-common'
   6455       ;;
   6456 
   6457     interix3*)
   6458       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   6459       # Instead, we relocate shared libraries at runtime.
   6460       ;;
   6461 
   6462     msdosdjgpp*)
   6463       # Just because we use GCC doesn't mean we suddenly get shared libraries
   6464       # on systems that don't support them.
   6465       lt_prog_compiler_can_build_shared=no
   6466       enable_shared=no
   6467       ;;
   6468 
   6469     sysv4*MP*)
   6470       if test -d /usr/nec; then
   6471 	lt_prog_compiler_pic=-Kconform_pic
   6472       fi
   6473       ;;
   6474 
   6475     hpux*)
   6476       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6477       # not for PA HP-UX.
   6478       case $host_cpu in
   6479       hppa*64*|ia64*)
   6480 	# +Z the default
   6481 	;;
   6482       *)
   6483 	lt_prog_compiler_pic='-fPIC'
   6484 	;;
   6485       esac
   6486       ;;
   6487 
   6488     *)
   6489       lt_prog_compiler_pic='-fPIC'
   6490       ;;
   6491     esac
   6492   else
   6493     # PORTME Check for flag to pass linker flags through the system compiler.
   6494     case $host_os in
   6495     aix*)
   6496       lt_prog_compiler_wl='-Wl,'
   6497       if test "$host_cpu" = ia64; then
   6498 	# AIX 5 now supports IA64 processor
   6499 	lt_prog_compiler_static='-Bstatic'
   6500       else
   6501 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   6502       fi
   6503       ;;
   6504       darwin*)
   6505         # PIC is the default on this platform
   6506         # Common symbols not allowed in MH_DYLIB files
   6507        case $cc_basename in
   6508          xlc*)
   6509          lt_prog_compiler_pic='-qnocommon'
   6510          lt_prog_compiler_wl='-Wl,'
   6511          ;;
   6512        esac
   6513        ;;
   6514 
   6515     mingw* | pw32* | os2*)
   6516       # This hack is so that the source file can tell whether it is being
   6517       # built for inclusion in a dll (and should export symbols for example).
   6518       lt_prog_compiler_pic='-DDLL_EXPORT'
   6519       ;;
   6520 
   6521     hpux9* | hpux10* | hpux11*)
   6522       lt_prog_compiler_wl='-Wl,'
   6523       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6524       # not for PA HP-UX.
   6525       case $host_cpu in
   6526       hppa*64*|ia64*)
   6527 	# +Z the default
   6528 	;;
   6529       *)
   6530 	lt_prog_compiler_pic='+Z'
   6531 	;;
   6532       esac
   6533       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   6534       lt_prog_compiler_static='${wl}-a ${wl}archive'
   6535       ;;
   6536 
   6537     irix5* | irix6* | nonstopux*)
   6538       lt_prog_compiler_wl='-Wl,'
   6539       # PIC (with -KPIC) is the default.
   6540       lt_prog_compiler_static='-non_shared'
   6541       ;;
   6542 
   6543     newsos6)
   6544       lt_prog_compiler_pic='-KPIC'
   6545       lt_prog_compiler_static='-Bstatic'
   6546       ;;
   6547 
   6548     linux*)
   6549       case $cc_basename in
   6550       icc* | ecc*)
   6551 	lt_prog_compiler_wl='-Wl,'
   6552 	lt_prog_compiler_pic='-KPIC'
   6553 	lt_prog_compiler_static='-static'
   6554         ;;
   6555       pgcc* | pgf77* | pgf90* | pgf95*)
   6556         # Portland Group compilers (*not* the Pentium gcc compiler,
   6557 	# which looks to be a dead project)
   6558 	lt_prog_compiler_wl='-Wl,'
   6559 	lt_prog_compiler_pic='-fpic'
   6560 	lt_prog_compiler_static='-Bstatic'
   6561         ;;
   6562       ccc*)
   6563         lt_prog_compiler_wl='-Wl,'
   6564         # All Alpha code is PIC.
   6565         lt_prog_compiler_static='-non_shared'
   6566         ;;
   6567       esac
   6568       ;;
   6569 
   6570     osf3* | osf4* | osf5*)
   6571       lt_prog_compiler_wl='-Wl,'
   6572       # All OSF/1 code is PIC.
   6573       lt_prog_compiler_static='-non_shared'
   6574       ;;
   6575 
   6576     solaris*)
   6577       lt_prog_compiler_pic='-KPIC'
   6578       lt_prog_compiler_static='-Bstatic'
   6579       case $cc_basename in
   6580       f77* | f90* | f95*)
   6581 	lt_prog_compiler_wl='-Qoption ld ';;
   6582       *)
   6583 	lt_prog_compiler_wl='-Wl,';;
   6584       esac
   6585       ;;
   6586 
   6587     sunos4*)
   6588       lt_prog_compiler_wl='-Qoption ld '
   6589       lt_prog_compiler_pic='-PIC'
   6590       lt_prog_compiler_static='-Bstatic'
   6591       ;;
   6592 
   6593     sysv4 | sysv4.2uw2* | sysv4.3*)
   6594       lt_prog_compiler_wl='-Wl,'
   6595       lt_prog_compiler_pic='-KPIC'
   6596       lt_prog_compiler_static='-Bstatic'
   6597       ;;
   6598 
   6599     sysv4*MP*)
   6600       if test -d /usr/nec ;then
   6601 	lt_prog_compiler_pic='-Kconform_pic'
   6602 	lt_prog_compiler_static='-Bstatic'
   6603       fi
   6604       ;;
   6605 
   6606     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   6607       lt_prog_compiler_wl='-Wl,'
   6608       lt_prog_compiler_pic='-KPIC'
   6609       lt_prog_compiler_static='-Bstatic'
   6610       ;;
   6611 
   6612     unicos*)
   6613       lt_prog_compiler_wl='-Wl,'
   6614       lt_prog_compiler_can_build_shared=no
   6615       ;;
   6616 
   6617     uts4*)
   6618       lt_prog_compiler_pic='-pic'
   6619       lt_prog_compiler_static='-Bstatic'
   6620       ;;
   6621 
   6622     *)
   6623       lt_prog_compiler_can_build_shared=no
   6624       ;;
   6625     esac
   6626   fi
   6627 
   6628 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   6629 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
   6630 
   6631 #
   6632 # Check to make sure the PIC flag actually works.
   6633 #
   6634 if test -n "$lt_prog_compiler_pic"; then
   6635 
   6636 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   6637 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   6638 if test "${lt_prog_compiler_pic_works+set}" = set; then
   6639   echo $ECHO_N "(cached) $ECHO_C" >&6
   6640 else
   6641   lt_prog_compiler_pic_works=no
   6642   ac_outfile=conftest.$ac_objext
   6643    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6644    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   6645    # Insert the option either (1) after the last *FLAGS variable, or
   6646    # (2) before a word containing "conftest.", or (3) at the end.
   6647    # Note that $ac_compile itself does not contain backslashes and begins
   6648    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6649    # The option is referenced via a variable to avoid confusing sed.
   6650    lt_compile=`echo "$ac_compile" | $SED \
   6651    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6652    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6653    -e 's:$: $lt_compiler_flag:'`
   6654    (eval echo "\"\$as_me:6654: $lt_compile\"" >&5)
   6655    (eval "$lt_compile" 2>conftest.err)
   6656    ac_status=$?
   6657    cat conftest.err >&5
   6658    echo "$as_me:6658: \$? = $ac_status" >&5
   6659    if (exit $ac_status) && test -s "$ac_outfile"; then
   6660      # The compiler can only warn and ignore the option if not recognized
   6661      # So say no if there are warnings other than the usual output.
   6662      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   6663      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6664      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   6665        lt_prog_compiler_pic_works=yes
   6666      fi
   6667    fi
   6668    $rm conftest*
   6669 
   6670 fi
   6671 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   6672 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   6673 
   6674 if test x"$lt_prog_compiler_pic_works" = xyes; then
   6675     case $lt_prog_compiler_pic in
   6676      "" | " "*) ;;
   6677      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   6678      esac
   6679 else
   6680     lt_prog_compiler_pic=
   6681      lt_prog_compiler_can_build_shared=no
   6682 fi
   6683 
   6684 fi
   6685 case $host_os in
   6686   # For platforms which do not support PIC, -DPIC is meaningless:
   6687   *djgpp*)
   6688     lt_prog_compiler_pic=
   6689     ;;
   6690   *)
   6691     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   6692     ;;
   6693 esac
   6694 
   6695 #
   6696 # Check to make sure the static flag actually works.
   6697 #
   6698 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   6699 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   6700 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   6701 if test "${lt_prog_compiler_static_works+set}" = set; then
   6702   echo $ECHO_N "(cached) $ECHO_C" >&6
   6703 else
   6704   lt_prog_compiler_static_works=no
   6705    save_LDFLAGS="$LDFLAGS"
   6706    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   6707    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   6708    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   6709      # The linker can only warn and ignore the option if not recognized
   6710      # So say no if there are warnings
   6711      if test -s conftest.err; then
   6712        # Append any errors to the config.log.
   6713        cat conftest.err 1>&5
   6714        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   6715        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6716        if diff conftest.exp conftest.er2 >/dev/null; then
   6717          lt_prog_compiler_static_works=yes
   6718        fi
   6719      else
   6720        lt_prog_compiler_static_works=yes
   6721      fi
   6722    fi
   6723    $rm conftest*
   6724    LDFLAGS="$save_LDFLAGS"
   6725 
   6726 fi
   6727 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   6728 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   6729 
   6730 if test x"$lt_prog_compiler_static_works" = xyes; then
   6731     :
   6732 else
   6733     lt_prog_compiler_static=
   6734 fi
   6735 
   6736 
   6737 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   6738 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   6739 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   6740   echo $ECHO_N "(cached) $ECHO_C" >&6
   6741 else
   6742   lt_cv_prog_compiler_c_o=no
   6743    $rm -r conftest 2>/dev/null
   6744    mkdir conftest
   6745    cd conftest
   6746    mkdir out
   6747    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6748 
   6749    lt_compiler_flag="-o out/conftest2.$ac_objext"
   6750    # Insert the option either (1) after the last *FLAGS variable, or
   6751    # (2) before a word containing "conftest.", or (3) at the end.
   6752    # Note that $ac_compile itself does not contain backslashes and begins
   6753    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6754    lt_compile=`echo "$ac_compile" | $SED \
   6755    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6756    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6757    -e 's:$: $lt_compiler_flag:'`
   6758    (eval echo "\"\$as_me:6758: $lt_compile\"" >&5)
   6759    (eval "$lt_compile" 2>out/conftest.err)
   6760    ac_status=$?
   6761    cat out/conftest.err >&5
   6762    echo "$as_me:6762: \$? = $ac_status" >&5
   6763    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   6764    then
   6765      # The compiler can only warn and ignore the option if not recognized
   6766      # So say no if there are warnings
   6767      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   6768      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   6769      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   6770        lt_cv_prog_compiler_c_o=yes
   6771      fi
   6772    fi
   6773    chmod u+w . 2>&5
   6774    $rm conftest*
   6775    # SGI C++ compiler will create directory out/ii_files/ for
   6776    # template instantiation
   6777    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   6778    $rm out/* && rmdir out
   6779    cd ..
   6780    rmdir conftest
   6781    $rm conftest*
   6782 
   6783 fi
   6784 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   6785 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   6786 
   6787 
   6788 hard_links="nottested"
   6789 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   6790   # do not overwrite the value of need_locks provided by the user
   6791   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   6792 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   6793   hard_links=yes
   6794   $rm conftest*
   6795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   6796   touch conftest.a
   6797   ln conftest.a conftest.b 2>&5 || hard_links=no
   6798   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   6799   echo "$as_me:$LINENO: result: $hard_links" >&5
   6800 echo "${ECHO_T}$hard_links" >&6
   6801   if test "$hard_links" = no; then
   6802     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   6803 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   6804     need_locks=warn
   6805   fi
   6806 else
   6807   need_locks=no
   6808 fi
   6809 
   6810 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   6811 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   6812 
   6813   runpath_var=
   6814   allow_undefined_flag=
   6815   enable_shared_with_static_runtimes=no
   6816   archive_cmds=
   6817   archive_expsym_cmds=
   6818   old_archive_From_new_cmds=
   6819   old_archive_from_expsyms_cmds=
   6820   export_dynamic_flag_spec=
   6821   whole_archive_flag_spec=
   6822   thread_safe_flag_spec=
   6823   hardcode_libdir_flag_spec=
   6824   hardcode_libdir_flag_spec_ld=
   6825   hardcode_libdir_separator=
   6826   hardcode_direct=no
   6827   hardcode_minus_L=no
   6828   hardcode_shlibpath_var=unsupported
   6829   link_all_deplibs=unknown
   6830   hardcode_automatic=no
   6831   module_cmds=
   6832   module_expsym_cmds=
   6833   always_export_symbols=no
   6834   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   6835   # include_expsyms should be a list of space-separated symbols to be *always*
   6836   # included in the symbol list
   6837   include_expsyms=
   6838   # exclude_expsyms can be an extended regexp of symbols to exclude
   6839   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   6840   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   6841   # as well as any symbol that contains `d'.
   6842   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   6843   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   6844   # platforms (ab)use it in PIC code, but their linkers get confused if
   6845   # the symbol is explicitly referenced.  Since portable code cannot
   6846   # rely on this symbol name, it's probably fine to never include it in
   6847   # preloaded symbol tables.
   6848   extract_expsyms_cmds=
   6849   # Just being paranoid about ensuring that cc_basename is set.
   6850   for cc_temp in $compiler""; do
   6851   case $cc_temp in
   6852     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6853     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6854     \-*) ;;
   6855     *) break;;
   6856   esac
   6857 done
   6858 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6859 
   6860   case $host_os in
   6861   cygwin* | mingw* | pw32*)
   6862     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   6863     # When not using gcc, we currently assume that we are using
   6864     # Microsoft Visual C++.
   6865     if test "$GCC" != yes; then
   6866       with_gnu_ld=no
   6867     fi
   6868     ;;
   6869   interix*)
   6870     # we just hope/assume this is gcc and not c89 (= MSVC++)
   6871     with_gnu_ld=yes
   6872     ;;
   6873   openbsd*)
   6874     with_gnu_ld=no
   6875     ;;
   6876   esac
   6877 
   6878   ld_shlibs=yes
   6879   if test "$with_gnu_ld" = yes; then
   6880     # If archive_cmds runs LD, not CC, wlarc should be empty
   6881     wlarc='${wl}'
   6882 
   6883     # Set some defaults for GNU ld with shared library support. These
   6884     # are reset later if shared libraries are not supported. Putting them
   6885     # here allows them to be overridden if necessary.
   6886     runpath_var=LD_RUN_PATH
   6887     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   6888     export_dynamic_flag_spec='${wl}--export-dynamic'
   6889     # ancient GNU ld didn't support --whole-archive et. al.
   6890     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   6891 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   6892       else
   6893   	whole_archive_flag_spec=
   6894     fi
   6895     supports_anon_versioning=no
   6896     case `$LD -v 2>/dev/null` in
   6897       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   6898       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   6899       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   6900       *\ 2.11.*) ;; # other 2.11 versions
   6901       *) supports_anon_versioning=yes ;;
   6902     esac
   6903 
   6904     # See if GNU ld supports shared libraries.
   6905     case $host_os in
   6906     aix3* | aix4* | aix5*)
   6907       # On AIX/PPC, the GNU linker is very broken
   6908       if test "$host_cpu" != ia64; then
   6909 	ld_shlibs=no
   6910 	cat <<EOF 1>&2
   6911 
   6912 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   6913 *** to be unable to reliably create shared libraries on AIX.
   6914 *** Therefore, libtool is disabling shared libraries support.  If you
   6915 *** really care for shared libraries, you may want to modify your PATH
   6916 *** so that a non-GNU linker is found, and then restart.
   6917 
   6918 EOF
   6919       fi
   6920       ;;
   6921 
   6922     amigaos*)
   6923       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)'
   6924       hardcode_libdir_flag_spec='-L$libdir'
   6925       hardcode_minus_L=yes
   6926 
   6927       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   6928       # that the semantics of dynamic libraries on AmigaOS, at least up
   6929       # to version 4, is to share data among multiple programs linked
   6930       # with the same dynamic library.  Since this doesn't match the
   6931       # behavior of shared libraries on other platforms, we can't use
   6932       # them.
   6933       ld_shlibs=no
   6934       ;;
   6935 
   6936     beos*)
   6937       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   6938 	allow_undefined_flag=unsupported
   6939 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   6940 	# support --undefined.  This deserves some investigation.  FIXME
   6941 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   6942       else
   6943 	ld_shlibs=no
   6944       fi
   6945       ;;
   6946 
   6947     cygwin* | mingw* | pw32*)
   6948       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   6949       # as there is no search path for DLLs.
   6950       hardcode_libdir_flag_spec='-L$libdir'
   6951       allow_undefined_flag=unsupported
   6952       always_export_symbols=no
   6953       enable_shared_with_static_runtimes=yes
   6954       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   6955 
   6956       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   6957         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   6958 	# If the export-symbols file already is a .def file (1st line
   6959 	# is EXPORTS), use it as is; otherwise, prepend...
   6960 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   6961 	  cp $export_symbols $output_objdir/$soname.def;
   6962 	else
   6963 	  echo EXPORTS > $output_objdir/$soname.def;
   6964 	  cat $export_symbols >> $output_objdir/$soname.def;
   6965 	fi~
   6966 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   6967       else
   6968 	ld_shlibs=no
   6969       fi
   6970       ;;
   6971 
   6972     interix3*)
   6973       hardcode_direct=no
   6974       hardcode_shlibpath_var=no
   6975       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   6976       export_dynamic_flag_spec='${wl}-E'
   6977       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   6978       # Instead, shared libraries are loaded at an image base (0x10000000 by
   6979       # default) and relocated if they conflict, which is a slow very memory
   6980       # consuming and fragmenting process.  To avoid this, we pick a random,
   6981       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   6982       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   6983       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   6984       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'
   6985       ;;
   6986 
   6987     linux*)
   6988       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   6989 	tmp_addflag=
   6990 	case $cc_basename,$host_cpu in
   6991 	pgcc*)				# Portland Group C compiler
   6992 	  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'
   6993 	  tmp_addflag=' $pic_flag'
   6994 	  ;;
   6995 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   6996 	  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'
   6997 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   6998 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   6999 	  tmp_addflag=' -i_dynamic' ;;
   7000 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7001 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7002 	ifc* | ifort*)			# Intel Fortran compiler
   7003 	  tmp_addflag=' -nofor_main' ;;
   7004 	esac
   7005 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7006 
   7007 	if test $supports_anon_versioning = yes; then
   7008 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7009   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7010   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7011 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7012 	fi
   7013       else
   7014 	ld_shlibs=no
   7015       fi
   7016       ;;
   7017 
   7018     netbsd*)
   7019       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7020 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7021 	wlarc=
   7022       else
   7023 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7024 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7025       fi
   7026       ;;
   7027 
   7028     solaris*)
   7029       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7030 	ld_shlibs=no
   7031 	cat <<EOF 1>&2
   7032 
   7033 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7034 *** create shared libraries on Solaris systems.  Therefore, libtool
   7035 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7036 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7037 *** your PATH or compiler configuration so that the native linker is
   7038 *** used, and then restart.
   7039 
   7040 EOF
   7041       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7042 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7043 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7044       else
   7045 	ld_shlibs=no
   7046       fi
   7047       ;;
   7048 
   7049     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7050       case `$LD -v 2>&1` in
   7051         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7052 	ld_shlibs=no
   7053 	cat <<_LT_EOF 1>&2
   7054 
   7055 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7056 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7057 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7058 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7059 *** your PATH or compiler configuration so that the native linker is
   7060 *** used, and then restart.
   7061 
   7062 _LT_EOF
   7063 	;;
   7064 	*)
   7065 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7066 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7067 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7068 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7069 	  else
   7070 	    ld_shlibs=no
   7071 	  fi
   7072 	;;
   7073       esac
   7074       ;;
   7075 
   7076     sunos4*)
   7077       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7078       wlarc=
   7079       hardcode_direct=yes
   7080       hardcode_shlibpath_var=no
   7081       ;;
   7082 
   7083     *)
   7084       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7085 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7086 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7087       else
   7088 	ld_shlibs=no
   7089       fi
   7090       ;;
   7091     esac
   7092 
   7093     if test "$ld_shlibs" = no; then
   7094       runpath_var=
   7095       hardcode_libdir_flag_spec=
   7096       export_dynamic_flag_spec=
   7097       whole_archive_flag_spec=
   7098     fi
   7099   else
   7100     # PORTME fill in a description of your system's linker (not GNU ld)
   7101     case $host_os in
   7102     aix3*)
   7103       allow_undefined_flag=unsupported
   7104       always_export_symbols=yes
   7105       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'
   7106       # Note: this linker hardcodes the directories in LIBPATH if there
   7107       # are no directories specified by -L.
   7108       hardcode_minus_L=yes
   7109       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7110 	# Neither direct hardcoding nor static linking is supported with a
   7111 	# broken collect2.
   7112 	hardcode_direct=unsupported
   7113       fi
   7114       ;;
   7115 
   7116     aix4* | aix5*)
   7117       if test "$host_cpu" = ia64; then
   7118 	# On IA64, the linker does run time linking by default, so we don't
   7119 	# have to do anything special.
   7120 	aix_use_runtimelinking=no
   7121 	exp_sym_flag='-Bexport'
   7122 	no_entry_flag=""
   7123       else
   7124 	# If we're using GNU nm, then we don't want the "-C" option.
   7125 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7126 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7127 	  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'
   7128 	else
   7129 	  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'
   7130 	fi
   7131 	aix_use_runtimelinking=no
   7132 
   7133 	# Test if we are trying to use run time linking or normal
   7134 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7135 	# need to do runtime linking.
   7136 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7137 	  for ld_flag in $LDFLAGS; do
   7138   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7139   	    aix_use_runtimelinking=yes
   7140   	    break
   7141   	  fi
   7142 	  done
   7143 	  ;;
   7144 	esac
   7145 
   7146 	exp_sym_flag='-bexport'
   7147 	no_entry_flag='-bnoentry'
   7148       fi
   7149 
   7150       # When large executables or shared objects are built, AIX ld can
   7151       # have problems creating the table of contents.  If linking a library
   7152       # or program results in "error TOC overflow" add -mminimal-toc to
   7153       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7154       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7155 
   7156       archive_cmds=''
   7157       hardcode_direct=yes
   7158       hardcode_libdir_separator=':'
   7159       link_all_deplibs=yes
   7160 
   7161       if test "$GCC" = yes; then
   7162 	case $host_os in aix4.[012]|aix4.[012].*)
   7163 	# We only want to do this on AIX 4.2 and lower, the check
   7164 	# below for broken collect2 doesn't work under 4.3+
   7165 	  collect2name=`${CC} -print-prog-name=collect2`
   7166 	  if test -f "$collect2name" && \
   7167   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7168 	  then
   7169   	  # We have reworked collect2
   7170   	  hardcode_direct=yes
   7171 	  else
   7172   	  # We have old collect2
   7173   	  hardcode_direct=unsupported
   7174   	  # It fails to find uninstalled libraries when the uninstalled
   7175   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7176   	  # to unsupported forces relinking
   7177   	  hardcode_minus_L=yes
   7178   	  hardcode_libdir_flag_spec='-L$libdir'
   7179   	  hardcode_libdir_separator=
   7180 	  fi
   7181 	  ;;
   7182 	esac
   7183 	shared_flag='-shared'
   7184 	if test "$aix_use_runtimelinking" = yes; then
   7185 	  shared_flag="$shared_flag "'${wl}-G'
   7186 	fi
   7187       else
   7188 	# not using gcc
   7189 	if test "$host_cpu" = ia64; then
   7190   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7191   	# chokes on -Wl,-G. The following line is correct:
   7192 	  shared_flag='-G'
   7193 	else
   7194 	  if test "$aix_use_runtimelinking" = yes; then
   7195 	    shared_flag='${wl}-G'
   7196 	  else
   7197 	    shared_flag='${wl}-bM:SRE'
   7198 	  fi
   7199 	fi
   7200       fi
   7201 
   7202       # It seems that -bexpall does not export symbols beginning with
   7203       # underscore (_), so it is better to generate a list of symbols to export.
   7204       always_export_symbols=yes
   7205       if test "$aix_use_runtimelinking" = yes; then
   7206 	# Warning - without using the other runtime loading flags (-brtl),
   7207 	# -berok will link without error, but may produce a broken library.
   7208 	allow_undefined_flag='-berok'
   7209        # Determine the default libpath from the value encoded in an empty executable.
   7210        cat >conftest.$ac_ext <<_ACEOF
   7211 /* confdefs.h.  */
   7212 _ACEOF
   7213 cat confdefs.h >>conftest.$ac_ext
   7214 cat >>conftest.$ac_ext <<_ACEOF
   7215 /* end confdefs.h.  */
   7216 
   7217 int
   7218 main ()
   7219 {
   7220 
   7221   ;
   7222   return 0;
   7223 }
   7224 _ACEOF
   7225 rm -f conftest.$ac_objext conftest$ac_exeext
   7226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7227   (eval $ac_link) 2>conftest.er1
   7228   ac_status=$?
   7229   grep -v '^ *+' conftest.er1 >conftest.err
   7230   rm -f conftest.er1
   7231   cat conftest.err >&5
   7232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7233   (exit $ac_status); } &&
   7234 	 { ac_try='test -z "$ac_c_werror_flag"
   7235 			 || test ! -s conftest.err'
   7236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7237   (eval $ac_try) 2>&5
   7238   ac_status=$?
   7239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7240   (exit $ac_status); }; } &&
   7241 	 { ac_try='test -s conftest$ac_exeext'
   7242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7243   (eval $ac_try) 2>&5
   7244   ac_status=$?
   7245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7246   (exit $ac_status); }; }; then
   7247 
   7248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7249 }'`
   7250 # Check for a 64-bit object if we didn't find anything.
   7251 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; }
   7252 }'`; fi
   7253 else
   7254   echo "$as_me: failed program was:" >&5
   7255 sed 's/^/| /' conftest.$ac_ext >&5
   7256 
   7257 fi
   7258 rm -f conftest.err conftest.$ac_objext \
   7259       conftest$ac_exeext conftest.$ac_ext
   7260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7261 
   7262        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7263 	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"
   7264        else
   7265 	if test "$host_cpu" = ia64; then
   7266 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7267 	  allow_undefined_flag="-z nodefs"
   7268 	  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"
   7269 	else
   7270 	 # Determine the default libpath from the value encoded in an empty executable.
   7271 	 cat >conftest.$ac_ext <<_ACEOF
   7272 /* confdefs.h.  */
   7273 _ACEOF
   7274 cat confdefs.h >>conftest.$ac_ext
   7275 cat >>conftest.$ac_ext <<_ACEOF
   7276 /* end confdefs.h.  */
   7277 
   7278 int
   7279 main ()
   7280 {
   7281 
   7282   ;
   7283   return 0;
   7284 }
   7285 _ACEOF
   7286 rm -f conftest.$ac_objext conftest$ac_exeext
   7287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7288   (eval $ac_link) 2>conftest.er1
   7289   ac_status=$?
   7290   grep -v '^ *+' conftest.er1 >conftest.err
   7291   rm -f conftest.er1
   7292   cat conftest.err >&5
   7293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7294   (exit $ac_status); } &&
   7295 	 { ac_try='test -z "$ac_c_werror_flag"
   7296 			 || test ! -s conftest.err'
   7297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7298   (eval $ac_try) 2>&5
   7299   ac_status=$?
   7300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7301   (exit $ac_status); }; } &&
   7302 	 { ac_try='test -s conftest$ac_exeext'
   7303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7304   (eval $ac_try) 2>&5
   7305   ac_status=$?
   7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7307   (exit $ac_status); }; }; then
   7308 
   7309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7310 }'`
   7311 # Check for a 64-bit object if we didn't find anything.
   7312 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; }
   7313 }'`; fi
   7314 else
   7315   echo "$as_me: failed program was:" >&5
   7316 sed 's/^/| /' conftest.$ac_ext >&5
   7317 
   7318 fi
   7319 rm -f conftest.err conftest.$ac_objext \
   7320       conftest$ac_exeext conftest.$ac_ext
   7321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7322 
   7323 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7324 	  # Warning - without using the other run time loading flags,
   7325 	  # -berok will link without error, but may produce a broken library.
   7326 	  no_undefined_flag=' ${wl}-bernotok'
   7327 	  allow_undefined_flag=' ${wl}-berok'
   7328 	  # Exported symbols can be pulled into shared objects from archives
   7329 	  whole_archive_flag_spec='$convenience'
   7330 	  archive_cmds_need_lc=yes
   7331 	  # This is similar to how AIX traditionally builds its shared libraries.
   7332 	  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'
   7333 	fi
   7334       fi
   7335       ;;
   7336 
   7337     amigaos*)
   7338       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)'
   7339       hardcode_libdir_flag_spec='-L$libdir'
   7340       hardcode_minus_L=yes
   7341       # see comment about different semantics on the GNU ld section
   7342       ld_shlibs=no
   7343       ;;
   7344 
   7345     bsdi[45]*)
   7346       export_dynamic_flag_spec=-rdynamic
   7347       ;;
   7348 
   7349     cygwin* | mingw* | pw32*)
   7350       # When not using gcc, we currently assume that we are using
   7351       # Microsoft Visual C++.
   7352       # hardcode_libdir_flag_spec is actually meaningless, as there is
   7353       # no search path for DLLs.
   7354       hardcode_libdir_flag_spec=' '
   7355       allow_undefined_flag=unsupported
   7356       # Tell ltmain to make .lib files, not .a files.
   7357       libext=lib
   7358       # Tell ltmain to make .dll files, not .so files.
   7359       shrext_cmds=".dll"
   7360       # FIXME: Setting linknames here is a bad hack.
   7361       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   7362       # The linker will automatically build a .lib file if we build a DLL.
   7363       old_archive_From_new_cmds='true'
   7364       # FIXME: Should let the user specify the lib program.
   7365       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   7366       fix_srcfile_path='`cygpath -w "$srcfile"`'
   7367       enable_shared_with_static_runtimes=yes
   7368       ;;
   7369 
   7370     darwin* | rhapsody*)
   7371       case $host_os in
   7372         rhapsody* | darwin1.[012])
   7373          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   7374          ;;
   7375        *) # Darwin 1.3 on
   7376          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   7377            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7378          else
   7379            case ${MACOSX_DEPLOYMENT_TARGET} in
   7380              10.[012])
   7381                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7382                ;;
   7383              10.*)
   7384                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   7385                ;;
   7386            esac
   7387          fi
   7388          ;;
   7389       esac
   7390       archive_cmds_need_lc=no
   7391       hardcode_direct=no
   7392       hardcode_automatic=yes
   7393       hardcode_shlibpath_var=unsupported
   7394       whole_archive_flag_spec=''
   7395       link_all_deplibs=yes
   7396     if test "$GCC" = yes ; then
   7397     	output_verbose_link_cmd='echo'
   7398         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   7399       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7400       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7401       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}'
   7402       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}'
   7403     else
   7404       case $cc_basename in
   7405         xlc*)
   7406          output_verbose_link_cmd='echo'
   7407          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   7408          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7409           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7410          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}'
   7411           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}'
   7412           ;;
   7413        *)
   7414          ld_shlibs=no
   7415           ;;
   7416       esac
   7417     fi
   7418       ;;
   7419 
   7420     dgux*)
   7421       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7422       hardcode_libdir_flag_spec='-L$libdir'
   7423       hardcode_shlibpath_var=no
   7424       ;;
   7425 
   7426     freebsd1*)
   7427       ld_shlibs=no
   7428       ;;
   7429 
   7430     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   7431     # support.  Future versions do this automatically, but an explicit c++rt0.o
   7432     # does not break anything, and helps significantly (at the cost of a little
   7433     # extra space).
   7434     freebsd2.2*)
   7435       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   7436       hardcode_libdir_flag_spec='-R$libdir'
   7437       hardcode_direct=yes
   7438       hardcode_shlibpath_var=no
   7439       ;;
   7440 
   7441     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   7442     freebsd2*)
   7443       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7444       hardcode_direct=yes
   7445       hardcode_minus_L=yes
   7446       hardcode_shlibpath_var=no
   7447       ;;
   7448 
   7449     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   7450     freebsd* | kfreebsd*-gnu | dragonfly*)
   7451       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   7452       hardcode_libdir_flag_spec='-R$libdir'
   7453       hardcode_direct=yes
   7454       hardcode_shlibpath_var=no
   7455       ;;
   7456 
   7457     hpux9*)
   7458       if test "$GCC" = yes; then
   7459 	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'
   7460       else
   7461 	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'
   7462       fi
   7463       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7464       hardcode_libdir_separator=:
   7465       hardcode_direct=yes
   7466 
   7467       # hardcode_minus_L: Not really in the search PATH,
   7468       # but as the default location of the library.
   7469       hardcode_minus_L=yes
   7470       export_dynamic_flag_spec='${wl}-E'
   7471       ;;
   7472 
   7473     hpux10*)
   7474       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7475 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7476       else
   7477 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   7478       fi
   7479       if test "$with_gnu_ld" = no; then
   7480 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7481 	hardcode_libdir_separator=:
   7482 
   7483 	hardcode_direct=yes
   7484 	export_dynamic_flag_spec='${wl}-E'
   7485 
   7486 	# hardcode_minus_L: Not really in the search PATH,
   7487 	# but as the default location of the library.
   7488 	hardcode_minus_L=yes
   7489       fi
   7490       ;;
   7491 
   7492     hpux11*)
   7493       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7494 	case $host_cpu in
   7495 	hppa*64*)
   7496 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7497 	  ;;
   7498 	ia64*)
   7499 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7500 	  ;;
   7501 	*)
   7502 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7503 	  ;;
   7504 	esac
   7505       else
   7506 	case $host_cpu in
   7507 	hppa*64*)
   7508 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7509 	  ;;
   7510 	ia64*)
   7511 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7512 	  ;;
   7513 	*)
   7514 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7515 	  ;;
   7516 	esac
   7517       fi
   7518       if test "$with_gnu_ld" = no; then
   7519 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7520 	hardcode_libdir_separator=:
   7521 
   7522 	case $host_cpu in
   7523 	hppa*64*|ia64*)
   7524 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   7525 	  hardcode_direct=no
   7526 	  hardcode_shlibpath_var=no
   7527 	  ;;
   7528 	*)
   7529 	  hardcode_direct=yes
   7530 	  export_dynamic_flag_spec='${wl}-E'
   7531 
   7532 	  # hardcode_minus_L: Not really in the search PATH,
   7533 	  # but as the default location of the library.
   7534 	  hardcode_minus_L=yes
   7535 	  ;;
   7536 	esac
   7537       fi
   7538       ;;
   7539 
   7540     irix5* | irix6* | nonstopux*)
   7541       if test "$GCC" = yes; then
   7542 	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'
   7543       else
   7544 	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'
   7545 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   7546       fi
   7547       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7548       hardcode_libdir_separator=:
   7549       link_all_deplibs=yes
   7550       ;;
   7551 
   7552     netbsd*)
   7553       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7554 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   7555       else
   7556 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   7557       fi
   7558       hardcode_libdir_flag_spec='-R$libdir'
   7559       hardcode_direct=yes
   7560       hardcode_shlibpath_var=no
   7561       ;;
   7562 
   7563     newsos6)
   7564       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7565       hardcode_direct=yes
   7566       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7567       hardcode_libdir_separator=:
   7568       hardcode_shlibpath_var=no
   7569       ;;
   7570 
   7571     openbsd*)
   7572       hardcode_direct=yes
   7573       hardcode_shlibpath_var=no
   7574       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7575 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7576 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   7577 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7578 	export_dynamic_flag_spec='${wl}-E'
   7579       else
   7580        case $host_os in
   7581 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   7582 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7583 	   hardcode_libdir_flag_spec='-R$libdir'
   7584 	   ;;
   7585 	 *)
   7586 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7587 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7588 	   ;;
   7589        esac
   7590       fi
   7591       ;;
   7592 
   7593     os2*)
   7594       hardcode_libdir_flag_spec='-L$libdir'
   7595       hardcode_minus_L=yes
   7596       allow_undefined_flag=unsupported
   7597       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'
   7598       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   7599       ;;
   7600 
   7601     osf3*)
   7602       if test "$GCC" = yes; then
   7603 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7604 	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'
   7605       else
   7606 	allow_undefined_flag=' -expect_unresolved \*'
   7607 	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'
   7608       fi
   7609       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7610       hardcode_libdir_separator=:
   7611       ;;
   7612 
   7613     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   7614       if test "$GCC" = yes; then
   7615 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7616 	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'
   7617 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7618       else
   7619 	allow_undefined_flag=' -expect_unresolved \*'
   7620 	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'
   7621 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   7622 	$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'
   7623 
   7624 	# Both c and cxx compiler support -rpath directly
   7625 	hardcode_libdir_flag_spec='-rpath $libdir'
   7626       fi
   7627       hardcode_libdir_separator=:
   7628       ;;
   7629 
   7630     solaris*)
   7631       no_undefined_flag=' -z text'
   7632       if test "$GCC" = yes; then
   7633 	wlarc='${wl}'
   7634 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7635 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7636 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   7637       else
   7638 	wlarc=''
   7639 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7640 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7641   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   7642       fi
   7643       hardcode_libdir_flag_spec='-R$libdir'
   7644       hardcode_shlibpath_var=no
   7645       case $host_os in
   7646       solaris2.[0-5] | solaris2.[0-5].*) ;;
   7647       *)
   7648  	# The compiler driver will combine linker options so we
   7649  	# cannot just pass the convience library names through
   7650  	# without $wl, iff we do not link with $LD.
   7651  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   7652  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   7653  	case $wlarc in
   7654  	'')
   7655  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   7656  	*)
   7657  	  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' ;;
   7658  	esac ;;
   7659       esac
   7660       link_all_deplibs=yes
   7661       ;;
   7662 
   7663     sunos4*)
   7664       if test "x$host_vendor" = xsequent; then
   7665 	# Use $CC to link under sequent, because it throws in some extra .o
   7666 	# files that make .init and .fini sections work.
   7667 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   7668       else
   7669 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   7670       fi
   7671       hardcode_libdir_flag_spec='-L$libdir'
   7672       hardcode_direct=yes
   7673       hardcode_minus_L=yes
   7674       hardcode_shlibpath_var=no
   7675       ;;
   7676 
   7677     sysv4)
   7678       case $host_vendor in
   7679 	sni)
   7680 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7681 	  hardcode_direct=yes # is this really true???
   7682 	;;
   7683 	siemens)
   7684 	  ## LD is ld it makes a PLAMLIB
   7685 	  ## CC just makes a GrossModule.
   7686 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   7687 	  reload_cmds='$CC -r -o $output$reload_objs'
   7688 	  hardcode_direct=no
   7689         ;;
   7690 	motorola)
   7691 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7692 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   7693 	;;
   7694       esac
   7695       runpath_var='LD_RUN_PATH'
   7696       hardcode_shlibpath_var=no
   7697       ;;
   7698 
   7699     sysv4.3*)
   7700       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7701       hardcode_shlibpath_var=no
   7702       export_dynamic_flag_spec='-Bexport'
   7703       ;;
   7704 
   7705     sysv4*MP*)
   7706       if test -d /usr/nec; then
   7707 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7708 	hardcode_shlibpath_var=no
   7709 	runpath_var=LD_RUN_PATH
   7710 	hardcode_runpath_var=yes
   7711 	ld_shlibs=yes
   7712       fi
   7713       ;;
   7714 
   7715     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   7716       no_undefined_flag='${wl}-z,text'
   7717       archive_cmds_need_lc=no
   7718       hardcode_shlibpath_var=no
   7719       runpath_var='LD_RUN_PATH'
   7720 
   7721       if test "$GCC" = yes; then
   7722 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7723 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7724       else
   7725 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7726 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   7727       fi
   7728       ;;
   7729 
   7730     sysv5* | sco3.2v5* | sco5v6*)
   7731       # Note: We can NOT use -z defs as we might desire, because we do not
   7732       # link with -lc, and that would cause any symbols used from libc to
   7733       # always be unresolved, which means just about no library would
   7734       # ever link correctly.  If we're not using GNU ld we use -z text
   7735       # though, which does catch some bad symbols but isn't as heavy-handed
   7736       # as -z defs.
   7737       no_undefined_flag='${wl}-z,text'
   7738       allow_undefined_flag='${wl}-z,nodefs'
   7739       archive_cmds_need_lc=no
   7740       hardcode_shlibpath_var=no
   7741       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   7742       hardcode_libdir_separator=':'
   7743       link_all_deplibs=yes
   7744       export_dynamic_flag_spec='${wl}-Bexport'
   7745       runpath_var='LD_RUN_PATH'
   7746 
   7747       if test "$GCC" = yes; then
   7748 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7749 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7750       else
   7751 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7752 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7753       fi
   7754       ;;
   7755 
   7756     uts4*)
   7757       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7758       hardcode_libdir_flag_spec='-L$libdir'
   7759       hardcode_shlibpath_var=no
   7760       ;;
   7761 
   7762     *)
   7763       ld_shlibs=no
   7764       ;;
   7765     esac
   7766   fi
   7767 
   7768 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   7769 echo "${ECHO_T}$ld_shlibs" >&6
   7770 test "$ld_shlibs" = no && can_build_shared=no
   7771 
   7772 #
   7773 # Do we need to explicitly link libc?
   7774 #
   7775 case "x$archive_cmds_need_lc" in
   7776 x|xyes)
   7777   # Assume -lc should be added
   7778   archive_cmds_need_lc=yes
   7779 
   7780   if test "$enable_shared" = yes && test "$GCC" = yes; then
   7781     case $archive_cmds in
   7782     *'~'*)
   7783       # FIXME: we may have to deal with multi-command sequences.
   7784       ;;
   7785     '$CC '*)
   7786       # Test whether the compiler implicitly links with -lc since on some
   7787       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   7788       # to ld, don't add -lc before -lgcc.
   7789       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   7790 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   7791       $rm conftest*
   7792       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7793 
   7794       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7795   (eval $ac_compile) 2>&5
   7796   ac_status=$?
   7797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7798   (exit $ac_status); } 2>conftest.err; then
   7799         soname=conftest
   7800         lib=conftest
   7801         libobjs=conftest.$ac_objext
   7802         deplibs=
   7803         wl=$lt_prog_compiler_wl
   7804 	pic_flag=$lt_prog_compiler_pic
   7805         compiler_flags=-v
   7806         linker_flags=-v
   7807         verstring=
   7808         output_objdir=.
   7809         libname=conftest
   7810         lt_save_allow_undefined_flag=$allow_undefined_flag
   7811         allow_undefined_flag=
   7812         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   7813   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   7814   ac_status=$?
   7815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7816   (exit $ac_status); }
   7817         then
   7818 	  archive_cmds_need_lc=no
   7819         else
   7820 	  archive_cmds_need_lc=yes
   7821         fi
   7822         allow_undefined_flag=$lt_save_allow_undefined_flag
   7823       else
   7824         cat conftest.err 1>&5
   7825       fi
   7826       $rm conftest*
   7827       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   7828 echo "${ECHO_T}$archive_cmds_need_lc" >&6
   7829       ;;
   7830     esac
   7831   fi
   7832   ;;
   7833 esac
   7834 
   7835 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   7836 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   7837 library_names_spec=
   7838 libname_spec='lib$name'
   7839 soname_spec=
   7840 shrext_cmds=".so"
   7841 postinstall_cmds=
   7842 postuninstall_cmds=
   7843 finish_cmds=
   7844 finish_eval=
   7845 shlibpath_var=
   7846 shlibpath_overrides_runpath=unknown
   7847 version_type=none
   7848 dynamic_linker="$host_os ld.so"
   7849 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   7850 if test "$GCC" = yes; then
   7851   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   7852   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   7853     # if the path contains ";" then we assume it to be the separator
   7854     # otherwise default to the standard path separator (i.e. ":") - it is
   7855     # assumed that no part of a normal pathname contains ";" but that should
   7856     # okay in the real world where ";" in dirpaths is itself problematic.
   7857     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   7858   else
   7859     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   7860   fi
   7861 else
   7862   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   7863 fi
   7864 need_lib_prefix=unknown
   7865 hardcode_into_libs=no
   7866 
   7867 # when you set need_version to no, make sure it does not cause -set_version
   7868 # flags to be left without arguments
   7869 need_version=unknown
   7870 
   7871 case $host_os in
   7872 aix3*)
   7873   version_type=linux
   7874   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   7875   shlibpath_var=LIBPATH
   7876 
   7877   # AIX 3 has no versioning support, so we append a major version to the name.
   7878   soname_spec='${libname}${release}${shared_ext}$major'
   7879   ;;
   7880 
   7881 aix4* | aix5*)
   7882   version_type=linux
   7883   need_lib_prefix=no
   7884   need_version=no
   7885   hardcode_into_libs=yes
   7886   if test "$host_cpu" = ia64; then
   7887     # AIX 5 supports IA64
   7888     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   7889     shlibpath_var=LD_LIBRARY_PATH
   7890   else
   7891     # With GCC up to 2.95.x, collect2 would create an import file
   7892     # for dependence libraries.  The import file would start with
   7893     # the line `#! .'.  This would cause the generated library to
   7894     # depend on `.', always an invalid library.  This was fixed in
   7895     # development snapshots of GCC prior to 3.0.
   7896     case $host_os in
   7897       aix4 | aix4.[01] | aix4.[01].*)
   7898       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   7899 	   echo ' yes '
   7900 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   7901 	:
   7902       else
   7903 	can_build_shared=no
   7904       fi
   7905       ;;
   7906     esac
   7907     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   7908     # soname into executable. Probably we can add versioning support to
   7909     # collect2, so additional links can be useful in future.
   7910     if test "$aix_use_runtimelinking" = yes; then
   7911       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   7912       # instead of lib<name>.a to let people know that these are not
   7913       # typical AIX shared libraries.
   7914       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   7915     else
   7916       # We preserve .a as extension for shared libraries through AIX4.2
   7917       # and later when we are not doing run time linking.
   7918       library_names_spec='${libname}${release}.a $libname.a'
   7919       soname_spec='${libname}${release}${shared_ext}$major'
   7920     fi
   7921     shlibpath_var=LIBPATH
   7922   fi
   7923   ;;
   7924 
   7925 amigaos*)
   7926   library_names_spec='$libname.ixlibrary $libname.a'
   7927   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   7928   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'
   7929   ;;
   7930 
   7931 beos*)
   7932   library_names_spec='${libname}${shared_ext}'
   7933   dynamic_linker="$host_os ld.so"
   7934   shlibpath_var=LIBRARY_PATH
   7935   ;;
   7936 
   7937 bsdi[45]*)
   7938   version_type=linux
   7939   need_version=no
   7940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   7941   soname_spec='${libname}${release}${shared_ext}$major'
   7942   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   7943   shlibpath_var=LD_LIBRARY_PATH
   7944   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   7945   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   7946   # the default ld.so.conf also contains /usr/contrib/lib and
   7947   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   7948   # libtool to hard-code these into programs
   7949   ;;
   7950 
   7951 cygwin* | mingw* | pw32*)
   7952   version_type=windows
   7953   shrext_cmds=".dll"
   7954   need_version=no
   7955   need_lib_prefix=no
   7956 
   7957   case $GCC,$host_os in
   7958   yes,cygwin* | yes,mingw* | yes,pw32*)
   7959     library_names_spec='$libname.dll.a'
   7960     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   7961     postinstall_cmds='base_file=`basename \${file}`~
   7962       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   7963       dldir=$destdir/`dirname \$dlpath`~
   7964       test -d \$dldir || mkdir -p \$dldir~
   7965       $install_prog $dir/$dlname \$dldir/$dlname~
   7966       chmod a+x \$dldir/$dlname'
   7967     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   7968       dlpath=$dir/\$dldll~
   7969        $rm \$dlpath'
   7970     shlibpath_overrides_runpath=yes
   7971 
   7972     case $host_os in
   7973     cygwin*)
   7974       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   7975       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   7976       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   7977       ;;
   7978     mingw*)
   7979       # MinGW DLLs use traditional 'lib' prefix
   7980       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   7981       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   7982       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   7983         # It is most probably a Windows format PATH printed by
   7984         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   7985         # path with ; separators, and with drive letters. We can handle the
   7986         # drive letters (cygwin fileutils understands them), so leave them,
   7987         # especially as we might pass files found there to a mingw objdump,
   7988         # which wouldn't understand a cygwinified path. Ahh.
   7989         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   7990       else
   7991         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   7992       fi
   7993       ;;
   7994     pw32*)
   7995       # pw32 DLLs use 'pw' prefix rather than 'lib'
   7996       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   7997       ;;
   7998     esac
   7999     ;;
   8000 
   8001   *)
   8002     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8003     ;;
   8004   esac
   8005   dynamic_linker='Win32 ld.exe'
   8006   # FIXME: first we should search . and the directory the executable is in
   8007   shlibpath_var=PATH
   8008   ;;
   8009 
   8010 darwin* | rhapsody*)
   8011   dynamic_linker="$host_os dyld"
   8012   version_type=darwin
   8013   need_lib_prefix=no
   8014   need_version=no
   8015   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8016   soname_spec='${libname}${release}${major}$shared_ext'
   8017   shlibpath_overrides_runpath=yes
   8018   shlibpath_var=DYLD_LIBRARY_PATH
   8019   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8020   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8021   if test "$GCC" = yes; then
   8022     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"`
   8023   else
   8024     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8025   fi
   8026   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8027   ;;
   8028 
   8029 dgux*)
   8030   version_type=linux
   8031   need_lib_prefix=no
   8032   need_version=no
   8033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8034   soname_spec='${libname}${release}${shared_ext}$major'
   8035   shlibpath_var=LD_LIBRARY_PATH
   8036   ;;
   8037 
   8038 freebsd1*)
   8039   dynamic_linker=no
   8040   ;;
   8041 
   8042 kfreebsd*-gnu)
   8043   version_type=linux
   8044   need_lib_prefix=no
   8045   need_version=no
   8046   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8047   soname_spec='${libname}${release}${shared_ext}$major'
   8048   shlibpath_var=LD_LIBRARY_PATH
   8049   shlibpath_overrides_runpath=no
   8050   hardcode_into_libs=yes
   8051   dynamic_linker='GNU ld.so'
   8052   ;;
   8053 
   8054 freebsd* | dragonfly*)
   8055   # DragonFly does not have aout.  When/if they implement a new
   8056   # versioning mechanism, adjust this.
   8057   if test -x /usr/bin/objformat; then
   8058     objformat=`/usr/bin/objformat`
   8059   else
   8060     case $host_os in
   8061     freebsd[123]*) objformat=aout ;;
   8062     *) objformat=elf ;;
   8063     esac
   8064   fi
   8065   version_type=freebsd-$objformat
   8066   case $version_type in
   8067     freebsd-elf*)
   8068       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8069       need_version=no
   8070       need_lib_prefix=no
   8071       ;;
   8072     freebsd-*)
   8073       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8074       need_version=yes
   8075       ;;
   8076   esac
   8077   shlibpath_var=LD_LIBRARY_PATH
   8078   case $host_os in
   8079   freebsd2*)
   8080     shlibpath_overrides_runpath=yes
   8081     ;;
   8082   freebsd3.[01]* | freebsdelf3.[01]*)
   8083     shlibpath_overrides_runpath=yes
   8084     hardcode_into_libs=yes
   8085     ;;
   8086   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8087   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8088     shlibpath_overrides_runpath=no
   8089     hardcode_into_libs=yes
   8090     ;;
   8091   freebsd*) # from 4.6 on
   8092     shlibpath_overrides_runpath=yes
   8093     hardcode_into_libs=yes
   8094     ;;
   8095   esac
   8096   ;;
   8097 
   8098 gnu*)
   8099   version_type=linux
   8100   need_lib_prefix=no
   8101   need_version=no
   8102   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8103   soname_spec='${libname}${release}${shared_ext}$major'
   8104   shlibpath_var=LD_LIBRARY_PATH
   8105   hardcode_into_libs=yes
   8106   ;;
   8107 
   8108 hpux9* | hpux10* | hpux11*)
   8109   # Give a soname corresponding to the major version so that dld.sl refuses to
   8110   # link against other versions.
   8111   version_type=sunos
   8112   need_lib_prefix=no
   8113   need_version=no
   8114   case $host_cpu in
   8115   ia64*)
   8116     shrext_cmds='.so'
   8117     hardcode_into_libs=yes
   8118     dynamic_linker="$host_os dld.so"
   8119     shlibpath_var=LD_LIBRARY_PATH
   8120     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8121     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8122     soname_spec='${libname}${release}${shared_ext}$major'
   8123     if test "X$HPUX_IA64_MODE" = X32; then
   8124       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8125     else
   8126       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8127     fi
   8128     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8129     ;;
   8130    hppa*64*)
   8131      shrext_cmds='.sl'
   8132      hardcode_into_libs=yes
   8133      dynamic_linker="$host_os dld.sl"
   8134      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8135      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8136      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8137      soname_spec='${libname}${release}${shared_ext}$major'
   8138      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8139      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8140      ;;
   8141    *)
   8142     shrext_cmds='.sl'
   8143     dynamic_linker="$host_os dld.sl"
   8144     shlibpath_var=SHLIB_PATH
   8145     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8146     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8147     soname_spec='${libname}${release}${shared_ext}$major'
   8148     ;;
   8149   esac
   8150   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8151   postinstall_cmds='chmod 555 $lib'
   8152   ;;
   8153 
   8154 interix3*)
   8155   version_type=linux
   8156   need_lib_prefix=no
   8157   need_version=no
   8158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8159   soname_spec='${libname}${release}${shared_ext}$major'
   8160   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8161   shlibpath_var=LD_LIBRARY_PATH
   8162   shlibpath_overrides_runpath=no
   8163   hardcode_into_libs=yes
   8164   ;;
   8165 
   8166 irix5* | irix6* | nonstopux*)
   8167   case $host_os in
   8168     nonstopux*) version_type=nonstopux ;;
   8169     *)
   8170 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8171 		version_type=linux
   8172 	else
   8173 		version_type=irix
   8174 	fi ;;
   8175   esac
   8176   need_lib_prefix=no
   8177   need_version=no
   8178   soname_spec='${libname}${release}${shared_ext}$major'
   8179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8180   case $host_os in
   8181   irix5* | nonstopux*)
   8182     libsuff= shlibsuff=
   8183     ;;
   8184   *)
   8185     case $LD in # libtool.m4 will add one of these switches to LD
   8186     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8187       libsuff= shlibsuff= libmagic=32-bit;;
   8188     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8189       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8190     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8191       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8192     *) libsuff= shlibsuff= libmagic=never-match;;
   8193     esac
   8194     ;;
   8195   esac
   8196   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8197   shlibpath_overrides_runpath=no
   8198   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8199   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8200   hardcode_into_libs=yes
   8201   ;;
   8202 
   8203 # No shared lib support for Linux oldld, aout, or coff.
   8204 linux*oldld* | linux*aout* | linux*coff*)
   8205   dynamic_linker=no
   8206   ;;
   8207 
   8208 # This must be Linux ELF.
   8209 linux*)
   8210   version_type=linux
   8211   need_lib_prefix=no
   8212   need_version=no
   8213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8214   soname_spec='${libname}${release}${shared_ext}$major'
   8215   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8216   shlibpath_var=LD_LIBRARY_PATH
   8217   shlibpath_overrides_runpath=no
   8218   # This implies no fast_install, which is unacceptable.
   8219   # Some rework will be needed to allow for fast_install
   8220   # before this can be enabled.
   8221   hardcode_into_libs=yes
   8222 
   8223   # find out which ABI we are using
   8224   libsuff=
   8225   case "$host_cpu" in
   8226   x86_64*|s390x*|powerpc64*)
   8227     echo '#line 8227 "configure"' > conftest.$ac_ext
   8228     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8229   (eval $ac_compile) 2>&5
   8230   ac_status=$?
   8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8232   (exit $ac_status); }; then
   8233       case `/usr/bin/file conftest.$ac_objext` in
   8234       *64-bit*)
   8235         libsuff=64
   8236         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   8237         ;;
   8238       esac
   8239     fi
   8240     rm -rf conftest*
   8241     ;;
   8242   esac
   8243 
   8244   # Append ld.so.conf contents to the search path
   8245   if test -f /etc/ld.so.conf; then
   8246     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   8247     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   8248   fi
   8249 
   8250   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8251   # powerpc, because MkLinux only supported shared libraries with the
   8252   # GNU dynamic linker.  Since this was broken with cross compilers,
   8253   # most powerpc-linux boxes support dynamic linking these days and
   8254   # people can always --disable-shared, the test was removed, and we
   8255   # assume the GNU/Linux dynamic linker is in use.
   8256   dynamic_linker='GNU/Linux ld.so'
   8257   ;;
   8258 
   8259 knetbsd*-gnu)
   8260   version_type=linux
   8261   need_lib_prefix=no
   8262   need_version=no
   8263   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8264   soname_spec='${libname}${release}${shared_ext}$major'
   8265   shlibpath_var=LD_LIBRARY_PATH
   8266   shlibpath_overrides_runpath=no
   8267   hardcode_into_libs=yes
   8268   dynamic_linker='GNU ld.so'
   8269   ;;
   8270 
   8271 netbsd*)
   8272   version_type=sunos
   8273   need_lib_prefix=no
   8274   need_version=no
   8275   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8276     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8277     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8278     dynamic_linker='NetBSD (a.out) ld.so'
   8279   else
   8280     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8281     soname_spec='${libname}${release}${shared_ext}$major'
   8282     dynamic_linker='NetBSD ld.elf_so'
   8283   fi
   8284   shlibpath_var=LD_LIBRARY_PATH
   8285   shlibpath_overrides_runpath=yes
   8286   hardcode_into_libs=yes
   8287   ;;
   8288 
   8289 newsos6)
   8290   version_type=linux
   8291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8292   shlibpath_var=LD_LIBRARY_PATH
   8293   shlibpath_overrides_runpath=yes
   8294   ;;
   8295 
   8296 nto-qnx*)
   8297   version_type=linux
   8298   need_lib_prefix=no
   8299   need_version=no
   8300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8301   soname_spec='${libname}${release}${shared_ext}$major'
   8302   shlibpath_var=LD_LIBRARY_PATH
   8303   shlibpath_overrides_runpath=yes
   8304   ;;
   8305 
   8306 openbsd*)
   8307   version_type=sunos
   8308   sys_lib_dlsearch_path_spec="/usr/lib"
   8309   need_lib_prefix=no
   8310   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8311   case $host_os in
   8312     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8313     *)                         need_version=no  ;;
   8314   esac
   8315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8316   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8317   shlibpath_var=LD_LIBRARY_PATH
   8318   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8319     case $host_os in
   8320       openbsd2.[89] | openbsd2.[89].*)
   8321 	shlibpath_overrides_runpath=no
   8322 	;;
   8323       *)
   8324 	shlibpath_overrides_runpath=yes
   8325 	;;
   8326       esac
   8327   else
   8328     shlibpath_overrides_runpath=yes
   8329   fi
   8330   ;;
   8331 
   8332 os2*)
   8333   libname_spec='$name'
   8334   shrext_cmds=".dll"
   8335   need_lib_prefix=no
   8336   library_names_spec='$libname${shared_ext} $libname.a'
   8337   dynamic_linker='OS/2 ld.exe'
   8338   shlibpath_var=LIBPATH
   8339   ;;
   8340 
   8341 osf3* | osf4* | osf5*)
   8342   version_type=osf
   8343   need_lib_prefix=no
   8344   need_version=no
   8345   soname_spec='${libname}${release}${shared_ext}$major'
   8346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8347   shlibpath_var=LD_LIBRARY_PATH
   8348   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   8349   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   8350   ;;
   8351 
   8352 solaris*)
   8353   version_type=linux
   8354   need_lib_prefix=no
   8355   need_version=no
   8356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8357   soname_spec='${libname}${release}${shared_ext}$major'
   8358   shlibpath_var=LD_LIBRARY_PATH
   8359   shlibpath_overrides_runpath=yes
   8360   hardcode_into_libs=yes
   8361   # ldd complains unless libraries are executable
   8362   postinstall_cmds='chmod +x $lib'
   8363   ;;
   8364 
   8365 sunos4*)
   8366   version_type=sunos
   8367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8368   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   8369   shlibpath_var=LD_LIBRARY_PATH
   8370   shlibpath_overrides_runpath=yes
   8371   if test "$with_gnu_ld" = yes; then
   8372     need_lib_prefix=no
   8373   fi
   8374   need_version=yes
   8375   ;;
   8376 
   8377 sysv4 | sysv4.3*)
   8378   version_type=linux
   8379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8380   soname_spec='${libname}${release}${shared_ext}$major'
   8381   shlibpath_var=LD_LIBRARY_PATH
   8382   case $host_vendor in
   8383     sni)
   8384       shlibpath_overrides_runpath=no
   8385       need_lib_prefix=no
   8386       export_dynamic_flag_spec='${wl}-Blargedynsym'
   8387       runpath_var=LD_RUN_PATH
   8388       ;;
   8389     siemens)
   8390       need_lib_prefix=no
   8391       ;;
   8392     motorola)
   8393       need_lib_prefix=no
   8394       need_version=no
   8395       shlibpath_overrides_runpath=no
   8396       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   8397       ;;
   8398   esac
   8399   ;;
   8400 
   8401 sysv4*MP*)
   8402   if test -d /usr/nec ;then
   8403     version_type=linux
   8404     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   8405     soname_spec='$libname${shared_ext}.$major'
   8406     shlibpath_var=LD_LIBRARY_PATH
   8407   fi
   8408   ;;
   8409 
   8410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   8411   version_type=freebsd-elf
   8412   need_lib_prefix=no
   8413   need_version=no
   8414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8415   soname_spec='${libname}${release}${shared_ext}$major'
   8416   shlibpath_var=LD_LIBRARY_PATH
   8417   hardcode_into_libs=yes
   8418   if test "$with_gnu_ld" = yes; then
   8419     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   8420     shlibpath_overrides_runpath=no
   8421   else
   8422     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   8423     shlibpath_overrides_runpath=yes
   8424     case $host_os in
   8425       sco3.2v5*)
   8426         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   8427 	;;
   8428     esac
   8429   fi
   8430   sys_lib_dlsearch_path_spec='/usr/lib'
   8431   ;;
   8432 
   8433 uts4*)
   8434   version_type=linux
   8435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8436   soname_spec='${libname}${release}${shared_ext}$major'
   8437   shlibpath_var=LD_LIBRARY_PATH
   8438   ;;
   8439 
   8440 *)
   8441   dynamic_linker=no
   8442   ;;
   8443 esac
   8444 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   8445 echo "${ECHO_T}$dynamic_linker" >&6
   8446 test "$dynamic_linker" = no && can_build_shared=no
   8447 
   8448 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   8449 if test "$GCC" = yes; then
   8450   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   8451 fi
   8452 
   8453 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   8454 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   8455 hardcode_action=
   8456 if test -n "$hardcode_libdir_flag_spec" || \
   8457    test -n "$runpath_var" || \
   8458    test "X$hardcode_automatic" = "Xyes" ; then
   8459 
   8460   # We can hardcode non-existant directories.
   8461   if test "$hardcode_direct" != no &&
   8462      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   8463      # have to relink, otherwise we might link with an installed library
   8464      # when we should be linking with a yet-to-be-installed one
   8465      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   8466      test "$hardcode_minus_L" != no; then
   8467     # Linking always hardcodes the temporary library directory.
   8468     hardcode_action=relink
   8469   else
   8470     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   8471     hardcode_action=immediate
   8472   fi
   8473 else
   8474   # We cannot hardcode anything, or else we can only hardcode existing
   8475   # directories.
   8476   hardcode_action=unsupported
   8477 fi
   8478 echo "$as_me:$LINENO: result: $hardcode_action" >&5
   8479 echo "${ECHO_T}$hardcode_action" >&6
   8480 
   8481 if test "$hardcode_action" = relink; then
   8482   # Fast installation is not supported
   8483   enable_fast_install=no
   8484 elif test "$shlibpath_overrides_runpath" = yes ||
   8485      test "$enable_shared" = no; then
   8486   # Fast installation is not necessary
   8487   enable_fast_install=needless
   8488 fi
   8489 
   8490 striplib=
   8491 old_striplib=
   8492 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   8493 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   8494 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   8495   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   8496   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   8497   echo "$as_me:$LINENO: result: yes" >&5
   8498 echo "${ECHO_T}yes" >&6
   8499 else
   8500 # FIXME - insert some real tests, host_os isn't really good enough
   8501   case $host_os in
   8502    darwin*)
   8503        if test -n "$STRIP" ; then
   8504          striplib="$STRIP -x"
   8505          echo "$as_me:$LINENO: result: yes" >&5
   8506 echo "${ECHO_T}yes" >&6
   8507        else
   8508   echo "$as_me:$LINENO: result: no" >&5
   8509 echo "${ECHO_T}no" >&6
   8510 fi
   8511        ;;
   8512    *)
   8513   echo "$as_me:$LINENO: result: no" >&5
   8514 echo "${ECHO_T}no" >&6
   8515     ;;
   8516   esac
   8517 fi
   8518 
   8519 if test "x$enable_dlopen" != xyes; then
   8520   enable_dlopen=unknown
   8521   enable_dlopen_self=unknown
   8522   enable_dlopen_self_static=unknown
   8523 else
   8524   lt_cv_dlopen=no
   8525   lt_cv_dlopen_libs=
   8526 
   8527   case $host_os in
   8528   beos*)
   8529     lt_cv_dlopen="load_add_on"
   8530     lt_cv_dlopen_libs=
   8531     lt_cv_dlopen_self=yes
   8532     ;;
   8533 
   8534   mingw* | pw32*)
   8535     lt_cv_dlopen="LoadLibrary"
   8536     lt_cv_dlopen_libs=
   8537    ;;
   8538 
   8539   cygwin*)
   8540     lt_cv_dlopen="dlopen"
   8541     lt_cv_dlopen_libs=
   8542    ;;
   8543 
   8544   darwin*)
   8545   # if libdl is installed we need to link against it
   8546     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   8547 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   8548 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   8549   echo $ECHO_N "(cached) $ECHO_C" >&6
   8550 else
   8551   ac_check_lib_save_LIBS=$LIBS
   8552 LIBS="-ldl  $LIBS"
   8553 cat >conftest.$ac_ext <<_ACEOF
   8554 /* confdefs.h.  */
   8555 _ACEOF
   8556 cat confdefs.h >>conftest.$ac_ext
   8557 cat >>conftest.$ac_ext <<_ACEOF
   8558 /* end confdefs.h.  */
   8559 
   8560 /* Override any gcc2 internal prototype to avoid an error.  */
   8561 #ifdef __cplusplus
   8562 extern "C"
   8563 #endif
   8564 /* We use char because int might match the return type of a gcc2
   8565    builtin and then its argument prototype would still apply.  */
   8566 char dlopen ();
   8567 int
   8568 main ()
   8569 {
   8570 dlopen ();
   8571   ;
   8572   return 0;
   8573 }
   8574 _ACEOF
   8575 rm -f conftest.$ac_objext conftest$ac_exeext
   8576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8577   (eval $ac_link) 2>conftest.er1
   8578   ac_status=$?
   8579   grep -v '^ *+' conftest.er1 >conftest.err
   8580   rm -f conftest.er1
   8581   cat conftest.err >&5
   8582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8583   (exit $ac_status); } &&
   8584 	 { ac_try='test -z "$ac_c_werror_flag"
   8585 			 || test ! -s conftest.err'
   8586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8587   (eval $ac_try) 2>&5
   8588   ac_status=$?
   8589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8590   (exit $ac_status); }; } &&
   8591 	 { ac_try='test -s conftest$ac_exeext'
   8592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8593   (eval $ac_try) 2>&5
   8594   ac_status=$?
   8595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8596   (exit $ac_status); }; }; then
   8597   ac_cv_lib_dl_dlopen=yes
   8598 else
   8599   echo "$as_me: failed program was:" >&5
   8600 sed 's/^/| /' conftest.$ac_ext >&5
   8601 
   8602 ac_cv_lib_dl_dlopen=no
   8603 fi
   8604 rm -f conftest.err conftest.$ac_objext \
   8605       conftest$ac_exeext conftest.$ac_ext
   8606 LIBS=$ac_check_lib_save_LIBS
   8607 fi
   8608 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   8609 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   8610 if test $ac_cv_lib_dl_dlopen = yes; then
   8611   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   8612 else
   8613 
   8614     lt_cv_dlopen="dyld"
   8615     lt_cv_dlopen_libs=
   8616     lt_cv_dlopen_self=yes
   8617 
   8618 fi
   8619 
   8620    ;;
   8621 
   8622   *)
   8623     echo "$as_me:$LINENO: checking for shl_load" >&5
   8624 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   8625 if test "${ac_cv_func_shl_load+set}" = set; then
   8626   echo $ECHO_N "(cached) $ECHO_C" >&6
   8627 else
   8628   cat >conftest.$ac_ext <<_ACEOF
   8629 /* confdefs.h.  */
   8630 _ACEOF
   8631 cat confdefs.h >>conftest.$ac_ext
   8632 cat >>conftest.$ac_ext <<_ACEOF
   8633 /* end confdefs.h.  */
   8634 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   8635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8636 #define shl_load innocuous_shl_load
   8637 
   8638 /* System header to define __stub macros and hopefully few prototypes,
   8639     which can conflict with char shl_load (); below.
   8640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8641     <limits.h> exists even on freestanding compilers.  */
   8642 
   8643 #ifdef __STDC__
   8644 # include <limits.h>
   8645 #else
   8646 # include <assert.h>
   8647 #endif
   8648 
   8649 #undef shl_load
   8650 
   8651 /* Override any gcc2 internal prototype to avoid an error.  */
   8652 #ifdef __cplusplus
   8653 extern "C"
   8654 {
   8655 #endif
   8656 /* We use char because int might match the return type of a gcc2
   8657    builtin and then its argument prototype would still apply.  */
   8658 char shl_load ();
   8659 /* The GNU C library defines this for functions which it implements
   8660     to always fail with ENOSYS.  Some functions are actually named
   8661     something starting with __ and the normal name is an alias.  */
   8662 #if defined (__stub_shl_load) || defined (__stub___shl_load)
   8663 choke me
   8664 #else
   8665 char (*f) () = shl_load;
   8666 #endif
   8667 #ifdef __cplusplus
   8668 }
   8669 #endif
   8670 
   8671 int
   8672 main ()
   8673 {
   8674 return f != shl_load;
   8675   ;
   8676   return 0;
   8677 }
   8678 _ACEOF
   8679 rm -f conftest.$ac_objext conftest$ac_exeext
   8680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8681   (eval $ac_link) 2>conftest.er1
   8682   ac_status=$?
   8683   grep -v '^ *+' conftest.er1 >conftest.err
   8684   rm -f conftest.er1
   8685   cat conftest.err >&5
   8686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8687   (exit $ac_status); } &&
   8688 	 { ac_try='test -z "$ac_c_werror_flag"
   8689 			 || test ! -s conftest.err'
   8690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8691   (eval $ac_try) 2>&5
   8692   ac_status=$?
   8693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8694   (exit $ac_status); }; } &&
   8695 	 { ac_try='test -s conftest$ac_exeext'
   8696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8697   (eval $ac_try) 2>&5
   8698   ac_status=$?
   8699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8700   (exit $ac_status); }; }; then
   8701   ac_cv_func_shl_load=yes
   8702 else
   8703   echo "$as_me: failed program was:" >&5
   8704 sed 's/^/| /' conftest.$ac_ext >&5
   8705 
   8706 ac_cv_func_shl_load=no
   8707 fi
   8708 rm -f conftest.err conftest.$ac_objext \
   8709       conftest$ac_exeext conftest.$ac_ext
   8710 fi
   8711 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   8712 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   8713 if test $ac_cv_func_shl_load = yes; then
   8714   lt_cv_dlopen="shl_load"
   8715 else
   8716   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   8717 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   8718 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   8719   echo $ECHO_N "(cached) $ECHO_C" >&6
   8720 else
   8721   ac_check_lib_save_LIBS=$LIBS
   8722 LIBS="-ldld  $LIBS"
   8723 cat >conftest.$ac_ext <<_ACEOF
   8724 /* confdefs.h.  */
   8725 _ACEOF
   8726 cat confdefs.h >>conftest.$ac_ext
   8727 cat >>conftest.$ac_ext <<_ACEOF
   8728 /* end confdefs.h.  */
   8729 
   8730 /* Override any gcc2 internal prototype to avoid an error.  */
   8731 #ifdef __cplusplus
   8732 extern "C"
   8733 #endif
   8734 /* We use char because int might match the return type of a gcc2
   8735    builtin and then its argument prototype would still apply.  */
   8736 char shl_load ();
   8737 int
   8738 main ()
   8739 {
   8740 shl_load ();
   8741   ;
   8742   return 0;
   8743 }
   8744 _ACEOF
   8745 rm -f conftest.$ac_objext conftest$ac_exeext
   8746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8747   (eval $ac_link) 2>conftest.er1
   8748   ac_status=$?
   8749   grep -v '^ *+' conftest.er1 >conftest.err
   8750   rm -f conftest.er1
   8751   cat conftest.err >&5
   8752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8753   (exit $ac_status); } &&
   8754 	 { ac_try='test -z "$ac_c_werror_flag"
   8755 			 || test ! -s conftest.err'
   8756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8757   (eval $ac_try) 2>&5
   8758   ac_status=$?
   8759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8760   (exit $ac_status); }; } &&
   8761 	 { ac_try='test -s conftest$ac_exeext'
   8762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8763   (eval $ac_try) 2>&5
   8764   ac_status=$?
   8765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8766   (exit $ac_status); }; }; then
   8767   ac_cv_lib_dld_shl_load=yes
   8768 else
   8769   echo "$as_me: failed program was:" >&5
   8770 sed 's/^/| /' conftest.$ac_ext >&5
   8771 
   8772 ac_cv_lib_dld_shl_load=no
   8773 fi
   8774 rm -f conftest.err conftest.$ac_objext \
   8775       conftest$ac_exeext conftest.$ac_ext
   8776 LIBS=$ac_check_lib_save_LIBS
   8777 fi
   8778 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   8779 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   8780 if test $ac_cv_lib_dld_shl_load = yes; then
   8781   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   8782 else
   8783   echo "$as_me:$LINENO: checking for dlopen" >&5
   8784 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   8785 if test "${ac_cv_func_dlopen+set}" = set; then
   8786   echo $ECHO_N "(cached) $ECHO_C" >&6
   8787 else
   8788   cat >conftest.$ac_ext <<_ACEOF
   8789 /* confdefs.h.  */
   8790 _ACEOF
   8791 cat confdefs.h >>conftest.$ac_ext
   8792 cat >>conftest.$ac_ext <<_ACEOF
   8793 /* end confdefs.h.  */
   8794 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   8795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8796 #define dlopen innocuous_dlopen
   8797 
   8798 /* System header to define __stub macros and hopefully few prototypes,
   8799     which can conflict with char dlopen (); below.
   8800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8801     <limits.h> exists even on freestanding compilers.  */
   8802 
   8803 #ifdef __STDC__
   8804 # include <limits.h>
   8805 #else
   8806 # include <assert.h>
   8807 #endif
   8808 
   8809 #undef dlopen
   8810 
   8811 /* Override any gcc2 internal prototype to avoid an error.  */
   8812 #ifdef __cplusplus
   8813 extern "C"
   8814 {
   8815 #endif
   8816 /* We use char because int might match the return type of a gcc2
   8817    builtin and then its argument prototype would still apply.  */
   8818 char dlopen ();
   8819 /* The GNU C library defines this for functions which it implements
   8820     to always fail with ENOSYS.  Some functions are actually named
   8821     something starting with __ and the normal name is an alias.  */
   8822 #if defined (__stub_dlopen) || defined (__stub___dlopen)
   8823 choke me
   8824 #else
   8825 char (*f) () = dlopen;
   8826 #endif
   8827 #ifdef __cplusplus
   8828 }
   8829 #endif
   8830 
   8831 int
   8832 main ()
   8833 {
   8834 return f != dlopen;
   8835   ;
   8836   return 0;
   8837 }
   8838 _ACEOF
   8839 rm -f conftest.$ac_objext conftest$ac_exeext
   8840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8841   (eval $ac_link) 2>conftest.er1
   8842   ac_status=$?
   8843   grep -v '^ *+' conftest.er1 >conftest.err
   8844   rm -f conftest.er1
   8845   cat conftest.err >&5
   8846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8847   (exit $ac_status); } &&
   8848 	 { ac_try='test -z "$ac_c_werror_flag"
   8849 			 || test ! -s conftest.err'
   8850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8851   (eval $ac_try) 2>&5
   8852   ac_status=$?
   8853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8854   (exit $ac_status); }; } &&
   8855 	 { ac_try='test -s conftest$ac_exeext'
   8856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8857   (eval $ac_try) 2>&5
   8858   ac_status=$?
   8859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8860   (exit $ac_status); }; }; then
   8861   ac_cv_func_dlopen=yes
   8862 else
   8863   echo "$as_me: failed program was:" >&5
   8864 sed 's/^/| /' conftest.$ac_ext >&5
   8865 
   8866 ac_cv_func_dlopen=no
   8867 fi
   8868 rm -f conftest.err conftest.$ac_objext \
   8869       conftest$ac_exeext conftest.$ac_ext
   8870 fi
   8871 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   8872 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   8873 if test $ac_cv_func_dlopen = yes; then
   8874   lt_cv_dlopen="dlopen"
   8875 else
   8876   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   8877 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   8878 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   8879   echo $ECHO_N "(cached) $ECHO_C" >&6
   8880 else
   8881   ac_check_lib_save_LIBS=$LIBS
   8882 LIBS="-ldl  $LIBS"
   8883 cat >conftest.$ac_ext <<_ACEOF
   8884 /* confdefs.h.  */
   8885 _ACEOF
   8886 cat confdefs.h >>conftest.$ac_ext
   8887 cat >>conftest.$ac_ext <<_ACEOF
   8888 /* end confdefs.h.  */
   8889 
   8890 /* Override any gcc2 internal prototype to avoid an error.  */
   8891 #ifdef __cplusplus
   8892 extern "C"
   8893 #endif
   8894 /* We use char because int might match the return type of a gcc2
   8895    builtin and then its argument prototype would still apply.  */
   8896 char dlopen ();
   8897 int
   8898 main ()
   8899 {
   8900 dlopen ();
   8901   ;
   8902   return 0;
   8903 }
   8904 _ACEOF
   8905 rm -f conftest.$ac_objext conftest$ac_exeext
   8906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8907   (eval $ac_link) 2>conftest.er1
   8908   ac_status=$?
   8909   grep -v '^ *+' conftest.er1 >conftest.err
   8910   rm -f conftest.er1
   8911   cat conftest.err >&5
   8912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8913   (exit $ac_status); } &&
   8914 	 { ac_try='test -z "$ac_c_werror_flag"
   8915 			 || test ! -s conftest.err'
   8916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8917   (eval $ac_try) 2>&5
   8918   ac_status=$?
   8919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8920   (exit $ac_status); }; } &&
   8921 	 { ac_try='test -s conftest$ac_exeext'
   8922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8923   (eval $ac_try) 2>&5
   8924   ac_status=$?
   8925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8926   (exit $ac_status); }; }; then
   8927   ac_cv_lib_dl_dlopen=yes
   8928 else
   8929   echo "$as_me: failed program was:" >&5
   8930 sed 's/^/| /' conftest.$ac_ext >&5
   8931 
   8932 ac_cv_lib_dl_dlopen=no
   8933 fi
   8934 rm -f conftest.err conftest.$ac_objext \
   8935       conftest$ac_exeext conftest.$ac_ext
   8936 LIBS=$ac_check_lib_save_LIBS
   8937 fi
   8938 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   8939 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   8940 if test $ac_cv_lib_dl_dlopen = yes; then
   8941   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   8942 else
   8943   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   8944 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   8945 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   8946   echo $ECHO_N "(cached) $ECHO_C" >&6
   8947 else
   8948   ac_check_lib_save_LIBS=$LIBS
   8949 LIBS="-lsvld  $LIBS"
   8950 cat >conftest.$ac_ext <<_ACEOF
   8951 /* confdefs.h.  */
   8952 _ACEOF
   8953 cat confdefs.h >>conftest.$ac_ext
   8954 cat >>conftest.$ac_ext <<_ACEOF
   8955 /* end confdefs.h.  */
   8956 
   8957 /* Override any gcc2 internal prototype to avoid an error.  */
   8958 #ifdef __cplusplus
   8959 extern "C"
   8960 #endif
   8961 /* We use char because int might match the return type of a gcc2
   8962    builtin and then its argument prototype would still apply.  */
   8963 char dlopen ();
   8964 int
   8965 main ()
   8966 {
   8967 dlopen ();
   8968   ;
   8969   return 0;
   8970 }
   8971 _ACEOF
   8972 rm -f conftest.$ac_objext conftest$ac_exeext
   8973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8974   (eval $ac_link) 2>conftest.er1
   8975   ac_status=$?
   8976   grep -v '^ *+' conftest.er1 >conftest.err
   8977   rm -f conftest.er1
   8978   cat conftest.err >&5
   8979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8980   (exit $ac_status); } &&
   8981 	 { ac_try='test -z "$ac_c_werror_flag"
   8982 			 || test ! -s conftest.err'
   8983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8984   (eval $ac_try) 2>&5
   8985   ac_status=$?
   8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8987   (exit $ac_status); }; } &&
   8988 	 { ac_try='test -s conftest$ac_exeext'
   8989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8990   (eval $ac_try) 2>&5
   8991   ac_status=$?
   8992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8993   (exit $ac_status); }; }; then
   8994   ac_cv_lib_svld_dlopen=yes
   8995 else
   8996   echo "$as_me: failed program was:" >&5
   8997 sed 's/^/| /' conftest.$ac_ext >&5
   8998 
   8999 ac_cv_lib_svld_dlopen=no
   9000 fi
   9001 rm -f conftest.err conftest.$ac_objext \
   9002       conftest$ac_exeext conftest.$ac_ext
   9003 LIBS=$ac_check_lib_save_LIBS
   9004 fi
   9005 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9006 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   9007 if test $ac_cv_lib_svld_dlopen = yes; then
   9008   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9009 else
   9010   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9011 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   9012 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9013   echo $ECHO_N "(cached) $ECHO_C" >&6
   9014 else
   9015   ac_check_lib_save_LIBS=$LIBS
   9016 LIBS="-ldld  $LIBS"
   9017 cat >conftest.$ac_ext <<_ACEOF
   9018 /* confdefs.h.  */
   9019 _ACEOF
   9020 cat confdefs.h >>conftest.$ac_ext
   9021 cat >>conftest.$ac_ext <<_ACEOF
   9022 /* end confdefs.h.  */
   9023 
   9024 /* Override any gcc2 internal prototype to avoid an error.  */
   9025 #ifdef __cplusplus
   9026 extern "C"
   9027 #endif
   9028 /* We use char because int might match the return type of a gcc2
   9029    builtin and then its argument prototype would still apply.  */
   9030 char dld_link ();
   9031 int
   9032 main ()
   9033 {
   9034 dld_link ();
   9035   ;
   9036   return 0;
   9037 }
   9038 _ACEOF
   9039 rm -f conftest.$ac_objext conftest$ac_exeext
   9040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9041   (eval $ac_link) 2>conftest.er1
   9042   ac_status=$?
   9043   grep -v '^ *+' conftest.er1 >conftest.err
   9044   rm -f conftest.er1
   9045   cat conftest.err >&5
   9046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9047   (exit $ac_status); } &&
   9048 	 { ac_try='test -z "$ac_c_werror_flag"
   9049 			 || test ! -s conftest.err'
   9050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9051   (eval $ac_try) 2>&5
   9052   ac_status=$?
   9053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9054   (exit $ac_status); }; } &&
   9055 	 { ac_try='test -s conftest$ac_exeext'
   9056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9057   (eval $ac_try) 2>&5
   9058   ac_status=$?
   9059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9060   (exit $ac_status); }; }; then
   9061   ac_cv_lib_dld_dld_link=yes
   9062 else
   9063   echo "$as_me: failed program was:" >&5
   9064 sed 's/^/| /' conftest.$ac_ext >&5
   9065 
   9066 ac_cv_lib_dld_dld_link=no
   9067 fi
   9068 rm -f conftest.err conftest.$ac_objext \
   9069       conftest$ac_exeext conftest.$ac_ext
   9070 LIBS=$ac_check_lib_save_LIBS
   9071 fi
   9072 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9073 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   9074 if test $ac_cv_lib_dld_dld_link = yes; then
   9075   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9076 fi
   9077 
   9078 
   9079 fi
   9080 
   9081 
   9082 fi
   9083 
   9084 
   9085 fi
   9086 
   9087 
   9088 fi
   9089 
   9090 
   9091 fi
   9092 
   9093     ;;
   9094   esac
   9095 
   9096   if test "x$lt_cv_dlopen" != xno; then
   9097     enable_dlopen=yes
   9098   else
   9099     enable_dlopen=no
   9100   fi
   9101 
   9102   case $lt_cv_dlopen in
   9103   dlopen)
   9104     save_CPPFLAGS="$CPPFLAGS"
   9105     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9106 
   9107     save_LDFLAGS="$LDFLAGS"
   9108     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9109 
   9110     save_LIBS="$LIBS"
   9111     LIBS="$lt_cv_dlopen_libs $LIBS"
   9112 
   9113     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9114 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   9115 if test "${lt_cv_dlopen_self+set}" = set; then
   9116   echo $ECHO_N "(cached) $ECHO_C" >&6
   9117 else
   9118   	  if test "$cross_compiling" = yes; then :
   9119   lt_cv_dlopen_self=cross
   9120 else
   9121   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9122   lt_status=$lt_dlunknown
   9123   cat > conftest.$ac_ext <<EOF
   9124 #line 9124 "configure"
   9125 #include "confdefs.h"
   9126 
   9127 #if HAVE_DLFCN_H
   9128 #include <dlfcn.h>
   9129 #endif
   9130 
   9131 #include <stdio.h>
   9132 
   9133 #ifdef RTLD_GLOBAL
   9134 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9135 #else
   9136 #  ifdef DL_GLOBAL
   9137 #    define LT_DLGLOBAL		DL_GLOBAL
   9138 #  else
   9139 #    define LT_DLGLOBAL		0
   9140 #  endif
   9141 #endif
   9142 
   9143 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9144    find out it does not work in some platform. */
   9145 #ifndef LT_DLLAZY_OR_NOW
   9146 #  ifdef RTLD_LAZY
   9147 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9148 #  else
   9149 #    ifdef DL_LAZY
   9150 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9151 #    else
   9152 #      ifdef RTLD_NOW
   9153 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9154 #      else
   9155 #        ifdef DL_NOW
   9156 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9157 #        else
   9158 #          define LT_DLLAZY_OR_NOW	0
   9159 #        endif
   9160 #      endif
   9161 #    endif
   9162 #  endif
   9163 #endif
   9164 
   9165 #ifdef __cplusplus
   9166 extern "C" void exit (int);
   9167 #endif
   9168 
   9169 void fnord() { int i=42;}
   9170 int main ()
   9171 {
   9172   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9173   int status = $lt_dlunknown;
   9174 
   9175   if (self)
   9176     {
   9177       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9178       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9179       /* dlclose (self); */
   9180     }
   9181   else
   9182     puts (dlerror ());
   9183 
   9184     exit (status);
   9185 }
   9186 EOF
   9187   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9188   (eval $ac_link) 2>&5
   9189   ac_status=$?
   9190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9191   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9192     (./conftest; exit; ) >&5 2>/dev/null
   9193     lt_status=$?
   9194     case x$lt_status in
   9195       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9196       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9197       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9198     esac
   9199   else :
   9200     # compilation failed
   9201     lt_cv_dlopen_self=no
   9202   fi
   9203 fi
   9204 rm -fr conftest*
   9205 
   9206 
   9207 fi
   9208 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9209 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   9210 
   9211     if test "x$lt_cv_dlopen_self" = xyes; then
   9212       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9213       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9214 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   9215 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9216   echo $ECHO_N "(cached) $ECHO_C" >&6
   9217 else
   9218   	  if test "$cross_compiling" = yes; then :
   9219   lt_cv_dlopen_self_static=cross
   9220 else
   9221   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9222   lt_status=$lt_dlunknown
   9223   cat > conftest.$ac_ext <<EOF
   9224 #line 9224 "configure"
   9225 #include "confdefs.h"
   9226 
   9227 #if HAVE_DLFCN_H
   9228 #include <dlfcn.h>
   9229 #endif
   9230 
   9231 #include <stdio.h>
   9232 
   9233 #ifdef RTLD_GLOBAL
   9234 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9235 #else
   9236 #  ifdef DL_GLOBAL
   9237 #    define LT_DLGLOBAL		DL_GLOBAL
   9238 #  else
   9239 #    define LT_DLGLOBAL		0
   9240 #  endif
   9241 #endif
   9242 
   9243 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9244    find out it does not work in some platform. */
   9245 #ifndef LT_DLLAZY_OR_NOW
   9246 #  ifdef RTLD_LAZY
   9247 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9248 #  else
   9249 #    ifdef DL_LAZY
   9250 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9251 #    else
   9252 #      ifdef RTLD_NOW
   9253 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9254 #      else
   9255 #        ifdef DL_NOW
   9256 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9257 #        else
   9258 #          define LT_DLLAZY_OR_NOW	0
   9259 #        endif
   9260 #      endif
   9261 #    endif
   9262 #  endif
   9263 #endif
   9264 
   9265 #ifdef __cplusplus
   9266 extern "C" void exit (int);
   9267 #endif
   9268 
   9269 void fnord() { int i=42;}
   9270 int main ()
   9271 {
   9272   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9273   int status = $lt_dlunknown;
   9274 
   9275   if (self)
   9276     {
   9277       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9278       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9279       /* dlclose (self); */
   9280     }
   9281   else
   9282     puts (dlerror ());
   9283 
   9284     exit (status);
   9285 }
   9286 EOF
   9287   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9288   (eval $ac_link) 2>&5
   9289   ac_status=$?
   9290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9291   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9292     (./conftest; exit; ) >&5 2>/dev/null
   9293     lt_status=$?
   9294     case x$lt_status in
   9295       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9296       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9297       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9298     esac
   9299   else :
   9300     # compilation failed
   9301     lt_cv_dlopen_self_static=no
   9302   fi
   9303 fi
   9304 rm -fr conftest*
   9305 
   9306 
   9307 fi
   9308 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9309 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
   9310     fi
   9311 
   9312     CPPFLAGS="$save_CPPFLAGS"
   9313     LDFLAGS="$save_LDFLAGS"
   9314     LIBS="$save_LIBS"
   9315     ;;
   9316   esac
   9317 
   9318   case $lt_cv_dlopen_self in
   9319   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9320   *) enable_dlopen_self=unknown ;;
   9321   esac
   9322 
   9323   case $lt_cv_dlopen_self_static in
   9324   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9325   *) enable_dlopen_self_static=unknown ;;
   9326   esac
   9327 fi
   9328 
   9329 
   9330 # Report which library types will actually be built
   9331 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9332 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   9333 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9334 echo "${ECHO_T}$can_build_shared" >&6
   9335 
   9336 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9337 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   9338 test "$can_build_shared" = "no" && enable_shared=no
   9339 
   9340 # On AIX, shared libraries and static libraries use the same namespace, and
   9341 # are all built from PIC.
   9342 case $host_os in
   9343 aix3*)
   9344   test "$enable_shared" = yes && enable_static=no
   9345   if test -n "$RANLIB"; then
   9346     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9347     postinstall_cmds='$RANLIB $lib'
   9348   fi
   9349   ;;
   9350 
   9351 aix4* | aix5*)
   9352   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   9353     test "$enable_shared" = yes && enable_static=no
   9354   fi
   9355     ;;
   9356 esac
   9357 echo "$as_me:$LINENO: result: $enable_shared" >&5
   9358 echo "${ECHO_T}$enable_shared" >&6
   9359 
   9360 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   9361 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   9362 # Make sure either enable_shared or enable_static is yes.
   9363 test "$enable_shared" = yes || enable_static=yes
   9364 echo "$as_me:$LINENO: result: $enable_static" >&5
   9365 echo "${ECHO_T}$enable_static" >&6
   9366 
   9367 # The else clause should only fire when bootstrapping the
   9368 # libtool distribution, otherwise you forgot to ship ltmain.sh
   9369 # with your package, and you will get complaints that there are
   9370 # no rules to generate ltmain.sh.
   9371 if test -f "$ltmain"; then
   9372   # See if we are running on zsh, and set the options which allow our commands through
   9373   # without removal of \ escapes.
   9374   if test -n "${ZSH_VERSION+set}" ; then
   9375     setopt NO_GLOB_SUBST
   9376   fi
   9377   # Now quote all the things that may contain metacharacters while being
   9378   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   9379   # variables and quote the copies for generation of the libtool script.
   9380   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   9381     SED SHELL STRIP \
   9382     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   9383     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   9384     deplibs_check_method reload_flag reload_cmds need_locks \
   9385     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   9386     lt_cv_sys_global_symbol_to_c_name_address \
   9387     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   9388     old_postinstall_cmds old_postuninstall_cmds \
   9389     compiler \
   9390     CC \
   9391     LD \
   9392     lt_prog_compiler_wl \
   9393     lt_prog_compiler_pic \
   9394     lt_prog_compiler_static \
   9395     lt_prog_compiler_no_builtin_flag \
   9396     export_dynamic_flag_spec \
   9397     thread_safe_flag_spec \
   9398     whole_archive_flag_spec \
   9399     enable_shared_with_static_runtimes \
   9400     old_archive_cmds \
   9401     old_archive_from_new_cmds \
   9402     predep_objects \
   9403     postdep_objects \
   9404     predeps \
   9405     postdeps \
   9406     compiler_lib_search_path \
   9407     archive_cmds \
   9408     archive_expsym_cmds \
   9409     postinstall_cmds \
   9410     postuninstall_cmds \
   9411     old_archive_from_expsyms_cmds \
   9412     allow_undefined_flag \
   9413     no_undefined_flag \
   9414     export_symbols_cmds \
   9415     hardcode_libdir_flag_spec \
   9416     hardcode_libdir_flag_spec_ld \
   9417     hardcode_libdir_separator \
   9418     hardcode_automatic \
   9419     module_cmds \
   9420     module_expsym_cmds \
   9421     lt_cv_prog_compiler_c_o \
   9422     exclude_expsyms \
   9423     include_expsyms; do
   9424 
   9425     case $var in
   9426     old_archive_cmds | \
   9427     old_archive_from_new_cmds | \
   9428     archive_cmds | \
   9429     archive_expsym_cmds | \
   9430     module_cmds | \
   9431     module_expsym_cmds | \
   9432     old_archive_from_expsyms_cmds | \
   9433     export_symbols_cmds | \
   9434     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   9435     postinstall_cmds | postuninstall_cmds | \
   9436     old_postinstall_cmds | old_postuninstall_cmds | \
   9437     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   9438       # Double-quote double-evaled strings.
   9439       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   9440       ;;
   9441     *)
   9442       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   9443       ;;
   9444     esac
   9445   done
   9446 
   9447   case $lt_echo in
   9448   *'\$0 --fallback-echo"')
   9449     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   9450     ;;
   9451   esac
   9452 
   9453 cfgfile="${ofile}T"
   9454   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   9455   $rm -f "$cfgfile"
   9456   { echo "$as_me:$LINENO: creating $ofile" >&5
   9457 echo "$as_me: creating $ofile" >&6;}
   9458 
   9459   cat <<__EOF__ >> "$cfgfile"
   9460 #! $SHELL
   9461 
   9462 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   9463 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   9464 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   9465 #
   9466 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   9467 # Free Software Foundation, Inc.
   9468 #
   9469 # This file is part of GNU Libtool:
   9470 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   9471 #
   9472 # This program is free software; you can redistribute it and/or modify
   9473 # it under the terms of the GNU General Public License as published by
   9474 # the Free Software Foundation; either version 2 of the License, or
   9475 # (at your option) any later version.
   9476 #
   9477 # This program is distributed in the hope that it will be useful, but
   9478 # WITHOUT ANY WARRANTY; without even the implied warranty of
   9479 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   9480 # General Public License for more details.
   9481 #
   9482 # You should have received a copy of the GNU General Public License
   9483 # along with this program; if not, write to the Free Software
   9484 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   9485 #
   9486 # As a special exception to the GNU General Public License, if you
   9487 # distribute this file as part of a program that contains a
   9488 # configuration script generated by Autoconf, you may include it under
   9489 # the same distribution terms that you use for the rest of that program.
   9490 
   9491 # A sed program that does not truncate output.
   9492 SED=$lt_SED
   9493 
   9494 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   9495 Xsed="$SED -e 1s/^X//"
   9496 
   9497 # The HP-UX ksh and POSIX shell print the target directory to stdout
   9498 # if CDPATH is set.
   9499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   9500 
   9501 # The names of the tagged configurations supported by this script.
   9502 available_tags=
   9503 
   9504 # ### BEGIN LIBTOOL CONFIG
   9505 
   9506 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   9507 
   9508 # Shell to use when invoking shell scripts.
   9509 SHELL=$lt_SHELL
   9510 
   9511 # Whether or not to build shared libraries.
   9512 build_libtool_libs=$enable_shared
   9513 
   9514 # Whether or not to build static libraries.
   9515 build_old_libs=$enable_static
   9516 
   9517 # Whether or not to add -lc for building shared libraries.
   9518 build_libtool_need_lc=$archive_cmds_need_lc
   9519 
   9520 # Whether or not to disallow shared libs when runtime libs are static
   9521 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   9522 
   9523 # Whether or not to optimize for fast installation.
   9524 fast_install=$enable_fast_install
   9525 
   9526 # The host system.
   9527 host_alias=$host_alias
   9528 host=$host
   9529 host_os=$host_os
   9530 
   9531 # The build system.
   9532 build_alias=$build_alias
   9533 build=$build
   9534 build_os=$build_os
   9535 
   9536 # An echo program that does not interpret backslashes.
   9537 echo=$lt_echo
   9538 
   9539 # The archiver.
   9540 AR=$lt_AR
   9541 AR_FLAGS=$lt_AR_FLAGS
   9542 
   9543 # A C compiler.
   9544 LTCC=$lt_LTCC
   9545 
   9546 # LTCC compiler flags.
   9547 LTCFLAGS=$lt_LTCFLAGS
   9548 
   9549 # A language-specific compiler.
   9550 CC=$lt_compiler
   9551 
   9552 # Is the compiler the GNU C compiler?
   9553 with_gcc=$GCC
   9554 
   9555 # An ERE matcher.
   9556 EGREP=$lt_EGREP
   9557 
   9558 # The linker used to build libraries.
   9559 LD=$lt_LD
   9560 
   9561 # Whether we need hard or soft links.
   9562 LN_S=$lt_LN_S
   9563 
   9564 # A BSD-compatible nm program.
   9565 NM=$lt_NM
   9566 
   9567 # A symbol stripping program
   9568 STRIP=$lt_STRIP
   9569 
   9570 # Used to examine libraries when file_magic_cmd begins "file"
   9571 MAGIC_CMD=$MAGIC_CMD
   9572 
   9573 # Used on cygwin: DLL creation program.
   9574 DLLTOOL="$DLLTOOL"
   9575 
   9576 # Used on cygwin: object dumper.
   9577 OBJDUMP="$OBJDUMP"
   9578 
   9579 # Used on cygwin: assembler.
   9580 AS="$AS"
   9581 
   9582 # The name of the directory that contains temporary libtool files.
   9583 objdir=$objdir
   9584 
   9585 # How to create reloadable object files.
   9586 reload_flag=$lt_reload_flag
   9587 reload_cmds=$lt_reload_cmds
   9588 
   9589 # How to pass a linker flag through the compiler.
   9590 wl=$lt_lt_prog_compiler_wl
   9591 
   9592 # Object file suffix (normally "o").
   9593 objext="$ac_objext"
   9594 
   9595 # Old archive suffix (normally "a").
   9596 libext="$libext"
   9597 
   9598 # Shared library suffix (normally ".so").
   9599 shrext_cmds='$shrext_cmds'
   9600 
   9601 # Executable file suffix (normally "").
   9602 exeext="$exeext"
   9603 
   9604 # Additional compiler flags for building library objects.
   9605 pic_flag=$lt_lt_prog_compiler_pic
   9606 pic_mode=$pic_mode
   9607 
   9608 # What is the maximum length of a command?
   9609 max_cmd_len=$lt_cv_sys_max_cmd_len
   9610 
   9611 # Does compiler simultaneously support -c and -o options?
   9612 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   9613 
   9614 # Must we lock files when doing compilation?
   9615 need_locks=$lt_need_locks
   9616 
   9617 # Do we need the lib prefix for modules?
   9618 need_lib_prefix=$need_lib_prefix
   9619 
   9620 # Do we need a version for libraries?
   9621 need_version=$need_version
   9622 
   9623 # Whether dlopen is supported.
   9624 dlopen_support=$enable_dlopen
   9625 
   9626 # Whether dlopen of programs is supported.
   9627 dlopen_self=$enable_dlopen_self
   9628 
   9629 # Whether dlopen of statically linked programs is supported.
   9630 dlopen_self_static=$enable_dlopen_self_static
   9631 
   9632 # Compiler flag to prevent dynamic linking.
   9633 link_static_flag=$lt_lt_prog_compiler_static
   9634 
   9635 # Compiler flag to turn off builtin functions.
   9636 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   9637 
   9638 # Compiler flag to allow reflexive dlopens.
   9639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   9640 
   9641 # Compiler flag to generate shared objects directly from archives.
   9642 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   9643 
   9644 # Compiler flag to generate thread-safe objects.
   9645 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   9646 
   9647 # Library versioning type.
   9648 version_type=$version_type
   9649 
   9650 # Format of library name prefix.
   9651 libname_spec=$lt_libname_spec
   9652 
   9653 # List of archive names.  First name is the real one, the rest are links.
   9654 # The last name is the one that the linker finds with -lNAME.
   9655 library_names_spec=$lt_library_names_spec
   9656 
   9657 # The coded name of the library, if different from the real name.
   9658 soname_spec=$lt_soname_spec
   9659 
   9660 # Commands used to build and install an old-style archive.
   9661 RANLIB=$lt_RANLIB
   9662 old_archive_cmds=$lt_old_archive_cmds
   9663 old_postinstall_cmds=$lt_old_postinstall_cmds
   9664 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   9665 
   9666 # Create an old-style archive from a shared archive.
   9667 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   9668 
   9669 # Create a temporary old-style archive to link instead of a shared archive.
   9670 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   9671 
   9672 # Commands used to build and install a shared archive.
   9673 archive_cmds=$lt_archive_cmds
   9674 archive_expsym_cmds=$lt_archive_expsym_cmds
   9675 postinstall_cmds=$lt_postinstall_cmds
   9676 postuninstall_cmds=$lt_postuninstall_cmds
   9677 
   9678 # Commands used to build a loadable module (assumed same as above if empty)
   9679 module_cmds=$lt_module_cmds
   9680 module_expsym_cmds=$lt_module_expsym_cmds
   9681 
   9682 # Commands to strip libraries.
   9683 old_striplib=$lt_old_striplib
   9684 striplib=$lt_striplib
   9685 
   9686 # Dependencies to place before the objects being linked to create a
   9687 # shared library.
   9688 predep_objects=$lt_predep_objects
   9689 
   9690 # Dependencies to place after the objects being linked to create a
   9691 # shared library.
   9692 postdep_objects=$lt_postdep_objects
   9693 
   9694 # Dependencies to place before the objects being linked to create a
   9695 # shared library.
   9696 predeps=$lt_predeps
   9697 
   9698 # Dependencies to place after the objects being linked to create a
   9699 # shared library.
   9700 postdeps=$lt_postdeps
   9701 
   9702 # The library search path used internally by the compiler when linking
   9703 # a shared library.
   9704 compiler_lib_search_path=$lt_compiler_lib_search_path
   9705 
   9706 # Method to check whether dependent libraries are shared objects.
   9707 deplibs_check_method=$lt_deplibs_check_method
   9708 
   9709 # Command to use when deplibs_check_method == file_magic.
   9710 file_magic_cmd=$lt_file_magic_cmd
   9711 
   9712 # Flag that allows shared libraries with undefined symbols to be built.
   9713 allow_undefined_flag=$lt_allow_undefined_flag
   9714 
   9715 # Flag that forces no undefined symbols.
   9716 no_undefined_flag=$lt_no_undefined_flag
   9717 
   9718 # Commands used to finish a libtool library installation in a directory.
   9719 finish_cmds=$lt_finish_cmds
   9720 
   9721 # Same as above, but a single script fragment to be evaled but not shown.
   9722 finish_eval=$lt_finish_eval
   9723 
   9724 # Take the output of nm and produce a listing of raw symbols and C names.
   9725 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   9726 
   9727 # Transform the output of nm in a proper C declaration
   9728 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   9729 
   9730 # Transform the output of nm in a C name address pair
   9731 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   9732 
   9733 # This is the shared library runtime path variable.
   9734 runpath_var=$runpath_var
   9735 
   9736 # This is the shared library path variable.
   9737 shlibpath_var=$shlibpath_var
   9738 
   9739 # Is shlibpath searched before the hard-coded library search path?
   9740 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   9741 
   9742 # How to hardcode a shared library path into an executable.
   9743 hardcode_action=$hardcode_action
   9744 
   9745 # Whether we should hardcode library paths into libraries.
   9746 hardcode_into_libs=$hardcode_into_libs
   9747 
   9748 # Flag to hardcode \$libdir into a binary during linking.
   9749 # This must work even if \$libdir does not exist.
   9750 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   9751 
   9752 # If ld is used when linking, flag to hardcode \$libdir into
   9753 # a binary during linking. This must work even if \$libdir does
   9754 # not exist.
   9755 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   9756 
   9757 # Whether we need a single -rpath flag with a separated argument.
   9758 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   9759 
   9760 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   9761 # resulting binary.
   9762 hardcode_direct=$hardcode_direct
   9763 
   9764 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   9765 # resulting binary.
   9766 hardcode_minus_L=$hardcode_minus_L
   9767 
   9768 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   9769 # the resulting binary.
   9770 hardcode_shlibpath_var=$hardcode_shlibpath_var
   9771 
   9772 # Set to yes if building a shared library automatically hardcodes DIR into the library
   9773 # and all subsequent libraries and executables linked against it.
   9774 hardcode_automatic=$hardcode_automatic
   9775 
   9776 # Variables whose values should be saved in libtool wrapper scripts and
   9777 # restored at relink time.
   9778 variables_saved_for_relink="$variables_saved_for_relink"
   9779 
   9780 # Whether libtool must link a program against all its dependency libraries.
   9781 link_all_deplibs=$link_all_deplibs
   9782 
   9783 # Compile-time system search path for libraries
   9784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   9785 
   9786 # Run-time system search path for libraries
   9787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   9788 
   9789 # Fix the shell variable \$srcfile for the compiler.
   9790 fix_srcfile_path="$fix_srcfile_path"
   9791 
   9792 # Set to yes if exported symbols are required.
   9793 always_export_symbols=$always_export_symbols
   9794 
   9795 # The commands to list exported symbols.
   9796 export_symbols_cmds=$lt_export_symbols_cmds
   9797 
   9798 # The commands to extract the exported symbol list from a shared archive.
   9799 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   9800 
   9801 # Symbols that should not be listed in the preloaded symbols.
   9802 exclude_expsyms=$lt_exclude_expsyms
   9803 
   9804 # Symbols that must always be exported.
   9805 include_expsyms=$lt_include_expsyms
   9806 
   9807 # ### END LIBTOOL CONFIG
   9808 
   9809 __EOF__
   9810 
   9811 
   9812   case $host_os in
   9813   aix3*)
   9814     cat <<\EOF >> "$cfgfile"
   9815 
   9816 # AIX sometimes has problems with the GCC collect2 program.  For some
   9817 # reason, if we set the COLLECT_NAMES environment variable, the problems
   9818 # vanish in a puff of smoke.
   9819 if test "X${COLLECT_NAMES+set}" != Xset; then
   9820   COLLECT_NAMES=
   9821   export COLLECT_NAMES
   9822 fi
   9823 EOF
   9824     ;;
   9825   esac
   9826 
   9827   # We use sed instead of cat because bash on DJGPP gets confused if
   9828   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   9829   # text mode, it properly converts lines to CR/LF.  This bash problem
   9830   # is reportedly fixed, but why not run on old versions too?
   9831   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   9832 
   9833   mv -f "$cfgfile" "$ofile" || \
   9834     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   9835   chmod +x "$ofile"
   9836 
   9837 else
   9838   # If there is no Makefile yet, we rely on a make rule to execute
   9839   # `config.status --recheck' to rerun these tests and create the
   9840   # libtool script then.
   9841   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   9842   if test -f "$ltmain_in"; then
   9843     test -f Makefile && make "$ltmain"
   9844   fi
   9845 fi
   9846 
   9847 
   9848 ac_ext=c
   9849 ac_cpp='$CPP $CPPFLAGS'
   9850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9853 
   9854 CC="$lt_save_CC"
   9855 
   9856 
   9857 # Check whether --with-tags or --without-tags was given.
   9858 if test "${with_tags+set}" = set; then
   9859   withval="$with_tags"
   9860   tagnames="$withval"
   9861 fi;
   9862 
   9863 if test -f "$ltmain" && test -n "$tagnames"; then
   9864   if test ! -f "${ofile}"; then
   9865     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   9866 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   9867   fi
   9868 
   9869   if test -z "$LTCC"; then
   9870     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   9871     if test -z "$LTCC"; then
   9872       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   9873 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   9874     else
   9875       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   9876 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   9877     fi
   9878   fi
   9879   if test -z "$LTCFLAGS"; then
   9880     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   9881   fi
   9882 
   9883   # Extract list of available tagged configurations in $ofile.
   9884   # Note that this assumes the entire list is on one line.
   9885   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   9886 
   9887   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9888   for tagname in $tagnames; do
   9889     IFS="$lt_save_ifs"
   9890     # Check whether tagname contains only valid characters
   9891     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   9892     "") ;;
   9893     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   9894 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   9895    { (exit 1); exit 1; }; }
   9896 	;;
   9897     esac
   9898 
   9899     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   9900     then
   9901       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   9902 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   9903    { (exit 1); exit 1; }; }
   9904     fi
   9905 
   9906     # Update the list of available tags.
   9907     if test -n "$tagname"; then
   9908       echo appending configuration tag \"$tagname\" to $ofile
   9909 
   9910       case $tagname in
   9911       CXX)
   9912 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   9913 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   9914 	    (test "X$CXX" != "Xg++"))) ; then
   9915 	  ac_ext=cc
   9916 ac_cpp='$CXXCPP $CPPFLAGS'
   9917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   9920 
   9921 
   9922 
   9923 
   9924 archive_cmds_need_lc_CXX=no
   9925 allow_undefined_flag_CXX=
   9926 always_export_symbols_CXX=no
   9927 archive_expsym_cmds_CXX=
   9928 export_dynamic_flag_spec_CXX=
   9929 hardcode_direct_CXX=no
   9930 hardcode_libdir_flag_spec_CXX=
   9931 hardcode_libdir_flag_spec_ld_CXX=
   9932 hardcode_libdir_separator_CXX=
   9933 hardcode_minus_L_CXX=no
   9934 hardcode_shlibpath_var_CXX=unsupported
   9935 hardcode_automatic_CXX=no
   9936 module_cmds_CXX=
   9937 module_expsym_cmds_CXX=
   9938 link_all_deplibs_CXX=unknown
   9939 old_archive_cmds_CXX=$old_archive_cmds
   9940 no_undefined_flag_CXX=
   9941 whole_archive_flag_spec_CXX=
   9942 enable_shared_with_static_runtimes_CXX=no
   9943 
   9944 # Dependencies to place before and after the object being linked:
   9945 predep_objects_CXX=
   9946 postdep_objects_CXX=
   9947 predeps_CXX=
   9948 postdeps_CXX=
   9949 compiler_lib_search_path_CXX=
   9950 
   9951 # Source file extension for C++ test sources.
   9952 ac_ext=cpp
   9953 
   9954 # Object file extension for compiled C++ test sources.
   9955 objext=o
   9956 objext_CXX=$objext
   9957 
   9958 # Code to be used in simple compile tests
   9959 lt_simple_compile_test_code="int some_variable = 0;\n"
   9960 
   9961 # Code to be used in simple link tests
   9962 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   9963 
   9964 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   9965 
   9966 # If no C compiler was specified, use CC.
   9967 LTCC=${LTCC-"$CC"}
   9968 
   9969 # If no C compiler flags were specified, use CFLAGS.
   9970 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9971 
   9972 # Allow CC to be a program name with arguments.
   9973 compiler=$CC
   9974 
   9975 
   9976 # save warnings/boilerplate of simple test code
   9977 ac_outfile=conftest.$ac_objext
   9978 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   9979 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9980 _lt_compiler_boilerplate=`cat conftest.err`
   9981 $rm conftest*
   9982 
   9983 ac_outfile=conftest.$ac_objext
   9984 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   9985 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9986 _lt_linker_boilerplate=`cat conftest.err`
   9987 $rm conftest*
   9988 
   9989 
   9990 # Allow CC to be a program name with arguments.
   9991 lt_save_CC=$CC
   9992 lt_save_LD=$LD
   9993 lt_save_GCC=$GCC
   9994 GCC=$GXX
   9995 lt_save_with_gnu_ld=$with_gnu_ld
   9996 lt_save_path_LD=$lt_cv_path_LD
   9997 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   9998   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   9999 else
   10000   $as_unset lt_cv_prog_gnu_ld
   10001 fi
   10002 if test -n "${lt_cv_path_LDCXX+set}"; then
   10003   lt_cv_path_LD=$lt_cv_path_LDCXX
   10004 else
   10005   $as_unset lt_cv_path_LD
   10006 fi
   10007 test -z "${LDCXX+set}" || LD=$LDCXX
   10008 CC=${CXX-"c++"}
   10009 compiler=$CC
   10010 compiler_CXX=$CC
   10011 for cc_temp in $compiler""; do
   10012   case $cc_temp in
   10013     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10014     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10015     \-*) ;;
   10016     *) break;;
   10017   esac
   10018 done
   10019 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10020 
   10021 
   10022 # We don't want -fno-exception wen compiling C++ code, so set the
   10023 # no_builtin_flag separately
   10024 if test "$GXX" = yes; then
   10025   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10026 else
   10027   lt_prog_compiler_no_builtin_flag_CXX=
   10028 fi
   10029 
   10030 if test "$GXX" = yes; then
   10031   # Set up default GNU C++ configuration
   10032 
   10033 
   10034 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   10035 if test "${with_gnu_ld+set}" = set; then
   10036   withval="$with_gnu_ld"
   10037   test "$withval" = no || with_gnu_ld=yes
   10038 else
   10039   with_gnu_ld=no
   10040 fi;
   10041 ac_prog=ld
   10042 if test "$GCC" = yes; then
   10043   # Check if gcc -print-prog-name=ld gives a path.
   10044   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10045 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   10046   case $host in
   10047   *-*-mingw*)
   10048     # gcc leaves a trailing carriage return which upsets mingw
   10049     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10050   *)
   10051     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10052   esac
   10053   case $ac_prog in
   10054     # Accept absolute paths.
   10055     [\\/]* | ?:[\\/]*)
   10056       re_direlt='/[^/][^/]*/\.\./'
   10057       # Canonicalize the pathname of ld
   10058       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10059       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10060 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10061       done
   10062       test -z "$LD" && LD="$ac_prog"
   10063       ;;
   10064   "")
   10065     # If it fails, then pretend we aren't using GCC.
   10066     ac_prog=ld
   10067     ;;
   10068   *)
   10069     # If it is relative, then search for the first ld in PATH.
   10070     with_gnu_ld=unknown
   10071     ;;
   10072   esac
   10073 elif test "$with_gnu_ld" = yes; then
   10074   echo "$as_me:$LINENO: checking for GNU ld" >&5
   10075 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   10076 else
   10077   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10078 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   10079 fi
   10080 if test "${lt_cv_path_LD+set}" = set; then
   10081   echo $ECHO_N "(cached) $ECHO_C" >&6
   10082 else
   10083   if test -z "$LD"; then
   10084   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10085   for ac_dir in $PATH; do
   10086     IFS="$lt_save_ifs"
   10087     test -z "$ac_dir" && ac_dir=.
   10088     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10089       lt_cv_path_LD="$ac_dir/$ac_prog"
   10090       # Check to see if the program is GNU ld.  I'd rather use --version,
   10091       # but apparently some variants of GNU ld only accept -v.
   10092       # Break only if it was the GNU/non-GNU ld that we prefer.
   10093       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10094       *GNU* | *'with BFD'*)
   10095 	test "$with_gnu_ld" != no && break
   10096 	;;
   10097       *)
   10098 	test "$with_gnu_ld" != yes && break
   10099 	;;
   10100       esac
   10101     fi
   10102   done
   10103   IFS="$lt_save_ifs"
   10104 else
   10105   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10106 fi
   10107 fi
   10108 
   10109 LD="$lt_cv_path_LD"
   10110 if test -n "$LD"; then
   10111   echo "$as_me:$LINENO: result: $LD" >&5
   10112 echo "${ECHO_T}$LD" >&6
   10113 else
   10114   echo "$as_me:$LINENO: result: no" >&5
   10115 echo "${ECHO_T}no" >&6
   10116 fi
   10117 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10118 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10119    { (exit 1); exit 1; }; }
   10120 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10121 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   10122 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10123   echo $ECHO_N "(cached) $ECHO_C" >&6
   10124 else
   10125   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10126 case `$LD -v 2>&1 </dev/null` in
   10127 *GNU* | *'with BFD'*)
   10128   lt_cv_prog_gnu_ld=yes
   10129   ;;
   10130 *)
   10131   lt_cv_prog_gnu_ld=no
   10132   ;;
   10133 esac
   10134 fi
   10135 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10136 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   10137 with_gnu_ld=$lt_cv_prog_gnu_ld
   10138 
   10139 
   10140 
   10141   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10142   # archiving commands below assume that GNU ld is being used.
   10143   if test "$with_gnu_ld" = yes; then
   10144     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10145     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'
   10146 
   10147     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10148     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10149 
   10150     # If archive_cmds runs LD, not CC, wlarc should be empty
   10151     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10152     #     investigate it a little bit more. (MM)
   10153     wlarc='${wl}'
   10154 
   10155     # ancient GNU ld didn't support --whole-archive et. al.
   10156     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10157 	grep 'no-whole-archive' > /dev/null; then
   10158       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10159     else
   10160       whole_archive_flag_spec_CXX=
   10161     fi
   10162   else
   10163     with_gnu_ld=no
   10164     wlarc=
   10165 
   10166     # A generic and very simple default shared library creation
   10167     # command for GNU C++ for the case where it uses the native
   10168     # linker, instead of GNU ld.  If possible, this setting should
   10169     # overridden to take advantage of the native linker features on
   10170     # the platform it is being used on.
   10171     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10172   fi
   10173 
   10174   # Commands to make compiler produce verbose output that lists
   10175   # what "hidden" libraries, object files and flags are used when
   10176   # linking a shared library.
   10177   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10178 
   10179 else
   10180   GXX=no
   10181   with_gnu_ld=no
   10182   wlarc=
   10183 fi
   10184 
   10185 # PORTME: fill in a description of your system's C++ link characteristics
   10186 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10187 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   10188 ld_shlibs_CXX=yes
   10189 case $host_os in
   10190   aix3*)
   10191     # FIXME: insert proper C++ library support
   10192     ld_shlibs_CXX=no
   10193     ;;
   10194   aix4* | aix5*)
   10195     if test "$host_cpu" = ia64; then
   10196       # On IA64, the linker does run time linking by default, so we don't
   10197       # have to do anything special.
   10198       aix_use_runtimelinking=no
   10199       exp_sym_flag='-Bexport'
   10200       no_entry_flag=""
   10201     else
   10202       aix_use_runtimelinking=no
   10203 
   10204       # Test if we are trying to use run time linking or normal
   10205       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10206       # need to do runtime linking.
   10207       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10208 	for ld_flag in $LDFLAGS; do
   10209 	  case $ld_flag in
   10210 	  *-brtl*)
   10211 	    aix_use_runtimelinking=yes
   10212 	    break
   10213 	    ;;
   10214 	  esac
   10215 	done
   10216 	;;
   10217       esac
   10218 
   10219       exp_sym_flag='-bexport'
   10220       no_entry_flag='-bnoentry'
   10221     fi
   10222 
   10223     # When large executables or shared objects are built, AIX ld can
   10224     # have problems creating the table of contents.  If linking a library
   10225     # or program results in "error TOC overflow" add -mminimal-toc to
   10226     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10227     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10228 
   10229     archive_cmds_CXX=''
   10230     hardcode_direct_CXX=yes
   10231     hardcode_libdir_separator_CXX=':'
   10232     link_all_deplibs_CXX=yes
   10233 
   10234     if test "$GXX" = yes; then
   10235       case $host_os in aix4.[012]|aix4.[012].*)
   10236       # We only want to do this on AIX 4.2 and lower, the check
   10237       # below for broken collect2 doesn't work under 4.3+
   10238 	collect2name=`${CC} -print-prog-name=collect2`
   10239 	if test -f "$collect2name" && \
   10240 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10241 	then
   10242 	  # We have reworked collect2
   10243 	  hardcode_direct_CXX=yes
   10244 	else
   10245 	  # We have old collect2
   10246 	  hardcode_direct_CXX=unsupported
   10247 	  # It fails to find uninstalled libraries when the uninstalled
   10248 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10249 	  # to unsupported forces relinking
   10250 	  hardcode_minus_L_CXX=yes
   10251 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10252 	  hardcode_libdir_separator_CXX=
   10253 	fi
   10254 	;;
   10255       esac
   10256       shared_flag='-shared'
   10257       if test "$aix_use_runtimelinking" = yes; then
   10258 	shared_flag="$shared_flag "'${wl}-G'
   10259       fi
   10260     else
   10261       # not using gcc
   10262       if test "$host_cpu" = ia64; then
   10263 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10264 	# chokes on -Wl,-G. The following line is correct:
   10265 	shared_flag='-G'
   10266       else
   10267 	if test "$aix_use_runtimelinking" = yes; then
   10268 	  shared_flag='${wl}-G'
   10269 	else
   10270 	  shared_flag='${wl}-bM:SRE'
   10271 	fi
   10272       fi
   10273     fi
   10274 
   10275     # It seems that -bexpall does not export symbols beginning with
   10276     # underscore (_), so it is better to generate a list of symbols to export.
   10277     always_export_symbols_CXX=yes
   10278     if test "$aix_use_runtimelinking" = yes; then
   10279       # Warning - without using the other runtime loading flags (-brtl),
   10280       # -berok will link without error, but may produce a broken library.
   10281       allow_undefined_flag_CXX='-berok'
   10282       # Determine the default libpath from the value encoded in an empty executable.
   10283       cat >conftest.$ac_ext <<_ACEOF
   10284 /* confdefs.h.  */
   10285 _ACEOF
   10286 cat confdefs.h >>conftest.$ac_ext
   10287 cat >>conftest.$ac_ext <<_ACEOF
   10288 /* end confdefs.h.  */
   10289 
   10290 int
   10291 main ()
   10292 {
   10293 
   10294   ;
   10295   return 0;
   10296 }
   10297 _ACEOF
   10298 rm -f conftest.$ac_objext conftest$ac_exeext
   10299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10300   (eval $ac_link) 2>conftest.er1
   10301   ac_status=$?
   10302   grep -v '^ *+' conftest.er1 >conftest.err
   10303   rm -f conftest.er1
   10304   cat conftest.err >&5
   10305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10306   (exit $ac_status); } &&
   10307 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10308 			 || test ! -s conftest.err'
   10309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10310   (eval $ac_try) 2>&5
   10311   ac_status=$?
   10312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10313   (exit $ac_status); }; } &&
   10314 	 { ac_try='test -s conftest$ac_exeext'
   10315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10316   (eval $ac_try) 2>&5
   10317   ac_status=$?
   10318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10319   (exit $ac_status); }; }; then
   10320 
   10321 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10322 }'`
   10323 # Check for a 64-bit object if we didn't find anything.
   10324 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; }
   10325 }'`; fi
   10326 else
   10327   echo "$as_me: failed program was:" >&5
   10328 sed 's/^/| /' conftest.$ac_ext >&5
   10329 
   10330 fi
   10331 rm -f conftest.err conftest.$ac_objext \
   10332       conftest$ac_exeext conftest.$ac_ext
   10333 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10334 
   10335       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10336 
   10337       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"
   10338      else
   10339       if test "$host_cpu" = ia64; then
   10340 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10341 	allow_undefined_flag_CXX="-z nodefs"
   10342 	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"
   10343       else
   10344 	# Determine the default libpath from the value encoded in an empty executable.
   10345 	cat >conftest.$ac_ext <<_ACEOF
   10346 /* confdefs.h.  */
   10347 _ACEOF
   10348 cat confdefs.h >>conftest.$ac_ext
   10349 cat >>conftest.$ac_ext <<_ACEOF
   10350 /* end confdefs.h.  */
   10351 
   10352 int
   10353 main ()
   10354 {
   10355 
   10356   ;
   10357   return 0;
   10358 }
   10359 _ACEOF
   10360 rm -f conftest.$ac_objext conftest$ac_exeext
   10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10362   (eval $ac_link) 2>conftest.er1
   10363   ac_status=$?
   10364   grep -v '^ *+' conftest.er1 >conftest.err
   10365   rm -f conftest.er1
   10366   cat conftest.err >&5
   10367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10368   (exit $ac_status); } &&
   10369 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10370 			 || test ! -s conftest.err'
   10371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10372   (eval $ac_try) 2>&5
   10373   ac_status=$?
   10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10375   (exit $ac_status); }; } &&
   10376 	 { ac_try='test -s conftest$ac_exeext'
   10377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10378   (eval $ac_try) 2>&5
   10379   ac_status=$?
   10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10381   (exit $ac_status); }; }; then
   10382 
   10383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10384 }'`
   10385 # Check for a 64-bit object if we didn't find anything.
   10386 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; }
   10387 }'`; fi
   10388 else
   10389   echo "$as_me: failed program was:" >&5
   10390 sed 's/^/| /' conftest.$ac_ext >&5
   10391 
   10392 fi
   10393 rm -f conftest.err conftest.$ac_objext \
   10394       conftest$ac_exeext conftest.$ac_ext
   10395 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10396 
   10397 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10398 	# Warning - without using the other run time loading flags,
   10399 	# -berok will link without error, but may produce a broken library.
   10400 	no_undefined_flag_CXX=' ${wl}-bernotok'
   10401 	allow_undefined_flag_CXX=' ${wl}-berok'
   10402 	# Exported symbols can be pulled into shared objects from archives
   10403 	whole_archive_flag_spec_CXX='$convenience'
   10404 	archive_cmds_need_lc_CXX=yes
   10405 	# This is similar to how AIX traditionally builds its shared libraries.
   10406 	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'
   10407       fi
   10408     fi
   10409     ;;
   10410 
   10411   beos*)
   10412     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   10413       allow_undefined_flag_CXX=unsupported
   10414       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10415       # support --undefined.  This deserves some investigation.  FIXME
   10416       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10417     else
   10418       ld_shlibs_CXX=no
   10419     fi
   10420     ;;
   10421 
   10422   chorus*)
   10423     case $cc_basename in
   10424       *)
   10425 	# FIXME: insert proper C++ library support
   10426 	ld_shlibs_CXX=no
   10427 	;;
   10428     esac
   10429     ;;
   10430 
   10431   cygwin* | mingw* | pw32*)
   10432     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   10433     # as there is no search path for DLLs.
   10434     hardcode_libdir_flag_spec_CXX='-L$libdir'
   10435     allow_undefined_flag_CXX=unsupported
   10436     always_export_symbols_CXX=no
   10437     enable_shared_with_static_runtimes_CXX=yes
   10438 
   10439     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   10440       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'
   10441       # If the export-symbols file already is a .def file (1st line
   10442       # is EXPORTS), use it as is; otherwise, prepend...
   10443       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10444 	cp $export_symbols $output_objdir/$soname.def;
   10445       else
   10446 	echo EXPORTS > $output_objdir/$soname.def;
   10447 	cat $export_symbols >> $output_objdir/$soname.def;
   10448       fi~
   10449       $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'
   10450     else
   10451       ld_shlibs_CXX=no
   10452     fi
   10453   ;;
   10454       darwin* | rhapsody*)
   10455         case $host_os in
   10456         rhapsody* | darwin1.[012])
   10457          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   10458          ;;
   10459        *) # Darwin 1.3 on
   10460          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   10461            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10462          else
   10463            case ${MACOSX_DEPLOYMENT_TARGET} in
   10464              10.[012])
   10465                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10466                ;;
   10467              10.*)
   10468                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   10469                ;;
   10470            esac
   10471          fi
   10472          ;;
   10473         esac
   10474       archive_cmds_need_lc_CXX=no
   10475       hardcode_direct_CXX=no
   10476       hardcode_automatic_CXX=yes
   10477       hardcode_shlibpath_var_CXX=unsupported
   10478       whole_archive_flag_spec_CXX=''
   10479       link_all_deplibs_CXX=yes
   10480 
   10481     if test "$GXX" = yes ; then
   10482       lt_int_apple_cc_single_mod=no
   10483       output_verbose_link_cmd='echo'
   10484       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   10485        lt_int_apple_cc_single_mod=yes
   10486       fi
   10487       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10488        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   10489       else
   10490           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'
   10491         fi
   10492         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10493         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10494           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10495             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}'
   10496           else
   10497             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}'
   10498           fi
   10499             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}'
   10500       else
   10501       case $cc_basename in
   10502         xlc*)
   10503          output_verbose_link_cmd='echo'
   10504           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'
   10505           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10506           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10507           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}'
   10508           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}'
   10509           ;;
   10510        *)
   10511          ld_shlibs_CXX=no
   10512           ;;
   10513       esac
   10514       fi
   10515         ;;
   10516 
   10517   dgux*)
   10518     case $cc_basename in
   10519       ec++*)
   10520 	# FIXME: insert proper C++ library support
   10521 	ld_shlibs_CXX=no
   10522 	;;
   10523       ghcx*)
   10524 	# Green Hills C++ Compiler
   10525 	# FIXME: insert proper C++ library support
   10526 	ld_shlibs_CXX=no
   10527 	;;
   10528       *)
   10529 	# FIXME: insert proper C++ library support
   10530 	ld_shlibs_CXX=no
   10531 	;;
   10532     esac
   10533     ;;
   10534   freebsd[12]*)
   10535     # C++ shared libraries reported to be fairly broken before switch to ELF
   10536     ld_shlibs_CXX=no
   10537     ;;
   10538   freebsd-elf*)
   10539     archive_cmds_need_lc_CXX=no
   10540     ;;
   10541   freebsd* | kfreebsd*-gnu | dragonfly*)
   10542     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   10543     # conventions
   10544     ld_shlibs_CXX=yes
   10545     ;;
   10546   gnu*)
   10547     ;;
   10548   hpux9*)
   10549     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10550     hardcode_libdir_separator_CXX=:
   10551     export_dynamic_flag_spec_CXX='${wl}-E'
   10552     hardcode_direct_CXX=yes
   10553     hardcode_minus_L_CXX=yes # Not in the search PATH,
   10554 				# but as the default
   10555 				# location of the library.
   10556 
   10557     case $cc_basename in
   10558     CC*)
   10559       # FIXME: insert proper C++ library support
   10560       ld_shlibs_CXX=no
   10561       ;;
   10562     aCC*)
   10563       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'
   10564       # Commands to make compiler produce verbose output that lists
   10565       # what "hidden" libraries, object files and flags are used when
   10566       # linking a shared library.
   10567       #
   10568       # There doesn't appear to be a way to prevent this compiler from
   10569       # explicitly linking system object files so we need to strip them
   10570       # from the output so that they don't get included in the library
   10571       # dependencies.
   10572       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'
   10573       ;;
   10574     *)
   10575       if test "$GXX" = yes; then
   10576         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'
   10577       else
   10578         # FIXME: insert proper C++ library support
   10579         ld_shlibs_CXX=no
   10580       fi
   10581       ;;
   10582     esac
   10583     ;;
   10584   hpux10*|hpux11*)
   10585     if test $with_gnu_ld = no; then
   10586       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10587       hardcode_libdir_separator_CXX=:
   10588 
   10589       case $host_cpu in
   10590       hppa*64*|ia64*)
   10591 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   10592         ;;
   10593       *)
   10594 	export_dynamic_flag_spec_CXX='${wl}-E'
   10595         ;;
   10596       esac
   10597     fi
   10598     case $host_cpu in
   10599     hppa*64*|ia64*)
   10600       hardcode_direct_CXX=no
   10601       hardcode_shlibpath_var_CXX=no
   10602       ;;
   10603     *)
   10604       hardcode_direct_CXX=yes
   10605       hardcode_minus_L_CXX=yes # Not in the search PATH,
   10606 					      # but as the default
   10607 					      # location of the library.
   10608       ;;
   10609     esac
   10610 
   10611     case $cc_basename in
   10612       CC*)
   10613 	# FIXME: insert proper C++ library support
   10614 	ld_shlibs_CXX=no
   10615 	;;
   10616       aCC*)
   10617 	case $host_cpu in
   10618 	hppa*64*)
   10619 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10620 	  ;;
   10621 	ia64*)
   10622 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10623 	  ;;
   10624 	*)
   10625 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10626 	  ;;
   10627 	esac
   10628 	# Commands to make compiler produce verbose output that lists
   10629 	# what "hidden" libraries, object files and flags are used when
   10630 	# linking a shared library.
   10631 	#
   10632 	# There doesn't appear to be a way to prevent this compiler from
   10633 	# explicitly linking system object files so we need to strip them
   10634 	# from the output so that they don't get included in the library
   10635 	# dependencies.
   10636 	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'
   10637 	;;
   10638       *)
   10639 	if test "$GXX" = yes; then
   10640 	  if test $with_gnu_ld = no; then
   10641 	    case $host_cpu in
   10642 	    hppa*64*)
   10643 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10644 	      ;;
   10645 	    ia64*)
   10646 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10647 	      ;;
   10648 	    *)
   10649 	      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'
   10650 	      ;;
   10651 	    esac
   10652 	  fi
   10653 	else
   10654 	  # FIXME: insert proper C++ library support
   10655 	  ld_shlibs_CXX=no
   10656 	fi
   10657 	;;
   10658     esac
   10659     ;;
   10660   interix3*)
   10661     hardcode_direct_CXX=no
   10662     hardcode_shlibpath_var_CXX=no
   10663     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10664     export_dynamic_flag_spec_CXX='${wl}-E'
   10665     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10666     # Instead, shared libraries are loaded at an image base (0x10000000 by
   10667     # default) and relocated if they conflict, which is a slow very memory
   10668     # consuming and fragmenting process.  To avoid this, we pick a random,
   10669     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10670     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10671     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'
   10672     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'
   10673     ;;
   10674   irix5* | irix6*)
   10675     case $cc_basename in
   10676       CC*)
   10677 	# SGI C++
   10678 	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'
   10679 
   10680 	# Archives containing C++ object files must be created using
   10681 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   10682 	# necessary to make sure instantiated templates are included
   10683 	# in the archive.
   10684 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   10685 	;;
   10686       *)
   10687 	if test "$GXX" = yes; then
   10688 	  if test "$with_gnu_ld" = no; then
   10689 	    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'
   10690 	  else
   10691 	    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'
   10692 	  fi
   10693 	fi
   10694 	link_all_deplibs_CXX=yes
   10695 	;;
   10696     esac
   10697     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10698     hardcode_libdir_separator_CXX=:
   10699     ;;
   10700   linux*)
   10701     case $cc_basename in
   10702       KCC*)
   10703 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10704 
   10705 	# KCC will only create a shared library if the output file
   10706 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10707 	# to its proper name (with version) after linking.
   10708 	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'
   10709 	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'
   10710 	# Commands to make compiler produce verbose output that lists
   10711 	# what "hidden" libraries, object files and flags are used when
   10712 	# linking a shared library.
   10713 	#
   10714 	# There doesn't appear to be a way to prevent this compiler from
   10715 	# explicitly linking system object files so we need to strip them
   10716 	# from the output so that they don't get included in the library
   10717 	# dependencies.
   10718 	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'
   10719 
   10720 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   10721 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10722 
   10723 	# Archives containing C++ object files must be created using
   10724 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   10725 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   10726 	;;
   10727       icpc*)
   10728 	# Intel C++
   10729 	with_gnu_ld=yes
   10730 	# version 8.0 and above of icpc choke on multiply defined symbols
   10731 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   10732 	# earlier do not add the objects themselves.
   10733 	case `$CC -V 2>&1` in
   10734 	*"Version 7."*)
   10735   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10736   	  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'
   10737 	  ;;
   10738 	*)  # Version 8.0 or newer
   10739 	  tmp_idyn=
   10740 	  case $host_cpu in
   10741 	    ia64*) tmp_idyn=' -i_dynamic';;
   10742 	  esac
   10743   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10744 	  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'
   10745 	  ;;
   10746 	esac
   10747 	archive_cmds_need_lc_CXX=no
   10748 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10749 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10750 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10751 	;;
   10752       pgCC*)
   10753         # Portland Group C++ compiler
   10754 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   10755   	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'
   10756 
   10757 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10758 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10759 	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'
   10760         ;;
   10761       cxx*)
   10762 	# Compaq C++
   10763 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10764 	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'
   10765 
   10766 	runpath_var=LD_RUN_PATH
   10767 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   10768 	hardcode_libdir_separator_CXX=:
   10769 
   10770 	# Commands to make compiler produce verbose output that lists
   10771 	# what "hidden" libraries, object files and flags are used when
   10772 	# linking a shared library.
   10773 	#
   10774 	# There doesn't appear to be a way to prevent this compiler from
   10775 	# explicitly linking system object files so we need to strip them
   10776 	# from the output so that they don't get included in the library
   10777 	# dependencies.
   10778 	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'
   10779 	;;
   10780     esac
   10781     ;;
   10782   lynxos*)
   10783     # FIXME: insert proper C++ library support
   10784     ld_shlibs_CXX=no
   10785     ;;
   10786   m88k*)
   10787     # FIXME: insert proper C++ library support
   10788     ld_shlibs_CXX=no
   10789     ;;
   10790   mvs*)
   10791     case $cc_basename in
   10792       cxx*)
   10793 	# FIXME: insert proper C++ library support
   10794 	ld_shlibs_CXX=no
   10795 	;;
   10796       *)
   10797 	# FIXME: insert proper C++ library support
   10798 	ld_shlibs_CXX=no
   10799 	;;
   10800     esac
   10801     ;;
   10802   netbsd*)
   10803     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   10804       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   10805       wlarc=
   10806       hardcode_libdir_flag_spec_CXX='-R$libdir'
   10807       hardcode_direct_CXX=yes
   10808       hardcode_shlibpath_var_CXX=no
   10809     fi
   10810     # Workaround some broken pre-1.5 toolchains
   10811     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   10812     ;;
   10813   openbsd2*)
   10814     # C++ shared libraries are fairly broken
   10815     ld_shlibs_CXX=no
   10816     ;;
   10817   openbsd*)
   10818     hardcode_direct_CXX=yes
   10819     hardcode_shlibpath_var_CXX=no
   10820     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10821     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10822     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10823       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   10824       export_dynamic_flag_spec_CXX='${wl}-E'
   10825       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10826     fi
   10827     output_verbose_link_cmd='echo'
   10828     ;;
   10829   osf3*)
   10830     case $cc_basename in
   10831       KCC*)
   10832 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10833 
   10834 	# KCC will only create a shared library if the output file
   10835 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10836 	# to its proper name (with version) after linking.
   10837 	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'
   10838 
   10839 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10840 	hardcode_libdir_separator_CXX=:
   10841 
   10842 	# Archives containing C++ object files must be created using
   10843 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   10844 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   10845 
   10846 	;;
   10847       RCC*)
   10848 	# Rational C++ 2.4.1
   10849 	# FIXME: insert proper C++ library support
   10850 	ld_shlibs_CXX=no
   10851 	;;
   10852       cxx*)
   10853 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10854 	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'
   10855 
   10856 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10857 	hardcode_libdir_separator_CXX=:
   10858 
   10859 	# Commands to make compiler produce verbose output that lists
   10860 	# what "hidden" libraries, object files and flags are used when
   10861 	# linking a shared library.
   10862 	#
   10863 	# There doesn't appear to be a way to prevent this compiler from
   10864 	# explicitly linking system object files so we need to strip them
   10865 	# from the output so that they don't get included in the library
   10866 	# dependencies.
   10867 	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'
   10868 	;;
   10869       *)
   10870 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   10871 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10872 	  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'
   10873 
   10874 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10875 	  hardcode_libdir_separator_CXX=:
   10876 
   10877 	  # Commands to make compiler produce verbose output that lists
   10878 	  # what "hidden" libraries, object files and flags are used when
   10879 	  # linking a shared library.
   10880 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10881 
   10882 	else
   10883 	  # FIXME: insert proper C++ library support
   10884 	  ld_shlibs_CXX=no
   10885 	fi
   10886 	;;
   10887     esac
   10888     ;;
   10889   osf4* | osf5*)
   10890     case $cc_basename in
   10891       KCC*)
   10892 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   10893 
   10894 	# KCC will only create a shared library if the output file
   10895 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   10896 	# to its proper name (with version) after linking.
   10897 	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'
   10898 
   10899 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10900 	hardcode_libdir_separator_CXX=:
   10901 
   10902 	# Archives containing C++ object files must be created using
   10903 	# the KAI C++ compiler.
   10904 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   10905 	;;
   10906       RCC*)
   10907 	# Rational C++ 2.4.1
   10908 	# FIXME: insert proper C++ library support
   10909 	ld_shlibs_CXX=no
   10910 	;;
   10911       cxx*)
   10912 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   10913 	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'
   10914 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   10915 	  echo "-hidden">> $lib.exp~
   10916 	  $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~
   10917 	  $rm $lib.exp'
   10918 
   10919 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   10920 	hardcode_libdir_separator_CXX=:
   10921 
   10922 	# Commands to make compiler produce verbose output that lists
   10923 	# what "hidden" libraries, object files and flags are used when
   10924 	# linking a shared library.
   10925 	#
   10926 	# There doesn't appear to be a way to prevent this compiler from
   10927 	# explicitly linking system object files so we need to strip them
   10928 	# from the output so that they don't get included in the library
   10929 	# dependencies.
   10930 	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'
   10931 	;;
   10932       *)
   10933 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   10934 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   10935 	 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'
   10936 
   10937 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   10938 	  hardcode_libdir_separator_CXX=:
   10939 
   10940 	  # Commands to make compiler produce verbose output that lists
   10941 	  # what "hidden" libraries, object files and flags are used when
   10942 	  # linking a shared library.
   10943 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10944 
   10945 	else
   10946 	  # FIXME: insert proper C++ library support
   10947 	  ld_shlibs_CXX=no
   10948 	fi
   10949 	;;
   10950     esac
   10951     ;;
   10952   psos*)
   10953     # FIXME: insert proper C++ library support
   10954     ld_shlibs_CXX=no
   10955     ;;
   10956   sunos4*)
   10957     case $cc_basename in
   10958       CC*)
   10959 	# Sun C++ 4.x
   10960 	# FIXME: insert proper C++ library support
   10961 	ld_shlibs_CXX=no
   10962 	;;
   10963       lcc*)
   10964 	# Lucid
   10965 	# FIXME: insert proper C++ library support
   10966 	ld_shlibs_CXX=no
   10967 	;;
   10968       *)
   10969 	# FIXME: insert proper C++ library support
   10970 	ld_shlibs_CXX=no
   10971 	;;
   10972     esac
   10973     ;;
   10974   solaris*)
   10975     case $cc_basename in
   10976       CC*)
   10977 	# Sun C++ 4.2, 5.x and Centerline C++
   10978         archive_cmds_need_lc_CXX=yes
   10979 	no_undefined_flag_CXX=' -zdefs'
   10980 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10981 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   10982 	$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'
   10983 
   10984 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   10985 	hardcode_shlibpath_var_CXX=no
   10986 	case $host_os in
   10987 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   10988 	  *)
   10989 	    # The C++ compiler is used as linker so we must use $wl
   10990 	    # flag to pass the commands to the underlying system
   10991 	    # linker. We must also pass each convience library through
   10992 	    # to the system linker between allextract/defaultextract.
   10993 	    # The C++ compiler will combine linker options so we
   10994 	    # cannot just pass the convience library names through
   10995 	    # without $wl.
   10996 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   10997 	    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'
   10998 	    ;;
   10999 	esac
   11000 	link_all_deplibs_CXX=yes
   11001 
   11002 	output_verbose_link_cmd='echo'
   11003 
   11004 	# Archives containing C++ object files must be created using
   11005 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11006 	# necessary to make sure instantiated templates are included
   11007 	# in the archive.
   11008 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11009 	;;
   11010       gcx*)
   11011 	# Green Hills C++ Compiler
   11012 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11013 
   11014 	# The C++ compiler must be used to create the archive.
   11015 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11016 	;;
   11017       *)
   11018 	# GNU C++ compiler with Solaris linker
   11019 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11020 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11021 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11022 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11023 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11024 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11025 
   11026 	    # Commands to make compiler produce verbose output that lists
   11027 	    # what "hidden" libraries, object files and flags are used when
   11028 	    # linking a shared library.
   11029 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11030 	  else
   11031 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11032 	    # platform.
   11033 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11034 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11035 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11036 
   11037 	    # Commands to make compiler produce verbose output that lists
   11038 	    # what "hidden" libraries, object files and flags are used when
   11039 	    # linking a shared library.
   11040 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11041 	  fi
   11042 
   11043 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11044 	fi
   11045 	;;
   11046     esac
   11047     ;;
   11048   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11049     no_undefined_flag_CXX='${wl}-z,text'
   11050     archive_cmds_need_lc_CXX=no
   11051     hardcode_shlibpath_var_CXX=no
   11052     runpath_var='LD_RUN_PATH'
   11053 
   11054     case $cc_basename in
   11055       CC*)
   11056 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11057 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11058 	;;
   11059       *)
   11060 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11061 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11062 	;;
   11063     esac
   11064     ;;
   11065   sysv5* | sco3.2v5* | sco5v6*)
   11066     # Note: We can NOT use -z defs as we might desire, because we do not
   11067     # link with -lc, and that would cause any symbols used from libc to
   11068     # always be unresolved, which means just about no library would
   11069     # ever link correctly.  If we're not using GNU ld we use -z text
   11070     # though, which does catch some bad symbols but isn't as heavy-handed
   11071     # as -z defs.
   11072     # For security reasons, it is highly recommended that you always
   11073     # use absolute paths for naming shared libraries, and exclude the
   11074     # DT_RUNPATH tag from executables and libraries.  But doing so
   11075     # requires that you compile everything twice, which is a pain.
   11076     # So that behaviour is only enabled if SCOABSPATH is set to a
   11077     # non-empty value in the environment.  Most likely only useful for
   11078     # creating official distributions of packages.
   11079     # This is a hack until libtool officially supports absolute path
   11080     # names for shared libraries.
   11081     no_undefined_flag_CXX='${wl}-z,text'
   11082     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11083     archive_cmds_need_lc_CXX=no
   11084     hardcode_shlibpath_var_CXX=no
   11085     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11086     hardcode_libdir_separator_CXX=':'
   11087     link_all_deplibs_CXX=yes
   11088     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11089     runpath_var='LD_RUN_PATH'
   11090 
   11091     case $cc_basename in
   11092       CC*)
   11093 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11094 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11095 	;;
   11096       *)
   11097 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11098 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11099 	;;
   11100     esac
   11101     ;;
   11102   tandem*)
   11103     case $cc_basename in
   11104       NCC*)
   11105 	# NonStop-UX NCC 3.20
   11106 	# FIXME: insert proper C++ library support
   11107 	ld_shlibs_CXX=no
   11108 	;;
   11109       *)
   11110 	# FIXME: insert proper C++ library support
   11111 	ld_shlibs_CXX=no
   11112 	;;
   11113     esac
   11114     ;;
   11115   vxworks*)
   11116     # FIXME: insert proper C++ library support
   11117     ld_shlibs_CXX=no
   11118     ;;
   11119   *)
   11120     # FIXME: insert proper C++ library support
   11121     ld_shlibs_CXX=no
   11122     ;;
   11123 esac
   11124 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11125 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   11126 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11127 
   11128 GCC_CXX="$GXX"
   11129 LD_CXX="$LD"
   11130 
   11131 
   11132 cat > conftest.$ac_ext <<EOF
   11133 class Foo
   11134 {
   11135 public:
   11136   Foo (void) { a = 0; }
   11137 private:
   11138   int a;
   11139 };
   11140 EOF
   11141 
   11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11143   (eval $ac_compile) 2>&5
   11144   ac_status=$?
   11145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11146   (exit $ac_status); }; then
   11147   # Parse the compiler output and extract the necessary
   11148   # objects, libraries and library flags.
   11149 
   11150   # Sentinel used to keep track of whether or not we are before
   11151   # the conftest object file.
   11152   pre_test_object_deps_done=no
   11153 
   11154   # The `*' in the case matches for architectures that use `case' in
   11155   # $output_verbose_cmd can trigger glob expansion during the loop
   11156   # eval without this substitution.
   11157   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11158 
   11159   for p in `eval $output_verbose_link_cmd`; do
   11160     case $p in
   11161 
   11162     -L* | -R* | -l*)
   11163        # Some compilers place space between "-{L,R}" and the path.
   11164        # Remove the space.
   11165        if test $p = "-L" \
   11166 	  || test $p = "-R"; then
   11167 	 prev=$p
   11168 	 continue
   11169        else
   11170 	 prev=
   11171        fi
   11172 
   11173        if test "$pre_test_object_deps_done" = no; then
   11174 	 case $p in
   11175 	 -L* | -R*)
   11176 	   # Internal compiler library paths should come after those
   11177 	   # provided the user.  The postdeps already come after the
   11178 	   # user supplied libs so there is no need to process them.
   11179 	   if test -z "$compiler_lib_search_path_CXX"; then
   11180 	     compiler_lib_search_path_CXX="${prev}${p}"
   11181 	   else
   11182 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11183 	   fi
   11184 	   ;;
   11185 	 # The "-l" case would never come before the object being
   11186 	 # linked, so don't bother handling this case.
   11187 	 esac
   11188        else
   11189 	 if test -z "$postdeps_CXX"; then
   11190 	   postdeps_CXX="${prev}${p}"
   11191 	 else
   11192 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11193 	 fi
   11194        fi
   11195        ;;
   11196 
   11197     *.$objext)
   11198        # This assumes that the test object file only shows up
   11199        # once in the compiler output.
   11200        if test "$p" = "conftest.$objext"; then
   11201 	 pre_test_object_deps_done=yes
   11202 	 continue
   11203        fi
   11204 
   11205        if test "$pre_test_object_deps_done" = no; then
   11206 	 if test -z "$predep_objects_CXX"; then
   11207 	   predep_objects_CXX="$p"
   11208 	 else
   11209 	   predep_objects_CXX="$predep_objects_CXX $p"
   11210 	 fi
   11211        else
   11212 	 if test -z "$postdep_objects_CXX"; then
   11213 	   postdep_objects_CXX="$p"
   11214 	 else
   11215 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11216 	 fi
   11217        fi
   11218        ;;
   11219 
   11220     *) ;; # Ignore the rest.
   11221 
   11222     esac
   11223   done
   11224 
   11225   # Clean up.
   11226   rm -f a.out a.exe
   11227 else
   11228   echo "libtool.m4: error: problem compiling CXX test program"
   11229 fi
   11230 
   11231 $rm -f confest.$objext
   11232 
   11233 # PORTME: override above test on systems where it is broken
   11234 case $host_os in
   11235 interix3*)
   11236   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11237   # hack all around it, let's just trust "g++" to DTRT.
   11238   predep_objects_CXX=
   11239   postdep_objects_CXX=
   11240   postdeps_CXX=
   11241   ;;
   11242 
   11243 solaris*)
   11244   case $cc_basename in
   11245   CC*)
   11246     # Adding this requires a known-good setup of shared libraries for
   11247     # Sun compiler versions before 5.6, else PIC objects from an old
   11248     # archive will be linked into the output, leading to subtle bugs.
   11249     postdeps_CXX='-lCstd -lCrun'
   11250     ;;
   11251   esac
   11252   ;;
   11253 esac
   11254 
   11255 
   11256 case " $postdeps_CXX " in
   11257 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11258 esac
   11259 
   11260 lt_prog_compiler_wl_CXX=
   11261 lt_prog_compiler_pic_CXX=
   11262 lt_prog_compiler_static_CXX=
   11263 
   11264 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11265 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   11266 
   11267   # C++ specific cases for pic, static, wl, etc.
   11268   if test "$GXX" = yes; then
   11269     lt_prog_compiler_wl_CXX='-Wl,'
   11270     lt_prog_compiler_static_CXX='-static'
   11271 
   11272     case $host_os in
   11273     aix*)
   11274       # All AIX code is PIC.
   11275       if test "$host_cpu" = ia64; then
   11276 	# AIX 5 now supports IA64 processor
   11277 	lt_prog_compiler_static_CXX='-Bstatic'
   11278       fi
   11279       ;;
   11280     amigaos*)
   11281       # FIXME: we need at least 68020 code to build shared libraries, but
   11282       # adding the `-m68020' flag to GCC prevents building anything better,
   11283       # like `-m68040'.
   11284       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11285       ;;
   11286     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11287       # PIC is the default for these OSes.
   11288       ;;
   11289     mingw* | os2* | pw32*)
   11290       # This hack is so that the source file can tell whether it is being
   11291       # built for inclusion in a dll (and should export symbols for example).
   11292       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11293       ;;
   11294     darwin* | rhapsody*)
   11295       # PIC is the default on this platform
   11296       # Common symbols not allowed in MH_DYLIB files
   11297       lt_prog_compiler_pic_CXX='-fno-common'
   11298       ;;
   11299     *djgpp*)
   11300       # DJGPP does not support shared libraries at all
   11301       lt_prog_compiler_pic_CXX=
   11302       ;;
   11303     interix3*)
   11304       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11305       # Instead, we relocate shared libraries at runtime.
   11306       ;;
   11307     sysv4*MP*)
   11308       if test -d /usr/nec; then
   11309 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11310       fi
   11311       ;;
   11312     hpux*)
   11313       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11314       # not for PA HP-UX.
   11315       case $host_cpu in
   11316       hppa*64*|ia64*)
   11317 	;;
   11318       *)
   11319 	lt_prog_compiler_pic_CXX='-fPIC'
   11320 	;;
   11321       esac
   11322       ;;
   11323     *)
   11324       lt_prog_compiler_pic_CXX='-fPIC'
   11325       ;;
   11326     esac
   11327   else
   11328     case $host_os in
   11329       aix4* | aix5*)
   11330 	# All AIX code is PIC.
   11331 	if test "$host_cpu" = ia64; then
   11332 	  # AIX 5 now supports IA64 processor
   11333 	  lt_prog_compiler_static_CXX='-Bstatic'
   11334 	else
   11335 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11336 	fi
   11337 	;;
   11338       chorus*)
   11339 	case $cc_basename in
   11340 	cxch68*)
   11341 	  # Green Hills C++ Compiler
   11342 	  # _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"
   11343 	  ;;
   11344 	esac
   11345 	;;
   11346        darwin*)
   11347          # PIC is the default on this platform
   11348          # Common symbols not allowed in MH_DYLIB files
   11349          case $cc_basename in
   11350            xlc*)
   11351            lt_prog_compiler_pic_CXX='-qnocommon'
   11352            lt_prog_compiler_wl_CXX='-Wl,'
   11353            ;;
   11354          esac
   11355        ;;
   11356       dgux*)
   11357 	case $cc_basename in
   11358 	  ec++*)
   11359 	    lt_prog_compiler_pic_CXX='-KPIC'
   11360 	    ;;
   11361 	  ghcx*)
   11362 	    # Green Hills C++ Compiler
   11363 	    lt_prog_compiler_pic_CXX='-pic'
   11364 	    ;;
   11365 	  *)
   11366 	    ;;
   11367 	esac
   11368 	;;
   11369       freebsd* | kfreebsd*-gnu | dragonfly*)
   11370 	# FreeBSD uses GNU C++
   11371 	;;
   11372       hpux9* | hpux10* | hpux11*)
   11373 	case $cc_basename in
   11374 	  CC*)
   11375 	    lt_prog_compiler_wl_CXX='-Wl,'
   11376 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11377 	    if test "$host_cpu" != ia64; then
   11378 	      lt_prog_compiler_pic_CXX='+Z'
   11379 	    fi
   11380 	    ;;
   11381 	  aCC*)
   11382 	    lt_prog_compiler_wl_CXX='-Wl,'
   11383 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11384 	    case $host_cpu in
   11385 	    hppa*64*|ia64*)
   11386 	      # +Z the default
   11387 	      ;;
   11388 	    *)
   11389 	      lt_prog_compiler_pic_CXX='+Z'
   11390 	      ;;
   11391 	    esac
   11392 	    ;;
   11393 	  *)
   11394 	    ;;
   11395 	esac
   11396 	;;
   11397       interix*)
   11398 	# This is c89, which is MS Visual C++ (no shared libs)
   11399 	# Anyone wants to do a port?
   11400 	;;
   11401       irix5* | irix6* | nonstopux*)
   11402 	case $cc_basename in
   11403 	  CC*)
   11404 	    lt_prog_compiler_wl_CXX='-Wl,'
   11405 	    lt_prog_compiler_static_CXX='-non_shared'
   11406 	    # CC pic flag -KPIC is the default.
   11407 	    ;;
   11408 	  *)
   11409 	    ;;
   11410 	esac
   11411 	;;
   11412       linux*)
   11413 	case $cc_basename in
   11414 	  KCC*)
   11415 	    # KAI C++ Compiler
   11416 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11417 	    lt_prog_compiler_pic_CXX='-fPIC'
   11418 	    ;;
   11419 	  icpc* | ecpc*)
   11420 	    # Intel C++
   11421 	    lt_prog_compiler_wl_CXX='-Wl,'
   11422 	    lt_prog_compiler_pic_CXX='-KPIC'
   11423 	    lt_prog_compiler_static_CXX='-static'
   11424 	    ;;
   11425 	  pgCC*)
   11426 	    # Portland Group C++ compiler.
   11427 	    lt_prog_compiler_wl_CXX='-Wl,'
   11428 	    lt_prog_compiler_pic_CXX='-fpic'
   11429 	    lt_prog_compiler_static_CXX='-Bstatic'
   11430 	    ;;
   11431 	  cxx*)
   11432 	    # Compaq C++
   11433 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11434 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11435 	    lt_prog_compiler_pic_CXX=
   11436 	    lt_prog_compiler_static_CXX='-non_shared'
   11437 	    ;;
   11438 	  *)
   11439 	    ;;
   11440 	esac
   11441 	;;
   11442       lynxos*)
   11443 	;;
   11444       m88k*)
   11445 	;;
   11446       mvs*)
   11447 	case $cc_basename in
   11448 	  cxx*)
   11449 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   11450 	    ;;
   11451 	  *)
   11452 	    ;;
   11453 	esac
   11454 	;;
   11455       netbsd*)
   11456 	;;
   11457       osf3* | osf4* | osf5*)
   11458 	case $cc_basename in
   11459 	  KCC*)
   11460 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11461 	    ;;
   11462 	  RCC*)
   11463 	    # Rational C++ 2.4.1
   11464 	    lt_prog_compiler_pic_CXX='-pic'
   11465 	    ;;
   11466 	  cxx*)
   11467 	    # Digital/Compaq C++
   11468 	    lt_prog_compiler_wl_CXX='-Wl,'
   11469 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11470 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11471 	    lt_prog_compiler_pic_CXX=
   11472 	    lt_prog_compiler_static_CXX='-non_shared'
   11473 	    ;;
   11474 	  *)
   11475 	    ;;
   11476 	esac
   11477 	;;
   11478       psos*)
   11479 	;;
   11480       solaris*)
   11481 	case $cc_basename in
   11482 	  CC*)
   11483 	    # Sun C++ 4.2, 5.x and Centerline C++
   11484 	    lt_prog_compiler_pic_CXX='-KPIC'
   11485 	    lt_prog_compiler_static_CXX='-Bstatic'
   11486 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   11487 	    ;;
   11488 	  gcx*)
   11489 	    # Green Hills C++ Compiler
   11490 	    lt_prog_compiler_pic_CXX='-PIC'
   11491 	    ;;
   11492 	  *)
   11493 	    ;;
   11494 	esac
   11495 	;;
   11496       sunos4*)
   11497 	case $cc_basename in
   11498 	  CC*)
   11499 	    # Sun C++ 4.x
   11500 	    lt_prog_compiler_pic_CXX='-pic'
   11501 	    lt_prog_compiler_static_CXX='-Bstatic'
   11502 	    ;;
   11503 	  lcc*)
   11504 	    # Lucid
   11505 	    lt_prog_compiler_pic_CXX='-pic'
   11506 	    ;;
   11507 	  *)
   11508 	    ;;
   11509 	esac
   11510 	;;
   11511       tandem*)
   11512 	case $cc_basename in
   11513 	  NCC*)
   11514 	    # NonStop-UX NCC 3.20
   11515 	    lt_prog_compiler_pic_CXX='-KPIC'
   11516 	    ;;
   11517 	  *)
   11518 	    ;;
   11519 	esac
   11520 	;;
   11521       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11522 	case $cc_basename in
   11523 	  CC*)
   11524 	    lt_prog_compiler_wl_CXX='-Wl,'
   11525 	    lt_prog_compiler_pic_CXX='-KPIC'
   11526 	    lt_prog_compiler_static_CXX='-Bstatic'
   11527 	    ;;
   11528 	esac
   11529 	;;
   11530       vxworks*)
   11531 	;;
   11532       *)
   11533 	lt_prog_compiler_can_build_shared_CXX=no
   11534 	;;
   11535     esac
   11536   fi
   11537 
   11538 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   11539 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
   11540 
   11541 #
   11542 # Check to make sure the PIC flag actually works.
   11543 #
   11544 if test -n "$lt_prog_compiler_pic_CXX"; then
   11545 
   11546 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   11547 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
   11548 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   11549   echo $ECHO_N "(cached) $ECHO_C" >&6
   11550 else
   11551   lt_prog_compiler_pic_works_CXX=no
   11552   ac_outfile=conftest.$ac_objext
   11553    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11554    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   11555    # Insert the option either (1) after the last *FLAGS variable, or
   11556    # (2) before a word containing "conftest.", or (3) at the end.
   11557    # Note that $ac_compile itself does not contain backslashes and begins
   11558    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11559    # The option is referenced via a variable to avoid confusing sed.
   11560    lt_compile=`echo "$ac_compile" | $SED \
   11561    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11562    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11563    -e 's:$: $lt_compiler_flag:'`
   11564    (eval echo "\"\$as_me:11564: $lt_compile\"" >&5)
   11565    (eval "$lt_compile" 2>conftest.err)
   11566    ac_status=$?
   11567    cat conftest.err >&5
   11568    echo "$as_me:11568: \$? = $ac_status" >&5
   11569    if (exit $ac_status) && test -s "$ac_outfile"; then
   11570      # The compiler can only warn and ignore the option if not recognized
   11571      # So say no if there are warnings other than the usual output.
   11572      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   11573      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11574      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11575        lt_prog_compiler_pic_works_CXX=yes
   11576      fi
   11577    fi
   11578    $rm conftest*
   11579 
   11580 fi
   11581 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   11582 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
   11583 
   11584 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   11585     case $lt_prog_compiler_pic_CXX in
   11586      "" | " "*) ;;
   11587      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   11588      esac
   11589 else
   11590     lt_prog_compiler_pic_CXX=
   11591      lt_prog_compiler_can_build_shared_CXX=no
   11592 fi
   11593 
   11594 fi
   11595 case $host_os in
   11596   # For platforms which do not support PIC, -DPIC is meaningless:
   11597   *djgpp*)
   11598     lt_prog_compiler_pic_CXX=
   11599     ;;
   11600   *)
   11601     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   11602     ;;
   11603 esac
   11604 
   11605 #
   11606 # Check to make sure the static flag actually works.
   11607 #
   11608 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   11609 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11610 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   11611 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   11612   echo $ECHO_N "(cached) $ECHO_C" >&6
   11613 else
   11614   lt_prog_compiler_static_works_CXX=no
   11615    save_LDFLAGS="$LDFLAGS"
   11616    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11617    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   11618    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11619      # The linker can only warn and ignore the option if not recognized
   11620      # So say no if there are warnings
   11621      if test -s conftest.err; then
   11622        # Append any errors to the config.log.
   11623        cat conftest.err 1>&5
   11624        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   11625        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11626        if diff conftest.exp conftest.er2 >/dev/null; then
   11627          lt_prog_compiler_static_works_CXX=yes
   11628        fi
   11629      else
   11630        lt_prog_compiler_static_works_CXX=yes
   11631      fi
   11632    fi
   11633    $rm conftest*
   11634    LDFLAGS="$save_LDFLAGS"
   11635 
   11636 fi
   11637 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   11638 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
   11639 
   11640 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   11641     :
   11642 else
   11643     lt_prog_compiler_static_CXX=
   11644 fi
   11645 
   11646 
   11647 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   11648 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   11649 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   11650   echo $ECHO_N "(cached) $ECHO_C" >&6
   11651 else
   11652   lt_cv_prog_compiler_c_o_CXX=no
   11653    $rm -r conftest 2>/dev/null
   11654    mkdir conftest
   11655    cd conftest
   11656    mkdir out
   11657    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11658 
   11659    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11660    # Insert the option either (1) after the last *FLAGS variable, or
   11661    # (2) before a word containing "conftest.", or (3) at the end.
   11662    # Note that $ac_compile itself does not contain backslashes and begins
   11663    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11664    lt_compile=`echo "$ac_compile" | $SED \
   11665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11667    -e 's:$: $lt_compiler_flag:'`
   11668    (eval echo "\"\$as_me:11668: $lt_compile\"" >&5)
   11669    (eval "$lt_compile" 2>out/conftest.err)
   11670    ac_status=$?
   11671    cat out/conftest.err >&5
   11672    echo "$as_me:11672: \$? = $ac_status" >&5
   11673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11674    then
   11675      # The compiler can only warn and ignore the option if not recognized
   11676      # So say no if there are warnings
   11677      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   11678      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11679      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11680        lt_cv_prog_compiler_c_o_CXX=yes
   11681      fi
   11682    fi
   11683    chmod u+w . 2>&5
   11684    $rm conftest*
   11685    # SGI C++ compiler will create directory out/ii_files/ for
   11686    # template instantiation
   11687    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   11688    $rm out/* && rmdir out
   11689    cd ..
   11690    rmdir conftest
   11691    $rm conftest*
   11692 
   11693 fi
   11694 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   11695 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
   11696 
   11697 
   11698 hard_links="nottested"
   11699 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   11700   # do not overwrite the value of need_locks provided by the user
   11701   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   11702 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   11703   hard_links=yes
   11704   $rm conftest*
   11705   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11706   touch conftest.a
   11707   ln conftest.a conftest.b 2>&5 || hard_links=no
   11708   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11709   echo "$as_me:$LINENO: result: $hard_links" >&5
   11710 echo "${ECHO_T}$hard_links" >&6
   11711   if test "$hard_links" = no; then
   11712     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   11713 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   11714     need_locks=warn
   11715   fi
   11716 else
   11717   need_locks=no
   11718 fi
   11719 
   11720 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11721 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   11722 
   11723   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11724   case $host_os in
   11725   aix4* | aix5*)
   11726     # If we're using GNU nm, then we don't want the "-C" option.
   11727     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   11728     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   11729       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'
   11730     else
   11731       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'
   11732     fi
   11733     ;;
   11734   pw32*)
   11735     export_symbols_cmds_CXX="$ltdll_cmds"
   11736   ;;
   11737   cygwin* | mingw*)
   11738     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'
   11739   ;;
   11740   *)
   11741     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11742   ;;
   11743   esac
   11744 
   11745 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11746 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   11747 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11748 
   11749 #
   11750 # Do we need to explicitly link libc?
   11751 #
   11752 case "x$archive_cmds_need_lc_CXX" in
   11753 x|xyes)
   11754   # Assume -lc should be added
   11755   archive_cmds_need_lc_CXX=yes
   11756 
   11757   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11758     case $archive_cmds_CXX in
   11759     *'~'*)
   11760       # FIXME: we may have to deal with multi-command sequences.
   11761       ;;
   11762     '$CC '*)
   11763       # Test whether the compiler implicitly links with -lc since on some
   11764       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11765       # to ld, don't add -lc before -lgcc.
   11766       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   11767 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   11768       $rm conftest*
   11769       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11770 
   11771       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11772   (eval $ac_compile) 2>&5
   11773   ac_status=$?
   11774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11775   (exit $ac_status); } 2>conftest.err; then
   11776         soname=conftest
   11777         lib=conftest
   11778         libobjs=conftest.$ac_objext
   11779         deplibs=
   11780         wl=$lt_prog_compiler_wl_CXX
   11781 	pic_flag=$lt_prog_compiler_pic_CXX
   11782         compiler_flags=-v
   11783         linker_flags=-v
   11784         verstring=
   11785         output_objdir=.
   11786         libname=conftest
   11787         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   11788         allow_undefined_flag_CXX=
   11789         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   11790   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11791   ac_status=$?
   11792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11793   (exit $ac_status); }
   11794         then
   11795 	  archive_cmds_need_lc_CXX=no
   11796         else
   11797 	  archive_cmds_need_lc_CXX=yes
   11798         fi
   11799         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   11800       else
   11801         cat conftest.err 1>&5
   11802       fi
   11803       $rm conftest*
   11804       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   11805 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
   11806       ;;
   11807     esac
   11808   fi
   11809   ;;
   11810 esac
   11811 
   11812 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   11813 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   11814 library_names_spec=
   11815 libname_spec='lib$name'
   11816 soname_spec=
   11817 shrext_cmds=".so"
   11818 postinstall_cmds=
   11819 postuninstall_cmds=
   11820 finish_cmds=
   11821 finish_eval=
   11822 shlibpath_var=
   11823 shlibpath_overrides_runpath=unknown
   11824 version_type=none
   11825 dynamic_linker="$host_os ld.so"
   11826 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11827 if test "$GCC" = yes; then
   11828   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11829   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   11830     # if the path contains ";" then we assume it to be the separator
   11831     # otherwise default to the standard path separator (i.e. ":") - it is
   11832     # assumed that no part of a normal pathname contains ";" but that should
   11833     # okay in the real world where ";" in dirpaths is itself problematic.
   11834     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11835   else
   11836     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11837   fi
   11838 else
   11839   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11840 fi
   11841 need_lib_prefix=unknown
   11842 hardcode_into_libs=no
   11843 
   11844 # when you set need_version to no, make sure it does not cause -set_version
   11845 # flags to be left without arguments
   11846 need_version=unknown
   11847 
   11848 case $host_os in
   11849 aix3*)
   11850   version_type=linux
   11851   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11852   shlibpath_var=LIBPATH
   11853 
   11854   # AIX 3 has no versioning support, so we append a major version to the name.
   11855   soname_spec='${libname}${release}${shared_ext}$major'
   11856   ;;
   11857 
   11858 aix4* | aix5*)
   11859   version_type=linux
   11860   need_lib_prefix=no
   11861   need_version=no
   11862   hardcode_into_libs=yes
   11863   if test "$host_cpu" = ia64; then
   11864     # AIX 5 supports IA64
   11865     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11866     shlibpath_var=LD_LIBRARY_PATH
   11867   else
   11868     # With GCC up to 2.95.x, collect2 would create an import file
   11869     # for dependence libraries.  The import file would start with
   11870     # the line `#! .'.  This would cause the generated library to
   11871     # depend on `.', always an invalid library.  This was fixed in
   11872     # development snapshots of GCC prior to 3.0.
   11873     case $host_os in
   11874       aix4 | aix4.[01] | aix4.[01].*)
   11875       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11876 	   echo ' yes '
   11877 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   11878 	:
   11879       else
   11880 	can_build_shared=no
   11881       fi
   11882       ;;
   11883     esac
   11884     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11885     # soname into executable. Probably we can add versioning support to
   11886     # collect2, so additional links can be useful in future.
   11887     if test "$aix_use_runtimelinking" = yes; then
   11888       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11889       # instead of lib<name>.a to let people know that these are not
   11890       # typical AIX shared libraries.
   11891       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11892     else
   11893       # We preserve .a as extension for shared libraries through AIX4.2
   11894       # and later when we are not doing run time linking.
   11895       library_names_spec='${libname}${release}.a $libname.a'
   11896       soname_spec='${libname}${release}${shared_ext}$major'
   11897     fi
   11898     shlibpath_var=LIBPATH
   11899   fi
   11900   ;;
   11901 
   11902 amigaos*)
   11903   library_names_spec='$libname.ixlibrary $libname.a'
   11904   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11905   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'
   11906   ;;
   11907 
   11908 beos*)
   11909   library_names_spec='${libname}${shared_ext}'
   11910   dynamic_linker="$host_os ld.so"
   11911   shlibpath_var=LIBRARY_PATH
   11912   ;;
   11913 
   11914 bsdi[45]*)
   11915   version_type=linux
   11916   need_version=no
   11917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11918   soname_spec='${libname}${release}${shared_ext}$major'
   11919   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11920   shlibpath_var=LD_LIBRARY_PATH
   11921   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11922   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11923   # the default ld.so.conf also contains /usr/contrib/lib and
   11924   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11925   # libtool to hard-code these into programs
   11926   ;;
   11927 
   11928 cygwin* | mingw* | pw32*)
   11929   version_type=windows
   11930   shrext_cmds=".dll"
   11931   need_version=no
   11932   need_lib_prefix=no
   11933 
   11934   case $GCC,$host_os in
   11935   yes,cygwin* | yes,mingw* | yes,pw32*)
   11936     library_names_spec='$libname.dll.a'
   11937     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11938     postinstall_cmds='base_file=`basename \${file}`~
   11939       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   11940       dldir=$destdir/`dirname \$dlpath`~
   11941       test -d \$dldir || mkdir -p \$dldir~
   11942       $install_prog $dir/$dlname \$dldir/$dlname~
   11943       chmod a+x \$dldir/$dlname'
   11944     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11945       dlpath=$dir/\$dldll~
   11946        $rm \$dlpath'
   11947     shlibpath_overrides_runpath=yes
   11948 
   11949     case $host_os in
   11950     cygwin*)
   11951       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11952       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11953       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   11954       ;;
   11955     mingw*)
   11956       # MinGW DLLs use traditional 'lib' prefix
   11957       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11958       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11959       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   11960         # It is most probably a Windows format PATH printed by
   11961         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   11962         # path with ; separators, and with drive letters. We can handle the
   11963         # drive letters (cygwin fileutils understands them), so leave them,
   11964         # especially as we might pass files found there to a mingw objdump,
   11965         # which wouldn't understand a cygwinified path. Ahh.
   11966         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11967       else
   11968         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11969       fi
   11970       ;;
   11971     pw32*)
   11972       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11973       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11974       ;;
   11975     esac
   11976     ;;
   11977 
   11978   *)
   11979     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11980     ;;
   11981   esac
   11982   dynamic_linker='Win32 ld.exe'
   11983   # FIXME: first we should search . and the directory the executable is in
   11984   shlibpath_var=PATH
   11985   ;;
   11986 
   11987 darwin* | rhapsody*)
   11988   dynamic_linker="$host_os dyld"
   11989   version_type=darwin
   11990   need_lib_prefix=no
   11991   need_version=no
   11992   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11993   soname_spec='${libname}${release}${major}$shared_ext'
   11994   shlibpath_overrides_runpath=yes
   11995   shlibpath_var=DYLD_LIBRARY_PATH
   11996   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11997   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   11998   if test "$GCC" = yes; then
   11999     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"`
   12000   else
   12001     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12002   fi
   12003   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12004   ;;
   12005 
   12006 dgux*)
   12007   version_type=linux
   12008   need_lib_prefix=no
   12009   need_version=no
   12010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12011   soname_spec='${libname}${release}${shared_ext}$major'
   12012   shlibpath_var=LD_LIBRARY_PATH
   12013   ;;
   12014 
   12015 freebsd1*)
   12016   dynamic_linker=no
   12017   ;;
   12018 
   12019 kfreebsd*-gnu)
   12020   version_type=linux
   12021   need_lib_prefix=no
   12022   need_version=no
   12023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12024   soname_spec='${libname}${release}${shared_ext}$major'
   12025   shlibpath_var=LD_LIBRARY_PATH
   12026   shlibpath_overrides_runpath=no
   12027   hardcode_into_libs=yes
   12028   dynamic_linker='GNU ld.so'
   12029   ;;
   12030 
   12031 freebsd* | dragonfly*)
   12032   # DragonFly does not have aout.  When/if they implement a new
   12033   # versioning mechanism, adjust this.
   12034   if test -x /usr/bin/objformat; then
   12035     objformat=`/usr/bin/objformat`
   12036   else
   12037     case $host_os in
   12038     freebsd[123]*) objformat=aout ;;
   12039     *) objformat=elf ;;
   12040     esac
   12041   fi
   12042   version_type=freebsd-$objformat
   12043   case $version_type in
   12044     freebsd-elf*)
   12045       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12046       need_version=no
   12047       need_lib_prefix=no
   12048       ;;
   12049     freebsd-*)
   12050       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12051       need_version=yes
   12052       ;;
   12053   esac
   12054   shlibpath_var=LD_LIBRARY_PATH
   12055   case $host_os in
   12056   freebsd2*)
   12057     shlibpath_overrides_runpath=yes
   12058     ;;
   12059   freebsd3.[01]* | freebsdelf3.[01]*)
   12060     shlibpath_overrides_runpath=yes
   12061     hardcode_into_libs=yes
   12062     ;;
   12063   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12064   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12065     shlibpath_overrides_runpath=no
   12066     hardcode_into_libs=yes
   12067     ;;
   12068   freebsd*) # from 4.6 on
   12069     shlibpath_overrides_runpath=yes
   12070     hardcode_into_libs=yes
   12071     ;;
   12072   esac
   12073   ;;
   12074 
   12075 gnu*)
   12076   version_type=linux
   12077   need_lib_prefix=no
   12078   need_version=no
   12079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12080   soname_spec='${libname}${release}${shared_ext}$major'
   12081   shlibpath_var=LD_LIBRARY_PATH
   12082   hardcode_into_libs=yes
   12083   ;;
   12084 
   12085 hpux9* | hpux10* | hpux11*)
   12086   # Give a soname corresponding to the major version so that dld.sl refuses to
   12087   # link against other versions.
   12088   version_type=sunos
   12089   need_lib_prefix=no
   12090   need_version=no
   12091   case $host_cpu in
   12092   ia64*)
   12093     shrext_cmds='.so'
   12094     hardcode_into_libs=yes
   12095     dynamic_linker="$host_os dld.so"
   12096     shlibpath_var=LD_LIBRARY_PATH
   12097     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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     if test "X$HPUX_IA64_MODE" = X32; then
   12101       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12102     else
   12103       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12104     fi
   12105     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12106     ;;
   12107    hppa*64*)
   12108      shrext_cmds='.sl'
   12109      hardcode_into_libs=yes
   12110      dynamic_linker="$host_os dld.sl"
   12111      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12112      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12113      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12114      soname_spec='${libname}${release}${shared_ext}$major'
   12115      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12116      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12117      ;;
   12118    *)
   12119     shrext_cmds='.sl'
   12120     dynamic_linker="$host_os dld.sl"
   12121     shlibpath_var=SHLIB_PATH
   12122     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12123     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12124     soname_spec='${libname}${release}${shared_ext}$major'
   12125     ;;
   12126   esac
   12127   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12128   postinstall_cmds='chmod 555 $lib'
   12129   ;;
   12130 
   12131 interix3*)
   12132   version_type=linux
   12133   need_lib_prefix=no
   12134   need_version=no
   12135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12136   soname_spec='${libname}${release}${shared_ext}$major'
   12137   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12138   shlibpath_var=LD_LIBRARY_PATH
   12139   shlibpath_overrides_runpath=no
   12140   hardcode_into_libs=yes
   12141   ;;
   12142 
   12143 irix5* | irix6* | nonstopux*)
   12144   case $host_os in
   12145     nonstopux*) version_type=nonstopux ;;
   12146     *)
   12147 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12148 		version_type=linux
   12149 	else
   12150 		version_type=irix
   12151 	fi ;;
   12152   esac
   12153   need_lib_prefix=no
   12154   need_version=no
   12155   soname_spec='${libname}${release}${shared_ext}$major'
   12156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12157   case $host_os in
   12158   irix5* | nonstopux*)
   12159     libsuff= shlibsuff=
   12160     ;;
   12161   *)
   12162     case $LD in # libtool.m4 will add one of these switches to LD
   12163     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12164       libsuff= shlibsuff= libmagic=32-bit;;
   12165     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12166       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12167     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12168       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12169     *) libsuff= shlibsuff= libmagic=never-match;;
   12170     esac
   12171     ;;
   12172   esac
   12173   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12174   shlibpath_overrides_runpath=no
   12175   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12176   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12177   hardcode_into_libs=yes
   12178   ;;
   12179 
   12180 # No shared lib support for Linux oldld, aout, or coff.
   12181 linux*oldld* | linux*aout* | linux*coff*)
   12182   dynamic_linker=no
   12183   ;;
   12184 
   12185 # This must be Linux ELF.
   12186 linux*)
   12187   version_type=linux
   12188   need_lib_prefix=no
   12189   need_version=no
   12190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12191   soname_spec='${libname}${release}${shared_ext}$major'
   12192   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12193   shlibpath_var=LD_LIBRARY_PATH
   12194   shlibpath_overrides_runpath=no
   12195   # This implies no fast_install, which is unacceptable.
   12196   # Some rework will be needed to allow for fast_install
   12197   # before this can be enabled.
   12198   hardcode_into_libs=yes
   12199 
   12200   # find out which ABI we are using
   12201   libsuff=
   12202   case "$host_cpu" in
   12203   x86_64*|s390x*|powerpc64*)
   12204     echo '#line 12204 "configure"' > conftest.$ac_ext
   12205     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12206   (eval $ac_compile) 2>&5
   12207   ac_status=$?
   12208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12209   (exit $ac_status); }; then
   12210       case `/usr/bin/file conftest.$ac_objext` in
   12211       *64-bit*)
   12212         libsuff=64
   12213         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   12214         ;;
   12215       esac
   12216     fi
   12217     rm -rf conftest*
   12218     ;;
   12219   esac
   12220 
   12221   # Append ld.so.conf contents to the search path
   12222   if test -f /etc/ld.so.conf; then
   12223     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12224     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   12225   fi
   12226 
   12227   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12228   # powerpc, because MkLinux only supported shared libraries with the
   12229   # GNU dynamic linker.  Since this was broken with cross compilers,
   12230   # most powerpc-linux boxes support dynamic linking these days and
   12231   # people can always --disable-shared, the test was removed, and we
   12232   # assume the GNU/Linux dynamic linker is in use.
   12233   dynamic_linker='GNU/Linux ld.so'
   12234   ;;
   12235 
   12236 knetbsd*-gnu)
   12237   version_type=linux
   12238   need_lib_prefix=no
   12239   need_version=no
   12240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12241   soname_spec='${libname}${release}${shared_ext}$major'
   12242   shlibpath_var=LD_LIBRARY_PATH
   12243   shlibpath_overrides_runpath=no
   12244   hardcode_into_libs=yes
   12245   dynamic_linker='GNU ld.so'
   12246   ;;
   12247 
   12248 netbsd*)
   12249   version_type=sunos
   12250   need_lib_prefix=no
   12251   need_version=no
   12252   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12254     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12255     dynamic_linker='NetBSD (a.out) ld.so'
   12256   else
   12257     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12258     soname_spec='${libname}${release}${shared_ext}$major'
   12259     dynamic_linker='NetBSD ld.elf_so'
   12260   fi
   12261   shlibpath_var=LD_LIBRARY_PATH
   12262   shlibpath_overrides_runpath=yes
   12263   hardcode_into_libs=yes
   12264   ;;
   12265 
   12266 newsos6)
   12267   version_type=linux
   12268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12269   shlibpath_var=LD_LIBRARY_PATH
   12270   shlibpath_overrides_runpath=yes
   12271   ;;
   12272 
   12273 nto-qnx*)
   12274   version_type=linux
   12275   need_lib_prefix=no
   12276   need_version=no
   12277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12278   soname_spec='${libname}${release}${shared_ext}$major'
   12279   shlibpath_var=LD_LIBRARY_PATH
   12280   shlibpath_overrides_runpath=yes
   12281   ;;
   12282 
   12283 openbsd*)
   12284   version_type=sunos
   12285   sys_lib_dlsearch_path_spec="/usr/lib"
   12286   need_lib_prefix=no
   12287   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12288   case $host_os in
   12289     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12290     *)                         need_version=no  ;;
   12291   esac
   12292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12293   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12294   shlibpath_var=LD_LIBRARY_PATH
   12295   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12296     case $host_os in
   12297       openbsd2.[89] | openbsd2.[89].*)
   12298 	shlibpath_overrides_runpath=no
   12299 	;;
   12300       *)
   12301 	shlibpath_overrides_runpath=yes
   12302 	;;
   12303       esac
   12304   else
   12305     shlibpath_overrides_runpath=yes
   12306   fi
   12307   ;;
   12308 
   12309 os2*)
   12310   libname_spec='$name'
   12311   shrext_cmds=".dll"
   12312   need_lib_prefix=no
   12313   library_names_spec='$libname${shared_ext} $libname.a'
   12314   dynamic_linker='OS/2 ld.exe'
   12315   shlibpath_var=LIBPATH
   12316   ;;
   12317 
   12318 osf3* | osf4* | osf5*)
   12319   version_type=osf
   12320   need_lib_prefix=no
   12321   need_version=no
   12322   soname_spec='${libname}${release}${shared_ext}$major'
   12323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12324   shlibpath_var=LD_LIBRARY_PATH
   12325   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12326   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12327   ;;
   12328 
   12329 solaris*)
   12330   version_type=linux
   12331   need_lib_prefix=no
   12332   need_version=no
   12333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12334   soname_spec='${libname}${release}${shared_ext}$major'
   12335   shlibpath_var=LD_LIBRARY_PATH
   12336   shlibpath_overrides_runpath=yes
   12337   hardcode_into_libs=yes
   12338   # ldd complains unless libraries are executable
   12339   postinstall_cmds='chmod +x $lib'
   12340   ;;
   12341 
   12342 sunos4*)
   12343   version_type=sunos
   12344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12345   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12346   shlibpath_var=LD_LIBRARY_PATH
   12347   shlibpath_overrides_runpath=yes
   12348   if test "$with_gnu_ld" = yes; then
   12349     need_lib_prefix=no
   12350   fi
   12351   need_version=yes
   12352   ;;
   12353 
   12354 sysv4 | sysv4.3*)
   12355   version_type=linux
   12356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12357   soname_spec='${libname}${release}${shared_ext}$major'
   12358   shlibpath_var=LD_LIBRARY_PATH
   12359   case $host_vendor in
   12360     sni)
   12361       shlibpath_overrides_runpath=no
   12362       need_lib_prefix=no
   12363       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12364       runpath_var=LD_RUN_PATH
   12365       ;;
   12366     siemens)
   12367       need_lib_prefix=no
   12368       ;;
   12369     motorola)
   12370       need_lib_prefix=no
   12371       need_version=no
   12372       shlibpath_overrides_runpath=no
   12373       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12374       ;;
   12375   esac
   12376   ;;
   12377 
   12378 sysv4*MP*)
   12379   if test -d /usr/nec ;then
   12380     version_type=linux
   12381     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12382     soname_spec='$libname${shared_ext}.$major'
   12383     shlibpath_var=LD_LIBRARY_PATH
   12384   fi
   12385   ;;
   12386 
   12387 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12388   version_type=freebsd-elf
   12389   need_lib_prefix=no
   12390   need_version=no
   12391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12392   soname_spec='${libname}${release}${shared_ext}$major'
   12393   shlibpath_var=LD_LIBRARY_PATH
   12394   hardcode_into_libs=yes
   12395   if test "$with_gnu_ld" = yes; then
   12396     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12397     shlibpath_overrides_runpath=no
   12398   else
   12399     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12400     shlibpath_overrides_runpath=yes
   12401     case $host_os in
   12402       sco3.2v5*)
   12403         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12404 	;;
   12405     esac
   12406   fi
   12407   sys_lib_dlsearch_path_spec='/usr/lib'
   12408   ;;
   12409 
   12410 uts4*)
   12411   version_type=linux
   12412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12413   soname_spec='${libname}${release}${shared_ext}$major'
   12414   shlibpath_var=LD_LIBRARY_PATH
   12415   ;;
   12416 
   12417 *)
   12418   dynamic_linker=no
   12419   ;;
   12420 esac
   12421 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   12422 echo "${ECHO_T}$dynamic_linker" >&6
   12423 test "$dynamic_linker" = no && can_build_shared=no
   12424 
   12425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12426 if test "$GCC" = yes; then
   12427   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12428 fi
   12429 
   12430 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   12431 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   12432 hardcode_action_CXX=
   12433 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   12434    test -n "$runpath_var_CXX" || \
   12435    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   12436 
   12437   # We can hardcode non-existant directories.
   12438   if test "$hardcode_direct_CXX" != no &&
   12439      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12440      # have to relink, otherwise we might link with an installed library
   12441      # when we should be linking with a yet-to-be-installed one
   12442      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   12443      test "$hardcode_minus_L_CXX" != no; then
   12444     # Linking always hardcodes the temporary library directory.
   12445     hardcode_action_CXX=relink
   12446   else
   12447     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12448     hardcode_action_CXX=immediate
   12449   fi
   12450 else
   12451   # We cannot hardcode anything, or else we can only hardcode existing
   12452   # directories.
   12453   hardcode_action_CXX=unsupported
   12454 fi
   12455 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   12456 echo "${ECHO_T}$hardcode_action_CXX" >&6
   12457 
   12458 if test "$hardcode_action_CXX" = relink; then
   12459   # Fast installation is not supported
   12460   enable_fast_install=no
   12461 elif test "$shlibpath_overrides_runpath" = yes ||
   12462      test "$enable_shared" = no; then
   12463   # Fast installation is not necessary
   12464   enable_fast_install=needless
   12465 fi
   12466 
   12467 
   12468 # The else clause should only fire when bootstrapping the
   12469 # libtool distribution, otherwise you forgot to ship ltmain.sh
   12470 # with your package, and you will get complaints that there are
   12471 # no rules to generate ltmain.sh.
   12472 if test -f "$ltmain"; then
   12473   # See if we are running on zsh, and set the options which allow our commands through
   12474   # without removal of \ escapes.
   12475   if test -n "${ZSH_VERSION+set}" ; then
   12476     setopt NO_GLOB_SUBST
   12477   fi
   12478   # Now quote all the things that may contain metacharacters while being
   12479   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   12480   # variables and quote the copies for generation of the libtool script.
   12481   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   12482     SED SHELL STRIP \
   12483     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   12484     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   12485     deplibs_check_method reload_flag reload_cmds need_locks \
   12486     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   12487     lt_cv_sys_global_symbol_to_c_name_address \
   12488     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   12489     old_postinstall_cmds old_postuninstall_cmds \
   12490     compiler_CXX \
   12491     CC_CXX \
   12492     LD_CXX \
   12493     lt_prog_compiler_wl_CXX \
   12494     lt_prog_compiler_pic_CXX \
   12495     lt_prog_compiler_static_CXX \
   12496     lt_prog_compiler_no_builtin_flag_CXX \
   12497     export_dynamic_flag_spec_CXX \
   12498     thread_safe_flag_spec_CXX \
   12499     whole_archive_flag_spec_CXX \
   12500     enable_shared_with_static_runtimes_CXX \
   12501     old_archive_cmds_CXX \
   12502     old_archive_from_new_cmds_CXX \
   12503     predep_objects_CXX \
   12504     postdep_objects_CXX \
   12505     predeps_CXX \
   12506     postdeps_CXX \
   12507     compiler_lib_search_path_CXX \
   12508     archive_cmds_CXX \
   12509     archive_expsym_cmds_CXX \
   12510     postinstall_cmds_CXX \
   12511     postuninstall_cmds_CXX \
   12512     old_archive_from_expsyms_cmds_CXX \
   12513     allow_undefined_flag_CXX \
   12514     no_undefined_flag_CXX \
   12515     export_symbols_cmds_CXX \
   12516     hardcode_libdir_flag_spec_CXX \
   12517     hardcode_libdir_flag_spec_ld_CXX \
   12518     hardcode_libdir_separator_CXX \
   12519     hardcode_automatic_CXX \
   12520     module_cmds_CXX \
   12521     module_expsym_cmds_CXX \
   12522     lt_cv_prog_compiler_c_o_CXX \
   12523     exclude_expsyms_CXX \
   12524     include_expsyms_CXX; do
   12525 
   12526     case $var in
   12527     old_archive_cmds_CXX | \
   12528     old_archive_from_new_cmds_CXX | \
   12529     archive_cmds_CXX | \
   12530     archive_expsym_cmds_CXX | \
   12531     module_cmds_CXX | \
   12532     module_expsym_cmds_CXX | \
   12533     old_archive_from_expsyms_cmds_CXX | \
   12534     export_symbols_cmds_CXX | \
   12535     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   12536     postinstall_cmds | postuninstall_cmds | \
   12537     old_postinstall_cmds | old_postuninstall_cmds | \
   12538     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   12539       # Double-quote double-evaled strings.
   12540       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   12541       ;;
   12542     *)
   12543       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   12544       ;;
   12545     esac
   12546   done
   12547 
   12548   case $lt_echo in
   12549   *'\$0 --fallback-echo"')
   12550     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   12551     ;;
   12552   esac
   12553 
   12554 cfgfile="$ofile"
   12555 
   12556   cat <<__EOF__ >> "$cfgfile"
   12557 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   12558 
   12559 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   12560 
   12561 # Shell to use when invoking shell scripts.
   12562 SHELL=$lt_SHELL
   12563 
   12564 # Whether or not to build shared libraries.
   12565 build_libtool_libs=$enable_shared
   12566 
   12567 # Whether or not to build static libraries.
   12568 build_old_libs=$enable_static
   12569 
   12570 # Whether or not to add -lc for building shared libraries.
   12571 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   12572 
   12573 # Whether or not to disallow shared libs when runtime libs are static
   12574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   12575 
   12576 # Whether or not to optimize for fast installation.
   12577 fast_install=$enable_fast_install
   12578 
   12579 # The host system.
   12580 host_alias=$host_alias
   12581 host=$host
   12582 host_os=$host_os
   12583 
   12584 # The build system.
   12585 build_alias=$build_alias
   12586 build=$build
   12587 build_os=$build_os
   12588 
   12589 # An echo program that does not interpret backslashes.
   12590 echo=$lt_echo
   12591 
   12592 # The archiver.
   12593 AR=$lt_AR
   12594 AR_FLAGS=$lt_AR_FLAGS
   12595 
   12596 # A C compiler.
   12597 LTCC=$lt_LTCC
   12598 
   12599 # LTCC compiler flags.
   12600 LTCFLAGS=$lt_LTCFLAGS
   12601 
   12602 # A language-specific compiler.
   12603 CC=$lt_compiler_CXX
   12604 
   12605 # Is the compiler the GNU C compiler?
   12606 with_gcc=$GCC_CXX
   12607 
   12608 # An ERE matcher.
   12609 EGREP=$lt_EGREP
   12610 
   12611 # The linker used to build libraries.
   12612 LD=$lt_LD_CXX
   12613 
   12614 # Whether we need hard or soft links.
   12615 LN_S=$lt_LN_S
   12616 
   12617 # A BSD-compatible nm program.
   12618 NM=$lt_NM
   12619 
   12620 # A symbol stripping program
   12621 STRIP=$lt_STRIP
   12622 
   12623 # Used to examine libraries when file_magic_cmd begins "file"
   12624 MAGIC_CMD=$MAGIC_CMD
   12625 
   12626 # Used on cygwin: DLL creation program.
   12627 DLLTOOL="$DLLTOOL"
   12628 
   12629 # Used on cygwin: object dumper.
   12630 OBJDUMP="$OBJDUMP"
   12631 
   12632 # Used on cygwin: assembler.
   12633 AS="$AS"
   12634 
   12635 # The name of the directory that contains temporary libtool files.
   12636 objdir=$objdir
   12637 
   12638 # How to create reloadable object files.
   12639 reload_flag=$lt_reload_flag
   12640 reload_cmds=$lt_reload_cmds
   12641 
   12642 # How to pass a linker flag through the compiler.
   12643 wl=$lt_lt_prog_compiler_wl_CXX
   12644 
   12645 # Object file suffix (normally "o").
   12646 objext="$ac_objext"
   12647 
   12648 # Old archive suffix (normally "a").
   12649 libext="$libext"
   12650 
   12651 # Shared library suffix (normally ".so").
   12652 shrext_cmds='$shrext_cmds'
   12653 
   12654 # Executable file suffix (normally "").
   12655 exeext="$exeext"
   12656 
   12657 # Additional compiler flags for building library objects.
   12658 pic_flag=$lt_lt_prog_compiler_pic_CXX
   12659 pic_mode=$pic_mode
   12660 
   12661 # What is the maximum length of a command?
   12662 max_cmd_len=$lt_cv_sys_max_cmd_len
   12663 
   12664 # Does compiler simultaneously support -c and -o options?
   12665 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   12666 
   12667 # Must we lock files when doing compilation?
   12668 need_locks=$lt_need_locks
   12669 
   12670 # Do we need the lib prefix for modules?
   12671 need_lib_prefix=$need_lib_prefix
   12672 
   12673 # Do we need a version for libraries?
   12674 need_version=$need_version
   12675 
   12676 # Whether dlopen is supported.
   12677 dlopen_support=$enable_dlopen
   12678 
   12679 # Whether dlopen of programs is supported.
   12680 dlopen_self=$enable_dlopen_self
   12681 
   12682 # Whether dlopen of statically linked programs is supported.
   12683 dlopen_self_static=$enable_dlopen_self_static
   12684 
   12685 # Compiler flag to prevent dynamic linking.
   12686 link_static_flag=$lt_lt_prog_compiler_static_CXX
   12687 
   12688 # Compiler flag to turn off builtin functions.
   12689 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   12690 
   12691 # Compiler flag to allow reflexive dlopens.
   12692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   12693 
   12694 # Compiler flag to generate shared objects directly from archives.
   12695 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   12696 
   12697 # Compiler flag to generate thread-safe objects.
   12698 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   12699 
   12700 # Library versioning type.
   12701 version_type=$version_type
   12702 
   12703 # Format of library name prefix.
   12704 libname_spec=$lt_libname_spec
   12705 
   12706 # List of archive names.  First name is the real one, the rest are links.
   12707 # The last name is the one that the linker finds with -lNAME.
   12708 library_names_spec=$lt_library_names_spec
   12709 
   12710 # The coded name of the library, if different from the real name.
   12711 soname_spec=$lt_soname_spec
   12712 
   12713 # Commands used to build and install an old-style archive.
   12714 RANLIB=$lt_RANLIB
   12715 old_archive_cmds=$lt_old_archive_cmds_CXX
   12716 old_postinstall_cmds=$lt_old_postinstall_cmds
   12717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   12718 
   12719 # Create an old-style archive from a shared archive.
   12720 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   12721 
   12722 # Create a temporary old-style archive to link instead of a shared archive.
   12723 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   12724 
   12725 # Commands used to build and install a shared archive.
   12726 archive_cmds=$lt_archive_cmds_CXX
   12727 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   12728 postinstall_cmds=$lt_postinstall_cmds
   12729 postuninstall_cmds=$lt_postuninstall_cmds
   12730 
   12731 # Commands used to build a loadable module (assumed same as above if empty)
   12732 module_cmds=$lt_module_cmds_CXX
   12733 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   12734 
   12735 # Commands to strip libraries.
   12736 old_striplib=$lt_old_striplib
   12737 striplib=$lt_striplib
   12738 
   12739 # Dependencies to place before the objects being linked to create a
   12740 # shared library.
   12741 predep_objects=$lt_predep_objects_CXX
   12742 
   12743 # Dependencies to place after the objects being linked to create a
   12744 # shared library.
   12745 postdep_objects=$lt_postdep_objects_CXX
   12746 
   12747 # Dependencies to place before the objects being linked to create a
   12748 # shared library.
   12749 predeps=$lt_predeps_CXX
   12750 
   12751 # Dependencies to place after the objects being linked to create a
   12752 # shared library.
   12753 postdeps=$lt_postdeps_CXX
   12754 
   12755 # The library search path used internally by the compiler when linking
   12756 # a shared library.
   12757 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   12758 
   12759 # Method to check whether dependent libraries are shared objects.
   12760 deplibs_check_method=$lt_deplibs_check_method
   12761 
   12762 # Command to use when deplibs_check_method == file_magic.
   12763 file_magic_cmd=$lt_file_magic_cmd
   12764 
   12765 # Flag that allows shared libraries with undefined symbols to be built.
   12766 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   12767 
   12768 # Flag that forces no undefined symbols.
   12769 no_undefined_flag=$lt_no_undefined_flag_CXX
   12770 
   12771 # Commands used to finish a libtool library installation in a directory.
   12772 finish_cmds=$lt_finish_cmds
   12773 
   12774 # Same as above, but a single script fragment to be evaled but not shown.
   12775 finish_eval=$lt_finish_eval
   12776 
   12777 # Take the output of nm and produce a listing of raw symbols and C names.
   12778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   12779 
   12780 # Transform the output of nm in a proper C declaration
   12781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   12782 
   12783 # Transform the output of nm in a C name address pair
   12784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   12785 
   12786 # This is the shared library runtime path variable.
   12787 runpath_var=$runpath_var
   12788 
   12789 # This is the shared library path variable.
   12790 shlibpath_var=$shlibpath_var
   12791 
   12792 # Is shlibpath searched before the hard-coded library search path?
   12793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   12794 
   12795 # How to hardcode a shared library path into an executable.
   12796 hardcode_action=$hardcode_action_CXX
   12797 
   12798 # Whether we should hardcode library paths into libraries.
   12799 hardcode_into_libs=$hardcode_into_libs
   12800 
   12801 # Flag to hardcode \$libdir into a binary during linking.
   12802 # This must work even if \$libdir does not exist.
   12803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   12804 
   12805 # If ld is used when linking, flag to hardcode \$libdir into
   12806 # a binary during linking. This must work even if \$libdir does
   12807 # not exist.
   12808 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   12809 
   12810 # Whether we need a single -rpath flag with a separated argument.
   12811 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   12812 
   12813 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   12814 # resulting binary.
   12815 hardcode_direct=$hardcode_direct_CXX
   12816 
   12817 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   12818 # resulting binary.
   12819 hardcode_minus_L=$hardcode_minus_L_CXX
   12820 
   12821 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   12822 # the resulting binary.
   12823 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   12824 
   12825 # Set to yes if building a shared library automatically hardcodes DIR into the library
   12826 # and all subsequent libraries and executables linked against it.
   12827 hardcode_automatic=$hardcode_automatic_CXX
   12828 
   12829 # Variables whose values should be saved in libtool wrapper scripts and
   12830 # restored at relink time.
   12831 variables_saved_for_relink="$variables_saved_for_relink"
   12832 
   12833 # Whether libtool must link a program against all its dependency libraries.
   12834 link_all_deplibs=$link_all_deplibs_CXX
   12835 
   12836 # Compile-time system search path for libraries
   12837 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   12838 
   12839 # Run-time system search path for libraries
   12840 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   12841 
   12842 # Fix the shell variable \$srcfile for the compiler.
   12843 fix_srcfile_path="$fix_srcfile_path_CXX"
   12844 
   12845 # Set to yes if exported symbols are required.
   12846 always_export_symbols=$always_export_symbols_CXX
   12847 
   12848 # The commands to list exported symbols.
   12849 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   12850 
   12851 # The commands to extract the exported symbol list from a shared archive.
   12852 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   12853 
   12854 # Symbols that should not be listed in the preloaded symbols.
   12855 exclude_expsyms=$lt_exclude_expsyms_CXX
   12856 
   12857 # Symbols that must always be exported.
   12858 include_expsyms=$lt_include_expsyms_CXX
   12859 
   12860 # ### END LIBTOOL TAG CONFIG: $tagname
   12861 
   12862 __EOF__
   12863 
   12864 
   12865 else
   12866   # If there is no Makefile yet, we rely on a make rule to execute
   12867   # `config.status --recheck' to rerun these tests and create the
   12868   # libtool script then.
   12869   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   12870   if test -f "$ltmain_in"; then
   12871     test -f Makefile && make "$ltmain"
   12872   fi
   12873 fi
   12874 
   12875 
   12876 ac_ext=c
   12877 ac_cpp='$CPP $CPPFLAGS'
   12878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12881 
   12882 CC=$lt_save_CC
   12883 LDCXX=$LD
   12884 LD=$lt_save_LD
   12885 GCC=$lt_save_GCC
   12886 with_gnu_ldcxx=$with_gnu_ld
   12887 with_gnu_ld=$lt_save_with_gnu_ld
   12888 lt_cv_path_LDCXX=$lt_cv_path_LD
   12889 lt_cv_path_LD=$lt_save_path_LD
   12890 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   12891 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   12892 
   12893 	else
   12894 	  tagname=""
   12895 	fi
   12896 	;;
   12897 
   12898       F77)
   12899 	if test -n "$F77" && test "X$F77" != "Xno"; then
   12900 
   12901 ac_ext=f
   12902 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   12903 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12904 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   12905 
   12906 
   12907 archive_cmds_need_lc_F77=no
   12908 allow_undefined_flag_F77=
   12909 always_export_symbols_F77=no
   12910 archive_expsym_cmds_F77=
   12911 export_dynamic_flag_spec_F77=
   12912 hardcode_direct_F77=no
   12913 hardcode_libdir_flag_spec_F77=
   12914 hardcode_libdir_flag_spec_ld_F77=
   12915 hardcode_libdir_separator_F77=
   12916 hardcode_minus_L_F77=no
   12917 hardcode_automatic_F77=no
   12918 module_cmds_F77=
   12919 module_expsym_cmds_F77=
   12920 link_all_deplibs_F77=unknown
   12921 old_archive_cmds_F77=$old_archive_cmds
   12922 no_undefined_flag_F77=
   12923 whole_archive_flag_spec_F77=
   12924 enable_shared_with_static_runtimes_F77=no
   12925 
   12926 # Source file extension for f77 test sources.
   12927 ac_ext=f
   12928 
   12929 # Object file extension for compiled f77 test sources.
   12930 objext=o
   12931 objext_F77=$objext
   12932 
   12933 # Code to be used in simple compile tests
   12934 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   12935 
   12936 # Code to be used in simple link tests
   12937 lt_simple_link_test_code="      program t\n      end\n"
   12938 
   12939 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12940 
   12941 # If no C compiler was specified, use CC.
   12942 LTCC=${LTCC-"$CC"}
   12943 
   12944 # If no C compiler flags were specified, use CFLAGS.
   12945 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12946 
   12947 # Allow CC to be a program name with arguments.
   12948 compiler=$CC
   12949 
   12950 
   12951 # save warnings/boilerplate of simple test code
   12952 ac_outfile=conftest.$ac_objext
   12953 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   12954 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12955 _lt_compiler_boilerplate=`cat conftest.err`
   12956 $rm conftest*
   12957 
   12958 ac_outfile=conftest.$ac_objext
   12959 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   12960 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12961 _lt_linker_boilerplate=`cat conftest.err`
   12962 $rm conftest*
   12963 
   12964 
   12965 # Allow CC to be a program name with arguments.
   12966 lt_save_CC="$CC"
   12967 CC=${F77-"f77"}
   12968 compiler=$CC
   12969 compiler_F77=$CC
   12970 for cc_temp in $compiler""; do
   12971   case $cc_temp in
   12972     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12973     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12974     \-*) ;;
   12975     *) break;;
   12976   esac
   12977 done
   12978 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   12979 
   12980 
   12981 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   12982 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   12983 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   12984 echo "${ECHO_T}$can_build_shared" >&6
   12985 
   12986 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   12987 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   12988 test "$can_build_shared" = "no" && enable_shared=no
   12989 
   12990 # On AIX, shared libraries and static libraries use the same namespace, and
   12991 # are all built from PIC.
   12992 case $host_os in
   12993 aix3*)
   12994   test "$enable_shared" = yes && enable_static=no
   12995   if test -n "$RANLIB"; then
   12996     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12997     postinstall_cmds='$RANLIB $lib'
   12998   fi
   12999   ;;
   13000 aix4* | aix5*)
   13001   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13002     test "$enable_shared" = yes && enable_static=no
   13003   fi
   13004   ;;
   13005 esac
   13006 echo "$as_me:$LINENO: result: $enable_shared" >&5
   13007 echo "${ECHO_T}$enable_shared" >&6
   13008 
   13009 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13010 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   13011 # Make sure either enable_shared or enable_static is yes.
   13012 test "$enable_shared" = yes || enable_static=yes
   13013 echo "$as_me:$LINENO: result: $enable_static" >&5
   13014 echo "${ECHO_T}$enable_static" >&6
   13015 
   13016 GCC_F77="$G77"
   13017 LD_F77="$LD"
   13018 
   13019 lt_prog_compiler_wl_F77=
   13020 lt_prog_compiler_pic_F77=
   13021 lt_prog_compiler_static_F77=
   13022 
   13023 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   13025 
   13026   if test "$GCC" = yes; then
   13027     lt_prog_compiler_wl_F77='-Wl,'
   13028     lt_prog_compiler_static_F77='-static'
   13029 
   13030     case $host_os in
   13031       aix*)
   13032       # All AIX code is PIC.
   13033       if test "$host_cpu" = ia64; then
   13034 	# AIX 5 now supports IA64 processor
   13035 	lt_prog_compiler_static_F77='-Bstatic'
   13036       fi
   13037       ;;
   13038 
   13039     amigaos*)
   13040       # FIXME: we need at least 68020 code to build shared libraries, but
   13041       # adding the `-m68020' flag to GCC prevents building anything better,
   13042       # like `-m68040'.
   13043       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13044       ;;
   13045 
   13046     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13047       # PIC is the default for these OSes.
   13048       ;;
   13049 
   13050     mingw* | pw32* | os2*)
   13051       # This hack is so that the source file can tell whether it is being
   13052       # built for inclusion in a dll (and should export symbols for example).
   13053       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13054       ;;
   13055 
   13056     darwin* | rhapsody*)
   13057       # PIC is the default on this platform
   13058       # Common symbols not allowed in MH_DYLIB files
   13059       lt_prog_compiler_pic_F77='-fno-common'
   13060       ;;
   13061 
   13062     interix3*)
   13063       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13064       # Instead, we relocate shared libraries at runtime.
   13065       ;;
   13066 
   13067     msdosdjgpp*)
   13068       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13069       # on systems that don't support them.
   13070       lt_prog_compiler_can_build_shared_F77=no
   13071       enable_shared=no
   13072       ;;
   13073 
   13074     sysv4*MP*)
   13075       if test -d /usr/nec; then
   13076 	lt_prog_compiler_pic_F77=-Kconform_pic
   13077       fi
   13078       ;;
   13079 
   13080     hpux*)
   13081       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13082       # not for PA HP-UX.
   13083       case $host_cpu in
   13084       hppa*64*|ia64*)
   13085 	# +Z the default
   13086 	;;
   13087       *)
   13088 	lt_prog_compiler_pic_F77='-fPIC'
   13089 	;;
   13090       esac
   13091       ;;
   13092 
   13093     *)
   13094       lt_prog_compiler_pic_F77='-fPIC'
   13095       ;;
   13096     esac
   13097   else
   13098     # PORTME Check for flag to pass linker flags through the system compiler.
   13099     case $host_os in
   13100     aix*)
   13101       lt_prog_compiler_wl_F77='-Wl,'
   13102       if test "$host_cpu" = ia64; then
   13103 	# AIX 5 now supports IA64 processor
   13104 	lt_prog_compiler_static_F77='-Bstatic'
   13105       else
   13106 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13107       fi
   13108       ;;
   13109       darwin*)
   13110         # PIC is the default on this platform
   13111         # Common symbols not allowed in MH_DYLIB files
   13112        case $cc_basename in
   13113          xlc*)
   13114          lt_prog_compiler_pic_F77='-qnocommon'
   13115          lt_prog_compiler_wl_F77='-Wl,'
   13116          ;;
   13117        esac
   13118        ;;
   13119 
   13120     mingw* | pw32* | os2*)
   13121       # This hack is so that the source file can tell whether it is being
   13122       # built for inclusion in a dll (and should export symbols for example).
   13123       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13124       ;;
   13125 
   13126     hpux9* | hpux10* | hpux11*)
   13127       lt_prog_compiler_wl_F77='-Wl,'
   13128       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13129       # not for PA HP-UX.
   13130       case $host_cpu in
   13131       hppa*64*|ia64*)
   13132 	# +Z the default
   13133 	;;
   13134       *)
   13135 	lt_prog_compiler_pic_F77='+Z'
   13136 	;;
   13137       esac
   13138       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13139       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13140       ;;
   13141 
   13142     irix5* | irix6* | nonstopux*)
   13143       lt_prog_compiler_wl_F77='-Wl,'
   13144       # PIC (with -KPIC) is the default.
   13145       lt_prog_compiler_static_F77='-non_shared'
   13146       ;;
   13147 
   13148     newsos6)
   13149       lt_prog_compiler_pic_F77='-KPIC'
   13150       lt_prog_compiler_static_F77='-Bstatic'
   13151       ;;
   13152 
   13153     linux*)
   13154       case $cc_basename in
   13155       icc* | ecc*)
   13156 	lt_prog_compiler_wl_F77='-Wl,'
   13157 	lt_prog_compiler_pic_F77='-KPIC'
   13158 	lt_prog_compiler_static_F77='-static'
   13159         ;;
   13160       pgcc* | pgf77* | pgf90* | pgf95*)
   13161         # Portland Group compilers (*not* the Pentium gcc compiler,
   13162 	# which looks to be a dead project)
   13163 	lt_prog_compiler_wl_F77='-Wl,'
   13164 	lt_prog_compiler_pic_F77='-fpic'
   13165 	lt_prog_compiler_static_F77='-Bstatic'
   13166         ;;
   13167       ccc*)
   13168         lt_prog_compiler_wl_F77='-Wl,'
   13169         # All Alpha code is PIC.
   13170         lt_prog_compiler_static_F77='-non_shared'
   13171         ;;
   13172       esac
   13173       ;;
   13174 
   13175     osf3* | osf4* | osf5*)
   13176       lt_prog_compiler_wl_F77='-Wl,'
   13177       # All OSF/1 code is PIC.
   13178       lt_prog_compiler_static_F77='-non_shared'
   13179       ;;
   13180 
   13181     solaris*)
   13182       lt_prog_compiler_pic_F77='-KPIC'
   13183       lt_prog_compiler_static_F77='-Bstatic'
   13184       case $cc_basename in
   13185       f77* | f90* | f95*)
   13186 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13187       *)
   13188 	lt_prog_compiler_wl_F77='-Wl,';;
   13189       esac
   13190       ;;
   13191 
   13192     sunos4*)
   13193       lt_prog_compiler_wl_F77='-Qoption ld '
   13194       lt_prog_compiler_pic_F77='-PIC'
   13195       lt_prog_compiler_static_F77='-Bstatic'
   13196       ;;
   13197 
   13198     sysv4 | sysv4.2uw2* | sysv4.3*)
   13199       lt_prog_compiler_wl_F77='-Wl,'
   13200       lt_prog_compiler_pic_F77='-KPIC'
   13201       lt_prog_compiler_static_F77='-Bstatic'
   13202       ;;
   13203 
   13204     sysv4*MP*)
   13205       if test -d /usr/nec ;then
   13206 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13207 	lt_prog_compiler_static_F77='-Bstatic'
   13208       fi
   13209       ;;
   13210 
   13211     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13212       lt_prog_compiler_wl_F77='-Wl,'
   13213       lt_prog_compiler_pic_F77='-KPIC'
   13214       lt_prog_compiler_static_F77='-Bstatic'
   13215       ;;
   13216 
   13217     unicos*)
   13218       lt_prog_compiler_wl_F77='-Wl,'
   13219       lt_prog_compiler_can_build_shared_F77=no
   13220       ;;
   13221 
   13222     uts4*)
   13223       lt_prog_compiler_pic_F77='-pic'
   13224       lt_prog_compiler_static_F77='-Bstatic'
   13225       ;;
   13226 
   13227     *)
   13228       lt_prog_compiler_can_build_shared_F77=no
   13229       ;;
   13230     esac
   13231   fi
   13232 
   13233 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13234 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
   13235 
   13236 #
   13237 # Check to make sure the PIC flag actually works.
   13238 #
   13239 if test -n "$lt_prog_compiler_pic_F77"; then
   13240 
   13241 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13242 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
   13243 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13244   echo $ECHO_N "(cached) $ECHO_C" >&6
   13245 else
   13246   lt_prog_compiler_pic_works_F77=no
   13247   ac_outfile=conftest.$ac_objext
   13248    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13249    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13250    # Insert the option either (1) after the last *FLAGS variable, or
   13251    # (2) before a word containing "conftest.", or (3) at the end.
   13252    # Note that $ac_compile itself does not contain backslashes and begins
   13253    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13254    # The option is referenced via a variable to avoid confusing sed.
   13255    lt_compile=`echo "$ac_compile" | $SED \
   13256    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13257    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13258    -e 's:$: $lt_compiler_flag:'`
   13259    (eval echo "\"\$as_me:13259: $lt_compile\"" >&5)
   13260    (eval "$lt_compile" 2>conftest.err)
   13261    ac_status=$?
   13262    cat conftest.err >&5
   13263    echo "$as_me:13263: \$? = $ac_status" >&5
   13264    if (exit $ac_status) && test -s "$ac_outfile"; then
   13265      # The compiler can only warn and ignore the option if not recognized
   13266      # So say no if there are warnings other than the usual output.
   13267      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13268      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13269      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13270        lt_prog_compiler_pic_works_F77=yes
   13271      fi
   13272    fi
   13273    $rm conftest*
   13274 
   13275 fi
   13276 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13277 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
   13278 
   13279 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13280     case $lt_prog_compiler_pic_F77 in
   13281      "" | " "*) ;;
   13282      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13283      esac
   13284 else
   13285     lt_prog_compiler_pic_F77=
   13286      lt_prog_compiler_can_build_shared_F77=no
   13287 fi
   13288 
   13289 fi
   13290 case $host_os in
   13291   # For platforms which do not support PIC, -DPIC is meaningless:
   13292   *djgpp*)
   13293     lt_prog_compiler_pic_F77=
   13294     ;;
   13295   *)
   13296     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13297     ;;
   13298 esac
   13299 
   13300 #
   13301 # Check to make sure the static flag actually works.
   13302 #
   13303 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13304 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13305 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   13306 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13307   echo $ECHO_N "(cached) $ECHO_C" >&6
   13308 else
   13309   lt_prog_compiler_static_works_F77=no
   13310    save_LDFLAGS="$LDFLAGS"
   13311    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13312    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13313    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13314      # The linker can only warn and ignore the option if not recognized
   13315      # So say no if there are warnings
   13316      if test -s conftest.err; then
   13317        # Append any errors to the config.log.
   13318        cat conftest.err 1>&5
   13319        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13320        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13321        if diff conftest.exp conftest.er2 >/dev/null; then
   13322          lt_prog_compiler_static_works_F77=yes
   13323        fi
   13324      else
   13325        lt_prog_compiler_static_works_F77=yes
   13326      fi
   13327    fi
   13328    $rm conftest*
   13329    LDFLAGS="$save_LDFLAGS"
   13330 
   13331 fi
   13332 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13333 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
   13334 
   13335 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13336     :
   13337 else
   13338     lt_prog_compiler_static_F77=
   13339 fi
   13340 
   13341 
   13342 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13343 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   13344 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13345   echo $ECHO_N "(cached) $ECHO_C" >&6
   13346 else
   13347   lt_cv_prog_compiler_c_o_F77=no
   13348    $rm -r conftest 2>/dev/null
   13349    mkdir conftest
   13350    cd conftest
   13351    mkdir out
   13352    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13353 
   13354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13355    # Insert the option either (1) after the last *FLAGS variable, or
   13356    # (2) before a word containing "conftest.", or (3) at the end.
   13357    # Note that $ac_compile itself does not contain backslashes and begins
   13358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13359    lt_compile=`echo "$ac_compile" | $SED \
   13360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13362    -e 's:$: $lt_compiler_flag:'`
   13363    (eval echo "\"\$as_me:13363: $lt_compile\"" >&5)
   13364    (eval "$lt_compile" 2>out/conftest.err)
   13365    ac_status=$?
   13366    cat out/conftest.err >&5
   13367    echo "$as_me:13367: \$? = $ac_status" >&5
   13368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13369    then
   13370      # The compiler can only warn and ignore the option if not recognized
   13371      # So say no if there are warnings
   13372      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13375        lt_cv_prog_compiler_c_o_F77=yes
   13376      fi
   13377    fi
   13378    chmod u+w . 2>&5
   13379    $rm conftest*
   13380    # SGI C++ compiler will create directory out/ii_files/ for
   13381    # template instantiation
   13382    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13383    $rm out/* && rmdir out
   13384    cd ..
   13385    rmdir conftest
   13386    $rm conftest*
   13387 
   13388 fi
   13389 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   13390 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
   13391 
   13392 
   13393 hard_links="nottested"
   13394 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   13395   # do not overwrite the value of need_locks provided by the user
   13396   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13397 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   13398   hard_links=yes
   13399   $rm conftest*
   13400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13401   touch conftest.a
   13402   ln conftest.a conftest.b 2>&5 || hard_links=no
   13403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13404   echo "$as_me:$LINENO: result: $hard_links" >&5
   13405 echo "${ECHO_T}$hard_links" >&6
   13406   if test "$hard_links" = no; then
   13407     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13408 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13409     need_locks=warn
   13410   fi
   13411 else
   13412   need_locks=no
   13413 fi
   13414 
   13415 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13416 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   13417 
   13418   runpath_var=
   13419   allow_undefined_flag_F77=
   13420   enable_shared_with_static_runtimes_F77=no
   13421   archive_cmds_F77=
   13422   archive_expsym_cmds_F77=
   13423   old_archive_From_new_cmds_F77=
   13424   old_archive_from_expsyms_cmds_F77=
   13425   export_dynamic_flag_spec_F77=
   13426   whole_archive_flag_spec_F77=
   13427   thread_safe_flag_spec_F77=
   13428   hardcode_libdir_flag_spec_F77=
   13429   hardcode_libdir_flag_spec_ld_F77=
   13430   hardcode_libdir_separator_F77=
   13431   hardcode_direct_F77=no
   13432   hardcode_minus_L_F77=no
   13433   hardcode_shlibpath_var_F77=unsupported
   13434   link_all_deplibs_F77=unknown
   13435   hardcode_automatic_F77=no
   13436   module_cmds_F77=
   13437   module_expsym_cmds_F77=
   13438   always_export_symbols_F77=no
   13439   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13440   # include_expsyms should be a list of space-separated symbols to be *always*
   13441   # included in the symbol list
   13442   include_expsyms_F77=
   13443   # exclude_expsyms can be an extended regexp of symbols to exclude
   13444   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   13445   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   13446   # as well as any symbol that contains `d'.
   13447   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   13448   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13449   # platforms (ab)use it in PIC code, but their linkers get confused if
   13450   # the symbol is explicitly referenced.  Since portable code cannot
   13451   # rely on this symbol name, it's probably fine to never include it in
   13452   # preloaded symbol tables.
   13453   extract_expsyms_cmds=
   13454   # Just being paranoid about ensuring that cc_basename is set.
   13455   for cc_temp in $compiler""; do
   13456   case $cc_temp in
   13457     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13458     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13459     \-*) ;;
   13460     *) break;;
   13461   esac
   13462 done
   13463 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13464 
   13465   case $host_os in
   13466   cygwin* | mingw* | pw32*)
   13467     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   13468     # When not using gcc, we currently assume that we are using
   13469     # Microsoft Visual C++.
   13470     if test "$GCC" != yes; then
   13471       with_gnu_ld=no
   13472     fi
   13473     ;;
   13474   interix*)
   13475     # we just hope/assume this is gcc and not c89 (= MSVC++)
   13476     with_gnu_ld=yes
   13477     ;;
   13478   openbsd*)
   13479     with_gnu_ld=no
   13480     ;;
   13481   esac
   13482 
   13483   ld_shlibs_F77=yes
   13484   if test "$with_gnu_ld" = yes; then
   13485     # If archive_cmds runs LD, not CC, wlarc should be empty
   13486     wlarc='${wl}'
   13487 
   13488     # Set some defaults for GNU ld with shared library support. These
   13489     # are reset later if shared libraries are not supported. Putting them
   13490     # here allows them to be overridden if necessary.
   13491     runpath_var=LD_RUN_PATH
   13492     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   13493     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   13494     # ancient GNU ld didn't support --whole-archive et. al.
   13495     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   13496 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13497       else
   13498   	whole_archive_flag_spec_F77=
   13499     fi
   13500     supports_anon_versioning=no
   13501     case `$LD -v 2>/dev/null` in
   13502       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13503       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13504       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13505       *\ 2.11.*) ;; # other 2.11 versions
   13506       *) supports_anon_versioning=yes ;;
   13507     esac
   13508 
   13509     # See if GNU ld supports shared libraries.
   13510     case $host_os in
   13511     aix3* | aix4* | aix5*)
   13512       # On AIX/PPC, the GNU linker is very broken
   13513       if test "$host_cpu" != ia64; then
   13514 	ld_shlibs_F77=no
   13515 	cat <<EOF 1>&2
   13516 
   13517 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   13518 *** to be unable to reliably create shared libraries on AIX.
   13519 *** Therefore, libtool is disabling shared libraries support.  If you
   13520 *** really care for shared libraries, you may want to modify your PATH
   13521 *** so that a non-GNU linker is found, and then restart.
   13522 
   13523 EOF
   13524       fi
   13525       ;;
   13526 
   13527     amigaos*)
   13528       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)'
   13529       hardcode_libdir_flag_spec_F77='-L$libdir'
   13530       hardcode_minus_L_F77=yes
   13531 
   13532       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   13533       # that the semantics of dynamic libraries on AmigaOS, at least up
   13534       # to version 4, is to share data among multiple programs linked
   13535       # with the same dynamic library.  Since this doesn't match the
   13536       # behavior of shared libraries on other platforms, we can't use
   13537       # them.
   13538       ld_shlibs_F77=no
   13539       ;;
   13540 
   13541     beos*)
   13542       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13543 	allow_undefined_flag_F77=unsupported
   13544 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13545 	# support --undefined.  This deserves some investigation.  FIXME
   13546 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13547       else
   13548 	ld_shlibs_F77=no
   13549       fi
   13550       ;;
   13551 
   13552     cygwin* | mingw* | pw32*)
   13553       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   13554       # as there is no search path for DLLs.
   13555       hardcode_libdir_flag_spec_F77='-L$libdir'
   13556       allow_undefined_flag_F77=unsupported
   13557       always_export_symbols_F77=no
   13558       enable_shared_with_static_runtimes_F77=yes
   13559       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   13560 
   13561       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   13562         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13563 	# If the export-symbols file already is a .def file (1st line
   13564 	# is EXPORTS), use it as is; otherwise, prepend...
   13565 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13566 	  cp $export_symbols $output_objdir/$soname.def;
   13567 	else
   13568 	  echo EXPORTS > $output_objdir/$soname.def;
   13569 	  cat $export_symbols >> $output_objdir/$soname.def;
   13570 	fi~
   13571 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13572       else
   13573 	ld_shlibs_F77=no
   13574       fi
   13575       ;;
   13576 
   13577     interix3*)
   13578       hardcode_direct_F77=no
   13579       hardcode_shlibpath_var_F77=no
   13580       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   13581       export_dynamic_flag_spec_F77='${wl}-E'
   13582       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13583       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13584       # default) and relocated if they conflict, which is a slow very memory
   13585       # consuming and fragmenting process.  To avoid this, we pick a random,
   13586       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13587       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13588       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'
   13589       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'
   13590       ;;
   13591 
   13592     linux*)
   13593       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13594 	tmp_addflag=
   13595 	case $cc_basename,$host_cpu in
   13596 	pgcc*)				# Portland Group C compiler
   13597 	  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'
   13598 	  tmp_addflag=' $pic_flag'
   13599 	  ;;
   13600 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   13601 	  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'
   13602 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13603 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   13604 	  tmp_addflag=' -i_dynamic' ;;
   13605 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13606 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13607 	ifc* | ifort*)			# Intel Fortran compiler
   13608 	  tmp_addflag=' -nofor_main' ;;
   13609 	esac
   13610 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13611 
   13612 	if test $supports_anon_versioning = yes; then
   13613 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   13614   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13615   $echo "local: *; };" >> $output_objdir/$libname.ver~
   13616 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13617 	fi
   13618       else
   13619 	ld_shlibs_F77=no
   13620       fi
   13621       ;;
   13622 
   13623     netbsd*)
   13624       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13625 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13626 	wlarc=
   13627       else
   13628 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13629 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13630       fi
   13631       ;;
   13632 
   13633     solaris*)
   13634       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   13635 	ld_shlibs_F77=no
   13636 	cat <<EOF 1>&2
   13637 
   13638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13639 *** create shared libraries on Solaris systems.  Therefore, libtool
   13640 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13641 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13642 *** your PATH or compiler configuration so that the native linker is
   13643 *** used, and then restart.
   13644 
   13645 EOF
   13646       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13647 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13648 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13649       else
   13650 	ld_shlibs_F77=no
   13651       fi
   13652       ;;
   13653 
   13654     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13655       case `$LD -v 2>&1` in
   13656         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13657 	ld_shlibs_F77=no
   13658 	cat <<_LT_EOF 1>&2
   13659 
   13660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   13661 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13662 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13663 *** binutils to release 2.16.91.0.3 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 _LT_EOF
   13668 	;;
   13669 	*)
   13670 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13671 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   13672 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   13673 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   13674 	  else
   13675 	    ld_shlibs_F77=no
   13676 	  fi
   13677 	;;
   13678       esac
   13679       ;;
   13680 
   13681     sunos4*)
   13682       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13683       wlarc=
   13684       hardcode_direct_F77=yes
   13685       hardcode_shlibpath_var_F77=no
   13686       ;;
   13687 
   13688     *)
   13689       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13690 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13691 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13692       else
   13693 	ld_shlibs_F77=no
   13694       fi
   13695       ;;
   13696     esac
   13697 
   13698     if test "$ld_shlibs_F77" = no; then
   13699       runpath_var=
   13700       hardcode_libdir_flag_spec_F77=
   13701       export_dynamic_flag_spec_F77=
   13702       whole_archive_flag_spec_F77=
   13703     fi
   13704   else
   13705     # PORTME fill in a description of your system's linker (not GNU ld)
   13706     case $host_os in
   13707     aix3*)
   13708       allow_undefined_flag_F77=unsupported
   13709       always_export_symbols_F77=yes
   13710       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'
   13711       # Note: this linker hardcodes the directories in LIBPATH if there
   13712       # are no directories specified by -L.
   13713       hardcode_minus_L_F77=yes
   13714       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   13715 	# Neither direct hardcoding nor static linking is supported with a
   13716 	# broken collect2.
   13717 	hardcode_direct_F77=unsupported
   13718       fi
   13719       ;;
   13720 
   13721     aix4* | aix5*)
   13722       if test "$host_cpu" = ia64; then
   13723 	# On IA64, the linker does run time linking by default, so we don't
   13724 	# have to do anything special.
   13725 	aix_use_runtimelinking=no
   13726 	exp_sym_flag='-Bexport'
   13727 	no_entry_flag=""
   13728       else
   13729 	# If we're using GNU nm, then we don't want the "-C" option.
   13730 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   13731 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13732 	  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'
   13733 	else
   13734 	  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'
   13735 	fi
   13736 	aix_use_runtimelinking=no
   13737 
   13738 	# Test if we are trying to use run time linking or normal
   13739 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13740 	# need to do runtime linking.
   13741 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   13742 	  for ld_flag in $LDFLAGS; do
   13743   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   13744   	    aix_use_runtimelinking=yes
   13745   	    break
   13746   	  fi
   13747 	  done
   13748 	  ;;
   13749 	esac
   13750 
   13751 	exp_sym_flag='-bexport'
   13752 	no_entry_flag='-bnoentry'
   13753       fi
   13754 
   13755       # When large executables or shared objects are built, AIX ld can
   13756       # have problems creating the table of contents.  If linking a library
   13757       # or program results in "error TOC overflow" add -mminimal-toc to
   13758       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13759       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13760 
   13761       archive_cmds_F77=''
   13762       hardcode_direct_F77=yes
   13763       hardcode_libdir_separator_F77=':'
   13764       link_all_deplibs_F77=yes
   13765 
   13766       if test "$GCC" = yes; then
   13767 	case $host_os in aix4.[012]|aix4.[012].*)
   13768 	# We only want to do this on AIX 4.2 and lower, the check
   13769 	# below for broken collect2 doesn't work under 4.3+
   13770 	  collect2name=`${CC} -print-prog-name=collect2`
   13771 	  if test -f "$collect2name" && \
   13772   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   13773 	  then
   13774   	  # We have reworked collect2
   13775   	  hardcode_direct_F77=yes
   13776 	  else
   13777   	  # We have old collect2
   13778   	  hardcode_direct_F77=unsupported
   13779   	  # It fails to find uninstalled libraries when the uninstalled
   13780   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   13781   	  # to unsupported forces relinking
   13782   	  hardcode_minus_L_F77=yes
   13783   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   13784   	  hardcode_libdir_separator_F77=
   13785 	  fi
   13786 	  ;;
   13787 	esac
   13788 	shared_flag='-shared'
   13789 	if test "$aix_use_runtimelinking" = yes; then
   13790 	  shared_flag="$shared_flag "'${wl}-G'
   13791 	fi
   13792       else
   13793 	# not using gcc
   13794 	if test "$host_cpu" = ia64; then
   13795   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13796   	# chokes on -Wl,-G. The following line is correct:
   13797 	  shared_flag='-G'
   13798 	else
   13799 	  if test "$aix_use_runtimelinking" = yes; then
   13800 	    shared_flag='${wl}-G'
   13801 	  else
   13802 	    shared_flag='${wl}-bM:SRE'
   13803 	  fi
   13804 	fi
   13805       fi
   13806 
   13807       # It seems that -bexpall does not export symbols beginning with
   13808       # underscore (_), so it is better to generate a list of symbols to export.
   13809       always_export_symbols_F77=yes
   13810       if test "$aix_use_runtimelinking" = yes; then
   13811 	# Warning - without using the other runtime loading flags (-brtl),
   13812 	# -berok will link without error, but may produce a broken library.
   13813 	allow_undefined_flag_F77='-berok'
   13814        # Determine the default libpath from the value encoded in an empty executable.
   13815        cat >conftest.$ac_ext <<_ACEOF
   13816       program main
   13817 
   13818       end
   13819 _ACEOF
   13820 rm -f conftest.$ac_objext conftest$ac_exeext
   13821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13822   (eval $ac_link) 2>conftest.er1
   13823   ac_status=$?
   13824   grep -v '^ *+' conftest.er1 >conftest.err
   13825   rm -f conftest.er1
   13826   cat conftest.err >&5
   13827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13828   (exit $ac_status); } &&
   13829 	 { ac_try='test -z "$ac_f77_werror_flag"
   13830 			 || test ! -s conftest.err'
   13831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13832   (eval $ac_try) 2>&5
   13833   ac_status=$?
   13834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13835   (exit $ac_status); }; } &&
   13836 	 { ac_try='test -s conftest$ac_exeext'
   13837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13838   (eval $ac_try) 2>&5
   13839   ac_status=$?
   13840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13841   (exit $ac_status); }; }; then
   13842 
   13843 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13844 }'`
   13845 # Check for a 64-bit object if we didn't find anything.
   13846 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; }
   13847 }'`; fi
   13848 else
   13849   echo "$as_me: failed program was:" >&5
   13850 sed 's/^/| /' conftest.$ac_ext >&5
   13851 
   13852 fi
   13853 rm -f conftest.err conftest.$ac_objext \
   13854       conftest$ac_exeext conftest.$ac_ext
   13855 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13856 
   13857        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   13858 	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"
   13859        else
   13860 	if test "$host_cpu" = ia64; then
   13861 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   13862 	  allow_undefined_flag_F77="-z nodefs"
   13863 	  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"
   13864 	else
   13865 	 # Determine the default libpath from the value encoded in an empty executable.
   13866 	 cat >conftest.$ac_ext <<_ACEOF
   13867       program main
   13868 
   13869       end
   13870 _ACEOF
   13871 rm -f conftest.$ac_objext conftest$ac_exeext
   13872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13873   (eval $ac_link) 2>conftest.er1
   13874   ac_status=$?
   13875   grep -v '^ *+' conftest.er1 >conftest.err
   13876   rm -f conftest.er1
   13877   cat conftest.err >&5
   13878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13879   (exit $ac_status); } &&
   13880 	 { ac_try='test -z "$ac_f77_werror_flag"
   13881 			 || test ! -s conftest.err'
   13882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13883   (eval $ac_try) 2>&5
   13884   ac_status=$?
   13885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13886   (exit $ac_status); }; } &&
   13887 	 { ac_try='test -s conftest$ac_exeext'
   13888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13889   (eval $ac_try) 2>&5
   13890   ac_status=$?
   13891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13892   (exit $ac_status); }; }; then
   13893 
   13894 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   13895 }'`
   13896 # Check for a 64-bit object if we didn't find anything.
   13897 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; }
   13898 }'`; fi
   13899 else
   13900   echo "$as_me: failed program was:" >&5
   13901 sed 's/^/| /' conftest.$ac_ext >&5
   13902 
   13903 fi
   13904 rm -f conftest.err conftest.$ac_objext \
   13905       conftest$ac_exeext conftest.$ac_ext
   13906 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13907 
   13908 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   13909 	  # Warning - without using the other run time loading flags,
   13910 	  # -berok will link without error, but may produce a broken library.
   13911 	  no_undefined_flag_F77=' ${wl}-bernotok'
   13912 	  allow_undefined_flag_F77=' ${wl}-berok'
   13913 	  # Exported symbols can be pulled into shared objects from archives
   13914 	  whole_archive_flag_spec_F77='$convenience'
   13915 	  archive_cmds_need_lc_F77=yes
   13916 	  # This is similar to how AIX traditionally builds its shared libraries.
   13917 	  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'
   13918 	fi
   13919       fi
   13920       ;;
   13921 
   13922     amigaos*)
   13923       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)'
   13924       hardcode_libdir_flag_spec_F77='-L$libdir'
   13925       hardcode_minus_L_F77=yes
   13926       # see comment about different semantics on the GNU ld section
   13927       ld_shlibs_F77=no
   13928       ;;
   13929 
   13930     bsdi[45]*)
   13931       export_dynamic_flag_spec_F77=-rdynamic
   13932       ;;
   13933 
   13934     cygwin* | mingw* | pw32*)
   13935       # When not using gcc, we currently assume that we are using
   13936       # Microsoft Visual C++.
   13937       # hardcode_libdir_flag_spec is actually meaningless, as there is
   13938       # no search path for DLLs.
   13939       hardcode_libdir_flag_spec_F77=' '
   13940       allow_undefined_flag_F77=unsupported
   13941       # Tell ltmain to make .lib files, not .a files.
   13942       libext=lib
   13943       # Tell ltmain to make .dll files, not .so files.
   13944       shrext_cmds=".dll"
   13945       # FIXME: Setting linknames here is a bad hack.
   13946       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   13947       # The linker will automatically build a .lib file if we build a DLL.
   13948       old_archive_From_new_cmds_F77='true'
   13949       # FIXME: Should let the user specify the lib program.
   13950       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   13951       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   13952       enable_shared_with_static_runtimes_F77=yes
   13953       ;;
   13954 
   13955     darwin* | rhapsody*)
   13956       case $host_os in
   13957         rhapsody* | darwin1.[012])
   13958          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   13959          ;;
   13960        *) # Darwin 1.3 on
   13961          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   13962            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   13963          else
   13964            case ${MACOSX_DEPLOYMENT_TARGET} in
   13965              10.[012])
   13966                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   13967                ;;
   13968              10.*)
   13969                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   13970                ;;
   13971            esac
   13972          fi
   13973          ;;
   13974       esac
   13975       archive_cmds_need_lc_F77=no
   13976       hardcode_direct_F77=no
   13977       hardcode_automatic_F77=yes
   13978       hardcode_shlibpath_var_F77=unsupported
   13979       whole_archive_flag_spec_F77=''
   13980       link_all_deplibs_F77=yes
   13981     if test "$GCC" = yes ; then
   13982     	output_verbose_link_cmd='echo'
   13983         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   13984       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   13985       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   13986       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}'
   13987       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}'
   13988     else
   13989       case $cc_basename in
   13990         xlc*)
   13991          output_verbose_link_cmd='echo'
   13992          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   13993          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   13994           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   13995          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}'
   13996           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}'
   13997           ;;
   13998        *)
   13999          ld_shlibs_F77=no
   14000           ;;
   14001       esac
   14002     fi
   14003       ;;
   14004 
   14005     dgux*)
   14006       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14007       hardcode_libdir_flag_spec_F77='-L$libdir'
   14008       hardcode_shlibpath_var_F77=no
   14009       ;;
   14010 
   14011     freebsd1*)
   14012       ld_shlibs_F77=no
   14013       ;;
   14014 
   14015     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14016     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14017     # does not break anything, and helps significantly (at the cost of a little
   14018     # extra space).
   14019     freebsd2.2*)
   14020       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14021       hardcode_libdir_flag_spec_F77='-R$libdir'
   14022       hardcode_direct_F77=yes
   14023       hardcode_shlibpath_var_F77=no
   14024       ;;
   14025 
   14026     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14027     freebsd2*)
   14028       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14029       hardcode_direct_F77=yes
   14030       hardcode_minus_L_F77=yes
   14031       hardcode_shlibpath_var_F77=no
   14032       ;;
   14033 
   14034     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14035     freebsd* | kfreebsd*-gnu | dragonfly*)
   14036       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14037       hardcode_libdir_flag_spec_F77='-R$libdir'
   14038       hardcode_direct_F77=yes
   14039       hardcode_shlibpath_var_F77=no
   14040       ;;
   14041 
   14042     hpux9*)
   14043       if test "$GCC" = yes; then
   14044 	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'
   14045       else
   14046 	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'
   14047       fi
   14048       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14049       hardcode_libdir_separator_F77=:
   14050       hardcode_direct_F77=yes
   14051 
   14052       # hardcode_minus_L: Not really in the search PATH,
   14053       # but as the default location of the library.
   14054       hardcode_minus_L_F77=yes
   14055       export_dynamic_flag_spec_F77='${wl}-E'
   14056       ;;
   14057 
   14058     hpux10*)
   14059       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14060 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14061       else
   14062 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14063       fi
   14064       if test "$with_gnu_ld" = no; then
   14065 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14066 	hardcode_libdir_separator_F77=:
   14067 
   14068 	hardcode_direct_F77=yes
   14069 	export_dynamic_flag_spec_F77='${wl}-E'
   14070 
   14071 	# hardcode_minus_L: Not really in the search PATH,
   14072 	# but as the default location of the library.
   14073 	hardcode_minus_L_F77=yes
   14074       fi
   14075       ;;
   14076 
   14077     hpux11*)
   14078       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14079 	case $host_cpu in
   14080 	hppa*64*)
   14081 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14082 	  ;;
   14083 	ia64*)
   14084 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14085 	  ;;
   14086 	*)
   14087 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14088 	  ;;
   14089 	esac
   14090       else
   14091 	case $host_cpu in
   14092 	hppa*64*)
   14093 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14094 	  ;;
   14095 	ia64*)
   14096 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14097 	  ;;
   14098 	*)
   14099 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14100 	  ;;
   14101 	esac
   14102       fi
   14103       if test "$with_gnu_ld" = no; then
   14104 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14105 	hardcode_libdir_separator_F77=:
   14106 
   14107 	case $host_cpu in
   14108 	hppa*64*|ia64*)
   14109 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14110 	  hardcode_direct_F77=no
   14111 	  hardcode_shlibpath_var_F77=no
   14112 	  ;;
   14113 	*)
   14114 	  hardcode_direct_F77=yes
   14115 	  export_dynamic_flag_spec_F77='${wl}-E'
   14116 
   14117 	  # hardcode_minus_L: Not really in the search PATH,
   14118 	  # but as the default location of the library.
   14119 	  hardcode_minus_L_F77=yes
   14120 	  ;;
   14121 	esac
   14122       fi
   14123       ;;
   14124 
   14125     irix5* | irix6* | nonstopux*)
   14126       if test "$GCC" = yes; then
   14127 	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'
   14128       else
   14129 	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'
   14130 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14131       fi
   14132       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14133       hardcode_libdir_separator_F77=:
   14134       link_all_deplibs_F77=yes
   14135       ;;
   14136 
   14137     netbsd*)
   14138       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14139 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14140       else
   14141 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14142       fi
   14143       hardcode_libdir_flag_spec_F77='-R$libdir'
   14144       hardcode_direct_F77=yes
   14145       hardcode_shlibpath_var_F77=no
   14146       ;;
   14147 
   14148     newsos6)
   14149       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14150       hardcode_direct_F77=yes
   14151       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14152       hardcode_libdir_separator_F77=:
   14153       hardcode_shlibpath_var_F77=no
   14154       ;;
   14155 
   14156     openbsd*)
   14157       hardcode_direct_F77=yes
   14158       hardcode_shlibpath_var_F77=no
   14159       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14160 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14161 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14162 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14163 	export_dynamic_flag_spec_F77='${wl}-E'
   14164       else
   14165        case $host_os in
   14166 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14167 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14168 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14169 	   ;;
   14170 	 *)
   14171 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14172 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14173 	   ;;
   14174        esac
   14175       fi
   14176       ;;
   14177 
   14178     os2*)
   14179       hardcode_libdir_flag_spec_F77='-L$libdir'
   14180       hardcode_minus_L_F77=yes
   14181       allow_undefined_flag_F77=unsupported
   14182       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'
   14183       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14184       ;;
   14185 
   14186     osf3*)
   14187       if test "$GCC" = yes; then
   14188 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14189 	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'
   14190       else
   14191 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14192 	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'
   14193       fi
   14194       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14195       hardcode_libdir_separator_F77=:
   14196       ;;
   14197 
   14198     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14199       if test "$GCC" = yes; then
   14200 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14201 	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'
   14202 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14203       else
   14204 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14205 	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'
   14206 	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~
   14207 	$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'
   14208 
   14209 	# Both c and cxx compiler support -rpath directly
   14210 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14211       fi
   14212       hardcode_libdir_separator_F77=:
   14213       ;;
   14214 
   14215     solaris*)
   14216       no_undefined_flag_F77=' -z text'
   14217       if test "$GCC" = yes; then
   14218 	wlarc='${wl}'
   14219 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14220 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14221 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14222       else
   14223 	wlarc=''
   14224 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14225 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14226   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14227       fi
   14228       hardcode_libdir_flag_spec_F77='-R$libdir'
   14229       hardcode_shlibpath_var_F77=no
   14230       case $host_os in
   14231       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14232       *)
   14233  	# The compiler driver will combine linker options so we
   14234  	# cannot just pass the convience library names through
   14235  	# without $wl, iff we do not link with $LD.
   14236  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14237  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14238  	case $wlarc in
   14239  	'')
   14240  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14241  	*)
   14242  	  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' ;;
   14243  	esac ;;
   14244       esac
   14245       link_all_deplibs_F77=yes
   14246       ;;
   14247 
   14248     sunos4*)
   14249       if test "x$host_vendor" = xsequent; then
   14250 	# Use $CC to link under sequent, because it throws in some extra .o
   14251 	# files that make .init and .fini sections work.
   14252 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14253       else
   14254 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14255       fi
   14256       hardcode_libdir_flag_spec_F77='-L$libdir'
   14257       hardcode_direct_F77=yes
   14258       hardcode_minus_L_F77=yes
   14259       hardcode_shlibpath_var_F77=no
   14260       ;;
   14261 
   14262     sysv4)
   14263       case $host_vendor in
   14264 	sni)
   14265 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14266 	  hardcode_direct_F77=yes # is this really true???
   14267 	;;
   14268 	siemens)
   14269 	  ## LD is ld it makes a PLAMLIB
   14270 	  ## CC just makes a GrossModule.
   14271 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14272 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14273 	  hardcode_direct_F77=no
   14274         ;;
   14275 	motorola)
   14276 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14277 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14278 	;;
   14279       esac
   14280       runpath_var='LD_RUN_PATH'
   14281       hardcode_shlibpath_var_F77=no
   14282       ;;
   14283 
   14284     sysv4.3*)
   14285       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14286       hardcode_shlibpath_var_F77=no
   14287       export_dynamic_flag_spec_F77='-Bexport'
   14288       ;;
   14289 
   14290     sysv4*MP*)
   14291       if test -d /usr/nec; then
   14292 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14293 	hardcode_shlibpath_var_F77=no
   14294 	runpath_var=LD_RUN_PATH
   14295 	hardcode_runpath_var=yes
   14296 	ld_shlibs_F77=yes
   14297       fi
   14298       ;;
   14299 
   14300     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14301       no_undefined_flag_F77='${wl}-z,text'
   14302       archive_cmds_need_lc_F77=no
   14303       hardcode_shlibpath_var_F77=no
   14304       runpath_var='LD_RUN_PATH'
   14305 
   14306       if test "$GCC" = yes; then
   14307 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14308 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14309       else
   14310 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14311 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14312       fi
   14313       ;;
   14314 
   14315     sysv5* | sco3.2v5* | sco5v6*)
   14316       # Note: We can NOT use -z defs as we might desire, because we do not
   14317       # link with -lc, and that would cause any symbols used from libc to
   14318       # always be unresolved, which means just about no library would
   14319       # ever link correctly.  If we're not using GNU ld we use -z text
   14320       # though, which does catch some bad symbols but isn't as heavy-handed
   14321       # as -z defs.
   14322       no_undefined_flag_F77='${wl}-z,text'
   14323       allow_undefined_flag_F77='${wl}-z,nodefs'
   14324       archive_cmds_need_lc_F77=no
   14325       hardcode_shlibpath_var_F77=no
   14326       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14327       hardcode_libdir_separator_F77=':'
   14328       link_all_deplibs_F77=yes
   14329       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14330       runpath_var='LD_RUN_PATH'
   14331 
   14332       if test "$GCC" = yes; then
   14333 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14334 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14335       else
   14336 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14337 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14338       fi
   14339       ;;
   14340 
   14341     uts4*)
   14342       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14343       hardcode_libdir_flag_spec_F77='-L$libdir'
   14344       hardcode_shlibpath_var_F77=no
   14345       ;;
   14346 
   14347     *)
   14348       ld_shlibs_F77=no
   14349       ;;
   14350     esac
   14351   fi
   14352 
   14353 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14354 echo "${ECHO_T}$ld_shlibs_F77" >&6
   14355 test "$ld_shlibs_F77" = no && can_build_shared=no
   14356 
   14357 #
   14358 # Do we need to explicitly link libc?
   14359 #
   14360 case "x$archive_cmds_need_lc_F77" in
   14361 x|xyes)
   14362   # Assume -lc should be added
   14363   archive_cmds_need_lc_F77=yes
   14364 
   14365   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14366     case $archive_cmds_F77 in
   14367     *'~'*)
   14368       # FIXME: we may have to deal with multi-command sequences.
   14369       ;;
   14370     '$CC '*)
   14371       # Test whether the compiler implicitly links with -lc since on some
   14372       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14373       # to ld, don't add -lc before -lgcc.
   14374       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14375 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   14376       $rm conftest*
   14377       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14378 
   14379       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14380   (eval $ac_compile) 2>&5
   14381   ac_status=$?
   14382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14383   (exit $ac_status); } 2>conftest.err; then
   14384         soname=conftest
   14385         lib=conftest
   14386         libobjs=conftest.$ac_objext
   14387         deplibs=
   14388         wl=$lt_prog_compiler_wl_F77
   14389 	pic_flag=$lt_prog_compiler_pic_F77
   14390         compiler_flags=-v
   14391         linker_flags=-v
   14392         verstring=
   14393         output_objdir=.
   14394         libname=conftest
   14395         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   14396         allow_undefined_flag_F77=
   14397         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   14398   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14399   ac_status=$?
   14400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14401   (exit $ac_status); }
   14402         then
   14403 	  archive_cmds_need_lc_F77=no
   14404         else
   14405 	  archive_cmds_need_lc_F77=yes
   14406         fi
   14407         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   14408       else
   14409         cat conftest.err 1>&5
   14410       fi
   14411       $rm conftest*
   14412       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   14413 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
   14414       ;;
   14415     esac
   14416   fi
   14417   ;;
   14418 esac
   14419 
   14420 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   14421 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   14422 library_names_spec=
   14423 libname_spec='lib$name'
   14424 soname_spec=
   14425 shrext_cmds=".so"
   14426 postinstall_cmds=
   14427 postuninstall_cmds=
   14428 finish_cmds=
   14429 finish_eval=
   14430 shlibpath_var=
   14431 shlibpath_overrides_runpath=unknown
   14432 version_type=none
   14433 dynamic_linker="$host_os ld.so"
   14434 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14435 if test "$GCC" = yes; then
   14436   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14437   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   14438     # if the path contains ";" then we assume it to be the separator
   14439     # otherwise default to the standard path separator (i.e. ":") - it is
   14440     # assumed that no part of a normal pathname contains ";" but that should
   14441     # okay in the real world where ";" in dirpaths is itself problematic.
   14442     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14443   else
   14444     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14445   fi
   14446 else
   14447   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   14448 fi
   14449 need_lib_prefix=unknown
   14450 hardcode_into_libs=no
   14451 
   14452 # when you set need_version to no, make sure it does not cause -set_version
   14453 # flags to be left without arguments
   14454 need_version=unknown
   14455 
   14456 case $host_os in
   14457 aix3*)
   14458   version_type=linux
   14459   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14460   shlibpath_var=LIBPATH
   14461 
   14462   # AIX 3 has no versioning support, so we append a major version to the name.
   14463   soname_spec='${libname}${release}${shared_ext}$major'
   14464   ;;
   14465 
   14466 aix4* | aix5*)
   14467   version_type=linux
   14468   need_lib_prefix=no
   14469   need_version=no
   14470   hardcode_into_libs=yes
   14471   if test "$host_cpu" = ia64; then
   14472     # AIX 5 supports IA64
   14473     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14474     shlibpath_var=LD_LIBRARY_PATH
   14475   else
   14476     # With GCC up to 2.95.x, collect2 would create an import file
   14477     # for dependence libraries.  The import file would start with
   14478     # the line `#! .'.  This would cause the generated library to
   14479     # depend on `.', always an invalid library.  This was fixed in
   14480     # development snapshots of GCC prior to 3.0.
   14481     case $host_os in
   14482       aix4 | aix4.[01] | aix4.[01].*)
   14483       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14484 	   echo ' yes '
   14485 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   14486 	:
   14487       else
   14488 	can_build_shared=no
   14489       fi
   14490       ;;
   14491     esac
   14492     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14493     # soname into executable. Probably we can add versioning support to
   14494     # collect2, so additional links can be useful in future.
   14495     if test "$aix_use_runtimelinking" = yes; then
   14496       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14497       # instead of lib<name>.a to let people know that these are not
   14498       # typical AIX shared libraries.
   14499       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14500     else
   14501       # We preserve .a as extension for shared libraries through AIX4.2
   14502       # and later when we are not doing run time linking.
   14503       library_names_spec='${libname}${release}.a $libname.a'
   14504       soname_spec='${libname}${release}${shared_ext}$major'
   14505     fi
   14506     shlibpath_var=LIBPATH
   14507   fi
   14508   ;;
   14509 
   14510 amigaos*)
   14511   library_names_spec='$libname.ixlibrary $libname.a'
   14512   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14513   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'
   14514   ;;
   14515 
   14516 beos*)
   14517   library_names_spec='${libname}${shared_ext}'
   14518   dynamic_linker="$host_os ld.so"
   14519   shlibpath_var=LIBRARY_PATH
   14520   ;;
   14521 
   14522 bsdi[45]*)
   14523   version_type=linux
   14524   need_version=no
   14525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14526   soname_spec='${libname}${release}${shared_ext}$major'
   14527   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14528   shlibpath_var=LD_LIBRARY_PATH
   14529   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14530   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14531   # the default ld.so.conf also contains /usr/contrib/lib and
   14532   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14533   # libtool to hard-code these into programs
   14534   ;;
   14535 
   14536 cygwin* | mingw* | pw32*)
   14537   version_type=windows
   14538   shrext_cmds=".dll"
   14539   need_version=no
   14540   need_lib_prefix=no
   14541 
   14542   case $GCC,$host_os in
   14543   yes,cygwin* | yes,mingw* | yes,pw32*)
   14544     library_names_spec='$libname.dll.a'
   14545     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14546     postinstall_cmds='base_file=`basename \${file}`~
   14547       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   14548       dldir=$destdir/`dirname \$dlpath`~
   14549       test -d \$dldir || mkdir -p \$dldir~
   14550       $install_prog $dir/$dlname \$dldir/$dlname~
   14551       chmod a+x \$dldir/$dlname'
   14552     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14553       dlpath=$dir/\$dldll~
   14554        $rm \$dlpath'
   14555     shlibpath_overrides_runpath=yes
   14556 
   14557     case $host_os in
   14558     cygwin*)
   14559       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14560       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14561       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   14562       ;;
   14563     mingw*)
   14564       # MinGW DLLs use traditional 'lib' prefix
   14565       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14566       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14567       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   14568         # It is most probably a Windows format PATH printed by
   14569         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   14570         # path with ; separators, and with drive letters. We can handle the
   14571         # drive letters (cygwin fileutils understands them), so leave them,
   14572         # especially as we might pass files found there to a mingw objdump,
   14573         # which wouldn't understand a cygwinified path. Ahh.
   14574         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14575       else
   14576         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14577       fi
   14578       ;;
   14579     pw32*)
   14580       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14581       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14582       ;;
   14583     esac
   14584     ;;
   14585 
   14586   *)
   14587     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14588     ;;
   14589   esac
   14590   dynamic_linker='Win32 ld.exe'
   14591   # FIXME: first we should search . and the directory the executable is in
   14592   shlibpath_var=PATH
   14593   ;;
   14594 
   14595 darwin* | rhapsody*)
   14596   dynamic_linker="$host_os dyld"
   14597   version_type=darwin
   14598   need_lib_prefix=no
   14599   need_version=no
   14600   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14601   soname_spec='${libname}${release}${major}$shared_ext'
   14602   shlibpath_overrides_runpath=yes
   14603   shlibpath_var=DYLD_LIBRARY_PATH
   14604   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14605   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   14606   if test "$GCC" = yes; then
   14607     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"`
   14608   else
   14609     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   14610   fi
   14611   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14612   ;;
   14613 
   14614 dgux*)
   14615   version_type=linux
   14616   need_lib_prefix=no
   14617   need_version=no
   14618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14619   soname_spec='${libname}${release}${shared_ext}$major'
   14620   shlibpath_var=LD_LIBRARY_PATH
   14621   ;;
   14622 
   14623 freebsd1*)
   14624   dynamic_linker=no
   14625   ;;
   14626 
   14627 kfreebsd*-gnu)
   14628   version_type=linux
   14629   need_lib_prefix=no
   14630   need_version=no
   14631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14632   soname_spec='${libname}${release}${shared_ext}$major'
   14633   shlibpath_var=LD_LIBRARY_PATH
   14634   shlibpath_overrides_runpath=no
   14635   hardcode_into_libs=yes
   14636   dynamic_linker='GNU ld.so'
   14637   ;;
   14638 
   14639 freebsd* | dragonfly*)
   14640   # DragonFly does not have aout.  When/if they implement a new
   14641   # versioning mechanism, adjust this.
   14642   if test -x /usr/bin/objformat; then
   14643     objformat=`/usr/bin/objformat`
   14644   else
   14645     case $host_os in
   14646     freebsd[123]*) objformat=aout ;;
   14647     *) objformat=elf ;;
   14648     esac
   14649   fi
   14650   version_type=freebsd-$objformat
   14651   case $version_type in
   14652     freebsd-elf*)
   14653       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14654       need_version=no
   14655       need_lib_prefix=no
   14656       ;;
   14657     freebsd-*)
   14658       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14659       need_version=yes
   14660       ;;
   14661   esac
   14662   shlibpath_var=LD_LIBRARY_PATH
   14663   case $host_os in
   14664   freebsd2*)
   14665     shlibpath_overrides_runpath=yes
   14666     ;;
   14667   freebsd3.[01]* | freebsdelf3.[01]*)
   14668     shlibpath_overrides_runpath=yes
   14669     hardcode_into_libs=yes
   14670     ;;
   14671   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14672   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14673     shlibpath_overrides_runpath=no
   14674     hardcode_into_libs=yes
   14675     ;;
   14676   freebsd*) # from 4.6 on
   14677     shlibpath_overrides_runpath=yes
   14678     hardcode_into_libs=yes
   14679     ;;
   14680   esac
   14681   ;;
   14682 
   14683 gnu*)
   14684   version_type=linux
   14685   need_lib_prefix=no
   14686   need_version=no
   14687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14688   soname_spec='${libname}${release}${shared_ext}$major'
   14689   shlibpath_var=LD_LIBRARY_PATH
   14690   hardcode_into_libs=yes
   14691   ;;
   14692 
   14693 hpux9* | hpux10* | hpux11*)
   14694   # Give a soname corresponding to the major version so that dld.sl refuses to
   14695   # link against other versions.
   14696   version_type=sunos
   14697   need_lib_prefix=no
   14698   need_version=no
   14699   case $host_cpu in
   14700   ia64*)
   14701     shrext_cmds='.so'
   14702     hardcode_into_libs=yes
   14703     dynamic_linker="$host_os dld.so"
   14704     shlibpath_var=LD_LIBRARY_PATH
   14705     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14706     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14707     soname_spec='${libname}${release}${shared_ext}$major'
   14708     if test "X$HPUX_IA64_MODE" = X32; then
   14709       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14710     else
   14711       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14712     fi
   14713     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14714     ;;
   14715    hppa*64*)
   14716      shrext_cmds='.sl'
   14717      hardcode_into_libs=yes
   14718      dynamic_linker="$host_os dld.sl"
   14719      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14720      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14721      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14722      soname_spec='${libname}${release}${shared_ext}$major'
   14723      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14724      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14725      ;;
   14726    *)
   14727     shrext_cmds='.sl'
   14728     dynamic_linker="$host_os dld.sl"
   14729     shlibpath_var=SHLIB_PATH
   14730     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14731     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14732     soname_spec='${libname}${release}${shared_ext}$major'
   14733     ;;
   14734   esac
   14735   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   14736   postinstall_cmds='chmod 555 $lib'
   14737   ;;
   14738 
   14739 interix3*)
   14740   version_type=linux
   14741   need_lib_prefix=no
   14742   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14746   shlibpath_var=LD_LIBRARY_PATH
   14747   shlibpath_overrides_runpath=no
   14748   hardcode_into_libs=yes
   14749   ;;
   14750 
   14751 irix5* | irix6* | nonstopux*)
   14752   case $host_os in
   14753     nonstopux*) version_type=nonstopux ;;
   14754     *)
   14755 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14756 		version_type=linux
   14757 	else
   14758 		version_type=irix
   14759 	fi ;;
   14760   esac
   14761   need_lib_prefix=no
   14762   need_version=no
   14763   soname_spec='${libname}${release}${shared_ext}$major'
   14764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14765   case $host_os in
   14766   irix5* | nonstopux*)
   14767     libsuff= shlibsuff=
   14768     ;;
   14769   *)
   14770     case $LD in # libtool.m4 will add one of these switches to LD
   14771     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14772       libsuff= shlibsuff= libmagic=32-bit;;
   14773     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14774       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14775     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14776       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14777     *) libsuff= shlibsuff= libmagic=never-match;;
   14778     esac
   14779     ;;
   14780   esac
   14781   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14782   shlibpath_overrides_runpath=no
   14783   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14784   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14785   hardcode_into_libs=yes
   14786   ;;
   14787 
   14788 # No shared lib support for Linux oldld, aout, or coff.
   14789 linux*oldld* | linux*aout* | linux*coff*)
   14790   dynamic_linker=no
   14791   ;;
   14792 
   14793 # This must be Linux ELF.
   14794 linux*)
   14795   version_type=linux
   14796   need_lib_prefix=no
   14797   need_version=no
   14798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14799   soname_spec='${libname}${release}${shared_ext}$major'
   14800   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14801   shlibpath_var=LD_LIBRARY_PATH
   14802   shlibpath_overrides_runpath=no
   14803   # This implies no fast_install, which is unacceptable.
   14804   # Some rework will be needed to allow for fast_install
   14805   # before this can be enabled.
   14806   hardcode_into_libs=yes
   14807 
   14808   # find out which ABI we are using
   14809   libsuff=
   14810   case "$host_cpu" in
   14811   x86_64*|s390x*|powerpc64*)
   14812     echo '#line 14812 "configure"' > conftest.$ac_ext
   14813     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14814   (eval $ac_compile) 2>&5
   14815   ac_status=$?
   14816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14817   (exit $ac_status); }; then
   14818       case `/usr/bin/file conftest.$ac_objext` in
   14819       *64-bit*)
   14820         libsuff=64
   14821         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   14822         ;;
   14823       esac
   14824     fi
   14825     rm -rf conftest*
   14826     ;;
   14827   esac
   14828 
   14829   # Append ld.so.conf contents to the search path
   14830   if test -f /etc/ld.so.conf; then
   14831     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   14832     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   14833   fi
   14834 
   14835   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14836   # powerpc, because MkLinux only supported shared libraries with the
   14837   # GNU dynamic linker.  Since this was broken with cross compilers,
   14838   # most powerpc-linux boxes support dynamic linking these days and
   14839   # people can always --disable-shared, the test was removed, and we
   14840   # assume the GNU/Linux dynamic linker is in use.
   14841   dynamic_linker='GNU/Linux ld.so'
   14842   ;;
   14843 
   14844 knetbsd*-gnu)
   14845   version_type=linux
   14846   need_lib_prefix=no
   14847   need_version=no
   14848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14849   soname_spec='${libname}${release}${shared_ext}$major'
   14850   shlibpath_var=LD_LIBRARY_PATH
   14851   shlibpath_overrides_runpath=no
   14852   hardcode_into_libs=yes
   14853   dynamic_linker='GNU ld.so'
   14854   ;;
   14855 
   14856 netbsd*)
   14857   version_type=sunos
   14858   need_lib_prefix=no
   14859   need_version=no
   14860   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14861     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14862     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14863     dynamic_linker='NetBSD (a.out) ld.so'
   14864   else
   14865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14866     soname_spec='${libname}${release}${shared_ext}$major'
   14867     dynamic_linker='NetBSD ld.elf_so'
   14868   fi
   14869   shlibpath_var=LD_LIBRARY_PATH
   14870   shlibpath_overrides_runpath=yes
   14871   hardcode_into_libs=yes
   14872   ;;
   14873 
   14874 newsos6)
   14875   version_type=linux
   14876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14877   shlibpath_var=LD_LIBRARY_PATH
   14878   shlibpath_overrides_runpath=yes
   14879   ;;
   14880 
   14881 nto-qnx*)
   14882   version_type=linux
   14883   need_lib_prefix=no
   14884   need_version=no
   14885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14886   soname_spec='${libname}${release}${shared_ext}$major'
   14887   shlibpath_var=LD_LIBRARY_PATH
   14888   shlibpath_overrides_runpath=yes
   14889   ;;
   14890 
   14891 openbsd*)
   14892   version_type=sunos
   14893   sys_lib_dlsearch_path_spec="/usr/lib"
   14894   need_lib_prefix=no
   14895   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14896   case $host_os in
   14897     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   14898     *)                         need_version=no  ;;
   14899   esac
   14900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14901   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14902   shlibpath_var=LD_LIBRARY_PATH
   14903   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14904     case $host_os in
   14905       openbsd2.[89] | openbsd2.[89].*)
   14906 	shlibpath_overrides_runpath=no
   14907 	;;
   14908       *)
   14909 	shlibpath_overrides_runpath=yes
   14910 	;;
   14911       esac
   14912   else
   14913     shlibpath_overrides_runpath=yes
   14914   fi
   14915   ;;
   14916 
   14917 os2*)
   14918   libname_spec='$name'
   14919   shrext_cmds=".dll"
   14920   need_lib_prefix=no
   14921   library_names_spec='$libname${shared_ext} $libname.a'
   14922   dynamic_linker='OS/2 ld.exe'
   14923   shlibpath_var=LIBPATH
   14924   ;;
   14925 
   14926 osf3* | osf4* | osf5*)
   14927   version_type=osf
   14928   need_lib_prefix=no
   14929   need_version=no
   14930   soname_spec='${libname}${release}${shared_ext}$major'
   14931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14932   shlibpath_var=LD_LIBRARY_PATH
   14933   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14934   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14935   ;;
   14936 
   14937 solaris*)
   14938   version_type=linux
   14939   need_lib_prefix=no
   14940   need_version=no
   14941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14942   soname_spec='${libname}${release}${shared_ext}$major'
   14943   shlibpath_var=LD_LIBRARY_PATH
   14944   shlibpath_overrides_runpath=yes
   14945   hardcode_into_libs=yes
   14946   # ldd complains unless libraries are executable
   14947   postinstall_cmds='chmod +x $lib'
   14948   ;;
   14949 
   14950 sunos4*)
   14951   version_type=sunos
   14952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14953   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14954   shlibpath_var=LD_LIBRARY_PATH
   14955   shlibpath_overrides_runpath=yes
   14956   if test "$with_gnu_ld" = yes; then
   14957     need_lib_prefix=no
   14958   fi
   14959   need_version=yes
   14960   ;;
   14961 
   14962 sysv4 | sysv4.3*)
   14963   version_type=linux
   14964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14965   soname_spec='${libname}${release}${shared_ext}$major'
   14966   shlibpath_var=LD_LIBRARY_PATH
   14967   case $host_vendor in
   14968     sni)
   14969       shlibpath_overrides_runpath=no
   14970       need_lib_prefix=no
   14971       export_dynamic_flag_spec='${wl}-Blargedynsym'
   14972       runpath_var=LD_RUN_PATH
   14973       ;;
   14974     siemens)
   14975       need_lib_prefix=no
   14976       ;;
   14977     motorola)
   14978       need_lib_prefix=no
   14979       need_version=no
   14980       shlibpath_overrides_runpath=no
   14981       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14982       ;;
   14983   esac
   14984   ;;
   14985 
   14986 sysv4*MP*)
   14987   if test -d /usr/nec ;then
   14988     version_type=linux
   14989     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14990     soname_spec='$libname${shared_ext}.$major'
   14991     shlibpath_var=LD_LIBRARY_PATH
   14992   fi
   14993   ;;
   14994 
   14995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14996   version_type=freebsd-elf
   14997   need_lib_prefix=no
   14998   need_version=no
   14999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15000   soname_spec='${libname}${release}${shared_ext}$major'
   15001   shlibpath_var=LD_LIBRARY_PATH
   15002   hardcode_into_libs=yes
   15003   if test "$with_gnu_ld" = yes; then
   15004     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15005     shlibpath_overrides_runpath=no
   15006   else
   15007     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15008     shlibpath_overrides_runpath=yes
   15009     case $host_os in
   15010       sco3.2v5*)
   15011         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15012 	;;
   15013     esac
   15014   fi
   15015   sys_lib_dlsearch_path_spec='/usr/lib'
   15016   ;;
   15017 
   15018 uts4*)
   15019   version_type=linux
   15020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15021   soname_spec='${libname}${release}${shared_ext}$major'
   15022   shlibpath_var=LD_LIBRARY_PATH
   15023   ;;
   15024 
   15025 *)
   15026   dynamic_linker=no
   15027   ;;
   15028 esac
   15029 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15030 echo "${ECHO_T}$dynamic_linker" >&6
   15031 test "$dynamic_linker" = no && can_build_shared=no
   15032 
   15033 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15034 if test "$GCC" = yes; then
   15035   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15036 fi
   15037 
   15038 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15039 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   15040 hardcode_action_F77=
   15041 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15042    test -n "$runpath_var_F77" || \
   15043    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15044 
   15045   # We can hardcode non-existant directories.
   15046   if test "$hardcode_direct_F77" != no &&
   15047      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15048      # have to relink, otherwise we might link with an installed library
   15049      # when we should be linking with a yet-to-be-installed one
   15050      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15051      test "$hardcode_minus_L_F77" != no; then
   15052     # Linking always hardcodes the temporary library directory.
   15053     hardcode_action_F77=relink
   15054   else
   15055     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15056     hardcode_action_F77=immediate
   15057   fi
   15058 else
   15059   # We cannot hardcode anything, or else we can only hardcode existing
   15060   # directories.
   15061   hardcode_action_F77=unsupported
   15062 fi
   15063 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15064 echo "${ECHO_T}$hardcode_action_F77" >&6
   15065 
   15066 if test "$hardcode_action_F77" = relink; then
   15067   # Fast installation is not supported
   15068   enable_fast_install=no
   15069 elif test "$shlibpath_overrides_runpath" = yes ||
   15070      test "$enable_shared" = no; then
   15071   # Fast installation is not necessary
   15072   enable_fast_install=needless
   15073 fi
   15074 
   15075 
   15076 # The else clause should only fire when bootstrapping the
   15077 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15078 # with your package, and you will get complaints that there are
   15079 # no rules to generate ltmain.sh.
   15080 if test -f "$ltmain"; then
   15081   # See if we are running on zsh, and set the options which allow our commands through
   15082   # without removal of \ escapes.
   15083   if test -n "${ZSH_VERSION+set}" ; then
   15084     setopt NO_GLOB_SUBST
   15085   fi
   15086   # Now quote all the things that may contain metacharacters while being
   15087   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15088   # variables and quote the copies for generation of the libtool script.
   15089   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15090     SED SHELL STRIP \
   15091     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15092     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15093     deplibs_check_method reload_flag reload_cmds need_locks \
   15094     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15095     lt_cv_sys_global_symbol_to_c_name_address \
   15096     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15097     old_postinstall_cmds old_postuninstall_cmds \
   15098     compiler_F77 \
   15099     CC_F77 \
   15100     LD_F77 \
   15101     lt_prog_compiler_wl_F77 \
   15102     lt_prog_compiler_pic_F77 \
   15103     lt_prog_compiler_static_F77 \
   15104     lt_prog_compiler_no_builtin_flag_F77 \
   15105     export_dynamic_flag_spec_F77 \
   15106     thread_safe_flag_spec_F77 \
   15107     whole_archive_flag_spec_F77 \
   15108     enable_shared_with_static_runtimes_F77 \
   15109     old_archive_cmds_F77 \
   15110     old_archive_from_new_cmds_F77 \
   15111     predep_objects_F77 \
   15112     postdep_objects_F77 \
   15113     predeps_F77 \
   15114     postdeps_F77 \
   15115     compiler_lib_search_path_F77 \
   15116     archive_cmds_F77 \
   15117     archive_expsym_cmds_F77 \
   15118     postinstall_cmds_F77 \
   15119     postuninstall_cmds_F77 \
   15120     old_archive_from_expsyms_cmds_F77 \
   15121     allow_undefined_flag_F77 \
   15122     no_undefined_flag_F77 \
   15123     export_symbols_cmds_F77 \
   15124     hardcode_libdir_flag_spec_F77 \
   15125     hardcode_libdir_flag_spec_ld_F77 \
   15126     hardcode_libdir_separator_F77 \
   15127     hardcode_automatic_F77 \
   15128     module_cmds_F77 \
   15129     module_expsym_cmds_F77 \
   15130     lt_cv_prog_compiler_c_o_F77 \
   15131     exclude_expsyms_F77 \
   15132     include_expsyms_F77; do
   15133 
   15134     case $var in
   15135     old_archive_cmds_F77 | \
   15136     old_archive_from_new_cmds_F77 | \
   15137     archive_cmds_F77 | \
   15138     archive_expsym_cmds_F77 | \
   15139     module_cmds_F77 | \
   15140     module_expsym_cmds_F77 | \
   15141     old_archive_from_expsyms_cmds_F77 | \
   15142     export_symbols_cmds_F77 | \
   15143     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15144     postinstall_cmds | postuninstall_cmds | \
   15145     old_postinstall_cmds | old_postuninstall_cmds | \
   15146     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15147       # Double-quote double-evaled strings.
   15148       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15149       ;;
   15150     *)
   15151       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15152       ;;
   15153     esac
   15154   done
   15155 
   15156   case $lt_echo in
   15157   *'\$0 --fallback-echo"')
   15158     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15159     ;;
   15160   esac
   15161 
   15162 cfgfile="$ofile"
   15163 
   15164   cat <<__EOF__ >> "$cfgfile"
   15165 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15166 
   15167 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15168 
   15169 # Shell to use when invoking shell scripts.
   15170 SHELL=$lt_SHELL
   15171 
   15172 # Whether or not to build shared libraries.
   15173 build_libtool_libs=$enable_shared
   15174 
   15175 # Whether or not to build static libraries.
   15176 build_old_libs=$enable_static
   15177 
   15178 # Whether or not to add -lc for building shared libraries.
   15179 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15180 
   15181 # Whether or not to disallow shared libs when runtime libs are static
   15182 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15183 
   15184 # Whether or not to optimize for fast installation.
   15185 fast_install=$enable_fast_install
   15186 
   15187 # The host system.
   15188 host_alias=$host_alias
   15189 host=$host
   15190 host_os=$host_os
   15191 
   15192 # The build system.
   15193 build_alias=$build_alias
   15194 build=$build
   15195 build_os=$build_os
   15196 
   15197 # An echo program that does not interpret backslashes.
   15198 echo=$lt_echo
   15199 
   15200 # The archiver.
   15201 AR=$lt_AR
   15202 AR_FLAGS=$lt_AR_FLAGS
   15203 
   15204 # A C compiler.
   15205 LTCC=$lt_LTCC
   15206 
   15207 # LTCC compiler flags.
   15208 LTCFLAGS=$lt_LTCFLAGS
   15209 
   15210 # A language-specific compiler.
   15211 CC=$lt_compiler_F77
   15212 
   15213 # Is the compiler the GNU C compiler?
   15214 with_gcc=$GCC_F77
   15215 
   15216 # An ERE matcher.
   15217 EGREP=$lt_EGREP
   15218 
   15219 # The linker used to build libraries.
   15220 LD=$lt_LD_F77
   15221 
   15222 # Whether we need hard or soft links.
   15223 LN_S=$lt_LN_S
   15224 
   15225 # A BSD-compatible nm program.
   15226 NM=$lt_NM
   15227 
   15228 # A symbol stripping program
   15229 STRIP=$lt_STRIP
   15230 
   15231 # Used to examine libraries when file_magic_cmd begins "file"
   15232 MAGIC_CMD=$MAGIC_CMD
   15233 
   15234 # Used on cygwin: DLL creation program.
   15235 DLLTOOL="$DLLTOOL"
   15236 
   15237 # Used on cygwin: object dumper.
   15238 OBJDUMP="$OBJDUMP"
   15239 
   15240 # Used on cygwin: assembler.
   15241 AS="$AS"
   15242 
   15243 # The name of the directory that contains temporary libtool files.
   15244 objdir=$objdir
   15245 
   15246 # How to create reloadable object files.
   15247 reload_flag=$lt_reload_flag
   15248 reload_cmds=$lt_reload_cmds
   15249 
   15250 # How to pass a linker flag through the compiler.
   15251 wl=$lt_lt_prog_compiler_wl_F77
   15252 
   15253 # Object file suffix (normally "o").
   15254 objext="$ac_objext"
   15255 
   15256 # Old archive suffix (normally "a").
   15257 libext="$libext"
   15258 
   15259 # Shared library suffix (normally ".so").
   15260 shrext_cmds='$shrext_cmds'
   15261 
   15262 # Executable file suffix (normally "").
   15263 exeext="$exeext"
   15264 
   15265 # Additional compiler flags for building library objects.
   15266 pic_flag=$lt_lt_prog_compiler_pic_F77
   15267 pic_mode=$pic_mode
   15268 
   15269 # What is the maximum length of a command?
   15270 max_cmd_len=$lt_cv_sys_max_cmd_len
   15271 
   15272 # Does compiler simultaneously support -c and -o options?
   15273 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15274 
   15275 # Must we lock files when doing compilation?
   15276 need_locks=$lt_need_locks
   15277 
   15278 # Do we need the lib prefix for modules?
   15279 need_lib_prefix=$need_lib_prefix
   15280 
   15281 # Do we need a version for libraries?
   15282 need_version=$need_version
   15283 
   15284 # Whether dlopen is supported.
   15285 dlopen_support=$enable_dlopen
   15286 
   15287 # Whether dlopen of programs is supported.
   15288 dlopen_self=$enable_dlopen_self
   15289 
   15290 # Whether dlopen of statically linked programs is supported.
   15291 dlopen_self_static=$enable_dlopen_self_static
   15292 
   15293 # Compiler flag to prevent dynamic linking.
   15294 link_static_flag=$lt_lt_prog_compiler_static_F77
   15295 
   15296 # Compiler flag to turn off builtin functions.
   15297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15298 
   15299 # Compiler flag to allow reflexive dlopens.
   15300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15301 
   15302 # Compiler flag to generate shared objects directly from archives.
   15303 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15304 
   15305 # Compiler flag to generate thread-safe objects.
   15306 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15307 
   15308 # Library versioning type.
   15309 version_type=$version_type
   15310 
   15311 # Format of library name prefix.
   15312 libname_spec=$lt_libname_spec
   15313 
   15314 # List of archive names.  First name is the real one, the rest are links.
   15315 # The last name is the one that the linker finds with -lNAME.
   15316 library_names_spec=$lt_library_names_spec
   15317 
   15318 # The coded name of the library, if different from the real name.
   15319 soname_spec=$lt_soname_spec
   15320 
   15321 # Commands used to build and install an old-style archive.
   15322 RANLIB=$lt_RANLIB
   15323 old_archive_cmds=$lt_old_archive_cmds_F77
   15324 old_postinstall_cmds=$lt_old_postinstall_cmds
   15325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15326 
   15327 # Create an old-style archive from a shared archive.
   15328 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15329 
   15330 # Create a temporary old-style archive to link instead of a shared archive.
   15331 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15332 
   15333 # Commands used to build and install a shared archive.
   15334 archive_cmds=$lt_archive_cmds_F77
   15335 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15336 postinstall_cmds=$lt_postinstall_cmds
   15337 postuninstall_cmds=$lt_postuninstall_cmds
   15338 
   15339 # Commands used to build a loadable module (assumed same as above if empty)
   15340 module_cmds=$lt_module_cmds_F77
   15341 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15342 
   15343 # Commands to strip libraries.
   15344 old_striplib=$lt_old_striplib
   15345 striplib=$lt_striplib
   15346 
   15347 # Dependencies to place before the objects being linked to create a
   15348 # shared library.
   15349 predep_objects=$lt_predep_objects_F77
   15350 
   15351 # Dependencies to place after the objects being linked to create a
   15352 # shared library.
   15353 postdep_objects=$lt_postdep_objects_F77
   15354 
   15355 # Dependencies to place before the objects being linked to create a
   15356 # shared library.
   15357 predeps=$lt_predeps_F77
   15358 
   15359 # Dependencies to place after the objects being linked to create a
   15360 # shared library.
   15361 postdeps=$lt_postdeps_F77
   15362 
   15363 # The library search path used internally by the compiler when linking
   15364 # a shared library.
   15365 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15366 
   15367 # Method to check whether dependent libraries are shared objects.
   15368 deplibs_check_method=$lt_deplibs_check_method
   15369 
   15370 # Command to use when deplibs_check_method == file_magic.
   15371 file_magic_cmd=$lt_file_magic_cmd
   15372 
   15373 # Flag that allows shared libraries with undefined symbols to be built.
   15374 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15375 
   15376 # Flag that forces no undefined symbols.
   15377 no_undefined_flag=$lt_no_undefined_flag_F77
   15378 
   15379 # Commands used to finish a libtool library installation in a directory.
   15380 finish_cmds=$lt_finish_cmds
   15381 
   15382 # Same as above, but a single script fragment to be evaled but not shown.
   15383 finish_eval=$lt_finish_eval
   15384 
   15385 # Take the output of nm and produce a listing of raw symbols and C names.
   15386 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15387 
   15388 # Transform the output of nm in a proper C declaration
   15389 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15390 
   15391 # Transform the output of nm in a C name address pair
   15392 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15393 
   15394 # This is the shared library runtime path variable.
   15395 runpath_var=$runpath_var
   15396 
   15397 # This is the shared library path variable.
   15398 shlibpath_var=$shlibpath_var
   15399 
   15400 # Is shlibpath searched before the hard-coded library search path?
   15401 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15402 
   15403 # How to hardcode a shared library path into an executable.
   15404 hardcode_action=$hardcode_action_F77
   15405 
   15406 # Whether we should hardcode library paths into libraries.
   15407 hardcode_into_libs=$hardcode_into_libs
   15408 
   15409 # Flag to hardcode \$libdir into a binary during linking.
   15410 # This must work even if \$libdir does not exist.
   15411 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   15412 
   15413 # If ld is used when linking, flag to hardcode \$libdir into
   15414 # a binary during linking. This must work even if \$libdir does
   15415 # not exist.
   15416 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   15417 
   15418 # Whether we need a single -rpath flag with a separated argument.
   15419 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   15420 
   15421 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   15422 # resulting binary.
   15423 hardcode_direct=$hardcode_direct_F77
   15424 
   15425 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   15426 # resulting binary.
   15427 hardcode_minus_L=$hardcode_minus_L_F77
   15428 
   15429 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   15430 # the resulting binary.
   15431 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   15432 
   15433 # Set to yes if building a shared library automatically hardcodes DIR into the library
   15434 # and all subsequent libraries and executables linked against it.
   15435 hardcode_automatic=$hardcode_automatic_F77
   15436 
   15437 # Variables whose values should be saved in libtool wrapper scripts and
   15438 # restored at relink time.
   15439 variables_saved_for_relink="$variables_saved_for_relink"
   15440 
   15441 # Whether libtool must link a program against all its dependency libraries.
   15442 link_all_deplibs=$link_all_deplibs_F77
   15443 
   15444 # Compile-time system search path for libraries
   15445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15446 
   15447 # Run-time system search path for libraries
   15448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15449 
   15450 # Fix the shell variable \$srcfile for the compiler.
   15451 fix_srcfile_path="$fix_srcfile_path_F77"
   15452 
   15453 # Set to yes if exported symbols are required.
   15454 always_export_symbols=$always_export_symbols_F77
   15455 
   15456 # The commands to list exported symbols.
   15457 export_symbols_cmds=$lt_export_symbols_cmds_F77
   15458 
   15459 # The commands to extract the exported symbol list from a shared archive.
   15460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15461 
   15462 # Symbols that should not be listed in the preloaded symbols.
   15463 exclude_expsyms=$lt_exclude_expsyms_F77
   15464 
   15465 # Symbols that must always be exported.
   15466 include_expsyms=$lt_include_expsyms_F77
   15467 
   15468 # ### END LIBTOOL TAG CONFIG: $tagname
   15469 
   15470 __EOF__
   15471 
   15472 
   15473 else
   15474   # If there is no Makefile yet, we rely on a make rule to execute
   15475   # `config.status --recheck' to rerun these tests and create the
   15476   # libtool script then.
   15477   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   15478   if test -f "$ltmain_in"; then
   15479     test -f Makefile && make "$ltmain"
   15480   fi
   15481 fi
   15482 
   15483 
   15484 ac_ext=c
   15485 ac_cpp='$CPP $CPPFLAGS'
   15486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15489 
   15490 CC="$lt_save_CC"
   15491 
   15492 	else
   15493 	  tagname=""
   15494 	fi
   15495 	;;
   15496 
   15497       GCJ)
   15498 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   15499 
   15500 
   15501 
   15502 # Source file extension for Java test sources.
   15503 ac_ext=java
   15504 
   15505 # Object file extension for compiled Java test sources.
   15506 objext=o
   15507 objext_GCJ=$objext
   15508 
   15509 # Code to be used in simple compile tests
   15510 lt_simple_compile_test_code="class foo {}\n"
   15511 
   15512 # Code to be used in simple link tests
   15513 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   15514 
   15515 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   15516 
   15517 # If no C compiler was specified, use CC.
   15518 LTCC=${LTCC-"$CC"}
   15519 
   15520 # If no C compiler flags were specified, use CFLAGS.
   15521 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15522 
   15523 # Allow CC to be a program name with arguments.
   15524 compiler=$CC
   15525 
   15526 
   15527 # save warnings/boilerplate of simple test code
   15528 ac_outfile=conftest.$ac_objext
   15529 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   15530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15531 _lt_compiler_boilerplate=`cat conftest.err`
   15532 $rm conftest*
   15533 
   15534 ac_outfile=conftest.$ac_objext
   15535 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   15536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15537 _lt_linker_boilerplate=`cat conftest.err`
   15538 $rm conftest*
   15539 
   15540 
   15541 # Allow CC to be a program name with arguments.
   15542 lt_save_CC="$CC"
   15543 CC=${GCJ-"gcj"}
   15544 compiler=$CC
   15545 compiler_GCJ=$CC
   15546 for cc_temp in $compiler""; do
   15547   case $cc_temp in
   15548     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   15549     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   15550     \-*) ;;
   15551     *) break;;
   15552   esac
   15553 done
   15554 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   15555 
   15556 
   15557 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   15558 archive_cmds_need_lc_GCJ=no
   15559 
   15560 old_archive_cmds_GCJ=$old_archive_cmds
   15561 
   15562 
   15563 lt_prog_compiler_no_builtin_flag_GCJ=
   15564 
   15565 if test "$GCC" = yes; then
   15566   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   15567 
   15568 
   15569 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15570 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   15571 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   15572   echo $ECHO_N "(cached) $ECHO_C" >&6
   15573 else
   15574   lt_cv_prog_compiler_rtti_exceptions=no
   15575   ac_outfile=conftest.$ac_objext
   15576    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15577    lt_compiler_flag="-fno-rtti -fno-exceptions"
   15578    # Insert the option either (1) after the last *FLAGS variable, or
   15579    # (2) before a word containing "conftest.", or (3) at the end.
   15580    # Note that $ac_compile itself does not contain backslashes and begins
   15581    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15582    # The option is referenced via a variable to avoid confusing sed.
   15583    lt_compile=`echo "$ac_compile" | $SED \
   15584    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15585    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15586    -e 's:$: $lt_compiler_flag:'`
   15587    (eval echo "\"\$as_me:15587: $lt_compile\"" >&5)
   15588    (eval "$lt_compile" 2>conftest.err)
   15589    ac_status=$?
   15590    cat conftest.err >&5
   15591    echo "$as_me:15591: \$? = $ac_status" >&5
   15592    if (exit $ac_status) && test -s "$ac_outfile"; then
   15593      # The compiler can only warn and ignore the option if not recognized
   15594      # So say no if there are warnings other than the usual output.
   15595      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   15596      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15597      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15598        lt_cv_prog_compiler_rtti_exceptions=yes
   15599      fi
   15600    fi
   15601    $rm conftest*
   15602 
   15603 fi
   15604 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15605 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   15606 
   15607 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   15608     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   15609 else
   15610     :
   15611 fi
   15612 
   15613 fi
   15614 
   15615 lt_prog_compiler_wl_GCJ=
   15616 lt_prog_compiler_pic_GCJ=
   15617 lt_prog_compiler_static_GCJ=
   15618 
   15619 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   15620 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   15621 
   15622   if test "$GCC" = yes; then
   15623     lt_prog_compiler_wl_GCJ='-Wl,'
   15624     lt_prog_compiler_static_GCJ='-static'
   15625 
   15626     case $host_os in
   15627       aix*)
   15628       # All AIX code is PIC.
   15629       if test "$host_cpu" = ia64; then
   15630 	# AIX 5 now supports IA64 processor
   15631 	lt_prog_compiler_static_GCJ='-Bstatic'
   15632       fi
   15633       ;;
   15634 
   15635     amigaos*)
   15636       # FIXME: we need at least 68020 code to build shared libraries, but
   15637       # adding the `-m68020' flag to GCC prevents building anything better,
   15638       # like `-m68040'.
   15639       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   15640       ;;
   15641 
   15642     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15643       # PIC is the default for these OSes.
   15644       ;;
   15645 
   15646     mingw* | pw32* | os2*)
   15647       # This hack is so that the source file can tell whether it is being
   15648       # built for inclusion in a dll (and should export symbols for example).
   15649       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   15650       ;;
   15651 
   15652     darwin* | rhapsody*)
   15653       # PIC is the default on this platform
   15654       # Common symbols not allowed in MH_DYLIB files
   15655       lt_prog_compiler_pic_GCJ='-fno-common'
   15656       ;;
   15657 
   15658     interix3*)
   15659       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15660       # Instead, we relocate shared libraries at runtime.
   15661       ;;
   15662 
   15663     msdosdjgpp*)
   15664       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15665       # on systems that don't support them.
   15666       lt_prog_compiler_can_build_shared_GCJ=no
   15667       enable_shared=no
   15668       ;;
   15669 
   15670     sysv4*MP*)
   15671       if test -d /usr/nec; then
   15672 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   15673       fi
   15674       ;;
   15675 
   15676     hpux*)
   15677       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15678       # not for PA HP-UX.
   15679       case $host_cpu in
   15680       hppa*64*|ia64*)
   15681 	# +Z the default
   15682 	;;
   15683       *)
   15684 	lt_prog_compiler_pic_GCJ='-fPIC'
   15685 	;;
   15686       esac
   15687       ;;
   15688 
   15689     *)
   15690       lt_prog_compiler_pic_GCJ='-fPIC'
   15691       ;;
   15692     esac
   15693   else
   15694     # PORTME Check for flag to pass linker flags through the system compiler.
   15695     case $host_os in
   15696     aix*)
   15697       lt_prog_compiler_wl_GCJ='-Wl,'
   15698       if test "$host_cpu" = ia64; then
   15699 	# AIX 5 now supports IA64 processor
   15700 	lt_prog_compiler_static_GCJ='-Bstatic'
   15701       else
   15702 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   15703       fi
   15704       ;;
   15705       darwin*)
   15706         # PIC is the default on this platform
   15707         # Common symbols not allowed in MH_DYLIB files
   15708        case $cc_basename in
   15709          xlc*)
   15710          lt_prog_compiler_pic_GCJ='-qnocommon'
   15711          lt_prog_compiler_wl_GCJ='-Wl,'
   15712          ;;
   15713        esac
   15714        ;;
   15715 
   15716     mingw* | pw32* | os2*)
   15717       # This hack is so that the source file can tell whether it is being
   15718       # built for inclusion in a dll (and should export symbols for example).
   15719       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   15720       ;;
   15721 
   15722     hpux9* | hpux10* | hpux11*)
   15723       lt_prog_compiler_wl_GCJ='-Wl,'
   15724       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15725       # not for PA HP-UX.
   15726       case $host_cpu in
   15727       hppa*64*|ia64*)
   15728 	# +Z the default
   15729 	;;
   15730       *)
   15731 	lt_prog_compiler_pic_GCJ='+Z'
   15732 	;;
   15733       esac
   15734       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15735       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   15736       ;;
   15737 
   15738     irix5* | irix6* | nonstopux*)
   15739       lt_prog_compiler_wl_GCJ='-Wl,'
   15740       # PIC (with -KPIC) is the default.
   15741       lt_prog_compiler_static_GCJ='-non_shared'
   15742       ;;
   15743 
   15744     newsos6)
   15745       lt_prog_compiler_pic_GCJ='-KPIC'
   15746       lt_prog_compiler_static_GCJ='-Bstatic'
   15747       ;;
   15748 
   15749     linux*)
   15750       case $cc_basename in
   15751       icc* | ecc*)
   15752 	lt_prog_compiler_wl_GCJ='-Wl,'
   15753 	lt_prog_compiler_pic_GCJ='-KPIC'
   15754 	lt_prog_compiler_static_GCJ='-static'
   15755         ;;
   15756       pgcc* | pgf77* | pgf90* | pgf95*)
   15757         # Portland Group compilers (*not* the Pentium gcc compiler,
   15758 	# which looks to be a dead project)
   15759 	lt_prog_compiler_wl_GCJ='-Wl,'
   15760 	lt_prog_compiler_pic_GCJ='-fpic'
   15761 	lt_prog_compiler_static_GCJ='-Bstatic'
   15762         ;;
   15763       ccc*)
   15764         lt_prog_compiler_wl_GCJ='-Wl,'
   15765         # All Alpha code is PIC.
   15766         lt_prog_compiler_static_GCJ='-non_shared'
   15767         ;;
   15768       esac
   15769       ;;
   15770 
   15771     osf3* | osf4* | osf5*)
   15772       lt_prog_compiler_wl_GCJ='-Wl,'
   15773       # All OSF/1 code is PIC.
   15774       lt_prog_compiler_static_GCJ='-non_shared'
   15775       ;;
   15776 
   15777     solaris*)
   15778       lt_prog_compiler_pic_GCJ='-KPIC'
   15779       lt_prog_compiler_static_GCJ='-Bstatic'
   15780       case $cc_basename in
   15781       f77* | f90* | f95*)
   15782 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   15783       *)
   15784 	lt_prog_compiler_wl_GCJ='-Wl,';;
   15785       esac
   15786       ;;
   15787 
   15788     sunos4*)
   15789       lt_prog_compiler_wl_GCJ='-Qoption ld '
   15790       lt_prog_compiler_pic_GCJ='-PIC'
   15791       lt_prog_compiler_static_GCJ='-Bstatic'
   15792       ;;
   15793 
   15794     sysv4 | sysv4.2uw2* | sysv4.3*)
   15795       lt_prog_compiler_wl_GCJ='-Wl,'
   15796       lt_prog_compiler_pic_GCJ='-KPIC'
   15797       lt_prog_compiler_static_GCJ='-Bstatic'
   15798       ;;
   15799 
   15800     sysv4*MP*)
   15801       if test -d /usr/nec ;then
   15802 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   15803 	lt_prog_compiler_static_GCJ='-Bstatic'
   15804       fi
   15805       ;;
   15806 
   15807     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15808       lt_prog_compiler_wl_GCJ='-Wl,'
   15809       lt_prog_compiler_pic_GCJ='-KPIC'
   15810       lt_prog_compiler_static_GCJ='-Bstatic'
   15811       ;;
   15812 
   15813     unicos*)
   15814       lt_prog_compiler_wl_GCJ='-Wl,'
   15815       lt_prog_compiler_can_build_shared_GCJ=no
   15816       ;;
   15817 
   15818     uts4*)
   15819       lt_prog_compiler_pic_GCJ='-pic'
   15820       lt_prog_compiler_static_GCJ='-Bstatic'
   15821       ;;
   15822 
   15823     *)
   15824       lt_prog_compiler_can_build_shared_GCJ=no
   15825       ;;
   15826     esac
   15827   fi
   15828 
   15829 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   15830 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
   15831 
   15832 #
   15833 # Check to make sure the PIC flag actually works.
   15834 #
   15835 if test -n "$lt_prog_compiler_pic_GCJ"; then
   15836 
   15837 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   15838 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
   15839 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   15840   echo $ECHO_N "(cached) $ECHO_C" >&6
   15841 else
   15842   lt_prog_compiler_pic_works_GCJ=no
   15843   ac_outfile=conftest.$ac_objext
   15844    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15845    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   15846    # Insert the option either (1) after the last *FLAGS variable, or
   15847    # (2) before a word containing "conftest.", or (3) at the end.
   15848    # Note that $ac_compile itself does not contain backslashes and begins
   15849    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15850    # The option is referenced via a variable to avoid confusing sed.
   15851    lt_compile=`echo "$ac_compile" | $SED \
   15852    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15853    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15854    -e 's:$: $lt_compiler_flag:'`
   15855    (eval echo "\"\$as_me:15855: $lt_compile\"" >&5)
   15856    (eval "$lt_compile" 2>conftest.err)
   15857    ac_status=$?
   15858    cat conftest.err >&5
   15859    echo "$as_me:15859: \$? = $ac_status" >&5
   15860    if (exit $ac_status) && test -s "$ac_outfile"; then
   15861      # The compiler can only warn and ignore the option if not recognized
   15862      # So say no if there are warnings other than the usual output.
   15863      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   15864      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15865      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15866        lt_prog_compiler_pic_works_GCJ=yes
   15867      fi
   15868    fi
   15869    $rm conftest*
   15870 
   15871 fi
   15872 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   15873 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
   15874 
   15875 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   15876     case $lt_prog_compiler_pic_GCJ in
   15877      "" | " "*) ;;
   15878      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   15879      esac
   15880 else
   15881     lt_prog_compiler_pic_GCJ=
   15882      lt_prog_compiler_can_build_shared_GCJ=no
   15883 fi
   15884 
   15885 fi
   15886 case $host_os in
   15887   # For platforms which do not support PIC, -DPIC is meaningless:
   15888   *djgpp*)
   15889     lt_prog_compiler_pic_GCJ=
   15890     ;;
   15891   *)
   15892     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   15893     ;;
   15894 esac
   15895 
   15896 #
   15897 # Check to make sure the static flag actually works.
   15898 #
   15899 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   15900 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15901 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   15902 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   15903   echo $ECHO_N "(cached) $ECHO_C" >&6
   15904 else
   15905   lt_prog_compiler_static_works_GCJ=no
   15906    save_LDFLAGS="$LDFLAGS"
   15907    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15908    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   15909    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15910      # The linker can only warn and ignore the option if not recognized
   15911      # So say no if there are warnings
   15912      if test -s conftest.err; then
   15913        # Append any errors to the config.log.
   15914        cat conftest.err 1>&5
   15915        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   15916        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15917        if diff conftest.exp conftest.er2 >/dev/null; then
   15918          lt_prog_compiler_static_works_GCJ=yes
   15919        fi
   15920      else
   15921        lt_prog_compiler_static_works_GCJ=yes
   15922      fi
   15923    fi
   15924    $rm conftest*
   15925    LDFLAGS="$save_LDFLAGS"
   15926 
   15927 fi
   15928 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   15929 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
   15930 
   15931 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   15932     :
   15933 else
   15934     lt_prog_compiler_static_GCJ=
   15935 fi
   15936 
   15937 
   15938 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   15939 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   15940 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   15941   echo $ECHO_N "(cached) $ECHO_C" >&6
   15942 else
   15943   lt_cv_prog_compiler_c_o_GCJ=no
   15944    $rm -r conftest 2>/dev/null
   15945    mkdir conftest
   15946    cd conftest
   15947    mkdir out
   15948    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15949 
   15950    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15951    # Insert the option either (1) after the last *FLAGS variable, or
   15952    # (2) before a word containing "conftest.", or (3) at the end.
   15953    # Note that $ac_compile itself does not contain backslashes and begins
   15954    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15955    lt_compile=`echo "$ac_compile" | $SED \
   15956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15958    -e 's:$: $lt_compiler_flag:'`
   15959    (eval echo "\"\$as_me:15959: $lt_compile\"" >&5)
   15960    (eval "$lt_compile" 2>out/conftest.err)
   15961    ac_status=$?
   15962    cat out/conftest.err >&5
   15963    echo "$as_me:15963: \$? = $ac_status" >&5
   15964    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15965    then
   15966      # The compiler can only warn and ignore the option if not recognized
   15967      # So say no if there are warnings
   15968      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   15969      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15970      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15971        lt_cv_prog_compiler_c_o_GCJ=yes
   15972      fi
   15973    fi
   15974    chmod u+w . 2>&5
   15975    $rm conftest*
   15976    # SGI C++ compiler will create directory out/ii_files/ for
   15977    # template instantiation
   15978    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   15979    $rm out/* && rmdir out
   15980    cd ..
   15981    rmdir conftest
   15982    $rm conftest*
   15983 
   15984 fi
   15985 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   15986 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
   15987 
   15988 
   15989 hard_links="nottested"
   15990 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   15991   # do not overwrite the value of need_locks provided by the user
   15992   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   15993 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   15994   hard_links=yes
   15995   $rm conftest*
   15996   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15997   touch conftest.a
   15998   ln conftest.a conftest.b 2>&5 || hard_links=no
   15999   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16000   echo "$as_me:$LINENO: result: $hard_links" >&5
   16001 echo "${ECHO_T}$hard_links" >&6
   16002   if test "$hard_links" = no; then
   16003     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16004 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16005     need_locks=warn
   16006   fi
   16007 else
   16008   need_locks=no
   16009 fi
   16010 
   16011 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16012 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   16013 
   16014   runpath_var=
   16015   allow_undefined_flag_GCJ=
   16016   enable_shared_with_static_runtimes_GCJ=no
   16017   archive_cmds_GCJ=
   16018   archive_expsym_cmds_GCJ=
   16019   old_archive_From_new_cmds_GCJ=
   16020   old_archive_from_expsyms_cmds_GCJ=
   16021   export_dynamic_flag_spec_GCJ=
   16022   whole_archive_flag_spec_GCJ=
   16023   thread_safe_flag_spec_GCJ=
   16024   hardcode_libdir_flag_spec_GCJ=
   16025   hardcode_libdir_flag_spec_ld_GCJ=
   16026   hardcode_libdir_separator_GCJ=
   16027   hardcode_direct_GCJ=no
   16028   hardcode_minus_L_GCJ=no
   16029   hardcode_shlibpath_var_GCJ=unsupported
   16030   link_all_deplibs_GCJ=unknown
   16031   hardcode_automatic_GCJ=no
   16032   module_cmds_GCJ=
   16033   module_expsym_cmds_GCJ=
   16034   always_export_symbols_GCJ=no
   16035   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16036   # include_expsyms should be a list of space-separated symbols to be *always*
   16037   # included in the symbol list
   16038   include_expsyms_GCJ=
   16039   # exclude_expsyms can be an extended regexp of symbols to exclude
   16040   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16041   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16042   # as well as any symbol that contains `d'.
   16043   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16044   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16045   # platforms (ab)use it in PIC code, but their linkers get confused if
   16046   # the symbol is explicitly referenced.  Since portable code cannot
   16047   # rely on this symbol name, it's probably fine to never include it in
   16048   # preloaded symbol tables.
   16049   extract_expsyms_cmds=
   16050   # Just being paranoid about ensuring that cc_basename is set.
   16051   for cc_temp in $compiler""; do
   16052   case $cc_temp in
   16053     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16054     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16055     \-*) ;;
   16056     *) break;;
   16057   esac
   16058 done
   16059 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16060 
   16061   case $host_os in
   16062   cygwin* | mingw* | pw32*)
   16063     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16064     # When not using gcc, we currently assume that we are using
   16065     # Microsoft Visual C++.
   16066     if test "$GCC" != yes; then
   16067       with_gnu_ld=no
   16068     fi
   16069     ;;
   16070   interix*)
   16071     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16072     with_gnu_ld=yes
   16073     ;;
   16074   openbsd*)
   16075     with_gnu_ld=no
   16076     ;;
   16077   esac
   16078 
   16079   ld_shlibs_GCJ=yes
   16080   if test "$with_gnu_ld" = yes; then
   16081     # If archive_cmds runs LD, not CC, wlarc should be empty
   16082     wlarc='${wl}'
   16083 
   16084     # Set some defaults for GNU ld with shared library support. These
   16085     # are reset later if shared libraries are not supported. Putting them
   16086     # here allows them to be overridden if necessary.
   16087     runpath_var=LD_RUN_PATH
   16088     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16089     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16090     # ancient GNU ld didn't support --whole-archive et. al.
   16091     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16092 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16093       else
   16094   	whole_archive_flag_spec_GCJ=
   16095     fi
   16096     supports_anon_versioning=no
   16097     case `$LD -v 2>/dev/null` in
   16098       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16099       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16100       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16101       *\ 2.11.*) ;; # other 2.11 versions
   16102       *) supports_anon_versioning=yes ;;
   16103     esac
   16104 
   16105     # See if GNU ld supports shared libraries.
   16106     case $host_os in
   16107     aix3* | aix4* | aix5*)
   16108       # On AIX/PPC, the GNU linker is very broken
   16109       if test "$host_cpu" != ia64; then
   16110 	ld_shlibs_GCJ=no
   16111 	cat <<EOF 1>&2
   16112 
   16113 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16114 *** to be unable to reliably create shared libraries on AIX.
   16115 *** Therefore, libtool is disabling shared libraries support.  If you
   16116 *** really care for shared libraries, you may want to modify your PATH
   16117 *** so that a non-GNU linker is found, and then restart.
   16118 
   16119 EOF
   16120       fi
   16121       ;;
   16122 
   16123     amigaos*)
   16124       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)'
   16125       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16126       hardcode_minus_L_GCJ=yes
   16127 
   16128       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16129       # that the semantics of dynamic libraries on AmigaOS, at least up
   16130       # to version 4, is to share data among multiple programs linked
   16131       # with the same dynamic library.  Since this doesn't match the
   16132       # behavior of shared libraries on other platforms, we can't use
   16133       # them.
   16134       ld_shlibs_GCJ=no
   16135       ;;
   16136 
   16137     beos*)
   16138       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16139 	allow_undefined_flag_GCJ=unsupported
   16140 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16141 	# support --undefined.  This deserves some investigation.  FIXME
   16142 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16143       else
   16144 	ld_shlibs_GCJ=no
   16145       fi
   16146       ;;
   16147 
   16148     cygwin* | mingw* | pw32*)
   16149       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16150       # as there is no search path for DLLs.
   16151       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16152       allow_undefined_flag_GCJ=unsupported
   16153       always_export_symbols_GCJ=no
   16154       enable_shared_with_static_runtimes_GCJ=yes
   16155       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16156 
   16157       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16158         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16159 	# If the export-symbols file already is a .def file (1st line
   16160 	# is EXPORTS), use it as is; otherwise, prepend...
   16161 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16162 	  cp $export_symbols $output_objdir/$soname.def;
   16163 	else
   16164 	  echo EXPORTS > $output_objdir/$soname.def;
   16165 	  cat $export_symbols >> $output_objdir/$soname.def;
   16166 	fi~
   16167 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16168       else
   16169 	ld_shlibs_GCJ=no
   16170       fi
   16171       ;;
   16172 
   16173     interix3*)
   16174       hardcode_direct_GCJ=no
   16175       hardcode_shlibpath_var_GCJ=no
   16176       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16177       export_dynamic_flag_spec_GCJ='${wl}-E'
   16178       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16179       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16180       # default) and relocated if they conflict, which is a slow very memory
   16181       # consuming and fragmenting process.  To avoid this, we pick a random,
   16182       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16183       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16184       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'
   16185       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'
   16186       ;;
   16187 
   16188     linux*)
   16189       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16190 	tmp_addflag=
   16191 	case $cc_basename,$host_cpu in
   16192 	pgcc*)				# Portland Group C compiler
   16193 	  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'
   16194 	  tmp_addflag=' $pic_flag'
   16195 	  ;;
   16196 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16197 	  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'
   16198 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16199 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16200 	  tmp_addflag=' -i_dynamic' ;;
   16201 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16202 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16203 	ifc* | ifort*)			# Intel Fortran compiler
   16204 	  tmp_addflag=' -nofor_main' ;;
   16205 	esac
   16206 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16207 
   16208 	if test $supports_anon_versioning = yes; then
   16209 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16210   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16211   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16212 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16213 	fi
   16214       else
   16215 	ld_shlibs_GCJ=no
   16216       fi
   16217       ;;
   16218 
   16219     netbsd*)
   16220       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16221 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16222 	wlarc=
   16223       else
   16224 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16225 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16226       fi
   16227       ;;
   16228 
   16229     solaris*)
   16230       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16231 	ld_shlibs_GCJ=no
   16232 	cat <<EOF 1>&2
   16233 
   16234 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16235 *** create shared libraries on Solaris systems.  Therefore, libtool
   16236 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16237 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16238 *** your PATH or compiler configuration so that the native linker is
   16239 *** used, and then restart.
   16240 
   16241 EOF
   16242       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16243 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16244 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16245       else
   16246 	ld_shlibs_GCJ=no
   16247       fi
   16248       ;;
   16249 
   16250     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16251       case `$LD -v 2>&1` in
   16252         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16253 	ld_shlibs_GCJ=no
   16254 	cat <<_LT_EOF 1>&2
   16255 
   16256 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16257 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16258 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16259 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16260 *** your PATH or compiler configuration so that the native linker is
   16261 *** used, and then restart.
   16262 
   16263 _LT_EOF
   16264 	;;
   16265 	*)
   16266 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16267 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16268 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16269 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16270 	  else
   16271 	    ld_shlibs_GCJ=no
   16272 	  fi
   16273 	;;
   16274       esac
   16275       ;;
   16276 
   16277     sunos4*)
   16278       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16279       wlarc=
   16280       hardcode_direct_GCJ=yes
   16281       hardcode_shlibpath_var_GCJ=no
   16282       ;;
   16283 
   16284     *)
   16285       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16286 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16287 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16288       else
   16289 	ld_shlibs_GCJ=no
   16290       fi
   16291       ;;
   16292     esac
   16293 
   16294     if test "$ld_shlibs_GCJ" = no; then
   16295       runpath_var=
   16296       hardcode_libdir_flag_spec_GCJ=
   16297       export_dynamic_flag_spec_GCJ=
   16298       whole_archive_flag_spec_GCJ=
   16299     fi
   16300   else
   16301     # PORTME fill in a description of your system's linker (not GNU ld)
   16302     case $host_os in
   16303     aix3*)
   16304       allow_undefined_flag_GCJ=unsupported
   16305       always_export_symbols_GCJ=yes
   16306       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'
   16307       # Note: this linker hardcodes the directories in LIBPATH if there
   16308       # are no directories specified by -L.
   16309       hardcode_minus_L_GCJ=yes
   16310       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16311 	# Neither direct hardcoding nor static linking is supported with a
   16312 	# broken collect2.
   16313 	hardcode_direct_GCJ=unsupported
   16314       fi
   16315       ;;
   16316 
   16317     aix4* | aix5*)
   16318       if test "$host_cpu" = ia64; then
   16319 	# On IA64, the linker does run time linking by default, so we don't
   16320 	# have to do anything special.
   16321 	aix_use_runtimelinking=no
   16322 	exp_sym_flag='-Bexport'
   16323 	no_entry_flag=""
   16324       else
   16325 	# If we're using GNU nm, then we don't want the "-C" option.
   16326 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16327 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16328 	  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'
   16329 	else
   16330 	  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'
   16331 	fi
   16332 	aix_use_runtimelinking=no
   16333 
   16334 	# Test if we are trying to use run time linking or normal
   16335 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16336 	# need to do runtime linking.
   16337 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16338 	  for ld_flag in $LDFLAGS; do
   16339   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16340   	    aix_use_runtimelinking=yes
   16341   	    break
   16342   	  fi
   16343 	  done
   16344 	  ;;
   16345 	esac
   16346 
   16347 	exp_sym_flag='-bexport'
   16348 	no_entry_flag='-bnoentry'
   16349       fi
   16350 
   16351       # When large executables or shared objects are built, AIX ld can
   16352       # have problems creating the table of contents.  If linking a library
   16353       # or program results in "error TOC overflow" add -mminimal-toc to
   16354       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16355       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16356 
   16357       archive_cmds_GCJ=''
   16358       hardcode_direct_GCJ=yes
   16359       hardcode_libdir_separator_GCJ=':'
   16360       link_all_deplibs_GCJ=yes
   16361 
   16362       if test "$GCC" = yes; then
   16363 	case $host_os in aix4.[012]|aix4.[012].*)
   16364 	# We only want to do this on AIX 4.2 and lower, the check
   16365 	# below for broken collect2 doesn't work under 4.3+
   16366 	  collect2name=`${CC} -print-prog-name=collect2`
   16367 	  if test -f "$collect2name" && \
   16368   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16369 	  then
   16370   	  # We have reworked collect2
   16371   	  hardcode_direct_GCJ=yes
   16372 	  else
   16373   	  # We have old collect2
   16374   	  hardcode_direct_GCJ=unsupported
   16375   	  # It fails to find uninstalled libraries when the uninstalled
   16376   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16377   	  # to unsupported forces relinking
   16378   	  hardcode_minus_L_GCJ=yes
   16379   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16380   	  hardcode_libdir_separator_GCJ=
   16381 	  fi
   16382 	  ;;
   16383 	esac
   16384 	shared_flag='-shared'
   16385 	if test "$aix_use_runtimelinking" = yes; then
   16386 	  shared_flag="$shared_flag "'${wl}-G'
   16387 	fi
   16388       else
   16389 	# not using gcc
   16390 	if test "$host_cpu" = ia64; then
   16391   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16392   	# chokes on -Wl,-G. The following line is correct:
   16393 	  shared_flag='-G'
   16394 	else
   16395 	  if test "$aix_use_runtimelinking" = yes; then
   16396 	    shared_flag='${wl}-G'
   16397 	  else
   16398 	    shared_flag='${wl}-bM:SRE'
   16399 	  fi
   16400 	fi
   16401       fi
   16402 
   16403       # It seems that -bexpall does not export symbols beginning with
   16404       # underscore (_), so it is better to generate a list of symbols to export.
   16405       always_export_symbols_GCJ=yes
   16406       if test "$aix_use_runtimelinking" = yes; then
   16407 	# Warning - without using the other runtime loading flags (-brtl),
   16408 	# -berok will link without error, but may produce a broken library.
   16409 	allow_undefined_flag_GCJ='-berok'
   16410        # Determine the default libpath from the value encoded in an empty executable.
   16411        cat >conftest.$ac_ext <<_ACEOF
   16412 /* confdefs.h.  */
   16413 _ACEOF
   16414 cat confdefs.h >>conftest.$ac_ext
   16415 cat >>conftest.$ac_ext <<_ACEOF
   16416 /* end confdefs.h.  */
   16417 
   16418 int
   16419 main ()
   16420 {
   16421 
   16422   ;
   16423   return 0;
   16424 }
   16425 _ACEOF
   16426 rm -f conftest.$ac_objext conftest$ac_exeext
   16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16428   (eval $ac_link) 2>conftest.er1
   16429   ac_status=$?
   16430   grep -v '^ *+' conftest.er1 >conftest.err
   16431   rm -f conftest.er1
   16432   cat conftest.err >&5
   16433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16434   (exit $ac_status); } &&
   16435 	 { ac_try='test -z "$ac_c_werror_flag"
   16436 			 || test ! -s conftest.err'
   16437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16438   (eval $ac_try) 2>&5
   16439   ac_status=$?
   16440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16441   (exit $ac_status); }; } &&
   16442 	 { ac_try='test -s conftest$ac_exeext'
   16443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16444   (eval $ac_try) 2>&5
   16445   ac_status=$?
   16446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16447   (exit $ac_status); }; }; then
   16448 
   16449 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16450 }'`
   16451 # Check for a 64-bit object if we didn't find anything.
   16452 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; }
   16453 }'`; fi
   16454 else
   16455   echo "$as_me: failed program was:" >&5
   16456 sed 's/^/| /' conftest.$ac_ext >&5
   16457 
   16458 fi
   16459 rm -f conftest.err conftest.$ac_objext \
   16460       conftest$ac_exeext conftest.$ac_ext
   16461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16462 
   16463        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16464 	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"
   16465        else
   16466 	if test "$host_cpu" = ia64; then
   16467 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   16468 	  allow_undefined_flag_GCJ="-z nodefs"
   16469 	  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"
   16470 	else
   16471 	 # Determine the default libpath from the value encoded in an empty executable.
   16472 	 cat >conftest.$ac_ext <<_ACEOF
   16473 /* confdefs.h.  */
   16474 _ACEOF
   16475 cat confdefs.h >>conftest.$ac_ext
   16476 cat >>conftest.$ac_ext <<_ACEOF
   16477 /* end confdefs.h.  */
   16478 
   16479 int
   16480 main ()
   16481 {
   16482 
   16483   ;
   16484   return 0;
   16485 }
   16486 _ACEOF
   16487 rm -f conftest.$ac_objext conftest$ac_exeext
   16488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16489   (eval $ac_link) 2>conftest.er1
   16490   ac_status=$?
   16491   grep -v '^ *+' conftest.er1 >conftest.err
   16492   rm -f conftest.er1
   16493   cat conftest.err >&5
   16494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16495   (exit $ac_status); } &&
   16496 	 { ac_try='test -z "$ac_c_werror_flag"
   16497 			 || test ! -s conftest.err'
   16498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16499   (eval $ac_try) 2>&5
   16500   ac_status=$?
   16501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16502   (exit $ac_status); }; } &&
   16503 	 { ac_try='test -s conftest$ac_exeext'
   16504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16505   (eval $ac_try) 2>&5
   16506   ac_status=$?
   16507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16508   (exit $ac_status); }; }; then
   16509 
   16510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16511 }'`
   16512 # Check for a 64-bit object if we didn't find anything.
   16513 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; }
   16514 }'`; fi
   16515 else
   16516   echo "$as_me: failed program was:" >&5
   16517 sed 's/^/| /' conftest.$ac_ext >&5
   16518 
   16519 fi
   16520 rm -f conftest.err conftest.$ac_objext \
   16521       conftest$ac_exeext conftest.$ac_ext
   16522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16523 
   16524 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16525 	  # Warning - without using the other run time loading flags,
   16526 	  # -berok will link without error, but may produce a broken library.
   16527 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   16528 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   16529 	  # Exported symbols can be pulled into shared objects from archives
   16530 	  whole_archive_flag_spec_GCJ='$convenience'
   16531 	  archive_cmds_need_lc_GCJ=yes
   16532 	  # This is similar to how AIX traditionally builds its shared libraries.
   16533 	  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'
   16534 	fi
   16535       fi
   16536       ;;
   16537 
   16538     amigaos*)
   16539       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)'
   16540       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16541       hardcode_minus_L_GCJ=yes
   16542       # see comment about different semantics on the GNU ld section
   16543       ld_shlibs_GCJ=no
   16544       ;;
   16545 
   16546     bsdi[45]*)
   16547       export_dynamic_flag_spec_GCJ=-rdynamic
   16548       ;;
   16549 
   16550     cygwin* | mingw* | pw32*)
   16551       # When not using gcc, we currently assume that we are using
   16552       # Microsoft Visual C++.
   16553       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16554       # no search path for DLLs.
   16555       hardcode_libdir_flag_spec_GCJ=' '
   16556       allow_undefined_flag_GCJ=unsupported
   16557       # Tell ltmain to make .lib files, not .a files.
   16558       libext=lib
   16559       # Tell ltmain to make .dll files, not .so files.
   16560       shrext_cmds=".dll"
   16561       # FIXME: Setting linknames here is a bad hack.
   16562       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   16563       # The linker will automatically build a .lib file if we build a DLL.
   16564       old_archive_From_new_cmds_GCJ='true'
   16565       # FIXME: Should let the user specify the lib program.
   16566       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   16567       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   16568       enable_shared_with_static_runtimes_GCJ=yes
   16569       ;;
   16570 
   16571     darwin* | rhapsody*)
   16572       case $host_os in
   16573         rhapsody* | darwin1.[012])
   16574          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   16575          ;;
   16576        *) # Darwin 1.3 on
   16577          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   16578            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16579          else
   16580            case ${MACOSX_DEPLOYMENT_TARGET} in
   16581              10.[012])
   16582                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16583                ;;
   16584              10.*)
   16585                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   16586                ;;
   16587            esac
   16588          fi
   16589          ;;
   16590       esac
   16591       archive_cmds_need_lc_GCJ=no
   16592       hardcode_direct_GCJ=no
   16593       hardcode_automatic_GCJ=yes
   16594       hardcode_shlibpath_var_GCJ=unsupported
   16595       whole_archive_flag_spec_GCJ=''
   16596       link_all_deplibs_GCJ=yes
   16597     if test "$GCC" = yes ; then
   16598     	output_verbose_link_cmd='echo'
   16599         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   16600       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16601       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16602       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}'
   16603       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}'
   16604     else
   16605       case $cc_basename in
   16606         xlc*)
   16607          output_verbose_link_cmd='echo'
   16608          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   16609          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16610           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16611          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}'
   16612           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}'
   16613           ;;
   16614        *)
   16615          ld_shlibs_GCJ=no
   16616           ;;
   16617       esac
   16618     fi
   16619       ;;
   16620 
   16621     dgux*)
   16622       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16623       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16624       hardcode_shlibpath_var_GCJ=no
   16625       ;;
   16626 
   16627     freebsd1*)
   16628       ld_shlibs_GCJ=no
   16629       ;;
   16630 
   16631     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16632     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16633     # does not break anything, and helps significantly (at the cost of a little
   16634     # extra space).
   16635     freebsd2.2*)
   16636       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16637       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16638       hardcode_direct_GCJ=yes
   16639       hardcode_shlibpath_var_GCJ=no
   16640       ;;
   16641 
   16642     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16643     freebsd2*)
   16644       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16645       hardcode_direct_GCJ=yes
   16646       hardcode_minus_L_GCJ=yes
   16647       hardcode_shlibpath_var_GCJ=no
   16648       ;;
   16649 
   16650     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16651     freebsd* | kfreebsd*-gnu | dragonfly*)
   16652       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   16653       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16654       hardcode_direct_GCJ=yes
   16655       hardcode_shlibpath_var_GCJ=no
   16656       ;;
   16657 
   16658     hpux9*)
   16659       if test "$GCC" = yes; then
   16660 	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'
   16661       else
   16662 	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'
   16663       fi
   16664       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16665       hardcode_libdir_separator_GCJ=:
   16666       hardcode_direct_GCJ=yes
   16667 
   16668       # hardcode_minus_L: Not really in the search PATH,
   16669       # but as the default location of the library.
   16670       hardcode_minus_L_GCJ=yes
   16671       export_dynamic_flag_spec_GCJ='${wl}-E'
   16672       ;;
   16673 
   16674     hpux10*)
   16675       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16676 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16677       else
   16678 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16679       fi
   16680       if test "$with_gnu_ld" = no; then
   16681 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16682 	hardcode_libdir_separator_GCJ=:
   16683 
   16684 	hardcode_direct_GCJ=yes
   16685 	export_dynamic_flag_spec_GCJ='${wl}-E'
   16686 
   16687 	# hardcode_minus_L: Not really in the search PATH,
   16688 	# but as the default location of the library.
   16689 	hardcode_minus_L_GCJ=yes
   16690       fi
   16691       ;;
   16692 
   16693     hpux11*)
   16694       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16695 	case $host_cpu in
   16696 	hppa*64*)
   16697 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16698 	  ;;
   16699 	ia64*)
   16700 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16701 	  ;;
   16702 	*)
   16703 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16704 	  ;;
   16705 	esac
   16706       else
   16707 	case $host_cpu in
   16708 	hppa*64*)
   16709 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16710 	  ;;
   16711 	ia64*)
   16712 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16713 	  ;;
   16714 	*)
   16715 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16716 	  ;;
   16717 	esac
   16718       fi
   16719       if test "$with_gnu_ld" = no; then
   16720 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16721 	hardcode_libdir_separator_GCJ=:
   16722 
   16723 	case $host_cpu in
   16724 	hppa*64*|ia64*)
   16725 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   16726 	  hardcode_direct_GCJ=no
   16727 	  hardcode_shlibpath_var_GCJ=no
   16728 	  ;;
   16729 	*)
   16730 	  hardcode_direct_GCJ=yes
   16731 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   16732 
   16733 	  # hardcode_minus_L: Not really in the search PATH,
   16734 	  # but as the default location of the library.
   16735 	  hardcode_minus_L_GCJ=yes
   16736 	  ;;
   16737 	esac
   16738       fi
   16739       ;;
   16740 
   16741     irix5* | irix6* | nonstopux*)
   16742       if test "$GCC" = yes; then
   16743 	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'
   16744       else
   16745 	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'
   16746 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   16747       fi
   16748       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16749       hardcode_libdir_separator_GCJ=:
   16750       link_all_deplibs_GCJ=yes
   16751       ;;
   16752 
   16753     netbsd*)
   16754       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16755 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16756       else
   16757 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16758       fi
   16759       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16760       hardcode_direct_GCJ=yes
   16761       hardcode_shlibpath_var_GCJ=no
   16762       ;;
   16763 
   16764     newsos6)
   16765       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16766       hardcode_direct_GCJ=yes
   16767       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16768       hardcode_libdir_separator_GCJ=:
   16769       hardcode_shlibpath_var_GCJ=no
   16770       ;;
   16771 
   16772     openbsd*)
   16773       hardcode_direct_GCJ=yes
   16774       hardcode_shlibpath_var_GCJ=no
   16775       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16776 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16777 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   16778 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16779 	export_dynamic_flag_spec_GCJ='${wl}-E'
   16780       else
   16781        case $host_os in
   16782 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   16783 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16784 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16785 	   ;;
   16786 	 *)
   16787 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16788 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16789 	   ;;
   16790        esac
   16791       fi
   16792       ;;
   16793 
   16794     os2*)
   16795       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16796       hardcode_minus_L_GCJ=yes
   16797       allow_undefined_flag_GCJ=unsupported
   16798       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'
   16799       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   16800       ;;
   16801 
   16802     osf3*)
   16803       if test "$GCC" = yes; then
   16804 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   16805 	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'
   16806       else
   16807 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   16808 	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'
   16809       fi
   16810       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16811       hardcode_libdir_separator_GCJ=:
   16812       ;;
   16813 
   16814     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16815       if test "$GCC" = yes; then
   16816 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   16817 	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'
   16818 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   16819       else
   16820 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   16821 	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'
   16822 	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~
   16823 	$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'
   16824 
   16825 	# Both c and cxx compiler support -rpath directly
   16826 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   16827       fi
   16828       hardcode_libdir_separator_GCJ=:
   16829       ;;
   16830 
   16831     solaris*)
   16832       no_undefined_flag_GCJ=' -z text'
   16833       if test "$GCC" = yes; then
   16834 	wlarc='${wl}'
   16835 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16836 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   16837 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   16838       else
   16839 	wlarc=''
   16840 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16841 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   16842   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   16843       fi
   16844       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16845       hardcode_shlibpath_var_GCJ=no
   16846       case $host_os in
   16847       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16848       *)
   16849  	# The compiler driver will combine linker options so we
   16850  	# cannot just pass the convience library names through
   16851  	# without $wl, iff we do not link with $LD.
   16852  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   16853  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16854  	case $wlarc in
   16855  	'')
   16856  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   16857  	*)
   16858  	  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' ;;
   16859  	esac ;;
   16860       esac
   16861       link_all_deplibs_GCJ=yes
   16862       ;;
   16863 
   16864     sunos4*)
   16865       if test "x$host_vendor" = xsequent; then
   16866 	# Use $CC to link under sequent, because it throws in some extra .o
   16867 	# files that make .init and .fini sections work.
   16868 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16869       else
   16870 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16871       fi
   16872       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16873       hardcode_direct_GCJ=yes
   16874       hardcode_minus_L_GCJ=yes
   16875       hardcode_shlibpath_var_GCJ=no
   16876       ;;
   16877 
   16878     sysv4)
   16879       case $host_vendor in
   16880 	sni)
   16881 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16882 	  hardcode_direct_GCJ=yes # is this really true???
   16883 	;;
   16884 	siemens)
   16885 	  ## LD is ld it makes a PLAMLIB
   16886 	  ## CC just makes a GrossModule.
   16887 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16888 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   16889 	  hardcode_direct_GCJ=no
   16890         ;;
   16891 	motorola)
   16892 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16893 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   16894 	;;
   16895       esac
   16896       runpath_var='LD_RUN_PATH'
   16897       hardcode_shlibpath_var_GCJ=no
   16898       ;;
   16899 
   16900     sysv4.3*)
   16901       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16902       hardcode_shlibpath_var_GCJ=no
   16903       export_dynamic_flag_spec_GCJ='-Bexport'
   16904       ;;
   16905 
   16906     sysv4*MP*)
   16907       if test -d /usr/nec; then
   16908 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16909 	hardcode_shlibpath_var_GCJ=no
   16910 	runpath_var=LD_RUN_PATH
   16911 	hardcode_runpath_var=yes
   16912 	ld_shlibs_GCJ=yes
   16913       fi
   16914       ;;
   16915 
   16916     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   16917       no_undefined_flag_GCJ='${wl}-z,text'
   16918       archive_cmds_need_lc_GCJ=no
   16919       hardcode_shlibpath_var_GCJ=no
   16920       runpath_var='LD_RUN_PATH'
   16921 
   16922       if test "$GCC" = yes; then
   16923 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16924 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16925       else
   16926 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16927 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16928       fi
   16929       ;;
   16930 
   16931     sysv5* | sco3.2v5* | sco5v6*)
   16932       # Note: We can NOT use -z defs as we might desire, because we do not
   16933       # link with -lc, and that would cause any symbols used from libc to
   16934       # always be unresolved, which means just about no library would
   16935       # ever link correctly.  If we're not using GNU ld we use -z text
   16936       # though, which does catch some bad symbols but isn't as heavy-handed
   16937       # as -z defs.
   16938       no_undefined_flag_GCJ='${wl}-z,text'
   16939       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   16940       archive_cmds_need_lc_GCJ=no
   16941       hardcode_shlibpath_var_GCJ=no
   16942       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   16943       hardcode_libdir_separator_GCJ=':'
   16944       link_all_deplibs_GCJ=yes
   16945       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   16946       runpath_var='LD_RUN_PATH'
   16947 
   16948       if test "$GCC" = yes; then
   16949 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16950 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16951       else
   16952 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16953 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16954       fi
   16955       ;;
   16956 
   16957     uts4*)
   16958       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16959       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16960       hardcode_shlibpath_var_GCJ=no
   16961       ;;
   16962 
   16963     *)
   16964       ld_shlibs_GCJ=no
   16965       ;;
   16966     esac
   16967   fi
   16968 
   16969 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   16970 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
   16971 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   16972 
   16973 #
   16974 # Do we need to explicitly link libc?
   16975 #
   16976 case "x$archive_cmds_need_lc_GCJ" in
   16977 x|xyes)
   16978   # Assume -lc should be added
   16979   archive_cmds_need_lc_GCJ=yes
   16980 
   16981   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16982     case $archive_cmds_GCJ in
   16983     *'~'*)
   16984       # FIXME: we may have to deal with multi-command sequences.
   16985       ;;
   16986     '$CC '*)
   16987       # Test whether the compiler implicitly links with -lc since on some
   16988       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16989       # to ld, don't add -lc before -lgcc.
   16990       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   16991 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   16992       $rm conftest*
   16993       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16994 
   16995       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   16996   (eval $ac_compile) 2>&5
   16997   ac_status=$?
   16998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16999   (exit $ac_status); } 2>conftest.err; then
   17000         soname=conftest
   17001         lib=conftest
   17002         libobjs=conftest.$ac_objext
   17003         deplibs=
   17004         wl=$lt_prog_compiler_wl_GCJ
   17005 	pic_flag=$lt_prog_compiler_pic_GCJ
   17006         compiler_flags=-v
   17007         linker_flags=-v
   17008         verstring=
   17009         output_objdir=.
   17010         libname=conftest
   17011         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17012         allow_undefined_flag_GCJ=
   17013         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17014   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17015   ac_status=$?
   17016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17017   (exit $ac_status); }
   17018         then
   17019 	  archive_cmds_need_lc_GCJ=no
   17020         else
   17021 	  archive_cmds_need_lc_GCJ=yes
   17022         fi
   17023         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17024       else
   17025         cat conftest.err 1>&5
   17026       fi
   17027       $rm conftest*
   17028       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17029 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
   17030       ;;
   17031     esac
   17032   fi
   17033   ;;
   17034 esac
   17035 
   17036 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17037 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   17038 library_names_spec=
   17039 libname_spec='lib$name'
   17040 soname_spec=
   17041 shrext_cmds=".so"
   17042 postinstall_cmds=
   17043 postuninstall_cmds=
   17044 finish_cmds=
   17045 finish_eval=
   17046 shlibpath_var=
   17047 shlibpath_overrides_runpath=unknown
   17048 version_type=none
   17049 dynamic_linker="$host_os ld.so"
   17050 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17051 if test "$GCC" = yes; then
   17052   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17053   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17054     # if the path contains ";" then we assume it to be the separator
   17055     # otherwise default to the standard path separator (i.e. ":") - it is
   17056     # assumed that no part of a normal pathname contains ";" but that should
   17057     # okay in the real world where ";" in dirpaths is itself problematic.
   17058     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17059   else
   17060     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17061   fi
   17062 else
   17063   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17064 fi
   17065 need_lib_prefix=unknown
   17066 hardcode_into_libs=no
   17067 
   17068 # when you set need_version to no, make sure it does not cause -set_version
   17069 # flags to be left without arguments
   17070 need_version=unknown
   17071 
   17072 case $host_os in
   17073 aix3*)
   17074   version_type=linux
   17075   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17076   shlibpath_var=LIBPATH
   17077 
   17078   # AIX 3 has no versioning support, so we append a major version to the name.
   17079   soname_spec='${libname}${release}${shared_ext}$major'
   17080   ;;
   17081 
   17082 aix4* | aix5*)
   17083   version_type=linux
   17084   need_lib_prefix=no
   17085   need_version=no
   17086   hardcode_into_libs=yes
   17087   if test "$host_cpu" = ia64; then
   17088     # AIX 5 supports IA64
   17089     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17090     shlibpath_var=LD_LIBRARY_PATH
   17091   else
   17092     # With GCC up to 2.95.x, collect2 would create an import file
   17093     # for dependence libraries.  The import file would start with
   17094     # the line `#! .'.  This would cause the generated library to
   17095     # depend on `.', always an invalid library.  This was fixed in
   17096     # development snapshots of GCC prior to 3.0.
   17097     case $host_os in
   17098       aix4 | aix4.[01] | aix4.[01].*)
   17099       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17100 	   echo ' yes '
   17101 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17102 	:
   17103       else
   17104 	can_build_shared=no
   17105       fi
   17106       ;;
   17107     esac
   17108     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17109     # soname into executable. Probably we can add versioning support to
   17110     # collect2, so additional links can be useful in future.
   17111     if test "$aix_use_runtimelinking" = yes; then
   17112       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17113       # instead of lib<name>.a to let people know that these are not
   17114       # typical AIX shared libraries.
   17115       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17116     else
   17117       # We preserve .a as extension for shared libraries through AIX4.2
   17118       # and later when we are not doing run time linking.
   17119       library_names_spec='${libname}${release}.a $libname.a'
   17120       soname_spec='${libname}${release}${shared_ext}$major'
   17121     fi
   17122     shlibpath_var=LIBPATH
   17123   fi
   17124   ;;
   17125 
   17126 amigaos*)
   17127   library_names_spec='$libname.ixlibrary $libname.a'
   17128   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17129   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'
   17130   ;;
   17131 
   17132 beos*)
   17133   library_names_spec='${libname}${shared_ext}'
   17134   dynamic_linker="$host_os ld.so"
   17135   shlibpath_var=LIBRARY_PATH
   17136   ;;
   17137 
   17138 bsdi[45]*)
   17139   version_type=linux
   17140   need_version=no
   17141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17142   soname_spec='${libname}${release}${shared_ext}$major'
   17143   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17144   shlibpath_var=LD_LIBRARY_PATH
   17145   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17146   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17147   # the default ld.so.conf also contains /usr/contrib/lib and
   17148   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17149   # libtool to hard-code these into programs
   17150   ;;
   17151 
   17152 cygwin* | mingw* | pw32*)
   17153   version_type=windows
   17154   shrext_cmds=".dll"
   17155   need_version=no
   17156   need_lib_prefix=no
   17157 
   17158   case $GCC,$host_os in
   17159   yes,cygwin* | yes,mingw* | yes,pw32*)
   17160     library_names_spec='$libname.dll.a'
   17161     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17162     postinstall_cmds='base_file=`basename \${file}`~
   17163       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17164       dldir=$destdir/`dirname \$dlpath`~
   17165       test -d \$dldir || mkdir -p \$dldir~
   17166       $install_prog $dir/$dlname \$dldir/$dlname~
   17167       chmod a+x \$dldir/$dlname'
   17168     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17169       dlpath=$dir/\$dldll~
   17170        $rm \$dlpath'
   17171     shlibpath_overrides_runpath=yes
   17172 
   17173     case $host_os in
   17174     cygwin*)
   17175       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17176       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17177       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17178       ;;
   17179     mingw*)
   17180       # MinGW DLLs use traditional 'lib' prefix
   17181       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17182       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17183       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17184         # It is most probably a Windows format PATH printed by
   17185         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17186         # path with ; separators, and with drive letters. We can handle the
   17187         # drive letters (cygwin fileutils understands them), so leave them,
   17188         # especially as we might pass files found there to a mingw objdump,
   17189         # which wouldn't understand a cygwinified path. Ahh.
   17190         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17191       else
   17192         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17193       fi
   17194       ;;
   17195     pw32*)
   17196       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17197       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17198       ;;
   17199     esac
   17200     ;;
   17201 
   17202   *)
   17203     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17204     ;;
   17205   esac
   17206   dynamic_linker='Win32 ld.exe'
   17207   # FIXME: first we should search . and the directory the executable is in
   17208   shlibpath_var=PATH
   17209   ;;
   17210 
   17211 darwin* | rhapsody*)
   17212   dynamic_linker="$host_os dyld"
   17213   version_type=darwin
   17214   need_lib_prefix=no
   17215   need_version=no
   17216   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17217   soname_spec='${libname}${release}${major}$shared_ext'
   17218   shlibpath_overrides_runpath=yes
   17219   shlibpath_var=DYLD_LIBRARY_PATH
   17220   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17221   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17222   if test "$GCC" = yes; then
   17223     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"`
   17224   else
   17225     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17226   fi
   17227   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17228   ;;
   17229 
   17230 dgux*)
   17231   version_type=linux
   17232   need_lib_prefix=no
   17233   need_version=no
   17234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17235   soname_spec='${libname}${release}${shared_ext}$major'
   17236   shlibpath_var=LD_LIBRARY_PATH
   17237   ;;
   17238 
   17239 freebsd1*)
   17240   dynamic_linker=no
   17241   ;;
   17242 
   17243 kfreebsd*-gnu)
   17244   version_type=linux
   17245   need_lib_prefix=no
   17246   need_version=no
   17247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17248   soname_spec='${libname}${release}${shared_ext}$major'
   17249   shlibpath_var=LD_LIBRARY_PATH
   17250   shlibpath_overrides_runpath=no
   17251   hardcode_into_libs=yes
   17252   dynamic_linker='GNU ld.so'
   17253   ;;
   17254 
   17255 freebsd* | dragonfly*)
   17256   # DragonFly does not have aout.  When/if they implement a new
   17257   # versioning mechanism, adjust this.
   17258   if test -x /usr/bin/objformat; then
   17259     objformat=`/usr/bin/objformat`
   17260   else
   17261     case $host_os in
   17262     freebsd[123]*) objformat=aout ;;
   17263     *) objformat=elf ;;
   17264     esac
   17265   fi
   17266   version_type=freebsd-$objformat
   17267   case $version_type in
   17268     freebsd-elf*)
   17269       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17270       need_version=no
   17271       need_lib_prefix=no
   17272       ;;
   17273     freebsd-*)
   17274       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17275       need_version=yes
   17276       ;;
   17277   esac
   17278   shlibpath_var=LD_LIBRARY_PATH
   17279   case $host_os in
   17280   freebsd2*)
   17281     shlibpath_overrides_runpath=yes
   17282     ;;
   17283   freebsd3.[01]* | freebsdelf3.[01]*)
   17284     shlibpath_overrides_runpath=yes
   17285     hardcode_into_libs=yes
   17286     ;;
   17287   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17288   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17289     shlibpath_overrides_runpath=no
   17290     hardcode_into_libs=yes
   17291     ;;
   17292   freebsd*) # from 4.6 on
   17293     shlibpath_overrides_runpath=yes
   17294     hardcode_into_libs=yes
   17295     ;;
   17296   esac
   17297   ;;
   17298 
   17299 gnu*)
   17300   version_type=linux
   17301   need_lib_prefix=no
   17302   need_version=no
   17303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17304   soname_spec='${libname}${release}${shared_ext}$major'
   17305   shlibpath_var=LD_LIBRARY_PATH
   17306   hardcode_into_libs=yes
   17307   ;;
   17308 
   17309 hpux9* | hpux10* | hpux11*)
   17310   # Give a soname corresponding to the major version so that dld.sl refuses to
   17311   # link against other versions.
   17312   version_type=sunos
   17313   need_lib_prefix=no
   17314   need_version=no
   17315   case $host_cpu in
   17316   ia64*)
   17317     shrext_cmds='.so'
   17318     hardcode_into_libs=yes
   17319     dynamic_linker="$host_os dld.so"
   17320     shlibpath_var=LD_LIBRARY_PATH
   17321     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17323     soname_spec='${libname}${release}${shared_ext}$major'
   17324     if test "X$HPUX_IA64_MODE" = X32; then
   17325       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17326     else
   17327       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17328     fi
   17329     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17330     ;;
   17331    hppa*64*)
   17332      shrext_cmds='.sl'
   17333      hardcode_into_libs=yes
   17334      dynamic_linker="$host_os dld.sl"
   17335      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17336      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17337      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17338      soname_spec='${libname}${release}${shared_ext}$major'
   17339      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17340      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17341      ;;
   17342    *)
   17343     shrext_cmds='.sl'
   17344     dynamic_linker="$host_os dld.sl"
   17345     shlibpath_var=SHLIB_PATH
   17346     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   17350   esac
   17351   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17352   postinstall_cmds='chmod 555 $lib'
   17353   ;;
   17354 
   17355 interix3*)
   17356   version_type=linux
   17357   need_lib_prefix=no
   17358   need_version=no
   17359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17360   soname_spec='${libname}${release}${shared_ext}$major'
   17361   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17362   shlibpath_var=LD_LIBRARY_PATH
   17363   shlibpath_overrides_runpath=no
   17364   hardcode_into_libs=yes
   17365   ;;
   17366 
   17367 irix5* | irix6* | nonstopux*)
   17368   case $host_os in
   17369     nonstopux*) version_type=nonstopux ;;
   17370     *)
   17371 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17372 		version_type=linux
   17373 	else
   17374 		version_type=irix
   17375 	fi ;;
   17376   esac
   17377   need_lib_prefix=no
   17378   need_version=no
   17379   soname_spec='${libname}${release}${shared_ext}$major'
   17380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17381   case $host_os in
   17382   irix5* | nonstopux*)
   17383     libsuff= shlibsuff=
   17384     ;;
   17385   *)
   17386     case $LD in # libtool.m4 will add one of these switches to LD
   17387     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17388       libsuff= shlibsuff= libmagic=32-bit;;
   17389     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17390       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17391     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17392       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17393     *) libsuff= shlibsuff= libmagic=never-match;;
   17394     esac
   17395     ;;
   17396   esac
   17397   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17398   shlibpath_overrides_runpath=no
   17399   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17400   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17401   hardcode_into_libs=yes
   17402   ;;
   17403 
   17404 # No shared lib support for Linux oldld, aout, or coff.
   17405 linux*oldld* | linux*aout* | linux*coff*)
   17406   dynamic_linker=no
   17407   ;;
   17408 
   17409 # This must be Linux ELF.
   17410 linux*)
   17411   version_type=linux
   17412   need_lib_prefix=no
   17413   need_version=no
   17414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17415   soname_spec='${libname}${release}${shared_ext}$major'
   17416   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17417   shlibpath_var=LD_LIBRARY_PATH
   17418   shlibpath_overrides_runpath=no
   17419   # This implies no fast_install, which is unacceptable.
   17420   # Some rework will be needed to allow for fast_install
   17421   # before this can be enabled.
   17422   hardcode_into_libs=yes
   17423 
   17424   # find out which ABI we are using
   17425   libsuff=
   17426   case "$host_cpu" in
   17427   x86_64*|s390x*|powerpc64*)
   17428     echo '#line 17428 "configure"' > conftest.$ac_ext
   17429     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17430   (eval $ac_compile) 2>&5
   17431   ac_status=$?
   17432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17433   (exit $ac_status); }; then
   17434       case `/usr/bin/file conftest.$ac_objext` in
   17435       *64-bit*)
   17436         libsuff=64
   17437         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   17438         ;;
   17439       esac
   17440     fi
   17441     rm -rf conftest*
   17442     ;;
   17443   esac
   17444 
   17445   # Append ld.so.conf contents to the search path
   17446   if test -f /etc/ld.so.conf; then
   17447     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   17448     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
   17449   fi
   17450 
   17451   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17452   # powerpc, because MkLinux only supported shared libraries with the
   17453   # GNU dynamic linker.  Since this was broken with cross compilers,
   17454   # most powerpc-linux boxes support dynamic linking these days and
   17455   # people can always --disable-shared, the test was removed, and we
   17456   # assume the GNU/Linux dynamic linker is in use.
   17457   dynamic_linker='GNU/Linux ld.so'
   17458   ;;
   17459 
   17460 knetbsd*-gnu)
   17461   version_type=linux
   17462   need_lib_prefix=no
   17463   need_version=no
   17464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17465   soname_spec='${libname}${release}${shared_ext}$major'
   17466   shlibpath_var=LD_LIBRARY_PATH
   17467   shlibpath_overrides_runpath=no
   17468   hardcode_into_libs=yes
   17469   dynamic_linker='GNU ld.so'
   17470   ;;
   17471 
   17472 netbsd*)
   17473   version_type=sunos
   17474   need_lib_prefix=no
   17475   need_version=no
   17476   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17477     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17478     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17479     dynamic_linker='NetBSD (a.out) ld.so'
   17480   else
   17481     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17482     soname_spec='${libname}${release}${shared_ext}$major'
   17483     dynamic_linker='NetBSD ld.elf_so'
   17484   fi
   17485   shlibpath_var=LD_LIBRARY_PATH
   17486   shlibpath_overrides_runpath=yes
   17487   hardcode_into_libs=yes
   17488   ;;
   17489 
   17490 newsos6)
   17491   version_type=linux
   17492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17493   shlibpath_var=LD_LIBRARY_PATH
   17494   shlibpath_overrides_runpath=yes
   17495   ;;
   17496 
   17497 nto-qnx*)
   17498   version_type=linux
   17499   need_lib_prefix=no
   17500   need_version=no
   17501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17502   soname_spec='${libname}${release}${shared_ext}$major'
   17503   shlibpath_var=LD_LIBRARY_PATH
   17504   shlibpath_overrides_runpath=yes
   17505   ;;
   17506 
   17507 openbsd*)
   17508   version_type=sunos
   17509   sys_lib_dlsearch_path_spec="/usr/lib"
   17510   need_lib_prefix=no
   17511   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   17512   case $host_os in
   17513     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   17514     *)                         need_version=no  ;;
   17515   esac
   17516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17517   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17518   shlibpath_var=LD_LIBRARY_PATH
   17519   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17520     case $host_os in
   17521       openbsd2.[89] | openbsd2.[89].*)
   17522 	shlibpath_overrides_runpath=no
   17523 	;;
   17524       *)
   17525 	shlibpath_overrides_runpath=yes
   17526 	;;
   17527       esac
   17528   else
   17529     shlibpath_overrides_runpath=yes
   17530   fi
   17531   ;;
   17532 
   17533 os2*)
   17534   libname_spec='$name'
   17535   shrext_cmds=".dll"
   17536   need_lib_prefix=no
   17537   library_names_spec='$libname${shared_ext} $libname.a'
   17538   dynamic_linker='OS/2 ld.exe'
   17539   shlibpath_var=LIBPATH
   17540   ;;
   17541 
   17542 osf3* | osf4* | osf5*)
   17543   version_type=osf
   17544   need_lib_prefix=no
   17545   need_version=no
   17546   soname_spec='${libname}${release}${shared_ext}$major'
   17547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17548   shlibpath_var=LD_LIBRARY_PATH
   17549   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17550   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   17551   ;;
   17552 
   17553 solaris*)
   17554   version_type=linux
   17555   need_lib_prefix=no
   17556   need_version=no
   17557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17558   soname_spec='${libname}${release}${shared_ext}$major'
   17559   shlibpath_var=LD_LIBRARY_PATH
   17560   shlibpath_overrides_runpath=yes
   17561   hardcode_into_libs=yes
   17562   # ldd complains unless libraries are executable
   17563   postinstall_cmds='chmod +x $lib'
   17564   ;;
   17565 
   17566 sunos4*)
   17567   version_type=sunos
   17568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17569   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17570   shlibpath_var=LD_LIBRARY_PATH
   17571   shlibpath_overrides_runpath=yes
   17572   if test "$with_gnu_ld" = yes; then
   17573     need_lib_prefix=no
   17574   fi
   17575   need_version=yes
   17576   ;;
   17577 
   17578 sysv4 | sysv4.3*)
   17579   version_type=linux
   17580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17581   soname_spec='${libname}${release}${shared_ext}$major'
   17582   shlibpath_var=LD_LIBRARY_PATH
   17583   case $host_vendor in
   17584     sni)
   17585       shlibpath_overrides_runpath=no
   17586       need_lib_prefix=no
   17587       export_dynamic_flag_spec='${wl}-Blargedynsym'
   17588       runpath_var=LD_RUN_PATH
   17589       ;;
   17590     siemens)
   17591       need_lib_prefix=no
   17592       ;;
   17593     motorola)
   17594       need_lib_prefix=no
   17595       need_version=no
   17596       shlibpath_overrides_runpath=no
   17597       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17598       ;;
   17599   esac
   17600   ;;
   17601 
   17602 sysv4*MP*)
   17603   if test -d /usr/nec ;then
   17604     version_type=linux
   17605     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   17606     soname_spec='$libname${shared_ext}.$major'
   17607     shlibpath_var=LD_LIBRARY_PATH
   17608   fi
   17609   ;;
   17610 
   17611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17612   version_type=freebsd-elf
   17613   need_lib_prefix=no
   17614   need_version=no
   17615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17616   soname_spec='${libname}${release}${shared_ext}$major'
   17617   shlibpath_var=LD_LIBRARY_PATH
   17618   hardcode_into_libs=yes
   17619   if test "$with_gnu_ld" = yes; then
   17620     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17621     shlibpath_overrides_runpath=no
   17622   else
   17623     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17624     shlibpath_overrides_runpath=yes
   17625     case $host_os in
   17626       sco3.2v5*)
   17627         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17628 	;;
   17629     esac
   17630   fi
   17631   sys_lib_dlsearch_path_spec='/usr/lib'
   17632   ;;
   17633 
   17634 uts4*)
   17635   version_type=linux
   17636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17637   soname_spec='${libname}${release}${shared_ext}$major'
   17638   shlibpath_var=LD_LIBRARY_PATH
   17639   ;;
   17640 
   17641 *)
   17642   dynamic_linker=no
   17643   ;;
   17644 esac
   17645 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   17646 echo "${ECHO_T}$dynamic_linker" >&6
   17647 test "$dynamic_linker" = no && can_build_shared=no
   17648 
   17649 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17650 if test "$GCC" = yes; then
   17651   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17652 fi
   17653 
   17654 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   17655 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   17656 hardcode_action_GCJ=
   17657 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   17658    test -n "$runpath_var_GCJ" || \
   17659    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   17660 
   17661   # We can hardcode non-existant directories.
   17662   if test "$hardcode_direct_GCJ" != no &&
   17663      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17664      # have to relink, otherwise we might link with an installed library
   17665      # when we should be linking with a yet-to-be-installed one
   17666      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   17667      test "$hardcode_minus_L_GCJ" != no; then
   17668     # Linking always hardcodes the temporary library directory.
   17669     hardcode_action_GCJ=relink
   17670   else
   17671     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17672     hardcode_action_GCJ=immediate
   17673   fi
   17674 else
   17675   # We cannot hardcode anything, or else we can only hardcode existing
   17676   # directories.
   17677   hardcode_action_GCJ=unsupported
   17678 fi
   17679 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   17680 echo "${ECHO_T}$hardcode_action_GCJ" >&6
   17681 
   17682 if test "$hardcode_action_GCJ" = relink; then
   17683   # Fast installation is not supported
   17684   enable_fast_install=no
   17685 elif test "$shlibpath_overrides_runpath" = yes ||
   17686      test "$enable_shared" = no; then
   17687   # Fast installation is not necessary
   17688   enable_fast_install=needless
   17689 fi
   17690 
   17691 
   17692 # The else clause should only fire when bootstrapping the
   17693 # libtool distribution, otherwise you forgot to ship ltmain.sh
   17694 # with your package, and you will get complaints that there are
   17695 # no rules to generate ltmain.sh.
   17696 if test -f "$ltmain"; then
   17697   # See if we are running on zsh, and set the options which allow our commands through
   17698   # without removal of \ escapes.
   17699   if test -n "${ZSH_VERSION+set}" ; then
   17700     setopt NO_GLOB_SUBST
   17701   fi
   17702   # Now quote all the things that may contain metacharacters while being
   17703   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   17704   # variables and quote the copies for generation of the libtool script.
   17705   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   17706     SED SHELL STRIP \
   17707     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   17708     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   17709     deplibs_check_method reload_flag reload_cmds need_locks \
   17710     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   17711     lt_cv_sys_global_symbol_to_c_name_address \
   17712     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   17713     old_postinstall_cmds old_postuninstall_cmds \
   17714     compiler_GCJ \
   17715     CC_GCJ \
   17716     LD_GCJ \
   17717     lt_prog_compiler_wl_GCJ \
   17718     lt_prog_compiler_pic_GCJ \
   17719     lt_prog_compiler_static_GCJ \
   17720     lt_prog_compiler_no_builtin_flag_GCJ \
   17721     export_dynamic_flag_spec_GCJ \
   17722     thread_safe_flag_spec_GCJ \
   17723     whole_archive_flag_spec_GCJ \
   17724     enable_shared_with_static_runtimes_GCJ \
   17725     old_archive_cmds_GCJ \
   17726     old_archive_from_new_cmds_GCJ \
   17727     predep_objects_GCJ \
   17728     postdep_objects_GCJ \
   17729     predeps_GCJ \
   17730     postdeps_GCJ \
   17731     compiler_lib_search_path_GCJ \
   17732     archive_cmds_GCJ \
   17733     archive_expsym_cmds_GCJ \
   17734     postinstall_cmds_GCJ \
   17735     postuninstall_cmds_GCJ \
   17736     old_archive_from_expsyms_cmds_GCJ \
   17737     allow_undefined_flag_GCJ \
   17738     no_undefined_flag_GCJ \
   17739     export_symbols_cmds_GCJ \
   17740     hardcode_libdir_flag_spec_GCJ \
   17741     hardcode_libdir_flag_spec_ld_GCJ \
   17742     hardcode_libdir_separator_GCJ \
   17743     hardcode_automatic_GCJ \
   17744     module_cmds_GCJ \
   17745     module_expsym_cmds_GCJ \
   17746     lt_cv_prog_compiler_c_o_GCJ \
   17747     exclude_expsyms_GCJ \
   17748     include_expsyms_GCJ; do
   17749 
   17750     case $var in
   17751     old_archive_cmds_GCJ | \
   17752     old_archive_from_new_cmds_GCJ | \
   17753     archive_cmds_GCJ | \
   17754     archive_expsym_cmds_GCJ | \
   17755     module_cmds_GCJ | \
   17756     module_expsym_cmds_GCJ | \
   17757     old_archive_from_expsyms_cmds_GCJ | \
   17758     export_symbols_cmds_GCJ | \
   17759     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   17760     postinstall_cmds | postuninstall_cmds | \
   17761     old_postinstall_cmds | old_postuninstall_cmds | \
   17762     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   17763       # Double-quote double-evaled strings.
   17764       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   17765       ;;
   17766     *)
   17767       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   17768       ;;
   17769     esac
   17770   done
   17771 
   17772   case $lt_echo in
   17773   *'\$0 --fallback-echo"')
   17774     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   17775     ;;
   17776   esac
   17777 
   17778 cfgfile="$ofile"
   17779 
   17780   cat <<__EOF__ >> "$cfgfile"
   17781 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   17782 
   17783 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17784 
   17785 # Shell to use when invoking shell scripts.
   17786 SHELL=$lt_SHELL
   17787 
   17788 # Whether or not to build shared libraries.
   17789 build_libtool_libs=$enable_shared
   17790 
   17791 # Whether or not to build static libraries.
   17792 build_old_libs=$enable_static
   17793 
   17794 # Whether or not to add -lc for building shared libraries.
   17795 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   17796 
   17797 # Whether or not to disallow shared libs when runtime libs are static
   17798 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   17799 
   17800 # Whether or not to optimize for fast installation.
   17801 fast_install=$enable_fast_install
   17802 
   17803 # The host system.
   17804 host_alias=$host_alias
   17805 host=$host
   17806 host_os=$host_os
   17807 
   17808 # The build system.
   17809 build_alias=$build_alias
   17810 build=$build
   17811 build_os=$build_os
   17812 
   17813 # An echo program that does not interpret backslashes.
   17814 echo=$lt_echo
   17815 
   17816 # The archiver.
   17817 AR=$lt_AR
   17818 AR_FLAGS=$lt_AR_FLAGS
   17819 
   17820 # A C compiler.
   17821 LTCC=$lt_LTCC
   17822 
   17823 # LTCC compiler flags.
   17824 LTCFLAGS=$lt_LTCFLAGS
   17825 
   17826 # A language-specific compiler.
   17827 CC=$lt_compiler_GCJ
   17828 
   17829 # Is the compiler the GNU C compiler?
   17830 with_gcc=$GCC_GCJ
   17831 
   17832 # An ERE matcher.
   17833 EGREP=$lt_EGREP
   17834 
   17835 # The linker used to build libraries.
   17836 LD=$lt_LD_GCJ
   17837 
   17838 # Whether we need hard or soft links.
   17839 LN_S=$lt_LN_S
   17840 
   17841 # A BSD-compatible nm program.
   17842 NM=$lt_NM
   17843 
   17844 # A symbol stripping program
   17845 STRIP=$lt_STRIP
   17846 
   17847 # Used to examine libraries when file_magic_cmd begins "file"
   17848 MAGIC_CMD=$MAGIC_CMD
   17849 
   17850 # Used on cygwin: DLL creation program.
   17851 DLLTOOL="$DLLTOOL"
   17852 
   17853 # Used on cygwin: object dumper.
   17854 OBJDUMP="$OBJDUMP"
   17855 
   17856 # Used on cygwin: assembler.
   17857 AS="$AS"
   17858 
   17859 # The name of the directory that contains temporary libtool files.
   17860 objdir=$objdir
   17861 
   17862 # How to create reloadable object files.
   17863 reload_flag=$lt_reload_flag
   17864 reload_cmds=$lt_reload_cmds
   17865 
   17866 # How to pass a linker flag through the compiler.
   17867 wl=$lt_lt_prog_compiler_wl_GCJ
   17868 
   17869 # Object file suffix (normally "o").
   17870 objext="$ac_objext"
   17871 
   17872 # Old archive suffix (normally "a").
   17873 libext="$libext"
   17874 
   17875 # Shared library suffix (normally ".so").
   17876 shrext_cmds='$shrext_cmds'
   17877 
   17878 # Executable file suffix (normally "").
   17879 exeext="$exeext"
   17880 
   17881 # Additional compiler flags for building library objects.
   17882 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   17883 pic_mode=$pic_mode
   17884 
   17885 # What is the maximum length of a command?
   17886 max_cmd_len=$lt_cv_sys_max_cmd_len
   17887 
   17888 # Does compiler simultaneously support -c and -o options?
   17889 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   17890 
   17891 # Must we lock files when doing compilation?
   17892 need_locks=$lt_need_locks
   17893 
   17894 # Do we need the lib prefix for modules?
   17895 need_lib_prefix=$need_lib_prefix
   17896 
   17897 # Do we need a version for libraries?
   17898 need_version=$need_version
   17899 
   17900 # Whether dlopen is supported.
   17901 dlopen_support=$enable_dlopen
   17902 
   17903 # Whether dlopen of programs is supported.
   17904 dlopen_self=$enable_dlopen_self
   17905 
   17906 # Whether dlopen of statically linked programs is supported.
   17907 dlopen_self_static=$enable_dlopen_self_static
   17908 
   17909 # Compiler flag to prevent dynamic linking.
   17910 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   17911 
   17912 # Compiler flag to turn off builtin functions.
   17913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   17914 
   17915 # Compiler flag to allow reflexive dlopens.
   17916 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   17917 
   17918 # Compiler flag to generate shared objects directly from archives.
   17919 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   17920 
   17921 # Compiler flag to generate thread-safe objects.
   17922 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   17923 
   17924 # Library versioning type.
   17925 version_type=$version_type
   17926 
   17927 # Format of library name prefix.
   17928 libname_spec=$lt_libname_spec
   17929 
   17930 # List of archive names.  First name is the real one, the rest are links.
   17931 # The last name is the one that the linker finds with -lNAME.
   17932 library_names_spec=$lt_library_names_spec
   17933 
   17934 # The coded name of the library, if different from the real name.
   17935 soname_spec=$lt_soname_spec
   17936 
   17937 # Commands used to build and install an old-style archive.
   17938 RANLIB=$lt_RANLIB
   17939 old_archive_cmds=$lt_old_archive_cmds_GCJ
   17940 old_postinstall_cmds=$lt_old_postinstall_cmds
   17941 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17942 
   17943 # Create an old-style archive from a shared archive.
   17944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   17945 
   17946 # Create a temporary old-style archive to link instead of a shared archive.
   17947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   17948 
   17949 # Commands used to build and install a shared archive.
   17950 archive_cmds=$lt_archive_cmds_GCJ
   17951 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   17952 postinstall_cmds=$lt_postinstall_cmds
   17953 postuninstall_cmds=$lt_postuninstall_cmds
   17954 
   17955 # Commands used to build a loadable module (assumed same as above if empty)
   17956 module_cmds=$lt_module_cmds_GCJ
   17957 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   17958 
   17959 # Commands to strip libraries.
   17960 old_striplib=$lt_old_striplib
   17961 striplib=$lt_striplib
   17962 
   17963 # Dependencies to place before the objects being linked to create a
   17964 # shared library.
   17965 predep_objects=$lt_predep_objects_GCJ
   17966 
   17967 # Dependencies to place after the objects being linked to create a
   17968 # shared library.
   17969 postdep_objects=$lt_postdep_objects_GCJ
   17970 
   17971 # Dependencies to place before the objects being linked to create a
   17972 # shared library.
   17973 predeps=$lt_predeps_GCJ
   17974 
   17975 # Dependencies to place after the objects being linked to create a
   17976 # shared library.
   17977 postdeps=$lt_postdeps_GCJ
   17978 
   17979 # The library search path used internally by the compiler when linking
   17980 # a shared library.
   17981 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   17982 
   17983 # Method to check whether dependent libraries are shared objects.
   17984 deplibs_check_method=$lt_deplibs_check_method
   17985 
   17986 # Command to use when deplibs_check_method == file_magic.
   17987 file_magic_cmd=$lt_file_magic_cmd
   17988 
   17989 # Flag that allows shared libraries with undefined symbols to be built.
   17990 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   17991 
   17992 # Flag that forces no undefined symbols.
   17993 no_undefined_flag=$lt_no_undefined_flag_GCJ
   17994 
   17995 # Commands used to finish a libtool library installation in a directory.
   17996 finish_cmds=$lt_finish_cmds
   17997 
   17998 # Same as above, but a single script fragment to be evaled but not shown.
   17999 finish_eval=$lt_finish_eval
   18000 
   18001 # Take the output of nm and produce a listing of raw symbols and C names.
   18002 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18003 
   18004 # Transform the output of nm in a proper C declaration
   18005 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18006 
   18007 # Transform the output of nm in a C name address pair
   18008 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18009 
   18010 # This is the shared library runtime path variable.
   18011 runpath_var=$runpath_var
   18012 
   18013 # This is the shared library path variable.
   18014 shlibpath_var=$shlibpath_var
   18015 
   18016 # Is shlibpath searched before the hard-coded library search path?
   18017 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18018 
   18019 # How to hardcode a shared library path into an executable.
   18020 hardcode_action=$hardcode_action_GCJ
   18021 
   18022 # Whether we should hardcode library paths into libraries.
   18023 hardcode_into_libs=$hardcode_into_libs
   18024 
   18025 # Flag to hardcode \$libdir into a binary during linking.
   18026 # This must work even if \$libdir does not exist.
   18027 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18028 
   18029 # If ld is used when linking, flag to hardcode \$libdir into
   18030 # a binary during linking. This must work even if \$libdir does
   18031 # not exist.
   18032 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18033 
   18034 # Whether we need a single -rpath flag with a separated argument.
   18035 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18036 
   18037 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18038 # resulting binary.
   18039 hardcode_direct=$hardcode_direct_GCJ
   18040 
   18041 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18042 # resulting binary.
   18043 hardcode_minus_L=$hardcode_minus_L_GCJ
   18044 
   18045 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18046 # the resulting binary.
   18047 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18048 
   18049 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18050 # and all subsequent libraries and executables linked against it.
   18051 hardcode_automatic=$hardcode_automatic_GCJ
   18052 
   18053 # Variables whose values should be saved in libtool wrapper scripts and
   18054 # restored at relink time.
   18055 variables_saved_for_relink="$variables_saved_for_relink"
   18056 
   18057 # Whether libtool must link a program against all its dependency libraries.
   18058 link_all_deplibs=$link_all_deplibs_GCJ
   18059 
   18060 # Compile-time system search path for libraries
   18061 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18062 
   18063 # Run-time system search path for libraries
   18064 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18065 
   18066 # Fix the shell variable \$srcfile for the compiler.
   18067 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18068 
   18069 # Set to yes if exported symbols are required.
   18070 always_export_symbols=$always_export_symbols_GCJ
   18071 
   18072 # The commands to list exported symbols.
   18073 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18074 
   18075 # The commands to extract the exported symbol list from a shared archive.
   18076 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18077 
   18078 # Symbols that should not be listed in the preloaded symbols.
   18079 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18080 
   18081 # Symbols that must always be exported.
   18082 include_expsyms=$lt_include_expsyms_GCJ
   18083 
   18084 # ### END LIBTOOL TAG CONFIG: $tagname
   18085 
   18086 __EOF__
   18087 
   18088 
   18089 else
   18090   # If there is no Makefile yet, we rely on a make rule to execute
   18091   # `config.status --recheck' to rerun these tests and create the
   18092   # libtool script then.
   18093   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18094   if test -f "$ltmain_in"; then
   18095     test -f Makefile && make "$ltmain"
   18096   fi
   18097 fi
   18098 
   18099 
   18100 ac_ext=c
   18101 ac_cpp='$CPP $CPPFLAGS'
   18102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18105 
   18106 CC="$lt_save_CC"
   18107 
   18108 	else
   18109 	  tagname=""
   18110 	fi
   18111 	;;
   18112 
   18113       RC)
   18114 
   18115 
   18116 
   18117 # Source file extension for RC test sources.
   18118 ac_ext=rc
   18119 
   18120 # Object file extension for compiled RC test sources.
   18121 objext=o
   18122 objext_RC=$objext
   18123 
   18124 # Code to be used in simple compile tests
   18125 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18126 
   18127 # Code to be used in simple link tests
   18128 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18129 
   18130 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18131 
   18132 # If no C compiler was specified, use CC.
   18133 LTCC=${LTCC-"$CC"}
   18134 
   18135 # If no C compiler flags were specified, use CFLAGS.
   18136 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18137 
   18138 # Allow CC to be a program name with arguments.
   18139 compiler=$CC
   18140 
   18141 
   18142 # save warnings/boilerplate of simple test code
   18143 ac_outfile=conftest.$ac_objext
   18144 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18145 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18146 _lt_compiler_boilerplate=`cat conftest.err`
   18147 $rm conftest*
   18148 
   18149 ac_outfile=conftest.$ac_objext
   18150 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18151 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18152 _lt_linker_boilerplate=`cat conftest.err`
   18153 $rm conftest*
   18154 
   18155 
   18156 # Allow CC to be a program name with arguments.
   18157 lt_save_CC="$CC"
   18158 CC=${RC-"windres"}
   18159 compiler=$CC
   18160 compiler_RC=$CC
   18161 for cc_temp in $compiler""; do
   18162   case $cc_temp in
   18163     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18164     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18165     \-*) ;;
   18166     *) break;;
   18167   esac
   18168 done
   18169 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18170 
   18171 lt_cv_prog_compiler_c_o_RC=yes
   18172 
   18173 # The else clause should only fire when bootstrapping the
   18174 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18175 # with your package, and you will get complaints that there are
   18176 # no rules to generate ltmain.sh.
   18177 if test -f "$ltmain"; then
   18178   # See if we are running on zsh, and set the options which allow our commands through
   18179   # without removal of \ escapes.
   18180   if test -n "${ZSH_VERSION+set}" ; then
   18181     setopt NO_GLOB_SUBST
   18182   fi
   18183   # Now quote all the things that may contain metacharacters while being
   18184   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18185   # variables and quote the copies for generation of the libtool script.
   18186   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18187     SED SHELL STRIP \
   18188     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18189     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18190     deplibs_check_method reload_flag reload_cmds need_locks \
   18191     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18192     lt_cv_sys_global_symbol_to_c_name_address \
   18193     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18194     old_postinstall_cmds old_postuninstall_cmds \
   18195     compiler_RC \
   18196     CC_RC \
   18197     LD_RC \
   18198     lt_prog_compiler_wl_RC \
   18199     lt_prog_compiler_pic_RC \
   18200     lt_prog_compiler_static_RC \
   18201     lt_prog_compiler_no_builtin_flag_RC \
   18202     export_dynamic_flag_spec_RC \
   18203     thread_safe_flag_spec_RC \
   18204     whole_archive_flag_spec_RC \
   18205     enable_shared_with_static_runtimes_RC \
   18206     old_archive_cmds_RC \
   18207     old_archive_from_new_cmds_RC \
   18208     predep_objects_RC \
   18209     postdep_objects_RC \
   18210     predeps_RC \
   18211     postdeps_RC \
   18212     compiler_lib_search_path_RC \
   18213     archive_cmds_RC \
   18214     archive_expsym_cmds_RC \
   18215     postinstall_cmds_RC \
   18216     postuninstall_cmds_RC \
   18217     old_archive_from_expsyms_cmds_RC \
   18218     allow_undefined_flag_RC \
   18219     no_undefined_flag_RC \
   18220     export_symbols_cmds_RC \
   18221     hardcode_libdir_flag_spec_RC \
   18222     hardcode_libdir_flag_spec_ld_RC \
   18223     hardcode_libdir_separator_RC \
   18224     hardcode_automatic_RC \
   18225     module_cmds_RC \
   18226     module_expsym_cmds_RC \
   18227     lt_cv_prog_compiler_c_o_RC \
   18228     exclude_expsyms_RC \
   18229     include_expsyms_RC; do
   18230 
   18231     case $var in
   18232     old_archive_cmds_RC | \
   18233     old_archive_from_new_cmds_RC | \
   18234     archive_cmds_RC | \
   18235     archive_expsym_cmds_RC | \
   18236     module_cmds_RC | \
   18237     module_expsym_cmds_RC | \
   18238     old_archive_from_expsyms_cmds_RC | \
   18239     export_symbols_cmds_RC | \
   18240     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18241     postinstall_cmds | postuninstall_cmds | \
   18242     old_postinstall_cmds | old_postuninstall_cmds | \
   18243     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18244       # Double-quote double-evaled strings.
   18245       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18246       ;;
   18247     *)
   18248       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18249       ;;
   18250     esac
   18251   done
   18252 
   18253   case $lt_echo in
   18254   *'\$0 --fallback-echo"')
   18255     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18256     ;;
   18257   esac
   18258 
   18259 cfgfile="$ofile"
   18260 
   18261   cat <<__EOF__ >> "$cfgfile"
   18262 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18263 
   18264 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18265 
   18266 # Shell to use when invoking shell scripts.
   18267 SHELL=$lt_SHELL
   18268 
   18269 # Whether or not to build shared libraries.
   18270 build_libtool_libs=$enable_shared
   18271 
   18272 # Whether or not to build static libraries.
   18273 build_old_libs=$enable_static
   18274 
   18275 # Whether or not to add -lc for building shared libraries.
   18276 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18277 
   18278 # Whether or not to disallow shared libs when runtime libs are static
   18279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18280 
   18281 # Whether or not to optimize for fast installation.
   18282 fast_install=$enable_fast_install
   18283 
   18284 # The host system.
   18285 host_alias=$host_alias
   18286 host=$host
   18287 host_os=$host_os
   18288 
   18289 # The build system.
   18290 build_alias=$build_alias
   18291 build=$build
   18292 build_os=$build_os
   18293 
   18294 # An echo program that does not interpret backslashes.
   18295 echo=$lt_echo
   18296 
   18297 # The archiver.
   18298 AR=$lt_AR
   18299 AR_FLAGS=$lt_AR_FLAGS
   18300 
   18301 # A C compiler.
   18302 LTCC=$lt_LTCC
   18303 
   18304 # LTCC compiler flags.
   18305 LTCFLAGS=$lt_LTCFLAGS
   18306 
   18307 # A language-specific compiler.
   18308 CC=$lt_compiler_RC
   18309 
   18310 # Is the compiler the GNU C compiler?
   18311 with_gcc=$GCC_RC
   18312 
   18313 # An ERE matcher.
   18314 EGREP=$lt_EGREP
   18315 
   18316 # The linker used to build libraries.
   18317 LD=$lt_LD_RC
   18318 
   18319 # Whether we need hard or soft links.
   18320 LN_S=$lt_LN_S
   18321 
   18322 # A BSD-compatible nm program.
   18323 NM=$lt_NM
   18324 
   18325 # A symbol stripping program
   18326 STRIP=$lt_STRIP
   18327 
   18328 # Used to examine libraries when file_magic_cmd begins "file"
   18329 MAGIC_CMD=$MAGIC_CMD
   18330 
   18331 # Used on cygwin: DLL creation program.
   18332 DLLTOOL="$DLLTOOL"
   18333 
   18334 # Used on cygwin: object dumper.
   18335 OBJDUMP="$OBJDUMP"
   18336 
   18337 # Used on cygwin: assembler.
   18338 AS="$AS"
   18339 
   18340 # The name of the directory that contains temporary libtool files.
   18341 objdir=$objdir
   18342 
   18343 # How to create reloadable object files.
   18344 reload_flag=$lt_reload_flag
   18345 reload_cmds=$lt_reload_cmds
   18346 
   18347 # How to pass a linker flag through the compiler.
   18348 wl=$lt_lt_prog_compiler_wl_RC
   18349 
   18350 # Object file suffix (normally "o").
   18351 objext="$ac_objext"
   18352 
   18353 # Old archive suffix (normally "a").
   18354 libext="$libext"
   18355 
   18356 # Shared library suffix (normally ".so").
   18357 shrext_cmds='$shrext_cmds'
   18358 
   18359 # Executable file suffix (normally "").
   18360 exeext="$exeext"
   18361 
   18362 # Additional compiler flags for building library objects.
   18363 pic_flag=$lt_lt_prog_compiler_pic_RC
   18364 pic_mode=$pic_mode
   18365 
   18366 # What is the maximum length of a command?
   18367 max_cmd_len=$lt_cv_sys_max_cmd_len
   18368 
   18369 # Does compiler simultaneously support -c and -o options?
   18370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18371 
   18372 # Must we lock files when doing compilation?
   18373 need_locks=$lt_need_locks
   18374 
   18375 # Do we need the lib prefix for modules?
   18376 need_lib_prefix=$need_lib_prefix
   18377 
   18378 # Do we need a version for libraries?
   18379 need_version=$need_version
   18380 
   18381 # Whether dlopen is supported.
   18382 dlopen_support=$enable_dlopen
   18383 
   18384 # Whether dlopen of programs is supported.
   18385 dlopen_self=$enable_dlopen_self
   18386 
   18387 # Whether dlopen of statically linked programs is supported.
   18388 dlopen_self_static=$enable_dlopen_self_static
   18389 
   18390 # Compiler flag to prevent dynamic linking.
   18391 link_static_flag=$lt_lt_prog_compiler_static_RC
   18392 
   18393 # Compiler flag to turn off builtin functions.
   18394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18395 
   18396 # Compiler flag to allow reflexive dlopens.
   18397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18398 
   18399 # Compiler flag to generate shared objects directly from archives.
   18400 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18401 
   18402 # Compiler flag to generate thread-safe objects.
   18403 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18404 
   18405 # Library versioning type.
   18406 version_type=$version_type
   18407 
   18408 # Format of library name prefix.
   18409 libname_spec=$lt_libname_spec
   18410 
   18411 # List of archive names.  First name is the real one, the rest are links.
   18412 # The last name is the one that the linker finds with -lNAME.
   18413 library_names_spec=$lt_library_names_spec
   18414 
   18415 # The coded name of the library, if different from the real name.
   18416 soname_spec=$lt_soname_spec
   18417 
   18418 # Commands used to build and install an old-style archive.
   18419 RANLIB=$lt_RANLIB
   18420 old_archive_cmds=$lt_old_archive_cmds_RC
   18421 old_postinstall_cmds=$lt_old_postinstall_cmds
   18422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18423 
   18424 # Create an old-style archive from a shared archive.
   18425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18426 
   18427 # Create a temporary old-style archive to link instead of a shared archive.
   18428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18429 
   18430 # Commands used to build and install a shared archive.
   18431 archive_cmds=$lt_archive_cmds_RC
   18432 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   18433 postinstall_cmds=$lt_postinstall_cmds
   18434 postuninstall_cmds=$lt_postuninstall_cmds
   18435 
   18436 # Commands used to build a loadable module (assumed same as above if empty)
   18437 module_cmds=$lt_module_cmds_RC
   18438 module_expsym_cmds=$lt_module_expsym_cmds_RC
   18439 
   18440 # Commands to strip libraries.
   18441 old_striplib=$lt_old_striplib
   18442 striplib=$lt_striplib
   18443 
   18444 # Dependencies to place before the objects being linked to create a
   18445 # shared library.
   18446 predep_objects=$lt_predep_objects_RC
   18447 
   18448 # Dependencies to place after the objects being linked to create a
   18449 # shared library.
   18450 postdep_objects=$lt_postdep_objects_RC
   18451 
   18452 # Dependencies to place before the objects being linked to create a
   18453 # shared library.
   18454 predeps=$lt_predeps_RC
   18455 
   18456 # Dependencies to place after the objects being linked to create a
   18457 # shared library.
   18458 postdeps=$lt_postdeps_RC
   18459 
   18460 # The library search path used internally by the compiler when linking
   18461 # a shared library.
   18462 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   18463 
   18464 # Method to check whether dependent libraries are shared objects.
   18465 deplibs_check_method=$lt_deplibs_check_method
   18466 
   18467 # Command to use when deplibs_check_method == file_magic.
   18468 file_magic_cmd=$lt_file_magic_cmd
   18469 
   18470 # Flag that allows shared libraries with undefined symbols to be built.
   18471 allow_undefined_flag=$lt_allow_undefined_flag_RC
   18472 
   18473 # Flag that forces no undefined symbols.
   18474 no_undefined_flag=$lt_no_undefined_flag_RC
   18475 
   18476 # Commands used to finish a libtool library installation in a directory.
   18477 finish_cmds=$lt_finish_cmds
   18478 
   18479 # Same as above, but a single script fragment to be evaled but not shown.
   18480 finish_eval=$lt_finish_eval
   18481 
   18482 # Take the output of nm and produce a listing of raw symbols and C names.
   18483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18484 
   18485 # Transform the output of nm in a proper C declaration
   18486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18487 
   18488 # Transform the output of nm in a C name address pair
   18489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18490 
   18491 # This is the shared library runtime path variable.
   18492 runpath_var=$runpath_var
   18493 
   18494 # This is the shared library path variable.
   18495 shlibpath_var=$shlibpath_var
   18496 
   18497 # Is shlibpath searched before the hard-coded library search path?
   18498 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18499 
   18500 # How to hardcode a shared library path into an executable.
   18501 hardcode_action=$hardcode_action_RC
   18502 
   18503 # Whether we should hardcode library paths into libraries.
   18504 hardcode_into_libs=$hardcode_into_libs
   18505 
   18506 # Flag to hardcode \$libdir into a binary during linking.
   18507 # This must work even if \$libdir does not exist.
   18508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   18509 
   18510 # If ld is used when linking, flag to hardcode \$libdir into
   18511 # a binary during linking. This must work even if \$libdir does
   18512 # not exist.
   18513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   18514 
   18515 # Whether we need a single -rpath flag with a separated argument.
   18516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   18517 
   18518 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18519 # resulting binary.
   18520 hardcode_direct=$hardcode_direct_RC
   18521 
   18522 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18523 # resulting binary.
   18524 hardcode_minus_L=$hardcode_minus_L_RC
   18525 
   18526 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18527 # the resulting binary.
   18528 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   18529 
   18530 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18531 # and all subsequent libraries and executables linked against it.
   18532 hardcode_automatic=$hardcode_automatic_RC
   18533 
   18534 # Variables whose values should be saved in libtool wrapper scripts and
   18535 # restored at relink time.
   18536 variables_saved_for_relink="$variables_saved_for_relink"
   18537 
   18538 # Whether libtool must link a program against all its dependency libraries.
   18539 link_all_deplibs=$link_all_deplibs_RC
   18540 
   18541 # Compile-time system search path for libraries
   18542 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18543 
   18544 # Run-time system search path for libraries
   18545 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18546 
   18547 # Fix the shell variable \$srcfile for the compiler.
   18548 fix_srcfile_path="$fix_srcfile_path_RC"
   18549 
   18550 # Set to yes if exported symbols are required.
   18551 always_export_symbols=$always_export_symbols_RC
   18552 
   18553 # The commands to list exported symbols.
   18554 export_symbols_cmds=$lt_export_symbols_cmds_RC
   18555 
   18556 # The commands to extract the exported symbol list from a shared archive.
   18557 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18558 
   18559 # Symbols that should not be listed in the preloaded symbols.
   18560 exclude_expsyms=$lt_exclude_expsyms_RC
   18561 
   18562 # Symbols that must always be exported.
   18563 include_expsyms=$lt_include_expsyms_RC
   18564 
   18565 # ### END LIBTOOL TAG CONFIG: $tagname
   18566 
   18567 __EOF__
   18568 
   18569 
   18570 else
   18571   # If there is no Makefile yet, we rely on a make rule to execute
   18572   # `config.status --recheck' to rerun these tests and create the
   18573   # libtool script then.
   18574   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18575   if test -f "$ltmain_in"; then
   18576     test -f Makefile && make "$ltmain"
   18577   fi
   18578 fi
   18579 
   18580 
   18581 ac_ext=c
   18582 ac_cpp='$CPP $CPPFLAGS'
   18583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18586 
   18587 CC="$lt_save_CC"
   18588 
   18589 	;;
   18590 
   18591       *)
   18592 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   18593 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   18594    { (exit 1); exit 1; }; }
   18595 	;;
   18596       esac
   18597 
   18598       # Append the new tag name to the list of available tags.
   18599       if test -n "$tagname" ; then
   18600       available_tags="$available_tags $tagname"
   18601     fi
   18602     fi
   18603   done
   18604   IFS="$lt_save_ifs"
   18605 
   18606   # Now substitute the updated list of available tags.
   18607   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   18608     mv "${ofile}T" "$ofile"
   18609     chmod +x "$ofile"
   18610   else
   18611     rm -f "${ofile}T"
   18612     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   18613 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   18614    { (exit 1); exit 1; }; }
   18615   fi
   18616 fi
   18617 
   18618 
   18619 
   18620 # This can be used to rebuild libtool when needed
   18621 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   18622 
   18623 # Always use our own libtool.
   18624 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   18625 
   18626 # Prevent multiple expansion
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 # Checks for pkg-config packages
   18649 
   18650 
   18651 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   18652 	if test -n "$ac_tool_prefix"; then
   18653   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   18654 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   18655 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18657 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   18658   echo $ECHO_N "(cached) $ECHO_C" >&6
   18659 else
   18660   case $PKG_CONFIG in
   18661   [\\/]* | ?:[\\/]*)
   18662   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   18663   ;;
   18664   *)
   18665   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18666 for as_dir in $PATH
   18667 do
   18668   IFS=$as_save_IFS
   18669   test -z "$as_dir" && as_dir=.
   18670   for ac_exec_ext in '' $ac_executable_extensions; do
   18671   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18672     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18673     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18674     break 2
   18675   fi
   18676 done
   18677 done
   18678 
   18679   ;;
   18680 esac
   18681 fi
   18682 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   18683 
   18684 if test -n "$PKG_CONFIG"; then
   18685   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   18686 echo "${ECHO_T}$PKG_CONFIG" >&6
   18687 else
   18688   echo "$as_me:$LINENO: result: no" >&5
   18689 echo "${ECHO_T}no" >&6
   18690 fi
   18691 
   18692 fi
   18693 if test -z "$ac_cv_path_PKG_CONFIG"; then
   18694   ac_pt_PKG_CONFIG=$PKG_CONFIG
   18695   # Extract the first word of "pkg-config", so it can be a program name with args.
   18696 set dummy pkg-config; ac_word=$2
   18697 echo "$as_me:$LINENO: checking for $ac_word" >&5
   18698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   18699 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   18700   echo $ECHO_N "(cached) $ECHO_C" >&6
   18701 else
   18702   case $ac_pt_PKG_CONFIG in
   18703   [\\/]* | ?:[\\/]*)
   18704   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   18705   ;;
   18706   *)
   18707   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18708 for as_dir in $PATH
   18709 do
   18710   IFS=$as_save_IFS
   18711   test -z "$as_dir" && as_dir=.
   18712   for ac_exec_ext in '' $ac_executable_extensions; do
   18713   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18714     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   18715     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   18716     break 2
   18717   fi
   18718 done
   18719 done
   18720 
   18721   ;;
   18722 esac
   18723 fi
   18724 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   18725 
   18726 if test -n "$ac_pt_PKG_CONFIG"; then
   18727   echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   18728 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
   18729 else
   18730   echo "$as_me:$LINENO: result: no" >&5
   18731 echo "${ECHO_T}no" >&6
   18732 fi
   18733 
   18734   PKG_CONFIG=$ac_pt_PKG_CONFIG
   18735 else
   18736   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   18737 fi
   18738 
   18739 fi
   18740 if test -n "$PKG_CONFIG"; then
   18741 	_pkg_min_version=0.9.0
   18742 	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   18743 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
   18744 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   18745 		echo "$as_me:$LINENO: result: yes" >&5
   18746 echo "${ECHO_T}yes" >&6
   18747 	else
   18748 		echo "$as_me:$LINENO: result: no" >&5
   18749 echo "${ECHO_T}no" >&6
   18750 		PKG_CONFIG=""
   18751 	fi
   18752 
   18753 fi
   18754 
   18755 pkg_failed=no
   18756 echo "$as_me:$LINENO: checking for XXF86VM" >&5
   18757 echo $ECHO_N "checking for XXF86VM... $ECHO_C" >&6
   18758 
   18759 if test -n "$PKG_CONFIG"; then
   18760     if test -n "$XXF86VM_CFLAGS"; then
   18761         pkg_cv_XXF86VM_CFLAGS="$XXF86VM_CFLAGS"
   18762     else
   18763         if test -n "$PKG_CONFIG" && \
   18764     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86vidmodeproto\"") >&5
   18765   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86vidmodeproto") 2>&5
   18766   ac_status=$?
   18767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18768   (exit $ac_status); }; then
   18769   pkg_cv_XXF86VM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xext xf86vidmodeproto" 2>/dev/null`
   18770 else
   18771   pkg_failed=yes
   18772 fi
   18773     fi
   18774 else
   18775 	pkg_failed=untried
   18776 fi
   18777 if test -n "$PKG_CONFIG"; then
   18778     if test -n "$XXF86VM_LIBS"; then
   18779         pkg_cv_XXF86VM_LIBS="$XXF86VM_LIBS"
   18780     else
   18781         if test -n "$PKG_CONFIG" && \
   18782     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86vidmodeproto\"") >&5
   18783   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86vidmodeproto") 2>&5
   18784   ac_status=$?
   18785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18786   (exit $ac_status); }; then
   18787   pkg_cv_XXF86VM_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xext xf86vidmodeproto" 2>/dev/null`
   18788 else
   18789   pkg_failed=yes
   18790 fi
   18791     fi
   18792 else
   18793 	pkg_failed=untried
   18794 fi
   18795 
   18796 
   18797 
   18798 if test $pkg_failed = yes; then
   18799 
   18800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18801         _pkg_short_errors_supported=yes
   18802 else
   18803         _pkg_short_errors_supported=no
   18804 fi
   18805         if test $_pkg_short_errors_supported = yes; then
   18806 	        XXF86VM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto x11 xextproto xext xf86vidmodeproto"`
   18807         else
   18808 	        XXF86VM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto x11 xextproto xext xf86vidmodeproto"`
   18809         fi
   18810 	# Put the nasty error message in config.log where it belongs
   18811 	echo "$XXF86VM_PKG_ERRORS" >&5
   18812 
   18813 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto x11 xextproto xext xf86vidmodeproto) were not met:
   18814 
   18815 $XXF86VM_PKG_ERRORS
   18816 
   18817 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18818 installed software in a non-standard prefix.
   18819 
   18820 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   18821 and XXF86VM_LIBS to avoid the need to call pkg-config.
   18822 See the pkg-config man page for more details.
   18823 " >&5
   18824 echo "$as_me: error: Package requirements (xproto x11 xextproto xext xf86vidmodeproto) were not met:
   18825 
   18826 $XXF86VM_PKG_ERRORS
   18827 
   18828 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18829 installed software in a non-standard prefix.
   18830 
   18831 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   18832 and XXF86VM_LIBS to avoid the need to call pkg-config.
   18833 See the pkg-config man page for more details.
   18834 " >&2;}
   18835    { (exit 1); exit 1; }; }
   18836 elif test $pkg_failed = untried; then
   18837 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   18838 is in your PATH or set the PKG_CONFIG environment variable to the full
   18839 path to pkg-config.
   18840 
   18841 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   18842 and XXF86VM_LIBS to avoid the need to call pkg-config.
   18843 See the pkg-config man page for more details.
   18844 
   18845 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   18846 See \`config.log' for more details." >&5
   18847 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   18848 is in your PATH or set the PKG_CONFIG environment variable to the full
   18849 path to pkg-config.
   18850 
   18851 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   18852 and XXF86VM_LIBS to avoid the need to call pkg-config.
   18853 See the pkg-config man page for more details.
   18854 
   18855 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   18856 See \`config.log' for more details." >&2;}
   18857    { (exit 1); exit 1; }; }
   18858 else
   18859 	XXF86VM_CFLAGS=$pkg_cv_XXF86VM_CFLAGS
   18860 	XXF86VM_LIBS=$pkg_cv_XXF86VM_LIBS
   18861         echo "$as_me:$LINENO: result: yes" >&5
   18862 echo "${ECHO_T}yes" >&6
   18863 	:
   18864 fi
   18865 
   18866 
   18867 # Check whether --enable-malloc0returnsnull or --disable-malloc0returnsnull was given.
   18868 if test "${enable_malloc0returnsnull+set}" = set; then
   18869   enableval="$enable_malloc0returnsnull"
   18870   MALLOC_ZERO_RETURNS_NULL=$enableval
   18871 else
   18872   MALLOC_ZERO_RETURNS_NULL=auto
   18873 fi;
   18874 
   18875 echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   18876 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6
   18877 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   18878 	if test "$cross_compiling" = yes; then
   18879   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   18880 See \`config.log' for more details." >&5
   18881 echo "$as_me: error: cannot run test program while cross compiling
   18882 See \`config.log' for more details." >&2;}
   18883    { (exit 1); exit 1; }; }
   18884 else
   18885   cat >conftest.$ac_ext <<_ACEOF
   18886 
   18887 char *malloc();
   18888 char *realloc();
   18889 char *calloc();
   18890 main() {
   18891     char *m0, *r0, *c0, *p;
   18892     m0 = malloc(0);
   18893     p = malloc(10);
   18894     r0 = realloc(p,0);
   18895     c0 = calloc(0);
   18896     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   18897 }
   18898 _ACEOF
   18899 rm -f conftest$ac_exeext
   18900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   18901   (eval $ac_link) 2>&5
   18902   ac_status=$?
   18903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18904   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   18905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   18906   (eval $ac_try) 2>&5
   18907   ac_status=$?
   18908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18909   (exit $ac_status); }; }; then
   18910   MALLOC_ZERO_RETURNS_NULL=yes
   18911 else
   18912   echo "$as_me: program exited with status $ac_status" >&5
   18913 echo "$as_me: failed program was:" >&5
   18914 sed 's/^/| /' conftest.$ac_ext >&5
   18915 
   18916 ( exit $ac_status )
   18917 MALLOC_ZERO_RETURNS_NULL=no
   18918 fi
   18919 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   18920 fi
   18921 fi
   18922 echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18923 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6
   18924 
   18925 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18926 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18927 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18928 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18929 else
   18930 	MALLOC_ZERO_CFLAGS=""
   18931 	XMALLOC_ZERO_CFLAGS=""
   18932 	XTMALLOC_ZERO_CFLAGS=""
   18933 fi
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 
   18941 
   18942 if test x$APP_MAN_SUFFIX = x    ; then
   18943     case $host_os in
   18944 	linux*)	APP_MAN_SUFFIX=1x ;;
   18945 	*)	APP_MAN_SUFFIX=1  ;;
   18946     esac
   18947 fi
   18948 if test x$APP_MAN_DIR = x    ; then
   18949     case $host_os in
   18950 	linux*)	APP_MAN_DIR='$(mandir)/man1' ;;
   18951 	*)	APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
   18952     esac
   18953 fi
   18954 
   18955 if test x$LIB_MAN_SUFFIX = x    ; then
   18956     case $host_os in
   18957 	linux*)	LIB_MAN_SUFFIX=3x ;;
   18958 	*)	LIB_MAN_SUFFIX=3  ;;
   18959     esac
   18960 fi
   18961 if test x$LIB_MAN_DIR = x    ; then
   18962     case $host_os in
   18963 	linux*)	LIB_MAN_DIR='$(mandir)/man3' ;;
   18964 	*)	LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
   18965     esac
   18966 fi
   18967 
   18968 if test x$FILE_MAN_SUFFIX = x    ; then
   18969     case $host_os in
   18970 	linux*)		FILE_MAN_SUFFIX=5x ;;
   18971 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   18972 	*)		FILE_MAN_SUFFIX=5  ;;
   18973     esac
   18974 fi
   18975 if test x$FILE_MAN_DIR = x    ; then
   18976     case $host_os in
   18977 	linux*)	FILE_MAN_DIR='$(mandir)/man5' ;;
   18978 	*)	FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
   18979     esac
   18980 fi
   18981 
   18982 # In Imake's linux.cf, the misc man suffix & dir was only changed for
   18983 # LinuxDebian, not other Linuxes, so we leave it unchanged here
   18984 if test x$MISC_MAN_SUFFIX = x    ; then
   18985     case $host_os in
   18986 #	linux*)		MISC_MAN_SUFFIX=7x ;;
   18987 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   18988 	*)		MISC_MAN_SUFFIX=7  ;;
   18989     esac
   18990 fi
   18991 if test x$MISC_MAN_DIR = x    ; then
   18992     case $host_os in
   18993 #	linux*)	MISC_MAN_DIR='$(mandir)/man7' ;;
   18994 	*)	MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
   18995     esac
   18996 fi
   18997 
   18998 # In Imake's linux.cf, the driver man suffix & dir was only changed for
   18999 # LinuxDebian, not other Linuxes, so we leave it unchanged here
   19000 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19001     case $host_os in
   19002 #	linux*)		DRIVER_MAN_SUFFIX=4x ;;
   19003 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   19004 	*)		DRIVER_MAN_SUFFIX=4  ;;
   19005     esac
   19006 fi
   19007 if test x$DRIVER_MAN_DIR = x    ; then
   19008     case $host_os in
   19009 #	linux*)	DRIVER_MAN_DIR='$(mandir)/man4' ;;
   19010 	*)	DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
   19011     esac
   19012 fi
   19013 
   19014 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19015     case $host_os in
   19016 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   19017 	*)		ADMIN_MAN_SUFFIX=8  ;;
   19018     esac
   19019 fi
   19020 if test x$ADMIN_MAN_DIR = x    ; then
   19021     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19022 fi
   19023 
   19024 
   19025 
   19026 
   19027 
   19028 
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035 
   19036 
   19037 
   19038 
   19039 
   19040 # Check whether --with-release-version or --without-release-version was given.
   19041 if test "${with_release_version+set}" = set; then
   19042   withval="$with_release_version"
   19043   RELEASE_VERSION="$withval"
   19044 else
   19045   RELEASE_VERSION=""
   19046 fi;
   19047 	if test "x$RELEASE_VERSION" != "x"; then
   19048 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   19049 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   19050 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   19051 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   19052 	fi
   19053 
   19054 
   19055                                         ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xxf86vm.pc"
   19056 cat >confcache <<\_ACEOF
   19057 # This file is a shell script that caches the results of configure
   19058 # tests run on this system so they can be shared between configure
   19059 # scripts and configure runs, see configure's option --config-cache.
   19060 # It is not useful on other systems.  If it contains results you don't
   19061 # want to keep, you may remove or edit it.
   19062 #
   19063 # config.status only pays attention to the cache file if you give it
   19064 # the --recheck option to rerun configure.
   19065 #
   19066 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19067 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19068 # following values.
   19069 
   19070 _ACEOF
   19071 
   19072 # The following way of writing the cache mishandles newlines in values,
   19073 # but we know of no workaround that is simple, portable, and efficient.
   19074 # So, don't put newlines in cache variables' values.
   19075 # Ultrix sh set writes to stderr and can't be redirected directly,
   19076 # and sets the high bit in the cache file unless we assign to the vars.
   19077 {
   19078   (set) 2>&1 |
   19079     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   19080     *ac_space=\ *)
   19081       # `set' does not quote correctly, so add quotes (double-quote
   19082       # substitution turns \\\\ into \\, and sed turns \\ into \).
   19083       sed -n \
   19084 	"s/'/'\\\\''/g;
   19085 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19086       ;;
   19087     *)
   19088       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19089       sed -n \
   19090 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   19091       ;;
   19092     esac;
   19093 } |
   19094   sed '
   19095      t clear
   19096      : clear
   19097      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19098      t end
   19099      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19100      : end' >>confcache
   19101 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   19102   if test -w $cache_file; then
   19103     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   19104     cat confcache >$cache_file
   19105   else
   19106     echo "not updating unwritable cache $cache_file"
   19107   fi
   19108 fi
   19109 rm -f confcache
   19110 
   19111 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19112 # Let make expand exec_prefix.
   19113 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19114 
   19115 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   19116 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   19117 # trailing colons and then remove the whole line if VPATH becomes empty
   19118 # (actually we leave an empty line to preserve line numbers).
   19119 if test "x$srcdir" = x.; then
   19120   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   19121 s/:*\$(srcdir):*/:/;
   19122 s/:*\${srcdir}:*/:/;
   19123 s/:*@srcdir@:*/:/;
   19124 s/^\([^=]*=[	 ]*\):*/\1/;
   19125 s/:*$//;
   19126 s/^[^=]*=[	 ]*$//;
   19127 }'
   19128 fi
   19129 
   19130 DEFS=-DHAVE_CONFIG_H
   19131 
   19132 ac_libobjs=
   19133 ac_ltlibobjs=
   19134 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19135   # 1. Remove the extension, and $U if already installed.
   19136   ac_i=`echo "$ac_i" |
   19137 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   19138   # 2. Add them.
   19139   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   19140   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   19141 done
   19142 LIBOBJS=$ac_libobjs
   19143 
   19144 LTLIBOBJS=$ac_ltlibobjs
   19145 
   19146 
   19147 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19148   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   19149 Usually this means the macro was only invoked conditionally." >&5
   19150 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   19151 Usually this means the macro was only invoked conditionally." >&2;}
   19152    { (exit 1); exit 1; }; }
   19153 fi
   19154 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19155   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   19156 Usually this means the macro was only invoked conditionally." >&5
   19157 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   19158 Usually this means the macro was only invoked conditionally." >&2;}
   19159    { (exit 1); exit 1; }; }
   19160 fi
   19161 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19162   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   19163 Usually this means the macro was only invoked conditionally." >&5
   19164 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   19165 Usually this means the macro was only invoked conditionally." >&2;}
   19166    { (exit 1); exit 1; }; }
   19167 fi
   19168 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19169   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   19170 Usually this means the macro was only invoked conditionally." >&5
   19171 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   19172 Usually this means the macro was only invoked conditionally." >&2;}
   19173    { (exit 1); exit 1; }; }
   19174 fi
   19175 
   19176 : ${CONFIG_STATUS=./config.status}
   19177 ac_clean_files_save=$ac_clean_files
   19178 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19179 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   19180 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19181 cat >$CONFIG_STATUS <<_ACEOF
   19182 #! $SHELL
   19183 # Generated by $as_me.
   19184 # Run this file to recreate the current configuration.
   19185 # Compiler output produced by configure, useful for debugging
   19186 # configure, is in config.log if it exists.
   19187 
   19188 debug=false
   19189 ac_cs_recheck=false
   19190 ac_cs_silent=false
   19191 SHELL=\${CONFIG_SHELL-$SHELL}
   19192 _ACEOF
   19193 
   19194 cat >>$CONFIG_STATUS <<\_ACEOF
   19195 ## --------------------- ##
   19196 ## M4sh Initialization.  ##
   19197 ## --------------------- ##
   19198 
   19199 # Be Bourne compatible
   19200 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19201   emulate sh
   19202   NULLCMD=:
   19203   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19204   # is contrary to our usage.  Disable this feature.
   19205   alias -g '${1+"$@"}'='"$@"'
   19206 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   19207   set -o posix
   19208 fi
   19209 DUALCASE=1; export DUALCASE # for MKS sh
   19210 
   19211 # Support unset when possible.
   19212 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   19213   as_unset=unset
   19214 else
   19215   as_unset=false
   19216 fi
   19217 
   19218 
   19219 # Work around bugs in pre-3.0 UWIN ksh.
   19220 $as_unset ENV MAIL MAILPATH
   19221 PS1='$ '
   19222 PS2='> '
   19223 PS4='+ '
   19224 
   19225 # NLS nuisances.
   19226 for as_var in \
   19227   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   19228   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   19229   LC_TELEPHONE LC_TIME
   19230 do
   19231   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   19232     eval $as_var=C; export $as_var
   19233   else
   19234     $as_unset $as_var
   19235   fi
   19236 done
   19237 
   19238 # Required to use basename.
   19239 if expr a : '\(a\)' >/dev/null 2>&1; then
   19240   as_expr=expr
   19241 else
   19242   as_expr=false
   19243 fi
   19244 
   19245 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   19246   as_basename=basename
   19247 else
   19248   as_basename=false
   19249 fi
   19250 
   19251 
   19252 # Name of the executable.
   19253 as_me=`$as_basename "$0" ||
   19254 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19255 	 X"$0" : 'X\(//\)$' \| \
   19256 	 X"$0" : 'X\(/\)$' \| \
   19257 	 .     : '\(.\)' 2>/dev/null ||
   19258 echo X/"$0" |
   19259     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   19260   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   19261   	  /^X\/\(\/\).*/{ s//\1/; q; }
   19262   	  s/.*/./; q'`
   19263 
   19264 
   19265 # PATH needs CR, and LINENO needs CR and PATH.
   19266 # Avoid depending upon Character Ranges.
   19267 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19268 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19269 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19270 as_cr_digits='0123456789'
   19271 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19272 
   19273 # The user is always right.
   19274 if test "${PATH_SEPARATOR+set}" != set; then
   19275   echo "#! /bin/sh" >conf$$.sh
   19276   echo  "exit 0"   >>conf$$.sh
   19277   chmod +x conf$$.sh
   19278   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   19279     PATH_SEPARATOR=';'
   19280   else
   19281     PATH_SEPARATOR=:
   19282   fi
   19283   rm -f conf$$.sh
   19284 fi
   19285 
   19286 
   19287   as_lineno_1=$LINENO
   19288   as_lineno_2=$LINENO
   19289   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   19290   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19291   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   19292   # Find who we are.  Look in the path if we contain no path at all
   19293   # relative or not.
   19294   case $0 in
   19295     *[\\/]* ) as_myself=$0 ;;
   19296     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19297 for as_dir in $PATH
   19298 do
   19299   IFS=$as_save_IFS
   19300   test -z "$as_dir" && as_dir=.
   19301   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19302 done
   19303 
   19304        ;;
   19305   esac
   19306   # We did not find ourselves, most probably we were run as `sh COMMAND'
   19307   # in which case we are not to be found in the path.
   19308   if test "x$as_myself" = x; then
   19309     as_myself=$0
   19310   fi
   19311   if test ! -f "$as_myself"; then
   19312     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   19313 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   19314    { (exit 1); exit 1; }; }
   19315   fi
   19316   case $CONFIG_SHELL in
   19317   '')
   19318     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19319 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   19320 do
   19321   IFS=$as_save_IFS
   19322   test -z "$as_dir" && as_dir=.
   19323   for as_base in sh bash ksh sh5; do
   19324 	 case $as_dir in
   19325 	 /*)
   19326 	   if ("$as_dir/$as_base" -c '
   19327   as_lineno_1=$LINENO
   19328   as_lineno_2=$LINENO
   19329   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   19330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19331   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   19332 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   19333 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   19334 	     CONFIG_SHELL=$as_dir/$as_base
   19335 	     export CONFIG_SHELL
   19336 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   19337 	   fi;;
   19338 	 esac
   19339        done
   19340 done
   19341 ;;
   19342   esac
   19343 
   19344   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   19345   # uniformly replaced by the line number.  The first 'sed' inserts a
   19346   # line-number line before each line; the second 'sed' does the real
   19347   # work.  The second script uses 'N' to pair each line-number line
   19348   # with the numbered line, and appends trailing '-' during
   19349   # substitution so that $LINENO is not a special case at line end.
   19350   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   19351   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   19352   sed '=' <$as_myself |
   19353     sed '
   19354       N
   19355       s,$,-,
   19356       : loop
   19357       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   19358       t loop
   19359       s,-$,,
   19360       s,^['$as_cr_digits']*\n,,
   19361     ' >$as_me.lineno &&
   19362   chmod +x $as_me.lineno ||
   19363     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   19364 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   19365    { (exit 1); exit 1; }; }
   19366 
   19367   # Don't try to exec as it changes $[0], causing all sort of problems
   19368   # (the dirname of $[0] is not the place where we might find the
   19369   # original and so on.  Autoconf is especially sensible to this).
   19370   . ./$as_me.lineno
   19371   # Exit status is that of the last command.
   19372   exit
   19373 }
   19374 
   19375 
   19376 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   19377   *c*,-n*) ECHO_N= ECHO_C='
   19378 ' ECHO_T='	' ;;
   19379   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   19380   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   19381 esac
   19382 
   19383 if expr a : '\(a\)' >/dev/null 2>&1; then
   19384   as_expr=expr
   19385 else
   19386   as_expr=false
   19387 fi
   19388 
   19389 rm -f conf$$ conf$$.exe conf$$.file
   19390 echo >conf$$.file
   19391 if ln -s conf$$.file conf$$ 2>/dev/null; then
   19392   # We could just check for DJGPP; but this test a) works b) is more generic
   19393   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   19394   if test -f conf$$.exe; then
   19395     # Don't use ln at all; we don't have any links
   19396     as_ln_s='cp -p'
   19397   else
   19398     as_ln_s='ln -s'
   19399   fi
   19400 elif ln conf$$.file conf$$ 2>/dev/null; then
   19401   as_ln_s=ln
   19402 else
   19403   as_ln_s='cp -p'
   19404 fi
   19405 rm -f conf$$ conf$$.exe conf$$.file
   19406 
   19407 if mkdir -p . 2>/dev/null; then
   19408   as_mkdir_p=:
   19409 else
   19410   test -d ./-p && rmdir ./-p
   19411   as_mkdir_p=false
   19412 fi
   19413 
   19414 as_executable_p="test -f"
   19415 
   19416 # Sed expression to map a string onto a valid CPP name.
   19417 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19418 
   19419 # Sed expression to map a string onto a valid variable name.
   19420 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19421 
   19422 
   19423 # IFS
   19424 # We need space, tab and new line, in precisely that order.
   19425 as_nl='
   19426 '
   19427 IFS=" 	$as_nl"
   19428 
   19429 # CDPATH.
   19430 $as_unset CDPATH
   19431 
   19432 exec 6>&1
   19433 
   19434 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   19435 # report actual input values of CONFIG_FILES etc. instead of their
   19436 # values after options handling.  Logging --version etc. is OK.
   19437 exec 5>>config.log
   19438 {
   19439   echo
   19440   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19441 ## Running $as_me. ##
   19442 _ASBOX
   19443 } >&5
   19444 cat >&5 <<_CSEOF
   19445 
   19446 This file was extended by libXxf86vm $as_me 1.0.1, which was
   19447 generated by GNU Autoconf 2.59.  Invocation command line was
   19448 
   19449   CONFIG_FILES    = $CONFIG_FILES
   19450   CONFIG_HEADERS  = $CONFIG_HEADERS
   19451   CONFIG_LINKS    = $CONFIG_LINKS
   19452   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19453   $ $0 $@
   19454 
   19455 _CSEOF
   19456 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   19457 echo >&5
   19458 _ACEOF
   19459 
   19460 # Files that config.status was made for.
   19461 if test -n "$ac_config_files"; then
   19462   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   19463 fi
   19464 
   19465 if test -n "$ac_config_headers"; then
   19466   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   19467 fi
   19468 
   19469 if test -n "$ac_config_links"; then
   19470   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   19471 fi
   19472 
   19473 if test -n "$ac_config_commands"; then
   19474   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   19475 fi
   19476 
   19477 cat >>$CONFIG_STATUS <<\_ACEOF
   19478 
   19479 ac_cs_usage="\
   19480 \`$as_me' instantiates files from templates according to the
   19481 current configuration.
   19482 
   19483 Usage: $0 [OPTIONS] [FILE]...
   19484 
   19485   -h, --help       print this help, then exit
   19486   -V, --version    print version number, then exit
   19487   -q, --quiet      do not print progress messages
   19488   -d, --debug      don't remove temporary files
   19489       --recheck    update $as_me by reconfiguring in the same conditions
   19490   --file=FILE[:TEMPLATE]
   19491 		   instantiate the configuration file FILE
   19492   --header=FILE[:TEMPLATE]
   19493 		   instantiate the configuration header FILE
   19494 
   19495 Configuration files:
   19496 $config_files
   19497 
   19498 Configuration headers:
   19499 $config_headers
   19500 
   19501 Configuration commands:
   19502 $config_commands
   19503 
   19504 Report bugs to <bug-autoconf@gnu.org>."
   19505 _ACEOF
   19506 
   19507 cat >>$CONFIG_STATUS <<_ACEOF
   19508 ac_cs_version="\\
   19509 libXxf86vm config.status 1.0.1
   19510 configured by $0, generated by GNU Autoconf 2.59,
   19511   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   19512 
   19513 Copyright (C) 2003 Free Software Foundation, Inc.
   19514 This config.status script is free software; the Free Software Foundation
   19515 gives unlimited permission to copy, distribute and modify it."
   19516 srcdir=$srcdir
   19517 INSTALL="$INSTALL"
   19518 _ACEOF
   19519 
   19520 cat >>$CONFIG_STATUS <<\_ACEOF
   19521 # If no file are specified by the user, then we need to provide default
   19522 # value.  By we need to know if files were specified by the user.
   19523 ac_need_defaults=:
   19524 while test $# != 0
   19525 do
   19526   case $1 in
   19527   --*=*)
   19528     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   19529     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   19530     ac_shift=:
   19531     ;;
   19532   -*)
   19533     ac_option=$1
   19534     ac_optarg=$2
   19535     ac_shift=shift
   19536     ;;
   19537   *) # This is not an option, so the user has probably given explicit
   19538      # arguments.
   19539      ac_option=$1
   19540      ac_need_defaults=false;;
   19541   esac
   19542 
   19543   case $ac_option in
   19544   # Handling of the options.
   19545 _ACEOF
   19546 cat >>$CONFIG_STATUS <<\_ACEOF
   19547   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19548     ac_cs_recheck=: ;;
   19549   --version | --vers* | -V )
   19550     echo "$ac_cs_version"; exit 0 ;;
   19551   --he | --h)
   19552     # Conflict between --help and --header
   19553     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   19554 Try \`$0 --help' for more information." >&5
   19555 echo "$as_me: error: ambiguous option: $1
   19556 Try \`$0 --help' for more information." >&2;}
   19557    { (exit 1); exit 1; }; };;
   19558   --help | --hel | -h )
   19559     echo "$ac_cs_usage"; exit 0 ;;
   19560   --debug | --d* | -d )
   19561     debug=: ;;
   19562   --file | --fil | --fi | --f )
   19563     $ac_shift
   19564     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   19565     ac_need_defaults=false;;
   19566   --header | --heade | --head | --hea )
   19567     $ac_shift
   19568     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   19569     ac_need_defaults=false;;
   19570   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19571   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19572     ac_cs_silent=: ;;
   19573 
   19574   # This is an error.
   19575   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   19576 Try \`$0 --help' for more information." >&5
   19577 echo "$as_me: error: unrecognized option: $1
   19578 Try \`$0 --help' for more information." >&2;}
   19579    { (exit 1); exit 1; }; } ;;
   19580 
   19581   *) ac_config_targets="$ac_config_targets $1" ;;
   19582 
   19583   esac
   19584   shift
   19585 done
   19586 
   19587 ac_configure_extra_args=
   19588 
   19589 if $ac_cs_silent; then
   19590   exec 6>/dev/null
   19591   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19592 fi
   19593 
   19594 _ACEOF
   19595 cat >>$CONFIG_STATUS <<_ACEOF
   19596 if \$ac_cs_recheck; then
   19597   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   19598   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19599 fi
   19600 
   19601 _ACEOF
   19602 
   19603 cat >>$CONFIG_STATUS <<_ACEOF
   19604 #
   19605 # INIT-COMMANDS section.
   19606 #
   19607 
   19608 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19609 
   19610 _ACEOF
   19611 
   19612 
   19613 
   19614 cat >>$CONFIG_STATUS <<\_ACEOF
   19615 for ac_config_target in $ac_config_targets
   19616 do
   19617   case "$ac_config_target" in
   19618   # Handling of arguments.
   19619   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19620   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19621   "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19622   "xxf86vm.pc" ) CONFIG_FILES="$CONFIG_FILES xxf86vm.pc" ;;
   19623   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19624   "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   19625   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   19626 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   19627    { (exit 1); exit 1; }; };;
   19628   esac
   19629 done
   19630 
   19631 # If the user did not use the arguments to specify the items to instantiate,
   19632 # then the envvar interface is used.  Set only those that are not.
   19633 # We use the long form for the default assignment because of an extremely
   19634 # bizarre bug on SunOS 4.1.3.
   19635 if $ac_need_defaults; then
   19636   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19637   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19638   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19639 fi
   19640 
   19641 # Have a temporary directory for convenience.  Make it in the build tree
   19642 # simply because there is no reason to put it here, and in addition,
   19643 # creating and moving files from /tmp can sometimes cause problems.
   19644 # Create a temporary directory, and hook for its removal unless debugging.
   19645 $debug ||
   19646 {
   19647   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   19648   trap '{ (exit 1); exit 1; }' 1 2 13 15
   19649 }
   19650 
   19651 # Create a (secure) tmp directory for tmp files.
   19652 
   19653 {
   19654   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   19655   test -n "$tmp" && test -d "$tmp"
   19656 }  ||
   19657 {
   19658   tmp=./confstat$$-$RANDOM
   19659   (umask 077 && mkdir $tmp)
   19660 } ||
   19661 {
   19662    echo "$me: cannot create a temporary directory in ." >&2
   19663    { (exit 1); exit 1; }
   19664 }
   19665 
   19666 _ACEOF
   19667 
   19668 cat >>$CONFIG_STATUS <<_ACEOF
   19669 
   19670 #
   19671 # CONFIG_FILES section.
   19672 #
   19673 
   19674 # No need to generate the scripts if there are no CONFIG_FILES.
   19675 # This happens for instance when ./config.status config.h
   19676 if test -n "\$CONFIG_FILES"; then
   19677   # Protect against being on the right side of a sed subst in config.status.
   19678   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   19679    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   19680 s,@SHELL@,$SHELL,;t t
   19681 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   19682 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   19683 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   19684 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   19685 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   19686 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   19687 s,@exec_prefix@,$exec_prefix,;t t
   19688 s,@prefix@,$prefix,;t t
   19689 s,@program_transform_name@,$program_transform_name,;t t
   19690 s,@bindir@,$bindir,;t t
   19691 s,@sbindir@,$sbindir,;t t
   19692 s,@libexecdir@,$libexecdir,;t t
   19693 s,@datadir@,$datadir,;t t
   19694 s,@sysconfdir@,$sysconfdir,;t t
   19695 s,@sharedstatedir@,$sharedstatedir,;t t
   19696 s,@localstatedir@,$localstatedir,;t t
   19697 s,@libdir@,$libdir,;t t
   19698 s,@includedir@,$includedir,;t t
   19699 s,@oldincludedir@,$oldincludedir,;t t
   19700 s,@infodir@,$infodir,;t t
   19701 s,@mandir@,$mandir,;t t
   19702 s,@build_alias@,$build_alias,;t t
   19703 s,@host_alias@,$host_alias,;t t
   19704 s,@target_alias@,$target_alias,;t t
   19705 s,@DEFS@,$DEFS,;t t
   19706 s,@ECHO_C@,$ECHO_C,;t t
   19707 s,@ECHO_N@,$ECHO_N,;t t
   19708 s,@ECHO_T@,$ECHO_T,;t t
   19709 s,@LIBS@,$LIBS,;t t
   19710 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   19711 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   19712 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   19713 s,@CYGPATH_W@,$CYGPATH_W,;t t
   19714 s,@PACKAGE@,$PACKAGE,;t t
   19715 s,@VERSION@,$VERSION,;t t
   19716 s,@ACLOCAL@,$ACLOCAL,;t t
   19717 s,@AUTOCONF@,$AUTOCONF,;t t
   19718 s,@AUTOMAKE@,$AUTOMAKE,;t t
   19719 s,@AUTOHEADER@,$AUTOHEADER,;t t
   19720 s,@MAKEINFO@,$MAKEINFO,;t t
   19721 s,@install_sh@,$install_sh,;t t
   19722 s,@STRIP@,$STRIP,;t t
   19723 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   19724 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   19725 s,@mkdir_p@,$mkdir_p,;t t
   19726 s,@AWK@,$AWK,;t t
   19727 s,@SET_MAKE@,$SET_MAKE,;t t
   19728 s,@am__leading_dot@,$am__leading_dot,;t t
   19729 s,@AMTAR@,$AMTAR,;t t
   19730 s,@am__tar@,$am__tar,;t t
   19731 s,@am__untar@,$am__untar,;t t
   19732 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   19733 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   19734 s,@MAINT@,$MAINT,;t t
   19735 s,@CC@,$CC,;t t
   19736 s,@CFLAGS@,$CFLAGS,;t t
   19737 s,@LDFLAGS@,$LDFLAGS,;t t
   19738 s,@CPPFLAGS@,$CPPFLAGS,;t t
   19739 s,@ac_ct_CC@,$ac_ct_CC,;t t
   19740 s,@EXEEXT@,$EXEEXT,;t t
   19741 s,@OBJEXT@,$OBJEXT,;t t
   19742 s,@DEPDIR@,$DEPDIR,;t t
   19743 s,@am__include@,$am__include,;t t
   19744 s,@am__quote@,$am__quote,;t t
   19745 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   19746 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   19747 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   19748 s,@CCDEPMODE@,$CCDEPMODE,;t t
   19749 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   19750 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   19751 s,@build@,$build,;t t
   19752 s,@build_cpu@,$build_cpu,;t t
   19753 s,@build_vendor@,$build_vendor,;t t
   19754 s,@build_os@,$build_os,;t t
   19755 s,@host@,$host,;t t
   19756 s,@host_cpu@,$host_cpu,;t t
   19757 s,@host_vendor@,$host_vendor,;t t
   19758 s,@host_os@,$host_os,;t t
   19759 s,@EGREP@,$EGREP,;t t
   19760 s,@LN_S@,$LN_S,;t t
   19761 s,@ECHO@,$ECHO,;t t
   19762 s,@AR@,$AR,;t t
   19763 s,@ac_ct_AR@,$ac_ct_AR,;t t
   19764 s,@RANLIB@,$RANLIB,;t t
   19765 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   19766 s,@CPP@,$CPP,;t t
   19767 s,@CXX@,$CXX,;t t
   19768 s,@CXXFLAGS@,$CXXFLAGS,;t t
   19769 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   19770 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   19771 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
   19772 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
   19773 s,@CXXCPP@,$CXXCPP,;t t
   19774 s,@F77@,$F77,;t t
   19775 s,@FFLAGS@,$FFLAGS,;t t
   19776 s,@ac_ct_F77@,$ac_ct_F77,;t t
   19777 s,@LIBTOOL@,$LIBTOOL,;t t
   19778 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
   19779 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
   19780 s,@XXF86VM_CFLAGS@,$XXF86VM_CFLAGS,;t t
   19781 s,@XXF86VM_LIBS@,$XXF86VM_LIBS,;t t
   19782 s,@MALLOC_ZERO_CFLAGS@,$MALLOC_ZERO_CFLAGS,;t t
   19783 s,@XMALLOC_ZERO_CFLAGS@,$XMALLOC_ZERO_CFLAGS,;t t
   19784 s,@XTMALLOC_ZERO_CFLAGS@,$XTMALLOC_ZERO_CFLAGS,;t t
   19785 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
   19786 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
   19787 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
   19788 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
   19789 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
   19790 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
   19791 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
   19792 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
   19793 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
   19794 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
   19795 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
   19796 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
   19797 s,@LIBOBJS@,$LIBOBJS,;t t
   19798 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   19799 CEOF
   19800 
   19801 _ACEOF
   19802 
   19803   cat >>$CONFIG_STATUS <<\_ACEOF
   19804   # Split the substitutions into bite-sized pieces for seds with
   19805   # small command number limits, like on Digital OSF/1 and HP-UX.
   19806   ac_max_sed_lines=48
   19807   ac_sed_frag=1 # Number of current file.
   19808   ac_beg=1 # First line for current file.
   19809   ac_end=$ac_max_sed_lines # Line after last line for current file.
   19810   ac_more_lines=:
   19811   ac_sed_cmds=
   19812   while $ac_more_lines; do
   19813     if test $ac_beg -gt 1; then
   19814       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   19815     else
   19816       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   19817     fi
   19818     if test ! -s $tmp/subs.frag; then
   19819       ac_more_lines=false
   19820     else
   19821       # The purpose of the label and of the branching condition is to
   19822       # speed up the sed processing (if there are no `@' at all, there
   19823       # is no need to browse any of the substitutions).
   19824       # These are the two extra sed commands mentioned above.
   19825       (echo ':t
   19826   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   19827       if test -z "$ac_sed_cmds"; then
   19828 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   19829       else
   19830 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   19831       fi
   19832       ac_sed_frag=`expr $ac_sed_frag + 1`
   19833       ac_beg=$ac_end
   19834       ac_end=`expr $ac_end + $ac_max_sed_lines`
   19835     fi
   19836   done
   19837   if test -z "$ac_sed_cmds"; then
   19838     ac_sed_cmds=cat
   19839   fi
   19840 fi # test -n "$CONFIG_FILES"
   19841 
   19842 _ACEOF
   19843 cat >>$CONFIG_STATUS <<\_ACEOF
   19844 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   19845   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   19846   case $ac_file in
   19847   - | *:- | *:-:* ) # input from stdin
   19848 	cat >$tmp/stdin
   19849 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   19850 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   19851   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   19852 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   19853   * )   ac_file_in=$ac_file.in ;;
   19854   esac
   19855 
   19856   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   19857   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   19858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19859 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19860 	 X"$ac_file" : 'X\(//\)$' \| \
   19861 	 X"$ac_file" : 'X\(/\)' \| \
   19862 	 .     : '\(.\)' 2>/dev/null ||
   19863 echo X"$ac_file" |
   19864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   19865   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   19866   	  /^X\(\/\/\)$/{ s//\1/; q; }
   19867   	  /^X\(\/\).*/{ s//\1/; q; }
   19868   	  s/.*/./; q'`
   19869   { if $as_mkdir_p; then
   19870     mkdir -p "$ac_dir"
   19871   else
   19872     as_dir="$ac_dir"
   19873     as_dirs=
   19874     while test ! -d "$as_dir"; do
   19875       as_dirs="$as_dir $as_dirs"
   19876       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   19877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19878 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19879 	 X"$as_dir" : 'X\(//\)$' \| \
   19880 	 X"$as_dir" : 'X\(/\)' \| \
   19881 	 .     : '\(.\)' 2>/dev/null ||
   19882 echo X"$as_dir" |
   19883     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   19884   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   19885   	  /^X\(\/\/\)$/{ s//\1/; q; }
   19886   	  /^X\(\/\).*/{ s//\1/; q; }
   19887   	  s/.*/./; q'`
   19888     done
   19889     test ! -n "$as_dirs" || mkdir $as_dirs
   19890   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   19891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   19892    { (exit 1); exit 1; }; }; }
   19893 
   19894   ac_builddir=.
   19895 
   19896 if test "$ac_dir" != .; then
   19897   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   19898   # A "../" for each directory in $ac_dir_suffix.
   19899   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   19900 else
   19901   ac_dir_suffix= ac_top_builddir=
   19902 fi
   19903 
   19904 case $srcdir in
   19905   .)  # No --srcdir option.  We are building in place.
   19906     ac_srcdir=.
   19907     if test -z "$ac_top_builddir"; then
   19908        ac_top_srcdir=.
   19909     else
   19910        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   19911     fi ;;
   19912   [\\/]* | ?:[\\/]* )  # Absolute path.
   19913     ac_srcdir=$srcdir$ac_dir_suffix;
   19914     ac_top_srcdir=$srcdir ;;
   19915   *) # Relative path.
   19916     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   19917     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   19918 esac
   19919 
   19920 # Do not use `cd foo && pwd` to compute absolute paths, because
   19921 # the directories may not exist.
   19922 case `pwd` in
   19923 .) ac_abs_builddir="$ac_dir";;
   19924 *)
   19925   case "$ac_dir" in
   19926   .) ac_abs_builddir=`pwd`;;
   19927   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   19928   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   19929   esac;;
   19930 esac
   19931 case $ac_abs_builddir in
   19932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   19933 *)
   19934   case ${ac_top_builddir}. in
   19935   .) ac_abs_top_builddir=$ac_abs_builddir;;
   19936   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   19937   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   19938   esac;;
   19939 esac
   19940 case $ac_abs_builddir in
   19941 .) ac_abs_srcdir=$ac_srcdir;;
   19942 *)
   19943   case $ac_srcdir in
   19944   .) ac_abs_srcdir=$ac_abs_builddir;;
   19945   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   19946   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   19947   esac;;
   19948 esac
   19949 case $ac_abs_builddir in
   19950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   19951 *)
   19952   case $ac_top_srcdir in
   19953   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   19954   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   19955   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   19956   esac;;
   19957 esac
   19958 
   19959 
   19960   case $INSTALL in
   19961   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19962   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   19963   esac
   19964 
   19965   if test x"$ac_file" != x-; then
   19966     { echo "$as_me:$LINENO: creating $ac_file" >&5
   19967 echo "$as_me: creating $ac_file" >&6;}
   19968     rm -f "$ac_file"
   19969   fi
   19970   # Let's still pretend it is `configure' which instantiates (i.e., don't
   19971   # use $as_me), people would be surprised to read:
   19972   #    /* config.h.  Generated by config.status.  */
   19973   if test x"$ac_file" = x-; then
   19974     configure_input=
   19975   else
   19976     configure_input="$ac_file.  "
   19977   fi
   19978   configure_input=$configure_input"Generated from `echo $ac_file_in |
   19979 				     sed 's,.*/,,'` by configure."
   19980 
   19981   # First look for the input files in the build tree, otherwise in the
   19982   # src tree.
   19983   ac_file_inputs=`IFS=:
   19984     for f in $ac_file_in; do
   19985       case $f in
   19986       -) echo $tmp/stdin ;;
   19987       [\\/$]*)
   19988 	 # Absolute (can't be DOS-style, as IFS=:)
   19989 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   19990 echo "$as_me: error: cannot find input file: $f" >&2;}
   19991    { (exit 1); exit 1; }; }
   19992 	 echo "$f";;
   19993       *) # Relative
   19994 	 if test -f "$f"; then
   19995 	   # Build tree
   19996 	   echo "$f"
   19997 	 elif test -f "$srcdir/$f"; then
   19998 	   # Source tree
   19999 	   echo "$srcdir/$f"
   20000 	 else
   20001 	   # /dev/null tree
   20002 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20003 echo "$as_me: error: cannot find input file: $f" >&2;}
   20004    { (exit 1); exit 1; }; }
   20005 	 fi;;
   20006       esac
   20007     done` || { (exit 1); exit 1; }
   20008 _ACEOF
   20009 cat >>$CONFIG_STATUS <<_ACEOF
   20010   sed "$ac_vpsub
   20011 $extrasub
   20012 _ACEOF
   20013 cat >>$CONFIG_STATUS <<\_ACEOF
   20014 :t
   20015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20016 s,@configure_input@,$configure_input,;t t
   20017 s,@srcdir@,$ac_srcdir,;t t
   20018 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   20019 s,@top_srcdir@,$ac_top_srcdir,;t t
   20020 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   20021 s,@builddir@,$ac_builddir,;t t
   20022 s,@abs_builddir@,$ac_abs_builddir,;t t
   20023 s,@top_builddir@,$ac_top_builddir,;t t
   20024 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   20025 s,@INSTALL@,$ac_INSTALL,;t t
   20026 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   20027   rm -f $tmp/stdin
   20028   if test x"$ac_file" != x-; then
   20029     mv $tmp/out $ac_file
   20030   else
   20031     cat $tmp/out
   20032     rm -f $tmp/out
   20033   fi
   20034 
   20035 done
   20036 _ACEOF
   20037 cat >>$CONFIG_STATUS <<\_ACEOF
   20038 
   20039 #
   20040 # CONFIG_HEADER section.
   20041 #
   20042 
   20043 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   20044 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   20045 #
   20046 # ac_d sets the value in "#define NAME VALUE" lines.
   20047 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   20048 ac_dB='[	 ].*$,\1#\2'
   20049 ac_dC=' '
   20050 ac_dD=',;t'
   20051 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   20052 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   20053 ac_uB='$,\1#\2define\3'
   20054 ac_uC=' '
   20055 ac_uD=',;t'
   20056 
   20057 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   20058   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   20059   case $ac_file in
   20060   - | *:- | *:-:* ) # input from stdin
   20061 	cat >$tmp/stdin
   20062 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20063 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20064   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20065 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20066   * )   ac_file_in=$ac_file.in ;;
   20067   esac
   20068 
   20069   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   20070 echo "$as_me: creating $ac_file" >&6;}
   20071 
   20072   # First look for the input files in the build tree, otherwise in the
   20073   # src tree.
   20074   ac_file_inputs=`IFS=:
   20075     for f in $ac_file_in; do
   20076       case $f in
   20077       -) echo $tmp/stdin ;;
   20078       [\\/$]*)
   20079 	 # Absolute (can't be DOS-style, as IFS=:)
   20080 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20081 echo "$as_me: error: cannot find input file: $f" >&2;}
   20082    { (exit 1); exit 1; }; }
   20083 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   20084 	 echo "$f";;
   20085       *) # Relative
   20086 	 if test -f "$f"; then
   20087 	   # Build tree
   20088 	   echo "$f"
   20089 	 elif test -f "$srcdir/$f"; then
   20090 	   # Source tree
   20091 	   echo "$srcdir/$f"
   20092 	 else
   20093 	   # /dev/null tree
   20094 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20095 echo "$as_me: error: cannot find input file: $f" >&2;}
   20096    { (exit 1); exit 1; }; }
   20097 	 fi;;
   20098       esac
   20099     done` || { (exit 1); exit 1; }
   20100   # Remove the trailing spaces.
   20101   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   20102 
   20103 _ACEOF
   20104 
   20105 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   20106 # `conftest.undefs', that substitutes the proper values into
   20107 # config.h.in to produce config.h.  The first handles `#define'
   20108 # templates, and the second `#undef' templates.
   20109 # And first: Protect against being on the right side of a sed subst in
   20110 # config.status.  Protect against being in an unquoted here document
   20111 # in config.status.
   20112 rm -f conftest.defines conftest.undefs
   20113 # Using a here document instead of a string reduces the quoting nightmare.
   20114 # Putting comments in sed scripts is not portable.
   20115 #
   20116 # `end' is used to avoid that the second main sed command (meant for
   20117 # 0-ary CPP macros) applies to n-ary macro definitions.
   20118 # See the Autoconf documentation for `clear'.
   20119 cat >confdef2sed.sed <<\_ACEOF
   20120 s/[\\&,]/\\&/g
   20121 s,[\\$`],\\&,g
   20122 t clear
   20123 : clear
   20124 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   20125 t end
   20126 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   20127 : end
   20128 _ACEOF
   20129 # If some macros were called several times there might be several times
   20130 # the same #defines, which is useless.  Nevertheless, we may not want to
   20131 # sort them, since we want the *last* AC-DEFINE to be honored.
   20132 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   20133 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   20134 rm -f confdef2sed.sed
   20135 
   20136 # This sed command replaces #undef with comments.  This is necessary, for
   20137 # example, in the case of _POSIX_SOURCE, which is predefined and required
   20138 # on some systems where configure will not decide to define it.
   20139 cat >>conftest.undefs <<\_ACEOF
   20140 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   20141 _ACEOF
   20142 
   20143 # Break up conftest.defines because some shells have a limit on the size
   20144 # of here documents, and old seds have small limits too (100 cmds).
   20145 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   20146 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   20147 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   20148 echo '  :' >>$CONFIG_STATUS
   20149 rm -f conftest.tail
   20150 while grep . conftest.defines >/dev/null
   20151 do
   20152   # Write a limited-size here document to $tmp/defines.sed.
   20153   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   20154   # Speed up: don't consider the non `#define' lines.
   20155   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   20156   # Work around the forget-to-reset-the-flag bug.
   20157   echo 't clr' >>$CONFIG_STATUS
   20158   echo ': clr' >>$CONFIG_STATUS
   20159   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   20160   echo 'CEOF
   20161   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   20162   rm -f $tmp/in
   20163   mv $tmp/out $tmp/in
   20164 ' >>$CONFIG_STATUS
   20165   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   20166   rm -f conftest.defines
   20167   mv conftest.tail conftest.defines
   20168 done
   20169 rm -f conftest.defines
   20170 echo '  fi # grep' >>$CONFIG_STATUS
   20171 echo >>$CONFIG_STATUS
   20172 
   20173 # Break up conftest.undefs because some shells have a limit on the size
   20174 # of here documents, and old seds have small limits too (100 cmds).
   20175 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   20176 rm -f conftest.tail
   20177 while grep . conftest.undefs >/dev/null
   20178 do
   20179   # Write a limited-size here document to $tmp/undefs.sed.
   20180   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   20181   # Speed up: don't consider the non `#undef'
   20182   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   20183   # Work around the forget-to-reset-the-flag bug.
   20184   echo 't clr' >>$CONFIG_STATUS
   20185   echo ': clr' >>$CONFIG_STATUS
   20186   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   20187   echo 'CEOF
   20188   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   20189   rm -f $tmp/in
   20190   mv $tmp/out $tmp/in
   20191 ' >>$CONFIG_STATUS
   20192   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   20193   rm -f conftest.undefs
   20194   mv conftest.tail conftest.undefs
   20195 done
   20196 rm -f conftest.undefs
   20197 
   20198 cat >>$CONFIG_STATUS <<\_ACEOF
   20199   # Let's still pretend it is `configure' which instantiates (i.e., don't
   20200   # use $as_me), people would be surprised to read:
   20201   #    /* config.h.  Generated by config.status.  */
   20202   if test x"$ac_file" = x-; then
   20203     echo "/* Generated by configure.  */" >$tmp/config.h
   20204   else
   20205     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   20206   fi
   20207   cat $tmp/in >>$tmp/config.h
   20208   rm -f $tmp/in
   20209   if test x"$ac_file" != x-; then
   20210     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   20211       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   20212 echo "$as_me: $ac_file is unchanged" >&6;}
   20213     else
   20214       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   20215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20216 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20217 	 X"$ac_file" : 'X\(//\)$' \| \
   20218 	 X"$ac_file" : 'X\(/\)' \| \
   20219 	 .     : '\(.\)' 2>/dev/null ||
   20220 echo X"$ac_file" |
   20221     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20222   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20223   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20224   	  /^X\(\/\).*/{ s//\1/; q; }
   20225   	  s/.*/./; q'`
   20226       { if $as_mkdir_p; then
   20227     mkdir -p "$ac_dir"
   20228   else
   20229     as_dir="$ac_dir"
   20230     as_dirs=
   20231     while test ! -d "$as_dir"; do
   20232       as_dirs="$as_dir $as_dirs"
   20233       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20235 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20236 	 X"$as_dir" : 'X\(//\)$' \| \
   20237 	 X"$as_dir" : 'X\(/\)' \| \
   20238 	 .     : '\(.\)' 2>/dev/null ||
   20239 echo X"$as_dir" |
   20240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20241   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20242   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20243   	  /^X\(\/\).*/{ s//\1/; q; }
   20244   	  s/.*/./; q'`
   20245     done
   20246     test ! -n "$as_dirs" || mkdir $as_dirs
   20247   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   20248 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   20249    { (exit 1); exit 1; }; }; }
   20250 
   20251       rm -f $ac_file
   20252       mv $tmp/config.h $ac_file
   20253     fi
   20254   else
   20255     cat $tmp/config.h
   20256     rm -f $tmp/config.h
   20257   fi
   20258 # Compute $ac_file's index in $config_headers.
   20259 _am_stamp_count=1
   20260 for _am_header in $config_headers :; do
   20261   case $_am_header in
   20262     $ac_file | $ac_file:* )
   20263       break ;;
   20264     * )
   20265       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20266   esac
   20267 done
   20268 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   20269 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20270 	 X$ac_file : 'X\(//\)[^/]' \| \
   20271 	 X$ac_file : 'X\(//\)$' \| \
   20272 	 X$ac_file : 'X\(/\)' \| \
   20273 	 .     : '\(.\)' 2>/dev/null ||
   20274 echo X$ac_file |
   20275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20276   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20277   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20278   	  /^X\(\/\).*/{ s//\1/; q; }
   20279   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20280 done
   20281 _ACEOF
   20282 cat >>$CONFIG_STATUS <<\_ACEOF
   20283 
   20284 #
   20285 # CONFIG_COMMANDS section.
   20286 #
   20287 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   20288   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   20289   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20290   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   20291 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20292 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   20293 	 X"$ac_dest" : 'X\(//\)$' \| \
   20294 	 X"$ac_dest" : 'X\(/\)' \| \
   20295 	 .     : '\(.\)' 2>/dev/null ||
   20296 echo X"$ac_dest" |
   20297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20298   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20299   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20300   	  /^X\(\/\).*/{ s//\1/; q; }
   20301   	  s/.*/./; q'`
   20302   { if $as_mkdir_p; then
   20303     mkdir -p "$ac_dir"
   20304   else
   20305     as_dir="$ac_dir"
   20306     as_dirs=
   20307     while test ! -d "$as_dir"; do
   20308       as_dirs="$as_dir $as_dirs"
   20309       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20311 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20312 	 X"$as_dir" : 'X\(//\)$' \| \
   20313 	 X"$as_dir" : 'X\(/\)' \| \
   20314 	 .     : '\(.\)' 2>/dev/null ||
   20315 echo X"$as_dir" |
   20316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20317   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20318   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20319   	  /^X\(\/\).*/{ s//\1/; q; }
   20320   	  s/.*/./; q'`
   20321     done
   20322     test ! -n "$as_dirs" || mkdir $as_dirs
   20323   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   20324 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   20325    { (exit 1); exit 1; }; }; }
   20326 
   20327   ac_builddir=.
   20328 
   20329 if test "$ac_dir" != .; then
   20330   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20331   # A "../" for each directory in $ac_dir_suffix.
   20332   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   20333 else
   20334   ac_dir_suffix= ac_top_builddir=
   20335 fi
   20336 
   20337 case $srcdir in
   20338   .)  # No --srcdir option.  We are building in place.
   20339     ac_srcdir=.
   20340     if test -z "$ac_top_builddir"; then
   20341        ac_top_srcdir=.
   20342     else
   20343        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   20344     fi ;;
   20345   [\\/]* | ?:[\\/]* )  # Absolute path.
   20346     ac_srcdir=$srcdir$ac_dir_suffix;
   20347     ac_top_srcdir=$srcdir ;;
   20348   *) # Relative path.
   20349     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   20350     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   20351 esac
   20352 
   20353 # Do not use `cd foo && pwd` to compute absolute paths, because
   20354 # the directories may not exist.
   20355 case `pwd` in
   20356 .) ac_abs_builddir="$ac_dir";;
   20357 *)
   20358   case "$ac_dir" in
   20359   .) ac_abs_builddir=`pwd`;;
   20360   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   20361   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   20362   esac;;
   20363 esac
   20364 case $ac_abs_builddir in
   20365 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   20366 *)
   20367   case ${ac_top_builddir}. in
   20368   .) ac_abs_top_builddir=$ac_abs_builddir;;
   20369   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   20370   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   20371   esac;;
   20372 esac
   20373 case $ac_abs_builddir in
   20374 .) ac_abs_srcdir=$ac_srcdir;;
   20375 *)
   20376   case $ac_srcdir in
   20377   .) ac_abs_srcdir=$ac_abs_builddir;;
   20378   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   20379   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   20380   esac;;
   20381 esac
   20382 case $ac_abs_builddir in
   20383 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   20384 *)
   20385   case $ac_top_srcdir in
   20386   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   20387   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   20388   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   20389   esac;;
   20390 esac
   20391 
   20392 
   20393   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   20394 echo "$as_me: executing $ac_dest commands" >&6;}
   20395   case $ac_dest in
   20396     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   20397   # Strip MF so we end up with the name of the file.
   20398   mf=`echo "$mf" | sed -e 's/:.*$//'`
   20399   # Check whether this is an Automake generated Makefile or not.
   20400   # We used to match only the files named `Makefile.in', but
   20401   # some people rename them; so instead we look at the file content.
   20402   # Grep'ing the first line is not enough: some people post-process
   20403   # each Makefile.in and add a new line on top of each file to say so.
   20404   # So let's grep whole file.
   20405   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   20406     dirpart=`(dirname "$mf") 2>/dev/null ||
   20407 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20408 	 X"$mf" : 'X\(//\)[^/]' \| \
   20409 	 X"$mf" : 'X\(//\)$' \| \
   20410 	 X"$mf" : 'X\(/\)' \| \
   20411 	 .     : '\(.\)' 2>/dev/null ||
   20412 echo X"$mf" |
   20413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20414   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20415   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20416   	  /^X\(\/\).*/{ s//\1/; q; }
   20417   	  s/.*/./; q'`
   20418   else
   20419     continue
   20420   fi
   20421   # Extract the definition of DEPDIR, am__include, and am__quote
   20422   # from the Makefile without running `make'.
   20423   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20424   test -z "$DEPDIR" && continue
   20425   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20426   test -z "am__include" && continue
   20427   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20428   # When using ansi2knr, U may be empty or an underscore; expand it
   20429   U=`sed -n 's/^U = //p' < "$mf"`
   20430   # Find all dependency output files, they are included files with
   20431   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20432   # simplest approach to changing $(DEPDIR) to its actual value in the
   20433   # expansion.
   20434   for file in `sed -n "
   20435     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20436        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20437     # Make sure the directory exists.
   20438     test -f "$dirpart/$file" && continue
   20439     fdir=`(dirname "$file") 2>/dev/null ||
   20440 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20441 	 X"$file" : 'X\(//\)[^/]' \| \
   20442 	 X"$file" : 'X\(//\)$' \| \
   20443 	 X"$file" : 'X\(/\)' \| \
   20444 	 .     : '\(.\)' 2>/dev/null ||
   20445 echo X"$file" |
   20446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20447   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20448   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20449   	  /^X\(\/\).*/{ s//\1/; q; }
   20450   	  s/.*/./; q'`
   20451     { if $as_mkdir_p; then
   20452     mkdir -p $dirpart/$fdir
   20453   else
   20454     as_dir=$dirpart/$fdir
   20455     as_dirs=
   20456     while test ! -d "$as_dir"; do
   20457       as_dirs="$as_dir $as_dirs"
   20458       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20460 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20461 	 X"$as_dir" : 'X\(//\)$' \| \
   20462 	 X"$as_dir" : 'X\(/\)' \| \
   20463 	 .     : '\(.\)' 2>/dev/null ||
   20464 echo X"$as_dir" |
   20465     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20466   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20467   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20468   	  /^X\(\/\).*/{ s//\1/; q; }
   20469   	  s/.*/./; q'`
   20470     done
   20471     test ! -n "$as_dirs" || mkdir $as_dirs
   20472   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   20473 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   20474    { (exit 1); exit 1; }; }; }
   20475 
   20476     # echo "creating $dirpart/$file"
   20477     echo '# dummy' > "$dirpart/$file"
   20478   done
   20479 done
   20480  ;;
   20481   esac
   20482 done
   20483 _ACEOF
   20484 
   20485 cat >>$CONFIG_STATUS <<\_ACEOF
   20486 
   20487 { (exit 0); exit 0; }
   20488 _ACEOF
   20489 chmod +x $CONFIG_STATUS
   20490 ac_clean_files=$ac_clean_files_save
   20491 
   20492 
   20493 # configure is writing to config.log, and then calls config.status.
   20494 # config.status does its own redirection, appending to config.log.
   20495 # Unfortunately, on DOS this fails, as config.log is still kept open
   20496 # by configure, so config.status won't be able to write to it; its
   20497 # output is simply discarded.  So we exec the FD to /dev/null,
   20498 # effectively closing config.log, so it can be properly (re)opened and
   20499 # appended to by config.status.  When coming back to configure, we
   20500 # need to make the FD available again.
   20501 if test "$no_create" != yes; then
   20502   ac_cs_success=:
   20503   ac_config_status_args=
   20504   test "$silent" = yes &&
   20505     ac_config_status_args="$ac_config_status_args --quiet"
   20506   exec 5>/dev/null
   20507   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20508   exec 5>>config.log
   20509   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20510   # would make configure fail if this is the last instruction.
   20511   $ac_cs_success || { (exit 1); exit 1; }
   20512 fi
   20513 
   20514