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 libXdmcp 1.0.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 2003 Free Software Foundation, Inc.
      8 # This configure script is free software; the Free Software Foundation
      9 # gives unlimited permission to copy, distribute and modify it.
     10 ## --------------------- ##
     11 ## M4sh Initialization.  ##
     12 ## --------------------- ##
     13 
     14 # Be Bourne compatible
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22   set -o posix
     23 fi
     24 DUALCASE=1; export DUALCASE # for MKS sh
     25 
     26 # Support unset when possible.
     27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28   as_unset=unset
     29 else
     30   as_unset=false
     31 fi
     32 
     33 
     34 # Work around bugs in pre-3.0 UWIN ksh.
     35 $as_unset ENV MAIL MAILPATH
     36 PS1='$ '
     37 PS2='> '
     38 PS4='+ '
     39 
     40 # NLS nuisances.
     41 for as_var in \
     42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44   LC_TELEPHONE LC_TIME
     45 do
     46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47     eval $as_var=C; export $as_var
     48   else
     49     $as_unset $as_var
     50   fi
     51 done
     52 
     53 # Required to use basename.
     54 if expr a : '\(a\)' >/dev/null 2>&1; then
     55   as_expr=expr
     56 else
     57   as_expr=false
     58 fi
     59 
     60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61   as_basename=basename
     62 else
     63   as_basename=false
     64 fi
     65 
     66 
     67 # Name of the executable.
     68 as_me=`$as_basename "$0" ||
     69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70 	 X"$0" : 'X\(//\)$' \| \
     71 	 X"$0" : 'X\(/\)$' \| \
     72 	 .     : '\(.\)' 2>/dev/null ||
     73 echo X/"$0" |
     74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77   	  s/.*/./; q'`
     78 
     79 
     80 # PATH needs CR, and LINENO needs CR and PATH.
     81 # Avoid depending upon Character Ranges.
     82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85 as_cr_digits='0123456789'
     86 as_cr_alnum=$as_cr_Letters$as_cr_digits
     87 
     88 # The user is always right.
     89 if test "${PATH_SEPARATOR+set}" != set; then
     90   echo "#! /bin/sh" >conf$$.sh
     91   echo  "exit 0"   >>conf$$.sh
     92   chmod +x conf$$.sh
     93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94     PATH_SEPARATOR=';'
     95   else
     96     PATH_SEPARATOR=:
     97   fi
     98   rm -f conf$$.sh
     99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138 	 case $as_dir in
    139 	 /*)
    140 	   if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148 	     CONFIG_SHELL=$as_dir/$as_base
    149 	     export CONFIG_SHELL
    150 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151 	   fi;;
    152 	 esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
    167     sed '
    168       N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172       t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
    175     ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
    180   # Don't try to exec as it changes $[0], causing all sort of problems
    181   # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
    184   # Exit status is that of the last command.
    185   exit
    186 }
    187 
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='	' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202 rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
    219 
    220 if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
    222 else
    223   test -d ./-p && rmdir ./-p
    224   as_mkdir_p=false
    225 fi
    226 
    227 as_executable_p="test -f"
    228 
    229 # Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231 
    232 # Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234 
    235 
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS=" 	$as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
    245 
    246 
    247 # Check that we are running under the correct shell.
    248 SHELL=${CONFIG_SHELL-/bin/sh}
    249 
    250 case X$ECHO in
    251 X*--fallback-echo)
    252   # Remove one level of quotation (which was required for Make).
    253   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    254   ;;
    255 esac
    256 
    257 echo=${ECHO-echo}
    258 if test "X$1" = X--no-reexec; then
    259   # Discard the --no-reexec flag, and continue.
    260   shift
    261 elif test "X$1" = X--fallback-echo; then
    262   # Avoid inline document here, it may be left over
    263   :
    264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    265   # Yippee, $echo works!
    266   :
    267 else
    268   # Restart under the correct shell.
    269   exec $SHELL "$0" --no-reexec ${1+"$@"}
    270 fi
    271 
    272 if test "X$1" = X--fallback-echo; then
    273   # used as fallback echo
    274   shift
    275   cat <<EOF
    276 $*
    277 EOF
    278   exit 0
    279 fi
    280 
    281 # The HP-UX ksh and POSIX shell print the target directory to stdout
    282 # if CDPATH is set.
    283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    284 
    285 if test -z "$ECHO"; then
    286 if test "X${echo_test_string+set}" != Xset; then
    287 # find a string as large as possible, as long as the shell can cope with it
    288   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    289     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    290     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    291        echo_test_string=`eval $cmd` &&
    292        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    293     then
    294       break
    295     fi
    296   done
    297 fi
    298 
    299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    300    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    301    test "X$echo_testing_string" = "X$echo_test_string"; then
    302   :
    303 else
    304   # The Solaris, AIX, and Digital Unix default echo programs unquote
    305   # backslashes.  This makes it impossible to quote backslashes using
    306   #   echo "$something" | sed 's/\\/\\\\/g'
    307   #
    308   # So, first we look for a working echo in the user's PATH.
    309 
    310   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    311   for dir in $PATH /usr/ucb; do
    312     IFS="$lt_save_ifs"
    313     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    314        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    315        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    316        test "X$echo_testing_string" = "X$echo_test_string"; then
    317       echo="$dir/echo"
    318       break
    319     fi
    320   done
    321   IFS="$lt_save_ifs"
    322 
    323   if test "X$echo" = Xecho; then
    324     # We didn't find a better echo, so look for alternatives.
    325     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    326        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    327        test "X$echo_testing_string" = "X$echo_test_string"; then
    328       # This shell has a builtin print -r that does the trick.
    329       echo='print -r'
    330     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    331 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    332       # If we have ksh, try running configure again with it.
    333       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    334       export ORIGINAL_CONFIG_SHELL
    335       CONFIG_SHELL=/bin/ksh
    336       export CONFIG_SHELL
    337       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    338     else
    339       # Try using printf.
    340       echo='printf %s\n'
    341       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    342 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    343 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    344 	# Cool, printf works
    345 	:
    346       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    347 	   test "X$echo_testing_string" = 'X\t' &&
    348 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    349 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    350 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    351 	export CONFIG_SHELL
    352 	SHELL="$CONFIG_SHELL"
    353 	export SHELL
    354 	echo="$CONFIG_SHELL $0 --fallback-echo"
    355       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    356 	   test "X$echo_testing_string" = 'X\t' &&
    357 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    358 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    359 	echo="$CONFIG_SHELL $0 --fallback-echo"
    360       else
    361 	# maybe with a smaller string...
    362 	prev=:
    363 
    364 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    365 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    366 	  then
    367 	    break
    368 	  fi
    369 	  prev="$cmd"
    370 	done
    371 
    372 	if test "$prev" != 'sed 50q "$0"'; then
    373 	  echo_test_string=`eval $prev`
    374 	  export echo_test_string
    375 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    376 	else
    377 	  # Oops.  We lost completely, so just stick with echo.
    378 	  echo=echo
    379 	fi
    380       fi
    381     fi
    382   fi
    383 fi
    384 fi
    385 
    386 # Copy echo and quote the copy suitably for passing to libtool from
    387 # the Makefile, instead of quoting the original, which is used later.
    388 ECHO=$echo
    389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    390    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    391 fi
    392 
    393 
    394 
    395 
    396 tagnames=${tagnames+${tagnames},}CXX
    397 
    398 tagnames=${tagnames+${tagnames},}F77
    399 
    400 # Name of the host.
    401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    402 # so uname gets run too.
    403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    404 
    405 exec 6>&1
    406 
    407 #
    408 # Initializations.
    409 #
    410 ac_default_prefix=/usr/local
    411 ac_config_libobj_dir=.
    412 cross_compiling=no
    413 subdirs=
    414 MFLAGS=
    415 MAKEFLAGS=
    416 SHELL=${CONFIG_SHELL-/bin/sh}
    417 
    418 # Maximum number of lines to put in a shell here document.
    419 # This variable seems obsolete.  It should probably be removed, and
    420 # only ac_max_sed_lines should be used.
    421 : ${ac_max_here_lines=38}
    422 
    423 # Identity of this package.
    424 PACKAGE_NAME='libXdmcp'
    425 PACKAGE_TARNAME='libXdmcp'
    426 PACKAGE_VERSION='1.0.2'
    427 PACKAGE_STRING='libXdmcp 1.0.2'
    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 LN_S build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP 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 XDMCP_CFLAGS XDMCP_LIBS HASXDMAUTH_TRUE HASXDMAUTH_FALSE LINT LINT_FLAGS LINT_TRUE LINT_FALSE LINTLIB MAKE_LINT_LIB_TRUE MAKE_LINT_LIB_FALSE 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_XDMCP_CFLAGS_set=${XDMCP_CFLAGS+set}
    953 ac_env_XDMCP_CFLAGS_value=$XDMCP_CFLAGS
    954 ac_cv_env_XDMCP_CFLAGS_set=${XDMCP_CFLAGS+set}
    955 ac_cv_env_XDMCP_CFLAGS_value=$XDMCP_CFLAGS
    956 ac_env_XDMCP_LIBS_set=${XDMCP_LIBS+set}
    957 ac_env_XDMCP_LIBS_value=$XDMCP_LIBS
    958 ac_cv_env_XDMCP_LIBS_set=${XDMCP_LIBS+set}
    959 ac_cv_env_XDMCP_LIBS_value=$XDMCP_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 libXdmcp 1.0.2 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 libXdmcp 1.0.2:";;
   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-lint-library   Create lint library (default: disabled)
   1053 
   1054 Optional Packages:
   1055   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1056   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1057   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1058   --with-pic              try to use only PIC/non-PIC objects [default=use
   1059                           both]
   1060   --with-tags[=TAGS]
   1061                           include additional configurations [automatic]
   1062   --with-lint             Use a lint-style source code checker (default:
   1063                           disabled)
   1064   --with-release-version=STRING
   1065                           Use release version string in package name
   1066 
   1067 Some influential environment variables:
   1068   CC          C compiler command
   1069   CFLAGS      C compiler flags
   1070   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1071               nonstandard directory <lib dir>
   1072   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   1073               headers in a nonstandard directory <include dir>
   1074   CPP         C preprocessor
   1075   CXX         C++ compiler command
   1076   CXXFLAGS    C++ compiler flags
   1077   CXXCPP      C++ preprocessor
   1078   F77         Fortran 77 compiler command
   1079   FFLAGS      Fortran 77 compiler flags
   1080   PKG_CONFIG  path to pkg-config utility
   1081   XDMCP_CFLAGS
   1082               C compiler flags for XDMCP, overriding pkg-config
   1083   XDMCP_LIBS  linker flags for XDMCP, 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 libXdmcp configure 1.0.2
   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 libXdmcp $as_me 1.0.2, 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='libXdmcp'
   1841  VERSION='1.0.2'
   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 config.h"
   1997 
   1998 
   1999 # Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
   2000 
   2001 
   2002 	XORG_MACROS_needed_version=1.1
   2003 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2004 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2005 	echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2006 echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6
   2007 	XORG_MACROS_version=1.1.0
   2008 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2009 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2010 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2011 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2012 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2013    { (exit 1); exit 1; }; }
   2014 	fi
   2015 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2016 		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   2017 echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   2018    { (exit 1); exit 1; }; }
   2019 	fi
   2020 	echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2021 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6
   2022 
   2023 
   2024 ac_ext=c
   2025 ac_cpp='$CPP $CPPFLAGS'
   2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2029 if test -n "$ac_tool_prefix"; then
   2030   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2032 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2034 if test "${ac_cv_prog_CC+set}" = set; then
   2035   echo $ECHO_N "(cached) $ECHO_C" >&6
   2036 else
   2037   if test -n "$CC"; then
   2038   ac_cv_prog_CC="$CC" # Let the user override the test.
   2039 else
   2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2041 for as_dir in $PATH
   2042 do
   2043   IFS=$as_save_IFS
   2044   test -z "$as_dir" && as_dir=.
   2045   for ac_exec_ext in '' $ac_executable_extensions; do
   2046   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2047     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2048     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2049     break 2
   2050   fi
   2051 done
   2052 done
   2053 
   2054 fi
   2055 fi
   2056 CC=$ac_cv_prog_CC
   2057 if test -n "$CC"; then
   2058   echo "$as_me:$LINENO: result: $CC" >&5
   2059 echo "${ECHO_T}$CC" >&6
   2060 else
   2061   echo "$as_me:$LINENO: result: no" >&5
   2062 echo "${ECHO_T}no" >&6
   2063 fi
   2064 
   2065 fi
   2066 if test -z "$ac_cv_prog_CC"; then
   2067   ac_ct_CC=$CC
   2068   # Extract the first word of "gcc", so it can be a program name with args.
   2069 set dummy gcc; ac_word=$2
   2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2073   echo $ECHO_N "(cached) $ECHO_C" >&6
   2074 else
   2075   if test -n "$ac_ct_CC"; then
   2076   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2077 else
   2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2079 for as_dir in $PATH
   2080 do
   2081   IFS=$as_save_IFS
   2082   test -z "$as_dir" && as_dir=.
   2083   for ac_exec_ext in '' $ac_executable_extensions; do
   2084   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2085     ac_cv_prog_ac_ct_CC="gcc"
   2086     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2087     break 2
   2088   fi
   2089 done
   2090 done
   2091 
   2092 fi
   2093 fi
   2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2095 if test -n "$ac_ct_CC"; then
   2096   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2097 echo "${ECHO_T}$ac_ct_CC" >&6
   2098 else
   2099   echo "$as_me:$LINENO: result: no" >&5
   2100 echo "${ECHO_T}no" >&6
   2101 fi
   2102 
   2103   CC=$ac_ct_CC
   2104 else
   2105   CC="$ac_cv_prog_CC"
   2106 fi
   2107 
   2108 if test -z "$CC"; then
   2109   if test -n "$ac_tool_prefix"; then
   2110   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2111 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2112 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2114 if test "${ac_cv_prog_CC+set}" = set; then
   2115   echo $ECHO_N "(cached) $ECHO_C" >&6
   2116 else
   2117   if test -n "$CC"; then
   2118   ac_cv_prog_CC="$CC" # Let the user override the test.
   2119 else
   2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2121 for as_dir in $PATH
   2122 do
   2123   IFS=$as_save_IFS
   2124   test -z "$as_dir" && as_dir=.
   2125   for ac_exec_ext in '' $ac_executable_extensions; do
   2126   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2127     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2128     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2129     break 2
   2130   fi
   2131 done
   2132 done
   2133 
   2134 fi
   2135 fi
   2136 CC=$ac_cv_prog_CC
   2137 if test -n "$CC"; then
   2138   echo "$as_me:$LINENO: result: $CC" >&5
   2139 echo "${ECHO_T}$CC" >&6
   2140 else
   2141   echo "$as_me:$LINENO: result: no" >&5
   2142 echo "${ECHO_T}no" >&6
   2143 fi
   2144 
   2145 fi
   2146 if test -z "$ac_cv_prog_CC"; then
   2147   ac_ct_CC=$CC
   2148   # Extract the first word of "cc", so it can be a program name with args.
   2149 set dummy cc; ac_word=$2
   2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2153   echo $ECHO_N "(cached) $ECHO_C" >&6
   2154 else
   2155   if test -n "$ac_ct_CC"; then
   2156   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2157 else
   2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2159 for as_dir in $PATH
   2160 do
   2161   IFS=$as_save_IFS
   2162   test -z "$as_dir" && as_dir=.
   2163   for ac_exec_ext in '' $ac_executable_extensions; do
   2164   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2165     ac_cv_prog_ac_ct_CC="cc"
   2166     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2167     break 2
   2168   fi
   2169 done
   2170 done
   2171 
   2172 fi
   2173 fi
   2174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2175 if test -n "$ac_ct_CC"; then
   2176   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2177 echo "${ECHO_T}$ac_ct_CC" >&6
   2178 else
   2179   echo "$as_me:$LINENO: result: no" >&5
   2180 echo "${ECHO_T}no" >&6
   2181 fi
   2182 
   2183   CC=$ac_ct_CC
   2184 else
   2185   CC="$ac_cv_prog_CC"
   2186 fi
   2187 
   2188 fi
   2189 if test -z "$CC"; then
   2190   # Extract the first word of "cc", so it can be a program name with args.
   2191 set dummy cc; ac_word=$2
   2192 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2194 if test "${ac_cv_prog_CC+set}" = set; then
   2195   echo $ECHO_N "(cached) $ECHO_C" >&6
   2196 else
   2197   if test -n "$CC"; then
   2198   ac_cv_prog_CC="$CC" # Let the user override the test.
   2199 else
   2200   ac_prog_rejected=no
   2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2202 for as_dir in $PATH
   2203 do
   2204   IFS=$as_save_IFS
   2205   test -z "$as_dir" && as_dir=.
   2206   for ac_exec_ext in '' $ac_executable_extensions; do
   2207   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2208     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2209        ac_prog_rejected=yes
   2210        continue
   2211      fi
   2212     ac_cv_prog_CC="cc"
   2213     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2214     break 2
   2215   fi
   2216 done
   2217 done
   2218 
   2219 if test $ac_prog_rejected = yes; then
   2220   # We found a bogon in the path, so make sure we never use it.
   2221   set dummy $ac_cv_prog_CC
   2222   shift
   2223   if test $# != 0; then
   2224     # We chose a different compiler from the bogus one.
   2225     # However, it has the same basename, so the bogon will be chosen
   2226     # first if we set CC to just the basename; use the full file name.
   2227     shift
   2228     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2229   fi
   2230 fi
   2231 fi
   2232 fi
   2233 CC=$ac_cv_prog_CC
   2234 if test -n "$CC"; then
   2235   echo "$as_me:$LINENO: result: $CC" >&5
   2236 echo "${ECHO_T}$CC" >&6
   2237 else
   2238   echo "$as_me:$LINENO: result: no" >&5
   2239 echo "${ECHO_T}no" >&6
   2240 fi
   2241 
   2242 fi
   2243 if test -z "$CC"; then
   2244   if test -n "$ac_tool_prefix"; then
   2245   for ac_prog in cl
   2246   do
   2247     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2249 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2251 if test "${ac_cv_prog_CC+set}" = set; then
   2252   echo $ECHO_N "(cached) $ECHO_C" >&6
   2253 else
   2254   if test -n "$CC"; then
   2255   ac_cv_prog_CC="$CC" # Let the user override the test.
   2256 else
   2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2258 for as_dir in $PATH
   2259 do
   2260   IFS=$as_save_IFS
   2261   test -z "$as_dir" && as_dir=.
   2262   for ac_exec_ext in '' $ac_executable_extensions; do
   2263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2264     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2266     break 2
   2267   fi
   2268 done
   2269 done
   2270 
   2271 fi
   2272 fi
   2273 CC=$ac_cv_prog_CC
   2274 if test -n "$CC"; then
   2275   echo "$as_me:$LINENO: result: $CC" >&5
   2276 echo "${ECHO_T}$CC" >&6
   2277 else
   2278   echo "$as_me:$LINENO: result: no" >&5
   2279 echo "${ECHO_T}no" >&6
   2280 fi
   2281 
   2282     test -n "$CC" && break
   2283   done
   2284 fi
   2285 if test -z "$CC"; then
   2286   ac_ct_CC=$CC
   2287   for ac_prog in cl
   2288 do
   2289   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2290 set dummy $ac_prog; ac_word=$2
   2291 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2294   echo $ECHO_N "(cached) $ECHO_C" >&6
   2295 else
   2296   if test -n "$ac_ct_CC"; then
   2297   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2298 else
   2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2300 for as_dir in $PATH
   2301 do
   2302   IFS=$as_save_IFS
   2303   test -z "$as_dir" && as_dir=.
   2304   for ac_exec_ext in '' $ac_executable_extensions; do
   2305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2306     ac_cv_prog_ac_ct_CC="$ac_prog"
   2307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2308     break 2
   2309   fi
   2310 done
   2311 done
   2312 
   2313 fi
   2314 fi
   2315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2316 if test -n "$ac_ct_CC"; then
   2317   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2318 echo "${ECHO_T}$ac_ct_CC" >&6
   2319 else
   2320   echo "$as_me:$LINENO: result: no" >&5
   2321 echo "${ECHO_T}no" >&6
   2322 fi
   2323 
   2324   test -n "$ac_ct_CC" && break
   2325 done
   2326 
   2327   CC=$ac_ct_CC
   2328 fi
   2329 
   2330 fi
   2331 
   2332 
   2333 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2334 See \`config.log' for more details." >&5
   2335 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2336 See \`config.log' for more details." >&2;}
   2337    { (exit 1); exit 1; }; }
   2338 
   2339 # Provide some information about the compiler.
   2340 echo "$as_me:$LINENO:" \
   2341      "checking for C compiler version" >&5
   2342 ac_compiler=`set X $ac_compile; echo $2`
   2343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2344   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2345   ac_status=$?
   2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2347   (exit $ac_status); }
   2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2349   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2350   ac_status=$?
   2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2352   (exit $ac_status); }
   2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2354   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2355   ac_status=$?
   2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2357   (exit $ac_status); }
   2358 
   2359 cat >conftest.$ac_ext <<_ACEOF
   2360 /* confdefs.h.  */
   2361 _ACEOF
   2362 cat confdefs.h >>conftest.$ac_ext
   2363 cat >>conftest.$ac_ext <<_ACEOF
   2364 /* end confdefs.h.  */
   2365 
   2366 int
   2367 main ()
   2368 {
   2369 
   2370   ;
   2371   return 0;
   2372 }
   2373 _ACEOF
   2374 ac_clean_files_save=$ac_clean_files
   2375 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2376 # Try to create an executable without -o first, disregard a.out.
   2377 # It will help us diagnose broken compilers, and finding out an intuition
   2378 # of exeext.
   2379 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2380 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2381 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2382 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2383   (eval $ac_link_default) 2>&5
   2384   ac_status=$?
   2385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2386   (exit $ac_status); }; then
   2387   # Find the output, starting from the most likely.  This scheme is
   2388 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2389 # resort.
   2390 
   2391 # Be careful to initialize this variable, since it used to be cached.
   2392 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2393 ac_cv_exeext=
   2394 # b.out is created by i960 compilers.
   2395 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2396 do
   2397   test -f "$ac_file" || continue
   2398   case $ac_file in
   2399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2400 	;;
   2401     conftest.$ac_ext )
   2402 	# This is the source file.
   2403 	;;
   2404     [ab].out )
   2405 	# We found the default executable, but exeext='' is most
   2406 	# certainly right.
   2407 	break;;
   2408     *.* )
   2409 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2410 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2411 	# but it would be cool to find out if it's true.  Does anybody
   2412 	# maintain Libtool? --akim.
   2413 	export ac_cv_exeext
   2414 	break;;
   2415     * )
   2416 	break;;
   2417   esac
   2418 done
   2419 else
   2420   echo "$as_me: failed program was:" >&5
   2421 sed 's/^/| /' conftest.$ac_ext >&5
   2422 
   2423 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2424 See \`config.log' for more details." >&5
   2425 echo "$as_me: error: C compiler cannot create executables
   2426 See \`config.log' for more details." >&2;}
   2427    { (exit 77); exit 77; }; }
   2428 fi
   2429 
   2430 ac_exeext=$ac_cv_exeext
   2431 echo "$as_me:$LINENO: result: $ac_file" >&5
   2432 echo "${ECHO_T}$ac_file" >&6
   2433 
   2434 # Check the compiler produces executables we can run.  If not, either
   2435 # the compiler is broken, or we cross compile.
   2436 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2437 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2438 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2439 # If not cross compiling, check that we can run a simple program.
   2440 if test "$cross_compiling" != yes; then
   2441   if { ac_try='./$ac_file'
   2442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2443   (eval $ac_try) 2>&5
   2444   ac_status=$?
   2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2446   (exit $ac_status); }; }; then
   2447     cross_compiling=no
   2448   else
   2449     if test "$cross_compiling" = maybe; then
   2450 	cross_compiling=yes
   2451     else
   2452 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2453 If you meant to cross compile, use \`--host'.
   2454 See \`config.log' for more details." >&5
   2455 echo "$as_me: error: cannot run C compiled programs.
   2456 If you meant to cross compile, use \`--host'.
   2457 See \`config.log' for more details." >&2;}
   2458    { (exit 1); exit 1; }; }
   2459     fi
   2460   fi
   2461 fi
   2462 echo "$as_me:$LINENO: result: yes" >&5
   2463 echo "${ECHO_T}yes" >&6
   2464 
   2465 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2466 ac_clean_files=$ac_clean_files_save
   2467 # Check the compiler produces executables we can run.  If not, either
   2468 # the compiler is broken, or we cross compile.
   2469 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2470 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2471 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2472 echo "${ECHO_T}$cross_compiling" >&6
   2473 
   2474 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2475 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2477   (eval $ac_link) 2>&5
   2478   ac_status=$?
   2479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2480   (exit $ac_status); }; then
   2481   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2482 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2483 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2484 # `rm'.
   2485 for ac_file in conftest.exe conftest conftest.*; do
   2486   test -f "$ac_file" || continue
   2487   case $ac_file in
   2488     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2489     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2490 	  export ac_cv_exeext
   2491 	  break;;
   2492     * ) break;;
   2493   esac
   2494 done
   2495 else
   2496   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2497 See \`config.log' for more details." >&5
   2498 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2499 See \`config.log' for more details." >&2;}
   2500    { (exit 1); exit 1; }; }
   2501 fi
   2502 
   2503 rm -f conftest$ac_cv_exeext
   2504 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2505 echo "${ECHO_T}$ac_cv_exeext" >&6
   2506 
   2507 rm -f conftest.$ac_ext
   2508 EXEEXT=$ac_cv_exeext
   2509 ac_exeext=$EXEEXT
   2510 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2511 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2512 if test "${ac_cv_objext+set}" = set; then
   2513   echo $ECHO_N "(cached) $ECHO_C" >&6
   2514 else
   2515   cat >conftest.$ac_ext <<_ACEOF
   2516 /* confdefs.h.  */
   2517 _ACEOF
   2518 cat confdefs.h >>conftest.$ac_ext
   2519 cat >>conftest.$ac_ext <<_ACEOF
   2520 /* end confdefs.h.  */
   2521 
   2522 int
   2523 main ()
   2524 {
   2525 
   2526   ;
   2527   return 0;
   2528 }
   2529 _ACEOF
   2530 rm -f conftest.o conftest.obj
   2531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2532   (eval $ac_compile) 2>&5
   2533   ac_status=$?
   2534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2535   (exit $ac_status); }; then
   2536   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2537   case $ac_file in
   2538     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2539     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2540        break;;
   2541   esac
   2542 done
   2543 else
   2544   echo "$as_me: failed program was:" >&5
   2545 sed 's/^/| /' conftest.$ac_ext >&5
   2546 
   2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2548 See \`config.log' for more details." >&5
   2549 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2550 See \`config.log' for more details." >&2;}
   2551    { (exit 1); exit 1; }; }
   2552 fi
   2553 
   2554 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2555 fi
   2556 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2557 echo "${ECHO_T}$ac_cv_objext" >&6
   2558 OBJEXT=$ac_cv_objext
   2559 ac_objext=$OBJEXT
   2560 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2562 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2563   echo $ECHO_N "(cached) $ECHO_C" >&6
   2564 else
   2565   cat >conftest.$ac_ext <<_ACEOF
   2566 /* confdefs.h.  */
   2567 _ACEOF
   2568 cat confdefs.h >>conftest.$ac_ext
   2569 cat >>conftest.$ac_ext <<_ACEOF
   2570 /* end confdefs.h.  */
   2571 
   2572 int
   2573 main ()
   2574 {
   2575 #ifndef __GNUC__
   2576        choke me
   2577 #endif
   2578 
   2579   ;
   2580   return 0;
   2581 }
   2582 _ACEOF
   2583 rm -f conftest.$ac_objext
   2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2585   (eval $ac_compile) 2>conftest.er1
   2586   ac_status=$?
   2587   grep -v '^ *+' conftest.er1 >conftest.err
   2588   rm -f conftest.er1
   2589   cat conftest.err >&5
   2590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2591   (exit $ac_status); } &&
   2592 	 { ac_try='test -z "$ac_c_werror_flag"
   2593 			 || test ! -s conftest.err'
   2594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2595   (eval $ac_try) 2>&5
   2596   ac_status=$?
   2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2598   (exit $ac_status); }; } &&
   2599 	 { ac_try='test -s conftest.$ac_objext'
   2600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2601   (eval $ac_try) 2>&5
   2602   ac_status=$?
   2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2604   (exit $ac_status); }; }; then
   2605   ac_compiler_gnu=yes
   2606 else
   2607   echo "$as_me: failed program was:" >&5
   2608 sed 's/^/| /' conftest.$ac_ext >&5
   2609 
   2610 ac_compiler_gnu=no
   2611 fi
   2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2613 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2614 
   2615 fi
   2616 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2617 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2618 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2619 ac_test_CFLAGS=${CFLAGS+set}
   2620 ac_save_CFLAGS=$CFLAGS
   2621 CFLAGS="-g"
   2622 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2623 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2624 if test "${ac_cv_prog_cc_g+set}" = set; then
   2625   echo $ECHO_N "(cached) $ECHO_C" >&6
   2626 else
   2627   cat >conftest.$ac_ext <<_ACEOF
   2628 /* confdefs.h.  */
   2629 _ACEOF
   2630 cat confdefs.h >>conftest.$ac_ext
   2631 cat >>conftest.$ac_ext <<_ACEOF
   2632 /* end confdefs.h.  */
   2633 
   2634 int
   2635 main ()
   2636 {
   2637 
   2638   ;
   2639   return 0;
   2640 }
   2641 _ACEOF
   2642 rm -f conftest.$ac_objext
   2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2644   (eval $ac_compile) 2>conftest.er1
   2645   ac_status=$?
   2646   grep -v '^ *+' conftest.er1 >conftest.err
   2647   rm -f conftest.er1
   2648   cat conftest.err >&5
   2649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2650   (exit $ac_status); } &&
   2651 	 { ac_try='test -z "$ac_c_werror_flag"
   2652 			 || test ! -s conftest.err'
   2653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2654   (eval $ac_try) 2>&5
   2655   ac_status=$?
   2656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2657   (exit $ac_status); }; } &&
   2658 	 { ac_try='test -s conftest.$ac_objext'
   2659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2660   (eval $ac_try) 2>&5
   2661   ac_status=$?
   2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2663   (exit $ac_status); }; }; then
   2664   ac_cv_prog_cc_g=yes
   2665 else
   2666   echo "$as_me: failed program was:" >&5
   2667 sed 's/^/| /' conftest.$ac_ext >&5
   2668 
   2669 ac_cv_prog_cc_g=no
   2670 fi
   2671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2672 fi
   2673 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2674 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2675 if test "$ac_test_CFLAGS" = set; then
   2676   CFLAGS=$ac_save_CFLAGS
   2677 elif test $ac_cv_prog_cc_g = yes; then
   2678   if test "$GCC" = yes; then
   2679     CFLAGS="-g -O2"
   2680   else
   2681     CFLAGS="-g"
   2682   fi
   2683 else
   2684   if test "$GCC" = yes; then
   2685     CFLAGS="-O2"
   2686   else
   2687     CFLAGS=
   2688   fi
   2689 fi
   2690 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2691 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2692 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2693   echo $ECHO_N "(cached) $ECHO_C" >&6
   2694 else
   2695   ac_cv_prog_cc_stdc=no
   2696 ac_save_CC=$CC
   2697 cat >conftest.$ac_ext <<_ACEOF
   2698 /* confdefs.h.  */
   2699 _ACEOF
   2700 cat confdefs.h >>conftest.$ac_ext
   2701 cat >>conftest.$ac_ext <<_ACEOF
   2702 /* end confdefs.h.  */
   2703 #include <stdarg.h>
   2704 #include <stdio.h>
   2705 #include <sys/types.h>
   2706 #include <sys/stat.h>
   2707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2708 struct buf { int x; };
   2709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2710 static char *e (p, i)
   2711      char **p;
   2712      int i;
   2713 {
   2714   return p[i];
   2715 }
   2716 static char *f (char * (*g) (char **, int), char **p, ...)
   2717 {
   2718   char *s;
   2719   va_list v;
   2720   va_start (v,p);
   2721   s = g (p, va_arg (v,int));
   2722   va_end (v);
   2723   return s;
   2724 }
   2725 
   2726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2727    function prototypes and stuff, but not '\xHH' hex character constants.
   2728    These don't provoke an error unfortunately, instead are silently treated
   2729    as 'x'.  The following induces an error, until -std1 is added to get
   2730    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2731    array size at least.  It's necessary to write '\x00'==0 to get something
   2732    that's true only with -std1.  */
   2733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2734 
   2735 int test (int i, double x);
   2736 struct s1 {int (*f) (int a);};
   2737 struct s2 {int (*f) (double a);};
   2738 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2739 int argc;
   2740 char **argv;
   2741 int
   2742 main ()
   2743 {
   2744 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2745   ;
   2746   return 0;
   2747 }
   2748 _ACEOF
   2749 # Don't try gcc -ansi; that turns off useful extensions and
   2750 # breaks some systems' header files.
   2751 # AIX			-qlanglvl=ansi
   2752 # Ultrix and OSF/1	-std1
   2753 # HP-UX 10.20 and later	-Ae
   2754 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2755 # SVR4			-Xc -D__EXTENSIONS__
   2756 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2757 do
   2758   CC="$ac_save_CC $ac_arg"
   2759   rm -f conftest.$ac_objext
   2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2761   (eval $ac_compile) 2>conftest.er1
   2762   ac_status=$?
   2763   grep -v '^ *+' conftest.er1 >conftest.err
   2764   rm -f conftest.er1
   2765   cat conftest.err >&5
   2766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2767   (exit $ac_status); } &&
   2768 	 { ac_try='test -z "$ac_c_werror_flag"
   2769 			 || test ! -s conftest.err'
   2770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2771   (eval $ac_try) 2>&5
   2772   ac_status=$?
   2773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2774   (exit $ac_status); }; } &&
   2775 	 { ac_try='test -s conftest.$ac_objext'
   2776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2777   (eval $ac_try) 2>&5
   2778   ac_status=$?
   2779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2780   (exit $ac_status); }; }; then
   2781   ac_cv_prog_cc_stdc=$ac_arg
   2782 break
   2783 else
   2784   echo "$as_me: failed program was:" >&5
   2785 sed 's/^/| /' conftest.$ac_ext >&5
   2786 
   2787 fi
   2788 rm -f conftest.err conftest.$ac_objext
   2789 done
   2790 rm -f conftest.$ac_ext conftest.$ac_objext
   2791 CC=$ac_save_CC
   2792 
   2793 fi
   2794 
   2795 case "x$ac_cv_prog_cc_stdc" in
   2796   x|xno)
   2797     echo "$as_me:$LINENO: result: none needed" >&5
   2798 echo "${ECHO_T}none needed" >&6 ;;
   2799   *)
   2800     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2801 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2802     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2803 esac
   2804 
   2805 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2806 # in C++ we need to declare it.  In case someone uses the same compiler
   2807 # for both compiling C and C++ we need to have the C++ compiler decide
   2808 # the declaration of exit, since it's the most demanding environment.
   2809 cat >conftest.$ac_ext <<_ACEOF
   2810 #ifndef __cplusplus
   2811   choke me
   2812 #endif
   2813 _ACEOF
   2814 rm -f conftest.$ac_objext
   2815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2816   (eval $ac_compile) 2>conftest.er1
   2817   ac_status=$?
   2818   grep -v '^ *+' conftest.er1 >conftest.err
   2819   rm -f conftest.er1
   2820   cat conftest.err >&5
   2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2822   (exit $ac_status); } &&
   2823 	 { ac_try='test -z "$ac_c_werror_flag"
   2824 			 || test ! -s conftest.err'
   2825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2826   (eval $ac_try) 2>&5
   2827   ac_status=$?
   2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2829   (exit $ac_status); }; } &&
   2830 	 { ac_try='test -s conftest.$ac_objext'
   2831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2832   (eval $ac_try) 2>&5
   2833   ac_status=$?
   2834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2835   (exit $ac_status); }; }; then
   2836   for ac_declaration in \
   2837    '' \
   2838    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2839    'extern "C" void std::exit (int); using std::exit;' \
   2840    'extern "C" void exit (int) throw ();' \
   2841    'extern "C" void exit (int);' \
   2842    'void exit (int);'
   2843 do
   2844   cat >conftest.$ac_ext <<_ACEOF
   2845 /* confdefs.h.  */
   2846 _ACEOF
   2847 cat confdefs.h >>conftest.$ac_ext
   2848 cat >>conftest.$ac_ext <<_ACEOF
   2849 /* end confdefs.h.  */
   2850 $ac_declaration
   2851 #include <stdlib.h>
   2852 int
   2853 main ()
   2854 {
   2855 exit (42);
   2856   ;
   2857   return 0;
   2858 }
   2859 _ACEOF
   2860 rm -f conftest.$ac_objext
   2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2862   (eval $ac_compile) 2>conftest.er1
   2863   ac_status=$?
   2864   grep -v '^ *+' conftest.er1 >conftest.err
   2865   rm -f conftest.er1
   2866   cat conftest.err >&5
   2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2868   (exit $ac_status); } &&
   2869 	 { ac_try='test -z "$ac_c_werror_flag"
   2870 			 || test ! -s conftest.err'
   2871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2872   (eval $ac_try) 2>&5
   2873   ac_status=$?
   2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2875   (exit $ac_status); }; } &&
   2876 	 { ac_try='test -s conftest.$ac_objext'
   2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2878   (eval $ac_try) 2>&5
   2879   ac_status=$?
   2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2881   (exit $ac_status); }; }; then
   2882   :
   2883 else
   2884   echo "$as_me: failed program was:" >&5
   2885 sed 's/^/| /' conftest.$ac_ext >&5
   2886 
   2887 continue
   2888 fi
   2889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2890   cat >conftest.$ac_ext <<_ACEOF
   2891 /* confdefs.h.  */
   2892 _ACEOF
   2893 cat confdefs.h >>conftest.$ac_ext
   2894 cat >>conftest.$ac_ext <<_ACEOF
   2895 /* end confdefs.h.  */
   2896 $ac_declaration
   2897 int
   2898 main ()
   2899 {
   2900 exit (42);
   2901   ;
   2902   return 0;
   2903 }
   2904 _ACEOF
   2905 rm -f conftest.$ac_objext
   2906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2907   (eval $ac_compile) 2>conftest.er1
   2908   ac_status=$?
   2909   grep -v '^ *+' conftest.er1 >conftest.err
   2910   rm -f conftest.er1
   2911   cat conftest.err >&5
   2912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2913   (exit $ac_status); } &&
   2914 	 { ac_try='test -z "$ac_c_werror_flag"
   2915 			 || test ! -s conftest.err'
   2916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2917   (eval $ac_try) 2>&5
   2918   ac_status=$?
   2919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2920   (exit $ac_status); }; } &&
   2921 	 { ac_try='test -s conftest.$ac_objext'
   2922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2923   (eval $ac_try) 2>&5
   2924   ac_status=$?
   2925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2926   (exit $ac_status); }; }; then
   2927   break
   2928 else
   2929   echo "$as_me: failed program was:" >&5
   2930 sed 's/^/| /' conftest.$ac_ext >&5
   2931 
   2932 fi
   2933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2934 done
   2935 rm -f conftest*
   2936 if test -n "$ac_declaration"; then
   2937   echo '#ifdef __cplusplus' >>confdefs.h
   2938   echo $ac_declaration      >>confdefs.h
   2939   echo '#endif'             >>confdefs.h
   2940 fi
   2941 
   2942 else
   2943   echo "$as_me: failed program was:" >&5
   2944 sed 's/^/| /' conftest.$ac_ext >&5
   2945 
   2946 fi
   2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2948 ac_ext=c
   2949 ac_cpp='$CPP $CPPFLAGS'
   2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2953 DEPDIR="${am__leading_dot}deps"
   2954 
   2955           ac_config_commands="$ac_config_commands depfiles"
   2956 
   2957 
   2958 am_make=${MAKE-make}
   2959 cat > confinc << 'END'
   2960 am__doit:
   2961 	@echo done
   2962 .PHONY: am__doit
   2963 END
   2964 # If we don't find an include directive, just comment out the code.
   2965 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2966 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2967 am__include="#"
   2968 am__quote=
   2969 _am_result=none
   2970 # First try GNU make style include.
   2971 echo "include confinc" > confmf
   2972 # We grep out `Entering directory' and `Leaving directory'
   2973 # messages which can occur if `w' ends up in MAKEFLAGS.
   2974 # In particular we don't look at `^make:' because GNU make might
   2975 # be invoked under some other name (usually "gmake"), in which
   2976 # case it prints its new name instead of `make'.
   2977 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2978    am__include=include
   2979    am__quote=
   2980    _am_result=GNU
   2981 fi
   2982 # Now try BSD make style include.
   2983 if test "$am__include" = "#"; then
   2984    echo '.include "confinc"' > confmf
   2985    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2986       am__include=.include
   2987       am__quote="\""
   2988       _am_result=BSD
   2989    fi
   2990 fi
   2991 
   2992 
   2993 echo "$as_me:$LINENO: result: $_am_result" >&5
   2994 echo "${ECHO_T}$_am_result" >&6
   2995 rm -f confinc confmf
   2996 
   2997 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2998 if test "${enable_dependency_tracking+set}" = set; then
   2999   enableval="$enable_dependency_tracking"
   3000 
   3001 fi;
   3002 if test "x$enable_dependency_tracking" != xno; then
   3003   am_depcomp="$ac_aux_dir/depcomp"
   3004   AMDEPBACKSLASH='\'
   3005 fi
   3006 
   3007 
   3008 if test "x$enable_dependency_tracking" != xno; then
   3009   AMDEP_TRUE=
   3010   AMDEP_FALSE='#'
   3011 else
   3012   AMDEP_TRUE='#'
   3013   AMDEP_FALSE=
   3014 fi
   3015 
   3016 
   3017 
   3018 
   3019 depcc="$CC"   am_compiler_list=
   3020 
   3021 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3022 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3023 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3024   echo $ECHO_N "(cached) $ECHO_C" >&6
   3025 else
   3026   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3027   # We make a subdir and do the tests there.  Otherwise we can end up
   3028   # making bogus files that we don't know about and never remove.  For
   3029   # instance it was reported that on HP-UX the gcc test will end up
   3030   # making a dummy file named `D' -- because `-MD' means `put the output
   3031   # in D'.
   3032   mkdir conftest.dir
   3033   # Copy depcomp to subdir because otherwise we won't find it if we're
   3034   # using a relative directory.
   3035   cp "$am_depcomp" conftest.dir
   3036   cd conftest.dir
   3037   # We will build objects and dependencies in a subdirectory because
   3038   # it helps to detect inapplicable dependency modes.  For instance
   3039   # both Tru64's cc and ICC support -MD to output dependencies as a
   3040   # side effect of compilation, but ICC will put the dependencies in
   3041   # the current directory while Tru64 will put them in the object
   3042   # directory.
   3043   mkdir sub
   3044 
   3045   am_cv_CC_dependencies_compiler_type=none
   3046   if test "$am_compiler_list" = ""; then
   3047      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3048   fi
   3049   for depmode in $am_compiler_list; do
   3050     # Setup a source with many dependencies, because some compilers
   3051     # like to wrap large dependency lists on column 80 (with \), and
   3052     # we should not choose a depcomp mode which is confused by this.
   3053     #
   3054     # We need to recreate these files for each test, as the compiler may
   3055     # overwrite some of them when testing with obscure command lines.
   3056     # This happens at least with the AIX C compiler.
   3057     : > sub/conftest.c
   3058     for i in 1 2 3 4 5 6; do
   3059       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3060       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3061       # Solaris 8's {/usr,}/bin/sh.
   3062       touch sub/conftst$i.h
   3063     done
   3064     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3065 
   3066     case $depmode in
   3067     nosideeffect)
   3068       # after this tag, mechanisms are not by side-effect, so they'll
   3069       # only be used when explicitly requested
   3070       if test "x$enable_dependency_tracking" = xyes; then
   3071 	continue
   3072       else
   3073 	break
   3074       fi
   3075       ;;
   3076     none) break ;;
   3077     esac
   3078     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3079     # mode.  It turns out that the SunPro C++ compiler does not properly
   3080     # handle `-M -o', and we need to detect this.
   3081     if depmode=$depmode \
   3082        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3083        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3084        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3085          >/dev/null 2>conftest.err &&
   3086        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3087        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3088        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3089       # icc doesn't choke on unknown options, it will just issue warnings
   3090       # or remarks (even with -Werror).  So we grep stderr for any message
   3091       # that says an option was ignored or not supported.
   3092       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3093       #   icc: Command line warning: ignoring option '-M'; no argument required
   3094       # The diagnosis changed in icc 8.0:
   3095       #   icc: Command line remark: option '-MP' not supported
   3096       if (grep 'ignoring option' conftest.err ||
   3097           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3098         am_cv_CC_dependencies_compiler_type=$depmode
   3099         break
   3100       fi
   3101     fi
   3102   done
   3103 
   3104   cd ..
   3105   rm -rf conftest.dir
   3106 else
   3107   am_cv_CC_dependencies_compiler_type=none
   3108 fi
   3109 
   3110 fi
   3111 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3112 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3113 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3114 
   3115 
   3116 
   3117 if
   3118   test "x$enable_dependency_tracking" != xno \
   3119   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3120   am__fastdepCC_TRUE=
   3121   am__fastdepCC_FALSE='#'
   3122 else
   3123   am__fastdepCC_TRUE='#'
   3124   am__fastdepCC_FALSE=
   3125 fi
   3126 
   3127 
   3128 # Find a good install program.  We prefer a C program (faster),
   3129 # so one script is as good as another.  But avoid the broken or
   3130 # incompatible versions:
   3131 # SysV /etc/install, /usr/sbin/install
   3132 # SunOS /usr/etc/install
   3133 # IRIX /sbin/install
   3134 # AIX /bin/install
   3135 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3136 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3137 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3138 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3139 # OS/2's system install, which has a completely different semantic
   3140 # ./install, which can be erroneously created by make from ./install.sh.
   3141 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3142 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   3143 if test -z "$INSTALL"; then
   3144 if test "${ac_cv_path_install+set}" = set; then
   3145   echo $ECHO_N "(cached) $ECHO_C" >&6
   3146 else
   3147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3148 for as_dir in $PATH
   3149 do
   3150   IFS=$as_save_IFS
   3151   test -z "$as_dir" && as_dir=.
   3152   # Account for people who put trailing slashes in PATH elements.
   3153 case $as_dir/ in
   3154   ./ | .// | /cC/* | \
   3155   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3156   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3157   /usr/ucb/* ) ;;
   3158   *)
   3159     # OSF1 and SCO ODT 3.0 have their own names for install.
   3160     # Don't use installbsd from OSF since it installs stuff as root
   3161     # by default.
   3162     for ac_prog in ginstall scoinst install; do
   3163       for ac_exec_ext in '' $ac_executable_extensions; do
   3164 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3165 	  if test $ac_prog = install &&
   3166 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3167 	    # AIX install.  It has an incompatible calling convention.
   3168 	    :
   3169 	  elif test $ac_prog = install &&
   3170 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3171 	    # program-specific install script used by HP pwplus--don't use.
   3172 	    :
   3173 	  else
   3174 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3175 	    break 3
   3176 	  fi
   3177 	fi
   3178       done
   3179     done
   3180     ;;
   3181 esac
   3182 done
   3183 
   3184 
   3185 fi
   3186   if test "${ac_cv_path_install+set}" = set; then
   3187     INSTALL=$ac_cv_path_install
   3188   else
   3189     # As a last resort, use the slow shell script.  We don't cache a
   3190     # path for INSTALL within a source directory, because that will
   3191     # break other packages using the cache if that directory is
   3192     # removed, or if the path is relative.
   3193     INSTALL=$ac_install_sh
   3194   fi
   3195 fi
   3196 echo "$as_me:$LINENO: result: $INSTALL" >&5
   3197 echo "${ECHO_T}$INSTALL" >&6
   3198 
   3199 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3200 # It thinks the first close brace ends the variable substitution.
   3201 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3202 
   3203 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3204 
   3205 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3206 
   3207 echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3208 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   3209 LN_S=$as_ln_s
   3210 if test "$LN_S" = "ln -s"; then
   3211   echo "$as_me:$LINENO: result: yes" >&5
   3212 echo "${ECHO_T}yes" >&6
   3213 else
   3214   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3215 echo "${ECHO_T}no, using $LN_S" >&6
   3216 fi
   3217 
   3218 
   3219 
   3220 # Check whether --enable-shared or --disable-shared was given.
   3221 if test "${enable_shared+set}" = set; then
   3222   enableval="$enable_shared"
   3223   p=${PACKAGE-default}
   3224     case $enableval in
   3225     yes) enable_shared=yes ;;
   3226     no) enable_shared=no ;;
   3227     *)
   3228       enable_shared=no
   3229       # Look at the argument we got.  We use all the common list separators.
   3230       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3231       for pkg in $enableval; do
   3232 	IFS="$lt_save_ifs"
   3233 	if test "X$pkg" = "X$p"; then
   3234 	  enable_shared=yes
   3235 	fi
   3236       done
   3237       IFS="$lt_save_ifs"
   3238       ;;
   3239     esac
   3240 else
   3241   enable_shared=yes
   3242 fi;
   3243 
   3244 # Check whether --enable-static or --disable-static was given.
   3245 if test "${enable_static+set}" = set; then
   3246   enableval="$enable_static"
   3247   p=${PACKAGE-default}
   3248     case $enableval in
   3249     yes) enable_static=yes ;;
   3250     no) enable_static=no ;;
   3251     *)
   3252      enable_static=no
   3253       # Look at the argument we got.  We use all the common list separators.
   3254       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3255       for pkg in $enableval; do
   3256 	IFS="$lt_save_ifs"
   3257 	if test "X$pkg" = "X$p"; then
   3258 	  enable_static=yes
   3259 	fi
   3260       done
   3261       IFS="$lt_save_ifs"
   3262       ;;
   3263     esac
   3264 else
   3265   enable_static=yes
   3266 fi;
   3267 
   3268 # Check whether --enable-fast-install or --disable-fast-install was given.
   3269 if test "${enable_fast_install+set}" = set; then
   3270   enableval="$enable_fast_install"
   3271   p=${PACKAGE-default}
   3272     case $enableval in
   3273     yes) enable_fast_install=yes ;;
   3274     no) enable_fast_install=no ;;
   3275     *)
   3276       enable_fast_install=no
   3277       # Look at the argument we got.  We use all the common list separators.
   3278       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3279       for pkg in $enableval; do
   3280 	IFS="$lt_save_ifs"
   3281 	if test "X$pkg" = "X$p"; then
   3282 	  enable_fast_install=yes
   3283 	fi
   3284       done
   3285       IFS="$lt_save_ifs"
   3286       ;;
   3287     esac
   3288 else
   3289   enable_fast_install=yes
   3290 fi;
   3291 
   3292 # Make sure we can run config.sub.
   3293 $ac_config_sub sun4 >/dev/null 2>&1 ||
   3294   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   3295 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   3296    { (exit 1); exit 1; }; }
   3297 
   3298 echo "$as_me:$LINENO: checking build system type" >&5
   3299 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   3300 if test "${ac_cv_build+set}" = set; then
   3301   echo $ECHO_N "(cached) $ECHO_C" >&6
   3302 else
   3303   ac_cv_build_alias=$build_alias
   3304 test -z "$ac_cv_build_alias" &&
   3305   ac_cv_build_alias=`$ac_config_guess`
   3306 test -z "$ac_cv_build_alias" &&
   3307   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3308 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3309    { (exit 1); exit 1; }; }
   3310 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   3311   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   3312 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   3313    { (exit 1); exit 1; }; }
   3314 
   3315 fi
   3316 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3317 echo "${ECHO_T}$ac_cv_build" >&6
   3318 build=$ac_cv_build
   3319 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3320 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3321 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3322 
   3323 
   3324 echo "$as_me:$LINENO: checking host system type" >&5
   3325 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   3326 if test "${ac_cv_host+set}" = set; then
   3327   echo $ECHO_N "(cached) $ECHO_C" >&6
   3328 else
   3329   ac_cv_host_alias=$host_alias
   3330 test -z "$ac_cv_host_alias" &&
   3331   ac_cv_host_alias=$ac_cv_build_alias
   3332 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   3333   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   3334 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   3335    { (exit 1); exit 1; }; }
   3336 
   3337 fi
   3338 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3339 echo "${ECHO_T}$ac_cv_host" >&6
   3340 host=$ac_cv_host
   3341 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   3342 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   3343 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   3344 
   3345 
   3346 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3347 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
   3348 if test "${lt_cv_path_SED+set}" = set; then
   3349   echo $ECHO_N "(cached) $ECHO_C" >&6
   3350 else
   3351   # Loop through the user's path and test for sed and gsed.
   3352 # Then use that list of sed's as ones to test for truncation.
   3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3354 for as_dir in $PATH
   3355 do
   3356   IFS=$as_save_IFS
   3357   test -z "$as_dir" && as_dir=.
   3358   for lt_ac_prog in sed gsed; do
   3359     for ac_exec_ext in '' $ac_executable_extensions; do
   3360       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3361         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3362       fi
   3363     done
   3364   done
   3365 done
   3366 lt_ac_max=0
   3367 lt_ac_count=0
   3368 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3369 # along with /bin/sed that truncates output.
   3370 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3371   test ! -f $lt_ac_sed && continue
   3372   cat /dev/null > conftest.in
   3373   lt_ac_count=0
   3374   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3375   # Check for GNU sed and select it if it is found.
   3376   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3377     lt_cv_path_SED=$lt_ac_sed
   3378     break
   3379   fi
   3380   while true; do
   3381     cat conftest.in conftest.in >conftest.tmp
   3382     mv conftest.tmp conftest.in
   3383     cp conftest.in conftest.nl
   3384     echo >>conftest.nl
   3385     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3386     cmp -s conftest.out conftest.nl || break
   3387     # 10000 chars as input seems more than enough
   3388     test $lt_ac_count -gt 10 && break
   3389     lt_ac_count=`expr $lt_ac_count + 1`
   3390     if test $lt_ac_count -gt $lt_ac_max; then
   3391       lt_ac_max=$lt_ac_count
   3392       lt_cv_path_SED=$lt_ac_sed
   3393     fi
   3394   done
   3395 done
   3396 
   3397 fi
   3398 
   3399 SED=$lt_cv_path_SED
   3400 echo "$as_me:$LINENO: result: $SED" >&5
   3401 echo "${ECHO_T}$SED" >&6
   3402 
   3403 echo "$as_me:$LINENO: checking for egrep" >&5
   3404 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3405 if test "${ac_cv_prog_egrep+set}" = set; then
   3406   echo $ECHO_N "(cached) $ECHO_C" >&6
   3407 else
   3408   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3409     then ac_cv_prog_egrep='grep -E'
   3410     else ac_cv_prog_egrep='egrep'
   3411     fi
   3412 fi
   3413 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3414 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3415  EGREP=$ac_cv_prog_egrep
   3416 
   3417 
   3418 
   3419 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   3420 if test "${with_gnu_ld+set}" = set; then
   3421   withval="$with_gnu_ld"
   3422   test "$withval" = no || with_gnu_ld=yes
   3423 else
   3424   with_gnu_ld=no
   3425 fi;
   3426 ac_prog=ld
   3427 if test "$GCC" = yes; then
   3428   # Check if gcc -print-prog-name=ld gives a path.
   3429   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3430 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   3431   case $host in
   3432   *-*-mingw*)
   3433     # gcc leaves a trailing carriage return which upsets mingw
   3434     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3435   *)
   3436     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3437   esac
   3438   case $ac_prog in
   3439     # Accept absolute paths.
   3440     [\\/]* | ?:[\\/]*)
   3441       re_direlt='/[^/][^/]*/\.\./'
   3442       # Canonicalize the pathname of ld
   3443       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3444       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3445 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3446       done
   3447       test -z "$LD" && LD="$ac_prog"
   3448       ;;
   3449   "")
   3450     # If it fails, then pretend we aren't using GCC.
   3451     ac_prog=ld
   3452     ;;
   3453   *)
   3454     # If it is relative, then search for the first ld in PATH.
   3455     with_gnu_ld=unknown
   3456     ;;
   3457   esac
   3458 elif test "$with_gnu_ld" = yes; then
   3459   echo "$as_me:$LINENO: checking for GNU ld" >&5
   3460 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   3461 else
   3462   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3463 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   3464 fi
   3465 if test "${lt_cv_path_LD+set}" = set; then
   3466   echo $ECHO_N "(cached) $ECHO_C" >&6
   3467 else
   3468   if test -z "$LD"; then
   3469   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3470   for ac_dir in $PATH; do
   3471     IFS="$lt_save_ifs"
   3472     test -z "$ac_dir" && ac_dir=.
   3473     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3474       lt_cv_path_LD="$ac_dir/$ac_prog"
   3475       # Check to see if the program is GNU ld.  I'd rather use --version,
   3476       # but apparently some variants of GNU ld only accept -v.
   3477       # Break only if it was the GNU/non-GNU ld that we prefer.
   3478       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   3479       *GNU* | *'with BFD'*)
   3480 	test "$with_gnu_ld" != no && break
   3481 	;;
   3482       *)
   3483 	test "$with_gnu_ld" != yes && break
   3484 	;;
   3485       esac
   3486     fi
   3487   done
   3488   IFS="$lt_save_ifs"
   3489 else
   3490   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   3491 fi
   3492 fi
   3493 
   3494 LD="$lt_cv_path_LD"
   3495 if test -n "$LD"; then
   3496   echo "$as_me:$LINENO: result: $LD" >&5
   3497 echo "${ECHO_T}$LD" >&6
   3498 else
   3499   echo "$as_me:$LINENO: result: no" >&5
   3500 echo "${ECHO_T}no" >&6
   3501 fi
   3502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   3503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   3504    { (exit 1); exit 1; }; }
   3505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   3506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   3507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   3508   echo $ECHO_N "(cached) $ECHO_C" >&6
   3509 else
   3510   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   3511 case `$LD -v 2>&1 </dev/null` in
   3512 *GNU* | *'with BFD'*)
   3513   lt_cv_prog_gnu_ld=yes
   3514   ;;
   3515 *)
   3516   lt_cv_prog_gnu_ld=no
   3517   ;;
   3518 esac
   3519 fi
   3520 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   3521 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   3522 with_gnu_ld=$lt_cv_prog_gnu_ld
   3523 
   3524 
   3525 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   3526 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
   3527 if test "${lt_cv_ld_reload_flag+set}" = set; then
   3528   echo $ECHO_N "(cached) $ECHO_C" >&6
   3529 else
   3530   lt_cv_ld_reload_flag='-r'
   3531 fi
   3532 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   3533 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
   3534 reload_flag=$lt_cv_ld_reload_flag
   3535 case $reload_flag in
   3536 "" | " "*) ;;
   3537 *) reload_flag=" $reload_flag" ;;
   3538 esac
   3539 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3540 case $host_os in
   3541   darwin*)
   3542     if test "$GCC" = yes; then
   3543       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   3544     else
   3545       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   3546     fi
   3547     ;;
   3548 esac
   3549 
   3550 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   3551 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
   3552 if test "${lt_cv_path_NM+set}" = set; then
   3553   echo $ECHO_N "(cached) $ECHO_C" >&6
   3554 else
   3555   if test -n "$NM"; then
   3556   # Let the user override the test.
   3557   lt_cv_path_NM="$NM"
   3558 else
   3559   lt_nm_to_check="${ac_tool_prefix}nm"
   3560   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   3561     lt_nm_to_check="$lt_nm_to_check nm"
   3562   fi
   3563   for lt_tmp_nm in $lt_nm_to_check; do
   3564     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3565     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   3566       IFS="$lt_save_ifs"
   3567       test -z "$ac_dir" && ac_dir=.
   3568       tmp_nm="$ac_dir/$lt_tmp_nm"
   3569       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   3570 	# Check to see if the nm accepts a BSD-compat flag.
   3571 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   3572 	#   nm: unknown option "B" ignored
   3573 	# Tru64's nm complains that /dev/null is an invalid object file
   3574 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   3575 	*/dev/null* | *'Invalid file or object type'*)
   3576 	  lt_cv_path_NM="$tmp_nm -B"
   3577 	  break
   3578 	  ;;
   3579 	*)
   3580 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   3581 	  */dev/null*)
   3582 	    lt_cv_path_NM="$tmp_nm -p"
   3583 	    break
   3584 	    ;;
   3585 	  *)
   3586 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   3587 	    continue # so that we can try to find one that supports BSD flags
   3588 	    ;;
   3589 	  esac
   3590 	  ;;
   3591 	esac
   3592       fi
   3593     done
   3594     IFS="$lt_save_ifs"
   3595   done
   3596   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   3597 fi
   3598 fi
   3599 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   3600 echo "${ECHO_T}$lt_cv_path_NM" >&6
   3601 NM="$lt_cv_path_NM"
   3602 
   3603 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   3604 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
   3605 if test "${lt_cv_deplibs_check_method+set}" = set; then
   3606   echo $ECHO_N "(cached) $ECHO_C" >&6
   3607 else
   3608   lt_cv_file_magic_cmd='$MAGIC_CMD'
   3609 lt_cv_file_magic_test_file=
   3610 lt_cv_deplibs_check_method='unknown'
   3611 # Need to set the preceding variable on all platforms that support
   3612 # interlibrary dependencies.
   3613 # 'none' -- dependencies not supported.
   3614 # `unknown' -- same as none, but documents that we really don't know.
   3615 # 'pass_all' -- all dependencies passed with no checks.
   3616 # 'test_compile' -- check by making test program.
   3617 # 'file_magic [[regex]]' -- check by looking for files in library path
   3618 # which responds to the $file_magic_cmd with a given extended regex.
   3619 # If you have `file' or equivalent on your system and you're not sure
   3620 # whether `pass_all' will *always* work, you probably want this one.
   3621 
   3622 case $host_os in
   3623 aix4* | aix5*)
   3624   lt_cv_deplibs_check_method=pass_all
   3625   ;;
   3626 
   3627 beos*)
   3628   lt_cv_deplibs_check_method=pass_all
   3629   ;;
   3630 
   3631 bsdi[45]*)
   3632   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   3633   lt_cv_file_magic_cmd='/usr/bin/file -L'
   3634   lt_cv_file_magic_test_file=/shlib/libc.so
   3635   ;;
   3636 
   3637 cygwin*)
   3638   # func_win32_libid is a shell function defined in ltmain.sh
   3639   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   3640   lt_cv_file_magic_cmd='func_win32_libid'
   3641   ;;
   3642 
   3643 mingw* | pw32*)
   3644   # Base MSYS/MinGW do not provide the 'file' command needed by
   3645   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   3646   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   3647   lt_cv_file_magic_cmd='$OBJDUMP -f'
   3648   ;;
   3649 
   3650 darwin* | rhapsody*)
   3651   lt_cv_deplibs_check_method=pass_all
   3652   ;;
   3653 
   3654 freebsd* | kfreebsd*-gnu | dragonfly*)
   3655   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3656     case $host_cpu in
   3657     i*86 )
   3658       # Not sure whether the presence of OpenBSD here was a mistake.
   3659       # Let's accept both of them until this is cleared up.
   3660       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   3661       lt_cv_file_magic_cmd=/usr/bin/file
   3662       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   3663       ;;
   3664     esac
   3665   else
   3666     lt_cv_deplibs_check_method=pass_all
   3667   fi
   3668   ;;
   3669 
   3670 gnu*)
   3671   lt_cv_deplibs_check_method=pass_all
   3672   ;;
   3673 
   3674 hpux10.20* | hpux11*)
   3675   lt_cv_file_magic_cmd=/usr/bin/file
   3676   case $host_cpu in
   3677   ia64*)
   3678     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   3679     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   3680     ;;
   3681   hppa*64*)
   3682     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]'
   3683     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   3684     ;;
   3685   *)
   3686     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   3687     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   3688     ;;
   3689   esac
   3690   ;;
   3691 
   3692 interix3*)
   3693   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   3694   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   3695   ;;
   3696 
   3697 irix5* | irix6* | nonstopux*)
   3698   case $LD in
   3699   *-32|*"-32 ") libmagic=32-bit;;
   3700   *-n32|*"-n32 ") libmagic=N32;;
   3701   *-64|*"-64 ") libmagic=64-bit;;
   3702   *) libmagic=never-match;;
   3703   esac
   3704   lt_cv_deplibs_check_method=pass_all
   3705   ;;
   3706 
   3707 # This must be Linux ELF.
   3708 linux*)
   3709   lt_cv_deplibs_check_method=pass_all
   3710   ;;
   3711 
   3712 netbsd*)
   3713   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   3714     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3715   else
   3716     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   3717   fi
   3718   ;;
   3719 
   3720 newos6*)
   3721   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   3722   lt_cv_file_magic_cmd=/usr/bin/file
   3723   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   3724   ;;
   3725 
   3726 nto-qnx*)
   3727   lt_cv_deplibs_check_method=unknown
   3728   ;;
   3729 
   3730 openbsd*)
   3731   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   3732     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   3733   else
   3734     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   3735   fi
   3736   ;;
   3737 
   3738 osf3* | osf4* | osf5*)
   3739   lt_cv_deplibs_check_method=pass_all
   3740   ;;
   3741 
   3742 solaris*)
   3743   lt_cv_deplibs_check_method=pass_all
   3744   ;;
   3745 
   3746 sysv4 | sysv4.3*)
   3747   case $host_vendor in
   3748   motorola)
   3749     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]'
   3750     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   3751     ;;
   3752   ncr)
   3753     lt_cv_deplibs_check_method=pass_all
   3754     ;;
   3755   sequent)
   3756     lt_cv_file_magic_cmd='/bin/file'
   3757     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   3758     ;;
   3759   sni)
   3760     lt_cv_file_magic_cmd='/bin/file'
   3761     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   3762     lt_cv_file_magic_test_file=/lib/libc.so
   3763     ;;
   3764   siemens)
   3765     lt_cv_deplibs_check_method=pass_all
   3766     ;;
   3767   pc)
   3768     lt_cv_deplibs_check_method=pass_all
   3769     ;;
   3770   esac
   3771   ;;
   3772 
   3773 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   3774   lt_cv_deplibs_check_method=pass_all
   3775   ;;
   3776 esac
   3777 
   3778 fi
   3779 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   3780 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
   3781 file_magic_cmd=$lt_cv_file_magic_cmd
   3782 deplibs_check_method=$lt_cv_deplibs_check_method
   3783 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   3784 
   3785 
   3786 
   3787 
   3788 # If no C compiler was specified, use CC.
   3789 LTCC=${LTCC-"$CC"}
   3790 
   3791 # If no C compiler flags were specified, use CFLAGS.
   3792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   3793 
   3794 # Allow CC to be a program name with arguments.
   3795 compiler=$CC
   3796 
   3797 
   3798 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   3799 if test "${enable_libtool_lock+set}" = set; then
   3800   enableval="$enable_libtool_lock"
   3801 
   3802 fi;
   3803 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   3804 
   3805 # Some flags need to be propagated to the compiler or linker for good
   3806 # libtool support.
   3807 case $host in
   3808 ia64-*-hpux*)
   3809   # Find out which ABI we are using.
   3810   echo 'int i;' > conftest.$ac_ext
   3811   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3812   (eval $ac_compile) 2>&5
   3813   ac_status=$?
   3814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3815   (exit $ac_status); }; then
   3816     case `/usr/bin/file conftest.$ac_objext` in
   3817     *ELF-32*)
   3818       HPUX_IA64_MODE="32"
   3819       ;;
   3820     *ELF-64*)
   3821       HPUX_IA64_MODE="64"
   3822       ;;
   3823     esac
   3824   fi
   3825   rm -rf conftest*
   3826   ;;
   3827 *-*-irix6*)
   3828   # Find out which ABI we are using.
   3829   echo '#line 3829 "configure"' > conftest.$ac_ext
   3830   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3831   (eval $ac_compile) 2>&5
   3832   ac_status=$?
   3833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3834   (exit $ac_status); }; then
   3835    if test "$lt_cv_prog_gnu_ld" = yes; then
   3836     case `/usr/bin/file conftest.$ac_objext` in
   3837     *32-bit*)
   3838       LD="${LD-ld} -melf32bsmip"
   3839       ;;
   3840     *N32*)
   3841       LD="${LD-ld} -melf32bmipn32"
   3842       ;;
   3843     *64-bit*)
   3844       LD="${LD-ld} -melf64bmip"
   3845       ;;
   3846     esac
   3847    else
   3848     case `/usr/bin/file conftest.$ac_objext` in
   3849     *32-bit*)
   3850       LD="${LD-ld} -32"
   3851       ;;
   3852     *N32*)
   3853       LD="${LD-ld} -n32"
   3854       ;;
   3855     *64-bit*)
   3856       LD="${LD-ld} -64"
   3857       ;;
   3858     esac
   3859    fi
   3860   fi
   3861   rm -rf conftest*
   3862   ;;
   3863 
   3864 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   3865   # Find out which ABI we are using.
   3866   echo 'int i;' > conftest.$ac_ext
   3867   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3868   (eval $ac_compile) 2>&5
   3869   ac_status=$?
   3870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3871   (exit $ac_status); }; then
   3872     case `/usr/bin/file conftest.o` in
   3873     *32-bit*)
   3874       case $host in
   3875         x86_64-*linux*)
   3876           LD="${LD-ld} -m elf_i386"
   3877           ;;
   3878         ppc64-*linux*|powerpc64-*linux*)
   3879           LD="${LD-ld} -m elf32ppclinux"
   3880           ;;
   3881         s390x-*linux*)
   3882           LD="${LD-ld} -m elf_s390"
   3883           ;;
   3884         sparc64-*linux*)
   3885           LD="${LD-ld} -m elf32_sparc"
   3886           ;;
   3887       esac
   3888       ;;
   3889     *64-bit*)
   3890       case $host in
   3891         x86_64-*linux*)
   3892           LD="${LD-ld} -m elf_x86_64"
   3893           ;;
   3894         ppc*-*linux*|powerpc*-*linux*)
   3895           LD="${LD-ld} -m elf64ppc"
   3896           ;;
   3897         s390*-*linux*)
   3898           LD="${LD-ld} -m elf64_s390"
   3899           ;;
   3900         sparc*-*linux*)
   3901           LD="${LD-ld} -m elf64_sparc"
   3902           ;;
   3903       esac
   3904       ;;
   3905     esac
   3906   fi
   3907   rm -rf conftest*
   3908   ;;
   3909 
   3910 *-*-sco3.2v5*)
   3911   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   3912   SAVE_CFLAGS="$CFLAGS"
   3913   CFLAGS="$CFLAGS -belf"
   3914   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   3915 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   3916 if test "${lt_cv_cc_needs_belf+set}" = set; then
   3917   echo $ECHO_N "(cached) $ECHO_C" >&6
   3918 else
   3919   ac_ext=c
   3920 ac_cpp='$CPP $CPPFLAGS'
   3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3924 
   3925      cat >conftest.$ac_ext <<_ACEOF
   3926 /* confdefs.h.  */
   3927 _ACEOF
   3928 cat confdefs.h >>conftest.$ac_ext
   3929 cat >>conftest.$ac_ext <<_ACEOF
   3930 /* end confdefs.h.  */
   3931 
   3932 int
   3933 main ()
   3934 {
   3935 
   3936   ;
   3937   return 0;
   3938 }
   3939 _ACEOF
   3940 rm -f conftest.$ac_objext conftest$ac_exeext
   3941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3942   (eval $ac_link) 2>conftest.er1
   3943   ac_status=$?
   3944   grep -v '^ *+' conftest.er1 >conftest.err
   3945   rm -f conftest.er1
   3946   cat conftest.err >&5
   3947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3948   (exit $ac_status); } &&
   3949 	 { ac_try='test -z "$ac_c_werror_flag"
   3950 			 || test ! -s conftest.err'
   3951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3952   (eval $ac_try) 2>&5
   3953   ac_status=$?
   3954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3955   (exit $ac_status); }; } &&
   3956 	 { ac_try='test -s conftest$ac_exeext'
   3957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3958   (eval $ac_try) 2>&5
   3959   ac_status=$?
   3960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3961   (exit $ac_status); }; }; then
   3962   lt_cv_cc_needs_belf=yes
   3963 else
   3964   echo "$as_me: failed program was:" >&5
   3965 sed 's/^/| /' conftest.$ac_ext >&5
   3966 
   3967 lt_cv_cc_needs_belf=no
   3968 fi
   3969 rm -f conftest.err conftest.$ac_objext \
   3970       conftest$ac_exeext conftest.$ac_ext
   3971      ac_ext=c
   3972 ac_cpp='$CPP $CPPFLAGS'
   3973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3976 
   3977 fi
   3978 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   3979 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   3980   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   3981     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   3982     CFLAGS="$SAVE_CFLAGS"
   3983   fi
   3984   ;;
   3985 sparc*-*solaris*)
   3986   # Find out which ABI we are using.
   3987   echo 'int i;' > conftest.$ac_ext
   3988   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3989   (eval $ac_compile) 2>&5
   3990   ac_status=$?
   3991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3992   (exit $ac_status); }; then
   3993     case `/usr/bin/file conftest.o` in
   3994     *64-bit*)
   3995       case $lt_cv_prog_gnu_ld in
   3996       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   3997       *)    LD="${LD-ld} -64" ;;
   3998       esac
   3999       ;;
   4000     esac
   4001   fi
   4002   rm -rf conftest*
   4003   ;;
   4004 
   4005 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
   4006   if test -n "$ac_tool_prefix"; then
   4007   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4008 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4009 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4011 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   4012   echo $ECHO_N "(cached) $ECHO_C" >&6
   4013 else
   4014   if test -n "$DLLTOOL"; then
   4015   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4016 else
   4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4018 for as_dir in $PATH
   4019 do
   4020   IFS=$as_save_IFS
   4021   test -z "$as_dir" && as_dir=.
   4022   for ac_exec_ext in '' $ac_executable_extensions; do
   4023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4024     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4026     break 2
   4027   fi
   4028 done
   4029 done
   4030 
   4031 fi
   4032 fi
   4033 DLLTOOL=$ac_cv_prog_DLLTOOL
   4034 if test -n "$DLLTOOL"; then
   4035   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
   4036 echo "${ECHO_T}$DLLTOOL" >&6
   4037 else
   4038   echo "$as_me:$LINENO: result: no" >&5
   4039 echo "${ECHO_T}no" >&6
   4040 fi
   4041 
   4042 fi
   4043 if test -z "$ac_cv_prog_DLLTOOL"; then
   4044   ac_ct_DLLTOOL=$DLLTOOL
   4045   # Extract the first word of "dlltool", so it can be a program name with args.
   4046 set dummy dlltool; ac_word=$2
   4047 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4049 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   4050   echo $ECHO_N "(cached) $ECHO_C" >&6
   4051 else
   4052   if test -n "$ac_ct_DLLTOOL"; then
   4053   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4054 else
   4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4056 for as_dir in $PATH
   4057 do
   4058   IFS=$as_save_IFS
   4059   test -z "$as_dir" && as_dir=.
   4060   for ac_exec_ext in '' $ac_executable_extensions; do
   4061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4062     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4064     break 2
   4065   fi
   4066 done
   4067 done
   4068 
   4069   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
   4070 fi
   4071 fi
   4072 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4073 if test -n "$ac_ct_DLLTOOL"; then
   4074   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
   4075 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
   4076 else
   4077   echo "$as_me:$LINENO: result: no" >&5
   4078 echo "${ECHO_T}no" >&6
   4079 fi
   4080 
   4081   DLLTOOL=$ac_ct_DLLTOOL
   4082 else
   4083   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4084 fi
   4085 
   4086   if test -n "$ac_tool_prefix"; then
   4087   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4088 set dummy ${ac_tool_prefix}as; ac_word=$2
   4089 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4091 if test "${ac_cv_prog_AS+set}" = set; then
   4092   echo $ECHO_N "(cached) $ECHO_C" >&6
   4093 else
   4094   if test -n "$AS"; then
   4095   ac_cv_prog_AS="$AS" # Let the user override the test.
   4096 else
   4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4098 for as_dir in $PATH
   4099 do
   4100   IFS=$as_save_IFS
   4101   test -z "$as_dir" && as_dir=.
   4102   for ac_exec_ext in '' $ac_executable_extensions; do
   4103   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4104     ac_cv_prog_AS="${ac_tool_prefix}as"
   4105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4106     break 2
   4107   fi
   4108 done
   4109 done
   4110 
   4111 fi
   4112 fi
   4113 AS=$ac_cv_prog_AS
   4114 if test -n "$AS"; then
   4115   echo "$as_me:$LINENO: result: $AS" >&5
   4116 echo "${ECHO_T}$AS" >&6
   4117 else
   4118   echo "$as_me:$LINENO: result: no" >&5
   4119 echo "${ECHO_T}no" >&6
   4120 fi
   4121 
   4122 fi
   4123 if test -z "$ac_cv_prog_AS"; then
   4124   ac_ct_AS=$AS
   4125   # Extract the first word of "as", so it can be a program name with args.
   4126 set dummy as; ac_word=$2
   4127 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4129 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   4130   echo $ECHO_N "(cached) $ECHO_C" >&6
   4131 else
   4132   if test -n "$ac_ct_AS"; then
   4133   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4134 else
   4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4136 for as_dir in $PATH
   4137 do
   4138   IFS=$as_save_IFS
   4139   test -z "$as_dir" && as_dir=.
   4140   for ac_exec_ext in '' $ac_executable_extensions; do
   4141   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4142     ac_cv_prog_ac_ct_AS="as"
   4143     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4144     break 2
   4145   fi
   4146 done
   4147 done
   4148 
   4149   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
   4150 fi
   4151 fi
   4152 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4153 if test -n "$ac_ct_AS"; then
   4154   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
   4155 echo "${ECHO_T}$ac_ct_AS" >&6
   4156 else
   4157   echo "$as_me:$LINENO: result: no" >&5
   4158 echo "${ECHO_T}no" >&6
   4159 fi
   4160 
   4161   AS=$ac_ct_AS
   4162 else
   4163   AS="$ac_cv_prog_AS"
   4164 fi
   4165 
   4166   if test -n "$ac_tool_prefix"; then
   4167   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4168 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4169 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4171 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4172   echo $ECHO_N "(cached) $ECHO_C" >&6
   4173 else
   4174   if test -n "$OBJDUMP"; then
   4175   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4176 else
   4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4178 for as_dir in $PATH
   4179 do
   4180   IFS=$as_save_IFS
   4181   test -z "$as_dir" && as_dir=.
   4182   for ac_exec_ext in '' $ac_executable_extensions; do
   4183   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4184     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4186     break 2
   4187   fi
   4188 done
   4189 done
   4190 
   4191 fi
   4192 fi
   4193 OBJDUMP=$ac_cv_prog_OBJDUMP
   4194 if test -n "$OBJDUMP"; then
   4195   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4196 echo "${ECHO_T}$OBJDUMP" >&6
   4197 else
   4198   echo "$as_me:$LINENO: result: no" >&5
   4199 echo "${ECHO_T}no" >&6
   4200 fi
   4201 
   4202 fi
   4203 if test -z "$ac_cv_prog_OBJDUMP"; then
   4204   ac_ct_OBJDUMP=$OBJDUMP
   4205   # Extract the first word of "objdump", so it can be a program name with args.
   4206 set dummy objdump; ac_word=$2
   4207 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4209 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4210   echo $ECHO_N "(cached) $ECHO_C" >&6
   4211 else
   4212   if test -n "$ac_ct_OBJDUMP"; then
   4213   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4214 else
   4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4216 for as_dir in $PATH
   4217 do
   4218   IFS=$as_save_IFS
   4219   test -z "$as_dir" && as_dir=.
   4220   for ac_exec_ext in '' $ac_executable_extensions; do
   4221   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4222     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4224     break 2
   4225   fi
   4226 done
   4227 done
   4228 
   4229   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
   4230 fi
   4231 fi
   4232 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4233 if test -n "$ac_ct_OBJDUMP"; then
   4234   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4235 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
   4236 else
   4237   echo "$as_me:$LINENO: result: no" >&5
   4238 echo "${ECHO_T}no" >&6
   4239 fi
   4240 
   4241   OBJDUMP=$ac_ct_OBJDUMP
   4242 else
   4243   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4244 fi
   4245 
   4246   ;;
   4247 
   4248 esac
   4249 
   4250 need_locks="$enable_libtool_lock"
   4251 
   4252 
   4253 ac_ext=c
   4254 ac_cpp='$CPP $CPPFLAGS'
   4255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4258 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   4260 # On Suns, sometimes $CPP names a directory.
   4261 if test -n "$CPP" && test -d "$CPP"; then
   4262   CPP=
   4263 fi
   4264 if test -z "$CPP"; then
   4265   if test "${ac_cv_prog_CPP+set}" = set; then
   4266   echo $ECHO_N "(cached) $ECHO_C" >&6
   4267 else
   4268       # Double quotes because CPP needs to be expanded
   4269     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4270     do
   4271       ac_preproc_ok=false
   4272 for ac_c_preproc_warn_flag in '' yes
   4273 do
   4274   # Use a header file that comes with gcc, so configuring glibc
   4275   # with a fresh cross-compiler works.
   4276   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4277   # <limits.h> exists even on freestanding compilers.
   4278   # On the NeXT, cc -E runs the code through the compiler's parser,
   4279   # not just through cpp. "Syntax error" is here to catch this case.
   4280   cat >conftest.$ac_ext <<_ACEOF
   4281 /* confdefs.h.  */
   4282 _ACEOF
   4283 cat confdefs.h >>conftest.$ac_ext
   4284 cat >>conftest.$ac_ext <<_ACEOF
   4285 /* end confdefs.h.  */
   4286 #ifdef __STDC__
   4287 # include <limits.h>
   4288 #else
   4289 # include <assert.h>
   4290 #endif
   4291 		     Syntax error
   4292 _ACEOF
   4293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4294   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4295   ac_status=$?
   4296   grep -v '^ *+' conftest.er1 >conftest.err
   4297   rm -f conftest.er1
   4298   cat conftest.err >&5
   4299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4300   (exit $ac_status); } >/dev/null; then
   4301   if test -s conftest.err; then
   4302     ac_cpp_err=$ac_c_preproc_warn_flag
   4303     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4304   else
   4305     ac_cpp_err=
   4306   fi
   4307 else
   4308   ac_cpp_err=yes
   4309 fi
   4310 if test -z "$ac_cpp_err"; then
   4311   :
   4312 else
   4313   echo "$as_me: failed program was:" >&5
   4314 sed 's/^/| /' conftest.$ac_ext >&5
   4315 
   4316   # Broken: fails on valid input.
   4317 continue
   4318 fi
   4319 rm -f conftest.err conftest.$ac_ext
   4320 
   4321   # OK, works on sane cases.  Now check whether non-existent headers
   4322   # can be detected and how.
   4323   cat >conftest.$ac_ext <<_ACEOF
   4324 /* confdefs.h.  */
   4325 _ACEOF
   4326 cat confdefs.h >>conftest.$ac_ext
   4327 cat >>conftest.$ac_ext <<_ACEOF
   4328 /* end confdefs.h.  */
   4329 #include <ac_nonexistent.h>
   4330 _ACEOF
   4331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4332   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4333   ac_status=$?
   4334   grep -v '^ *+' conftest.er1 >conftest.err
   4335   rm -f conftest.er1
   4336   cat conftest.err >&5
   4337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4338   (exit $ac_status); } >/dev/null; then
   4339   if test -s conftest.err; then
   4340     ac_cpp_err=$ac_c_preproc_warn_flag
   4341     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4342   else
   4343     ac_cpp_err=
   4344   fi
   4345 else
   4346   ac_cpp_err=yes
   4347 fi
   4348 if test -z "$ac_cpp_err"; then
   4349   # Broken: success on invalid input.
   4350 continue
   4351 else
   4352   echo "$as_me: failed program was:" >&5
   4353 sed 's/^/| /' conftest.$ac_ext >&5
   4354 
   4355   # Passes both tests.
   4356 ac_preproc_ok=:
   4357 break
   4358 fi
   4359 rm -f conftest.err conftest.$ac_ext
   4360 
   4361 done
   4362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4363 rm -f conftest.err conftest.$ac_ext
   4364 if $ac_preproc_ok; then
   4365   break
   4366 fi
   4367 
   4368     done
   4369     ac_cv_prog_CPP=$CPP
   4370 
   4371 fi
   4372   CPP=$ac_cv_prog_CPP
   4373 else
   4374   ac_cv_prog_CPP=$CPP
   4375 fi
   4376 echo "$as_me:$LINENO: result: $CPP" >&5
   4377 echo "${ECHO_T}$CPP" >&6
   4378 ac_preproc_ok=false
   4379 for ac_c_preproc_warn_flag in '' yes
   4380 do
   4381   # Use a header file that comes with gcc, so configuring glibc
   4382   # with a fresh cross-compiler works.
   4383   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4384   # <limits.h> exists even on freestanding compilers.
   4385   # On the NeXT, cc -E runs the code through the compiler's parser,
   4386   # not just through cpp. "Syntax error" is here to catch this case.
   4387   cat >conftest.$ac_ext <<_ACEOF
   4388 /* confdefs.h.  */
   4389 _ACEOF
   4390 cat confdefs.h >>conftest.$ac_ext
   4391 cat >>conftest.$ac_ext <<_ACEOF
   4392 /* end confdefs.h.  */
   4393 #ifdef __STDC__
   4394 # include <limits.h>
   4395 #else
   4396 # include <assert.h>
   4397 #endif
   4398 		     Syntax error
   4399 _ACEOF
   4400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4401   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4402   ac_status=$?
   4403   grep -v '^ *+' conftest.er1 >conftest.err
   4404   rm -f conftest.er1
   4405   cat conftest.err >&5
   4406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4407   (exit $ac_status); } >/dev/null; then
   4408   if test -s conftest.err; then
   4409     ac_cpp_err=$ac_c_preproc_warn_flag
   4410     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4411   else
   4412     ac_cpp_err=
   4413   fi
   4414 else
   4415   ac_cpp_err=yes
   4416 fi
   4417 if test -z "$ac_cpp_err"; then
   4418   :
   4419 else
   4420   echo "$as_me: failed program was:" >&5
   4421 sed 's/^/| /' conftest.$ac_ext >&5
   4422 
   4423   # Broken: fails on valid input.
   4424 continue
   4425 fi
   4426 rm -f conftest.err conftest.$ac_ext
   4427 
   4428   # OK, works on sane cases.  Now check whether non-existent headers
   4429   # can be detected and how.
   4430   cat >conftest.$ac_ext <<_ACEOF
   4431 /* confdefs.h.  */
   4432 _ACEOF
   4433 cat confdefs.h >>conftest.$ac_ext
   4434 cat >>conftest.$ac_ext <<_ACEOF
   4435 /* end confdefs.h.  */
   4436 #include <ac_nonexistent.h>
   4437 _ACEOF
   4438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4439   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4440   ac_status=$?
   4441   grep -v '^ *+' conftest.er1 >conftest.err
   4442   rm -f conftest.er1
   4443   cat conftest.err >&5
   4444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4445   (exit $ac_status); } >/dev/null; then
   4446   if test -s conftest.err; then
   4447     ac_cpp_err=$ac_c_preproc_warn_flag
   4448     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4449   else
   4450     ac_cpp_err=
   4451   fi
   4452 else
   4453   ac_cpp_err=yes
   4454 fi
   4455 if test -z "$ac_cpp_err"; then
   4456   # Broken: success on invalid input.
   4457 continue
   4458 else
   4459   echo "$as_me: failed program was:" >&5
   4460 sed 's/^/| /' conftest.$ac_ext >&5
   4461 
   4462   # Passes both tests.
   4463 ac_preproc_ok=:
   4464 break
   4465 fi
   4466 rm -f conftest.err conftest.$ac_ext
   4467 
   4468 done
   4469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4470 rm -f conftest.err conftest.$ac_ext
   4471 if $ac_preproc_ok; then
   4472   :
   4473 else
   4474   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4475 See \`config.log' for more details." >&5
   4476 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4477 See \`config.log' for more details." >&2;}
   4478    { (exit 1); exit 1; }; }
   4479 fi
   4480 
   4481 ac_ext=c
   4482 ac_cpp='$CPP $CPPFLAGS'
   4483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4486 
   4487 
   4488 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4489 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4490 if test "${ac_cv_header_stdc+set}" = set; then
   4491   echo $ECHO_N "(cached) $ECHO_C" >&6
   4492 else
   4493   cat >conftest.$ac_ext <<_ACEOF
   4494 /* confdefs.h.  */
   4495 _ACEOF
   4496 cat confdefs.h >>conftest.$ac_ext
   4497 cat >>conftest.$ac_ext <<_ACEOF
   4498 /* end confdefs.h.  */
   4499 #include <stdlib.h>
   4500 #include <stdarg.h>
   4501 #include <string.h>
   4502 #include <float.h>
   4503 
   4504 int
   4505 main ()
   4506 {
   4507 
   4508   ;
   4509   return 0;
   4510 }
   4511 _ACEOF
   4512 rm -f conftest.$ac_objext
   4513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4514   (eval $ac_compile) 2>conftest.er1
   4515   ac_status=$?
   4516   grep -v '^ *+' conftest.er1 >conftest.err
   4517   rm -f conftest.er1
   4518   cat conftest.err >&5
   4519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4520   (exit $ac_status); } &&
   4521 	 { ac_try='test -z "$ac_c_werror_flag"
   4522 			 || test ! -s conftest.err'
   4523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4524   (eval $ac_try) 2>&5
   4525   ac_status=$?
   4526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4527   (exit $ac_status); }; } &&
   4528 	 { ac_try='test -s conftest.$ac_objext'
   4529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4530   (eval $ac_try) 2>&5
   4531   ac_status=$?
   4532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4533   (exit $ac_status); }; }; then
   4534   ac_cv_header_stdc=yes
   4535 else
   4536   echo "$as_me: failed program was:" >&5
   4537 sed 's/^/| /' conftest.$ac_ext >&5
   4538 
   4539 ac_cv_header_stdc=no
   4540 fi
   4541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4542 
   4543 if test $ac_cv_header_stdc = yes; then
   4544   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4545   cat >conftest.$ac_ext <<_ACEOF
   4546 /* confdefs.h.  */
   4547 _ACEOF
   4548 cat confdefs.h >>conftest.$ac_ext
   4549 cat >>conftest.$ac_ext <<_ACEOF
   4550 /* end confdefs.h.  */
   4551 #include <string.h>
   4552 
   4553 _ACEOF
   4554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4555   $EGREP "memchr" >/dev/null 2>&1; then
   4556   :
   4557 else
   4558   ac_cv_header_stdc=no
   4559 fi
   4560 rm -f conftest*
   4561 
   4562 fi
   4563 
   4564 if test $ac_cv_header_stdc = yes; then
   4565   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4566   cat >conftest.$ac_ext <<_ACEOF
   4567 /* confdefs.h.  */
   4568 _ACEOF
   4569 cat confdefs.h >>conftest.$ac_ext
   4570 cat >>conftest.$ac_ext <<_ACEOF
   4571 /* end confdefs.h.  */
   4572 #include <stdlib.h>
   4573 
   4574 _ACEOF
   4575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4576   $EGREP "free" >/dev/null 2>&1; then
   4577   :
   4578 else
   4579   ac_cv_header_stdc=no
   4580 fi
   4581 rm -f conftest*
   4582 
   4583 fi
   4584 
   4585 if test $ac_cv_header_stdc = yes; then
   4586   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4587   if test "$cross_compiling" = yes; then
   4588   :
   4589 else
   4590   cat >conftest.$ac_ext <<_ACEOF
   4591 /* confdefs.h.  */
   4592 _ACEOF
   4593 cat confdefs.h >>conftest.$ac_ext
   4594 cat >>conftest.$ac_ext <<_ACEOF
   4595 /* end confdefs.h.  */
   4596 #include <ctype.h>
   4597 #if ((' ' & 0x0FF) == 0x020)
   4598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4600 #else
   4601 # define ISLOWER(c) \
   4602 		   (('a' <= (c) && (c) <= 'i') \
   4603 		     || ('j' <= (c) && (c) <= 'r') \
   4604 		     || ('s' <= (c) && (c) <= 'z'))
   4605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4606 #endif
   4607 
   4608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4609 int
   4610 main ()
   4611 {
   4612   int i;
   4613   for (i = 0; i < 256; i++)
   4614     if (XOR (islower (i), ISLOWER (i))
   4615 	|| toupper (i) != TOUPPER (i))
   4616       exit(2);
   4617   exit (0);
   4618 }
   4619 _ACEOF
   4620 rm -f conftest$ac_exeext
   4621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4622   (eval $ac_link) 2>&5
   4623   ac_status=$?
   4624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4625   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4627   (eval $ac_try) 2>&5
   4628   ac_status=$?
   4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4630   (exit $ac_status); }; }; then
   4631   :
   4632 else
   4633   echo "$as_me: program exited with status $ac_status" >&5
   4634 echo "$as_me: failed program was:" >&5
   4635 sed 's/^/| /' conftest.$ac_ext >&5
   4636 
   4637 ( exit $ac_status )
   4638 ac_cv_header_stdc=no
   4639 fi
   4640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4641 fi
   4642 fi
   4643 fi
   4644 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4645 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4646 if test $ac_cv_header_stdc = yes; then
   4647 
   4648 cat >>confdefs.h <<\_ACEOF
   4649 #define STDC_HEADERS 1
   4650 _ACEOF
   4651 
   4652 fi
   4653 
   4654 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4665 		  inttypes.h stdint.h unistd.h
   4666 do
   4667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4668 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4671   echo $ECHO_N "(cached) $ECHO_C" >&6
   4672 else
   4673   cat >conftest.$ac_ext <<_ACEOF
   4674 /* confdefs.h.  */
   4675 _ACEOF
   4676 cat confdefs.h >>conftest.$ac_ext
   4677 cat >>conftest.$ac_ext <<_ACEOF
   4678 /* end confdefs.h.  */
   4679 $ac_includes_default
   4680 
   4681 #include <$ac_header>
   4682 _ACEOF
   4683 rm -f conftest.$ac_objext
   4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4685   (eval $ac_compile) 2>conftest.er1
   4686   ac_status=$?
   4687   grep -v '^ *+' conftest.er1 >conftest.err
   4688   rm -f conftest.er1
   4689   cat conftest.err >&5
   4690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4691   (exit $ac_status); } &&
   4692 	 { ac_try='test -z "$ac_c_werror_flag"
   4693 			 || test ! -s conftest.err'
   4694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4695   (eval $ac_try) 2>&5
   4696   ac_status=$?
   4697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4698   (exit $ac_status); }; } &&
   4699 	 { ac_try='test -s conftest.$ac_objext'
   4700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4701   (eval $ac_try) 2>&5
   4702   ac_status=$?
   4703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4704   (exit $ac_status); }; }; then
   4705   eval "$as_ac_Header=yes"
   4706 else
   4707   echo "$as_me: failed program was:" >&5
   4708 sed 's/^/| /' conftest.$ac_ext >&5
   4709 
   4710 eval "$as_ac_Header=no"
   4711 fi
   4712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4713 fi
   4714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4717   cat >>confdefs.h <<_ACEOF
   4718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4719 _ACEOF
   4720 
   4721 fi
   4722 
   4723 done
   4724 
   4725 
   4726 
   4727 for ac_header in dlfcn.h
   4728 do
   4729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4731   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4734   echo $ECHO_N "(cached) $ECHO_C" >&6
   4735 fi
   4736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4738 else
   4739   # Is the header compilable?
   4740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4742 cat >conftest.$ac_ext <<_ACEOF
   4743 /* confdefs.h.  */
   4744 _ACEOF
   4745 cat confdefs.h >>conftest.$ac_ext
   4746 cat >>conftest.$ac_ext <<_ACEOF
   4747 /* end confdefs.h.  */
   4748 $ac_includes_default
   4749 #include <$ac_header>
   4750 _ACEOF
   4751 rm -f conftest.$ac_objext
   4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4753   (eval $ac_compile) 2>conftest.er1
   4754   ac_status=$?
   4755   grep -v '^ *+' conftest.er1 >conftest.err
   4756   rm -f conftest.er1
   4757   cat conftest.err >&5
   4758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4759   (exit $ac_status); } &&
   4760 	 { ac_try='test -z "$ac_c_werror_flag"
   4761 			 || test ! -s conftest.err'
   4762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4763   (eval $ac_try) 2>&5
   4764   ac_status=$?
   4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4766   (exit $ac_status); }; } &&
   4767 	 { ac_try='test -s conftest.$ac_objext'
   4768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4769   (eval $ac_try) 2>&5
   4770   ac_status=$?
   4771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4772   (exit $ac_status); }; }; then
   4773   ac_header_compiler=yes
   4774 else
   4775   echo "$as_me: failed program was:" >&5
   4776 sed 's/^/| /' conftest.$ac_ext >&5
   4777 
   4778 ac_header_compiler=no
   4779 fi
   4780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4782 echo "${ECHO_T}$ac_header_compiler" >&6
   4783 
   4784 # Is the header present?
   4785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4787 cat >conftest.$ac_ext <<_ACEOF
   4788 /* confdefs.h.  */
   4789 _ACEOF
   4790 cat confdefs.h >>conftest.$ac_ext
   4791 cat >>conftest.$ac_ext <<_ACEOF
   4792 /* end confdefs.h.  */
   4793 #include <$ac_header>
   4794 _ACEOF
   4795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4796   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4797   ac_status=$?
   4798   grep -v '^ *+' conftest.er1 >conftest.err
   4799   rm -f conftest.er1
   4800   cat conftest.err >&5
   4801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4802   (exit $ac_status); } >/dev/null; then
   4803   if test -s conftest.err; then
   4804     ac_cpp_err=$ac_c_preproc_warn_flag
   4805     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4806   else
   4807     ac_cpp_err=
   4808   fi
   4809 else
   4810   ac_cpp_err=yes
   4811 fi
   4812 if test -z "$ac_cpp_err"; then
   4813   ac_header_preproc=yes
   4814 else
   4815   echo "$as_me: failed program was:" >&5
   4816 sed 's/^/| /' conftest.$ac_ext >&5
   4817 
   4818   ac_header_preproc=no
   4819 fi
   4820 rm -f conftest.err conftest.$ac_ext
   4821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4822 echo "${ECHO_T}$ac_header_preproc" >&6
   4823 
   4824 # So?  What about this header?
   4825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4826   yes:no: )
   4827     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4829     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4831     ac_header_preproc=yes
   4832     ;;
   4833   no:yes:* )
   4834     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4836     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4837 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4838     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4840     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4841 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4842     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4844     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4846     (
   4847       cat <<\_ASBOX
   4848 ## ---------------------------------------------------------------------- ##
   4849 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   4850 ## ---------------------------------------------------------------------- ##
   4851 _ASBOX
   4852     ) |
   4853       sed "s/^/$as_me: WARNING:     /" >&2
   4854     ;;
   4855 esac
   4856 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4859   echo $ECHO_N "(cached) $ECHO_C" >&6
   4860 else
   4861   eval "$as_ac_Header=\$ac_header_preproc"
   4862 fi
   4863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4865 
   4866 fi
   4867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4868   cat >>confdefs.h <<_ACEOF
   4869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4870 _ACEOF
   4871 
   4872 fi
   4873 
   4874 done
   4875 
   4876 ac_ext=cc
   4877 ac_cpp='$CXXCPP $CPPFLAGS'
   4878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4881 if test -n "$ac_tool_prefix"; then
   4882   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4883   do
   4884     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4886 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4888 if test "${ac_cv_prog_CXX+set}" = set; then
   4889   echo $ECHO_N "(cached) $ECHO_C" >&6
   4890 else
   4891   if test -n "$CXX"; then
   4892   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4893 else
   4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4895 for as_dir in $PATH
   4896 do
   4897   IFS=$as_save_IFS
   4898   test -z "$as_dir" && as_dir=.
   4899   for ac_exec_ext in '' $ac_executable_extensions; do
   4900   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4901     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4903     break 2
   4904   fi
   4905 done
   4906 done
   4907 
   4908 fi
   4909 fi
   4910 CXX=$ac_cv_prog_CXX
   4911 if test -n "$CXX"; then
   4912   echo "$as_me:$LINENO: result: $CXX" >&5
   4913 echo "${ECHO_T}$CXX" >&6
   4914 else
   4915   echo "$as_me:$LINENO: result: no" >&5
   4916 echo "${ECHO_T}no" >&6
   4917 fi
   4918 
   4919     test -n "$CXX" && break
   4920   done
   4921 fi
   4922 if test -z "$CXX"; then
   4923   ac_ct_CXX=$CXX
   4924   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   4925 do
   4926   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4927 set dummy $ac_prog; ac_word=$2
   4928 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4930 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   4931   echo $ECHO_N "(cached) $ECHO_C" >&6
   4932 else
   4933   if test -n "$ac_ct_CXX"; then
   4934   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4935 else
   4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4937 for as_dir in $PATH
   4938 do
   4939   IFS=$as_save_IFS
   4940   test -z "$as_dir" && as_dir=.
   4941   for ac_exec_ext in '' $ac_executable_extensions; do
   4942   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4943     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4944     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4945     break 2
   4946   fi
   4947 done
   4948 done
   4949 
   4950 fi
   4951 fi
   4952 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4953 if test -n "$ac_ct_CXX"; then
   4954   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   4955 echo "${ECHO_T}$ac_ct_CXX" >&6
   4956 else
   4957   echo "$as_me:$LINENO: result: no" >&5
   4958 echo "${ECHO_T}no" >&6
   4959 fi
   4960 
   4961   test -n "$ac_ct_CXX" && break
   4962 done
   4963 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
   4964 
   4965   CXX=$ac_ct_CXX
   4966 fi
   4967 
   4968 
   4969 # Provide some information about the compiler.
   4970 echo "$as_me:$LINENO:" \
   4971      "checking for C++ compiler version" >&5
   4972 ac_compiler=`set X $ac_compile; echo $2`
   4973 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   4974   (eval $ac_compiler --version </dev/null >&5) 2>&5
   4975   ac_status=$?
   4976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4977   (exit $ac_status); }
   4978 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   4979   (eval $ac_compiler -v </dev/null >&5) 2>&5
   4980   ac_status=$?
   4981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4982   (exit $ac_status); }
   4983 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   4984   (eval $ac_compiler -V </dev/null >&5) 2>&5
   4985   ac_status=$?
   4986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4987   (exit $ac_status); }
   4988 
   4989 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   4990 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   4991 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   4992   echo $ECHO_N "(cached) $ECHO_C" >&6
   4993 else
   4994   cat >conftest.$ac_ext <<_ACEOF
   4995 /* confdefs.h.  */
   4996 _ACEOF
   4997 cat confdefs.h >>conftest.$ac_ext
   4998 cat >>conftest.$ac_ext <<_ACEOF
   4999 /* end confdefs.h.  */
   5000 
   5001 int
   5002 main ()
   5003 {
   5004 #ifndef __GNUC__
   5005        choke me
   5006 #endif
   5007 
   5008   ;
   5009   return 0;
   5010 }
   5011 _ACEOF
   5012 rm -f conftest.$ac_objext
   5013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5014   (eval $ac_compile) 2>conftest.er1
   5015   ac_status=$?
   5016   grep -v '^ *+' conftest.er1 >conftest.err
   5017   rm -f conftest.er1
   5018   cat conftest.err >&5
   5019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5020   (exit $ac_status); } &&
   5021 	 { ac_try='test -z "$ac_cxx_werror_flag"
   5022 			 || test ! -s conftest.err'
   5023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5024   (eval $ac_try) 2>&5
   5025   ac_status=$?
   5026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5027   (exit $ac_status); }; } &&
   5028 	 { ac_try='test -s conftest.$ac_objext'
   5029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5030   (eval $ac_try) 2>&5
   5031   ac_status=$?
   5032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5033   (exit $ac_status); }; }; then
   5034   ac_compiler_gnu=yes
   5035 else
   5036   echo "$as_me: failed program was:" >&5
   5037 sed 's/^/| /' conftest.$ac_ext >&5
   5038 
   5039 ac_compiler_gnu=no
   5040 fi
   5041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5042 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5043 
   5044 fi
   5045 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5046 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   5047 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5048 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5049 ac_save_CXXFLAGS=$CXXFLAGS
   5050 CXXFLAGS="-g"
   5051 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5052 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   5053 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5054   echo $ECHO_N "(cached) $ECHO_C" >&6
   5055 else
   5056   cat >conftest.$ac_ext <<_ACEOF
   5057 /* confdefs.h.  */
   5058 _ACEOF
   5059 cat confdefs.h >>conftest.$ac_ext
   5060 cat >>conftest.$ac_ext <<_ACEOF
   5061 /* end confdefs.h.  */
   5062 
   5063 int
   5064 main ()
   5065 {
   5066 
   5067   ;
   5068   return 0;
   5069 }
   5070 _ACEOF
   5071 rm -f conftest.$ac_objext
   5072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5073   (eval $ac_compile) 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); } &&
   5080 	 { ac_try='test -z "$ac_cxx_werror_flag"
   5081 			 || test ! -s conftest.err'
   5082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5083   (eval $ac_try) 2>&5
   5084   ac_status=$?
   5085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5086   (exit $ac_status); }; } &&
   5087 	 { ac_try='test -s conftest.$ac_objext'
   5088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5089   (eval $ac_try) 2>&5
   5090   ac_status=$?
   5091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5092   (exit $ac_status); }; }; then
   5093   ac_cv_prog_cxx_g=yes
   5094 else
   5095   echo "$as_me: failed program was:" >&5
   5096 sed 's/^/| /' conftest.$ac_ext >&5
   5097 
   5098 ac_cv_prog_cxx_g=no
   5099 fi
   5100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5101 fi
   5102 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5103 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
   5104 if test "$ac_test_CXXFLAGS" = set; then
   5105   CXXFLAGS=$ac_save_CXXFLAGS
   5106 elif test $ac_cv_prog_cxx_g = yes; then
   5107   if test "$GXX" = yes; then
   5108     CXXFLAGS="-g -O2"
   5109   else
   5110     CXXFLAGS="-g"
   5111   fi
   5112 else
   5113   if test "$GXX" = yes; then
   5114     CXXFLAGS="-O2"
   5115   else
   5116     CXXFLAGS=
   5117   fi
   5118 fi
   5119 for ac_declaration in \
   5120    '' \
   5121    'extern "C" void std::exit (int) throw (); using std::exit;' \
   5122    'extern "C" void std::exit (int); using std::exit;' \
   5123    'extern "C" void exit (int) throw ();' \
   5124    'extern "C" void exit (int);' \
   5125    'void exit (int);'
   5126 do
   5127   cat >conftest.$ac_ext <<_ACEOF
   5128 /* confdefs.h.  */
   5129 _ACEOF
   5130 cat confdefs.h >>conftest.$ac_ext
   5131 cat >>conftest.$ac_ext <<_ACEOF
   5132 /* end confdefs.h.  */
   5133 $ac_declaration
   5134 #include <stdlib.h>
   5135 int
   5136 main ()
   5137 {
   5138 exit (42);
   5139   ;
   5140   return 0;
   5141 }
   5142 _ACEOF
   5143 rm -f conftest.$ac_objext
   5144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5145   (eval $ac_compile) 2>conftest.er1
   5146   ac_status=$?
   5147   grep -v '^ *+' conftest.er1 >conftest.err
   5148   rm -f conftest.er1
   5149   cat conftest.err >&5
   5150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5151   (exit $ac_status); } &&
   5152 	 { ac_try='test -z "$ac_cxx_werror_flag"
   5153 			 || test ! -s conftest.err'
   5154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5155   (eval $ac_try) 2>&5
   5156   ac_status=$?
   5157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5158   (exit $ac_status); }; } &&
   5159 	 { ac_try='test -s conftest.$ac_objext'
   5160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5161   (eval $ac_try) 2>&5
   5162   ac_status=$?
   5163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5164   (exit $ac_status); }; }; then
   5165   :
   5166 else
   5167   echo "$as_me: failed program was:" >&5
   5168 sed 's/^/| /' conftest.$ac_ext >&5
   5169 
   5170 continue
   5171 fi
   5172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5173   cat >conftest.$ac_ext <<_ACEOF
   5174 /* confdefs.h.  */
   5175 _ACEOF
   5176 cat confdefs.h >>conftest.$ac_ext
   5177 cat >>conftest.$ac_ext <<_ACEOF
   5178 /* end confdefs.h.  */
   5179 $ac_declaration
   5180 int
   5181 main ()
   5182 {
   5183 exit (42);
   5184   ;
   5185   return 0;
   5186 }
   5187 _ACEOF
   5188 rm -f conftest.$ac_objext
   5189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5190   (eval $ac_compile) 2>conftest.er1
   5191   ac_status=$?
   5192   grep -v '^ *+' conftest.er1 >conftest.err
   5193   rm -f conftest.er1
   5194   cat conftest.err >&5
   5195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5196   (exit $ac_status); } &&
   5197 	 { ac_try='test -z "$ac_cxx_werror_flag"
   5198 			 || test ! -s conftest.err'
   5199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5200   (eval $ac_try) 2>&5
   5201   ac_status=$?
   5202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5203   (exit $ac_status); }; } &&
   5204 	 { ac_try='test -s conftest.$ac_objext'
   5205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5206   (eval $ac_try) 2>&5
   5207   ac_status=$?
   5208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5209   (exit $ac_status); }; }; then
   5210   break
   5211 else
   5212   echo "$as_me: failed program was:" >&5
   5213 sed 's/^/| /' conftest.$ac_ext >&5
   5214 
   5215 fi
   5216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5217 done
   5218 rm -f conftest*
   5219 if test -n "$ac_declaration"; then
   5220   echo '#ifdef __cplusplus' >>confdefs.h
   5221   echo $ac_declaration      >>confdefs.h
   5222   echo '#endif'             >>confdefs.h
   5223 fi
   5224 
   5225 ac_ext=cc
   5226 ac_cpp='$CXXCPP $CPPFLAGS'
   5227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5230 
   5231 depcc="$CXX"  am_compiler_list=
   5232 
   5233 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5234 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   5235 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5236   echo $ECHO_N "(cached) $ECHO_C" >&6
   5237 else
   5238   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5239   # We make a subdir and do the tests there.  Otherwise we can end up
   5240   # making bogus files that we don't know about and never remove.  For
   5241   # instance it was reported that on HP-UX the gcc test will end up
   5242   # making a dummy file named `D' -- because `-MD' means `put the output
   5243   # in D'.
   5244   mkdir conftest.dir
   5245   # Copy depcomp to subdir because otherwise we won't find it if we're
   5246   # using a relative directory.
   5247   cp "$am_depcomp" conftest.dir
   5248   cd conftest.dir
   5249   # We will build objects and dependencies in a subdirectory because
   5250   # it helps to detect inapplicable dependency modes.  For instance
   5251   # both Tru64's cc and ICC support -MD to output dependencies as a
   5252   # side effect of compilation, but ICC will put the dependencies in
   5253   # the current directory while Tru64 will put them in the object
   5254   # directory.
   5255   mkdir sub
   5256 
   5257   am_cv_CXX_dependencies_compiler_type=none
   5258   if test "$am_compiler_list" = ""; then
   5259      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5260   fi
   5261   for depmode in $am_compiler_list; do
   5262     # Setup a source with many dependencies, because some compilers
   5263     # like to wrap large dependency lists on column 80 (with \), and
   5264     # we should not choose a depcomp mode which is confused by this.
   5265     #
   5266     # We need to recreate these files for each test, as the compiler may
   5267     # overwrite some of them when testing with obscure command lines.
   5268     # This happens at least with the AIX C compiler.
   5269     : > sub/conftest.c
   5270     for i in 1 2 3 4 5 6; do
   5271       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5272       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5273       # Solaris 8's {/usr,}/bin/sh.
   5274       touch sub/conftst$i.h
   5275     done
   5276     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5277 
   5278     case $depmode in
   5279     nosideeffect)
   5280       # after this tag, mechanisms are not by side-effect, so they'll
   5281       # only be used when explicitly requested
   5282       if test "x$enable_dependency_tracking" = xyes; then
   5283 	continue
   5284       else
   5285 	break
   5286       fi
   5287       ;;
   5288     none) break ;;
   5289     esac
   5290     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5291     # mode.  It turns out that the SunPro C++ compiler does not properly
   5292     # handle `-M -o', and we need to detect this.
   5293     if depmode=$depmode \
   5294        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5295        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5296        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5297          >/dev/null 2>conftest.err &&
   5298        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5299        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5300        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5301       # icc doesn't choke on unknown options, it will just issue warnings
   5302       # or remarks (even with -Werror).  So we grep stderr for any message
   5303       # that says an option was ignored or not supported.
   5304       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5305       #   icc: Command line warning: ignoring option '-M'; no argument required
   5306       # The diagnosis changed in icc 8.0:
   5307       #   icc: Command line remark: option '-MP' not supported
   5308       if (grep 'ignoring option' conftest.err ||
   5309           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5310         am_cv_CXX_dependencies_compiler_type=$depmode
   5311         break
   5312       fi
   5313     fi
   5314   done
   5315 
   5316   cd ..
   5317   rm -rf conftest.dir
   5318 else
   5319   am_cv_CXX_dependencies_compiler_type=none
   5320 fi
   5321 
   5322 fi
   5323 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5324 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   5325 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5326 
   5327 
   5328 
   5329 if
   5330   test "x$enable_dependency_tracking" != xno \
   5331   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5332   am__fastdepCXX_TRUE=
   5333   am__fastdepCXX_FALSE='#'
   5334 else
   5335   am__fastdepCXX_TRUE='#'
   5336   am__fastdepCXX_FALSE=
   5337 fi
   5338 
   5339 
   5340 
   5341 
   5342 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5343     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5344     (test "X$CXX" != "Xg++"))) ; then
   5345   ac_ext=cc
   5346 ac_cpp='$CXXCPP $CPPFLAGS'
   5347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5350 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5351 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
   5352 if test -z "$CXXCPP"; then
   5353   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5354   echo $ECHO_N "(cached) $ECHO_C" >&6
   5355 else
   5356       # Double quotes because CXXCPP needs to be expanded
   5357     for CXXCPP in "$CXX -E" "/lib/cpp"
   5358     do
   5359       ac_preproc_ok=false
   5360 for ac_cxx_preproc_warn_flag in '' yes
   5361 do
   5362   # Use a header file that comes with gcc, so configuring glibc
   5363   # with a fresh cross-compiler works.
   5364   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5365   # <limits.h> exists even on freestanding compilers.
   5366   # On the NeXT, cc -E runs the code through the compiler's parser,
   5367   # not just through cpp. "Syntax error" is here to catch this case.
   5368   cat >conftest.$ac_ext <<_ACEOF
   5369 /* confdefs.h.  */
   5370 _ACEOF
   5371 cat confdefs.h >>conftest.$ac_ext
   5372 cat >>conftest.$ac_ext <<_ACEOF
   5373 /* end confdefs.h.  */
   5374 #ifdef __STDC__
   5375 # include <limits.h>
   5376 #else
   5377 # include <assert.h>
   5378 #endif
   5379 		     Syntax error
   5380 _ACEOF
   5381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5382   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5383   ac_status=$?
   5384   grep -v '^ *+' conftest.er1 >conftest.err
   5385   rm -f conftest.er1
   5386   cat conftest.err >&5
   5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5388   (exit $ac_status); } >/dev/null; then
   5389   if test -s conftest.err; then
   5390     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5391     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5392   else
   5393     ac_cpp_err=
   5394   fi
   5395 else
   5396   ac_cpp_err=yes
   5397 fi
   5398 if test -z "$ac_cpp_err"; then
   5399   :
   5400 else
   5401   echo "$as_me: failed program was:" >&5
   5402 sed 's/^/| /' conftest.$ac_ext >&5
   5403 
   5404   # Broken: fails on valid input.
   5405 continue
   5406 fi
   5407 rm -f conftest.err conftest.$ac_ext
   5408 
   5409   # OK, works on sane cases.  Now check whether non-existent headers
   5410   # can be detected and how.
   5411   cat >conftest.$ac_ext <<_ACEOF
   5412 /* confdefs.h.  */
   5413 _ACEOF
   5414 cat confdefs.h >>conftest.$ac_ext
   5415 cat >>conftest.$ac_ext <<_ACEOF
   5416 /* end confdefs.h.  */
   5417 #include <ac_nonexistent.h>
   5418 _ACEOF
   5419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5420   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5421   ac_status=$?
   5422   grep -v '^ *+' conftest.er1 >conftest.err
   5423   rm -f conftest.er1
   5424   cat conftest.err >&5
   5425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5426   (exit $ac_status); } >/dev/null; then
   5427   if test -s conftest.err; then
   5428     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5429     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5430   else
   5431     ac_cpp_err=
   5432   fi
   5433 else
   5434   ac_cpp_err=yes
   5435 fi
   5436 if test -z "$ac_cpp_err"; then
   5437   # Broken: success on invalid input.
   5438 continue
   5439 else
   5440   echo "$as_me: failed program was:" >&5
   5441 sed 's/^/| /' conftest.$ac_ext >&5
   5442 
   5443   # Passes both tests.
   5444 ac_preproc_ok=:
   5445 break
   5446 fi
   5447 rm -f conftest.err conftest.$ac_ext
   5448 
   5449 done
   5450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5451 rm -f conftest.err conftest.$ac_ext
   5452 if $ac_preproc_ok; then
   5453   break
   5454 fi
   5455 
   5456     done
   5457     ac_cv_prog_CXXCPP=$CXXCPP
   5458 
   5459 fi
   5460   CXXCPP=$ac_cv_prog_CXXCPP
   5461 else
   5462   ac_cv_prog_CXXCPP=$CXXCPP
   5463 fi
   5464 echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5465 echo "${ECHO_T}$CXXCPP" >&6
   5466 ac_preproc_ok=false
   5467 for ac_cxx_preproc_warn_flag in '' yes
   5468 do
   5469   # Use a header file that comes with gcc, so configuring glibc
   5470   # with a fresh cross-compiler works.
   5471   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5472   # <limits.h> exists even on freestanding compilers.
   5473   # On the NeXT, cc -E runs the code through the compiler's parser,
   5474   # not just through cpp. "Syntax error" is here to catch this case.
   5475   cat >conftest.$ac_ext <<_ACEOF
   5476 /* confdefs.h.  */
   5477 _ACEOF
   5478 cat confdefs.h >>conftest.$ac_ext
   5479 cat >>conftest.$ac_ext <<_ACEOF
   5480 /* end confdefs.h.  */
   5481 #ifdef __STDC__
   5482 # include <limits.h>
   5483 #else
   5484 # include <assert.h>
   5485 #endif
   5486 		     Syntax error
   5487 _ACEOF
   5488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5489   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5490   ac_status=$?
   5491   grep -v '^ *+' conftest.er1 >conftest.err
   5492   rm -f conftest.er1
   5493   cat conftest.err >&5
   5494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5495   (exit $ac_status); } >/dev/null; then
   5496   if test -s conftest.err; then
   5497     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5498     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5499   else
   5500     ac_cpp_err=
   5501   fi
   5502 else
   5503   ac_cpp_err=yes
   5504 fi
   5505 if test -z "$ac_cpp_err"; then
   5506   :
   5507 else
   5508   echo "$as_me: failed program was:" >&5
   5509 sed 's/^/| /' conftest.$ac_ext >&5
   5510 
   5511   # Broken: fails on valid input.
   5512 continue
   5513 fi
   5514 rm -f conftest.err conftest.$ac_ext
   5515 
   5516   # OK, works on sane cases.  Now check whether non-existent headers
   5517   # can be detected and how.
   5518   cat >conftest.$ac_ext <<_ACEOF
   5519 /* confdefs.h.  */
   5520 _ACEOF
   5521 cat confdefs.h >>conftest.$ac_ext
   5522 cat >>conftest.$ac_ext <<_ACEOF
   5523 /* end confdefs.h.  */
   5524 #include <ac_nonexistent.h>
   5525 _ACEOF
   5526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5527   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5528   ac_status=$?
   5529   grep -v '^ *+' conftest.er1 >conftest.err
   5530   rm -f conftest.er1
   5531   cat conftest.err >&5
   5532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5533   (exit $ac_status); } >/dev/null; then
   5534   if test -s conftest.err; then
   5535     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5536     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5537   else
   5538     ac_cpp_err=
   5539   fi
   5540 else
   5541   ac_cpp_err=yes
   5542 fi
   5543 if test -z "$ac_cpp_err"; then
   5544   # Broken: success on invalid input.
   5545 continue
   5546 else
   5547   echo "$as_me: failed program was:" >&5
   5548 sed 's/^/| /' conftest.$ac_ext >&5
   5549 
   5550   # Passes both tests.
   5551 ac_preproc_ok=:
   5552 break
   5553 fi
   5554 rm -f conftest.err conftest.$ac_ext
   5555 
   5556 done
   5557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5558 rm -f conftest.err conftest.$ac_ext
   5559 if $ac_preproc_ok; then
   5560   :
   5561 else
   5562   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5563 See \`config.log' for more details." >&5
   5564 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5565 See \`config.log' for more details." >&2;}
   5566    { (exit 1); exit 1; }; }
   5567 fi
   5568 
   5569 ac_ext=cc
   5570 ac_cpp='$CXXCPP $CPPFLAGS'
   5571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5574 
   5575 fi
   5576 
   5577 
   5578 ac_ext=f
   5579 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5580 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5581 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5582 if test -n "$ac_tool_prefix"; then
   5583   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5584   do
   5585     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5586 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5587 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5589 if test "${ac_cv_prog_F77+set}" = set; then
   5590   echo $ECHO_N "(cached) $ECHO_C" >&6
   5591 else
   5592   if test -n "$F77"; then
   5593   ac_cv_prog_F77="$F77" # Let the user override the test.
   5594 else
   5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5596 for as_dir in $PATH
   5597 do
   5598   IFS=$as_save_IFS
   5599   test -z "$as_dir" && as_dir=.
   5600   for ac_exec_ext in '' $ac_executable_extensions; do
   5601   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5602     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5603     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5604     break 2
   5605   fi
   5606 done
   5607 done
   5608 
   5609 fi
   5610 fi
   5611 F77=$ac_cv_prog_F77
   5612 if test -n "$F77"; then
   5613   echo "$as_me:$LINENO: result: $F77" >&5
   5614 echo "${ECHO_T}$F77" >&6
   5615 else
   5616   echo "$as_me:$LINENO: result: no" >&5
   5617 echo "${ECHO_T}no" >&6
   5618 fi
   5619 
   5620     test -n "$F77" && break
   5621   done
   5622 fi
   5623 if test -z "$F77"; then
   5624   ac_ct_F77=$F77
   5625   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
   5626 do
   5627   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5628 set dummy $ac_prog; ac_word=$2
   5629 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5631 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5632   echo $ECHO_N "(cached) $ECHO_C" >&6
   5633 else
   5634   if test -n "$ac_ct_F77"; then
   5635   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5636 else
   5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5638 for as_dir in $PATH
   5639 do
   5640   IFS=$as_save_IFS
   5641   test -z "$as_dir" && as_dir=.
   5642   for ac_exec_ext in '' $ac_executable_extensions; do
   5643   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5644     ac_cv_prog_ac_ct_F77="$ac_prog"
   5645     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5646     break 2
   5647   fi
   5648 done
   5649 done
   5650 
   5651 fi
   5652 fi
   5653 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5654 if test -n "$ac_ct_F77"; then
   5655   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5656 echo "${ECHO_T}$ac_ct_F77" >&6
   5657 else
   5658   echo "$as_me:$LINENO: result: no" >&5
   5659 echo "${ECHO_T}no" >&6
   5660 fi
   5661 
   5662   test -n "$ac_ct_F77" && break
   5663 done
   5664 
   5665   F77=$ac_ct_F77
   5666 fi
   5667 
   5668 
   5669 # Provide some information about the compiler.
   5670 echo "$as_me:5670:" \
   5671      "checking for Fortran 77 compiler version" >&5
   5672 ac_compiler=`set X $ac_compile; echo $2`
   5673 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   5674   (eval $ac_compiler --version </dev/null >&5) 2>&5
   5675   ac_status=$?
   5676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5677   (exit $ac_status); }
   5678 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   5679   (eval $ac_compiler -v </dev/null >&5) 2>&5
   5680   ac_status=$?
   5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5682   (exit $ac_status); }
   5683 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   5684   (eval $ac_compiler -V </dev/null >&5) 2>&5
   5685   ac_status=$?
   5686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5687   (exit $ac_status); }
   5688 rm -f a.out
   5689 
   5690 # If we don't use `.F' as extension, the preprocessor is not run on the
   5691 # input file.  (Note that this only needs to work for GNU compilers.)
   5692 ac_save_ext=$ac_ext
   5693 ac_ext=F
   5694 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   5695 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
   5696 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   5697   echo $ECHO_N "(cached) $ECHO_C" >&6
   5698 else
   5699   cat >conftest.$ac_ext <<_ACEOF
   5700       program main
   5701 #ifndef __GNUC__
   5702        choke me
   5703 #endif
   5704 
   5705       end
   5706 _ACEOF
   5707 rm -f conftest.$ac_objext
   5708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5709   (eval $ac_compile) 2>conftest.er1
   5710   ac_status=$?
   5711   grep -v '^ *+' conftest.er1 >conftest.err
   5712   rm -f conftest.er1
   5713   cat conftest.err >&5
   5714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5715   (exit $ac_status); } &&
   5716 	 { ac_try='test -z "$ac_f77_werror_flag"
   5717 			 || test ! -s conftest.err'
   5718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5719   (eval $ac_try) 2>&5
   5720   ac_status=$?
   5721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5722   (exit $ac_status); }; } &&
   5723 	 { ac_try='test -s conftest.$ac_objext'
   5724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5725   (eval $ac_try) 2>&5
   5726   ac_status=$?
   5727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5728   (exit $ac_status); }; }; then
   5729   ac_compiler_gnu=yes
   5730 else
   5731   echo "$as_me: failed program was:" >&5
   5732 sed 's/^/| /' conftest.$ac_ext >&5
   5733 
   5734 ac_compiler_gnu=no
   5735 fi
   5736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5737 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   5738 
   5739 fi
   5740 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   5741 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
   5742 ac_ext=$ac_save_ext
   5743 ac_test_FFLAGS=${FFLAGS+set}
   5744 ac_save_FFLAGS=$FFLAGS
   5745 FFLAGS=
   5746 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   5747 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
   5748 if test "${ac_cv_prog_f77_g+set}" = set; then
   5749   echo $ECHO_N "(cached) $ECHO_C" >&6
   5750 else
   5751   FFLAGS=-g
   5752 cat >conftest.$ac_ext <<_ACEOF
   5753       program main
   5754 
   5755       end
   5756 _ACEOF
   5757 rm -f conftest.$ac_objext
   5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5759   (eval $ac_compile) 2>conftest.er1
   5760   ac_status=$?
   5761   grep -v '^ *+' conftest.er1 >conftest.err
   5762   rm -f conftest.er1
   5763   cat conftest.err >&5
   5764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5765   (exit $ac_status); } &&
   5766 	 { ac_try='test -z "$ac_f77_werror_flag"
   5767 			 || test ! -s conftest.err'
   5768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5769   (eval $ac_try) 2>&5
   5770   ac_status=$?
   5771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5772   (exit $ac_status); }; } &&
   5773 	 { ac_try='test -s conftest.$ac_objext'
   5774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5775   (eval $ac_try) 2>&5
   5776   ac_status=$?
   5777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5778   (exit $ac_status); }; }; then
   5779   ac_cv_prog_f77_g=yes
   5780 else
   5781   echo "$as_me: failed program was:" >&5
   5782 sed 's/^/| /' conftest.$ac_ext >&5
   5783 
   5784 ac_cv_prog_f77_g=no
   5785 fi
   5786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5787 
   5788 fi
   5789 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   5790 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
   5791 if test "$ac_test_FFLAGS" = set; then
   5792   FFLAGS=$ac_save_FFLAGS
   5793 elif test $ac_cv_prog_f77_g = yes; then
   5794   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5795     FFLAGS="-g -O2"
   5796   else
   5797     FFLAGS="-g"
   5798   fi
   5799 else
   5800   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   5801     FFLAGS="-O2"
   5802   else
   5803     FFLAGS=
   5804   fi
   5805 fi
   5806 
   5807 G77=`test $ac_compiler_gnu = yes && echo yes`
   5808 ac_ext=c
   5809 ac_cpp='$CPP $CPPFLAGS'
   5810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5813 
   5814 
   5815 
   5816 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   5817 
   5818 # find the maximum length of command line arguments
   5819 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5820 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   5821 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5822   echo $ECHO_N "(cached) $ECHO_C" >&6
   5823 else
   5824     i=0
   5825   teststring="ABCD"
   5826 
   5827   case $build_os in
   5828   msdosdjgpp*)
   5829     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5830     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5831     # during glob expansion).  Even if it were fixed, the result of this
   5832     # check would be larger than it should be.
   5833     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5834     ;;
   5835 
   5836   gnu*)
   5837     # Under GNU Hurd, this test is not required because there is
   5838     # no limit to the length of command line arguments.
   5839     # Libtool will interpret -1 as no limit whatsoever
   5840     lt_cv_sys_max_cmd_len=-1;
   5841     ;;
   5842 
   5843   cygwin* | mingw*)
   5844     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5845     # about 5 minutes as the teststring grows exponentially.
   5846     # Worse, since 9x/ME are not pre-emptively multitasking,
   5847     # you end up with a "frozen" computer, even though with patience
   5848     # the test eventually succeeds (with a max line length of 256k).
   5849     # Instead, let's just punt: use the minimum linelength reported by
   5850     # all of the supported platforms: 8192 (on NT/2K/XP).
   5851     lt_cv_sys_max_cmd_len=8192;
   5852     ;;
   5853 
   5854   amigaos*)
   5855     # On AmigaOS with pdksh, this test takes hours, literally.
   5856     # So we just punt and use a minimum line length of 8192.
   5857     lt_cv_sys_max_cmd_len=8192;
   5858     ;;
   5859 
   5860   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5861     # This has been around since 386BSD, at least.  Likely further.
   5862     if test -x /sbin/sysctl; then
   5863       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5864     elif test -x /usr/sbin/sysctl; then
   5865       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5866     else
   5867       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5868     fi
   5869     # And add a safety zone
   5870     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5871     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5872     ;;
   5873 
   5874   interix*)
   5875     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5876     lt_cv_sys_max_cmd_len=196608
   5877     ;;
   5878 
   5879   osf*)
   5880     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5881     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5882     # nice to cause kernel panics so lets avoid the loop below.
   5883     # First set a reasonable default.
   5884     lt_cv_sys_max_cmd_len=16384
   5885     #
   5886     if test -x /sbin/sysconfig; then
   5887       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5888         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5889       esac
   5890     fi
   5891     ;;
   5892   sco3.2v5*)
   5893     lt_cv_sys_max_cmd_len=102400
   5894     ;;
   5895   sysv5* | sco5v6* | sysv4.2uw2*)
   5896     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5897     if test -n "$kargmax"; then
   5898       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   5899     else
   5900       lt_cv_sys_max_cmd_len=32768
   5901     fi
   5902     ;;
   5903   *)
   5904     # If test is not a shell built-in, we'll probably end up computing a
   5905     # maximum length that is only half of the actual maximum length, but
   5906     # we can't tell.
   5907     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5908     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   5909 	       = "XX$teststring") >/dev/null 2>&1 &&
   5910 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   5911 	    lt_cv_sys_max_cmd_len=$new_result &&
   5912 	    test $i != 17 # 1/2 MB should be enough
   5913     do
   5914       i=`expr $i + 1`
   5915       teststring=$teststring$teststring
   5916     done
   5917     teststring=
   5918     # Add a significant safety factor because C++ compilers can tack on massive
   5919     # amounts of additional arguments before passing them to the linker.
   5920     # It appears as though 1/2 is a usable value.
   5921     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5922     ;;
   5923   esac
   5924 
   5925 fi
   5926 
   5927 if test -n $lt_cv_sys_max_cmd_len ; then
   5928   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5929 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   5930 else
   5931   echo "$as_me:$LINENO: result: none" >&5
   5932 echo "${ECHO_T}none" >&6
   5933 fi
   5934 
   5935 
   5936 
   5937 
   5938 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5939 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5940 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   5941 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5942   echo $ECHO_N "(cached) $ECHO_C" >&6
   5943 else
   5944 
   5945 # These are sane defaults that work on at least a few old systems.
   5946 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5947 
   5948 # Character class describing NM global symbol codes.
   5949 symcode='[BCDEGRST]'
   5950 
   5951 # Regexp to match symbols that can be accessed directly from C.
   5952 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5953 
   5954 # Transform an extracted symbol line into a proper C declaration
   5955 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   5956 
   5957 # Transform an extracted symbol line into symbol name and symbol address
   5958 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'"
   5959 
   5960 # Define system-specific variables.
   5961 case $host_os in
   5962 aix*)
   5963   symcode='[BCDT]'
   5964   ;;
   5965 cygwin* | mingw* | pw32*)
   5966   symcode='[ABCDGISTW]'
   5967   ;;
   5968 hpux*) # Its linker distinguishes data from code symbols
   5969   if test "$host_cpu" = ia64; then
   5970     symcode='[ABCDEGRST]'
   5971   fi
   5972   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5973   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'"
   5974   ;;
   5975 linux*)
   5976   if test "$host_cpu" = ia64; then
   5977     symcode='[ABCDGIRSTW]'
   5978     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5979     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'"
   5980   fi
   5981   ;;
   5982 irix* | nonstopux*)
   5983   symcode='[BCDEGRST]'
   5984   ;;
   5985 osf*)
   5986   symcode='[BCDEGQRST]'
   5987   ;;
   5988 solaris*)
   5989   symcode='[BDRT]'
   5990   ;;
   5991 sco3.2v5*)
   5992   symcode='[DT]'
   5993   ;;
   5994 sysv4.2uw2*)
   5995   symcode='[DT]'
   5996   ;;
   5997 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5998   symcode='[ABDT]'
   5999   ;;
   6000 sysv4)
   6001   symcode='[DFNSTU]'
   6002   ;;
   6003 esac
   6004 
   6005 # Handle CRLF in mingw tool chain
   6006 opt_cr=
   6007 case $build_os in
   6008 mingw*)
   6009   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6010   ;;
   6011 esac
   6012 
   6013 # If we're using GNU nm, then use its standard symbol codes.
   6014 case `$NM -V 2>&1` in
   6015 *GNU* | *'with BFD'*)
   6016   symcode='[ABCDGIRSTW]' ;;
   6017 esac
   6018 
   6019 # Try without a prefix undercore, then with it.
   6020 for ac_symprfx in "" "_"; do
   6021 
   6022   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6023   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6024 
   6025   # Write the raw and C identifiers.
   6026   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6027 
   6028   # Check to see that the pipe works correctly.
   6029   pipe_works=no
   6030 
   6031   rm -f conftest*
   6032   cat > conftest.$ac_ext <<EOF
   6033 #ifdef __cplusplus
   6034 extern "C" {
   6035 #endif
   6036 char nm_test_var;
   6037 void nm_test_func(){}
   6038 #ifdef __cplusplus
   6039 }
   6040 #endif
   6041 int main(){nm_test_var='a';nm_test_func();return(0);}
   6042 EOF
   6043 
   6044   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6045   (eval $ac_compile) 2>&5
   6046   ac_status=$?
   6047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6048   (exit $ac_status); }; then
   6049     # Now try to grab the symbols.
   6050     nlist=conftest.nm
   6051     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6052   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6053   ac_status=$?
   6054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6055   (exit $ac_status); } && test -s "$nlist"; then
   6056       # Try sorting and uniquifying the output.
   6057       if sort "$nlist" | uniq > "$nlist"T; then
   6058 	mv -f "$nlist"T "$nlist"
   6059       else
   6060 	rm -f "$nlist"T
   6061       fi
   6062 
   6063       # Make sure that we snagged all the symbols we need.
   6064       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6065 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6066 	  cat <<EOF > conftest.$ac_ext
   6067 #ifdef __cplusplus
   6068 extern "C" {
   6069 #endif
   6070 
   6071 EOF
   6072 	  # Now generate the symbol file.
   6073 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6074 
   6075 	  cat <<EOF >> conftest.$ac_ext
   6076 #if defined (__STDC__) && __STDC__
   6077 # define lt_ptr_t void *
   6078 #else
   6079 # define lt_ptr_t char *
   6080 # define const
   6081 #endif
   6082 
   6083 /* The mapping between symbol names and symbols. */
   6084 const struct {
   6085   const char *name;
   6086   lt_ptr_t address;
   6087 }
   6088 lt_preloaded_symbols[] =
   6089 {
   6090 EOF
   6091 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6092 	  cat <<\EOF >> conftest.$ac_ext
   6093   {0, (lt_ptr_t) 0}
   6094 };
   6095 
   6096 #ifdef __cplusplus
   6097 }
   6098 #endif
   6099 EOF
   6100 	  # Now try linking the two files.
   6101 	  mv conftest.$ac_objext conftstm.$ac_objext
   6102 	  lt_save_LIBS="$LIBS"
   6103 	  lt_save_CFLAGS="$CFLAGS"
   6104 	  LIBS="conftstm.$ac_objext"
   6105 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6106 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6107   (eval $ac_link) 2>&5
   6108   ac_status=$?
   6109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6110   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6111 	    pipe_works=yes
   6112 	  fi
   6113 	  LIBS="$lt_save_LIBS"
   6114 	  CFLAGS="$lt_save_CFLAGS"
   6115 	else
   6116 	  echo "cannot find nm_test_func in $nlist" >&5
   6117 	fi
   6118       else
   6119 	echo "cannot find nm_test_var in $nlist" >&5
   6120       fi
   6121     else
   6122       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6123     fi
   6124   else
   6125     echo "$progname: failed program was:" >&5
   6126     cat conftest.$ac_ext >&5
   6127   fi
   6128   rm -f conftest* conftst*
   6129 
   6130   # Do not use the global_symbol_pipe unless it works.
   6131   if test "$pipe_works" = yes; then
   6132     break
   6133   else
   6134     lt_cv_sys_global_symbol_pipe=
   6135   fi
   6136 done
   6137 
   6138 fi
   6139 
   6140 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6141   lt_cv_sys_global_symbol_to_cdecl=
   6142 fi
   6143 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6144   echo "$as_me:$LINENO: result: failed" >&5
   6145 echo "${ECHO_T}failed" >&6
   6146 else
   6147   echo "$as_me:$LINENO: result: ok" >&5
   6148 echo "${ECHO_T}ok" >&6
   6149 fi
   6150 
   6151 echo "$as_me:$LINENO: checking for objdir" >&5
   6152 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   6153 if test "${lt_cv_objdir+set}" = set; then
   6154   echo $ECHO_N "(cached) $ECHO_C" >&6
   6155 else
   6156   rm -f .libs 2>/dev/null
   6157 mkdir .libs 2>/dev/null
   6158 if test -d .libs; then
   6159   lt_cv_objdir=.libs
   6160 else
   6161   # MS-DOS does not allow filenames that begin with a dot.
   6162   lt_cv_objdir=_libs
   6163 fi
   6164 rmdir .libs 2>/dev/null
   6165 fi
   6166 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6167 echo "${ECHO_T}$lt_cv_objdir" >&6
   6168 objdir=$lt_cv_objdir
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 case $host_os in
   6175 aix3*)
   6176   # AIX sometimes has problems with the GCC collect2 program.  For some
   6177   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6178   # vanish in a puff of smoke.
   6179   if test "X${COLLECT_NAMES+set}" != Xset; then
   6180     COLLECT_NAMES=
   6181     export COLLECT_NAMES
   6182   fi
   6183   ;;
   6184 esac
   6185 
   6186 # Sed substitution that helps us do robust quoting.  It backslashifies
   6187 # metacharacters that are still active within double-quoted strings.
   6188 Xsed='sed -e 1s/^X//'
   6189 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6190 
   6191 # Same as above, but do not quote variable references.
   6192 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6193 
   6194 # Sed substitution to delay expansion of an escaped shell variable in a
   6195 # double_quote_subst'ed string.
   6196 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6197 
   6198 # Sed substitution to avoid accidental globbing in evaled expressions
   6199 no_glob_subst='s/\*/\\\*/g'
   6200 
   6201 # Constants:
   6202 rm="rm -f"
   6203 
   6204 # Global variables:
   6205 default_ofile=libtool
   6206 can_build_shared=yes
   6207 
   6208 # All known linkers require a `.a' archive for static linking (except MSVC,
   6209 # which needs '.lib').
   6210 libext=a
   6211 ltmain="$ac_aux_dir/ltmain.sh"
   6212 ofile="$default_ofile"
   6213 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6214 
   6215 if test -n "$ac_tool_prefix"; then
   6216   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6217 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6218 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6220 if test "${ac_cv_prog_AR+set}" = set; then
   6221   echo $ECHO_N "(cached) $ECHO_C" >&6
   6222 else
   6223   if test -n "$AR"; then
   6224   ac_cv_prog_AR="$AR" # Let the user override the test.
   6225 else
   6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6227 for as_dir in $PATH
   6228 do
   6229   IFS=$as_save_IFS
   6230   test -z "$as_dir" && as_dir=.
   6231   for ac_exec_ext in '' $ac_executable_extensions; do
   6232   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6233     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6234     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6235     break 2
   6236   fi
   6237 done
   6238 done
   6239 
   6240 fi
   6241 fi
   6242 AR=$ac_cv_prog_AR
   6243 if test -n "$AR"; then
   6244   echo "$as_me:$LINENO: result: $AR" >&5
   6245 echo "${ECHO_T}$AR" >&6
   6246 else
   6247   echo "$as_me:$LINENO: result: no" >&5
   6248 echo "${ECHO_T}no" >&6
   6249 fi
   6250 
   6251 fi
   6252 if test -z "$ac_cv_prog_AR"; then
   6253   ac_ct_AR=$AR
   6254   # Extract the first word of "ar", so it can be a program name with args.
   6255 set dummy ar; ac_word=$2
   6256 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6258 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6259   echo $ECHO_N "(cached) $ECHO_C" >&6
   6260 else
   6261   if test -n "$ac_ct_AR"; then
   6262   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6263 else
   6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6265 for as_dir in $PATH
   6266 do
   6267   IFS=$as_save_IFS
   6268   test -z "$as_dir" && as_dir=.
   6269   for ac_exec_ext in '' $ac_executable_extensions; do
   6270   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6271     ac_cv_prog_ac_ct_AR="ar"
   6272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6273     break 2
   6274   fi
   6275 done
   6276 done
   6277 
   6278   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
   6279 fi
   6280 fi
   6281 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6282 if test -n "$ac_ct_AR"; then
   6283   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6284 echo "${ECHO_T}$ac_ct_AR" >&6
   6285 else
   6286   echo "$as_me:$LINENO: result: no" >&5
   6287 echo "${ECHO_T}no" >&6
   6288 fi
   6289 
   6290   AR=$ac_ct_AR
   6291 else
   6292   AR="$ac_cv_prog_AR"
   6293 fi
   6294 
   6295 if test -n "$ac_tool_prefix"; then
   6296   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6297 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6298 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6300 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6301   echo $ECHO_N "(cached) $ECHO_C" >&6
   6302 else
   6303   if test -n "$RANLIB"; then
   6304   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6305 else
   6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6307 for as_dir in $PATH
   6308 do
   6309   IFS=$as_save_IFS
   6310   test -z "$as_dir" && as_dir=.
   6311   for ac_exec_ext in '' $ac_executable_extensions; do
   6312   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6313     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6315     break 2
   6316   fi
   6317 done
   6318 done
   6319 
   6320 fi
   6321 fi
   6322 RANLIB=$ac_cv_prog_RANLIB
   6323 if test -n "$RANLIB"; then
   6324   echo "$as_me:$LINENO: result: $RANLIB" >&5
   6325 echo "${ECHO_T}$RANLIB" >&6
   6326 else
   6327   echo "$as_me:$LINENO: result: no" >&5
   6328 echo "${ECHO_T}no" >&6
   6329 fi
   6330 
   6331 fi
   6332 if test -z "$ac_cv_prog_RANLIB"; then
   6333   ac_ct_RANLIB=$RANLIB
   6334   # Extract the first word of "ranlib", so it can be a program name with args.
   6335 set dummy ranlib; ac_word=$2
   6336 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6338 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6339   echo $ECHO_N "(cached) $ECHO_C" >&6
   6340 else
   6341   if test -n "$ac_ct_RANLIB"; then
   6342   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6343 else
   6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6345 for as_dir in $PATH
   6346 do
   6347   IFS=$as_save_IFS
   6348   test -z "$as_dir" && as_dir=.
   6349   for ac_exec_ext in '' $ac_executable_extensions; do
   6350   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6351     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6352     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6353     break 2
   6354   fi
   6355 done
   6356 done
   6357 
   6358   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6359 fi
   6360 fi
   6361 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6362 if test -n "$ac_ct_RANLIB"; then
   6363   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6364 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6365 else
   6366   echo "$as_me:$LINENO: result: no" >&5
   6367 echo "${ECHO_T}no" >&6
   6368 fi
   6369 
   6370   RANLIB=$ac_ct_RANLIB
   6371 else
   6372   RANLIB="$ac_cv_prog_RANLIB"
   6373 fi
   6374 
   6375 if test -n "$ac_tool_prefix"; then
   6376   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6377 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6378 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6380 if test "${ac_cv_prog_STRIP+set}" = set; then
   6381   echo $ECHO_N "(cached) $ECHO_C" >&6
   6382 else
   6383   if test -n "$STRIP"; then
   6384   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6385 else
   6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6387 for as_dir in $PATH
   6388 do
   6389   IFS=$as_save_IFS
   6390   test -z "$as_dir" && as_dir=.
   6391   for ac_exec_ext in '' $ac_executable_extensions; do
   6392   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6393     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6395     break 2
   6396   fi
   6397 done
   6398 done
   6399 
   6400 fi
   6401 fi
   6402 STRIP=$ac_cv_prog_STRIP
   6403 if test -n "$STRIP"; then
   6404   echo "$as_me:$LINENO: result: $STRIP" >&5
   6405 echo "${ECHO_T}$STRIP" >&6
   6406 else
   6407   echo "$as_me:$LINENO: result: no" >&5
   6408 echo "${ECHO_T}no" >&6
   6409 fi
   6410 
   6411 fi
   6412 if test -z "$ac_cv_prog_STRIP"; then
   6413   ac_ct_STRIP=$STRIP
   6414   # Extract the first word of "strip", so it can be a program name with args.
   6415 set dummy strip; ac_word=$2
   6416 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6418 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6419   echo $ECHO_N "(cached) $ECHO_C" >&6
   6420 else
   6421   if test -n "$ac_ct_STRIP"; then
   6422   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6423 else
   6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6425 for as_dir in $PATH
   6426 do
   6427   IFS=$as_save_IFS
   6428   test -z "$as_dir" && as_dir=.
   6429   for ac_exec_ext in '' $ac_executable_extensions; do
   6430   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6431     ac_cv_prog_ac_ct_STRIP="strip"
   6432     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6433     break 2
   6434   fi
   6435 done
   6436 done
   6437 
   6438   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   6439 fi
   6440 fi
   6441 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6442 if test -n "$ac_ct_STRIP"; then
   6443   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6444 echo "${ECHO_T}$ac_ct_STRIP" >&6
   6445 else
   6446   echo "$as_me:$LINENO: result: no" >&5
   6447 echo "${ECHO_T}no" >&6
   6448 fi
   6449 
   6450   STRIP=$ac_ct_STRIP
   6451 else
   6452   STRIP="$ac_cv_prog_STRIP"
   6453 fi
   6454 
   6455 
   6456 old_CC="$CC"
   6457 old_CFLAGS="$CFLAGS"
   6458 
   6459 # Set sane defaults for various variables
   6460 test -z "$AR" && AR=ar
   6461 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6462 test -z "$AS" && AS=as
   6463 test -z "$CC" && CC=cc
   6464 test -z "$LTCC" && LTCC=$CC
   6465 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6466 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6467 test -z "$LD" && LD=ld
   6468 test -z "$LN_S" && LN_S="ln -s"
   6469 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6470 test -z "$NM" && NM=nm
   6471 test -z "$SED" && SED=sed
   6472 test -z "$OBJDUMP" && OBJDUMP=objdump
   6473 test -z "$RANLIB" && RANLIB=:
   6474 test -z "$STRIP" && STRIP=:
   6475 test -z "$ac_objext" && ac_objext=o
   6476 
   6477 # Determine commands to create old-style static archives.
   6478 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6479 old_postinstall_cmds='chmod 644 $oldlib'
   6480 old_postuninstall_cmds=
   6481 
   6482 if test -n "$RANLIB"; then
   6483   case $host_os in
   6484   openbsd*)
   6485     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6486     ;;
   6487   *)
   6488     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6489     ;;
   6490   esac
   6491   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6492 fi
   6493 
   6494 for cc_temp in $compiler""; do
   6495   case $cc_temp in
   6496     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6497     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6498     \-*) ;;
   6499     *) break;;
   6500   esac
   6501 done
   6502 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6503 
   6504 
   6505 # Only perform the check for file, if the check method requires it
   6506 case $deplibs_check_method in
   6507 file_magic*)
   6508   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6509     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6510 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   6511 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6512   echo $ECHO_N "(cached) $ECHO_C" >&6
   6513 else
   6514   case $MAGIC_CMD in
   6515 [\\/*] |  ?:[\\/]*)
   6516   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6517   ;;
   6518 *)
   6519   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6520   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6521   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6522   for ac_dir in $ac_dummy; do
   6523     IFS="$lt_save_ifs"
   6524     test -z "$ac_dir" && ac_dir=.
   6525     if test -f $ac_dir/${ac_tool_prefix}file; then
   6526       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6527       if test -n "$file_magic_test_file"; then
   6528 	case $deplibs_check_method in
   6529 	"file_magic "*)
   6530 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6531 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6532 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6533 	    $EGREP "$file_magic_regex" > /dev/null; then
   6534 	    :
   6535 	  else
   6536 	    cat <<EOF 1>&2
   6537 
   6538 *** Warning: the command libtool uses to detect shared libraries,
   6539 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6540 *** The result is that libtool may fail to recognize shared libraries
   6541 *** as such.  This will affect the creation of libtool libraries that
   6542 *** depend on shared libraries, but programs linked with such libtool
   6543 *** libraries will work regardless of this problem.  Nevertheless, you
   6544 *** may want to report the problem to your system manager and/or to
   6545 *** bug-libtool@gnu.org
   6546 
   6547 EOF
   6548 	  fi ;;
   6549 	esac
   6550       fi
   6551       break
   6552     fi
   6553   done
   6554   IFS="$lt_save_ifs"
   6555   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6556   ;;
   6557 esac
   6558 fi
   6559 
   6560 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6561 if test -n "$MAGIC_CMD"; then
   6562   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6563 echo "${ECHO_T}$MAGIC_CMD" >&6
   6564 else
   6565   echo "$as_me:$LINENO: result: no" >&5
   6566 echo "${ECHO_T}no" >&6
   6567 fi
   6568 
   6569 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6570   if test -n "$ac_tool_prefix"; then
   6571     echo "$as_me:$LINENO: checking for file" >&5
   6572 echo $ECHO_N "checking for file... $ECHO_C" >&6
   6573 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6574   echo $ECHO_N "(cached) $ECHO_C" >&6
   6575 else
   6576   case $MAGIC_CMD in
   6577 [\\/*] |  ?:[\\/]*)
   6578   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6579   ;;
   6580 *)
   6581   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6582   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6583   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6584   for ac_dir in $ac_dummy; do
   6585     IFS="$lt_save_ifs"
   6586     test -z "$ac_dir" && ac_dir=.
   6587     if test -f $ac_dir/file; then
   6588       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6589       if test -n "$file_magic_test_file"; then
   6590 	case $deplibs_check_method in
   6591 	"file_magic "*)
   6592 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6593 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6594 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6595 	    $EGREP "$file_magic_regex" > /dev/null; then
   6596 	    :
   6597 	  else
   6598 	    cat <<EOF 1>&2
   6599 
   6600 *** Warning: the command libtool uses to detect shared libraries,
   6601 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6602 *** The result is that libtool may fail to recognize shared libraries
   6603 *** as such.  This will affect the creation of libtool libraries that
   6604 *** depend on shared libraries, but programs linked with such libtool
   6605 *** libraries will work regardless of this problem.  Nevertheless, you
   6606 *** may want to report the problem to your system manager and/or to
   6607 *** bug-libtool@gnu.org
   6608 
   6609 EOF
   6610 	  fi ;;
   6611 	esac
   6612       fi
   6613       break
   6614     fi
   6615   done
   6616   IFS="$lt_save_ifs"
   6617   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6618   ;;
   6619 esac
   6620 fi
   6621 
   6622 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6623 if test -n "$MAGIC_CMD"; then
   6624   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6625 echo "${ECHO_T}$MAGIC_CMD" >&6
   6626 else
   6627   echo "$as_me:$LINENO: result: no" >&5
   6628 echo "${ECHO_T}no" >&6
   6629 fi
   6630 
   6631   else
   6632     MAGIC_CMD=:
   6633   fi
   6634 fi
   6635 
   6636   fi
   6637   ;;
   6638 esac
   6639 
   6640 enable_dlopen=no
   6641 enable_win32_dll=yes
   6642 
   6643 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   6644 if test "${enable_libtool_lock+set}" = set; then
   6645   enableval="$enable_libtool_lock"
   6646 
   6647 fi;
   6648 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6649 
   6650 
   6651 # Check whether --with-pic or --without-pic was given.
   6652 if test "${with_pic+set}" = set; then
   6653   withval="$with_pic"
   6654   pic_mode="$withval"
   6655 else
   6656   pic_mode=default
   6657 fi;
   6658 test -z "$pic_mode" && pic_mode=default
   6659 
   6660 # Use C for the default configuration in the libtool script
   6661 tagname=
   6662 lt_save_CC="$CC"
   6663 ac_ext=c
   6664 ac_cpp='$CPP $CPPFLAGS'
   6665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6668 
   6669 
   6670 # Source file extension for C test sources.
   6671 ac_ext=c
   6672 
   6673 # Object file extension for compiled C test sources.
   6674 objext=o
   6675 objext=$objext
   6676 
   6677 # Code to be used in simple compile tests
   6678 lt_simple_compile_test_code="int some_variable = 0;\n"
   6679 
   6680 # Code to be used in simple link tests
   6681 lt_simple_link_test_code='int main(){return(0);}\n'
   6682 
   6683 
   6684 # If no C compiler was specified, use CC.
   6685 LTCC=${LTCC-"$CC"}
   6686 
   6687 # If no C compiler flags were specified, use CFLAGS.
   6688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6689 
   6690 # Allow CC to be a program name with arguments.
   6691 compiler=$CC
   6692 
   6693 
   6694 # save warnings/boilerplate of simple test code
   6695 ac_outfile=conftest.$ac_objext
   6696 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   6697 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6698 _lt_compiler_boilerplate=`cat conftest.err`
   6699 $rm conftest*
   6700 
   6701 ac_outfile=conftest.$ac_objext
   6702 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   6703 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6704 _lt_linker_boilerplate=`cat conftest.err`
   6705 $rm conftest*
   6706 
   6707 
   6708 
   6709 lt_prog_compiler_no_builtin_flag=
   6710 
   6711 if test "$GCC" = yes; then
   6712   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   6713 
   6714 
   6715 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   6716 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   6717 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   6718   echo $ECHO_N "(cached) $ECHO_C" >&6
   6719 else
   6720   lt_cv_prog_compiler_rtti_exceptions=no
   6721   ac_outfile=conftest.$ac_objext
   6722    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6723    lt_compiler_flag="-fno-rtti -fno-exceptions"
   6724    # Insert the option either (1) after the last *FLAGS variable, or
   6725    # (2) before a word containing "conftest.", or (3) at the end.
   6726    # Note that $ac_compile itself does not contain backslashes and begins
   6727    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6728    # The option is referenced via a variable to avoid confusing sed.
   6729    lt_compile=`echo "$ac_compile" | $SED \
   6730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   6732    -e 's:$: $lt_compiler_flag:'`
   6733    (eval echo "\"\$as_me:6733: $lt_compile\"" >&5)
   6734    (eval "$lt_compile" 2>conftest.err)
   6735    ac_status=$?
   6736    cat conftest.err >&5
   6737    echo "$as_me:6737: \$? = $ac_status" >&5
   6738    if (exit $ac_status) && test -s "$ac_outfile"; then
   6739      # The compiler can only warn and ignore the option if not recognized
   6740      # So say no if there are warnings other than the usual output.
   6741      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   6742      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   6743      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   6744        lt_cv_prog_compiler_rtti_exceptions=yes
   6745      fi
   6746    fi
   6747    $rm conftest*
   6748 
   6749 fi
   6750 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   6751 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   6752 
   6753 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   6754     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   6755 else
   6756     :
   6757 fi
   6758 
   6759 fi
   6760 
   6761 lt_prog_compiler_wl=
   6762 lt_prog_compiler_pic=
   6763 lt_prog_compiler_static=
   6764 
   6765 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   6766 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   6767 
   6768   if test "$GCC" = yes; then
   6769     lt_prog_compiler_wl='-Wl,'
   6770     lt_prog_compiler_static='-static'
   6771 
   6772     case $host_os in
   6773       aix*)
   6774       # All AIX code is PIC.
   6775       if test "$host_cpu" = ia64; then
   6776 	# AIX 5 now supports IA64 processor
   6777 	lt_prog_compiler_static='-Bstatic'
   6778       fi
   6779       ;;
   6780 
   6781     amigaos*)
   6782       # FIXME: we need at least 68020 code to build shared libraries, but
   6783       # adding the `-m68020' flag to GCC prevents building anything better,
   6784       # like `-m68040'.
   6785       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   6786       ;;
   6787 
   6788     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   6789       # PIC is the default for these OSes.
   6790       ;;
   6791 
   6792     mingw* | pw32* | os2*)
   6793       # This hack is so that the source file can tell whether it is being
   6794       # built for inclusion in a dll (and should export symbols for example).
   6795       lt_prog_compiler_pic='-DDLL_EXPORT'
   6796       ;;
   6797 
   6798     darwin* | rhapsody*)
   6799       # PIC is the default on this platform
   6800       # Common symbols not allowed in MH_DYLIB files
   6801       lt_prog_compiler_pic='-fno-common'
   6802       ;;
   6803 
   6804     interix3*)
   6805       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   6806       # Instead, we relocate shared libraries at runtime.
   6807       ;;
   6808 
   6809     msdosdjgpp*)
   6810       # Just because we use GCC doesn't mean we suddenly get shared libraries
   6811       # on systems that don't support them.
   6812       lt_prog_compiler_can_build_shared=no
   6813       enable_shared=no
   6814       ;;
   6815 
   6816     sysv4*MP*)
   6817       if test -d /usr/nec; then
   6818 	lt_prog_compiler_pic=-Kconform_pic
   6819       fi
   6820       ;;
   6821 
   6822     hpux*)
   6823       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6824       # not for PA HP-UX.
   6825       case $host_cpu in
   6826       hppa*64*|ia64*)
   6827 	# +Z the default
   6828 	;;
   6829       *)
   6830 	lt_prog_compiler_pic='-fPIC'
   6831 	;;
   6832       esac
   6833       ;;
   6834 
   6835     *)
   6836       lt_prog_compiler_pic='-fPIC'
   6837       ;;
   6838     esac
   6839   else
   6840     # PORTME Check for flag to pass linker flags through the system compiler.
   6841     case $host_os in
   6842     aix*)
   6843       lt_prog_compiler_wl='-Wl,'
   6844       if test "$host_cpu" = ia64; then
   6845 	# AIX 5 now supports IA64 processor
   6846 	lt_prog_compiler_static='-Bstatic'
   6847       else
   6848 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   6849       fi
   6850       ;;
   6851       darwin*)
   6852         # PIC is the default on this platform
   6853         # Common symbols not allowed in MH_DYLIB files
   6854        case $cc_basename in
   6855          xlc*)
   6856          lt_prog_compiler_pic='-qnocommon'
   6857          lt_prog_compiler_wl='-Wl,'
   6858          ;;
   6859        esac
   6860        ;;
   6861 
   6862     mingw* | pw32* | os2*)
   6863       # This hack is so that the source file can tell whether it is being
   6864       # built for inclusion in a dll (and should export symbols for example).
   6865       lt_prog_compiler_pic='-DDLL_EXPORT'
   6866       ;;
   6867 
   6868     hpux9* | hpux10* | hpux11*)
   6869       lt_prog_compiler_wl='-Wl,'
   6870       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   6871       # not for PA HP-UX.
   6872       case $host_cpu in
   6873       hppa*64*|ia64*)
   6874 	# +Z the default
   6875 	;;
   6876       *)
   6877 	lt_prog_compiler_pic='+Z'
   6878 	;;
   6879       esac
   6880       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   6881       lt_prog_compiler_static='${wl}-a ${wl}archive'
   6882       ;;
   6883 
   6884     irix5* | irix6* | nonstopux*)
   6885       lt_prog_compiler_wl='-Wl,'
   6886       # PIC (with -KPIC) is the default.
   6887       lt_prog_compiler_static='-non_shared'
   6888       ;;
   6889 
   6890     newsos6)
   6891       lt_prog_compiler_pic='-KPIC'
   6892       lt_prog_compiler_static='-Bstatic'
   6893       ;;
   6894 
   6895     linux*)
   6896       case $cc_basename in
   6897       icc* | ecc*)
   6898 	lt_prog_compiler_wl='-Wl,'
   6899 	lt_prog_compiler_pic='-KPIC'
   6900 	lt_prog_compiler_static='-static'
   6901         ;;
   6902       pgcc* | pgf77* | pgf90* | pgf95*)
   6903         # Portland Group compilers (*not* the Pentium gcc compiler,
   6904 	# which looks to be a dead project)
   6905 	lt_prog_compiler_wl='-Wl,'
   6906 	lt_prog_compiler_pic='-fpic'
   6907 	lt_prog_compiler_static='-Bstatic'
   6908         ;;
   6909       ccc*)
   6910         lt_prog_compiler_wl='-Wl,'
   6911         # All Alpha code is PIC.
   6912         lt_prog_compiler_static='-non_shared'
   6913         ;;
   6914       esac
   6915       ;;
   6916 
   6917     osf3* | osf4* | osf5*)
   6918       lt_prog_compiler_wl='-Wl,'
   6919       # All OSF/1 code is PIC.
   6920       lt_prog_compiler_static='-non_shared'
   6921       ;;
   6922 
   6923     solaris*)
   6924       lt_prog_compiler_pic='-KPIC'
   6925       lt_prog_compiler_static='-Bstatic'
   6926       case $cc_basename in
   6927       f77* | f90* | f95*)
   6928 	lt_prog_compiler_wl='-Qoption ld ';;
   6929       *)
   6930 	lt_prog_compiler_wl='-Wl,';;
   6931       esac
   6932       ;;
   6933 
   6934     sunos4*)
   6935       lt_prog_compiler_wl='-Qoption ld '
   6936       lt_prog_compiler_pic='-PIC'
   6937       lt_prog_compiler_static='-Bstatic'
   6938       ;;
   6939 
   6940     sysv4 | sysv4.2uw2* | sysv4.3*)
   6941       lt_prog_compiler_wl='-Wl,'
   6942       lt_prog_compiler_pic='-KPIC'
   6943       lt_prog_compiler_static='-Bstatic'
   6944       ;;
   6945 
   6946     sysv4*MP*)
   6947       if test -d /usr/nec ;then
   6948 	lt_prog_compiler_pic='-Kconform_pic'
   6949 	lt_prog_compiler_static='-Bstatic'
   6950       fi
   6951       ;;
   6952 
   6953     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   6954       lt_prog_compiler_wl='-Wl,'
   6955       lt_prog_compiler_pic='-KPIC'
   6956       lt_prog_compiler_static='-Bstatic'
   6957       ;;
   6958 
   6959     unicos*)
   6960       lt_prog_compiler_wl='-Wl,'
   6961       lt_prog_compiler_can_build_shared=no
   6962       ;;
   6963 
   6964     uts4*)
   6965       lt_prog_compiler_pic='-pic'
   6966       lt_prog_compiler_static='-Bstatic'
   6967       ;;
   6968 
   6969     *)
   6970       lt_prog_compiler_can_build_shared=no
   6971       ;;
   6972     esac
   6973   fi
   6974 
   6975 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   6976 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
   6977 
   6978 #
   6979 # Check to make sure the PIC flag actually works.
   6980 #
   6981 if test -n "$lt_prog_compiler_pic"; then
   6982 
   6983 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   6984 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   6985 if test "${lt_prog_compiler_pic_works+set}" = set; then
   6986   echo $ECHO_N "(cached) $ECHO_C" >&6
   6987 else
   6988   lt_prog_compiler_pic_works=no
   6989   ac_outfile=conftest.$ac_objext
   6990    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   6991    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   6992    # Insert the option either (1) after the last *FLAGS variable, or
   6993    # (2) before a word containing "conftest.", or (3) at the end.
   6994    # Note that $ac_compile itself does not contain backslashes and begins
   6995    # with a dollar sign (not a hyphen), so the echo should work correctly.
   6996    # The option is referenced via a variable to avoid confusing sed.
   6997    lt_compile=`echo "$ac_compile" | $SED \
   6998    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   6999    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7000    -e 's:$: $lt_compiler_flag:'`
   7001    (eval echo "\"\$as_me:7001: $lt_compile\"" >&5)
   7002    (eval "$lt_compile" 2>conftest.err)
   7003    ac_status=$?
   7004    cat conftest.err >&5
   7005    echo "$as_me:7005: \$? = $ac_status" >&5
   7006    if (exit $ac_status) && test -s "$ac_outfile"; then
   7007      # The compiler can only warn and ignore the option if not recognized
   7008      # So say no if there are warnings other than the usual output.
   7009      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7010      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7011      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7012        lt_prog_compiler_pic_works=yes
   7013      fi
   7014    fi
   7015    $rm conftest*
   7016 
   7017 fi
   7018 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7019 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   7020 
   7021 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7022     case $lt_prog_compiler_pic in
   7023      "" | " "*) ;;
   7024      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7025      esac
   7026 else
   7027     lt_prog_compiler_pic=
   7028      lt_prog_compiler_can_build_shared=no
   7029 fi
   7030 
   7031 fi
   7032 case $host_os in
   7033   # For platforms which do not support PIC, -DPIC is meaningless:
   7034   *djgpp*)
   7035     lt_prog_compiler_pic=
   7036     ;;
   7037   *)
   7038     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7039     ;;
   7040 esac
   7041 
   7042 #
   7043 # Check to make sure the static flag actually works.
   7044 #
   7045 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7046 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7047 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   7048 if test "${lt_prog_compiler_static_works+set}" = set; then
   7049   echo $ECHO_N "(cached) $ECHO_C" >&6
   7050 else
   7051   lt_prog_compiler_static_works=no
   7052    save_LDFLAGS="$LDFLAGS"
   7053    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7054    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7055    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7056      # The linker can only warn and ignore the option if not recognized
   7057      # So say no if there are warnings
   7058      if test -s conftest.err; then
   7059        # Append any errors to the config.log.
   7060        cat conftest.err 1>&5
   7061        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7062        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7063        if diff conftest.exp conftest.er2 >/dev/null; then
   7064          lt_prog_compiler_static_works=yes
   7065        fi
   7066      else
   7067        lt_prog_compiler_static_works=yes
   7068      fi
   7069    fi
   7070    $rm conftest*
   7071    LDFLAGS="$save_LDFLAGS"
   7072 
   7073 fi
   7074 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7075 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   7076 
   7077 if test x"$lt_prog_compiler_static_works" = xyes; then
   7078     :
   7079 else
   7080     lt_prog_compiler_static=
   7081 fi
   7082 
   7083 
   7084 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7085 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   7086 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7087   echo $ECHO_N "(cached) $ECHO_C" >&6
   7088 else
   7089   lt_cv_prog_compiler_c_o=no
   7090    $rm -r conftest 2>/dev/null
   7091    mkdir conftest
   7092    cd conftest
   7093    mkdir out
   7094    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7095 
   7096    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7097    # Insert the option either (1) after the last *FLAGS variable, or
   7098    # (2) before a word containing "conftest.", or (3) at the end.
   7099    # Note that $ac_compile itself does not contain backslashes and begins
   7100    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7101    lt_compile=`echo "$ac_compile" | $SED \
   7102    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7103    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7104    -e 's:$: $lt_compiler_flag:'`
   7105    (eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
   7106    (eval "$lt_compile" 2>out/conftest.err)
   7107    ac_status=$?
   7108    cat out/conftest.err >&5
   7109    echo "$as_me:7109: \$? = $ac_status" >&5
   7110    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7111    then
   7112      # The compiler can only warn and ignore the option if not recognized
   7113      # So say no if there are warnings
   7114      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7115      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7116      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7117        lt_cv_prog_compiler_c_o=yes
   7118      fi
   7119    fi
   7120    chmod u+w . 2>&5
   7121    $rm conftest*
   7122    # SGI C++ compiler will create directory out/ii_files/ for
   7123    # template instantiation
   7124    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7125    $rm out/* && rmdir out
   7126    cd ..
   7127    rmdir conftest
   7128    $rm conftest*
   7129 
   7130 fi
   7131 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7132 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   7133 
   7134 
   7135 hard_links="nottested"
   7136 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7137   # do not overwrite the value of need_locks provided by the user
   7138   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7139 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   7140   hard_links=yes
   7141   $rm conftest*
   7142   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7143   touch conftest.a
   7144   ln conftest.a conftest.b 2>&5 || hard_links=no
   7145   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7146   echo "$as_me:$LINENO: result: $hard_links" >&5
   7147 echo "${ECHO_T}$hard_links" >&6
   7148   if test "$hard_links" = no; then
   7149     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7150 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7151     need_locks=warn
   7152   fi
   7153 else
   7154   need_locks=no
   7155 fi
   7156 
   7157 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7158 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   7159 
   7160   runpath_var=
   7161   allow_undefined_flag=
   7162   enable_shared_with_static_runtimes=no
   7163   archive_cmds=
   7164   archive_expsym_cmds=
   7165   old_archive_From_new_cmds=
   7166   old_archive_from_expsyms_cmds=
   7167   export_dynamic_flag_spec=
   7168   whole_archive_flag_spec=
   7169   thread_safe_flag_spec=
   7170   hardcode_libdir_flag_spec=
   7171   hardcode_libdir_flag_spec_ld=
   7172   hardcode_libdir_separator=
   7173   hardcode_direct=no
   7174   hardcode_minus_L=no
   7175   hardcode_shlibpath_var=unsupported
   7176   link_all_deplibs=unknown
   7177   hardcode_automatic=no
   7178   module_cmds=
   7179   module_expsym_cmds=
   7180   always_export_symbols=no
   7181   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7182   # include_expsyms should be a list of space-separated symbols to be *always*
   7183   # included in the symbol list
   7184   include_expsyms=
   7185   # exclude_expsyms can be an extended regexp of symbols to exclude
   7186   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7187   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7188   # as well as any symbol that contains `d'.
   7189   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7190   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7191   # platforms (ab)use it in PIC code, but their linkers get confused if
   7192   # the symbol is explicitly referenced.  Since portable code cannot
   7193   # rely on this symbol name, it's probably fine to never include it in
   7194   # preloaded symbol tables.
   7195   extract_expsyms_cmds=
   7196   # Just being paranoid about ensuring that cc_basename is set.
   7197   for cc_temp in $compiler""; do
   7198   case $cc_temp in
   7199     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7200     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7201     \-*) ;;
   7202     *) break;;
   7203   esac
   7204 done
   7205 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7206 
   7207   case $host_os in
   7208   cygwin* | mingw* | pw32*)
   7209     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7210     # When not using gcc, we currently assume that we are using
   7211     # Microsoft Visual C++.
   7212     if test "$GCC" != yes; then
   7213       with_gnu_ld=no
   7214     fi
   7215     ;;
   7216   interix*)
   7217     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7218     with_gnu_ld=yes
   7219     ;;
   7220   openbsd*)
   7221     with_gnu_ld=no
   7222     ;;
   7223   esac
   7224 
   7225   ld_shlibs=yes
   7226   if test "$with_gnu_ld" = yes; then
   7227     # If archive_cmds runs LD, not CC, wlarc should be empty
   7228     wlarc='${wl}'
   7229 
   7230     # Set some defaults for GNU ld with shared library support. These
   7231     # are reset later if shared libraries are not supported. Putting them
   7232     # here allows them to be overridden if necessary.
   7233     runpath_var=LD_RUN_PATH
   7234     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7235     export_dynamic_flag_spec='${wl}--export-dynamic'
   7236     # ancient GNU ld didn't support --whole-archive et. al.
   7237     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7238 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7239       else
   7240   	whole_archive_flag_spec=
   7241     fi
   7242     supports_anon_versioning=no
   7243     case `$LD -v 2>/dev/null` in
   7244       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7245       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7246       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7247       *\ 2.11.*) ;; # other 2.11 versions
   7248       *) supports_anon_versioning=yes ;;
   7249     esac
   7250 
   7251     # See if GNU ld supports shared libraries.
   7252     case $host_os in
   7253     aix3* | aix4* | aix5*)
   7254       # On AIX/PPC, the GNU linker is very broken
   7255       if test "$host_cpu" != ia64; then
   7256 	ld_shlibs=no
   7257 	cat <<EOF 1>&2
   7258 
   7259 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7260 *** to be unable to reliably create shared libraries on AIX.
   7261 *** Therefore, libtool is disabling shared libraries support.  If you
   7262 *** really care for shared libraries, you may want to modify your PATH
   7263 *** so that a non-GNU linker is found, and then restart.
   7264 
   7265 EOF
   7266       fi
   7267       ;;
   7268 
   7269     amigaos*)
   7270       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)'
   7271       hardcode_libdir_flag_spec='-L$libdir'
   7272       hardcode_minus_L=yes
   7273 
   7274       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7275       # that the semantics of dynamic libraries on AmigaOS, at least up
   7276       # to version 4, is to share data among multiple programs linked
   7277       # with the same dynamic library.  Since this doesn't match the
   7278       # behavior of shared libraries on other platforms, we can't use
   7279       # them.
   7280       ld_shlibs=no
   7281       ;;
   7282 
   7283     beos*)
   7284       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7285 	allow_undefined_flag=unsupported
   7286 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7287 	# support --undefined.  This deserves some investigation.  FIXME
   7288 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7289       else
   7290 	ld_shlibs=no
   7291       fi
   7292       ;;
   7293 
   7294     cygwin* | mingw* | pw32*)
   7295       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7296       # as there is no search path for DLLs.
   7297       hardcode_libdir_flag_spec='-L$libdir'
   7298       allow_undefined_flag=unsupported
   7299       always_export_symbols=no
   7300       enable_shared_with_static_runtimes=yes
   7301       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7302 
   7303       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7304         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7305 	# If the export-symbols file already is a .def file (1st line
   7306 	# is EXPORTS), use it as is; otherwise, prepend...
   7307 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7308 	  cp $export_symbols $output_objdir/$soname.def;
   7309 	else
   7310 	  echo EXPORTS > $output_objdir/$soname.def;
   7311 	  cat $export_symbols >> $output_objdir/$soname.def;
   7312 	fi~
   7313 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7314       else
   7315 	ld_shlibs=no
   7316       fi
   7317       ;;
   7318 
   7319     interix3*)
   7320       hardcode_direct=no
   7321       hardcode_shlibpath_var=no
   7322       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7323       export_dynamic_flag_spec='${wl}-E'
   7324       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7325       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7326       # default) and relocated if they conflict, which is a slow very memory
   7327       # consuming and fragmenting process.  To avoid this, we pick a random,
   7328       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7329       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7330       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7331       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'
   7332       ;;
   7333 
   7334     linux*)
   7335       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7336 	tmp_addflag=
   7337 	case $cc_basename,$host_cpu in
   7338 	pgcc*)				# Portland Group C compiler
   7339 	  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'
   7340 	  tmp_addflag=' $pic_flag'
   7341 	  ;;
   7342 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7343 	  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'
   7344 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7345 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7346 	  tmp_addflag=' -i_dynamic' ;;
   7347 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7348 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7349 	ifc* | ifort*)			# Intel Fortran compiler
   7350 	  tmp_addflag=' -nofor_main' ;;
   7351 	esac
   7352 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7353 
   7354 	if test $supports_anon_versioning = yes; then
   7355 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7356   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7357   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7358 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7359 	fi
   7360       else
   7361 	ld_shlibs=no
   7362       fi
   7363       ;;
   7364 
   7365     netbsd*)
   7366       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7367 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7368 	wlarc=
   7369       else
   7370 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7371 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7372       fi
   7373       ;;
   7374 
   7375     solaris*)
   7376       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7377 	ld_shlibs=no
   7378 	cat <<EOF 1>&2
   7379 
   7380 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7381 *** create shared libraries on Solaris systems.  Therefore, libtool
   7382 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7383 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7384 *** your PATH or compiler configuration so that the native linker is
   7385 *** used, and then restart.
   7386 
   7387 EOF
   7388       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7389 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7390 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7391       else
   7392 	ld_shlibs=no
   7393       fi
   7394       ;;
   7395 
   7396     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7397       case `$LD -v 2>&1` in
   7398         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7399 	ld_shlibs=no
   7400 	cat <<_LT_EOF 1>&2
   7401 
   7402 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7403 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7404 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7405 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7406 *** your PATH or compiler configuration so that the native linker is
   7407 *** used, and then restart.
   7408 
   7409 _LT_EOF
   7410 	;;
   7411 	*)
   7412 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7413 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7414 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7415 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7416 	  else
   7417 	    ld_shlibs=no
   7418 	  fi
   7419 	;;
   7420       esac
   7421       ;;
   7422 
   7423     sunos4*)
   7424       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7425       wlarc=
   7426       hardcode_direct=yes
   7427       hardcode_shlibpath_var=no
   7428       ;;
   7429 
   7430     *)
   7431       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7432 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7433 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7434       else
   7435 	ld_shlibs=no
   7436       fi
   7437       ;;
   7438     esac
   7439 
   7440     if test "$ld_shlibs" = no; then
   7441       runpath_var=
   7442       hardcode_libdir_flag_spec=
   7443       export_dynamic_flag_spec=
   7444       whole_archive_flag_spec=
   7445     fi
   7446   else
   7447     # PORTME fill in a description of your system's linker (not GNU ld)
   7448     case $host_os in
   7449     aix3*)
   7450       allow_undefined_flag=unsupported
   7451       always_export_symbols=yes
   7452       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'
   7453       # Note: this linker hardcodes the directories in LIBPATH if there
   7454       # are no directories specified by -L.
   7455       hardcode_minus_L=yes
   7456       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7457 	# Neither direct hardcoding nor static linking is supported with a
   7458 	# broken collect2.
   7459 	hardcode_direct=unsupported
   7460       fi
   7461       ;;
   7462 
   7463     aix4* | aix5*)
   7464       if test "$host_cpu" = ia64; then
   7465 	# On IA64, the linker does run time linking by default, so we don't
   7466 	# have to do anything special.
   7467 	aix_use_runtimelinking=no
   7468 	exp_sym_flag='-Bexport'
   7469 	no_entry_flag=""
   7470       else
   7471 	# If we're using GNU nm, then we don't want the "-C" option.
   7472 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7473 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7474 	  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'
   7475 	else
   7476 	  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'
   7477 	fi
   7478 	aix_use_runtimelinking=no
   7479 
   7480 	# Test if we are trying to use run time linking or normal
   7481 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7482 	# need to do runtime linking.
   7483 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7484 	  for ld_flag in $LDFLAGS; do
   7485   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7486   	    aix_use_runtimelinking=yes
   7487   	    break
   7488   	  fi
   7489 	  done
   7490 	  ;;
   7491 	esac
   7492 
   7493 	exp_sym_flag='-bexport'
   7494 	no_entry_flag='-bnoentry'
   7495       fi
   7496 
   7497       # When large executables or shared objects are built, AIX ld can
   7498       # have problems creating the table of contents.  If linking a library
   7499       # or program results in "error TOC overflow" add -mminimal-toc to
   7500       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7501       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7502 
   7503       archive_cmds=''
   7504       hardcode_direct=yes
   7505       hardcode_libdir_separator=':'
   7506       link_all_deplibs=yes
   7507 
   7508       if test "$GCC" = yes; then
   7509 	case $host_os in aix4.[012]|aix4.[012].*)
   7510 	# We only want to do this on AIX 4.2 and lower, the check
   7511 	# below for broken collect2 doesn't work under 4.3+
   7512 	  collect2name=`${CC} -print-prog-name=collect2`
   7513 	  if test -f "$collect2name" && \
   7514   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7515 	  then
   7516   	  # We have reworked collect2
   7517   	  hardcode_direct=yes
   7518 	  else
   7519   	  # We have old collect2
   7520   	  hardcode_direct=unsupported
   7521   	  # It fails to find uninstalled libraries when the uninstalled
   7522   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7523   	  # to unsupported forces relinking
   7524   	  hardcode_minus_L=yes
   7525   	  hardcode_libdir_flag_spec='-L$libdir'
   7526   	  hardcode_libdir_separator=
   7527 	  fi
   7528 	  ;;
   7529 	esac
   7530 	shared_flag='-shared'
   7531 	if test "$aix_use_runtimelinking" = yes; then
   7532 	  shared_flag="$shared_flag "'${wl}-G'
   7533 	fi
   7534       else
   7535 	# not using gcc
   7536 	if test "$host_cpu" = ia64; then
   7537   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7538   	# chokes on -Wl,-G. The following line is correct:
   7539 	  shared_flag='-G'
   7540 	else
   7541 	  if test "$aix_use_runtimelinking" = yes; then
   7542 	    shared_flag='${wl}-G'
   7543 	  else
   7544 	    shared_flag='${wl}-bM:SRE'
   7545 	  fi
   7546 	fi
   7547       fi
   7548 
   7549       # It seems that -bexpall does not export symbols beginning with
   7550       # underscore (_), so it is better to generate a list of symbols to export.
   7551       always_export_symbols=yes
   7552       if test "$aix_use_runtimelinking" = yes; then
   7553 	# Warning - without using the other runtime loading flags (-brtl),
   7554 	# -berok will link without error, but may produce a broken library.
   7555 	allow_undefined_flag='-berok'
   7556        # Determine the default libpath from the value encoded in an empty executable.
   7557        cat >conftest.$ac_ext <<_ACEOF
   7558 /* confdefs.h.  */
   7559 _ACEOF
   7560 cat confdefs.h >>conftest.$ac_ext
   7561 cat >>conftest.$ac_ext <<_ACEOF
   7562 /* end confdefs.h.  */
   7563 
   7564 int
   7565 main ()
   7566 {
   7567 
   7568   ;
   7569   return 0;
   7570 }
   7571 _ACEOF
   7572 rm -f conftest.$ac_objext conftest$ac_exeext
   7573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7574   (eval $ac_link) 2>conftest.er1
   7575   ac_status=$?
   7576   grep -v '^ *+' conftest.er1 >conftest.err
   7577   rm -f conftest.er1
   7578   cat conftest.err >&5
   7579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7580   (exit $ac_status); } &&
   7581 	 { ac_try='test -z "$ac_c_werror_flag"
   7582 			 || test ! -s conftest.err'
   7583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7584   (eval $ac_try) 2>&5
   7585   ac_status=$?
   7586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7587   (exit $ac_status); }; } &&
   7588 	 { ac_try='test -s conftest$ac_exeext'
   7589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7590   (eval $ac_try) 2>&5
   7591   ac_status=$?
   7592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7593   (exit $ac_status); }; }; then
   7594 
   7595 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7596 }'`
   7597 # Check for a 64-bit object if we didn't find anything.
   7598 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; }
   7599 }'`; fi
   7600 else
   7601   echo "$as_me: failed program was:" >&5
   7602 sed 's/^/| /' conftest.$ac_ext >&5
   7603 
   7604 fi
   7605 rm -f conftest.err conftest.$ac_objext \
   7606       conftest$ac_exeext conftest.$ac_ext
   7607 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7608 
   7609        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7610 	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"
   7611        else
   7612 	if test "$host_cpu" = ia64; then
   7613 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7614 	  allow_undefined_flag="-z nodefs"
   7615 	  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"
   7616 	else
   7617 	 # Determine the default libpath from the value encoded in an empty executable.
   7618 	 cat >conftest.$ac_ext <<_ACEOF
   7619 /* confdefs.h.  */
   7620 _ACEOF
   7621 cat confdefs.h >>conftest.$ac_ext
   7622 cat >>conftest.$ac_ext <<_ACEOF
   7623 /* end confdefs.h.  */
   7624 
   7625 int
   7626 main ()
   7627 {
   7628 
   7629   ;
   7630   return 0;
   7631 }
   7632 _ACEOF
   7633 rm -f conftest.$ac_objext conftest$ac_exeext
   7634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7635   (eval $ac_link) 2>conftest.er1
   7636   ac_status=$?
   7637   grep -v '^ *+' conftest.er1 >conftest.err
   7638   rm -f conftest.er1
   7639   cat conftest.err >&5
   7640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7641   (exit $ac_status); } &&
   7642 	 { ac_try='test -z "$ac_c_werror_flag"
   7643 			 || test ! -s conftest.err'
   7644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7645   (eval $ac_try) 2>&5
   7646   ac_status=$?
   7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7648   (exit $ac_status); }; } &&
   7649 	 { ac_try='test -s conftest$ac_exeext'
   7650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7651   (eval $ac_try) 2>&5
   7652   ac_status=$?
   7653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7654   (exit $ac_status); }; }; then
   7655 
   7656 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7657 }'`
   7658 # Check for a 64-bit object if we didn't find anything.
   7659 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; }
   7660 }'`; fi
   7661 else
   7662   echo "$as_me: failed program was:" >&5
   7663 sed 's/^/| /' conftest.$ac_ext >&5
   7664 
   7665 fi
   7666 rm -f conftest.err conftest.$ac_objext \
   7667       conftest$ac_exeext conftest.$ac_ext
   7668 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7669 
   7670 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7671 	  # Warning - without using the other run time loading flags,
   7672 	  # -berok will link without error, but may produce a broken library.
   7673 	  no_undefined_flag=' ${wl}-bernotok'
   7674 	  allow_undefined_flag=' ${wl}-berok'
   7675 	  # Exported symbols can be pulled into shared objects from archives
   7676 	  whole_archive_flag_spec='$convenience'
   7677 	  archive_cmds_need_lc=yes
   7678 	  # This is similar to how AIX traditionally builds its shared libraries.
   7679 	  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'
   7680 	fi
   7681       fi
   7682       ;;
   7683 
   7684     amigaos*)
   7685       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)'
   7686       hardcode_libdir_flag_spec='-L$libdir'
   7687       hardcode_minus_L=yes
   7688       # see comment about different semantics on the GNU ld section
   7689       ld_shlibs=no
   7690       ;;
   7691 
   7692     bsdi[45]*)
   7693       export_dynamic_flag_spec=-rdynamic
   7694       ;;
   7695 
   7696     cygwin* | mingw* | pw32*)
   7697       # When not using gcc, we currently assume that we are using
   7698       # Microsoft Visual C++.
   7699       # hardcode_libdir_flag_spec is actually meaningless, as there is
   7700       # no search path for DLLs.
   7701       hardcode_libdir_flag_spec=' '
   7702       allow_undefined_flag=unsupported
   7703       # Tell ltmain to make .lib files, not .a files.
   7704       libext=lib
   7705       # Tell ltmain to make .dll files, not .so files.
   7706       shrext_cmds=".dll"
   7707       # FIXME: Setting linknames here is a bad hack.
   7708       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   7709       # The linker will automatically build a .lib file if we build a DLL.
   7710       old_archive_From_new_cmds='true'
   7711       # FIXME: Should let the user specify the lib program.
   7712       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   7713       fix_srcfile_path='`cygpath -w "$srcfile"`'
   7714       enable_shared_with_static_runtimes=yes
   7715       ;;
   7716 
   7717     darwin* | rhapsody*)
   7718       case $host_os in
   7719         rhapsody* | darwin1.[012])
   7720          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   7721          ;;
   7722        *) # Darwin 1.3 on
   7723          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   7724            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7725          else
   7726            case ${MACOSX_DEPLOYMENT_TARGET} in
   7727              10.[012])
   7728                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7729                ;;
   7730              10.*)
   7731                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   7732                ;;
   7733            esac
   7734          fi
   7735          ;;
   7736       esac
   7737       archive_cmds_need_lc=no
   7738       hardcode_direct=no
   7739       hardcode_automatic=yes
   7740       hardcode_shlibpath_var=unsupported
   7741       whole_archive_flag_spec=''
   7742       link_all_deplibs=yes
   7743     if test "$GCC" = yes ; then
   7744     	output_verbose_link_cmd='echo'
   7745         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   7746       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7747       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7748       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}'
   7749       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}'
   7750     else
   7751       case $cc_basename in
   7752         xlc*)
   7753          output_verbose_link_cmd='echo'
   7754          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   7755          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   7756           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   7757          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}'
   7758           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}'
   7759           ;;
   7760        *)
   7761          ld_shlibs=no
   7762           ;;
   7763       esac
   7764     fi
   7765       ;;
   7766 
   7767     dgux*)
   7768       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7769       hardcode_libdir_flag_spec='-L$libdir'
   7770       hardcode_shlibpath_var=no
   7771       ;;
   7772 
   7773     freebsd1*)
   7774       ld_shlibs=no
   7775       ;;
   7776 
   7777     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   7778     # support.  Future versions do this automatically, but an explicit c++rt0.o
   7779     # does not break anything, and helps significantly (at the cost of a little
   7780     # extra space).
   7781     freebsd2.2*)
   7782       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   7783       hardcode_libdir_flag_spec='-R$libdir'
   7784       hardcode_direct=yes
   7785       hardcode_shlibpath_var=no
   7786       ;;
   7787 
   7788     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   7789     freebsd2*)
   7790       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7791       hardcode_direct=yes
   7792       hardcode_minus_L=yes
   7793       hardcode_shlibpath_var=no
   7794       ;;
   7795 
   7796     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   7797     freebsd* | kfreebsd*-gnu | dragonfly*)
   7798       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   7799       hardcode_libdir_flag_spec='-R$libdir'
   7800       hardcode_direct=yes
   7801       hardcode_shlibpath_var=no
   7802       ;;
   7803 
   7804     hpux9*)
   7805       if test "$GCC" = yes; then
   7806 	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'
   7807       else
   7808 	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'
   7809       fi
   7810       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7811       hardcode_libdir_separator=:
   7812       hardcode_direct=yes
   7813 
   7814       # hardcode_minus_L: Not really in the search PATH,
   7815       # but as the default location of the library.
   7816       hardcode_minus_L=yes
   7817       export_dynamic_flag_spec='${wl}-E'
   7818       ;;
   7819 
   7820     hpux10*)
   7821       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7822 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7823       else
   7824 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   7825       fi
   7826       if test "$with_gnu_ld" = no; then
   7827 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7828 	hardcode_libdir_separator=:
   7829 
   7830 	hardcode_direct=yes
   7831 	export_dynamic_flag_spec='${wl}-E'
   7832 
   7833 	# hardcode_minus_L: Not really in the search PATH,
   7834 	# but as the default location of the library.
   7835 	hardcode_minus_L=yes
   7836       fi
   7837       ;;
   7838 
   7839     hpux11*)
   7840       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   7841 	case $host_cpu in
   7842 	hppa*64*)
   7843 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7844 	  ;;
   7845 	ia64*)
   7846 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7847 	  ;;
   7848 	*)
   7849 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7850 	  ;;
   7851 	esac
   7852       else
   7853 	case $host_cpu in
   7854 	hppa*64*)
   7855 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7856 	  ;;
   7857 	ia64*)
   7858 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   7859 	  ;;
   7860 	*)
   7861 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   7862 	  ;;
   7863 	esac
   7864       fi
   7865       if test "$with_gnu_ld" = no; then
   7866 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   7867 	hardcode_libdir_separator=:
   7868 
   7869 	case $host_cpu in
   7870 	hppa*64*|ia64*)
   7871 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   7872 	  hardcode_direct=no
   7873 	  hardcode_shlibpath_var=no
   7874 	  ;;
   7875 	*)
   7876 	  hardcode_direct=yes
   7877 	  export_dynamic_flag_spec='${wl}-E'
   7878 
   7879 	  # hardcode_minus_L: Not really in the search PATH,
   7880 	  # but as the default location of the library.
   7881 	  hardcode_minus_L=yes
   7882 	  ;;
   7883 	esac
   7884       fi
   7885       ;;
   7886 
   7887     irix5* | irix6* | nonstopux*)
   7888       if test "$GCC" = yes; then
   7889 	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'
   7890       else
   7891 	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'
   7892 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   7893       fi
   7894       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7895       hardcode_libdir_separator=:
   7896       link_all_deplibs=yes
   7897       ;;
   7898 
   7899     netbsd*)
   7900       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7901 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   7902       else
   7903 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   7904       fi
   7905       hardcode_libdir_flag_spec='-R$libdir'
   7906       hardcode_direct=yes
   7907       hardcode_shlibpath_var=no
   7908       ;;
   7909 
   7910     newsos6)
   7911       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7912       hardcode_direct=yes
   7913       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7914       hardcode_libdir_separator=:
   7915       hardcode_shlibpath_var=no
   7916       ;;
   7917 
   7918     openbsd*)
   7919       hardcode_direct=yes
   7920       hardcode_shlibpath_var=no
   7921       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7922 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7923 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   7924 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7925 	export_dynamic_flag_spec='${wl}-E'
   7926       else
   7927        case $host_os in
   7928 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   7929 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7930 	   hardcode_libdir_flag_spec='-R$libdir'
   7931 	   ;;
   7932 	 *)
   7933 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   7934 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7935 	   ;;
   7936        esac
   7937       fi
   7938       ;;
   7939 
   7940     os2*)
   7941       hardcode_libdir_flag_spec='-L$libdir'
   7942       hardcode_minus_L=yes
   7943       allow_undefined_flag=unsupported
   7944       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'
   7945       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   7946       ;;
   7947 
   7948     osf3*)
   7949       if test "$GCC" = yes; then
   7950 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7951 	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'
   7952       else
   7953 	allow_undefined_flag=' -expect_unresolved \*'
   7954 	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'
   7955       fi
   7956       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7957       hardcode_libdir_separator=:
   7958       ;;
   7959 
   7960     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   7961       if test "$GCC" = yes; then
   7962 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   7963 	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'
   7964 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7965       else
   7966 	allow_undefined_flag=' -expect_unresolved \*'
   7967 	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'
   7968 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   7969 	$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'
   7970 
   7971 	# Both c and cxx compiler support -rpath directly
   7972 	hardcode_libdir_flag_spec='-rpath $libdir'
   7973       fi
   7974       hardcode_libdir_separator=:
   7975       ;;
   7976 
   7977     solaris*)
   7978       no_undefined_flag=' -z text'
   7979       if test "$GCC" = yes; then
   7980 	wlarc='${wl}'
   7981 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   7982 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7983 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   7984       else
   7985 	wlarc=''
   7986 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   7987 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   7988   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   7989       fi
   7990       hardcode_libdir_flag_spec='-R$libdir'
   7991       hardcode_shlibpath_var=no
   7992       case $host_os in
   7993       solaris2.[0-5] | solaris2.[0-5].*) ;;
   7994       *)
   7995  	# The compiler driver will combine linker options so we
   7996  	# cannot just pass the convience library names through
   7997  	# without $wl, iff we do not link with $LD.
   7998  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   7999  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8000  	case $wlarc in
   8001  	'')
   8002  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8003  	*)
   8004  	  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' ;;
   8005  	esac ;;
   8006       esac
   8007       link_all_deplibs=yes
   8008       ;;
   8009 
   8010     sunos4*)
   8011       if test "x$host_vendor" = xsequent; then
   8012 	# Use $CC to link under sequent, because it throws in some extra .o
   8013 	# files that make .init and .fini sections work.
   8014 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8015       else
   8016 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8017       fi
   8018       hardcode_libdir_flag_spec='-L$libdir'
   8019       hardcode_direct=yes
   8020       hardcode_minus_L=yes
   8021       hardcode_shlibpath_var=no
   8022       ;;
   8023 
   8024     sysv4)
   8025       case $host_vendor in
   8026 	sni)
   8027 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8028 	  hardcode_direct=yes # is this really true???
   8029 	;;
   8030 	siemens)
   8031 	  ## LD is ld it makes a PLAMLIB
   8032 	  ## CC just makes a GrossModule.
   8033 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8034 	  reload_cmds='$CC -r -o $output$reload_objs'
   8035 	  hardcode_direct=no
   8036         ;;
   8037 	motorola)
   8038 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8039 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8040 	;;
   8041       esac
   8042       runpath_var='LD_RUN_PATH'
   8043       hardcode_shlibpath_var=no
   8044       ;;
   8045 
   8046     sysv4.3*)
   8047       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8048       hardcode_shlibpath_var=no
   8049       export_dynamic_flag_spec='-Bexport'
   8050       ;;
   8051 
   8052     sysv4*MP*)
   8053       if test -d /usr/nec; then
   8054 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8055 	hardcode_shlibpath_var=no
   8056 	runpath_var=LD_RUN_PATH
   8057 	hardcode_runpath_var=yes
   8058 	ld_shlibs=yes
   8059       fi
   8060       ;;
   8061 
   8062     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8063       no_undefined_flag='${wl}-z,text'
   8064       archive_cmds_need_lc=no
   8065       hardcode_shlibpath_var=no
   8066       runpath_var='LD_RUN_PATH'
   8067 
   8068       if test "$GCC" = yes; then
   8069 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8070 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8071       else
   8072 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8073 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8074       fi
   8075       ;;
   8076 
   8077     sysv5* | sco3.2v5* | sco5v6*)
   8078       # Note: We can NOT use -z defs as we might desire, because we do not
   8079       # link with -lc, and that would cause any symbols used from libc to
   8080       # always be unresolved, which means just about no library would
   8081       # ever link correctly.  If we're not using GNU ld we use -z text
   8082       # though, which does catch some bad symbols but isn't as heavy-handed
   8083       # as -z defs.
   8084       no_undefined_flag='${wl}-z,text'
   8085       allow_undefined_flag='${wl}-z,nodefs'
   8086       archive_cmds_need_lc=no
   8087       hardcode_shlibpath_var=no
   8088       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8089       hardcode_libdir_separator=':'
   8090       link_all_deplibs=yes
   8091       export_dynamic_flag_spec='${wl}-Bexport'
   8092       runpath_var='LD_RUN_PATH'
   8093 
   8094       if test "$GCC" = yes; then
   8095 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8096 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8097       else
   8098 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8099 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8100       fi
   8101       ;;
   8102 
   8103     uts4*)
   8104       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8105       hardcode_libdir_flag_spec='-L$libdir'
   8106       hardcode_shlibpath_var=no
   8107       ;;
   8108 
   8109     *)
   8110       ld_shlibs=no
   8111       ;;
   8112     esac
   8113   fi
   8114 
   8115 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8116 echo "${ECHO_T}$ld_shlibs" >&6
   8117 test "$ld_shlibs" = no && can_build_shared=no
   8118 
   8119 #
   8120 # Do we need to explicitly link libc?
   8121 #
   8122 case "x$archive_cmds_need_lc" in
   8123 x|xyes)
   8124   # Assume -lc should be added
   8125   archive_cmds_need_lc=yes
   8126 
   8127   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8128     case $archive_cmds in
   8129     *'~'*)
   8130       # FIXME: we may have to deal with multi-command sequences.
   8131       ;;
   8132     '$CC '*)
   8133       # Test whether the compiler implicitly links with -lc since on some
   8134       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8135       # to ld, don't add -lc before -lgcc.
   8136       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8137 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   8138       $rm conftest*
   8139       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8140 
   8141       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8142   (eval $ac_compile) 2>&5
   8143   ac_status=$?
   8144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8145   (exit $ac_status); } 2>conftest.err; then
   8146         soname=conftest
   8147         lib=conftest
   8148         libobjs=conftest.$ac_objext
   8149         deplibs=
   8150         wl=$lt_prog_compiler_wl
   8151 	pic_flag=$lt_prog_compiler_pic
   8152         compiler_flags=-v
   8153         linker_flags=-v
   8154         verstring=
   8155         output_objdir=.
   8156         libname=conftest
   8157         lt_save_allow_undefined_flag=$allow_undefined_flag
   8158         allow_undefined_flag=
   8159         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8160   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8161   ac_status=$?
   8162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8163   (exit $ac_status); }
   8164         then
   8165 	  archive_cmds_need_lc=no
   8166         else
   8167 	  archive_cmds_need_lc=yes
   8168         fi
   8169         allow_undefined_flag=$lt_save_allow_undefined_flag
   8170       else
   8171         cat conftest.err 1>&5
   8172       fi
   8173       $rm conftest*
   8174       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8175 echo "${ECHO_T}$archive_cmds_need_lc" >&6
   8176       ;;
   8177     esac
   8178   fi
   8179   ;;
   8180 esac
   8181 
   8182 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8183 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   8184 library_names_spec=
   8185 libname_spec='lib$name'
   8186 soname_spec=
   8187 shrext_cmds=".so"
   8188 postinstall_cmds=
   8189 postuninstall_cmds=
   8190 finish_cmds=
   8191 finish_eval=
   8192 shlibpath_var=
   8193 shlibpath_overrides_runpath=unknown
   8194 version_type=none
   8195 dynamic_linker="$host_os ld.so"
   8196 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8197 if test "$GCC" = yes; then
   8198   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8199   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8200     # if the path contains ";" then we assume it to be the separator
   8201     # otherwise default to the standard path separator (i.e. ":") - it is
   8202     # assumed that no part of a normal pathname contains ";" but that should
   8203     # okay in the real world where ";" in dirpaths is itself problematic.
   8204     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8205   else
   8206     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8207   fi
   8208 else
   8209   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8210 fi
   8211 need_lib_prefix=unknown
   8212 hardcode_into_libs=no
   8213 
   8214 # when you set need_version to no, make sure it does not cause -set_version
   8215 # flags to be left without arguments
   8216 need_version=unknown
   8217 
   8218 case $host_os in
   8219 aix3*)
   8220   version_type=linux
   8221   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8222   shlibpath_var=LIBPATH
   8223 
   8224   # AIX 3 has no versioning support, so we append a major version to the name.
   8225   soname_spec='${libname}${release}${shared_ext}$major'
   8226   ;;
   8227 
   8228 aix4* | aix5*)
   8229   version_type=linux
   8230   need_lib_prefix=no
   8231   need_version=no
   8232   hardcode_into_libs=yes
   8233   if test "$host_cpu" = ia64; then
   8234     # AIX 5 supports IA64
   8235     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8236     shlibpath_var=LD_LIBRARY_PATH
   8237   else
   8238     # With GCC up to 2.95.x, collect2 would create an import file
   8239     # for dependence libraries.  The import file would start with
   8240     # the line `#! .'.  This would cause the generated library to
   8241     # depend on `.', always an invalid library.  This was fixed in
   8242     # development snapshots of GCC prior to 3.0.
   8243     case $host_os in
   8244       aix4 | aix4.[01] | aix4.[01].*)
   8245       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8246 	   echo ' yes '
   8247 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8248 	:
   8249       else
   8250 	can_build_shared=no
   8251       fi
   8252       ;;
   8253     esac
   8254     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8255     # soname into executable. Probably we can add versioning support to
   8256     # collect2, so additional links can be useful in future.
   8257     if test "$aix_use_runtimelinking" = yes; then
   8258       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8259       # instead of lib<name>.a to let people know that these are not
   8260       # typical AIX shared libraries.
   8261       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8262     else
   8263       # We preserve .a as extension for shared libraries through AIX4.2
   8264       # and later when we are not doing run time linking.
   8265       library_names_spec='${libname}${release}.a $libname.a'
   8266       soname_spec='${libname}${release}${shared_ext}$major'
   8267     fi
   8268     shlibpath_var=LIBPATH
   8269   fi
   8270   ;;
   8271 
   8272 amigaos*)
   8273   library_names_spec='$libname.ixlibrary $libname.a'
   8274   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8275   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'
   8276   ;;
   8277 
   8278 beos*)
   8279   library_names_spec='${libname}${shared_ext}'
   8280   dynamic_linker="$host_os ld.so"
   8281   shlibpath_var=LIBRARY_PATH
   8282   ;;
   8283 
   8284 bsdi[45]*)
   8285   version_type=linux
   8286   need_version=no
   8287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8288   soname_spec='${libname}${release}${shared_ext}$major'
   8289   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8290   shlibpath_var=LD_LIBRARY_PATH
   8291   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8292   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8293   # the default ld.so.conf also contains /usr/contrib/lib and
   8294   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8295   # libtool to hard-code these into programs
   8296   ;;
   8297 
   8298 cygwin* | mingw* | pw32*)
   8299   version_type=windows
   8300   shrext_cmds=".dll"
   8301   need_version=no
   8302   need_lib_prefix=no
   8303 
   8304   case $GCC,$host_os in
   8305   yes,cygwin* | yes,mingw* | yes,pw32*)
   8306     library_names_spec='$libname.dll.a'
   8307     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8308     postinstall_cmds='base_file=`basename \${file}`~
   8309       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8310       dldir=$destdir/`dirname \$dlpath`~
   8311       test -d \$dldir || mkdir -p \$dldir~
   8312       $install_prog $dir/$dlname \$dldir/$dlname~
   8313       chmod a+x \$dldir/$dlname'
   8314     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8315       dlpath=$dir/\$dldll~
   8316        $rm \$dlpath'
   8317     shlibpath_overrides_runpath=yes
   8318 
   8319     case $host_os in
   8320     cygwin*)
   8321       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8322       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8323       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8324       ;;
   8325     mingw*)
   8326       # MinGW DLLs use traditional 'lib' prefix
   8327       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8328       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8329       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8330         # It is most probably a Windows format PATH printed by
   8331         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8332         # path with ; separators, and with drive letters. We can handle the
   8333         # drive letters (cygwin fileutils understands them), so leave them,
   8334         # especially as we might pass files found there to a mingw objdump,
   8335         # which wouldn't understand a cygwinified path. Ahh.
   8336         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8337       else
   8338         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8339       fi
   8340       ;;
   8341     pw32*)
   8342       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8343       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8344       ;;
   8345     esac
   8346     ;;
   8347 
   8348   *)
   8349     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8350     ;;
   8351   esac
   8352   dynamic_linker='Win32 ld.exe'
   8353   # FIXME: first we should search . and the directory the executable is in
   8354   shlibpath_var=PATH
   8355   ;;
   8356 
   8357 darwin* | rhapsody*)
   8358   dynamic_linker="$host_os dyld"
   8359   version_type=darwin
   8360   need_lib_prefix=no
   8361   need_version=no
   8362   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8363   soname_spec='${libname}${release}${major}$shared_ext'
   8364   shlibpath_overrides_runpath=yes
   8365   shlibpath_var=DYLD_LIBRARY_PATH
   8366   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8367   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8368   if test "$GCC" = yes; then
   8369     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"`
   8370   else
   8371     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8372   fi
   8373   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8374   ;;
   8375 
   8376 dgux*)
   8377   version_type=linux
   8378   need_lib_prefix=no
   8379   need_version=no
   8380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8381   soname_spec='${libname}${release}${shared_ext}$major'
   8382   shlibpath_var=LD_LIBRARY_PATH
   8383   ;;
   8384 
   8385 freebsd1*)
   8386   dynamic_linker=no
   8387   ;;
   8388 
   8389 kfreebsd*-gnu)
   8390   version_type=linux
   8391   need_lib_prefix=no
   8392   need_version=no
   8393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8394   soname_spec='${libname}${release}${shared_ext}$major'
   8395   shlibpath_var=LD_LIBRARY_PATH
   8396   shlibpath_overrides_runpath=no
   8397   hardcode_into_libs=yes
   8398   dynamic_linker='GNU ld.so'
   8399   ;;
   8400 
   8401 freebsd* | dragonfly*)
   8402   # DragonFly does not have aout.  When/if they implement a new
   8403   # versioning mechanism, adjust this.
   8404   if test -x /usr/bin/objformat; then
   8405     objformat=`/usr/bin/objformat`
   8406   else
   8407     case $host_os in
   8408     freebsd[123]*) objformat=aout ;;
   8409     *) objformat=elf ;;
   8410     esac
   8411   fi
   8412   version_type=freebsd-$objformat
   8413   case $version_type in
   8414     freebsd-elf*)
   8415       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8416       need_version=no
   8417       need_lib_prefix=no
   8418       ;;
   8419     freebsd-*)
   8420       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8421       need_version=yes
   8422       ;;
   8423   esac
   8424   shlibpath_var=LD_LIBRARY_PATH
   8425   case $host_os in
   8426   freebsd2*)
   8427     shlibpath_overrides_runpath=yes
   8428     ;;
   8429   freebsd3.[01]* | freebsdelf3.[01]*)
   8430     shlibpath_overrides_runpath=yes
   8431     hardcode_into_libs=yes
   8432     ;;
   8433   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8434   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8435     shlibpath_overrides_runpath=no
   8436     hardcode_into_libs=yes
   8437     ;;
   8438   freebsd*) # from 4.6 on
   8439     shlibpath_overrides_runpath=yes
   8440     hardcode_into_libs=yes
   8441     ;;
   8442   esac
   8443   ;;
   8444 
   8445 gnu*)
   8446   version_type=linux
   8447   need_lib_prefix=no
   8448   need_version=no
   8449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8450   soname_spec='${libname}${release}${shared_ext}$major'
   8451   shlibpath_var=LD_LIBRARY_PATH
   8452   hardcode_into_libs=yes
   8453   ;;
   8454 
   8455 hpux9* | hpux10* | hpux11*)
   8456   # Give a soname corresponding to the major version so that dld.sl refuses to
   8457   # link against other versions.
   8458   version_type=sunos
   8459   need_lib_prefix=no
   8460   need_version=no
   8461   case $host_cpu in
   8462   ia64*)
   8463     shrext_cmds='.so'
   8464     hardcode_into_libs=yes
   8465     dynamic_linker="$host_os dld.so"
   8466     shlibpath_var=LD_LIBRARY_PATH
   8467     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8468     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8469     soname_spec='${libname}${release}${shared_ext}$major'
   8470     if test "X$HPUX_IA64_MODE" = X32; then
   8471       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8472     else
   8473       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8474     fi
   8475     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8476     ;;
   8477    hppa*64*)
   8478      shrext_cmds='.sl'
   8479      hardcode_into_libs=yes
   8480      dynamic_linker="$host_os dld.sl"
   8481      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8482      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8483      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8484      soname_spec='${libname}${release}${shared_ext}$major'
   8485      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8486      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8487      ;;
   8488    *)
   8489     shrext_cmds='.sl'
   8490     dynamic_linker="$host_os dld.sl"
   8491     shlibpath_var=SHLIB_PATH
   8492     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8494     soname_spec='${libname}${release}${shared_ext}$major'
   8495     ;;
   8496   esac
   8497   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8498   postinstall_cmds='chmod 555 $lib'
   8499   ;;
   8500 
   8501 interix3*)
   8502   version_type=linux
   8503   need_lib_prefix=no
   8504   need_version=no
   8505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8506   soname_spec='${libname}${release}${shared_ext}$major'
   8507   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8508   shlibpath_var=LD_LIBRARY_PATH
   8509   shlibpath_overrides_runpath=no
   8510   hardcode_into_libs=yes
   8511   ;;
   8512 
   8513 irix5* | irix6* | nonstopux*)
   8514   case $host_os in
   8515     nonstopux*) version_type=nonstopux ;;
   8516     *)
   8517 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8518 		version_type=linux
   8519 	else
   8520 		version_type=irix
   8521 	fi ;;
   8522   esac
   8523   need_lib_prefix=no
   8524   need_version=no
   8525   soname_spec='${libname}${release}${shared_ext}$major'
   8526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8527   case $host_os in
   8528   irix5* | nonstopux*)
   8529     libsuff= shlibsuff=
   8530     ;;
   8531   *)
   8532     case $LD in # libtool.m4 will add one of these switches to LD
   8533     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8534       libsuff= shlibsuff= libmagic=32-bit;;
   8535     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8536       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8537     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8538       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8539     *) libsuff= shlibsuff= libmagic=never-match;;
   8540     esac
   8541     ;;
   8542   esac
   8543   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8544   shlibpath_overrides_runpath=no
   8545   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8546   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8547   hardcode_into_libs=yes
   8548   ;;
   8549 
   8550 # No shared lib support for Linux oldld, aout, or coff.
   8551 linux*oldld* | linux*aout* | linux*coff*)
   8552   dynamic_linker=no
   8553   ;;
   8554 
   8555 # This must be Linux ELF.
   8556 linux*)
   8557   version_type=linux
   8558   need_lib_prefix=no
   8559   need_version=no
   8560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8561   soname_spec='${libname}${release}${shared_ext}$major'
   8562   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8563   shlibpath_var=LD_LIBRARY_PATH
   8564   shlibpath_overrides_runpath=no
   8565   # This implies no fast_install, which is unacceptable.
   8566   # Some rework will be needed to allow for fast_install
   8567   # before this can be enabled.
   8568   hardcode_into_libs=yes
   8569 
   8570   # Append ld.so.conf contents to the search path
   8571   if test -f /etc/ld.so.conf; then
   8572     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' ' '`
   8573     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8574   fi
   8575 
   8576   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8577   # powerpc, because MkLinux only supported shared libraries with the
   8578   # GNU dynamic linker.  Since this was broken with cross compilers,
   8579   # most powerpc-linux boxes support dynamic linking these days and
   8580   # people can always --disable-shared, the test was removed, and we
   8581   # assume the GNU/Linux dynamic linker is in use.
   8582   dynamic_linker='GNU/Linux ld.so'
   8583   ;;
   8584 
   8585 knetbsd*-gnu)
   8586   version_type=linux
   8587   need_lib_prefix=no
   8588   need_version=no
   8589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8590   soname_spec='${libname}${release}${shared_ext}$major'
   8591   shlibpath_var=LD_LIBRARY_PATH
   8592   shlibpath_overrides_runpath=no
   8593   hardcode_into_libs=yes
   8594   dynamic_linker='GNU ld.so'
   8595   ;;
   8596 
   8597 netbsd*)
   8598   version_type=sunos
   8599   need_lib_prefix=no
   8600   need_version=no
   8601   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8603     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8604     dynamic_linker='NetBSD (a.out) ld.so'
   8605   else
   8606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8607     soname_spec='${libname}${release}${shared_ext}$major'
   8608     dynamic_linker='NetBSD ld.elf_so'
   8609   fi
   8610   shlibpath_var=LD_LIBRARY_PATH
   8611   shlibpath_overrides_runpath=yes
   8612   hardcode_into_libs=yes
   8613   ;;
   8614 
   8615 newsos6)
   8616   version_type=linux
   8617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8618   shlibpath_var=LD_LIBRARY_PATH
   8619   shlibpath_overrides_runpath=yes
   8620   ;;
   8621 
   8622 nto-qnx*)
   8623   version_type=linux
   8624   need_lib_prefix=no
   8625   need_version=no
   8626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8627   soname_spec='${libname}${release}${shared_ext}$major'
   8628   shlibpath_var=LD_LIBRARY_PATH
   8629   shlibpath_overrides_runpath=yes
   8630   ;;
   8631 
   8632 openbsd*)
   8633   version_type=sunos
   8634   sys_lib_dlsearch_path_spec="/usr/lib"
   8635   need_lib_prefix=no
   8636   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8637   case $host_os in
   8638     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8639     *)                         need_version=no  ;;
   8640   esac
   8641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8642   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8643   shlibpath_var=LD_LIBRARY_PATH
   8644   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8645     case $host_os in
   8646       openbsd2.[89] | openbsd2.[89].*)
   8647 	shlibpath_overrides_runpath=no
   8648 	;;
   8649       *)
   8650 	shlibpath_overrides_runpath=yes
   8651 	;;
   8652       esac
   8653   else
   8654     shlibpath_overrides_runpath=yes
   8655   fi
   8656   ;;
   8657 
   8658 os2*)
   8659   libname_spec='$name'
   8660   shrext_cmds=".dll"
   8661   need_lib_prefix=no
   8662   library_names_spec='$libname${shared_ext} $libname.a'
   8663   dynamic_linker='OS/2 ld.exe'
   8664   shlibpath_var=LIBPATH
   8665   ;;
   8666 
   8667 osf3* | osf4* | osf5*)
   8668   version_type=osf
   8669   need_lib_prefix=no
   8670   need_version=no
   8671   soname_spec='${libname}${release}${shared_ext}$major'
   8672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8673   shlibpath_var=LD_LIBRARY_PATH
   8674   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   8675   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   8676   ;;
   8677 
   8678 solaris*)
   8679   version_type=linux
   8680   need_lib_prefix=no
   8681   need_version=no
   8682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8683   soname_spec='${libname}${release}${shared_ext}$major'
   8684   shlibpath_var=LD_LIBRARY_PATH
   8685   shlibpath_overrides_runpath=yes
   8686   hardcode_into_libs=yes
   8687   # ldd complains unless libraries are executable
   8688   postinstall_cmds='chmod +x $lib'
   8689   ;;
   8690 
   8691 sunos4*)
   8692   version_type=sunos
   8693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8694   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   8695   shlibpath_var=LD_LIBRARY_PATH
   8696   shlibpath_overrides_runpath=yes
   8697   if test "$with_gnu_ld" = yes; then
   8698     need_lib_prefix=no
   8699   fi
   8700   need_version=yes
   8701   ;;
   8702 
   8703 sysv4 | sysv4.3*)
   8704   version_type=linux
   8705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8706   soname_spec='${libname}${release}${shared_ext}$major'
   8707   shlibpath_var=LD_LIBRARY_PATH
   8708   case $host_vendor in
   8709     sni)
   8710       shlibpath_overrides_runpath=no
   8711       need_lib_prefix=no
   8712       export_dynamic_flag_spec='${wl}-Blargedynsym'
   8713       runpath_var=LD_RUN_PATH
   8714       ;;
   8715     siemens)
   8716       need_lib_prefix=no
   8717       ;;
   8718     motorola)
   8719       need_lib_prefix=no
   8720       need_version=no
   8721       shlibpath_overrides_runpath=no
   8722       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   8723       ;;
   8724   esac
   8725   ;;
   8726 
   8727 sysv4*MP*)
   8728   if test -d /usr/nec ;then
   8729     version_type=linux
   8730     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   8731     soname_spec='$libname${shared_ext}.$major'
   8732     shlibpath_var=LD_LIBRARY_PATH
   8733   fi
   8734   ;;
   8735 
   8736 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   8737   version_type=freebsd-elf
   8738   need_lib_prefix=no
   8739   need_version=no
   8740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8741   soname_spec='${libname}${release}${shared_ext}$major'
   8742   shlibpath_var=LD_LIBRARY_PATH
   8743   hardcode_into_libs=yes
   8744   if test "$with_gnu_ld" = yes; then
   8745     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   8746     shlibpath_overrides_runpath=no
   8747   else
   8748     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   8749     shlibpath_overrides_runpath=yes
   8750     case $host_os in
   8751       sco3.2v5*)
   8752         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   8753 	;;
   8754     esac
   8755   fi
   8756   sys_lib_dlsearch_path_spec='/usr/lib'
   8757   ;;
   8758 
   8759 uts4*)
   8760   version_type=linux
   8761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8762   soname_spec='${libname}${release}${shared_ext}$major'
   8763   shlibpath_var=LD_LIBRARY_PATH
   8764   ;;
   8765 
   8766 *)
   8767   dynamic_linker=no
   8768   ;;
   8769 esac
   8770 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   8771 echo "${ECHO_T}$dynamic_linker" >&6
   8772 test "$dynamic_linker" = no && can_build_shared=no
   8773 
   8774 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   8775 if test "$GCC" = yes; then
   8776   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   8777 fi
   8778 
   8779 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   8780 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   8781 hardcode_action=
   8782 if test -n "$hardcode_libdir_flag_spec" || \
   8783    test -n "$runpath_var" || \
   8784    test "X$hardcode_automatic" = "Xyes" ; then
   8785 
   8786   # We can hardcode non-existant directories.
   8787   if test "$hardcode_direct" != no &&
   8788      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   8789      # have to relink, otherwise we might link with an installed library
   8790      # when we should be linking with a yet-to-be-installed one
   8791      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   8792      test "$hardcode_minus_L" != no; then
   8793     # Linking always hardcodes the temporary library directory.
   8794     hardcode_action=relink
   8795   else
   8796     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   8797     hardcode_action=immediate
   8798   fi
   8799 else
   8800   # We cannot hardcode anything, or else we can only hardcode existing
   8801   # directories.
   8802   hardcode_action=unsupported
   8803 fi
   8804 echo "$as_me:$LINENO: result: $hardcode_action" >&5
   8805 echo "${ECHO_T}$hardcode_action" >&6
   8806 
   8807 if test "$hardcode_action" = relink; then
   8808   # Fast installation is not supported
   8809   enable_fast_install=no
   8810 elif test "$shlibpath_overrides_runpath" = yes ||
   8811      test "$enable_shared" = no; then
   8812   # Fast installation is not necessary
   8813   enable_fast_install=needless
   8814 fi
   8815 
   8816 striplib=
   8817 old_striplib=
   8818 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   8819 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   8820 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   8821   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   8822   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   8823   echo "$as_me:$LINENO: result: yes" >&5
   8824 echo "${ECHO_T}yes" >&6
   8825 else
   8826 # FIXME - insert some real tests, host_os isn't really good enough
   8827   case $host_os in
   8828    darwin*)
   8829        if test -n "$STRIP" ; then
   8830          striplib="$STRIP -x"
   8831          echo "$as_me:$LINENO: result: yes" >&5
   8832 echo "${ECHO_T}yes" >&6
   8833        else
   8834   echo "$as_me:$LINENO: result: no" >&5
   8835 echo "${ECHO_T}no" >&6
   8836 fi
   8837        ;;
   8838    *)
   8839   echo "$as_me:$LINENO: result: no" >&5
   8840 echo "${ECHO_T}no" >&6
   8841     ;;
   8842   esac
   8843 fi
   8844 
   8845 if test "x$enable_dlopen" != xyes; then
   8846   enable_dlopen=unknown
   8847   enable_dlopen_self=unknown
   8848   enable_dlopen_self_static=unknown
   8849 else
   8850   lt_cv_dlopen=no
   8851   lt_cv_dlopen_libs=
   8852 
   8853   case $host_os in
   8854   beos*)
   8855     lt_cv_dlopen="load_add_on"
   8856     lt_cv_dlopen_libs=
   8857     lt_cv_dlopen_self=yes
   8858     ;;
   8859 
   8860   mingw* | pw32*)
   8861     lt_cv_dlopen="LoadLibrary"
   8862     lt_cv_dlopen_libs=
   8863    ;;
   8864 
   8865   cygwin*)
   8866     lt_cv_dlopen="dlopen"
   8867     lt_cv_dlopen_libs=
   8868    ;;
   8869 
   8870   darwin*)
   8871   # if libdl is installed we need to link against it
   8872     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   8873 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   8874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   8875   echo $ECHO_N "(cached) $ECHO_C" >&6
   8876 else
   8877   ac_check_lib_save_LIBS=$LIBS
   8878 LIBS="-ldl  $LIBS"
   8879 cat >conftest.$ac_ext <<_ACEOF
   8880 /* confdefs.h.  */
   8881 _ACEOF
   8882 cat confdefs.h >>conftest.$ac_ext
   8883 cat >>conftest.$ac_ext <<_ACEOF
   8884 /* end confdefs.h.  */
   8885 
   8886 /* Override any gcc2 internal prototype to avoid an error.  */
   8887 #ifdef __cplusplus
   8888 extern "C"
   8889 #endif
   8890 /* We use char because int might match the return type of a gcc2
   8891    builtin and then its argument prototype would still apply.  */
   8892 char dlopen ();
   8893 int
   8894 main ()
   8895 {
   8896 dlopen ();
   8897   ;
   8898   return 0;
   8899 }
   8900 _ACEOF
   8901 rm -f conftest.$ac_objext conftest$ac_exeext
   8902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8903   (eval $ac_link) 2>conftest.er1
   8904   ac_status=$?
   8905   grep -v '^ *+' conftest.er1 >conftest.err
   8906   rm -f conftest.er1
   8907   cat conftest.err >&5
   8908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8909   (exit $ac_status); } &&
   8910 	 { ac_try='test -z "$ac_c_werror_flag"
   8911 			 || test ! -s conftest.err'
   8912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8913   (eval $ac_try) 2>&5
   8914   ac_status=$?
   8915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8916   (exit $ac_status); }; } &&
   8917 	 { ac_try='test -s conftest$ac_exeext'
   8918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8919   (eval $ac_try) 2>&5
   8920   ac_status=$?
   8921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8922   (exit $ac_status); }; }; then
   8923   ac_cv_lib_dl_dlopen=yes
   8924 else
   8925   echo "$as_me: failed program was:" >&5
   8926 sed 's/^/| /' conftest.$ac_ext >&5
   8927 
   8928 ac_cv_lib_dl_dlopen=no
   8929 fi
   8930 rm -f conftest.err conftest.$ac_objext \
   8931       conftest$ac_exeext conftest.$ac_ext
   8932 LIBS=$ac_check_lib_save_LIBS
   8933 fi
   8934 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   8935 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   8936 if test $ac_cv_lib_dl_dlopen = yes; then
   8937   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   8938 else
   8939 
   8940     lt_cv_dlopen="dyld"
   8941     lt_cv_dlopen_libs=
   8942     lt_cv_dlopen_self=yes
   8943 
   8944 fi
   8945 
   8946    ;;
   8947 
   8948   *)
   8949     echo "$as_me:$LINENO: checking for shl_load" >&5
   8950 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   8951 if test "${ac_cv_func_shl_load+set}" = set; then
   8952   echo $ECHO_N "(cached) $ECHO_C" >&6
   8953 else
   8954   cat >conftest.$ac_ext <<_ACEOF
   8955 /* confdefs.h.  */
   8956 _ACEOF
   8957 cat confdefs.h >>conftest.$ac_ext
   8958 cat >>conftest.$ac_ext <<_ACEOF
   8959 /* end confdefs.h.  */
   8960 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   8961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8962 #define shl_load innocuous_shl_load
   8963 
   8964 /* System header to define __stub macros and hopefully few prototypes,
   8965     which can conflict with char shl_load (); below.
   8966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8967     <limits.h> exists even on freestanding compilers.  */
   8968 
   8969 #ifdef __STDC__
   8970 # include <limits.h>
   8971 #else
   8972 # include <assert.h>
   8973 #endif
   8974 
   8975 #undef shl_load
   8976 
   8977 /* Override any gcc2 internal prototype to avoid an error.  */
   8978 #ifdef __cplusplus
   8979 extern "C"
   8980 {
   8981 #endif
   8982 /* We use char because int might match the return type of a gcc2
   8983    builtin and then its argument prototype would still apply.  */
   8984 char shl_load ();
   8985 /* The GNU C library defines this for functions which it implements
   8986     to always fail with ENOSYS.  Some functions are actually named
   8987     something starting with __ and the normal name is an alias.  */
   8988 #if defined (__stub_shl_load) || defined (__stub___shl_load)
   8989 choke me
   8990 #else
   8991 char (*f) () = shl_load;
   8992 #endif
   8993 #ifdef __cplusplus
   8994 }
   8995 #endif
   8996 
   8997 int
   8998 main ()
   8999 {
   9000 return f != shl_load;
   9001   ;
   9002   return 0;
   9003 }
   9004 _ACEOF
   9005 rm -f conftest.$ac_objext conftest$ac_exeext
   9006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9007   (eval $ac_link) 2>conftest.er1
   9008   ac_status=$?
   9009   grep -v '^ *+' conftest.er1 >conftest.err
   9010   rm -f conftest.er1
   9011   cat conftest.err >&5
   9012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9013   (exit $ac_status); } &&
   9014 	 { ac_try='test -z "$ac_c_werror_flag"
   9015 			 || test ! -s conftest.err'
   9016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9017   (eval $ac_try) 2>&5
   9018   ac_status=$?
   9019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9020   (exit $ac_status); }; } &&
   9021 	 { ac_try='test -s conftest$ac_exeext'
   9022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9023   (eval $ac_try) 2>&5
   9024   ac_status=$?
   9025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9026   (exit $ac_status); }; }; then
   9027   ac_cv_func_shl_load=yes
   9028 else
   9029   echo "$as_me: failed program was:" >&5
   9030 sed 's/^/| /' conftest.$ac_ext >&5
   9031 
   9032 ac_cv_func_shl_load=no
   9033 fi
   9034 rm -f conftest.err conftest.$ac_objext \
   9035       conftest$ac_exeext conftest.$ac_ext
   9036 fi
   9037 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9038 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   9039 if test $ac_cv_func_shl_load = yes; then
   9040   lt_cv_dlopen="shl_load"
   9041 else
   9042   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9043 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   9044 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9045   echo $ECHO_N "(cached) $ECHO_C" >&6
   9046 else
   9047   ac_check_lib_save_LIBS=$LIBS
   9048 LIBS="-ldld  $LIBS"
   9049 cat >conftest.$ac_ext <<_ACEOF
   9050 /* confdefs.h.  */
   9051 _ACEOF
   9052 cat confdefs.h >>conftest.$ac_ext
   9053 cat >>conftest.$ac_ext <<_ACEOF
   9054 /* end confdefs.h.  */
   9055 
   9056 /* Override any gcc2 internal prototype to avoid an error.  */
   9057 #ifdef __cplusplus
   9058 extern "C"
   9059 #endif
   9060 /* We use char because int might match the return type of a gcc2
   9061    builtin and then its argument prototype would still apply.  */
   9062 char shl_load ();
   9063 int
   9064 main ()
   9065 {
   9066 shl_load ();
   9067   ;
   9068   return 0;
   9069 }
   9070 _ACEOF
   9071 rm -f conftest.$ac_objext conftest$ac_exeext
   9072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9073   (eval $ac_link) 2>conftest.er1
   9074   ac_status=$?
   9075   grep -v '^ *+' conftest.er1 >conftest.err
   9076   rm -f conftest.er1
   9077   cat conftest.err >&5
   9078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9079   (exit $ac_status); } &&
   9080 	 { ac_try='test -z "$ac_c_werror_flag"
   9081 			 || test ! -s conftest.err'
   9082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9083   (eval $ac_try) 2>&5
   9084   ac_status=$?
   9085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9086   (exit $ac_status); }; } &&
   9087 	 { ac_try='test -s conftest$ac_exeext'
   9088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9089   (eval $ac_try) 2>&5
   9090   ac_status=$?
   9091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9092   (exit $ac_status); }; }; then
   9093   ac_cv_lib_dld_shl_load=yes
   9094 else
   9095   echo "$as_me: failed program was:" >&5
   9096 sed 's/^/| /' conftest.$ac_ext >&5
   9097 
   9098 ac_cv_lib_dld_shl_load=no
   9099 fi
   9100 rm -f conftest.err conftest.$ac_objext \
   9101       conftest$ac_exeext conftest.$ac_ext
   9102 LIBS=$ac_check_lib_save_LIBS
   9103 fi
   9104 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9105 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   9106 if test $ac_cv_lib_dld_shl_load = yes; then
   9107   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9108 else
   9109   echo "$as_me:$LINENO: checking for dlopen" >&5
   9110 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   9111 if test "${ac_cv_func_dlopen+set}" = set; then
   9112   echo $ECHO_N "(cached) $ECHO_C" >&6
   9113 else
   9114   cat >conftest.$ac_ext <<_ACEOF
   9115 /* confdefs.h.  */
   9116 _ACEOF
   9117 cat confdefs.h >>conftest.$ac_ext
   9118 cat >>conftest.$ac_ext <<_ACEOF
   9119 /* end confdefs.h.  */
   9120 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9122 #define dlopen innocuous_dlopen
   9123 
   9124 /* System header to define __stub macros and hopefully few prototypes,
   9125     which can conflict with char dlopen (); below.
   9126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9127     <limits.h> exists even on freestanding compilers.  */
   9128 
   9129 #ifdef __STDC__
   9130 # include <limits.h>
   9131 #else
   9132 # include <assert.h>
   9133 #endif
   9134 
   9135 #undef dlopen
   9136 
   9137 /* Override any gcc2 internal prototype to avoid an error.  */
   9138 #ifdef __cplusplus
   9139 extern "C"
   9140 {
   9141 #endif
   9142 /* We use char because int might match the return type of a gcc2
   9143    builtin and then its argument prototype would still apply.  */
   9144 char dlopen ();
   9145 /* The GNU C library defines this for functions which it implements
   9146     to always fail with ENOSYS.  Some functions are actually named
   9147     something starting with __ and the normal name is an alias.  */
   9148 #if defined (__stub_dlopen) || defined (__stub___dlopen)
   9149 choke me
   9150 #else
   9151 char (*f) () = dlopen;
   9152 #endif
   9153 #ifdef __cplusplus
   9154 }
   9155 #endif
   9156 
   9157 int
   9158 main ()
   9159 {
   9160 return f != dlopen;
   9161   ;
   9162   return 0;
   9163 }
   9164 _ACEOF
   9165 rm -f conftest.$ac_objext conftest$ac_exeext
   9166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9167   (eval $ac_link) 2>conftest.er1
   9168   ac_status=$?
   9169   grep -v '^ *+' conftest.er1 >conftest.err
   9170   rm -f conftest.er1
   9171   cat conftest.err >&5
   9172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9173   (exit $ac_status); } &&
   9174 	 { ac_try='test -z "$ac_c_werror_flag"
   9175 			 || test ! -s conftest.err'
   9176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9177   (eval $ac_try) 2>&5
   9178   ac_status=$?
   9179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9180   (exit $ac_status); }; } &&
   9181 	 { ac_try='test -s conftest$ac_exeext'
   9182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9183   (eval $ac_try) 2>&5
   9184   ac_status=$?
   9185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9186   (exit $ac_status); }; }; then
   9187   ac_cv_func_dlopen=yes
   9188 else
   9189   echo "$as_me: failed program was:" >&5
   9190 sed 's/^/| /' conftest.$ac_ext >&5
   9191 
   9192 ac_cv_func_dlopen=no
   9193 fi
   9194 rm -f conftest.err conftest.$ac_objext \
   9195       conftest$ac_exeext conftest.$ac_ext
   9196 fi
   9197 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9198 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   9199 if test $ac_cv_func_dlopen = yes; then
   9200   lt_cv_dlopen="dlopen"
   9201 else
   9202   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9203 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   9204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9205   echo $ECHO_N "(cached) $ECHO_C" >&6
   9206 else
   9207   ac_check_lib_save_LIBS=$LIBS
   9208 LIBS="-ldl  $LIBS"
   9209 cat >conftest.$ac_ext <<_ACEOF
   9210 /* confdefs.h.  */
   9211 _ACEOF
   9212 cat confdefs.h >>conftest.$ac_ext
   9213 cat >>conftest.$ac_ext <<_ACEOF
   9214 /* end confdefs.h.  */
   9215 
   9216 /* Override any gcc2 internal prototype to avoid an error.  */
   9217 #ifdef __cplusplus
   9218 extern "C"
   9219 #endif
   9220 /* We use char because int might match the return type of a gcc2
   9221    builtin and then its argument prototype would still apply.  */
   9222 char dlopen ();
   9223 int
   9224 main ()
   9225 {
   9226 dlopen ();
   9227   ;
   9228   return 0;
   9229 }
   9230 _ACEOF
   9231 rm -f conftest.$ac_objext conftest$ac_exeext
   9232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9233   (eval $ac_link) 2>conftest.er1
   9234   ac_status=$?
   9235   grep -v '^ *+' conftest.er1 >conftest.err
   9236   rm -f conftest.er1
   9237   cat conftest.err >&5
   9238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9239   (exit $ac_status); } &&
   9240 	 { ac_try='test -z "$ac_c_werror_flag"
   9241 			 || test ! -s conftest.err'
   9242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9243   (eval $ac_try) 2>&5
   9244   ac_status=$?
   9245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9246   (exit $ac_status); }; } &&
   9247 	 { ac_try='test -s conftest$ac_exeext'
   9248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9249   (eval $ac_try) 2>&5
   9250   ac_status=$?
   9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9252   (exit $ac_status); }; }; then
   9253   ac_cv_lib_dl_dlopen=yes
   9254 else
   9255   echo "$as_me: failed program was:" >&5
   9256 sed 's/^/| /' conftest.$ac_ext >&5
   9257 
   9258 ac_cv_lib_dl_dlopen=no
   9259 fi
   9260 rm -f conftest.err conftest.$ac_objext \
   9261       conftest$ac_exeext conftest.$ac_ext
   9262 LIBS=$ac_check_lib_save_LIBS
   9263 fi
   9264 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9265 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   9266 if test $ac_cv_lib_dl_dlopen = yes; then
   9267   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9268 else
   9269   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9270 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   9271 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9272   echo $ECHO_N "(cached) $ECHO_C" >&6
   9273 else
   9274   ac_check_lib_save_LIBS=$LIBS
   9275 LIBS="-lsvld  $LIBS"
   9276 cat >conftest.$ac_ext <<_ACEOF
   9277 /* confdefs.h.  */
   9278 _ACEOF
   9279 cat confdefs.h >>conftest.$ac_ext
   9280 cat >>conftest.$ac_ext <<_ACEOF
   9281 /* end confdefs.h.  */
   9282 
   9283 /* Override any gcc2 internal prototype to avoid an error.  */
   9284 #ifdef __cplusplus
   9285 extern "C"
   9286 #endif
   9287 /* We use char because int might match the return type of a gcc2
   9288    builtin and then its argument prototype would still apply.  */
   9289 char dlopen ();
   9290 int
   9291 main ()
   9292 {
   9293 dlopen ();
   9294   ;
   9295   return 0;
   9296 }
   9297 _ACEOF
   9298 rm -f conftest.$ac_objext conftest$ac_exeext
   9299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9300   (eval $ac_link) 2>conftest.er1
   9301   ac_status=$?
   9302   grep -v '^ *+' conftest.er1 >conftest.err
   9303   rm -f conftest.er1
   9304   cat conftest.err >&5
   9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9306   (exit $ac_status); } &&
   9307 	 { ac_try='test -z "$ac_c_werror_flag"
   9308 			 || test ! -s conftest.err'
   9309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9310   (eval $ac_try) 2>&5
   9311   ac_status=$?
   9312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9313   (exit $ac_status); }; } &&
   9314 	 { ac_try='test -s conftest$ac_exeext'
   9315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9316   (eval $ac_try) 2>&5
   9317   ac_status=$?
   9318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9319   (exit $ac_status); }; }; then
   9320   ac_cv_lib_svld_dlopen=yes
   9321 else
   9322   echo "$as_me: failed program was:" >&5
   9323 sed 's/^/| /' conftest.$ac_ext >&5
   9324 
   9325 ac_cv_lib_svld_dlopen=no
   9326 fi
   9327 rm -f conftest.err conftest.$ac_objext \
   9328       conftest$ac_exeext conftest.$ac_ext
   9329 LIBS=$ac_check_lib_save_LIBS
   9330 fi
   9331 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9332 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   9333 if test $ac_cv_lib_svld_dlopen = yes; then
   9334   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9335 else
   9336   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9337 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   9338 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9339   echo $ECHO_N "(cached) $ECHO_C" >&6
   9340 else
   9341   ac_check_lib_save_LIBS=$LIBS
   9342 LIBS="-ldld  $LIBS"
   9343 cat >conftest.$ac_ext <<_ACEOF
   9344 /* confdefs.h.  */
   9345 _ACEOF
   9346 cat confdefs.h >>conftest.$ac_ext
   9347 cat >>conftest.$ac_ext <<_ACEOF
   9348 /* end confdefs.h.  */
   9349 
   9350 /* Override any gcc2 internal prototype to avoid an error.  */
   9351 #ifdef __cplusplus
   9352 extern "C"
   9353 #endif
   9354 /* We use char because int might match the return type of a gcc2
   9355    builtin and then its argument prototype would still apply.  */
   9356 char dld_link ();
   9357 int
   9358 main ()
   9359 {
   9360 dld_link ();
   9361   ;
   9362   return 0;
   9363 }
   9364 _ACEOF
   9365 rm -f conftest.$ac_objext conftest$ac_exeext
   9366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9367   (eval $ac_link) 2>conftest.er1
   9368   ac_status=$?
   9369   grep -v '^ *+' conftest.er1 >conftest.err
   9370   rm -f conftest.er1
   9371   cat conftest.err >&5
   9372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9373   (exit $ac_status); } &&
   9374 	 { ac_try='test -z "$ac_c_werror_flag"
   9375 			 || test ! -s conftest.err'
   9376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9377   (eval $ac_try) 2>&5
   9378   ac_status=$?
   9379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9380   (exit $ac_status); }; } &&
   9381 	 { ac_try='test -s conftest$ac_exeext'
   9382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9383   (eval $ac_try) 2>&5
   9384   ac_status=$?
   9385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9386   (exit $ac_status); }; }; then
   9387   ac_cv_lib_dld_dld_link=yes
   9388 else
   9389   echo "$as_me: failed program was:" >&5
   9390 sed 's/^/| /' conftest.$ac_ext >&5
   9391 
   9392 ac_cv_lib_dld_dld_link=no
   9393 fi
   9394 rm -f conftest.err conftest.$ac_objext \
   9395       conftest$ac_exeext conftest.$ac_ext
   9396 LIBS=$ac_check_lib_save_LIBS
   9397 fi
   9398 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9399 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   9400 if test $ac_cv_lib_dld_dld_link = yes; then
   9401   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9402 fi
   9403 
   9404 
   9405 fi
   9406 
   9407 
   9408 fi
   9409 
   9410 
   9411 fi
   9412 
   9413 
   9414 fi
   9415 
   9416 
   9417 fi
   9418 
   9419     ;;
   9420   esac
   9421 
   9422   if test "x$lt_cv_dlopen" != xno; then
   9423     enable_dlopen=yes
   9424   else
   9425     enable_dlopen=no
   9426   fi
   9427 
   9428   case $lt_cv_dlopen in
   9429   dlopen)
   9430     save_CPPFLAGS="$CPPFLAGS"
   9431     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9432 
   9433     save_LDFLAGS="$LDFLAGS"
   9434     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9435 
   9436     save_LIBS="$LIBS"
   9437     LIBS="$lt_cv_dlopen_libs $LIBS"
   9438 
   9439     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9440 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   9441 if test "${lt_cv_dlopen_self+set}" = set; then
   9442   echo $ECHO_N "(cached) $ECHO_C" >&6
   9443 else
   9444   	  if test "$cross_compiling" = yes; then :
   9445   lt_cv_dlopen_self=cross
   9446 else
   9447   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9448   lt_status=$lt_dlunknown
   9449   cat > conftest.$ac_ext <<EOF
   9450 #line 9450 "configure"
   9451 #include "confdefs.h"
   9452 
   9453 #if HAVE_DLFCN_H
   9454 #include <dlfcn.h>
   9455 #endif
   9456 
   9457 #include <stdio.h>
   9458 
   9459 #ifdef RTLD_GLOBAL
   9460 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9461 #else
   9462 #  ifdef DL_GLOBAL
   9463 #    define LT_DLGLOBAL		DL_GLOBAL
   9464 #  else
   9465 #    define LT_DLGLOBAL		0
   9466 #  endif
   9467 #endif
   9468 
   9469 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9470    find out it does not work in some platform. */
   9471 #ifndef LT_DLLAZY_OR_NOW
   9472 #  ifdef RTLD_LAZY
   9473 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9474 #  else
   9475 #    ifdef DL_LAZY
   9476 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9477 #    else
   9478 #      ifdef RTLD_NOW
   9479 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9480 #      else
   9481 #        ifdef DL_NOW
   9482 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9483 #        else
   9484 #          define LT_DLLAZY_OR_NOW	0
   9485 #        endif
   9486 #      endif
   9487 #    endif
   9488 #  endif
   9489 #endif
   9490 
   9491 #ifdef __cplusplus
   9492 extern "C" void exit (int);
   9493 #endif
   9494 
   9495 void fnord() { int i=42;}
   9496 int main ()
   9497 {
   9498   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9499   int status = $lt_dlunknown;
   9500 
   9501   if (self)
   9502     {
   9503       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9504       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9505       /* dlclose (self); */
   9506     }
   9507   else
   9508     puts (dlerror ());
   9509 
   9510     exit (status);
   9511 }
   9512 EOF
   9513   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9514   (eval $ac_link) 2>&5
   9515   ac_status=$?
   9516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9517   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9518     (./conftest; exit; ) >&5 2>/dev/null
   9519     lt_status=$?
   9520     case x$lt_status in
   9521       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9522       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9523       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9524     esac
   9525   else :
   9526     # compilation failed
   9527     lt_cv_dlopen_self=no
   9528   fi
   9529 fi
   9530 rm -fr conftest*
   9531 
   9532 
   9533 fi
   9534 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9535 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   9536 
   9537     if test "x$lt_cv_dlopen_self" = xyes; then
   9538       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9539       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9540 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   9541 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9542   echo $ECHO_N "(cached) $ECHO_C" >&6
   9543 else
   9544   	  if test "$cross_compiling" = yes; then :
   9545   lt_cv_dlopen_self_static=cross
   9546 else
   9547   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9548   lt_status=$lt_dlunknown
   9549   cat > conftest.$ac_ext <<EOF
   9550 #line 9550 "configure"
   9551 #include "confdefs.h"
   9552 
   9553 #if HAVE_DLFCN_H
   9554 #include <dlfcn.h>
   9555 #endif
   9556 
   9557 #include <stdio.h>
   9558 
   9559 #ifdef RTLD_GLOBAL
   9560 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9561 #else
   9562 #  ifdef DL_GLOBAL
   9563 #    define LT_DLGLOBAL		DL_GLOBAL
   9564 #  else
   9565 #    define LT_DLGLOBAL		0
   9566 #  endif
   9567 #endif
   9568 
   9569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9570    find out it does not work in some platform. */
   9571 #ifndef LT_DLLAZY_OR_NOW
   9572 #  ifdef RTLD_LAZY
   9573 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9574 #  else
   9575 #    ifdef DL_LAZY
   9576 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9577 #    else
   9578 #      ifdef RTLD_NOW
   9579 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9580 #      else
   9581 #        ifdef DL_NOW
   9582 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9583 #        else
   9584 #          define LT_DLLAZY_OR_NOW	0
   9585 #        endif
   9586 #      endif
   9587 #    endif
   9588 #  endif
   9589 #endif
   9590 
   9591 #ifdef __cplusplus
   9592 extern "C" void exit (int);
   9593 #endif
   9594 
   9595 void fnord() { int i=42;}
   9596 int main ()
   9597 {
   9598   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9599   int status = $lt_dlunknown;
   9600 
   9601   if (self)
   9602     {
   9603       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9604       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9605       /* dlclose (self); */
   9606     }
   9607   else
   9608     puts (dlerror ());
   9609 
   9610     exit (status);
   9611 }
   9612 EOF
   9613   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9614   (eval $ac_link) 2>&5
   9615   ac_status=$?
   9616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9617   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9618     (./conftest; exit; ) >&5 2>/dev/null
   9619     lt_status=$?
   9620     case x$lt_status in
   9621       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9622       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9623       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9624     esac
   9625   else :
   9626     # compilation failed
   9627     lt_cv_dlopen_self_static=no
   9628   fi
   9629 fi
   9630 rm -fr conftest*
   9631 
   9632 
   9633 fi
   9634 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9635 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
   9636     fi
   9637 
   9638     CPPFLAGS="$save_CPPFLAGS"
   9639     LDFLAGS="$save_LDFLAGS"
   9640     LIBS="$save_LIBS"
   9641     ;;
   9642   esac
   9643 
   9644   case $lt_cv_dlopen_self in
   9645   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9646   *) enable_dlopen_self=unknown ;;
   9647   esac
   9648 
   9649   case $lt_cv_dlopen_self_static in
   9650   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9651   *) enable_dlopen_self_static=unknown ;;
   9652   esac
   9653 fi
   9654 
   9655 
   9656 # Report which library types will actually be built
   9657 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9658 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   9659 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9660 echo "${ECHO_T}$can_build_shared" >&6
   9661 
   9662 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9663 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   9664 test "$can_build_shared" = "no" && enable_shared=no
   9665 
   9666 # On AIX, shared libraries and static libraries use the same namespace, and
   9667 # are all built from PIC.
   9668 case $host_os in
   9669 aix3*)
   9670   test "$enable_shared" = yes && enable_static=no
   9671   if test -n "$RANLIB"; then
   9672     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9673     postinstall_cmds='$RANLIB $lib'
   9674   fi
   9675   ;;
   9676 
   9677 aix4* | aix5*)
   9678   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   9679     test "$enable_shared" = yes && enable_static=no
   9680   fi
   9681     ;;
   9682 esac
   9683 echo "$as_me:$LINENO: result: $enable_shared" >&5
   9684 echo "${ECHO_T}$enable_shared" >&6
   9685 
   9686 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   9687 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   9688 # Make sure either enable_shared or enable_static is yes.
   9689 test "$enable_shared" = yes || enable_static=yes
   9690 echo "$as_me:$LINENO: result: $enable_static" >&5
   9691 echo "${ECHO_T}$enable_static" >&6
   9692 
   9693 # The else clause should only fire when bootstrapping the
   9694 # libtool distribution, otherwise you forgot to ship ltmain.sh
   9695 # with your package, and you will get complaints that there are
   9696 # no rules to generate ltmain.sh.
   9697 if test -f "$ltmain"; then
   9698   # See if we are running on zsh, and set the options which allow our commands through
   9699   # without removal of \ escapes.
   9700   if test -n "${ZSH_VERSION+set}" ; then
   9701     setopt NO_GLOB_SUBST
   9702   fi
   9703   # Now quote all the things that may contain metacharacters while being
   9704   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   9705   # variables and quote the copies for generation of the libtool script.
   9706   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   9707     SED SHELL STRIP \
   9708     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   9709     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   9710     deplibs_check_method reload_flag reload_cmds need_locks \
   9711     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   9712     lt_cv_sys_global_symbol_to_c_name_address \
   9713     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   9714     old_postinstall_cmds old_postuninstall_cmds \
   9715     compiler \
   9716     CC \
   9717     LD \
   9718     lt_prog_compiler_wl \
   9719     lt_prog_compiler_pic \
   9720     lt_prog_compiler_static \
   9721     lt_prog_compiler_no_builtin_flag \
   9722     export_dynamic_flag_spec \
   9723     thread_safe_flag_spec \
   9724     whole_archive_flag_spec \
   9725     enable_shared_with_static_runtimes \
   9726     old_archive_cmds \
   9727     old_archive_from_new_cmds \
   9728     predep_objects \
   9729     postdep_objects \
   9730     predeps \
   9731     postdeps \
   9732     compiler_lib_search_path \
   9733     archive_cmds \
   9734     archive_expsym_cmds \
   9735     postinstall_cmds \
   9736     postuninstall_cmds \
   9737     old_archive_from_expsyms_cmds \
   9738     allow_undefined_flag \
   9739     no_undefined_flag \
   9740     export_symbols_cmds \
   9741     hardcode_libdir_flag_spec \
   9742     hardcode_libdir_flag_spec_ld \
   9743     hardcode_libdir_separator \
   9744     hardcode_automatic \
   9745     module_cmds \
   9746     module_expsym_cmds \
   9747     lt_cv_prog_compiler_c_o \
   9748     exclude_expsyms \
   9749     include_expsyms; do
   9750 
   9751     case $var in
   9752     old_archive_cmds | \
   9753     old_archive_from_new_cmds | \
   9754     archive_cmds | \
   9755     archive_expsym_cmds | \
   9756     module_cmds | \
   9757     module_expsym_cmds | \
   9758     old_archive_from_expsyms_cmds | \
   9759     export_symbols_cmds | \
   9760     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   9761     postinstall_cmds | postuninstall_cmds | \
   9762     old_postinstall_cmds | old_postuninstall_cmds | \
   9763     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   9764       # Double-quote double-evaled strings.
   9765       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   9766       ;;
   9767     *)
   9768       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   9769       ;;
   9770     esac
   9771   done
   9772 
   9773   case $lt_echo in
   9774   *'\$0 --fallback-echo"')
   9775     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   9776     ;;
   9777   esac
   9778 
   9779 cfgfile="${ofile}T"
   9780   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   9781   $rm -f "$cfgfile"
   9782   { echo "$as_me:$LINENO: creating $ofile" >&5
   9783 echo "$as_me: creating $ofile" >&6;}
   9784 
   9785   cat <<__EOF__ >> "$cfgfile"
   9786 #! $SHELL
   9787 
   9788 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   9789 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   9790 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   9791 #
   9792 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   9793 # Free Software Foundation, Inc.
   9794 #
   9795 # This file is part of GNU Libtool:
   9796 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   9797 #
   9798 # This program is free software; you can redistribute it and/or modify
   9799 # it under the terms of the GNU General Public License as published by
   9800 # the Free Software Foundation; either version 2 of the License, or
   9801 # (at your option) any later version.
   9802 #
   9803 # This program is distributed in the hope that it will be useful, but
   9804 # WITHOUT ANY WARRANTY; without even the implied warranty of
   9805 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   9806 # General Public License for more details.
   9807 #
   9808 # You should have received a copy of the GNU General Public License
   9809 # along with this program; if not, write to the Free Software
   9810 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   9811 #
   9812 # As a special exception to the GNU General Public License, if you
   9813 # distribute this file as part of a program that contains a
   9814 # configuration script generated by Autoconf, you may include it under
   9815 # the same distribution terms that you use for the rest of that program.
   9816 
   9817 # A sed program that does not truncate output.
   9818 SED=$lt_SED
   9819 
   9820 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   9821 Xsed="$SED -e 1s/^X//"
   9822 
   9823 # The HP-UX ksh and POSIX shell print the target directory to stdout
   9824 # if CDPATH is set.
   9825 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   9826 
   9827 # The names of the tagged configurations supported by this script.
   9828 available_tags=
   9829 
   9830 # ### BEGIN LIBTOOL CONFIG
   9831 
   9832 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   9833 
   9834 # Shell to use when invoking shell scripts.
   9835 SHELL=$lt_SHELL
   9836 
   9837 # Whether or not to build shared libraries.
   9838 build_libtool_libs=$enable_shared
   9839 
   9840 # Whether or not to build static libraries.
   9841 build_old_libs=$enable_static
   9842 
   9843 # Whether or not to add -lc for building shared libraries.
   9844 build_libtool_need_lc=$archive_cmds_need_lc
   9845 
   9846 # Whether or not to disallow shared libs when runtime libs are static
   9847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   9848 
   9849 # Whether or not to optimize for fast installation.
   9850 fast_install=$enable_fast_install
   9851 
   9852 # The host system.
   9853 host_alias=$host_alias
   9854 host=$host
   9855 host_os=$host_os
   9856 
   9857 # The build system.
   9858 build_alias=$build_alias
   9859 build=$build
   9860 build_os=$build_os
   9861 
   9862 # An echo program that does not interpret backslashes.
   9863 echo=$lt_echo
   9864 
   9865 # The archiver.
   9866 AR=$lt_AR
   9867 AR_FLAGS=$lt_AR_FLAGS
   9868 
   9869 # A C compiler.
   9870 LTCC=$lt_LTCC
   9871 
   9872 # LTCC compiler flags.
   9873 LTCFLAGS=$lt_LTCFLAGS
   9874 
   9875 # A language-specific compiler.
   9876 CC=$lt_compiler
   9877 
   9878 # Is the compiler the GNU C compiler?
   9879 with_gcc=$GCC
   9880 
   9881 # An ERE matcher.
   9882 EGREP=$lt_EGREP
   9883 
   9884 # The linker used to build libraries.
   9885 LD=$lt_LD
   9886 
   9887 # Whether we need hard or soft links.
   9888 LN_S=$lt_LN_S
   9889 
   9890 # A BSD-compatible nm program.
   9891 NM=$lt_NM
   9892 
   9893 # A symbol stripping program
   9894 STRIP=$lt_STRIP
   9895 
   9896 # Used to examine libraries when file_magic_cmd begins "file"
   9897 MAGIC_CMD=$MAGIC_CMD
   9898 
   9899 # Used on cygwin: DLL creation program.
   9900 DLLTOOL="$DLLTOOL"
   9901 
   9902 # Used on cygwin: object dumper.
   9903 OBJDUMP="$OBJDUMP"
   9904 
   9905 # Used on cygwin: assembler.
   9906 AS="$AS"
   9907 
   9908 # The name of the directory that contains temporary libtool files.
   9909 objdir=$objdir
   9910 
   9911 # How to create reloadable object files.
   9912 reload_flag=$lt_reload_flag
   9913 reload_cmds=$lt_reload_cmds
   9914 
   9915 # How to pass a linker flag through the compiler.
   9916 wl=$lt_lt_prog_compiler_wl
   9917 
   9918 # Object file suffix (normally "o").
   9919 objext="$ac_objext"
   9920 
   9921 # Old archive suffix (normally "a").
   9922 libext="$libext"
   9923 
   9924 # Shared library suffix (normally ".so").
   9925 shrext_cmds='$shrext_cmds'
   9926 
   9927 # Executable file suffix (normally "").
   9928 exeext="$exeext"
   9929 
   9930 # Additional compiler flags for building library objects.
   9931 pic_flag=$lt_lt_prog_compiler_pic
   9932 pic_mode=$pic_mode
   9933 
   9934 # What is the maximum length of a command?
   9935 max_cmd_len=$lt_cv_sys_max_cmd_len
   9936 
   9937 # Does compiler simultaneously support -c and -o options?
   9938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   9939 
   9940 # Must we lock files when doing compilation?
   9941 need_locks=$lt_need_locks
   9942 
   9943 # Do we need the lib prefix for modules?
   9944 need_lib_prefix=$need_lib_prefix
   9945 
   9946 # Do we need a version for libraries?
   9947 need_version=$need_version
   9948 
   9949 # Whether dlopen is supported.
   9950 dlopen_support=$enable_dlopen
   9951 
   9952 # Whether dlopen of programs is supported.
   9953 dlopen_self=$enable_dlopen_self
   9954 
   9955 # Whether dlopen of statically linked programs is supported.
   9956 dlopen_self_static=$enable_dlopen_self_static
   9957 
   9958 # Compiler flag to prevent dynamic linking.
   9959 link_static_flag=$lt_lt_prog_compiler_static
   9960 
   9961 # Compiler flag to turn off builtin functions.
   9962 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   9963 
   9964 # Compiler flag to allow reflexive dlopens.
   9965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   9966 
   9967 # Compiler flag to generate shared objects directly from archives.
   9968 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   9969 
   9970 # Compiler flag to generate thread-safe objects.
   9971 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   9972 
   9973 # Library versioning type.
   9974 version_type=$version_type
   9975 
   9976 # Format of library name prefix.
   9977 libname_spec=$lt_libname_spec
   9978 
   9979 # List of archive names.  First name is the real one, the rest are links.
   9980 # The last name is the one that the linker finds with -lNAME.
   9981 library_names_spec=$lt_library_names_spec
   9982 
   9983 # The coded name of the library, if different from the real name.
   9984 soname_spec=$lt_soname_spec
   9985 
   9986 # Commands used to build and install an old-style archive.
   9987 RANLIB=$lt_RANLIB
   9988 old_archive_cmds=$lt_old_archive_cmds
   9989 old_postinstall_cmds=$lt_old_postinstall_cmds
   9990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   9991 
   9992 # Create an old-style archive from a shared archive.
   9993 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   9994 
   9995 # Create a temporary old-style archive to link instead of a shared archive.
   9996 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   9997 
   9998 # Commands used to build and install a shared archive.
   9999 archive_cmds=$lt_archive_cmds
   10000 archive_expsym_cmds=$lt_archive_expsym_cmds
   10001 postinstall_cmds=$lt_postinstall_cmds
   10002 postuninstall_cmds=$lt_postuninstall_cmds
   10003 
   10004 # Commands used to build a loadable module (assumed same as above if empty)
   10005 module_cmds=$lt_module_cmds
   10006 module_expsym_cmds=$lt_module_expsym_cmds
   10007 
   10008 # Commands to strip libraries.
   10009 old_striplib=$lt_old_striplib
   10010 striplib=$lt_striplib
   10011 
   10012 # Dependencies to place before the objects being linked to create a
   10013 # shared library.
   10014 predep_objects=$lt_predep_objects
   10015 
   10016 # Dependencies to place after the objects being linked to create a
   10017 # shared library.
   10018 postdep_objects=$lt_postdep_objects
   10019 
   10020 # Dependencies to place before the objects being linked to create a
   10021 # shared library.
   10022 predeps=$lt_predeps
   10023 
   10024 # Dependencies to place after the objects being linked to create a
   10025 # shared library.
   10026 postdeps=$lt_postdeps
   10027 
   10028 # The library search path used internally by the compiler when linking
   10029 # a shared library.
   10030 compiler_lib_search_path=$lt_compiler_lib_search_path
   10031 
   10032 # Method to check whether dependent libraries are shared objects.
   10033 deplibs_check_method=$lt_deplibs_check_method
   10034 
   10035 # Command to use when deplibs_check_method == file_magic.
   10036 file_magic_cmd=$lt_file_magic_cmd
   10037 
   10038 # Flag that allows shared libraries with undefined symbols to be built.
   10039 allow_undefined_flag=$lt_allow_undefined_flag
   10040 
   10041 # Flag that forces no undefined symbols.
   10042 no_undefined_flag=$lt_no_undefined_flag
   10043 
   10044 # Commands used to finish a libtool library installation in a directory.
   10045 finish_cmds=$lt_finish_cmds
   10046 
   10047 # Same as above, but a single script fragment to be evaled but not shown.
   10048 finish_eval=$lt_finish_eval
   10049 
   10050 # Take the output of nm and produce a listing of raw symbols and C names.
   10051 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10052 
   10053 # Transform the output of nm in a proper C declaration
   10054 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10055 
   10056 # Transform the output of nm in a C name address pair
   10057 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10058 
   10059 # This is the shared library runtime path variable.
   10060 runpath_var=$runpath_var
   10061 
   10062 # This is the shared library path variable.
   10063 shlibpath_var=$shlibpath_var
   10064 
   10065 # Is shlibpath searched before the hard-coded library search path?
   10066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10067 
   10068 # How to hardcode a shared library path into an executable.
   10069 hardcode_action=$hardcode_action
   10070 
   10071 # Whether we should hardcode library paths into libraries.
   10072 hardcode_into_libs=$hardcode_into_libs
   10073 
   10074 # Flag to hardcode \$libdir into a binary during linking.
   10075 # This must work even if \$libdir does not exist.
   10076 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10077 
   10078 # If ld is used when linking, flag to hardcode \$libdir into
   10079 # a binary during linking. This must work even if \$libdir does
   10080 # not exist.
   10081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10082 
   10083 # Whether we need a single -rpath flag with a separated argument.
   10084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10085 
   10086 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10087 # resulting binary.
   10088 hardcode_direct=$hardcode_direct
   10089 
   10090 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10091 # resulting binary.
   10092 hardcode_minus_L=$hardcode_minus_L
   10093 
   10094 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10095 # the resulting binary.
   10096 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10097 
   10098 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10099 # and all subsequent libraries and executables linked against it.
   10100 hardcode_automatic=$hardcode_automatic
   10101 
   10102 # Variables whose values should be saved in libtool wrapper scripts and
   10103 # restored at relink time.
   10104 variables_saved_for_relink="$variables_saved_for_relink"
   10105 
   10106 # Whether libtool must link a program against all its dependency libraries.
   10107 link_all_deplibs=$link_all_deplibs
   10108 
   10109 # Compile-time system search path for libraries
   10110 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10111 
   10112 # Run-time system search path for libraries
   10113 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10114 
   10115 # Fix the shell variable \$srcfile for the compiler.
   10116 fix_srcfile_path="$fix_srcfile_path"
   10117 
   10118 # Set to yes if exported symbols are required.
   10119 always_export_symbols=$always_export_symbols
   10120 
   10121 # The commands to list exported symbols.
   10122 export_symbols_cmds=$lt_export_symbols_cmds
   10123 
   10124 # The commands to extract the exported symbol list from a shared archive.
   10125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10126 
   10127 # Symbols that should not be listed in the preloaded symbols.
   10128 exclude_expsyms=$lt_exclude_expsyms
   10129 
   10130 # Symbols that must always be exported.
   10131 include_expsyms=$lt_include_expsyms
   10132 
   10133 # ### END LIBTOOL CONFIG
   10134 
   10135 __EOF__
   10136 
   10137 
   10138   case $host_os in
   10139   aix3*)
   10140     cat <<\EOF >> "$cfgfile"
   10141 
   10142 # AIX sometimes has problems with the GCC collect2 program.  For some
   10143 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10144 # vanish in a puff of smoke.
   10145 if test "X${COLLECT_NAMES+set}" != Xset; then
   10146   COLLECT_NAMES=
   10147   export COLLECT_NAMES
   10148 fi
   10149 EOF
   10150     ;;
   10151   esac
   10152 
   10153   # We use sed instead of cat because bash on DJGPP gets confused if
   10154   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10155   # text mode, it properly converts lines to CR/LF.  This bash problem
   10156   # is reportedly fixed, but why not run on old versions too?
   10157   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10158 
   10159   mv -f "$cfgfile" "$ofile" || \
   10160     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10161   chmod +x "$ofile"
   10162 
   10163 else
   10164   # If there is no Makefile yet, we rely on a make rule to execute
   10165   # `config.status --recheck' to rerun these tests and create the
   10166   # libtool script then.
   10167   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10168   if test -f "$ltmain_in"; then
   10169     test -f Makefile && make "$ltmain"
   10170   fi
   10171 fi
   10172 
   10173 
   10174 ac_ext=c
   10175 ac_cpp='$CPP $CPPFLAGS'
   10176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10179 
   10180 CC="$lt_save_CC"
   10181 
   10182 
   10183 # Check whether --with-tags or --without-tags was given.
   10184 if test "${with_tags+set}" = set; then
   10185   withval="$with_tags"
   10186   tagnames="$withval"
   10187 fi;
   10188 
   10189 if test -f "$ltmain" && test -n "$tagnames"; then
   10190   if test ! -f "${ofile}"; then
   10191     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10192 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10193   fi
   10194 
   10195   if test -z "$LTCC"; then
   10196     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10197     if test -z "$LTCC"; then
   10198       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10199 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10200     else
   10201       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10202 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10203     fi
   10204   fi
   10205   if test -z "$LTCFLAGS"; then
   10206     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10207   fi
   10208 
   10209   # Extract list of available tagged configurations in $ofile.
   10210   # Note that this assumes the entire list is on one line.
   10211   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10212 
   10213   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10214   for tagname in $tagnames; do
   10215     IFS="$lt_save_ifs"
   10216     # Check whether tagname contains only valid characters
   10217     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10218     "") ;;
   10219     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10220 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10221    { (exit 1); exit 1; }; }
   10222 	;;
   10223     esac
   10224 
   10225     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10226     then
   10227       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10228 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10229    { (exit 1); exit 1; }; }
   10230     fi
   10231 
   10232     # Update the list of available tags.
   10233     if test -n "$tagname"; then
   10234       echo appending configuration tag \"$tagname\" to $ofile
   10235 
   10236       case $tagname in
   10237       CXX)
   10238 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10239 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10240 	    (test "X$CXX" != "Xg++"))) ; then
   10241 	  ac_ext=cc
   10242 ac_cpp='$CXXCPP $CPPFLAGS'
   10243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10246 
   10247 
   10248 
   10249 
   10250 archive_cmds_need_lc_CXX=no
   10251 allow_undefined_flag_CXX=
   10252 always_export_symbols_CXX=no
   10253 archive_expsym_cmds_CXX=
   10254 export_dynamic_flag_spec_CXX=
   10255 hardcode_direct_CXX=no
   10256 hardcode_libdir_flag_spec_CXX=
   10257 hardcode_libdir_flag_spec_ld_CXX=
   10258 hardcode_libdir_separator_CXX=
   10259 hardcode_minus_L_CXX=no
   10260 hardcode_shlibpath_var_CXX=unsupported
   10261 hardcode_automatic_CXX=no
   10262 module_cmds_CXX=
   10263 module_expsym_cmds_CXX=
   10264 link_all_deplibs_CXX=unknown
   10265 old_archive_cmds_CXX=$old_archive_cmds
   10266 no_undefined_flag_CXX=
   10267 whole_archive_flag_spec_CXX=
   10268 enable_shared_with_static_runtimes_CXX=no
   10269 
   10270 # Dependencies to place before and after the object being linked:
   10271 predep_objects_CXX=
   10272 postdep_objects_CXX=
   10273 predeps_CXX=
   10274 postdeps_CXX=
   10275 compiler_lib_search_path_CXX=
   10276 
   10277 # Source file extension for C++ test sources.
   10278 ac_ext=cpp
   10279 
   10280 # Object file extension for compiled C++ test sources.
   10281 objext=o
   10282 objext_CXX=$objext
   10283 
   10284 # Code to be used in simple compile tests
   10285 lt_simple_compile_test_code="int some_variable = 0;\n"
   10286 
   10287 # Code to be used in simple link tests
   10288 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10289 
   10290 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10291 
   10292 # If no C compiler was specified, use CC.
   10293 LTCC=${LTCC-"$CC"}
   10294 
   10295 # If no C compiler flags were specified, use CFLAGS.
   10296 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10297 
   10298 # Allow CC to be a program name with arguments.
   10299 compiler=$CC
   10300 
   10301 
   10302 # save warnings/boilerplate of simple test code
   10303 ac_outfile=conftest.$ac_objext
   10304 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10305 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10306 _lt_compiler_boilerplate=`cat conftest.err`
   10307 $rm conftest*
   10308 
   10309 ac_outfile=conftest.$ac_objext
   10310 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10311 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10312 _lt_linker_boilerplate=`cat conftest.err`
   10313 $rm conftest*
   10314 
   10315 
   10316 # Allow CC to be a program name with arguments.
   10317 lt_save_CC=$CC
   10318 lt_save_LD=$LD
   10319 lt_save_GCC=$GCC
   10320 GCC=$GXX
   10321 lt_save_with_gnu_ld=$with_gnu_ld
   10322 lt_save_path_LD=$lt_cv_path_LD
   10323 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10324   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10325 else
   10326   $as_unset lt_cv_prog_gnu_ld
   10327 fi
   10328 if test -n "${lt_cv_path_LDCXX+set}"; then
   10329   lt_cv_path_LD=$lt_cv_path_LDCXX
   10330 else
   10331   $as_unset lt_cv_path_LD
   10332 fi
   10333 test -z "${LDCXX+set}" || LD=$LDCXX
   10334 CC=${CXX-"c++"}
   10335 compiler=$CC
   10336 compiler_CXX=$CC
   10337 for cc_temp in $compiler""; do
   10338   case $cc_temp in
   10339     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10340     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10341     \-*) ;;
   10342     *) break;;
   10343   esac
   10344 done
   10345 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10346 
   10347 
   10348 # We don't want -fno-exception wen compiling C++ code, so set the
   10349 # no_builtin_flag separately
   10350 if test "$GXX" = yes; then
   10351   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10352 else
   10353   lt_prog_compiler_no_builtin_flag_CXX=
   10354 fi
   10355 
   10356 if test "$GXX" = yes; then
   10357   # Set up default GNU C++ configuration
   10358 
   10359 
   10360 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   10361 if test "${with_gnu_ld+set}" = set; then
   10362   withval="$with_gnu_ld"
   10363   test "$withval" = no || with_gnu_ld=yes
   10364 else
   10365   with_gnu_ld=no
   10366 fi;
   10367 ac_prog=ld
   10368 if test "$GCC" = yes; then
   10369   # Check if gcc -print-prog-name=ld gives a path.
   10370   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10371 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   10372   case $host in
   10373   *-*-mingw*)
   10374     # gcc leaves a trailing carriage return which upsets mingw
   10375     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10376   *)
   10377     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10378   esac
   10379   case $ac_prog in
   10380     # Accept absolute paths.
   10381     [\\/]* | ?:[\\/]*)
   10382       re_direlt='/[^/][^/]*/\.\./'
   10383       # Canonicalize the pathname of ld
   10384       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10385       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10386 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10387       done
   10388       test -z "$LD" && LD="$ac_prog"
   10389       ;;
   10390   "")
   10391     # If it fails, then pretend we aren't using GCC.
   10392     ac_prog=ld
   10393     ;;
   10394   *)
   10395     # If it is relative, then search for the first ld in PATH.
   10396     with_gnu_ld=unknown
   10397     ;;
   10398   esac
   10399 elif test "$with_gnu_ld" = yes; then
   10400   echo "$as_me:$LINENO: checking for GNU ld" >&5
   10401 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   10402 else
   10403   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10404 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   10405 fi
   10406 if test "${lt_cv_path_LD+set}" = set; then
   10407   echo $ECHO_N "(cached) $ECHO_C" >&6
   10408 else
   10409   if test -z "$LD"; then
   10410   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10411   for ac_dir in $PATH; do
   10412     IFS="$lt_save_ifs"
   10413     test -z "$ac_dir" && ac_dir=.
   10414     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10415       lt_cv_path_LD="$ac_dir/$ac_prog"
   10416       # Check to see if the program is GNU ld.  I'd rather use --version,
   10417       # but apparently some variants of GNU ld only accept -v.
   10418       # Break only if it was the GNU/non-GNU ld that we prefer.
   10419       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10420       *GNU* | *'with BFD'*)
   10421 	test "$with_gnu_ld" != no && break
   10422 	;;
   10423       *)
   10424 	test "$with_gnu_ld" != yes && break
   10425 	;;
   10426       esac
   10427     fi
   10428   done
   10429   IFS="$lt_save_ifs"
   10430 else
   10431   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10432 fi
   10433 fi
   10434 
   10435 LD="$lt_cv_path_LD"
   10436 if test -n "$LD"; then
   10437   echo "$as_me:$LINENO: result: $LD" >&5
   10438 echo "${ECHO_T}$LD" >&6
   10439 else
   10440   echo "$as_me:$LINENO: result: no" >&5
   10441 echo "${ECHO_T}no" >&6
   10442 fi
   10443 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10444 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10445    { (exit 1); exit 1; }; }
   10446 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10447 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   10448 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10449   echo $ECHO_N "(cached) $ECHO_C" >&6
   10450 else
   10451   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10452 case `$LD -v 2>&1 </dev/null` in
   10453 *GNU* | *'with BFD'*)
   10454   lt_cv_prog_gnu_ld=yes
   10455   ;;
   10456 *)
   10457   lt_cv_prog_gnu_ld=no
   10458   ;;
   10459 esac
   10460 fi
   10461 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10462 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   10463 with_gnu_ld=$lt_cv_prog_gnu_ld
   10464 
   10465 
   10466 
   10467   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10468   # archiving commands below assume that GNU ld is being used.
   10469   if test "$with_gnu_ld" = yes; then
   10470     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10471     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'
   10472 
   10473     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10474     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10475 
   10476     # If archive_cmds runs LD, not CC, wlarc should be empty
   10477     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10478     #     investigate it a little bit more. (MM)
   10479     wlarc='${wl}'
   10480 
   10481     # ancient GNU ld didn't support --whole-archive et. al.
   10482     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10483 	grep 'no-whole-archive' > /dev/null; then
   10484       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10485     else
   10486       whole_archive_flag_spec_CXX=
   10487     fi
   10488   else
   10489     with_gnu_ld=no
   10490     wlarc=
   10491 
   10492     # A generic and very simple default shared library creation
   10493     # command for GNU C++ for the case where it uses the native
   10494     # linker, instead of GNU ld.  If possible, this setting should
   10495     # overridden to take advantage of the native linker features on
   10496     # the platform it is being used on.
   10497     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10498   fi
   10499 
   10500   # Commands to make compiler produce verbose output that lists
   10501   # what "hidden" libraries, object files and flags are used when
   10502   # linking a shared library.
   10503   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10504 
   10505 else
   10506   GXX=no
   10507   with_gnu_ld=no
   10508   wlarc=
   10509 fi
   10510 
   10511 # PORTME: fill in a description of your system's C++ link characteristics
   10512 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10513 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   10514 ld_shlibs_CXX=yes
   10515 case $host_os in
   10516   aix3*)
   10517     # FIXME: insert proper C++ library support
   10518     ld_shlibs_CXX=no
   10519     ;;
   10520   aix4* | aix5*)
   10521     if test "$host_cpu" = ia64; then
   10522       # On IA64, the linker does run time linking by default, so we don't
   10523       # have to do anything special.
   10524       aix_use_runtimelinking=no
   10525       exp_sym_flag='-Bexport'
   10526       no_entry_flag=""
   10527     else
   10528       aix_use_runtimelinking=no
   10529 
   10530       # Test if we are trying to use run time linking or normal
   10531       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10532       # need to do runtime linking.
   10533       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10534 	for ld_flag in $LDFLAGS; do
   10535 	  case $ld_flag in
   10536 	  *-brtl*)
   10537 	    aix_use_runtimelinking=yes
   10538 	    break
   10539 	    ;;
   10540 	  esac
   10541 	done
   10542 	;;
   10543       esac
   10544 
   10545       exp_sym_flag='-bexport'
   10546       no_entry_flag='-bnoentry'
   10547     fi
   10548 
   10549     # When large executables or shared objects are built, AIX ld can
   10550     # have problems creating the table of contents.  If linking a library
   10551     # or program results in "error TOC overflow" add -mminimal-toc to
   10552     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10553     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10554 
   10555     archive_cmds_CXX=''
   10556     hardcode_direct_CXX=yes
   10557     hardcode_libdir_separator_CXX=':'
   10558     link_all_deplibs_CXX=yes
   10559 
   10560     if test "$GXX" = yes; then
   10561       case $host_os in aix4.[012]|aix4.[012].*)
   10562       # We only want to do this on AIX 4.2 and lower, the check
   10563       # below for broken collect2 doesn't work under 4.3+
   10564 	collect2name=`${CC} -print-prog-name=collect2`
   10565 	if test -f "$collect2name" && \
   10566 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10567 	then
   10568 	  # We have reworked collect2
   10569 	  hardcode_direct_CXX=yes
   10570 	else
   10571 	  # We have old collect2
   10572 	  hardcode_direct_CXX=unsupported
   10573 	  # It fails to find uninstalled libraries when the uninstalled
   10574 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10575 	  # to unsupported forces relinking
   10576 	  hardcode_minus_L_CXX=yes
   10577 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10578 	  hardcode_libdir_separator_CXX=
   10579 	fi
   10580 	;;
   10581       esac
   10582       shared_flag='-shared'
   10583       if test "$aix_use_runtimelinking" = yes; then
   10584 	shared_flag="$shared_flag "'${wl}-G'
   10585       fi
   10586     else
   10587       # not using gcc
   10588       if test "$host_cpu" = ia64; then
   10589 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10590 	# chokes on -Wl,-G. The following line is correct:
   10591 	shared_flag='-G'
   10592       else
   10593 	if test "$aix_use_runtimelinking" = yes; then
   10594 	  shared_flag='${wl}-G'
   10595 	else
   10596 	  shared_flag='${wl}-bM:SRE'
   10597 	fi
   10598       fi
   10599     fi
   10600 
   10601     # It seems that -bexpall does not export symbols beginning with
   10602     # underscore (_), so it is better to generate a list of symbols to export.
   10603     always_export_symbols_CXX=yes
   10604     if test "$aix_use_runtimelinking" = yes; then
   10605       # Warning - without using the other runtime loading flags (-brtl),
   10606       # -berok will link without error, but may produce a broken library.
   10607       allow_undefined_flag_CXX='-berok'
   10608       # Determine the default libpath from the value encoded in an empty executable.
   10609       cat >conftest.$ac_ext <<_ACEOF
   10610 /* confdefs.h.  */
   10611 _ACEOF
   10612 cat confdefs.h >>conftest.$ac_ext
   10613 cat >>conftest.$ac_ext <<_ACEOF
   10614 /* end confdefs.h.  */
   10615 
   10616 int
   10617 main ()
   10618 {
   10619 
   10620   ;
   10621   return 0;
   10622 }
   10623 _ACEOF
   10624 rm -f conftest.$ac_objext conftest$ac_exeext
   10625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10626   (eval $ac_link) 2>conftest.er1
   10627   ac_status=$?
   10628   grep -v '^ *+' conftest.er1 >conftest.err
   10629   rm -f conftest.er1
   10630   cat conftest.err >&5
   10631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10632   (exit $ac_status); } &&
   10633 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10634 			 || test ! -s conftest.err'
   10635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10636   (eval $ac_try) 2>&5
   10637   ac_status=$?
   10638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10639   (exit $ac_status); }; } &&
   10640 	 { ac_try='test -s conftest$ac_exeext'
   10641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10642   (eval $ac_try) 2>&5
   10643   ac_status=$?
   10644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10645   (exit $ac_status); }; }; then
   10646 
   10647 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10648 }'`
   10649 # Check for a 64-bit object if we didn't find anything.
   10650 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; }
   10651 }'`; fi
   10652 else
   10653   echo "$as_me: failed program was:" >&5
   10654 sed 's/^/| /' conftest.$ac_ext >&5
   10655 
   10656 fi
   10657 rm -f conftest.err conftest.$ac_objext \
   10658       conftest$ac_exeext conftest.$ac_ext
   10659 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10660 
   10661       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10662 
   10663       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"
   10664      else
   10665       if test "$host_cpu" = ia64; then
   10666 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10667 	allow_undefined_flag_CXX="-z nodefs"
   10668 	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"
   10669       else
   10670 	# Determine the default libpath from the value encoded in an empty executable.
   10671 	cat >conftest.$ac_ext <<_ACEOF
   10672 /* confdefs.h.  */
   10673 _ACEOF
   10674 cat confdefs.h >>conftest.$ac_ext
   10675 cat >>conftest.$ac_ext <<_ACEOF
   10676 /* end confdefs.h.  */
   10677 
   10678 int
   10679 main ()
   10680 {
   10681 
   10682   ;
   10683   return 0;
   10684 }
   10685 _ACEOF
   10686 rm -f conftest.$ac_objext conftest$ac_exeext
   10687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10688   (eval $ac_link) 2>conftest.er1
   10689   ac_status=$?
   10690   grep -v '^ *+' conftest.er1 >conftest.err
   10691   rm -f conftest.er1
   10692   cat conftest.err >&5
   10693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10694   (exit $ac_status); } &&
   10695 	 { ac_try='test -z "$ac_cxx_werror_flag"
   10696 			 || test ! -s conftest.err'
   10697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10698   (eval $ac_try) 2>&5
   10699   ac_status=$?
   10700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10701   (exit $ac_status); }; } &&
   10702 	 { ac_try='test -s conftest$ac_exeext'
   10703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10704   (eval $ac_try) 2>&5
   10705   ac_status=$?
   10706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10707   (exit $ac_status); }; }; then
   10708 
   10709 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10710 }'`
   10711 # Check for a 64-bit object if we didn't find anything.
   10712 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; }
   10713 }'`; fi
   10714 else
   10715   echo "$as_me: failed program was:" >&5
   10716 sed 's/^/| /' conftest.$ac_ext >&5
   10717 
   10718 fi
   10719 rm -f conftest.err conftest.$ac_objext \
   10720       conftest$ac_exeext conftest.$ac_ext
   10721 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10722 
   10723 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10724 	# Warning - without using the other run time loading flags,
   10725 	# -berok will link without error, but may produce a broken library.
   10726 	no_undefined_flag_CXX=' ${wl}-bernotok'
   10727 	allow_undefined_flag_CXX=' ${wl}-berok'
   10728 	# Exported symbols can be pulled into shared objects from archives
   10729 	whole_archive_flag_spec_CXX='$convenience'
   10730 	archive_cmds_need_lc_CXX=yes
   10731 	# This is similar to how AIX traditionally builds its shared libraries.
   10732 	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'
   10733       fi
   10734     fi
   10735     ;;
   10736 
   10737   beos*)
   10738     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   10739       allow_undefined_flag_CXX=unsupported
   10740       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10741       # support --undefined.  This deserves some investigation.  FIXME
   10742       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10743     else
   10744       ld_shlibs_CXX=no
   10745     fi
   10746     ;;
   10747 
   10748   chorus*)
   10749     case $cc_basename in
   10750       *)
   10751 	# FIXME: insert proper C++ library support
   10752 	ld_shlibs_CXX=no
   10753 	;;
   10754     esac
   10755     ;;
   10756 
   10757   cygwin* | mingw* | pw32*)
   10758     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   10759     # as there is no search path for DLLs.
   10760     hardcode_libdir_flag_spec_CXX='-L$libdir'
   10761     allow_undefined_flag_CXX=unsupported
   10762     always_export_symbols_CXX=no
   10763     enable_shared_with_static_runtimes_CXX=yes
   10764 
   10765     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   10766       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'
   10767       # If the export-symbols file already is a .def file (1st line
   10768       # is EXPORTS), use it as is; otherwise, prepend...
   10769       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10770 	cp $export_symbols $output_objdir/$soname.def;
   10771       else
   10772 	echo EXPORTS > $output_objdir/$soname.def;
   10773 	cat $export_symbols >> $output_objdir/$soname.def;
   10774       fi~
   10775       $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'
   10776     else
   10777       ld_shlibs_CXX=no
   10778     fi
   10779   ;;
   10780       darwin* | rhapsody*)
   10781         case $host_os in
   10782         rhapsody* | darwin1.[012])
   10783          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   10784          ;;
   10785        *) # Darwin 1.3 on
   10786          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   10787            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10788          else
   10789            case ${MACOSX_DEPLOYMENT_TARGET} in
   10790              10.[012])
   10791                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   10792                ;;
   10793              10.*)
   10794                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   10795                ;;
   10796            esac
   10797          fi
   10798          ;;
   10799         esac
   10800       archive_cmds_need_lc_CXX=no
   10801       hardcode_direct_CXX=no
   10802       hardcode_automatic_CXX=yes
   10803       hardcode_shlibpath_var_CXX=unsupported
   10804       whole_archive_flag_spec_CXX=''
   10805       link_all_deplibs_CXX=yes
   10806 
   10807     if test "$GXX" = yes ; then
   10808       lt_int_apple_cc_single_mod=no
   10809       output_verbose_link_cmd='echo'
   10810       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   10811        lt_int_apple_cc_single_mod=yes
   10812       fi
   10813       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10814        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   10815       else
   10816           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'
   10817         fi
   10818         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10819         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10820           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   10821             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}'
   10822           else
   10823             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}'
   10824           fi
   10825             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}'
   10826       else
   10827       case $cc_basename in
   10828         xlc*)
   10829          output_verbose_link_cmd='echo'
   10830           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'
   10831           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   10832           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   10833           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}'
   10834           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}'
   10835           ;;
   10836        *)
   10837          ld_shlibs_CXX=no
   10838           ;;
   10839       esac
   10840       fi
   10841         ;;
   10842 
   10843   dgux*)
   10844     case $cc_basename in
   10845       ec++*)
   10846 	# FIXME: insert proper C++ library support
   10847 	ld_shlibs_CXX=no
   10848 	;;
   10849       ghcx*)
   10850 	# Green Hills C++ Compiler
   10851 	# FIXME: insert proper C++ library support
   10852 	ld_shlibs_CXX=no
   10853 	;;
   10854       *)
   10855 	# FIXME: insert proper C++ library support
   10856 	ld_shlibs_CXX=no
   10857 	;;
   10858     esac
   10859     ;;
   10860   freebsd[12]*)
   10861     # C++ shared libraries reported to be fairly broken before switch to ELF
   10862     ld_shlibs_CXX=no
   10863     ;;
   10864   freebsd-elf*)
   10865     archive_cmds_need_lc_CXX=no
   10866     ;;
   10867   freebsd* | kfreebsd*-gnu | dragonfly*)
   10868     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   10869     # conventions
   10870     ld_shlibs_CXX=yes
   10871     ;;
   10872   gnu*)
   10873     ;;
   10874   hpux9*)
   10875     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10876     hardcode_libdir_separator_CXX=:
   10877     export_dynamic_flag_spec_CXX='${wl}-E'
   10878     hardcode_direct_CXX=yes
   10879     hardcode_minus_L_CXX=yes # Not in the search PATH,
   10880 				# but as the default
   10881 				# location of the library.
   10882 
   10883     case $cc_basename in
   10884     CC*)
   10885       # FIXME: insert proper C++ library support
   10886       ld_shlibs_CXX=no
   10887       ;;
   10888     aCC*)
   10889       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'
   10890       # Commands to make compiler produce verbose output that lists
   10891       # what "hidden" libraries, object files and flags are used when
   10892       # linking a shared library.
   10893       #
   10894       # There doesn't appear to be a way to prevent this compiler from
   10895       # explicitly linking system object files so we need to strip them
   10896       # from the output so that they don't get included in the library
   10897       # dependencies.
   10898       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'
   10899       ;;
   10900     *)
   10901       if test "$GXX" = yes; then
   10902         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'
   10903       else
   10904         # FIXME: insert proper C++ library support
   10905         ld_shlibs_CXX=no
   10906       fi
   10907       ;;
   10908     esac
   10909     ;;
   10910   hpux10*|hpux11*)
   10911     if test $with_gnu_ld = no; then
   10912       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   10913       hardcode_libdir_separator_CXX=:
   10914 
   10915       case $host_cpu in
   10916       hppa*64*|ia64*)
   10917 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   10918         ;;
   10919       *)
   10920 	export_dynamic_flag_spec_CXX='${wl}-E'
   10921         ;;
   10922       esac
   10923     fi
   10924     case $host_cpu in
   10925     hppa*64*|ia64*)
   10926       hardcode_direct_CXX=no
   10927       hardcode_shlibpath_var_CXX=no
   10928       ;;
   10929     *)
   10930       hardcode_direct_CXX=yes
   10931       hardcode_minus_L_CXX=yes # Not in the search PATH,
   10932 					      # but as the default
   10933 					      # location of the library.
   10934       ;;
   10935     esac
   10936 
   10937     case $cc_basename in
   10938       CC*)
   10939 	# FIXME: insert proper C++ library support
   10940 	ld_shlibs_CXX=no
   10941 	;;
   10942       aCC*)
   10943 	case $host_cpu in
   10944 	hppa*64*)
   10945 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10946 	  ;;
   10947 	ia64*)
   10948 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10949 	  ;;
   10950 	*)
   10951 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10952 	  ;;
   10953 	esac
   10954 	# Commands to make compiler produce verbose output that lists
   10955 	# what "hidden" libraries, object files and flags are used when
   10956 	# linking a shared library.
   10957 	#
   10958 	# There doesn't appear to be a way to prevent this compiler from
   10959 	# explicitly linking system object files so we need to strip them
   10960 	# from the output so that they don't get included in the library
   10961 	# dependencies.
   10962 	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'
   10963 	;;
   10964       *)
   10965 	if test "$GXX" = yes; then
   10966 	  if test $with_gnu_ld = no; then
   10967 	    case $host_cpu in
   10968 	    hppa*64*)
   10969 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10970 	      ;;
   10971 	    ia64*)
   10972 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   10973 	      ;;
   10974 	    *)
   10975 	      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'
   10976 	      ;;
   10977 	    esac
   10978 	  fi
   10979 	else
   10980 	  # FIXME: insert proper C++ library support
   10981 	  ld_shlibs_CXX=no
   10982 	fi
   10983 	;;
   10984     esac
   10985     ;;
   10986   interix3*)
   10987     hardcode_direct_CXX=no
   10988     hardcode_shlibpath_var_CXX=no
   10989     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   10990     export_dynamic_flag_spec_CXX='${wl}-E'
   10991     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10992     # Instead, shared libraries are loaded at an image base (0x10000000 by
   10993     # default) and relocated if they conflict, which is a slow very memory
   10994     # consuming and fragmenting process.  To avoid this, we pick a random,
   10995     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10996     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10997     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'
   10998     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'
   10999     ;;
   11000   irix5* | irix6*)
   11001     case $cc_basename in
   11002       CC*)
   11003 	# SGI C++
   11004 	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'
   11005 
   11006 	# Archives containing C++ object files must be created using
   11007 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11008 	# necessary to make sure instantiated templates are included
   11009 	# in the archive.
   11010 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11011 	;;
   11012       *)
   11013 	if test "$GXX" = yes; then
   11014 	  if test "$with_gnu_ld" = no; then
   11015 	    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'
   11016 	  else
   11017 	    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'
   11018 	  fi
   11019 	fi
   11020 	link_all_deplibs_CXX=yes
   11021 	;;
   11022     esac
   11023     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11024     hardcode_libdir_separator_CXX=:
   11025     ;;
   11026   linux*)
   11027     case $cc_basename in
   11028       KCC*)
   11029 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11030 
   11031 	# KCC will only create a shared library if the output file
   11032 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11033 	# to its proper name (with version) after linking.
   11034 	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'
   11035 	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'
   11036 	# Commands to make compiler produce verbose output that lists
   11037 	# what "hidden" libraries, object files and flags are used when
   11038 	# linking a shared library.
   11039 	#
   11040 	# There doesn't appear to be a way to prevent this compiler from
   11041 	# explicitly linking system object files so we need to strip them
   11042 	# from the output so that they don't get included in the library
   11043 	# dependencies.
   11044 	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'
   11045 
   11046 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11047 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11048 
   11049 	# Archives containing C++ object files must be created using
   11050 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11051 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11052 	;;
   11053       icpc*)
   11054 	# Intel C++
   11055 	with_gnu_ld=yes
   11056 	# version 8.0 and above of icpc choke on multiply defined symbols
   11057 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11058 	# earlier do not add the objects themselves.
   11059 	case `$CC -V 2>&1` in
   11060 	*"Version 7."*)
   11061   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11062   	  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'
   11063 	  ;;
   11064 	*)  # Version 8.0 or newer
   11065 	  tmp_idyn=
   11066 	  case $host_cpu in
   11067 	    ia64*) tmp_idyn=' -i_dynamic';;
   11068 	  esac
   11069   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11070 	  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'
   11071 	  ;;
   11072 	esac
   11073 	archive_cmds_need_lc_CXX=no
   11074 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11075 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11076 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11077 	;;
   11078       pgCC*)
   11079         # Portland Group C++ compiler
   11080 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11081   	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'
   11082 
   11083 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11084 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11085 	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'
   11086         ;;
   11087       cxx*)
   11088 	# Compaq C++
   11089 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11090 	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'
   11091 
   11092 	runpath_var=LD_RUN_PATH
   11093 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11094 	hardcode_libdir_separator_CXX=:
   11095 
   11096 	# Commands to make compiler produce verbose output that lists
   11097 	# what "hidden" libraries, object files and flags are used when
   11098 	# linking a shared library.
   11099 	#
   11100 	# There doesn't appear to be a way to prevent this compiler from
   11101 	# explicitly linking system object files so we need to strip them
   11102 	# from the output so that they don't get included in the library
   11103 	# dependencies.
   11104 	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'
   11105 	;;
   11106     esac
   11107     ;;
   11108   lynxos*)
   11109     # FIXME: insert proper C++ library support
   11110     ld_shlibs_CXX=no
   11111     ;;
   11112   m88k*)
   11113     # FIXME: insert proper C++ library support
   11114     ld_shlibs_CXX=no
   11115     ;;
   11116   mvs*)
   11117     case $cc_basename in
   11118       cxx*)
   11119 	# FIXME: insert proper C++ library support
   11120 	ld_shlibs_CXX=no
   11121 	;;
   11122       *)
   11123 	# FIXME: insert proper C++ library support
   11124 	ld_shlibs_CXX=no
   11125 	;;
   11126     esac
   11127     ;;
   11128   netbsd*)
   11129     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11130       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11131       wlarc=
   11132       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11133       hardcode_direct_CXX=yes
   11134       hardcode_shlibpath_var_CXX=no
   11135     fi
   11136     # Workaround some broken pre-1.5 toolchains
   11137     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11138     ;;
   11139   openbsd2*)
   11140     # C++ shared libraries are fairly broken
   11141     ld_shlibs_CXX=no
   11142     ;;
   11143   openbsd*)
   11144     hardcode_direct_CXX=yes
   11145     hardcode_shlibpath_var_CXX=no
   11146     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11147     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11148     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11149       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11150       export_dynamic_flag_spec_CXX='${wl}-E'
   11151       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11152     fi
   11153     output_verbose_link_cmd='echo'
   11154     ;;
   11155   osf3*)
   11156     case $cc_basename in
   11157       KCC*)
   11158 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11159 
   11160 	# KCC will only create a shared library if the output file
   11161 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11162 	# to its proper name (with version) after linking.
   11163 	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'
   11164 
   11165 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11166 	hardcode_libdir_separator_CXX=:
   11167 
   11168 	# Archives containing C++ object files must be created using
   11169 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11170 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11171 
   11172 	;;
   11173       RCC*)
   11174 	# Rational C++ 2.4.1
   11175 	# FIXME: insert proper C++ library support
   11176 	ld_shlibs_CXX=no
   11177 	;;
   11178       cxx*)
   11179 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11180 	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'
   11181 
   11182 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11183 	hardcode_libdir_separator_CXX=:
   11184 
   11185 	# Commands to make compiler produce verbose output that lists
   11186 	# what "hidden" libraries, object files and flags are used when
   11187 	# linking a shared library.
   11188 	#
   11189 	# There doesn't appear to be a way to prevent this compiler from
   11190 	# explicitly linking system object files so we need to strip them
   11191 	# from the output so that they don't get included in the library
   11192 	# dependencies.
   11193 	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'
   11194 	;;
   11195       *)
   11196 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11197 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11198 	  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'
   11199 
   11200 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11201 	  hardcode_libdir_separator_CXX=:
   11202 
   11203 	  # Commands to make compiler produce verbose output that lists
   11204 	  # what "hidden" libraries, object files and flags are used when
   11205 	  # linking a shared library.
   11206 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11207 
   11208 	else
   11209 	  # FIXME: insert proper C++ library support
   11210 	  ld_shlibs_CXX=no
   11211 	fi
   11212 	;;
   11213     esac
   11214     ;;
   11215   osf4* | osf5*)
   11216     case $cc_basename in
   11217       KCC*)
   11218 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11219 
   11220 	# KCC will only create a shared library if the output file
   11221 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11222 	# to its proper name (with version) after linking.
   11223 	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'
   11224 
   11225 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11226 	hardcode_libdir_separator_CXX=:
   11227 
   11228 	# Archives containing C++ object files must be created using
   11229 	# the KAI C++ compiler.
   11230 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11231 	;;
   11232       RCC*)
   11233 	# Rational C++ 2.4.1
   11234 	# FIXME: insert proper C++ library support
   11235 	ld_shlibs_CXX=no
   11236 	;;
   11237       cxx*)
   11238 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11239 	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'
   11240 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11241 	  echo "-hidden">> $lib.exp~
   11242 	  $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~
   11243 	  $rm $lib.exp'
   11244 
   11245 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11246 	hardcode_libdir_separator_CXX=:
   11247 
   11248 	# Commands to make compiler produce verbose output that lists
   11249 	# what "hidden" libraries, object files and flags are used when
   11250 	# linking a shared library.
   11251 	#
   11252 	# There doesn't appear to be a way to prevent this compiler from
   11253 	# explicitly linking system object files so we need to strip them
   11254 	# from the output so that they don't get included in the library
   11255 	# dependencies.
   11256 	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'
   11257 	;;
   11258       *)
   11259 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11260 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11261 	 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'
   11262 
   11263 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11264 	  hardcode_libdir_separator_CXX=:
   11265 
   11266 	  # Commands to make compiler produce verbose output that lists
   11267 	  # what "hidden" libraries, object files and flags are used when
   11268 	  # linking a shared library.
   11269 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11270 
   11271 	else
   11272 	  # FIXME: insert proper C++ library support
   11273 	  ld_shlibs_CXX=no
   11274 	fi
   11275 	;;
   11276     esac
   11277     ;;
   11278   psos*)
   11279     # FIXME: insert proper C++ library support
   11280     ld_shlibs_CXX=no
   11281     ;;
   11282   sunos4*)
   11283     case $cc_basename in
   11284       CC*)
   11285 	# Sun C++ 4.x
   11286 	# FIXME: insert proper C++ library support
   11287 	ld_shlibs_CXX=no
   11288 	;;
   11289       lcc*)
   11290 	# Lucid
   11291 	# FIXME: insert proper C++ library support
   11292 	ld_shlibs_CXX=no
   11293 	;;
   11294       *)
   11295 	# FIXME: insert proper C++ library support
   11296 	ld_shlibs_CXX=no
   11297 	;;
   11298     esac
   11299     ;;
   11300   solaris*)
   11301     case $cc_basename in
   11302       CC*)
   11303 	# Sun C++ 4.2, 5.x and Centerline C++
   11304         archive_cmds_need_lc_CXX=yes
   11305 	no_undefined_flag_CXX=' -zdefs'
   11306 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11307 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11308 	$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'
   11309 
   11310 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11311 	hardcode_shlibpath_var_CXX=no
   11312 	case $host_os in
   11313 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11314 	  *)
   11315 	    # The C++ compiler is used as linker so we must use $wl
   11316 	    # flag to pass the commands to the underlying system
   11317 	    # linker. We must also pass each convience library through
   11318 	    # to the system linker between allextract/defaultextract.
   11319 	    # The C++ compiler will combine linker options so we
   11320 	    # cannot just pass the convience library names through
   11321 	    # without $wl.
   11322 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11323 	    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'
   11324 	    ;;
   11325 	esac
   11326 	link_all_deplibs_CXX=yes
   11327 
   11328 	output_verbose_link_cmd='echo'
   11329 
   11330 	# Archives containing C++ object files must be created using
   11331 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11332 	# necessary to make sure instantiated templates are included
   11333 	# in the archive.
   11334 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11335 	;;
   11336       gcx*)
   11337 	# Green Hills C++ Compiler
   11338 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11339 
   11340 	# The C++ compiler must be used to create the archive.
   11341 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11342 	;;
   11343       *)
   11344 	# GNU C++ compiler with Solaris linker
   11345 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11346 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11347 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11348 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11349 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11350 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11351 
   11352 	    # Commands to make compiler produce verbose output that lists
   11353 	    # what "hidden" libraries, object files and flags are used when
   11354 	    # linking a shared library.
   11355 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11356 	  else
   11357 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11358 	    # platform.
   11359 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11360 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11361 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11362 
   11363 	    # Commands to make compiler produce verbose output that lists
   11364 	    # what "hidden" libraries, object files and flags are used when
   11365 	    # linking a shared library.
   11366 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11367 	  fi
   11368 
   11369 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11370 	fi
   11371 	;;
   11372     esac
   11373     ;;
   11374   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11375     no_undefined_flag_CXX='${wl}-z,text'
   11376     archive_cmds_need_lc_CXX=no
   11377     hardcode_shlibpath_var_CXX=no
   11378     runpath_var='LD_RUN_PATH'
   11379 
   11380     case $cc_basename in
   11381       CC*)
   11382 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11383 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11384 	;;
   11385       *)
   11386 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11387 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11388 	;;
   11389     esac
   11390     ;;
   11391   sysv5* | sco3.2v5* | sco5v6*)
   11392     # Note: We can NOT use -z defs as we might desire, because we do not
   11393     # link with -lc, and that would cause any symbols used from libc to
   11394     # always be unresolved, which means just about no library would
   11395     # ever link correctly.  If we're not using GNU ld we use -z text
   11396     # though, which does catch some bad symbols but isn't as heavy-handed
   11397     # as -z defs.
   11398     # For security reasons, it is highly recommended that you always
   11399     # use absolute paths for naming shared libraries, and exclude the
   11400     # DT_RUNPATH tag from executables and libraries.  But doing so
   11401     # requires that you compile everything twice, which is a pain.
   11402     # So that behaviour is only enabled if SCOABSPATH is set to a
   11403     # non-empty value in the environment.  Most likely only useful for
   11404     # creating official distributions of packages.
   11405     # This is a hack until libtool officially supports absolute path
   11406     # names for shared libraries.
   11407     no_undefined_flag_CXX='${wl}-z,text'
   11408     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11409     archive_cmds_need_lc_CXX=no
   11410     hardcode_shlibpath_var_CXX=no
   11411     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11412     hardcode_libdir_separator_CXX=':'
   11413     link_all_deplibs_CXX=yes
   11414     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11415     runpath_var='LD_RUN_PATH'
   11416 
   11417     case $cc_basename in
   11418       CC*)
   11419 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11420 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11421 	;;
   11422       *)
   11423 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11424 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11425 	;;
   11426     esac
   11427     ;;
   11428   tandem*)
   11429     case $cc_basename in
   11430       NCC*)
   11431 	# NonStop-UX NCC 3.20
   11432 	# FIXME: insert proper C++ library support
   11433 	ld_shlibs_CXX=no
   11434 	;;
   11435       *)
   11436 	# FIXME: insert proper C++ library support
   11437 	ld_shlibs_CXX=no
   11438 	;;
   11439     esac
   11440     ;;
   11441   vxworks*)
   11442     # FIXME: insert proper C++ library support
   11443     ld_shlibs_CXX=no
   11444     ;;
   11445   *)
   11446     # FIXME: insert proper C++ library support
   11447     ld_shlibs_CXX=no
   11448     ;;
   11449 esac
   11450 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11451 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   11452 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11453 
   11454 GCC_CXX="$GXX"
   11455 LD_CXX="$LD"
   11456 
   11457 
   11458 cat > conftest.$ac_ext <<EOF
   11459 class Foo
   11460 {
   11461 public:
   11462   Foo (void) { a = 0; }
   11463 private:
   11464   int a;
   11465 };
   11466 EOF
   11467 
   11468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11469   (eval $ac_compile) 2>&5
   11470   ac_status=$?
   11471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11472   (exit $ac_status); }; then
   11473   # Parse the compiler output and extract the necessary
   11474   # objects, libraries and library flags.
   11475 
   11476   # Sentinel used to keep track of whether or not we are before
   11477   # the conftest object file.
   11478   pre_test_object_deps_done=no
   11479 
   11480   # The `*' in the case matches for architectures that use `case' in
   11481   # $output_verbose_cmd can trigger glob expansion during the loop
   11482   # eval without this substitution.
   11483   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11484 
   11485   for p in `eval $output_verbose_link_cmd`; do
   11486     case $p in
   11487 
   11488     -L* | -R* | -l*)
   11489        # Some compilers place space between "-{L,R}" and the path.
   11490        # Remove the space.
   11491        if test $p = "-L" \
   11492 	  || test $p = "-R"; then
   11493 	 prev=$p
   11494 	 continue
   11495        else
   11496 	 prev=
   11497        fi
   11498 
   11499        if test "$pre_test_object_deps_done" = no; then
   11500 	 case $p in
   11501 	 -L* | -R*)
   11502 	   # Internal compiler library paths should come after those
   11503 	   # provided the user.  The postdeps already come after the
   11504 	   # user supplied libs so there is no need to process them.
   11505 	   if test -z "$compiler_lib_search_path_CXX"; then
   11506 	     compiler_lib_search_path_CXX="${prev}${p}"
   11507 	   else
   11508 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11509 	   fi
   11510 	   ;;
   11511 	 # The "-l" case would never come before the object being
   11512 	 # linked, so don't bother handling this case.
   11513 	 esac
   11514        else
   11515 	 if test -z "$postdeps_CXX"; then
   11516 	   postdeps_CXX="${prev}${p}"
   11517 	 else
   11518 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11519 	 fi
   11520        fi
   11521        ;;
   11522 
   11523     *.$objext)
   11524        # This assumes that the test object file only shows up
   11525        # once in the compiler output.
   11526        if test "$p" = "conftest.$objext"; then
   11527 	 pre_test_object_deps_done=yes
   11528 	 continue
   11529        fi
   11530 
   11531        if test "$pre_test_object_deps_done" = no; then
   11532 	 if test -z "$predep_objects_CXX"; then
   11533 	   predep_objects_CXX="$p"
   11534 	 else
   11535 	   predep_objects_CXX="$predep_objects_CXX $p"
   11536 	 fi
   11537        else
   11538 	 if test -z "$postdep_objects_CXX"; then
   11539 	   postdep_objects_CXX="$p"
   11540 	 else
   11541 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11542 	 fi
   11543        fi
   11544        ;;
   11545 
   11546     *) ;; # Ignore the rest.
   11547 
   11548     esac
   11549   done
   11550 
   11551   # Clean up.
   11552   rm -f a.out a.exe
   11553 else
   11554   echo "libtool.m4: error: problem compiling CXX test program"
   11555 fi
   11556 
   11557 $rm -f confest.$objext
   11558 
   11559 # PORTME: override above test on systems where it is broken
   11560 case $host_os in
   11561 interix3*)
   11562   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11563   # hack all around it, let's just trust "g++" to DTRT.
   11564   predep_objects_CXX=
   11565   postdep_objects_CXX=
   11566   postdeps_CXX=
   11567   ;;
   11568 
   11569 solaris*)
   11570   case $cc_basename in
   11571   CC*)
   11572     # Adding this requires a known-good setup of shared libraries for
   11573     # Sun compiler versions before 5.6, else PIC objects from an old
   11574     # archive will be linked into the output, leading to subtle bugs.
   11575     postdeps_CXX='-lCstd -lCrun'
   11576     ;;
   11577   esac
   11578   ;;
   11579 esac
   11580 
   11581 
   11582 case " $postdeps_CXX " in
   11583 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11584 esac
   11585 
   11586 lt_prog_compiler_wl_CXX=
   11587 lt_prog_compiler_pic_CXX=
   11588 lt_prog_compiler_static_CXX=
   11589 
   11590 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11591 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   11592 
   11593   # C++ specific cases for pic, static, wl, etc.
   11594   if test "$GXX" = yes; then
   11595     lt_prog_compiler_wl_CXX='-Wl,'
   11596     lt_prog_compiler_static_CXX='-static'
   11597 
   11598     case $host_os in
   11599     aix*)
   11600       # All AIX code is PIC.
   11601       if test "$host_cpu" = ia64; then
   11602 	# AIX 5 now supports IA64 processor
   11603 	lt_prog_compiler_static_CXX='-Bstatic'
   11604       fi
   11605       ;;
   11606     amigaos*)
   11607       # FIXME: we need at least 68020 code to build shared libraries, but
   11608       # adding the `-m68020' flag to GCC prevents building anything better,
   11609       # like `-m68040'.
   11610       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11611       ;;
   11612     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11613       # PIC is the default for these OSes.
   11614       ;;
   11615     mingw* | os2* | pw32*)
   11616       # This hack is so that the source file can tell whether it is being
   11617       # built for inclusion in a dll (and should export symbols for example).
   11618       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11619       ;;
   11620     darwin* | rhapsody*)
   11621       # PIC is the default on this platform
   11622       # Common symbols not allowed in MH_DYLIB files
   11623       lt_prog_compiler_pic_CXX='-fno-common'
   11624       ;;
   11625     *djgpp*)
   11626       # DJGPP does not support shared libraries at all
   11627       lt_prog_compiler_pic_CXX=
   11628       ;;
   11629     interix3*)
   11630       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11631       # Instead, we relocate shared libraries at runtime.
   11632       ;;
   11633     sysv4*MP*)
   11634       if test -d /usr/nec; then
   11635 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11636       fi
   11637       ;;
   11638     hpux*)
   11639       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11640       # not for PA HP-UX.
   11641       case $host_cpu in
   11642       hppa*64*|ia64*)
   11643 	;;
   11644       *)
   11645 	lt_prog_compiler_pic_CXX='-fPIC'
   11646 	;;
   11647       esac
   11648       ;;
   11649     *)
   11650       lt_prog_compiler_pic_CXX='-fPIC'
   11651       ;;
   11652     esac
   11653   else
   11654     case $host_os in
   11655       aix4* | aix5*)
   11656 	# All AIX code is PIC.
   11657 	if test "$host_cpu" = ia64; then
   11658 	  # AIX 5 now supports IA64 processor
   11659 	  lt_prog_compiler_static_CXX='-Bstatic'
   11660 	else
   11661 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11662 	fi
   11663 	;;
   11664       chorus*)
   11665 	case $cc_basename in
   11666 	cxch68*)
   11667 	  # Green Hills C++ Compiler
   11668 	  # _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"
   11669 	  ;;
   11670 	esac
   11671 	;;
   11672        darwin*)
   11673          # PIC is the default on this platform
   11674          # Common symbols not allowed in MH_DYLIB files
   11675          case $cc_basename in
   11676            xlc*)
   11677            lt_prog_compiler_pic_CXX='-qnocommon'
   11678            lt_prog_compiler_wl_CXX='-Wl,'
   11679            ;;
   11680          esac
   11681        ;;
   11682       dgux*)
   11683 	case $cc_basename in
   11684 	  ec++*)
   11685 	    lt_prog_compiler_pic_CXX='-KPIC'
   11686 	    ;;
   11687 	  ghcx*)
   11688 	    # Green Hills C++ Compiler
   11689 	    lt_prog_compiler_pic_CXX='-pic'
   11690 	    ;;
   11691 	  *)
   11692 	    ;;
   11693 	esac
   11694 	;;
   11695       freebsd* | kfreebsd*-gnu | dragonfly*)
   11696 	# FreeBSD uses GNU C++
   11697 	;;
   11698       hpux9* | hpux10* | hpux11*)
   11699 	case $cc_basename in
   11700 	  CC*)
   11701 	    lt_prog_compiler_wl_CXX='-Wl,'
   11702 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11703 	    if test "$host_cpu" != ia64; then
   11704 	      lt_prog_compiler_pic_CXX='+Z'
   11705 	    fi
   11706 	    ;;
   11707 	  aCC*)
   11708 	    lt_prog_compiler_wl_CXX='-Wl,'
   11709 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   11710 	    case $host_cpu in
   11711 	    hppa*64*|ia64*)
   11712 	      # +Z the default
   11713 	      ;;
   11714 	    *)
   11715 	      lt_prog_compiler_pic_CXX='+Z'
   11716 	      ;;
   11717 	    esac
   11718 	    ;;
   11719 	  *)
   11720 	    ;;
   11721 	esac
   11722 	;;
   11723       interix*)
   11724 	# This is c89, which is MS Visual C++ (no shared libs)
   11725 	# Anyone wants to do a port?
   11726 	;;
   11727       irix5* | irix6* | nonstopux*)
   11728 	case $cc_basename in
   11729 	  CC*)
   11730 	    lt_prog_compiler_wl_CXX='-Wl,'
   11731 	    lt_prog_compiler_static_CXX='-non_shared'
   11732 	    # CC pic flag -KPIC is the default.
   11733 	    ;;
   11734 	  *)
   11735 	    ;;
   11736 	esac
   11737 	;;
   11738       linux*)
   11739 	case $cc_basename in
   11740 	  KCC*)
   11741 	    # KAI C++ Compiler
   11742 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11743 	    lt_prog_compiler_pic_CXX='-fPIC'
   11744 	    ;;
   11745 	  icpc* | ecpc*)
   11746 	    # Intel C++
   11747 	    lt_prog_compiler_wl_CXX='-Wl,'
   11748 	    lt_prog_compiler_pic_CXX='-KPIC'
   11749 	    lt_prog_compiler_static_CXX='-static'
   11750 	    ;;
   11751 	  pgCC*)
   11752 	    # Portland Group C++ compiler.
   11753 	    lt_prog_compiler_wl_CXX='-Wl,'
   11754 	    lt_prog_compiler_pic_CXX='-fpic'
   11755 	    lt_prog_compiler_static_CXX='-Bstatic'
   11756 	    ;;
   11757 	  cxx*)
   11758 	    # Compaq C++
   11759 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11760 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11761 	    lt_prog_compiler_pic_CXX=
   11762 	    lt_prog_compiler_static_CXX='-non_shared'
   11763 	    ;;
   11764 	  *)
   11765 	    ;;
   11766 	esac
   11767 	;;
   11768       lynxos*)
   11769 	;;
   11770       m88k*)
   11771 	;;
   11772       mvs*)
   11773 	case $cc_basename in
   11774 	  cxx*)
   11775 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   11776 	    ;;
   11777 	  *)
   11778 	    ;;
   11779 	esac
   11780 	;;
   11781       netbsd*)
   11782 	;;
   11783       osf3* | osf4* | osf5*)
   11784 	case $cc_basename in
   11785 	  KCC*)
   11786 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   11787 	    ;;
   11788 	  RCC*)
   11789 	    # Rational C++ 2.4.1
   11790 	    lt_prog_compiler_pic_CXX='-pic'
   11791 	    ;;
   11792 	  cxx*)
   11793 	    # Digital/Compaq C++
   11794 	    lt_prog_compiler_wl_CXX='-Wl,'
   11795 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   11796 	    # Linux and Compaq Tru64 Unix objects are PIC.
   11797 	    lt_prog_compiler_pic_CXX=
   11798 	    lt_prog_compiler_static_CXX='-non_shared'
   11799 	    ;;
   11800 	  *)
   11801 	    ;;
   11802 	esac
   11803 	;;
   11804       psos*)
   11805 	;;
   11806       solaris*)
   11807 	case $cc_basename in
   11808 	  CC*)
   11809 	    # Sun C++ 4.2, 5.x and Centerline C++
   11810 	    lt_prog_compiler_pic_CXX='-KPIC'
   11811 	    lt_prog_compiler_static_CXX='-Bstatic'
   11812 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   11813 	    ;;
   11814 	  gcx*)
   11815 	    # Green Hills C++ Compiler
   11816 	    lt_prog_compiler_pic_CXX='-PIC'
   11817 	    ;;
   11818 	  *)
   11819 	    ;;
   11820 	esac
   11821 	;;
   11822       sunos4*)
   11823 	case $cc_basename in
   11824 	  CC*)
   11825 	    # Sun C++ 4.x
   11826 	    lt_prog_compiler_pic_CXX='-pic'
   11827 	    lt_prog_compiler_static_CXX='-Bstatic'
   11828 	    ;;
   11829 	  lcc*)
   11830 	    # Lucid
   11831 	    lt_prog_compiler_pic_CXX='-pic'
   11832 	    ;;
   11833 	  *)
   11834 	    ;;
   11835 	esac
   11836 	;;
   11837       tandem*)
   11838 	case $cc_basename in
   11839 	  NCC*)
   11840 	    # NonStop-UX NCC 3.20
   11841 	    lt_prog_compiler_pic_CXX='-KPIC'
   11842 	    ;;
   11843 	  *)
   11844 	    ;;
   11845 	esac
   11846 	;;
   11847       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11848 	case $cc_basename in
   11849 	  CC*)
   11850 	    lt_prog_compiler_wl_CXX='-Wl,'
   11851 	    lt_prog_compiler_pic_CXX='-KPIC'
   11852 	    lt_prog_compiler_static_CXX='-Bstatic'
   11853 	    ;;
   11854 	esac
   11855 	;;
   11856       vxworks*)
   11857 	;;
   11858       *)
   11859 	lt_prog_compiler_can_build_shared_CXX=no
   11860 	;;
   11861     esac
   11862   fi
   11863 
   11864 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   11865 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
   11866 
   11867 #
   11868 # Check to make sure the PIC flag actually works.
   11869 #
   11870 if test -n "$lt_prog_compiler_pic_CXX"; then
   11871 
   11872 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   11873 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
   11874 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   11875   echo $ECHO_N "(cached) $ECHO_C" >&6
   11876 else
   11877   lt_prog_compiler_pic_works_CXX=no
   11878   ac_outfile=conftest.$ac_objext
   11879    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11880    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   11881    # Insert the option either (1) after the last *FLAGS variable, or
   11882    # (2) before a word containing "conftest.", or (3) at the end.
   11883    # Note that $ac_compile itself does not contain backslashes and begins
   11884    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11885    # The option is referenced via a variable to avoid confusing sed.
   11886    lt_compile=`echo "$ac_compile" | $SED \
   11887    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11888    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11889    -e 's:$: $lt_compiler_flag:'`
   11890    (eval echo "\"\$as_me:11890: $lt_compile\"" >&5)
   11891    (eval "$lt_compile" 2>conftest.err)
   11892    ac_status=$?
   11893    cat conftest.err >&5
   11894    echo "$as_me:11894: \$? = $ac_status" >&5
   11895    if (exit $ac_status) && test -s "$ac_outfile"; then
   11896      # The compiler can only warn and ignore the option if not recognized
   11897      # So say no if there are warnings other than the usual output.
   11898      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   11899      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11900      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11901        lt_prog_compiler_pic_works_CXX=yes
   11902      fi
   11903    fi
   11904    $rm conftest*
   11905 
   11906 fi
   11907 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   11908 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
   11909 
   11910 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   11911     case $lt_prog_compiler_pic_CXX in
   11912      "" | " "*) ;;
   11913      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   11914      esac
   11915 else
   11916     lt_prog_compiler_pic_CXX=
   11917      lt_prog_compiler_can_build_shared_CXX=no
   11918 fi
   11919 
   11920 fi
   11921 case $host_os in
   11922   # For platforms which do not support PIC, -DPIC is meaningless:
   11923   *djgpp*)
   11924     lt_prog_compiler_pic_CXX=
   11925     ;;
   11926   *)
   11927     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   11928     ;;
   11929 esac
   11930 
   11931 #
   11932 # Check to make sure the static flag actually works.
   11933 #
   11934 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   11935 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11936 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   11937 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   11938   echo $ECHO_N "(cached) $ECHO_C" >&6
   11939 else
   11940   lt_prog_compiler_static_works_CXX=no
   11941    save_LDFLAGS="$LDFLAGS"
   11942    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11943    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   11944    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11945      # The linker can only warn and ignore the option if not recognized
   11946      # So say no if there are warnings
   11947      if test -s conftest.err; then
   11948        # Append any errors to the config.log.
   11949        cat conftest.err 1>&5
   11950        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   11951        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11952        if diff conftest.exp conftest.er2 >/dev/null; then
   11953          lt_prog_compiler_static_works_CXX=yes
   11954        fi
   11955      else
   11956        lt_prog_compiler_static_works_CXX=yes
   11957      fi
   11958    fi
   11959    $rm conftest*
   11960    LDFLAGS="$save_LDFLAGS"
   11961 
   11962 fi
   11963 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   11964 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
   11965 
   11966 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   11967     :
   11968 else
   11969     lt_prog_compiler_static_CXX=
   11970 fi
   11971 
   11972 
   11973 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   11974 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   11975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   11976   echo $ECHO_N "(cached) $ECHO_C" >&6
   11977 else
   11978   lt_cv_prog_compiler_c_o_CXX=no
   11979    $rm -r conftest 2>/dev/null
   11980    mkdir conftest
   11981    cd conftest
   11982    mkdir out
   11983    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   11984 
   11985    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11986    # Insert the option either (1) after the last *FLAGS variable, or
   11987    # (2) before a word containing "conftest.", or (3) at the end.
   11988    # Note that $ac_compile itself does not contain backslashes and begins
   11989    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11990    lt_compile=`echo "$ac_compile" | $SED \
   11991    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11992    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11993    -e 's:$: $lt_compiler_flag:'`
   11994    (eval echo "\"\$as_me:11994: $lt_compile\"" >&5)
   11995    (eval "$lt_compile" 2>out/conftest.err)
   11996    ac_status=$?
   11997    cat out/conftest.err >&5
   11998    echo "$as_me:11998: \$? = $ac_status" >&5
   11999    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12000    then
   12001      # The compiler can only warn and ignore the option if not recognized
   12002      # So say no if there are warnings
   12003      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12004      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12005      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12006        lt_cv_prog_compiler_c_o_CXX=yes
   12007      fi
   12008    fi
   12009    chmod u+w . 2>&5
   12010    $rm conftest*
   12011    # SGI C++ compiler will create directory out/ii_files/ for
   12012    # template instantiation
   12013    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12014    $rm out/* && rmdir out
   12015    cd ..
   12016    rmdir conftest
   12017    $rm conftest*
   12018 
   12019 fi
   12020 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12021 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
   12022 
   12023 
   12024 hard_links="nottested"
   12025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12026   # do not overwrite the value of need_locks provided by the user
   12027   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12028 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   12029   hard_links=yes
   12030   $rm conftest*
   12031   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12032   touch conftest.a
   12033   ln conftest.a conftest.b 2>&5 || hard_links=no
   12034   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12035   echo "$as_me:$LINENO: result: $hard_links" >&5
   12036 echo "${ECHO_T}$hard_links" >&6
   12037   if test "$hard_links" = no; then
   12038     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12039 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12040     need_locks=warn
   12041   fi
   12042 else
   12043   need_locks=no
   12044 fi
   12045 
   12046 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12047 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   12048 
   12049   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12050   case $host_os in
   12051   aix4* | aix5*)
   12052     # If we're using GNU nm, then we don't want the "-C" option.
   12053     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12054     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12055       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'
   12056     else
   12057       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'
   12058     fi
   12059     ;;
   12060   pw32*)
   12061     export_symbols_cmds_CXX="$ltdll_cmds"
   12062   ;;
   12063   cygwin* | mingw*)
   12064     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'
   12065   ;;
   12066   *)
   12067     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12068   ;;
   12069   esac
   12070 
   12071 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12072 echo "${ECHO_T}$ld_shlibs_CXX" >&6
   12073 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12074 
   12075 #
   12076 # Do we need to explicitly link libc?
   12077 #
   12078 case "x$archive_cmds_need_lc_CXX" in
   12079 x|xyes)
   12080   # Assume -lc should be added
   12081   archive_cmds_need_lc_CXX=yes
   12082 
   12083   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12084     case $archive_cmds_CXX in
   12085     *'~'*)
   12086       # FIXME: we may have to deal with multi-command sequences.
   12087       ;;
   12088     '$CC '*)
   12089       # Test whether the compiler implicitly links with -lc since on some
   12090       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12091       # to ld, don't add -lc before -lgcc.
   12092       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12093 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   12094       $rm conftest*
   12095       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12096 
   12097       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12098   (eval $ac_compile) 2>&5
   12099   ac_status=$?
   12100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12101   (exit $ac_status); } 2>conftest.err; then
   12102         soname=conftest
   12103         lib=conftest
   12104         libobjs=conftest.$ac_objext
   12105         deplibs=
   12106         wl=$lt_prog_compiler_wl_CXX
   12107 	pic_flag=$lt_prog_compiler_pic_CXX
   12108         compiler_flags=-v
   12109         linker_flags=-v
   12110         verstring=
   12111         output_objdir=.
   12112         libname=conftest
   12113         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12114         allow_undefined_flag_CXX=
   12115         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12116   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12117   ac_status=$?
   12118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12119   (exit $ac_status); }
   12120         then
   12121 	  archive_cmds_need_lc_CXX=no
   12122         else
   12123 	  archive_cmds_need_lc_CXX=yes
   12124         fi
   12125         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12126       else
   12127         cat conftest.err 1>&5
   12128       fi
   12129       $rm conftest*
   12130       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12131 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
   12132       ;;
   12133     esac
   12134   fi
   12135   ;;
   12136 esac
   12137 
   12138 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12139 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   12140 library_names_spec=
   12141 libname_spec='lib$name'
   12142 soname_spec=
   12143 shrext_cmds=".so"
   12144 postinstall_cmds=
   12145 postuninstall_cmds=
   12146 finish_cmds=
   12147 finish_eval=
   12148 shlibpath_var=
   12149 shlibpath_overrides_runpath=unknown
   12150 version_type=none
   12151 dynamic_linker="$host_os ld.so"
   12152 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12153 if test "$GCC" = yes; then
   12154   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12155   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12156     # if the path contains ";" then we assume it to be the separator
   12157     # otherwise default to the standard path separator (i.e. ":") - it is
   12158     # assumed that no part of a normal pathname contains ";" but that should
   12159     # okay in the real world where ";" in dirpaths is itself problematic.
   12160     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12161   else
   12162     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12163   fi
   12164 else
   12165   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12166 fi
   12167 need_lib_prefix=unknown
   12168 hardcode_into_libs=no
   12169 
   12170 # when you set need_version to no, make sure it does not cause -set_version
   12171 # flags to be left without arguments
   12172 need_version=unknown
   12173 
   12174 case $host_os in
   12175 aix3*)
   12176   version_type=linux
   12177   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12178   shlibpath_var=LIBPATH
   12179 
   12180   # AIX 3 has no versioning support, so we append a major version to the name.
   12181   soname_spec='${libname}${release}${shared_ext}$major'
   12182   ;;
   12183 
   12184 aix4* | aix5*)
   12185   version_type=linux
   12186   need_lib_prefix=no
   12187   need_version=no
   12188   hardcode_into_libs=yes
   12189   if test "$host_cpu" = ia64; then
   12190     # AIX 5 supports IA64
   12191     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12192     shlibpath_var=LD_LIBRARY_PATH
   12193   else
   12194     # With GCC up to 2.95.x, collect2 would create an import file
   12195     # for dependence libraries.  The import file would start with
   12196     # the line `#! .'.  This would cause the generated library to
   12197     # depend on `.', always an invalid library.  This was fixed in
   12198     # development snapshots of GCC prior to 3.0.
   12199     case $host_os in
   12200       aix4 | aix4.[01] | aix4.[01].*)
   12201       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12202 	   echo ' yes '
   12203 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12204 	:
   12205       else
   12206 	can_build_shared=no
   12207       fi
   12208       ;;
   12209     esac
   12210     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12211     # soname into executable. Probably we can add versioning support to
   12212     # collect2, so additional links can be useful in future.
   12213     if test "$aix_use_runtimelinking" = yes; then
   12214       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12215       # instead of lib<name>.a to let people know that these are not
   12216       # typical AIX shared libraries.
   12217       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12218     else
   12219       # We preserve .a as extension for shared libraries through AIX4.2
   12220       # and later when we are not doing run time linking.
   12221       library_names_spec='${libname}${release}.a $libname.a'
   12222       soname_spec='${libname}${release}${shared_ext}$major'
   12223     fi
   12224     shlibpath_var=LIBPATH
   12225   fi
   12226   ;;
   12227 
   12228 amigaos*)
   12229   library_names_spec='$libname.ixlibrary $libname.a'
   12230   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12231   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'
   12232   ;;
   12233 
   12234 beos*)
   12235   library_names_spec='${libname}${shared_ext}'
   12236   dynamic_linker="$host_os ld.so"
   12237   shlibpath_var=LIBRARY_PATH
   12238   ;;
   12239 
   12240 bsdi[45]*)
   12241   version_type=linux
   12242   need_version=no
   12243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12244   soname_spec='${libname}${release}${shared_ext}$major'
   12245   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12246   shlibpath_var=LD_LIBRARY_PATH
   12247   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12248   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12249   # the default ld.so.conf also contains /usr/contrib/lib and
   12250   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12251   # libtool to hard-code these into programs
   12252   ;;
   12253 
   12254 cygwin* | mingw* | pw32*)
   12255   version_type=windows
   12256   shrext_cmds=".dll"
   12257   need_version=no
   12258   need_lib_prefix=no
   12259 
   12260   case $GCC,$host_os in
   12261   yes,cygwin* | yes,mingw* | yes,pw32*)
   12262     library_names_spec='$libname.dll.a'
   12263     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12264     postinstall_cmds='base_file=`basename \${file}`~
   12265       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12266       dldir=$destdir/`dirname \$dlpath`~
   12267       test -d \$dldir || mkdir -p \$dldir~
   12268       $install_prog $dir/$dlname \$dldir/$dlname~
   12269       chmod a+x \$dldir/$dlname'
   12270     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12271       dlpath=$dir/\$dldll~
   12272        $rm \$dlpath'
   12273     shlibpath_overrides_runpath=yes
   12274 
   12275     case $host_os in
   12276     cygwin*)
   12277       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12278       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12279       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12280       ;;
   12281     mingw*)
   12282       # MinGW DLLs use traditional 'lib' prefix
   12283       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12284       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12285       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12286         # It is most probably a Windows format PATH printed by
   12287         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12288         # path with ; separators, and with drive letters. We can handle the
   12289         # drive letters (cygwin fileutils understands them), so leave them,
   12290         # especially as we might pass files found there to a mingw objdump,
   12291         # which wouldn't understand a cygwinified path. Ahh.
   12292         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12293       else
   12294         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12295       fi
   12296       ;;
   12297     pw32*)
   12298       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12299       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12300       ;;
   12301     esac
   12302     ;;
   12303 
   12304   *)
   12305     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12306     ;;
   12307   esac
   12308   dynamic_linker='Win32 ld.exe'
   12309   # FIXME: first we should search . and the directory the executable is in
   12310   shlibpath_var=PATH
   12311   ;;
   12312 
   12313 darwin* | rhapsody*)
   12314   dynamic_linker="$host_os dyld"
   12315   version_type=darwin
   12316   need_lib_prefix=no
   12317   need_version=no
   12318   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12319   soname_spec='${libname}${release}${major}$shared_ext'
   12320   shlibpath_overrides_runpath=yes
   12321   shlibpath_var=DYLD_LIBRARY_PATH
   12322   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12323   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12324   if test "$GCC" = yes; then
   12325     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"`
   12326   else
   12327     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12328   fi
   12329   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12330   ;;
   12331 
   12332 dgux*)
   12333   version_type=linux
   12334   need_lib_prefix=no
   12335   need_version=no
   12336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12337   soname_spec='${libname}${release}${shared_ext}$major'
   12338   shlibpath_var=LD_LIBRARY_PATH
   12339   ;;
   12340 
   12341 freebsd1*)
   12342   dynamic_linker=no
   12343   ;;
   12344 
   12345 kfreebsd*-gnu)
   12346   version_type=linux
   12347   need_lib_prefix=no
   12348   need_version=no
   12349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12350   soname_spec='${libname}${release}${shared_ext}$major'
   12351   shlibpath_var=LD_LIBRARY_PATH
   12352   shlibpath_overrides_runpath=no
   12353   hardcode_into_libs=yes
   12354   dynamic_linker='GNU ld.so'
   12355   ;;
   12356 
   12357 freebsd* | dragonfly*)
   12358   # DragonFly does not have aout.  When/if they implement a new
   12359   # versioning mechanism, adjust this.
   12360   if test -x /usr/bin/objformat; then
   12361     objformat=`/usr/bin/objformat`
   12362   else
   12363     case $host_os in
   12364     freebsd[123]*) objformat=aout ;;
   12365     *) objformat=elf ;;
   12366     esac
   12367   fi
   12368   version_type=freebsd-$objformat
   12369   case $version_type in
   12370     freebsd-elf*)
   12371       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12372       need_version=no
   12373       need_lib_prefix=no
   12374       ;;
   12375     freebsd-*)
   12376       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12377       need_version=yes
   12378       ;;
   12379   esac
   12380   shlibpath_var=LD_LIBRARY_PATH
   12381   case $host_os in
   12382   freebsd2*)
   12383     shlibpath_overrides_runpath=yes
   12384     ;;
   12385   freebsd3.[01]* | freebsdelf3.[01]*)
   12386     shlibpath_overrides_runpath=yes
   12387     hardcode_into_libs=yes
   12388     ;;
   12389   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12390   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12391     shlibpath_overrides_runpath=no
   12392     hardcode_into_libs=yes
   12393     ;;
   12394   freebsd*) # from 4.6 on
   12395     shlibpath_overrides_runpath=yes
   12396     hardcode_into_libs=yes
   12397     ;;
   12398   esac
   12399   ;;
   12400 
   12401 gnu*)
   12402   version_type=linux
   12403   need_lib_prefix=no
   12404   need_version=no
   12405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12406   soname_spec='${libname}${release}${shared_ext}$major'
   12407   shlibpath_var=LD_LIBRARY_PATH
   12408   hardcode_into_libs=yes
   12409   ;;
   12410 
   12411 hpux9* | hpux10* | hpux11*)
   12412   # Give a soname corresponding to the major version so that dld.sl refuses to
   12413   # link against other versions.
   12414   version_type=sunos
   12415   need_lib_prefix=no
   12416   need_version=no
   12417   case $host_cpu in
   12418   ia64*)
   12419     shrext_cmds='.so'
   12420     hardcode_into_libs=yes
   12421     dynamic_linker="$host_os dld.so"
   12422     shlibpath_var=LD_LIBRARY_PATH
   12423     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12424     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12425     soname_spec='${libname}${release}${shared_ext}$major'
   12426     if test "X$HPUX_IA64_MODE" = X32; then
   12427       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12428     else
   12429       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12430     fi
   12431     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12432     ;;
   12433    hppa*64*)
   12434      shrext_cmds='.sl'
   12435      hardcode_into_libs=yes
   12436      dynamic_linker="$host_os dld.sl"
   12437      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12438      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12439      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12440      soname_spec='${libname}${release}${shared_ext}$major'
   12441      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12442      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12443      ;;
   12444    *)
   12445     shrext_cmds='.sl'
   12446     dynamic_linker="$host_os dld.sl"
   12447     shlibpath_var=SHLIB_PATH
   12448     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12450     soname_spec='${libname}${release}${shared_ext}$major'
   12451     ;;
   12452   esac
   12453   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12454   postinstall_cmds='chmod 555 $lib'
   12455   ;;
   12456 
   12457 interix3*)
   12458   version_type=linux
   12459   need_lib_prefix=no
   12460   need_version=no
   12461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12462   soname_spec='${libname}${release}${shared_ext}$major'
   12463   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12464   shlibpath_var=LD_LIBRARY_PATH
   12465   shlibpath_overrides_runpath=no
   12466   hardcode_into_libs=yes
   12467   ;;
   12468 
   12469 irix5* | irix6* | nonstopux*)
   12470   case $host_os in
   12471     nonstopux*) version_type=nonstopux ;;
   12472     *)
   12473 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12474 		version_type=linux
   12475 	else
   12476 		version_type=irix
   12477 	fi ;;
   12478   esac
   12479   need_lib_prefix=no
   12480   need_version=no
   12481   soname_spec='${libname}${release}${shared_ext}$major'
   12482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12483   case $host_os in
   12484   irix5* | nonstopux*)
   12485     libsuff= shlibsuff=
   12486     ;;
   12487   *)
   12488     case $LD in # libtool.m4 will add one of these switches to LD
   12489     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12490       libsuff= shlibsuff= libmagic=32-bit;;
   12491     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12492       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12493     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12494       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12495     *) libsuff= shlibsuff= libmagic=never-match;;
   12496     esac
   12497     ;;
   12498   esac
   12499   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12500   shlibpath_overrides_runpath=no
   12501   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12502   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12503   hardcode_into_libs=yes
   12504   ;;
   12505 
   12506 # No shared lib support for Linux oldld, aout, or coff.
   12507 linux*oldld* | linux*aout* | linux*coff*)
   12508   dynamic_linker=no
   12509   ;;
   12510 
   12511 # This must be Linux ELF.
   12512 linux*)
   12513   version_type=linux
   12514   need_lib_prefix=no
   12515   need_version=no
   12516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12517   soname_spec='${libname}${release}${shared_ext}$major'
   12518   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12519   shlibpath_var=LD_LIBRARY_PATH
   12520   shlibpath_overrides_runpath=no
   12521   # This implies no fast_install, which is unacceptable.
   12522   # Some rework will be needed to allow for fast_install
   12523   # before this can be enabled.
   12524   hardcode_into_libs=yes
   12525 
   12526   # Append ld.so.conf contents to the search path
   12527   if test -f /etc/ld.so.conf; then
   12528     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' ' '`
   12529     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12530   fi
   12531 
   12532   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12533   # powerpc, because MkLinux only supported shared libraries with the
   12534   # GNU dynamic linker.  Since this was broken with cross compilers,
   12535   # most powerpc-linux boxes support dynamic linking these days and
   12536   # people can always --disable-shared, the test was removed, and we
   12537   # assume the GNU/Linux dynamic linker is in use.
   12538   dynamic_linker='GNU/Linux ld.so'
   12539   ;;
   12540 
   12541 knetbsd*-gnu)
   12542   version_type=linux
   12543   need_lib_prefix=no
   12544   need_version=no
   12545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12546   soname_spec='${libname}${release}${shared_ext}$major'
   12547   shlibpath_var=LD_LIBRARY_PATH
   12548   shlibpath_overrides_runpath=no
   12549   hardcode_into_libs=yes
   12550   dynamic_linker='GNU ld.so'
   12551   ;;
   12552 
   12553 netbsd*)
   12554   version_type=sunos
   12555   need_lib_prefix=no
   12556   need_version=no
   12557   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12558     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12559     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12560     dynamic_linker='NetBSD (a.out) ld.so'
   12561   else
   12562     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12563     soname_spec='${libname}${release}${shared_ext}$major'
   12564     dynamic_linker='NetBSD ld.elf_so'
   12565   fi
   12566   shlibpath_var=LD_LIBRARY_PATH
   12567   shlibpath_overrides_runpath=yes
   12568   hardcode_into_libs=yes
   12569   ;;
   12570 
   12571 newsos6)
   12572   version_type=linux
   12573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12574   shlibpath_var=LD_LIBRARY_PATH
   12575   shlibpath_overrides_runpath=yes
   12576   ;;
   12577 
   12578 nto-qnx*)
   12579   version_type=linux
   12580   need_lib_prefix=no
   12581   need_version=no
   12582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12583   soname_spec='${libname}${release}${shared_ext}$major'
   12584   shlibpath_var=LD_LIBRARY_PATH
   12585   shlibpath_overrides_runpath=yes
   12586   ;;
   12587 
   12588 openbsd*)
   12589   version_type=sunos
   12590   sys_lib_dlsearch_path_spec="/usr/lib"
   12591   need_lib_prefix=no
   12592   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12593   case $host_os in
   12594     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12595     *)                         need_version=no  ;;
   12596   esac
   12597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12598   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12599   shlibpath_var=LD_LIBRARY_PATH
   12600   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12601     case $host_os in
   12602       openbsd2.[89] | openbsd2.[89].*)
   12603 	shlibpath_overrides_runpath=no
   12604 	;;
   12605       *)
   12606 	shlibpath_overrides_runpath=yes
   12607 	;;
   12608       esac
   12609   else
   12610     shlibpath_overrides_runpath=yes
   12611   fi
   12612   ;;
   12613 
   12614 os2*)
   12615   libname_spec='$name'
   12616   shrext_cmds=".dll"
   12617   need_lib_prefix=no
   12618   library_names_spec='$libname${shared_ext} $libname.a'
   12619   dynamic_linker='OS/2 ld.exe'
   12620   shlibpath_var=LIBPATH
   12621   ;;
   12622 
   12623 osf3* | osf4* | osf5*)
   12624   version_type=osf
   12625   need_lib_prefix=no
   12626   need_version=no
   12627   soname_spec='${libname}${release}${shared_ext}$major'
   12628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12629   shlibpath_var=LD_LIBRARY_PATH
   12630   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12631   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12632   ;;
   12633 
   12634 solaris*)
   12635   version_type=linux
   12636   need_lib_prefix=no
   12637   need_version=no
   12638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12639   soname_spec='${libname}${release}${shared_ext}$major'
   12640   shlibpath_var=LD_LIBRARY_PATH
   12641   shlibpath_overrides_runpath=yes
   12642   hardcode_into_libs=yes
   12643   # ldd complains unless libraries are executable
   12644   postinstall_cmds='chmod +x $lib'
   12645   ;;
   12646 
   12647 sunos4*)
   12648   version_type=sunos
   12649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12650   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12651   shlibpath_var=LD_LIBRARY_PATH
   12652   shlibpath_overrides_runpath=yes
   12653   if test "$with_gnu_ld" = yes; then
   12654     need_lib_prefix=no
   12655   fi
   12656   need_version=yes
   12657   ;;
   12658 
   12659 sysv4 | sysv4.3*)
   12660   version_type=linux
   12661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12662   soname_spec='${libname}${release}${shared_ext}$major'
   12663   shlibpath_var=LD_LIBRARY_PATH
   12664   case $host_vendor in
   12665     sni)
   12666       shlibpath_overrides_runpath=no
   12667       need_lib_prefix=no
   12668       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12669       runpath_var=LD_RUN_PATH
   12670       ;;
   12671     siemens)
   12672       need_lib_prefix=no
   12673       ;;
   12674     motorola)
   12675       need_lib_prefix=no
   12676       need_version=no
   12677       shlibpath_overrides_runpath=no
   12678       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12679       ;;
   12680   esac
   12681   ;;
   12682 
   12683 sysv4*MP*)
   12684   if test -d /usr/nec ;then
   12685     version_type=linux
   12686     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12687     soname_spec='$libname${shared_ext}.$major'
   12688     shlibpath_var=LD_LIBRARY_PATH
   12689   fi
   12690   ;;
   12691 
   12692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12693   version_type=freebsd-elf
   12694   need_lib_prefix=no
   12695   need_version=no
   12696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12697   soname_spec='${libname}${release}${shared_ext}$major'
   12698   shlibpath_var=LD_LIBRARY_PATH
   12699   hardcode_into_libs=yes
   12700   if test "$with_gnu_ld" = yes; then
   12701     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12702     shlibpath_overrides_runpath=no
   12703   else
   12704     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12705     shlibpath_overrides_runpath=yes
   12706     case $host_os in
   12707       sco3.2v5*)
   12708         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12709 	;;
   12710     esac
   12711   fi
   12712   sys_lib_dlsearch_path_spec='/usr/lib'
   12713   ;;
   12714 
   12715 uts4*)
   12716   version_type=linux
   12717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12718   soname_spec='${libname}${release}${shared_ext}$major'
   12719   shlibpath_var=LD_LIBRARY_PATH
   12720   ;;
   12721 
   12722 *)
   12723   dynamic_linker=no
   12724   ;;
   12725 esac
   12726 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   12727 echo "${ECHO_T}$dynamic_linker" >&6
   12728 test "$dynamic_linker" = no && can_build_shared=no
   12729 
   12730 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12731 if test "$GCC" = yes; then
   12732   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12733 fi
   12734 
   12735 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   12736 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   12737 hardcode_action_CXX=
   12738 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   12739    test -n "$runpath_var_CXX" || \
   12740    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   12741 
   12742   # We can hardcode non-existant directories.
   12743   if test "$hardcode_direct_CXX" != no &&
   12744      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12745      # have to relink, otherwise we might link with an installed library
   12746      # when we should be linking with a yet-to-be-installed one
   12747      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   12748      test "$hardcode_minus_L_CXX" != no; then
   12749     # Linking always hardcodes the temporary library directory.
   12750     hardcode_action_CXX=relink
   12751   else
   12752     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12753     hardcode_action_CXX=immediate
   12754   fi
   12755 else
   12756   # We cannot hardcode anything, or else we can only hardcode existing
   12757   # directories.
   12758   hardcode_action_CXX=unsupported
   12759 fi
   12760 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   12761 echo "${ECHO_T}$hardcode_action_CXX" >&6
   12762 
   12763 if test "$hardcode_action_CXX" = relink; then
   12764   # Fast installation is not supported
   12765   enable_fast_install=no
   12766 elif test "$shlibpath_overrides_runpath" = yes ||
   12767      test "$enable_shared" = no; then
   12768   # Fast installation is not necessary
   12769   enable_fast_install=needless
   12770 fi
   12771 
   12772 
   12773 # The else clause should only fire when bootstrapping the
   12774 # libtool distribution, otherwise you forgot to ship ltmain.sh
   12775 # with your package, and you will get complaints that there are
   12776 # no rules to generate ltmain.sh.
   12777 if test -f "$ltmain"; then
   12778   # See if we are running on zsh, and set the options which allow our commands through
   12779   # without removal of \ escapes.
   12780   if test -n "${ZSH_VERSION+set}" ; then
   12781     setopt NO_GLOB_SUBST
   12782   fi
   12783   # Now quote all the things that may contain metacharacters while being
   12784   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   12785   # variables and quote the copies for generation of the libtool script.
   12786   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   12787     SED SHELL STRIP \
   12788     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   12789     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   12790     deplibs_check_method reload_flag reload_cmds need_locks \
   12791     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   12792     lt_cv_sys_global_symbol_to_c_name_address \
   12793     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   12794     old_postinstall_cmds old_postuninstall_cmds \
   12795     compiler_CXX \
   12796     CC_CXX \
   12797     LD_CXX \
   12798     lt_prog_compiler_wl_CXX \
   12799     lt_prog_compiler_pic_CXX \
   12800     lt_prog_compiler_static_CXX \
   12801     lt_prog_compiler_no_builtin_flag_CXX \
   12802     export_dynamic_flag_spec_CXX \
   12803     thread_safe_flag_spec_CXX \
   12804     whole_archive_flag_spec_CXX \
   12805     enable_shared_with_static_runtimes_CXX \
   12806     old_archive_cmds_CXX \
   12807     old_archive_from_new_cmds_CXX \
   12808     predep_objects_CXX \
   12809     postdep_objects_CXX \
   12810     predeps_CXX \
   12811     postdeps_CXX \
   12812     compiler_lib_search_path_CXX \
   12813     archive_cmds_CXX \
   12814     archive_expsym_cmds_CXX \
   12815     postinstall_cmds_CXX \
   12816     postuninstall_cmds_CXX \
   12817     old_archive_from_expsyms_cmds_CXX \
   12818     allow_undefined_flag_CXX \
   12819     no_undefined_flag_CXX \
   12820     export_symbols_cmds_CXX \
   12821     hardcode_libdir_flag_spec_CXX \
   12822     hardcode_libdir_flag_spec_ld_CXX \
   12823     hardcode_libdir_separator_CXX \
   12824     hardcode_automatic_CXX \
   12825     module_cmds_CXX \
   12826     module_expsym_cmds_CXX \
   12827     lt_cv_prog_compiler_c_o_CXX \
   12828     exclude_expsyms_CXX \
   12829     include_expsyms_CXX; do
   12830 
   12831     case $var in
   12832     old_archive_cmds_CXX | \
   12833     old_archive_from_new_cmds_CXX | \
   12834     archive_cmds_CXX | \
   12835     archive_expsym_cmds_CXX | \
   12836     module_cmds_CXX | \
   12837     module_expsym_cmds_CXX | \
   12838     old_archive_from_expsyms_cmds_CXX | \
   12839     export_symbols_cmds_CXX | \
   12840     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   12841     postinstall_cmds | postuninstall_cmds | \
   12842     old_postinstall_cmds | old_postuninstall_cmds | \
   12843     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   12844       # Double-quote double-evaled strings.
   12845       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   12846       ;;
   12847     *)
   12848       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   12849       ;;
   12850     esac
   12851   done
   12852 
   12853   case $lt_echo in
   12854   *'\$0 --fallback-echo"')
   12855     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   12856     ;;
   12857   esac
   12858 
   12859 cfgfile="$ofile"
   12860 
   12861   cat <<__EOF__ >> "$cfgfile"
   12862 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   12863 
   12864 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   12865 
   12866 # Shell to use when invoking shell scripts.
   12867 SHELL=$lt_SHELL
   12868 
   12869 # Whether or not to build shared libraries.
   12870 build_libtool_libs=$enable_shared
   12871 
   12872 # Whether or not to build static libraries.
   12873 build_old_libs=$enable_static
   12874 
   12875 # Whether or not to add -lc for building shared libraries.
   12876 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   12877 
   12878 # Whether or not to disallow shared libs when runtime libs are static
   12879 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   12880 
   12881 # Whether or not to optimize for fast installation.
   12882 fast_install=$enable_fast_install
   12883 
   12884 # The host system.
   12885 host_alias=$host_alias
   12886 host=$host
   12887 host_os=$host_os
   12888 
   12889 # The build system.
   12890 build_alias=$build_alias
   12891 build=$build
   12892 build_os=$build_os
   12893 
   12894 # An echo program that does not interpret backslashes.
   12895 echo=$lt_echo
   12896 
   12897 # The archiver.
   12898 AR=$lt_AR
   12899 AR_FLAGS=$lt_AR_FLAGS
   12900 
   12901 # A C compiler.
   12902 LTCC=$lt_LTCC
   12903 
   12904 # LTCC compiler flags.
   12905 LTCFLAGS=$lt_LTCFLAGS
   12906 
   12907 # A language-specific compiler.
   12908 CC=$lt_compiler_CXX
   12909 
   12910 # Is the compiler the GNU C compiler?
   12911 with_gcc=$GCC_CXX
   12912 
   12913 # An ERE matcher.
   12914 EGREP=$lt_EGREP
   12915 
   12916 # The linker used to build libraries.
   12917 LD=$lt_LD_CXX
   12918 
   12919 # Whether we need hard or soft links.
   12920 LN_S=$lt_LN_S
   12921 
   12922 # A BSD-compatible nm program.
   12923 NM=$lt_NM
   12924 
   12925 # A symbol stripping program
   12926 STRIP=$lt_STRIP
   12927 
   12928 # Used to examine libraries when file_magic_cmd begins "file"
   12929 MAGIC_CMD=$MAGIC_CMD
   12930 
   12931 # Used on cygwin: DLL creation program.
   12932 DLLTOOL="$DLLTOOL"
   12933 
   12934 # Used on cygwin: object dumper.
   12935 OBJDUMP="$OBJDUMP"
   12936 
   12937 # Used on cygwin: assembler.
   12938 AS="$AS"
   12939 
   12940 # The name of the directory that contains temporary libtool files.
   12941 objdir=$objdir
   12942 
   12943 # How to create reloadable object files.
   12944 reload_flag=$lt_reload_flag
   12945 reload_cmds=$lt_reload_cmds
   12946 
   12947 # How to pass a linker flag through the compiler.
   12948 wl=$lt_lt_prog_compiler_wl_CXX
   12949 
   12950 # Object file suffix (normally "o").
   12951 objext="$ac_objext"
   12952 
   12953 # Old archive suffix (normally "a").
   12954 libext="$libext"
   12955 
   12956 # Shared library suffix (normally ".so").
   12957 shrext_cmds='$shrext_cmds'
   12958 
   12959 # Executable file suffix (normally "").
   12960 exeext="$exeext"
   12961 
   12962 # Additional compiler flags for building library objects.
   12963 pic_flag=$lt_lt_prog_compiler_pic_CXX
   12964 pic_mode=$pic_mode
   12965 
   12966 # What is the maximum length of a command?
   12967 max_cmd_len=$lt_cv_sys_max_cmd_len
   12968 
   12969 # Does compiler simultaneously support -c and -o options?
   12970 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   12971 
   12972 # Must we lock files when doing compilation?
   12973 need_locks=$lt_need_locks
   12974 
   12975 # Do we need the lib prefix for modules?
   12976 need_lib_prefix=$need_lib_prefix
   12977 
   12978 # Do we need a version for libraries?
   12979 need_version=$need_version
   12980 
   12981 # Whether dlopen is supported.
   12982 dlopen_support=$enable_dlopen
   12983 
   12984 # Whether dlopen of programs is supported.
   12985 dlopen_self=$enable_dlopen_self
   12986 
   12987 # Whether dlopen of statically linked programs is supported.
   12988 dlopen_self_static=$enable_dlopen_self_static
   12989 
   12990 # Compiler flag to prevent dynamic linking.
   12991 link_static_flag=$lt_lt_prog_compiler_static_CXX
   12992 
   12993 # Compiler flag to turn off builtin functions.
   12994 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   12995 
   12996 # Compiler flag to allow reflexive dlopens.
   12997 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   12998 
   12999 # Compiler flag to generate shared objects directly from archives.
   13000 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13001 
   13002 # Compiler flag to generate thread-safe objects.
   13003 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13004 
   13005 # Library versioning type.
   13006 version_type=$version_type
   13007 
   13008 # Format of library name prefix.
   13009 libname_spec=$lt_libname_spec
   13010 
   13011 # List of archive names.  First name is the real one, the rest are links.
   13012 # The last name is the one that the linker finds with -lNAME.
   13013 library_names_spec=$lt_library_names_spec
   13014 
   13015 # The coded name of the library, if different from the real name.
   13016 soname_spec=$lt_soname_spec
   13017 
   13018 # Commands used to build and install an old-style archive.
   13019 RANLIB=$lt_RANLIB
   13020 old_archive_cmds=$lt_old_archive_cmds_CXX
   13021 old_postinstall_cmds=$lt_old_postinstall_cmds
   13022 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13023 
   13024 # Create an old-style archive from a shared archive.
   13025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13026 
   13027 # Create a temporary old-style archive to link instead of a shared archive.
   13028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13029 
   13030 # Commands used to build and install a shared archive.
   13031 archive_cmds=$lt_archive_cmds_CXX
   13032 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13033 postinstall_cmds=$lt_postinstall_cmds
   13034 postuninstall_cmds=$lt_postuninstall_cmds
   13035 
   13036 # Commands used to build a loadable module (assumed same as above if empty)
   13037 module_cmds=$lt_module_cmds_CXX
   13038 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13039 
   13040 # Commands to strip libraries.
   13041 old_striplib=$lt_old_striplib
   13042 striplib=$lt_striplib
   13043 
   13044 # Dependencies to place before the objects being linked to create a
   13045 # shared library.
   13046 predep_objects=$lt_predep_objects_CXX
   13047 
   13048 # Dependencies to place after the objects being linked to create a
   13049 # shared library.
   13050 postdep_objects=$lt_postdep_objects_CXX
   13051 
   13052 # Dependencies to place before the objects being linked to create a
   13053 # shared library.
   13054 predeps=$lt_predeps_CXX
   13055 
   13056 # Dependencies to place after the objects being linked to create a
   13057 # shared library.
   13058 postdeps=$lt_postdeps_CXX
   13059 
   13060 # The library search path used internally by the compiler when linking
   13061 # a shared library.
   13062 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13063 
   13064 # Method to check whether dependent libraries are shared objects.
   13065 deplibs_check_method=$lt_deplibs_check_method
   13066 
   13067 # Command to use when deplibs_check_method == file_magic.
   13068 file_magic_cmd=$lt_file_magic_cmd
   13069 
   13070 # Flag that allows shared libraries with undefined symbols to be built.
   13071 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13072 
   13073 # Flag that forces no undefined symbols.
   13074 no_undefined_flag=$lt_no_undefined_flag_CXX
   13075 
   13076 # Commands used to finish a libtool library installation in a directory.
   13077 finish_cmds=$lt_finish_cmds
   13078 
   13079 # Same as above, but a single script fragment to be evaled but not shown.
   13080 finish_eval=$lt_finish_eval
   13081 
   13082 # Take the output of nm and produce a listing of raw symbols and C names.
   13083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13084 
   13085 # Transform the output of nm in a proper C declaration
   13086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13087 
   13088 # Transform the output of nm in a C name address pair
   13089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13090 
   13091 # This is the shared library runtime path variable.
   13092 runpath_var=$runpath_var
   13093 
   13094 # This is the shared library path variable.
   13095 shlibpath_var=$shlibpath_var
   13096 
   13097 # Is shlibpath searched before the hard-coded library search path?
   13098 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13099 
   13100 # How to hardcode a shared library path into an executable.
   13101 hardcode_action=$hardcode_action_CXX
   13102 
   13103 # Whether we should hardcode library paths into libraries.
   13104 hardcode_into_libs=$hardcode_into_libs
   13105 
   13106 # Flag to hardcode \$libdir into a binary during linking.
   13107 # This must work even if \$libdir does not exist.
   13108 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13109 
   13110 # If ld is used when linking, flag to hardcode \$libdir into
   13111 # a binary during linking. This must work even if \$libdir does
   13112 # not exist.
   13113 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13114 
   13115 # Whether we need a single -rpath flag with a separated argument.
   13116 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13117 
   13118 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13119 # resulting binary.
   13120 hardcode_direct=$hardcode_direct_CXX
   13121 
   13122 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13123 # resulting binary.
   13124 hardcode_minus_L=$hardcode_minus_L_CXX
   13125 
   13126 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13127 # the resulting binary.
   13128 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13129 
   13130 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13131 # and all subsequent libraries and executables linked against it.
   13132 hardcode_automatic=$hardcode_automatic_CXX
   13133 
   13134 # Variables whose values should be saved in libtool wrapper scripts and
   13135 # restored at relink time.
   13136 variables_saved_for_relink="$variables_saved_for_relink"
   13137 
   13138 # Whether libtool must link a program against all its dependency libraries.
   13139 link_all_deplibs=$link_all_deplibs_CXX
   13140 
   13141 # Compile-time system search path for libraries
   13142 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13143 
   13144 # Run-time system search path for libraries
   13145 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13146 
   13147 # Fix the shell variable \$srcfile for the compiler.
   13148 fix_srcfile_path="$fix_srcfile_path_CXX"
   13149 
   13150 # Set to yes if exported symbols are required.
   13151 always_export_symbols=$always_export_symbols_CXX
   13152 
   13153 # The commands to list exported symbols.
   13154 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13155 
   13156 # The commands to extract the exported symbol list from a shared archive.
   13157 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13158 
   13159 # Symbols that should not be listed in the preloaded symbols.
   13160 exclude_expsyms=$lt_exclude_expsyms_CXX
   13161 
   13162 # Symbols that must always be exported.
   13163 include_expsyms=$lt_include_expsyms_CXX
   13164 
   13165 # ### END LIBTOOL TAG CONFIG: $tagname
   13166 
   13167 __EOF__
   13168 
   13169 
   13170 else
   13171   # If there is no Makefile yet, we rely on a make rule to execute
   13172   # `config.status --recheck' to rerun these tests and create the
   13173   # libtool script then.
   13174   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13175   if test -f "$ltmain_in"; then
   13176     test -f Makefile && make "$ltmain"
   13177   fi
   13178 fi
   13179 
   13180 
   13181 ac_ext=c
   13182 ac_cpp='$CPP $CPPFLAGS'
   13183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13186 
   13187 CC=$lt_save_CC
   13188 LDCXX=$LD
   13189 LD=$lt_save_LD
   13190 GCC=$lt_save_GCC
   13191 with_gnu_ldcxx=$with_gnu_ld
   13192 with_gnu_ld=$lt_save_with_gnu_ld
   13193 lt_cv_path_LDCXX=$lt_cv_path_LD
   13194 lt_cv_path_LD=$lt_save_path_LD
   13195 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13196 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13197 
   13198 	else
   13199 	  tagname=""
   13200 	fi
   13201 	;;
   13202 
   13203       F77)
   13204 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13205 
   13206 ac_ext=f
   13207 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13208 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13209 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13210 
   13211 
   13212 archive_cmds_need_lc_F77=no
   13213 allow_undefined_flag_F77=
   13214 always_export_symbols_F77=no
   13215 archive_expsym_cmds_F77=
   13216 export_dynamic_flag_spec_F77=
   13217 hardcode_direct_F77=no
   13218 hardcode_libdir_flag_spec_F77=
   13219 hardcode_libdir_flag_spec_ld_F77=
   13220 hardcode_libdir_separator_F77=
   13221 hardcode_minus_L_F77=no
   13222 hardcode_automatic_F77=no
   13223 module_cmds_F77=
   13224 module_expsym_cmds_F77=
   13225 link_all_deplibs_F77=unknown
   13226 old_archive_cmds_F77=$old_archive_cmds
   13227 no_undefined_flag_F77=
   13228 whole_archive_flag_spec_F77=
   13229 enable_shared_with_static_runtimes_F77=no
   13230 
   13231 # Source file extension for f77 test sources.
   13232 ac_ext=f
   13233 
   13234 # Object file extension for compiled f77 test sources.
   13235 objext=o
   13236 objext_F77=$objext
   13237 
   13238 # Code to be used in simple compile tests
   13239 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13240 
   13241 # Code to be used in simple link tests
   13242 lt_simple_link_test_code="      program t\n      end\n"
   13243 
   13244 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13245 
   13246 # If no C compiler was specified, use CC.
   13247 LTCC=${LTCC-"$CC"}
   13248 
   13249 # If no C compiler flags were specified, use CFLAGS.
   13250 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13251 
   13252 # Allow CC to be a program name with arguments.
   13253 compiler=$CC
   13254 
   13255 
   13256 # save warnings/boilerplate of simple test code
   13257 ac_outfile=conftest.$ac_objext
   13258 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13259 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13260 _lt_compiler_boilerplate=`cat conftest.err`
   13261 $rm conftest*
   13262 
   13263 ac_outfile=conftest.$ac_objext
   13264 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13265 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13266 _lt_linker_boilerplate=`cat conftest.err`
   13267 $rm conftest*
   13268 
   13269 
   13270 # Allow CC to be a program name with arguments.
   13271 lt_save_CC="$CC"
   13272 CC=${F77-"f77"}
   13273 compiler=$CC
   13274 compiler_F77=$CC
   13275 for cc_temp in $compiler""; do
   13276   case $cc_temp in
   13277     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13278     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13279     \-*) ;;
   13280     *) break;;
   13281   esac
   13282 done
   13283 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13284 
   13285 
   13286 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13287 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   13288 echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13289 echo "${ECHO_T}$can_build_shared" >&6
   13290 
   13291 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13292 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   13293 test "$can_build_shared" = "no" && enable_shared=no
   13294 
   13295 # On AIX, shared libraries and static libraries use the same namespace, and
   13296 # are all built from PIC.
   13297 case $host_os in
   13298 aix3*)
   13299   test "$enable_shared" = yes && enable_static=no
   13300   if test -n "$RANLIB"; then
   13301     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13302     postinstall_cmds='$RANLIB $lib'
   13303   fi
   13304   ;;
   13305 aix4* | aix5*)
   13306   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13307     test "$enable_shared" = yes && enable_static=no
   13308   fi
   13309   ;;
   13310 esac
   13311 echo "$as_me:$LINENO: result: $enable_shared" >&5
   13312 echo "${ECHO_T}$enable_shared" >&6
   13313 
   13314 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13315 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   13316 # Make sure either enable_shared or enable_static is yes.
   13317 test "$enable_shared" = yes || enable_static=yes
   13318 echo "$as_me:$LINENO: result: $enable_static" >&5
   13319 echo "${ECHO_T}$enable_static" >&6
   13320 
   13321 GCC_F77="$G77"
   13322 LD_F77="$LD"
   13323 
   13324 lt_prog_compiler_wl_F77=
   13325 lt_prog_compiler_pic_F77=
   13326 lt_prog_compiler_static_F77=
   13327 
   13328 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13329 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   13330 
   13331   if test "$GCC" = yes; then
   13332     lt_prog_compiler_wl_F77='-Wl,'
   13333     lt_prog_compiler_static_F77='-static'
   13334 
   13335     case $host_os in
   13336       aix*)
   13337       # All AIX code is PIC.
   13338       if test "$host_cpu" = ia64; then
   13339 	# AIX 5 now supports IA64 processor
   13340 	lt_prog_compiler_static_F77='-Bstatic'
   13341       fi
   13342       ;;
   13343 
   13344     amigaos*)
   13345       # FIXME: we need at least 68020 code to build shared libraries, but
   13346       # adding the `-m68020' flag to GCC prevents building anything better,
   13347       # like `-m68040'.
   13348       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13349       ;;
   13350 
   13351     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13352       # PIC is the default for these OSes.
   13353       ;;
   13354 
   13355     mingw* | pw32* | os2*)
   13356       # This hack is so that the source file can tell whether it is being
   13357       # built for inclusion in a dll (and should export symbols for example).
   13358       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13359       ;;
   13360 
   13361     darwin* | rhapsody*)
   13362       # PIC is the default on this platform
   13363       # Common symbols not allowed in MH_DYLIB files
   13364       lt_prog_compiler_pic_F77='-fno-common'
   13365       ;;
   13366 
   13367     interix3*)
   13368       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13369       # Instead, we relocate shared libraries at runtime.
   13370       ;;
   13371 
   13372     msdosdjgpp*)
   13373       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13374       # on systems that don't support them.
   13375       lt_prog_compiler_can_build_shared_F77=no
   13376       enable_shared=no
   13377       ;;
   13378 
   13379     sysv4*MP*)
   13380       if test -d /usr/nec; then
   13381 	lt_prog_compiler_pic_F77=-Kconform_pic
   13382       fi
   13383       ;;
   13384 
   13385     hpux*)
   13386       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13387       # not for PA HP-UX.
   13388       case $host_cpu in
   13389       hppa*64*|ia64*)
   13390 	# +Z the default
   13391 	;;
   13392       *)
   13393 	lt_prog_compiler_pic_F77='-fPIC'
   13394 	;;
   13395       esac
   13396       ;;
   13397 
   13398     *)
   13399       lt_prog_compiler_pic_F77='-fPIC'
   13400       ;;
   13401     esac
   13402   else
   13403     # PORTME Check for flag to pass linker flags through the system compiler.
   13404     case $host_os in
   13405     aix*)
   13406       lt_prog_compiler_wl_F77='-Wl,'
   13407       if test "$host_cpu" = ia64; then
   13408 	# AIX 5 now supports IA64 processor
   13409 	lt_prog_compiler_static_F77='-Bstatic'
   13410       else
   13411 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13412       fi
   13413       ;;
   13414       darwin*)
   13415         # PIC is the default on this platform
   13416         # Common symbols not allowed in MH_DYLIB files
   13417        case $cc_basename in
   13418          xlc*)
   13419          lt_prog_compiler_pic_F77='-qnocommon'
   13420          lt_prog_compiler_wl_F77='-Wl,'
   13421          ;;
   13422        esac
   13423        ;;
   13424 
   13425     mingw* | pw32* | os2*)
   13426       # This hack is so that the source file can tell whether it is being
   13427       # built for inclusion in a dll (and should export symbols for example).
   13428       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13429       ;;
   13430 
   13431     hpux9* | hpux10* | hpux11*)
   13432       lt_prog_compiler_wl_F77='-Wl,'
   13433       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13434       # not for PA HP-UX.
   13435       case $host_cpu in
   13436       hppa*64*|ia64*)
   13437 	# +Z the default
   13438 	;;
   13439       *)
   13440 	lt_prog_compiler_pic_F77='+Z'
   13441 	;;
   13442       esac
   13443       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13444       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13445       ;;
   13446 
   13447     irix5* | irix6* | nonstopux*)
   13448       lt_prog_compiler_wl_F77='-Wl,'
   13449       # PIC (with -KPIC) is the default.
   13450       lt_prog_compiler_static_F77='-non_shared'
   13451       ;;
   13452 
   13453     newsos6)
   13454       lt_prog_compiler_pic_F77='-KPIC'
   13455       lt_prog_compiler_static_F77='-Bstatic'
   13456       ;;
   13457 
   13458     linux*)
   13459       case $cc_basename in
   13460       icc* | ecc*)
   13461 	lt_prog_compiler_wl_F77='-Wl,'
   13462 	lt_prog_compiler_pic_F77='-KPIC'
   13463 	lt_prog_compiler_static_F77='-static'
   13464         ;;
   13465       pgcc* | pgf77* | pgf90* | pgf95*)
   13466         # Portland Group compilers (*not* the Pentium gcc compiler,
   13467 	# which looks to be a dead project)
   13468 	lt_prog_compiler_wl_F77='-Wl,'
   13469 	lt_prog_compiler_pic_F77='-fpic'
   13470 	lt_prog_compiler_static_F77='-Bstatic'
   13471         ;;
   13472       ccc*)
   13473         lt_prog_compiler_wl_F77='-Wl,'
   13474         # All Alpha code is PIC.
   13475         lt_prog_compiler_static_F77='-non_shared'
   13476         ;;
   13477       esac
   13478       ;;
   13479 
   13480     osf3* | osf4* | osf5*)
   13481       lt_prog_compiler_wl_F77='-Wl,'
   13482       # All OSF/1 code is PIC.
   13483       lt_prog_compiler_static_F77='-non_shared'
   13484       ;;
   13485 
   13486     solaris*)
   13487       lt_prog_compiler_pic_F77='-KPIC'
   13488       lt_prog_compiler_static_F77='-Bstatic'
   13489       case $cc_basename in
   13490       f77* | f90* | f95*)
   13491 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13492       *)
   13493 	lt_prog_compiler_wl_F77='-Wl,';;
   13494       esac
   13495       ;;
   13496 
   13497     sunos4*)
   13498       lt_prog_compiler_wl_F77='-Qoption ld '
   13499       lt_prog_compiler_pic_F77='-PIC'
   13500       lt_prog_compiler_static_F77='-Bstatic'
   13501       ;;
   13502 
   13503     sysv4 | sysv4.2uw2* | sysv4.3*)
   13504       lt_prog_compiler_wl_F77='-Wl,'
   13505       lt_prog_compiler_pic_F77='-KPIC'
   13506       lt_prog_compiler_static_F77='-Bstatic'
   13507       ;;
   13508 
   13509     sysv4*MP*)
   13510       if test -d /usr/nec ;then
   13511 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13512 	lt_prog_compiler_static_F77='-Bstatic'
   13513       fi
   13514       ;;
   13515 
   13516     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13517       lt_prog_compiler_wl_F77='-Wl,'
   13518       lt_prog_compiler_pic_F77='-KPIC'
   13519       lt_prog_compiler_static_F77='-Bstatic'
   13520       ;;
   13521 
   13522     unicos*)
   13523       lt_prog_compiler_wl_F77='-Wl,'
   13524       lt_prog_compiler_can_build_shared_F77=no
   13525       ;;
   13526 
   13527     uts4*)
   13528       lt_prog_compiler_pic_F77='-pic'
   13529       lt_prog_compiler_static_F77='-Bstatic'
   13530       ;;
   13531 
   13532     *)
   13533       lt_prog_compiler_can_build_shared_F77=no
   13534       ;;
   13535     esac
   13536   fi
   13537 
   13538 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13539 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
   13540 
   13541 #
   13542 # Check to make sure the PIC flag actually works.
   13543 #
   13544 if test -n "$lt_prog_compiler_pic_F77"; then
   13545 
   13546 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13547 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
   13548 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13549   echo $ECHO_N "(cached) $ECHO_C" >&6
   13550 else
   13551   lt_prog_compiler_pic_works_F77=no
   13552   ac_outfile=conftest.$ac_objext
   13553    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13554    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13555    # Insert the option either (1) after the last *FLAGS variable, or
   13556    # (2) before a word containing "conftest.", or (3) at the end.
   13557    # Note that $ac_compile itself does not contain backslashes and begins
   13558    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13559    # The option is referenced via a variable to avoid confusing sed.
   13560    lt_compile=`echo "$ac_compile" | $SED \
   13561    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13562    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13563    -e 's:$: $lt_compiler_flag:'`
   13564    (eval echo "\"\$as_me:13564: $lt_compile\"" >&5)
   13565    (eval "$lt_compile" 2>conftest.err)
   13566    ac_status=$?
   13567    cat conftest.err >&5
   13568    echo "$as_me:13568: \$? = $ac_status" >&5
   13569    if (exit $ac_status) && test -s "$ac_outfile"; then
   13570      # The compiler can only warn and ignore the option if not recognized
   13571      # So say no if there are warnings other than the usual output.
   13572      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13573      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13574      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13575        lt_prog_compiler_pic_works_F77=yes
   13576      fi
   13577    fi
   13578    $rm conftest*
   13579 
   13580 fi
   13581 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13582 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
   13583 
   13584 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13585     case $lt_prog_compiler_pic_F77 in
   13586      "" | " "*) ;;
   13587      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13588      esac
   13589 else
   13590     lt_prog_compiler_pic_F77=
   13591      lt_prog_compiler_can_build_shared_F77=no
   13592 fi
   13593 
   13594 fi
   13595 case $host_os in
   13596   # For platforms which do not support PIC, -DPIC is meaningless:
   13597   *djgpp*)
   13598     lt_prog_compiler_pic_F77=
   13599     ;;
   13600   *)
   13601     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13602     ;;
   13603 esac
   13604 
   13605 #
   13606 # Check to make sure the static flag actually works.
   13607 #
   13608 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13609 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13610 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   13611 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13612   echo $ECHO_N "(cached) $ECHO_C" >&6
   13613 else
   13614   lt_prog_compiler_static_works_F77=no
   13615    save_LDFLAGS="$LDFLAGS"
   13616    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13617    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13618    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13619      # The linker can only warn and ignore the option if not recognized
   13620      # So say no if there are warnings
   13621      if test -s conftest.err; then
   13622        # Append any errors to the config.log.
   13623        cat conftest.err 1>&5
   13624        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13625        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13626        if diff conftest.exp conftest.er2 >/dev/null; then
   13627          lt_prog_compiler_static_works_F77=yes
   13628        fi
   13629      else
   13630        lt_prog_compiler_static_works_F77=yes
   13631      fi
   13632    fi
   13633    $rm conftest*
   13634    LDFLAGS="$save_LDFLAGS"
   13635 
   13636 fi
   13637 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13638 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
   13639 
   13640 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13641     :
   13642 else
   13643     lt_prog_compiler_static_F77=
   13644 fi
   13645 
   13646 
   13647 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13648 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   13649 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13650   echo $ECHO_N "(cached) $ECHO_C" >&6
   13651 else
   13652   lt_cv_prog_compiler_c_o_F77=no
   13653    $rm -r conftest 2>/dev/null
   13654    mkdir conftest
   13655    cd conftest
   13656    mkdir out
   13657    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13658 
   13659    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13660    # Insert the option either (1) after the last *FLAGS variable, or
   13661    # (2) before a word containing "conftest.", or (3) at the end.
   13662    # Note that $ac_compile itself does not contain backslashes and begins
   13663    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13664    lt_compile=`echo "$ac_compile" | $SED \
   13665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13667    -e 's:$: $lt_compiler_flag:'`
   13668    (eval echo "\"\$as_me:13668: $lt_compile\"" >&5)
   13669    (eval "$lt_compile" 2>out/conftest.err)
   13670    ac_status=$?
   13671    cat out/conftest.err >&5
   13672    echo "$as_me:13672: \$? = $ac_status" >&5
   13673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13674    then
   13675      # The compiler can only warn and ignore the option if not recognized
   13676      # So say no if there are warnings
   13677      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13678      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13679      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13680        lt_cv_prog_compiler_c_o_F77=yes
   13681      fi
   13682    fi
   13683    chmod u+w . 2>&5
   13684    $rm conftest*
   13685    # SGI C++ compiler will create directory out/ii_files/ for
   13686    # template instantiation
   13687    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13688    $rm out/* && rmdir out
   13689    cd ..
   13690    rmdir conftest
   13691    $rm conftest*
   13692 
   13693 fi
   13694 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   13695 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
   13696 
   13697 
   13698 hard_links="nottested"
   13699 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   13700   # do not overwrite the value of need_locks provided by the user
   13701   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13702 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   13703   hard_links=yes
   13704   $rm conftest*
   13705   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13706   touch conftest.a
   13707   ln conftest.a conftest.b 2>&5 || hard_links=no
   13708   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13709   echo "$as_me:$LINENO: result: $hard_links" >&5
   13710 echo "${ECHO_T}$hard_links" >&6
   13711   if test "$hard_links" = no; then
   13712     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13713 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13714     need_locks=warn
   13715   fi
   13716 else
   13717   need_locks=no
   13718 fi
   13719 
   13720 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13721 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   13722 
   13723   runpath_var=
   13724   allow_undefined_flag_F77=
   13725   enable_shared_with_static_runtimes_F77=no
   13726   archive_cmds_F77=
   13727   archive_expsym_cmds_F77=
   13728   old_archive_From_new_cmds_F77=
   13729   old_archive_from_expsyms_cmds_F77=
   13730   export_dynamic_flag_spec_F77=
   13731   whole_archive_flag_spec_F77=
   13732   thread_safe_flag_spec_F77=
   13733   hardcode_libdir_flag_spec_F77=
   13734   hardcode_libdir_flag_spec_ld_F77=
   13735   hardcode_libdir_separator_F77=
   13736   hardcode_direct_F77=no
   13737   hardcode_minus_L_F77=no
   13738   hardcode_shlibpath_var_F77=unsupported
   13739   link_all_deplibs_F77=unknown
   13740   hardcode_automatic_F77=no
   13741   module_cmds_F77=
   13742   module_expsym_cmds_F77=
   13743   always_export_symbols_F77=no
   13744   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13745   # include_expsyms should be a list of space-separated symbols to be *always*
   13746   # included in the symbol list
   13747   include_expsyms_F77=
   13748   # exclude_expsyms can be an extended regexp of symbols to exclude
   13749   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   13750   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   13751   # as well as any symbol that contains `d'.
   13752   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   13753   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13754   # platforms (ab)use it in PIC code, but their linkers get confused if
   13755   # the symbol is explicitly referenced.  Since portable code cannot
   13756   # rely on this symbol name, it's probably fine to never include it in
   13757   # preloaded symbol tables.
   13758   extract_expsyms_cmds=
   13759   # Just being paranoid about ensuring that cc_basename is set.
   13760   for cc_temp in $compiler""; do
   13761   case $cc_temp in
   13762     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13763     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13764     \-*) ;;
   13765     *) break;;
   13766   esac
   13767 done
   13768 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13769 
   13770   case $host_os in
   13771   cygwin* | mingw* | pw32*)
   13772     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   13773     # When not using gcc, we currently assume that we are using
   13774     # Microsoft Visual C++.
   13775     if test "$GCC" != yes; then
   13776       with_gnu_ld=no
   13777     fi
   13778     ;;
   13779   interix*)
   13780     # we just hope/assume this is gcc and not c89 (= MSVC++)
   13781     with_gnu_ld=yes
   13782     ;;
   13783   openbsd*)
   13784     with_gnu_ld=no
   13785     ;;
   13786   esac
   13787 
   13788   ld_shlibs_F77=yes
   13789   if test "$with_gnu_ld" = yes; then
   13790     # If archive_cmds runs LD, not CC, wlarc should be empty
   13791     wlarc='${wl}'
   13792 
   13793     # Set some defaults for GNU ld with shared library support. These
   13794     # are reset later if shared libraries are not supported. Putting them
   13795     # here allows them to be overridden if necessary.
   13796     runpath_var=LD_RUN_PATH
   13797     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   13798     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   13799     # ancient GNU ld didn't support --whole-archive et. al.
   13800     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   13801 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13802       else
   13803   	whole_archive_flag_spec_F77=
   13804     fi
   13805     supports_anon_versioning=no
   13806     case `$LD -v 2>/dev/null` in
   13807       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13808       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13809       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13810       *\ 2.11.*) ;; # other 2.11 versions
   13811       *) supports_anon_versioning=yes ;;
   13812     esac
   13813 
   13814     # See if GNU ld supports shared libraries.
   13815     case $host_os in
   13816     aix3* | aix4* | aix5*)
   13817       # On AIX/PPC, the GNU linker is very broken
   13818       if test "$host_cpu" != ia64; then
   13819 	ld_shlibs_F77=no
   13820 	cat <<EOF 1>&2
   13821 
   13822 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   13823 *** to be unable to reliably create shared libraries on AIX.
   13824 *** Therefore, libtool is disabling shared libraries support.  If you
   13825 *** really care for shared libraries, you may want to modify your PATH
   13826 *** so that a non-GNU linker is found, and then restart.
   13827 
   13828 EOF
   13829       fi
   13830       ;;
   13831 
   13832     amigaos*)
   13833       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)'
   13834       hardcode_libdir_flag_spec_F77='-L$libdir'
   13835       hardcode_minus_L_F77=yes
   13836 
   13837       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   13838       # that the semantics of dynamic libraries on AmigaOS, at least up
   13839       # to version 4, is to share data among multiple programs linked
   13840       # with the same dynamic library.  Since this doesn't match the
   13841       # behavior of shared libraries on other platforms, we can't use
   13842       # them.
   13843       ld_shlibs_F77=no
   13844       ;;
   13845 
   13846     beos*)
   13847       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13848 	allow_undefined_flag_F77=unsupported
   13849 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13850 	# support --undefined.  This deserves some investigation.  FIXME
   13851 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13852       else
   13853 	ld_shlibs_F77=no
   13854       fi
   13855       ;;
   13856 
   13857     cygwin* | mingw* | pw32*)
   13858       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   13859       # as there is no search path for DLLs.
   13860       hardcode_libdir_flag_spec_F77='-L$libdir'
   13861       allow_undefined_flag_F77=unsupported
   13862       always_export_symbols_F77=no
   13863       enable_shared_with_static_runtimes_F77=yes
   13864       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   13865 
   13866       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   13867         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13868 	# If the export-symbols file already is a .def file (1st line
   13869 	# is EXPORTS), use it as is; otherwise, prepend...
   13870 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13871 	  cp $export_symbols $output_objdir/$soname.def;
   13872 	else
   13873 	  echo EXPORTS > $output_objdir/$soname.def;
   13874 	  cat $export_symbols >> $output_objdir/$soname.def;
   13875 	fi~
   13876 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13877       else
   13878 	ld_shlibs_F77=no
   13879       fi
   13880       ;;
   13881 
   13882     interix3*)
   13883       hardcode_direct_F77=no
   13884       hardcode_shlibpath_var_F77=no
   13885       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   13886       export_dynamic_flag_spec_F77='${wl}-E'
   13887       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13888       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13889       # default) and relocated if they conflict, which is a slow very memory
   13890       # consuming and fragmenting process.  To avoid this, we pick a random,
   13891       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13892       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13893       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'
   13894       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'
   13895       ;;
   13896 
   13897     linux*)
   13898       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13899 	tmp_addflag=
   13900 	case $cc_basename,$host_cpu in
   13901 	pgcc*)				# Portland Group C compiler
   13902 	  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'
   13903 	  tmp_addflag=' $pic_flag'
   13904 	  ;;
   13905 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   13906 	  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'
   13907 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13908 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   13909 	  tmp_addflag=' -i_dynamic' ;;
   13910 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13911 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13912 	ifc* | ifort*)			# Intel Fortran compiler
   13913 	  tmp_addflag=' -nofor_main' ;;
   13914 	esac
   13915 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13916 
   13917 	if test $supports_anon_versioning = yes; then
   13918 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   13919   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13920   $echo "local: *; };" >> $output_objdir/$libname.ver~
   13921 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13922 	fi
   13923       else
   13924 	ld_shlibs_F77=no
   13925       fi
   13926       ;;
   13927 
   13928     netbsd*)
   13929       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13930 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13931 	wlarc=
   13932       else
   13933 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13934 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13935       fi
   13936       ;;
   13937 
   13938     solaris*)
   13939       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   13940 	ld_shlibs_F77=no
   13941 	cat <<EOF 1>&2
   13942 
   13943 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13944 *** create shared libraries on Solaris systems.  Therefore, libtool
   13945 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13946 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13947 *** your PATH or compiler configuration so that the native linker is
   13948 *** used, and then restart.
   13949 
   13950 EOF
   13951       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13952 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13953 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13954       else
   13955 	ld_shlibs_F77=no
   13956       fi
   13957       ;;
   13958 
   13959     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13960       case `$LD -v 2>&1` in
   13961         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13962 	ld_shlibs_F77=no
   13963 	cat <<_LT_EOF 1>&2
   13964 
   13965 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   13966 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13967 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13968 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13969 *** your PATH or compiler configuration so that the native linker is
   13970 *** used, and then restart.
   13971 
   13972 _LT_EOF
   13973 	;;
   13974 	*)
   13975 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13976 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   13977 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   13978 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   13979 	  else
   13980 	    ld_shlibs_F77=no
   13981 	  fi
   13982 	;;
   13983       esac
   13984       ;;
   13985 
   13986     sunos4*)
   13987       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13988       wlarc=
   13989       hardcode_direct_F77=yes
   13990       hardcode_shlibpath_var_F77=no
   13991       ;;
   13992 
   13993     *)
   13994       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   13995 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13996 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13997       else
   13998 	ld_shlibs_F77=no
   13999       fi
   14000       ;;
   14001     esac
   14002 
   14003     if test "$ld_shlibs_F77" = no; then
   14004       runpath_var=
   14005       hardcode_libdir_flag_spec_F77=
   14006       export_dynamic_flag_spec_F77=
   14007       whole_archive_flag_spec_F77=
   14008     fi
   14009   else
   14010     # PORTME fill in a description of your system's linker (not GNU ld)
   14011     case $host_os in
   14012     aix3*)
   14013       allow_undefined_flag_F77=unsupported
   14014       always_export_symbols_F77=yes
   14015       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'
   14016       # Note: this linker hardcodes the directories in LIBPATH if there
   14017       # are no directories specified by -L.
   14018       hardcode_minus_L_F77=yes
   14019       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14020 	# Neither direct hardcoding nor static linking is supported with a
   14021 	# broken collect2.
   14022 	hardcode_direct_F77=unsupported
   14023       fi
   14024       ;;
   14025 
   14026     aix4* | aix5*)
   14027       if test "$host_cpu" = ia64; then
   14028 	# On IA64, the linker does run time linking by default, so we don't
   14029 	# have to do anything special.
   14030 	aix_use_runtimelinking=no
   14031 	exp_sym_flag='-Bexport'
   14032 	no_entry_flag=""
   14033       else
   14034 	# If we're using GNU nm, then we don't want the "-C" option.
   14035 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14036 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14037 	  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'
   14038 	else
   14039 	  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'
   14040 	fi
   14041 	aix_use_runtimelinking=no
   14042 
   14043 	# Test if we are trying to use run time linking or normal
   14044 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14045 	# need to do runtime linking.
   14046 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14047 	  for ld_flag in $LDFLAGS; do
   14048   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14049   	    aix_use_runtimelinking=yes
   14050   	    break
   14051   	  fi
   14052 	  done
   14053 	  ;;
   14054 	esac
   14055 
   14056 	exp_sym_flag='-bexport'
   14057 	no_entry_flag='-bnoentry'
   14058       fi
   14059 
   14060       # When large executables or shared objects are built, AIX ld can
   14061       # have problems creating the table of contents.  If linking a library
   14062       # or program results in "error TOC overflow" add -mminimal-toc to
   14063       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14064       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14065 
   14066       archive_cmds_F77=''
   14067       hardcode_direct_F77=yes
   14068       hardcode_libdir_separator_F77=':'
   14069       link_all_deplibs_F77=yes
   14070 
   14071       if test "$GCC" = yes; then
   14072 	case $host_os in aix4.[012]|aix4.[012].*)
   14073 	# We only want to do this on AIX 4.2 and lower, the check
   14074 	# below for broken collect2 doesn't work under 4.3+
   14075 	  collect2name=`${CC} -print-prog-name=collect2`
   14076 	  if test -f "$collect2name" && \
   14077   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14078 	  then
   14079   	  # We have reworked collect2
   14080   	  hardcode_direct_F77=yes
   14081 	  else
   14082   	  # We have old collect2
   14083   	  hardcode_direct_F77=unsupported
   14084   	  # It fails to find uninstalled libraries when the uninstalled
   14085   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14086   	  # to unsupported forces relinking
   14087   	  hardcode_minus_L_F77=yes
   14088   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14089   	  hardcode_libdir_separator_F77=
   14090 	  fi
   14091 	  ;;
   14092 	esac
   14093 	shared_flag='-shared'
   14094 	if test "$aix_use_runtimelinking" = yes; then
   14095 	  shared_flag="$shared_flag "'${wl}-G'
   14096 	fi
   14097       else
   14098 	# not using gcc
   14099 	if test "$host_cpu" = ia64; then
   14100   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14101   	# chokes on -Wl,-G. The following line is correct:
   14102 	  shared_flag='-G'
   14103 	else
   14104 	  if test "$aix_use_runtimelinking" = yes; then
   14105 	    shared_flag='${wl}-G'
   14106 	  else
   14107 	    shared_flag='${wl}-bM:SRE'
   14108 	  fi
   14109 	fi
   14110       fi
   14111 
   14112       # It seems that -bexpall does not export symbols beginning with
   14113       # underscore (_), so it is better to generate a list of symbols to export.
   14114       always_export_symbols_F77=yes
   14115       if test "$aix_use_runtimelinking" = yes; then
   14116 	# Warning - without using the other runtime loading flags (-brtl),
   14117 	# -berok will link without error, but may produce a broken library.
   14118 	allow_undefined_flag_F77='-berok'
   14119        # Determine the default libpath from the value encoded in an empty executable.
   14120        cat >conftest.$ac_ext <<_ACEOF
   14121       program main
   14122 
   14123       end
   14124 _ACEOF
   14125 rm -f conftest.$ac_objext conftest$ac_exeext
   14126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14127   (eval $ac_link) 2>conftest.er1
   14128   ac_status=$?
   14129   grep -v '^ *+' conftest.er1 >conftest.err
   14130   rm -f conftest.er1
   14131   cat conftest.err >&5
   14132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14133   (exit $ac_status); } &&
   14134 	 { ac_try='test -z "$ac_f77_werror_flag"
   14135 			 || test ! -s conftest.err'
   14136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14137   (eval $ac_try) 2>&5
   14138   ac_status=$?
   14139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14140   (exit $ac_status); }; } &&
   14141 	 { ac_try='test -s conftest$ac_exeext'
   14142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14143   (eval $ac_try) 2>&5
   14144   ac_status=$?
   14145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14146   (exit $ac_status); }; }; then
   14147 
   14148 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14149 }'`
   14150 # Check for a 64-bit object if we didn't find anything.
   14151 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; }
   14152 }'`; fi
   14153 else
   14154   echo "$as_me: failed program was:" >&5
   14155 sed 's/^/| /' conftest.$ac_ext >&5
   14156 
   14157 fi
   14158 rm -f conftest.err conftest.$ac_objext \
   14159       conftest$ac_exeext conftest.$ac_ext
   14160 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14161 
   14162        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14163 	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"
   14164        else
   14165 	if test "$host_cpu" = ia64; then
   14166 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14167 	  allow_undefined_flag_F77="-z nodefs"
   14168 	  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"
   14169 	else
   14170 	 # Determine the default libpath from the value encoded in an empty executable.
   14171 	 cat >conftest.$ac_ext <<_ACEOF
   14172       program main
   14173 
   14174       end
   14175 _ACEOF
   14176 rm -f conftest.$ac_objext conftest$ac_exeext
   14177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14178   (eval $ac_link) 2>conftest.er1
   14179   ac_status=$?
   14180   grep -v '^ *+' conftest.er1 >conftest.err
   14181   rm -f conftest.er1
   14182   cat conftest.err >&5
   14183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14184   (exit $ac_status); } &&
   14185 	 { ac_try='test -z "$ac_f77_werror_flag"
   14186 			 || test ! -s conftest.err'
   14187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14188   (eval $ac_try) 2>&5
   14189   ac_status=$?
   14190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14191   (exit $ac_status); }; } &&
   14192 	 { ac_try='test -s conftest$ac_exeext'
   14193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14194   (eval $ac_try) 2>&5
   14195   ac_status=$?
   14196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14197   (exit $ac_status); }; }; then
   14198 
   14199 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14200 }'`
   14201 # Check for a 64-bit object if we didn't find anything.
   14202 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; }
   14203 }'`; fi
   14204 else
   14205   echo "$as_me: failed program was:" >&5
   14206 sed 's/^/| /' conftest.$ac_ext >&5
   14207 
   14208 fi
   14209 rm -f conftest.err conftest.$ac_objext \
   14210       conftest$ac_exeext conftest.$ac_ext
   14211 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14212 
   14213 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14214 	  # Warning - without using the other run time loading flags,
   14215 	  # -berok will link without error, but may produce a broken library.
   14216 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14217 	  allow_undefined_flag_F77=' ${wl}-berok'
   14218 	  # Exported symbols can be pulled into shared objects from archives
   14219 	  whole_archive_flag_spec_F77='$convenience'
   14220 	  archive_cmds_need_lc_F77=yes
   14221 	  # This is similar to how AIX traditionally builds its shared libraries.
   14222 	  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'
   14223 	fi
   14224       fi
   14225       ;;
   14226 
   14227     amigaos*)
   14228       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)'
   14229       hardcode_libdir_flag_spec_F77='-L$libdir'
   14230       hardcode_minus_L_F77=yes
   14231       # see comment about different semantics on the GNU ld section
   14232       ld_shlibs_F77=no
   14233       ;;
   14234 
   14235     bsdi[45]*)
   14236       export_dynamic_flag_spec_F77=-rdynamic
   14237       ;;
   14238 
   14239     cygwin* | mingw* | pw32*)
   14240       # When not using gcc, we currently assume that we are using
   14241       # Microsoft Visual C++.
   14242       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14243       # no search path for DLLs.
   14244       hardcode_libdir_flag_spec_F77=' '
   14245       allow_undefined_flag_F77=unsupported
   14246       # Tell ltmain to make .lib files, not .a files.
   14247       libext=lib
   14248       # Tell ltmain to make .dll files, not .so files.
   14249       shrext_cmds=".dll"
   14250       # FIXME: Setting linknames here is a bad hack.
   14251       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14252       # The linker will automatically build a .lib file if we build a DLL.
   14253       old_archive_From_new_cmds_F77='true'
   14254       # FIXME: Should let the user specify the lib program.
   14255       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14256       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14257       enable_shared_with_static_runtimes_F77=yes
   14258       ;;
   14259 
   14260     darwin* | rhapsody*)
   14261       case $host_os in
   14262         rhapsody* | darwin1.[012])
   14263          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14264          ;;
   14265        *) # Darwin 1.3 on
   14266          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14267            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14268          else
   14269            case ${MACOSX_DEPLOYMENT_TARGET} in
   14270              10.[012])
   14271                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14272                ;;
   14273              10.*)
   14274                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14275                ;;
   14276            esac
   14277          fi
   14278          ;;
   14279       esac
   14280       archive_cmds_need_lc_F77=no
   14281       hardcode_direct_F77=no
   14282       hardcode_automatic_F77=yes
   14283       hardcode_shlibpath_var_F77=unsupported
   14284       whole_archive_flag_spec_F77=''
   14285       link_all_deplibs_F77=yes
   14286     if test "$GCC" = yes ; then
   14287     	output_verbose_link_cmd='echo'
   14288         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14289       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14290       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14291       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}'
   14292       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}'
   14293     else
   14294       case $cc_basename in
   14295         xlc*)
   14296          output_verbose_link_cmd='echo'
   14297          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14298          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14299           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14300          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}'
   14301           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}'
   14302           ;;
   14303        *)
   14304          ld_shlibs_F77=no
   14305           ;;
   14306       esac
   14307     fi
   14308       ;;
   14309 
   14310     dgux*)
   14311       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14312       hardcode_libdir_flag_spec_F77='-L$libdir'
   14313       hardcode_shlibpath_var_F77=no
   14314       ;;
   14315 
   14316     freebsd1*)
   14317       ld_shlibs_F77=no
   14318       ;;
   14319 
   14320     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14321     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14322     # does not break anything, and helps significantly (at the cost of a little
   14323     # extra space).
   14324     freebsd2.2*)
   14325       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14326       hardcode_libdir_flag_spec_F77='-R$libdir'
   14327       hardcode_direct_F77=yes
   14328       hardcode_shlibpath_var_F77=no
   14329       ;;
   14330 
   14331     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14332     freebsd2*)
   14333       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14334       hardcode_direct_F77=yes
   14335       hardcode_minus_L_F77=yes
   14336       hardcode_shlibpath_var_F77=no
   14337       ;;
   14338 
   14339     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14340     freebsd* | kfreebsd*-gnu | dragonfly*)
   14341       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14342       hardcode_libdir_flag_spec_F77='-R$libdir'
   14343       hardcode_direct_F77=yes
   14344       hardcode_shlibpath_var_F77=no
   14345       ;;
   14346 
   14347     hpux9*)
   14348       if test "$GCC" = yes; then
   14349 	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'
   14350       else
   14351 	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'
   14352       fi
   14353       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14354       hardcode_libdir_separator_F77=:
   14355       hardcode_direct_F77=yes
   14356 
   14357       # hardcode_minus_L: Not really in the search PATH,
   14358       # but as the default location of the library.
   14359       hardcode_minus_L_F77=yes
   14360       export_dynamic_flag_spec_F77='${wl}-E'
   14361       ;;
   14362 
   14363     hpux10*)
   14364       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14365 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14366       else
   14367 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14368       fi
   14369       if test "$with_gnu_ld" = no; then
   14370 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14371 	hardcode_libdir_separator_F77=:
   14372 
   14373 	hardcode_direct_F77=yes
   14374 	export_dynamic_flag_spec_F77='${wl}-E'
   14375 
   14376 	# hardcode_minus_L: Not really in the search PATH,
   14377 	# but as the default location of the library.
   14378 	hardcode_minus_L_F77=yes
   14379       fi
   14380       ;;
   14381 
   14382     hpux11*)
   14383       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14384 	case $host_cpu in
   14385 	hppa*64*)
   14386 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14387 	  ;;
   14388 	ia64*)
   14389 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14390 	  ;;
   14391 	*)
   14392 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14393 	  ;;
   14394 	esac
   14395       else
   14396 	case $host_cpu in
   14397 	hppa*64*)
   14398 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14399 	  ;;
   14400 	ia64*)
   14401 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14402 	  ;;
   14403 	*)
   14404 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14405 	  ;;
   14406 	esac
   14407       fi
   14408       if test "$with_gnu_ld" = no; then
   14409 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14410 	hardcode_libdir_separator_F77=:
   14411 
   14412 	case $host_cpu in
   14413 	hppa*64*|ia64*)
   14414 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14415 	  hardcode_direct_F77=no
   14416 	  hardcode_shlibpath_var_F77=no
   14417 	  ;;
   14418 	*)
   14419 	  hardcode_direct_F77=yes
   14420 	  export_dynamic_flag_spec_F77='${wl}-E'
   14421 
   14422 	  # hardcode_minus_L: Not really in the search PATH,
   14423 	  # but as the default location of the library.
   14424 	  hardcode_minus_L_F77=yes
   14425 	  ;;
   14426 	esac
   14427       fi
   14428       ;;
   14429 
   14430     irix5* | irix6* | nonstopux*)
   14431       if test "$GCC" = yes; then
   14432 	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'
   14433       else
   14434 	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'
   14435 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14436       fi
   14437       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14438       hardcode_libdir_separator_F77=:
   14439       link_all_deplibs_F77=yes
   14440       ;;
   14441 
   14442     netbsd*)
   14443       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14444 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14445       else
   14446 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14447       fi
   14448       hardcode_libdir_flag_spec_F77='-R$libdir'
   14449       hardcode_direct_F77=yes
   14450       hardcode_shlibpath_var_F77=no
   14451       ;;
   14452 
   14453     newsos6)
   14454       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14455       hardcode_direct_F77=yes
   14456       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14457       hardcode_libdir_separator_F77=:
   14458       hardcode_shlibpath_var_F77=no
   14459       ;;
   14460 
   14461     openbsd*)
   14462       hardcode_direct_F77=yes
   14463       hardcode_shlibpath_var_F77=no
   14464       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14465 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14466 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14467 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14468 	export_dynamic_flag_spec_F77='${wl}-E'
   14469       else
   14470        case $host_os in
   14471 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14472 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14473 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14474 	   ;;
   14475 	 *)
   14476 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14477 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14478 	   ;;
   14479        esac
   14480       fi
   14481       ;;
   14482 
   14483     os2*)
   14484       hardcode_libdir_flag_spec_F77='-L$libdir'
   14485       hardcode_minus_L_F77=yes
   14486       allow_undefined_flag_F77=unsupported
   14487       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'
   14488       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14489       ;;
   14490 
   14491     osf3*)
   14492       if test "$GCC" = yes; then
   14493 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14494 	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'
   14495       else
   14496 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14497 	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'
   14498       fi
   14499       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14500       hardcode_libdir_separator_F77=:
   14501       ;;
   14502 
   14503     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14504       if test "$GCC" = yes; then
   14505 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14506 	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'
   14507 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14508       else
   14509 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14510 	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'
   14511 	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~
   14512 	$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'
   14513 
   14514 	# Both c and cxx compiler support -rpath directly
   14515 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14516       fi
   14517       hardcode_libdir_separator_F77=:
   14518       ;;
   14519 
   14520     solaris*)
   14521       no_undefined_flag_F77=' -z text'
   14522       if test "$GCC" = yes; then
   14523 	wlarc='${wl}'
   14524 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14525 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14526 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14527       else
   14528 	wlarc=''
   14529 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14530 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14531   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14532       fi
   14533       hardcode_libdir_flag_spec_F77='-R$libdir'
   14534       hardcode_shlibpath_var_F77=no
   14535       case $host_os in
   14536       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14537       *)
   14538  	# The compiler driver will combine linker options so we
   14539  	# cannot just pass the convience library names through
   14540  	# without $wl, iff we do not link with $LD.
   14541  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14542  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14543  	case $wlarc in
   14544  	'')
   14545  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14546  	*)
   14547  	  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' ;;
   14548  	esac ;;
   14549       esac
   14550       link_all_deplibs_F77=yes
   14551       ;;
   14552 
   14553     sunos4*)
   14554       if test "x$host_vendor" = xsequent; then
   14555 	# Use $CC to link under sequent, because it throws in some extra .o
   14556 	# files that make .init and .fini sections work.
   14557 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14558       else
   14559 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14560       fi
   14561       hardcode_libdir_flag_spec_F77='-L$libdir'
   14562       hardcode_direct_F77=yes
   14563       hardcode_minus_L_F77=yes
   14564       hardcode_shlibpath_var_F77=no
   14565       ;;
   14566 
   14567     sysv4)
   14568       case $host_vendor in
   14569 	sni)
   14570 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14571 	  hardcode_direct_F77=yes # is this really true???
   14572 	;;
   14573 	siemens)
   14574 	  ## LD is ld it makes a PLAMLIB
   14575 	  ## CC just makes a GrossModule.
   14576 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14577 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14578 	  hardcode_direct_F77=no
   14579         ;;
   14580 	motorola)
   14581 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14582 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14583 	;;
   14584       esac
   14585       runpath_var='LD_RUN_PATH'
   14586       hardcode_shlibpath_var_F77=no
   14587       ;;
   14588 
   14589     sysv4.3*)
   14590       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14591       hardcode_shlibpath_var_F77=no
   14592       export_dynamic_flag_spec_F77='-Bexport'
   14593       ;;
   14594 
   14595     sysv4*MP*)
   14596       if test -d /usr/nec; then
   14597 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14598 	hardcode_shlibpath_var_F77=no
   14599 	runpath_var=LD_RUN_PATH
   14600 	hardcode_runpath_var=yes
   14601 	ld_shlibs_F77=yes
   14602       fi
   14603       ;;
   14604 
   14605     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14606       no_undefined_flag_F77='${wl}-z,text'
   14607       archive_cmds_need_lc_F77=no
   14608       hardcode_shlibpath_var_F77=no
   14609       runpath_var='LD_RUN_PATH'
   14610 
   14611       if test "$GCC" = yes; then
   14612 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14613 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14614       else
   14615 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14616 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14617       fi
   14618       ;;
   14619 
   14620     sysv5* | sco3.2v5* | sco5v6*)
   14621       # Note: We can NOT use -z defs as we might desire, because we do not
   14622       # link with -lc, and that would cause any symbols used from libc to
   14623       # always be unresolved, which means just about no library would
   14624       # ever link correctly.  If we're not using GNU ld we use -z text
   14625       # though, which does catch some bad symbols but isn't as heavy-handed
   14626       # as -z defs.
   14627       no_undefined_flag_F77='${wl}-z,text'
   14628       allow_undefined_flag_F77='${wl}-z,nodefs'
   14629       archive_cmds_need_lc_F77=no
   14630       hardcode_shlibpath_var_F77=no
   14631       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14632       hardcode_libdir_separator_F77=':'
   14633       link_all_deplibs_F77=yes
   14634       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14635       runpath_var='LD_RUN_PATH'
   14636 
   14637       if test "$GCC" = yes; then
   14638 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14639 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14640       else
   14641 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14642 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14643       fi
   14644       ;;
   14645 
   14646     uts4*)
   14647       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14648       hardcode_libdir_flag_spec_F77='-L$libdir'
   14649       hardcode_shlibpath_var_F77=no
   14650       ;;
   14651 
   14652     *)
   14653       ld_shlibs_F77=no
   14654       ;;
   14655     esac
   14656   fi
   14657 
   14658 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14659 echo "${ECHO_T}$ld_shlibs_F77" >&6
   14660 test "$ld_shlibs_F77" = no && can_build_shared=no
   14661 
   14662 #
   14663 # Do we need to explicitly link libc?
   14664 #
   14665 case "x$archive_cmds_need_lc_F77" in
   14666 x|xyes)
   14667   # Assume -lc should be added
   14668   archive_cmds_need_lc_F77=yes
   14669 
   14670   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14671     case $archive_cmds_F77 in
   14672     *'~'*)
   14673       # FIXME: we may have to deal with multi-command sequences.
   14674       ;;
   14675     '$CC '*)
   14676       # Test whether the compiler implicitly links with -lc since on some
   14677       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14678       # to ld, don't add -lc before -lgcc.
   14679       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14680 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   14681       $rm conftest*
   14682       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14683 
   14684       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14685   (eval $ac_compile) 2>&5
   14686   ac_status=$?
   14687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14688   (exit $ac_status); } 2>conftest.err; then
   14689         soname=conftest
   14690         lib=conftest
   14691         libobjs=conftest.$ac_objext
   14692         deplibs=
   14693         wl=$lt_prog_compiler_wl_F77
   14694 	pic_flag=$lt_prog_compiler_pic_F77
   14695         compiler_flags=-v
   14696         linker_flags=-v
   14697         verstring=
   14698         output_objdir=.
   14699         libname=conftest
   14700         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   14701         allow_undefined_flag_F77=
   14702         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   14703   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14704   ac_status=$?
   14705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14706   (exit $ac_status); }
   14707         then
   14708 	  archive_cmds_need_lc_F77=no
   14709         else
   14710 	  archive_cmds_need_lc_F77=yes
   14711         fi
   14712         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   14713       else
   14714         cat conftest.err 1>&5
   14715       fi
   14716       $rm conftest*
   14717       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   14718 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
   14719       ;;
   14720     esac
   14721   fi
   14722   ;;
   14723 esac
   14724 
   14725 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   14726 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   14727 library_names_spec=
   14728 libname_spec='lib$name'
   14729 soname_spec=
   14730 shrext_cmds=".so"
   14731 postinstall_cmds=
   14732 postuninstall_cmds=
   14733 finish_cmds=
   14734 finish_eval=
   14735 shlibpath_var=
   14736 shlibpath_overrides_runpath=unknown
   14737 version_type=none
   14738 dynamic_linker="$host_os ld.so"
   14739 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14740 if test "$GCC" = yes; then
   14741   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14742   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   14743     # if the path contains ";" then we assume it to be the separator
   14744     # otherwise default to the standard path separator (i.e. ":") - it is
   14745     # assumed that no part of a normal pathname contains ";" but that should
   14746     # okay in the real world where ";" in dirpaths is itself problematic.
   14747     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14748   else
   14749     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14750   fi
   14751 else
   14752   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   14753 fi
   14754 need_lib_prefix=unknown
   14755 hardcode_into_libs=no
   14756 
   14757 # when you set need_version to no, make sure it does not cause -set_version
   14758 # flags to be left without arguments
   14759 need_version=unknown
   14760 
   14761 case $host_os in
   14762 aix3*)
   14763   version_type=linux
   14764   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14765   shlibpath_var=LIBPATH
   14766 
   14767   # AIX 3 has no versioning support, so we append a major version to the name.
   14768   soname_spec='${libname}${release}${shared_ext}$major'
   14769   ;;
   14770 
   14771 aix4* | aix5*)
   14772   version_type=linux
   14773   need_lib_prefix=no
   14774   need_version=no
   14775   hardcode_into_libs=yes
   14776   if test "$host_cpu" = ia64; then
   14777     # AIX 5 supports IA64
   14778     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14779     shlibpath_var=LD_LIBRARY_PATH
   14780   else
   14781     # With GCC up to 2.95.x, collect2 would create an import file
   14782     # for dependence libraries.  The import file would start with
   14783     # the line `#! .'.  This would cause the generated library to
   14784     # depend on `.', always an invalid library.  This was fixed in
   14785     # development snapshots of GCC prior to 3.0.
   14786     case $host_os in
   14787       aix4 | aix4.[01] | aix4.[01].*)
   14788       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14789 	   echo ' yes '
   14790 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   14791 	:
   14792       else
   14793 	can_build_shared=no
   14794       fi
   14795       ;;
   14796     esac
   14797     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14798     # soname into executable. Probably we can add versioning support to
   14799     # collect2, so additional links can be useful in future.
   14800     if test "$aix_use_runtimelinking" = yes; then
   14801       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14802       # instead of lib<name>.a to let people know that these are not
   14803       # typical AIX shared libraries.
   14804       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14805     else
   14806       # We preserve .a as extension for shared libraries through AIX4.2
   14807       # and later when we are not doing run time linking.
   14808       library_names_spec='${libname}${release}.a $libname.a'
   14809       soname_spec='${libname}${release}${shared_ext}$major'
   14810     fi
   14811     shlibpath_var=LIBPATH
   14812   fi
   14813   ;;
   14814 
   14815 amigaos*)
   14816   library_names_spec='$libname.ixlibrary $libname.a'
   14817   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14818   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'
   14819   ;;
   14820 
   14821 beos*)
   14822   library_names_spec='${libname}${shared_ext}'
   14823   dynamic_linker="$host_os ld.so"
   14824   shlibpath_var=LIBRARY_PATH
   14825   ;;
   14826 
   14827 bsdi[45]*)
   14828   version_type=linux
   14829   need_version=no
   14830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14831   soname_spec='${libname}${release}${shared_ext}$major'
   14832   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14833   shlibpath_var=LD_LIBRARY_PATH
   14834   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14835   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14836   # the default ld.so.conf also contains /usr/contrib/lib and
   14837   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14838   # libtool to hard-code these into programs
   14839   ;;
   14840 
   14841 cygwin* | mingw* | pw32*)
   14842   version_type=windows
   14843   shrext_cmds=".dll"
   14844   need_version=no
   14845   need_lib_prefix=no
   14846 
   14847   case $GCC,$host_os in
   14848   yes,cygwin* | yes,mingw* | yes,pw32*)
   14849     library_names_spec='$libname.dll.a'
   14850     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14851     postinstall_cmds='base_file=`basename \${file}`~
   14852       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   14853       dldir=$destdir/`dirname \$dlpath`~
   14854       test -d \$dldir || mkdir -p \$dldir~
   14855       $install_prog $dir/$dlname \$dldir/$dlname~
   14856       chmod a+x \$dldir/$dlname'
   14857     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14858       dlpath=$dir/\$dldll~
   14859        $rm \$dlpath'
   14860     shlibpath_overrides_runpath=yes
   14861 
   14862     case $host_os in
   14863     cygwin*)
   14864       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14865       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14866       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   14867       ;;
   14868     mingw*)
   14869       # MinGW DLLs use traditional 'lib' prefix
   14870       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14871       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   14872       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   14873         # It is most probably a Windows format PATH printed by
   14874         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   14875         # path with ; separators, and with drive letters. We can handle the
   14876         # drive letters (cygwin fileutils understands them), so leave them,
   14877         # especially as we might pass files found there to a mingw objdump,
   14878         # which wouldn't understand a cygwinified path. Ahh.
   14879         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14880       else
   14881         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   14882       fi
   14883       ;;
   14884     pw32*)
   14885       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14886       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14887       ;;
   14888     esac
   14889     ;;
   14890 
   14891   *)
   14892     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14893     ;;
   14894   esac
   14895   dynamic_linker='Win32 ld.exe'
   14896   # FIXME: first we should search . and the directory the executable is in
   14897   shlibpath_var=PATH
   14898   ;;
   14899 
   14900 darwin* | rhapsody*)
   14901   dynamic_linker="$host_os dyld"
   14902   version_type=darwin
   14903   need_lib_prefix=no
   14904   need_version=no
   14905   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14906   soname_spec='${libname}${release}${major}$shared_ext'
   14907   shlibpath_overrides_runpath=yes
   14908   shlibpath_var=DYLD_LIBRARY_PATH
   14909   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14910   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   14911   if test "$GCC" = yes; then
   14912     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"`
   14913   else
   14914     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   14915   fi
   14916   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14917   ;;
   14918 
   14919 dgux*)
   14920   version_type=linux
   14921   need_lib_prefix=no
   14922   need_version=no
   14923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14924   soname_spec='${libname}${release}${shared_ext}$major'
   14925   shlibpath_var=LD_LIBRARY_PATH
   14926   ;;
   14927 
   14928 freebsd1*)
   14929   dynamic_linker=no
   14930   ;;
   14931 
   14932 kfreebsd*-gnu)
   14933   version_type=linux
   14934   need_lib_prefix=no
   14935   need_version=no
   14936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14937   soname_spec='${libname}${release}${shared_ext}$major'
   14938   shlibpath_var=LD_LIBRARY_PATH
   14939   shlibpath_overrides_runpath=no
   14940   hardcode_into_libs=yes
   14941   dynamic_linker='GNU ld.so'
   14942   ;;
   14943 
   14944 freebsd* | dragonfly*)
   14945   # DragonFly does not have aout.  When/if they implement a new
   14946   # versioning mechanism, adjust this.
   14947   if test -x /usr/bin/objformat; then
   14948     objformat=`/usr/bin/objformat`
   14949   else
   14950     case $host_os in
   14951     freebsd[123]*) objformat=aout ;;
   14952     *) objformat=elf ;;
   14953     esac
   14954   fi
   14955   version_type=freebsd-$objformat
   14956   case $version_type in
   14957     freebsd-elf*)
   14958       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14959       need_version=no
   14960       need_lib_prefix=no
   14961       ;;
   14962     freebsd-*)
   14963       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14964       need_version=yes
   14965       ;;
   14966   esac
   14967   shlibpath_var=LD_LIBRARY_PATH
   14968   case $host_os in
   14969   freebsd2*)
   14970     shlibpath_overrides_runpath=yes
   14971     ;;
   14972   freebsd3.[01]* | freebsdelf3.[01]*)
   14973     shlibpath_overrides_runpath=yes
   14974     hardcode_into_libs=yes
   14975     ;;
   14976   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14977   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14978     shlibpath_overrides_runpath=no
   14979     hardcode_into_libs=yes
   14980     ;;
   14981   freebsd*) # from 4.6 on
   14982     shlibpath_overrides_runpath=yes
   14983     hardcode_into_libs=yes
   14984     ;;
   14985   esac
   14986   ;;
   14987 
   14988 gnu*)
   14989   version_type=linux
   14990   need_lib_prefix=no
   14991   need_version=no
   14992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14993   soname_spec='${libname}${release}${shared_ext}$major'
   14994   shlibpath_var=LD_LIBRARY_PATH
   14995   hardcode_into_libs=yes
   14996   ;;
   14997 
   14998 hpux9* | hpux10* | hpux11*)
   14999   # Give a soname corresponding to the major version so that dld.sl refuses to
   15000   # link against other versions.
   15001   version_type=sunos
   15002   need_lib_prefix=no
   15003   need_version=no
   15004   case $host_cpu in
   15005   ia64*)
   15006     shrext_cmds='.so'
   15007     hardcode_into_libs=yes
   15008     dynamic_linker="$host_os dld.so"
   15009     shlibpath_var=LD_LIBRARY_PATH
   15010     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15011     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15012     soname_spec='${libname}${release}${shared_ext}$major'
   15013     if test "X$HPUX_IA64_MODE" = X32; then
   15014       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15015     else
   15016       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15017     fi
   15018     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15019     ;;
   15020    hppa*64*)
   15021      shrext_cmds='.sl'
   15022      hardcode_into_libs=yes
   15023      dynamic_linker="$host_os dld.sl"
   15024      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15025      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15026      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15027      soname_spec='${libname}${release}${shared_ext}$major'
   15028      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15029      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15030      ;;
   15031    *)
   15032     shrext_cmds='.sl'
   15033     dynamic_linker="$host_os dld.sl"
   15034     shlibpath_var=SHLIB_PATH
   15035     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15036     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15037     soname_spec='${libname}${release}${shared_ext}$major'
   15038     ;;
   15039   esac
   15040   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15041   postinstall_cmds='chmod 555 $lib'
   15042   ;;
   15043 
   15044 interix3*)
   15045   version_type=linux
   15046   need_lib_prefix=no
   15047   need_version=no
   15048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15049   soname_spec='${libname}${release}${shared_ext}$major'
   15050   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15051   shlibpath_var=LD_LIBRARY_PATH
   15052   shlibpath_overrides_runpath=no
   15053   hardcode_into_libs=yes
   15054   ;;
   15055 
   15056 irix5* | irix6* | nonstopux*)
   15057   case $host_os in
   15058     nonstopux*) version_type=nonstopux ;;
   15059     *)
   15060 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15061 		version_type=linux
   15062 	else
   15063 		version_type=irix
   15064 	fi ;;
   15065   esac
   15066   need_lib_prefix=no
   15067   need_version=no
   15068   soname_spec='${libname}${release}${shared_ext}$major'
   15069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15070   case $host_os in
   15071   irix5* | nonstopux*)
   15072     libsuff= shlibsuff=
   15073     ;;
   15074   *)
   15075     case $LD in # libtool.m4 will add one of these switches to LD
   15076     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15077       libsuff= shlibsuff= libmagic=32-bit;;
   15078     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15079       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15080     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15081       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15082     *) libsuff= shlibsuff= libmagic=never-match;;
   15083     esac
   15084     ;;
   15085   esac
   15086   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15087   shlibpath_overrides_runpath=no
   15088   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15089   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15090   hardcode_into_libs=yes
   15091   ;;
   15092 
   15093 # No shared lib support for Linux oldld, aout, or coff.
   15094 linux*oldld* | linux*aout* | linux*coff*)
   15095   dynamic_linker=no
   15096   ;;
   15097 
   15098 # This must be Linux ELF.
   15099 linux*)
   15100   version_type=linux
   15101   need_lib_prefix=no
   15102   need_version=no
   15103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15104   soname_spec='${libname}${release}${shared_ext}$major'
   15105   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15106   shlibpath_var=LD_LIBRARY_PATH
   15107   shlibpath_overrides_runpath=no
   15108   # This implies no fast_install, which is unacceptable.
   15109   # Some rework will be needed to allow for fast_install
   15110   # before this can be enabled.
   15111   hardcode_into_libs=yes
   15112 
   15113   # Append ld.so.conf contents to the search path
   15114   if test -f /etc/ld.so.conf; then
   15115     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' ' '`
   15116     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15117   fi
   15118 
   15119   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15120   # powerpc, because MkLinux only supported shared libraries with the
   15121   # GNU dynamic linker.  Since this was broken with cross compilers,
   15122   # most powerpc-linux boxes support dynamic linking these days and
   15123   # people can always --disable-shared, the test was removed, and we
   15124   # assume the GNU/Linux dynamic linker is in use.
   15125   dynamic_linker='GNU/Linux ld.so'
   15126   ;;
   15127 
   15128 knetbsd*-gnu)
   15129   version_type=linux
   15130   need_lib_prefix=no
   15131   need_version=no
   15132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15133   soname_spec='${libname}${release}${shared_ext}$major'
   15134   shlibpath_var=LD_LIBRARY_PATH
   15135   shlibpath_overrides_runpath=no
   15136   hardcode_into_libs=yes
   15137   dynamic_linker='GNU ld.so'
   15138   ;;
   15139 
   15140 netbsd*)
   15141   version_type=sunos
   15142   need_lib_prefix=no
   15143   need_version=no
   15144   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15145     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15146     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15147     dynamic_linker='NetBSD (a.out) ld.so'
   15148   else
   15149     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15150     soname_spec='${libname}${release}${shared_ext}$major'
   15151     dynamic_linker='NetBSD ld.elf_so'
   15152   fi
   15153   shlibpath_var=LD_LIBRARY_PATH
   15154   shlibpath_overrides_runpath=yes
   15155   hardcode_into_libs=yes
   15156   ;;
   15157 
   15158 newsos6)
   15159   version_type=linux
   15160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15161   shlibpath_var=LD_LIBRARY_PATH
   15162   shlibpath_overrides_runpath=yes
   15163   ;;
   15164 
   15165 nto-qnx*)
   15166   version_type=linux
   15167   need_lib_prefix=no
   15168   need_version=no
   15169   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15170   soname_spec='${libname}${release}${shared_ext}$major'
   15171   shlibpath_var=LD_LIBRARY_PATH
   15172   shlibpath_overrides_runpath=yes
   15173   ;;
   15174 
   15175 openbsd*)
   15176   version_type=sunos
   15177   sys_lib_dlsearch_path_spec="/usr/lib"
   15178   need_lib_prefix=no
   15179   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15180   case $host_os in
   15181     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15182     *)                         need_version=no  ;;
   15183   esac
   15184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15185   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15186   shlibpath_var=LD_LIBRARY_PATH
   15187   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15188     case $host_os in
   15189       openbsd2.[89] | openbsd2.[89].*)
   15190 	shlibpath_overrides_runpath=no
   15191 	;;
   15192       *)
   15193 	shlibpath_overrides_runpath=yes
   15194 	;;
   15195       esac
   15196   else
   15197     shlibpath_overrides_runpath=yes
   15198   fi
   15199   ;;
   15200 
   15201 os2*)
   15202   libname_spec='$name'
   15203   shrext_cmds=".dll"
   15204   need_lib_prefix=no
   15205   library_names_spec='$libname${shared_ext} $libname.a'
   15206   dynamic_linker='OS/2 ld.exe'
   15207   shlibpath_var=LIBPATH
   15208   ;;
   15209 
   15210 osf3* | osf4* | osf5*)
   15211   version_type=osf
   15212   need_lib_prefix=no
   15213   need_version=no
   15214   soname_spec='${libname}${release}${shared_ext}$major'
   15215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15216   shlibpath_var=LD_LIBRARY_PATH
   15217   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15218   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15219   ;;
   15220 
   15221 solaris*)
   15222   version_type=linux
   15223   need_lib_prefix=no
   15224   need_version=no
   15225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15226   soname_spec='${libname}${release}${shared_ext}$major'
   15227   shlibpath_var=LD_LIBRARY_PATH
   15228   shlibpath_overrides_runpath=yes
   15229   hardcode_into_libs=yes
   15230   # ldd complains unless libraries are executable
   15231   postinstall_cmds='chmod +x $lib'
   15232   ;;
   15233 
   15234 sunos4*)
   15235   version_type=sunos
   15236   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15237   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15238   shlibpath_var=LD_LIBRARY_PATH
   15239   shlibpath_overrides_runpath=yes
   15240   if test "$with_gnu_ld" = yes; then
   15241     need_lib_prefix=no
   15242   fi
   15243   need_version=yes
   15244   ;;
   15245 
   15246 sysv4 | sysv4.3*)
   15247   version_type=linux
   15248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15249   soname_spec='${libname}${release}${shared_ext}$major'
   15250   shlibpath_var=LD_LIBRARY_PATH
   15251   case $host_vendor in
   15252     sni)
   15253       shlibpath_overrides_runpath=no
   15254       need_lib_prefix=no
   15255       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15256       runpath_var=LD_RUN_PATH
   15257       ;;
   15258     siemens)
   15259       need_lib_prefix=no
   15260       ;;
   15261     motorola)
   15262       need_lib_prefix=no
   15263       need_version=no
   15264       shlibpath_overrides_runpath=no
   15265       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15266       ;;
   15267   esac
   15268   ;;
   15269 
   15270 sysv4*MP*)
   15271   if test -d /usr/nec ;then
   15272     version_type=linux
   15273     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15274     soname_spec='$libname${shared_ext}.$major'
   15275     shlibpath_var=LD_LIBRARY_PATH
   15276   fi
   15277   ;;
   15278 
   15279 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15280   version_type=freebsd-elf
   15281   need_lib_prefix=no
   15282   need_version=no
   15283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15284   soname_spec='${libname}${release}${shared_ext}$major'
   15285   shlibpath_var=LD_LIBRARY_PATH
   15286   hardcode_into_libs=yes
   15287   if test "$with_gnu_ld" = yes; then
   15288     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15289     shlibpath_overrides_runpath=no
   15290   else
   15291     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15292     shlibpath_overrides_runpath=yes
   15293     case $host_os in
   15294       sco3.2v5*)
   15295         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15296 	;;
   15297     esac
   15298   fi
   15299   sys_lib_dlsearch_path_spec='/usr/lib'
   15300   ;;
   15301 
   15302 uts4*)
   15303   version_type=linux
   15304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15305   soname_spec='${libname}${release}${shared_ext}$major'
   15306   shlibpath_var=LD_LIBRARY_PATH
   15307   ;;
   15308 
   15309 *)
   15310   dynamic_linker=no
   15311   ;;
   15312 esac
   15313 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15314 echo "${ECHO_T}$dynamic_linker" >&6
   15315 test "$dynamic_linker" = no && can_build_shared=no
   15316 
   15317 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15318 if test "$GCC" = yes; then
   15319   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15320 fi
   15321 
   15322 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15323 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   15324 hardcode_action_F77=
   15325 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15326    test -n "$runpath_var_F77" || \
   15327    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15328 
   15329   # We can hardcode non-existant directories.
   15330   if test "$hardcode_direct_F77" != no &&
   15331      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15332      # have to relink, otherwise we might link with an installed library
   15333      # when we should be linking with a yet-to-be-installed one
   15334      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15335      test "$hardcode_minus_L_F77" != no; then
   15336     # Linking always hardcodes the temporary library directory.
   15337     hardcode_action_F77=relink
   15338   else
   15339     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15340     hardcode_action_F77=immediate
   15341   fi
   15342 else
   15343   # We cannot hardcode anything, or else we can only hardcode existing
   15344   # directories.
   15345   hardcode_action_F77=unsupported
   15346 fi
   15347 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15348 echo "${ECHO_T}$hardcode_action_F77" >&6
   15349 
   15350 if test "$hardcode_action_F77" = relink; then
   15351   # Fast installation is not supported
   15352   enable_fast_install=no
   15353 elif test "$shlibpath_overrides_runpath" = yes ||
   15354      test "$enable_shared" = no; then
   15355   # Fast installation is not necessary
   15356   enable_fast_install=needless
   15357 fi
   15358 
   15359 
   15360 # The else clause should only fire when bootstrapping the
   15361 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15362 # with your package, and you will get complaints that there are
   15363 # no rules to generate ltmain.sh.
   15364 if test -f "$ltmain"; then
   15365   # See if we are running on zsh, and set the options which allow our commands through
   15366   # without removal of \ escapes.
   15367   if test -n "${ZSH_VERSION+set}" ; then
   15368     setopt NO_GLOB_SUBST
   15369   fi
   15370   # Now quote all the things that may contain metacharacters while being
   15371   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15372   # variables and quote the copies for generation of the libtool script.
   15373   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15374     SED SHELL STRIP \
   15375     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15376     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15377     deplibs_check_method reload_flag reload_cmds need_locks \
   15378     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15379     lt_cv_sys_global_symbol_to_c_name_address \
   15380     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15381     old_postinstall_cmds old_postuninstall_cmds \
   15382     compiler_F77 \
   15383     CC_F77 \
   15384     LD_F77 \
   15385     lt_prog_compiler_wl_F77 \
   15386     lt_prog_compiler_pic_F77 \
   15387     lt_prog_compiler_static_F77 \
   15388     lt_prog_compiler_no_builtin_flag_F77 \
   15389     export_dynamic_flag_spec_F77 \
   15390     thread_safe_flag_spec_F77 \
   15391     whole_archive_flag_spec_F77 \
   15392     enable_shared_with_static_runtimes_F77 \
   15393     old_archive_cmds_F77 \
   15394     old_archive_from_new_cmds_F77 \
   15395     predep_objects_F77 \
   15396     postdep_objects_F77 \
   15397     predeps_F77 \
   15398     postdeps_F77 \
   15399     compiler_lib_search_path_F77 \
   15400     archive_cmds_F77 \
   15401     archive_expsym_cmds_F77 \
   15402     postinstall_cmds_F77 \
   15403     postuninstall_cmds_F77 \
   15404     old_archive_from_expsyms_cmds_F77 \
   15405     allow_undefined_flag_F77 \
   15406     no_undefined_flag_F77 \
   15407     export_symbols_cmds_F77 \
   15408     hardcode_libdir_flag_spec_F77 \
   15409     hardcode_libdir_flag_spec_ld_F77 \
   15410     hardcode_libdir_separator_F77 \
   15411     hardcode_automatic_F77 \
   15412     module_cmds_F77 \
   15413     module_expsym_cmds_F77 \
   15414     lt_cv_prog_compiler_c_o_F77 \
   15415     exclude_expsyms_F77 \
   15416     include_expsyms_F77; do
   15417 
   15418     case $var in
   15419     old_archive_cmds_F77 | \
   15420     old_archive_from_new_cmds_F77 | \
   15421     archive_cmds_F77 | \
   15422     archive_expsym_cmds_F77 | \
   15423     module_cmds_F77 | \
   15424     module_expsym_cmds_F77 | \
   15425     old_archive_from_expsyms_cmds_F77 | \
   15426     export_symbols_cmds_F77 | \
   15427     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15428     postinstall_cmds | postuninstall_cmds | \
   15429     old_postinstall_cmds | old_postuninstall_cmds | \
   15430     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15431       # Double-quote double-evaled strings.
   15432       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15433       ;;
   15434     *)
   15435       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15436       ;;
   15437     esac
   15438   done
   15439 
   15440   case $lt_echo in
   15441   *'\$0 --fallback-echo"')
   15442     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15443     ;;
   15444   esac
   15445 
   15446 cfgfile="$ofile"
   15447 
   15448   cat <<__EOF__ >> "$cfgfile"
   15449 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15450 
   15451 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15452 
   15453 # Shell to use when invoking shell scripts.
   15454 SHELL=$lt_SHELL
   15455 
   15456 # Whether or not to build shared libraries.
   15457 build_libtool_libs=$enable_shared
   15458 
   15459 # Whether or not to build static libraries.
   15460 build_old_libs=$enable_static
   15461 
   15462 # Whether or not to add -lc for building shared libraries.
   15463 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15464 
   15465 # Whether or not to disallow shared libs when runtime libs are static
   15466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15467 
   15468 # Whether or not to optimize for fast installation.
   15469 fast_install=$enable_fast_install
   15470 
   15471 # The host system.
   15472 host_alias=$host_alias
   15473 host=$host
   15474 host_os=$host_os
   15475 
   15476 # The build system.
   15477 build_alias=$build_alias
   15478 build=$build
   15479 build_os=$build_os
   15480 
   15481 # An echo program that does not interpret backslashes.
   15482 echo=$lt_echo
   15483 
   15484 # The archiver.
   15485 AR=$lt_AR
   15486 AR_FLAGS=$lt_AR_FLAGS
   15487 
   15488 # A C compiler.
   15489 LTCC=$lt_LTCC
   15490 
   15491 # LTCC compiler flags.
   15492 LTCFLAGS=$lt_LTCFLAGS
   15493 
   15494 # A language-specific compiler.
   15495 CC=$lt_compiler_F77
   15496 
   15497 # Is the compiler the GNU C compiler?
   15498 with_gcc=$GCC_F77
   15499 
   15500 # An ERE matcher.
   15501 EGREP=$lt_EGREP
   15502 
   15503 # The linker used to build libraries.
   15504 LD=$lt_LD_F77
   15505 
   15506 # Whether we need hard or soft links.
   15507 LN_S=$lt_LN_S
   15508 
   15509 # A BSD-compatible nm program.
   15510 NM=$lt_NM
   15511 
   15512 # A symbol stripping program
   15513 STRIP=$lt_STRIP
   15514 
   15515 # Used to examine libraries when file_magic_cmd begins "file"
   15516 MAGIC_CMD=$MAGIC_CMD
   15517 
   15518 # Used on cygwin: DLL creation program.
   15519 DLLTOOL="$DLLTOOL"
   15520 
   15521 # Used on cygwin: object dumper.
   15522 OBJDUMP="$OBJDUMP"
   15523 
   15524 # Used on cygwin: assembler.
   15525 AS="$AS"
   15526 
   15527 # The name of the directory that contains temporary libtool files.
   15528 objdir=$objdir
   15529 
   15530 # How to create reloadable object files.
   15531 reload_flag=$lt_reload_flag
   15532 reload_cmds=$lt_reload_cmds
   15533 
   15534 # How to pass a linker flag through the compiler.
   15535 wl=$lt_lt_prog_compiler_wl_F77
   15536 
   15537 # Object file suffix (normally "o").
   15538 objext="$ac_objext"
   15539 
   15540 # Old archive suffix (normally "a").
   15541 libext="$libext"
   15542 
   15543 # Shared library suffix (normally ".so").
   15544 shrext_cmds='$shrext_cmds'
   15545 
   15546 # Executable file suffix (normally "").
   15547 exeext="$exeext"
   15548 
   15549 # Additional compiler flags for building library objects.
   15550 pic_flag=$lt_lt_prog_compiler_pic_F77
   15551 pic_mode=$pic_mode
   15552 
   15553 # What is the maximum length of a command?
   15554 max_cmd_len=$lt_cv_sys_max_cmd_len
   15555 
   15556 # Does compiler simultaneously support -c and -o options?
   15557 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15558 
   15559 # Must we lock files when doing compilation?
   15560 need_locks=$lt_need_locks
   15561 
   15562 # Do we need the lib prefix for modules?
   15563 need_lib_prefix=$need_lib_prefix
   15564 
   15565 # Do we need a version for libraries?
   15566 need_version=$need_version
   15567 
   15568 # Whether dlopen is supported.
   15569 dlopen_support=$enable_dlopen
   15570 
   15571 # Whether dlopen of programs is supported.
   15572 dlopen_self=$enable_dlopen_self
   15573 
   15574 # Whether dlopen of statically linked programs is supported.
   15575 dlopen_self_static=$enable_dlopen_self_static
   15576 
   15577 # Compiler flag to prevent dynamic linking.
   15578 link_static_flag=$lt_lt_prog_compiler_static_F77
   15579 
   15580 # Compiler flag to turn off builtin functions.
   15581 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15582 
   15583 # Compiler flag to allow reflexive dlopens.
   15584 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15585 
   15586 # Compiler flag to generate shared objects directly from archives.
   15587 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15588 
   15589 # Compiler flag to generate thread-safe objects.
   15590 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15591 
   15592 # Library versioning type.
   15593 version_type=$version_type
   15594 
   15595 # Format of library name prefix.
   15596 libname_spec=$lt_libname_spec
   15597 
   15598 # List of archive names.  First name is the real one, the rest are links.
   15599 # The last name is the one that the linker finds with -lNAME.
   15600 library_names_spec=$lt_library_names_spec
   15601 
   15602 # The coded name of the library, if different from the real name.
   15603 soname_spec=$lt_soname_spec
   15604 
   15605 # Commands used to build and install an old-style archive.
   15606 RANLIB=$lt_RANLIB
   15607 old_archive_cmds=$lt_old_archive_cmds_F77
   15608 old_postinstall_cmds=$lt_old_postinstall_cmds
   15609 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15610 
   15611 # Create an old-style archive from a shared archive.
   15612 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15613 
   15614 # Create a temporary old-style archive to link instead of a shared archive.
   15615 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15616 
   15617 # Commands used to build and install a shared archive.
   15618 archive_cmds=$lt_archive_cmds_F77
   15619 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15620 postinstall_cmds=$lt_postinstall_cmds
   15621 postuninstall_cmds=$lt_postuninstall_cmds
   15622 
   15623 # Commands used to build a loadable module (assumed same as above if empty)
   15624 module_cmds=$lt_module_cmds_F77
   15625 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15626 
   15627 # Commands to strip libraries.
   15628 old_striplib=$lt_old_striplib
   15629 striplib=$lt_striplib
   15630 
   15631 # Dependencies to place before the objects being linked to create a
   15632 # shared library.
   15633 predep_objects=$lt_predep_objects_F77
   15634 
   15635 # Dependencies to place after the objects being linked to create a
   15636 # shared library.
   15637 postdep_objects=$lt_postdep_objects_F77
   15638 
   15639 # Dependencies to place before the objects being linked to create a
   15640 # shared library.
   15641 predeps=$lt_predeps_F77
   15642 
   15643 # Dependencies to place after the objects being linked to create a
   15644 # shared library.
   15645 postdeps=$lt_postdeps_F77
   15646 
   15647 # The library search path used internally by the compiler when linking
   15648 # a shared library.
   15649 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15650 
   15651 # Method to check whether dependent libraries are shared objects.
   15652 deplibs_check_method=$lt_deplibs_check_method
   15653 
   15654 # Command to use when deplibs_check_method == file_magic.
   15655 file_magic_cmd=$lt_file_magic_cmd
   15656 
   15657 # Flag that allows shared libraries with undefined symbols to be built.
   15658 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15659 
   15660 # Flag that forces no undefined symbols.
   15661 no_undefined_flag=$lt_no_undefined_flag_F77
   15662 
   15663 # Commands used to finish a libtool library installation in a directory.
   15664 finish_cmds=$lt_finish_cmds
   15665 
   15666 # Same as above, but a single script fragment to be evaled but not shown.
   15667 finish_eval=$lt_finish_eval
   15668 
   15669 # Take the output of nm and produce a listing of raw symbols and C names.
   15670 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15671 
   15672 # Transform the output of nm in a proper C declaration
   15673 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15674 
   15675 # Transform the output of nm in a C name address pair
   15676 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15677 
   15678 # This is the shared library runtime path variable.
   15679 runpath_var=$runpath_var
   15680 
   15681 # This is the shared library path variable.
   15682 shlibpath_var=$shlibpath_var
   15683 
   15684 # Is shlibpath searched before the hard-coded library search path?
   15685 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15686 
   15687 # How to hardcode a shared library path into an executable.
   15688 hardcode_action=$hardcode_action_F77
   15689 
   15690 # Whether we should hardcode library paths into libraries.
   15691 hardcode_into_libs=$hardcode_into_libs
   15692 
   15693 # Flag to hardcode \$libdir into a binary during linking.
   15694 # This must work even if \$libdir does not exist.
   15695 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   15696 
   15697 # If ld is used when linking, flag to hardcode \$libdir into
   15698 # a binary during linking. This must work even if \$libdir does
   15699 # not exist.
   15700 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   15701 
   15702 # Whether we need a single -rpath flag with a separated argument.
   15703 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   15704 
   15705 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   15706 # resulting binary.
   15707 hardcode_direct=$hardcode_direct_F77
   15708 
   15709 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   15710 # resulting binary.
   15711 hardcode_minus_L=$hardcode_minus_L_F77
   15712 
   15713 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   15714 # the resulting binary.
   15715 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   15716 
   15717 # Set to yes if building a shared library automatically hardcodes DIR into the library
   15718 # and all subsequent libraries and executables linked against it.
   15719 hardcode_automatic=$hardcode_automatic_F77
   15720 
   15721 # Variables whose values should be saved in libtool wrapper scripts and
   15722 # restored at relink time.
   15723 variables_saved_for_relink="$variables_saved_for_relink"
   15724 
   15725 # Whether libtool must link a program against all its dependency libraries.
   15726 link_all_deplibs=$link_all_deplibs_F77
   15727 
   15728 # Compile-time system search path for libraries
   15729 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15730 
   15731 # Run-time system search path for libraries
   15732 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15733 
   15734 # Fix the shell variable \$srcfile for the compiler.
   15735 fix_srcfile_path="$fix_srcfile_path_F77"
   15736 
   15737 # Set to yes if exported symbols are required.
   15738 always_export_symbols=$always_export_symbols_F77
   15739 
   15740 # The commands to list exported symbols.
   15741 export_symbols_cmds=$lt_export_symbols_cmds_F77
   15742 
   15743 # The commands to extract the exported symbol list from a shared archive.
   15744 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15745 
   15746 # Symbols that should not be listed in the preloaded symbols.
   15747 exclude_expsyms=$lt_exclude_expsyms_F77
   15748 
   15749 # Symbols that must always be exported.
   15750 include_expsyms=$lt_include_expsyms_F77
   15751 
   15752 # ### END LIBTOOL TAG CONFIG: $tagname
   15753 
   15754 __EOF__
   15755 
   15756 
   15757 else
   15758   # If there is no Makefile yet, we rely on a make rule to execute
   15759   # `config.status --recheck' to rerun these tests and create the
   15760   # libtool script then.
   15761   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   15762   if test -f "$ltmain_in"; then
   15763     test -f Makefile && make "$ltmain"
   15764   fi
   15765 fi
   15766 
   15767 
   15768 ac_ext=c
   15769 ac_cpp='$CPP $CPPFLAGS'
   15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15773 
   15774 CC="$lt_save_CC"
   15775 
   15776 	else
   15777 	  tagname=""
   15778 	fi
   15779 	;;
   15780 
   15781       GCJ)
   15782 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   15783 
   15784 
   15785 
   15786 # Source file extension for Java test sources.
   15787 ac_ext=java
   15788 
   15789 # Object file extension for compiled Java test sources.
   15790 objext=o
   15791 objext_GCJ=$objext
   15792 
   15793 # Code to be used in simple compile tests
   15794 lt_simple_compile_test_code="class foo {}\n"
   15795 
   15796 # Code to be used in simple link tests
   15797 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   15798 
   15799 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   15800 
   15801 # If no C compiler was specified, use CC.
   15802 LTCC=${LTCC-"$CC"}
   15803 
   15804 # If no C compiler flags were specified, use CFLAGS.
   15805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15806 
   15807 # Allow CC to be a program name with arguments.
   15808 compiler=$CC
   15809 
   15810 
   15811 # save warnings/boilerplate of simple test code
   15812 ac_outfile=conftest.$ac_objext
   15813 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   15814 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15815 _lt_compiler_boilerplate=`cat conftest.err`
   15816 $rm conftest*
   15817 
   15818 ac_outfile=conftest.$ac_objext
   15819 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   15820 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15821 _lt_linker_boilerplate=`cat conftest.err`
   15822 $rm conftest*
   15823 
   15824 
   15825 # Allow CC to be a program name with arguments.
   15826 lt_save_CC="$CC"
   15827 CC=${GCJ-"gcj"}
   15828 compiler=$CC
   15829 compiler_GCJ=$CC
   15830 for cc_temp in $compiler""; do
   15831   case $cc_temp in
   15832     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   15833     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   15834     \-*) ;;
   15835     *) break;;
   15836   esac
   15837 done
   15838 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   15839 
   15840 
   15841 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   15842 archive_cmds_need_lc_GCJ=no
   15843 
   15844 old_archive_cmds_GCJ=$old_archive_cmds
   15845 
   15846 
   15847 lt_prog_compiler_no_builtin_flag_GCJ=
   15848 
   15849 if test "$GCC" = yes; then
   15850   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   15851 
   15852 
   15853 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15854 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   15855 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   15856   echo $ECHO_N "(cached) $ECHO_C" >&6
   15857 else
   15858   lt_cv_prog_compiler_rtti_exceptions=no
   15859   ac_outfile=conftest.$ac_objext
   15860    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15861    lt_compiler_flag="-fno-rtti -fno-exceptions"
   15862    # Insert the option either (1) after the last *FLAGS variable, or
   15863    # (2) before a word containing "conftest.", or (3) at the end.
   15864    # Note that $ac_compile itself does not contain backslashes and begins
   15865    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15866    # The option is referenced via a variable to avoid confusing sed.
   15867    lt_compile=`echo "$ac_compile" | $SED \
   15868    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15869    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15870    -e 's:$: $lt_compiler_flag:'`
   15871    (eval echo "\"\$as_me:15871: $lt_compile\"" >&5)
   15872    (eval "$lt_compile" 2>conftest.err)
   15873    ac_status=$?
   15874    cat conftest.err >&5
   15875    echo "$as_me:15875: \$? = $ac_status" >&5
   15876    if (exit $ac_status) && test -s "$ac_outfile"; then
   15877      # The compiler can only warn and ignore the option if not recognized
   15878      # So say no if there are warnings other than the usual output.
   15879      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   15880      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15881      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15882        lt_cv_prog_compiler_rtti_exceptions=yes
   15883      fi
   15884    fi
   15885    $rm conftest*
   15886 
   15887 fi
   15888 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15889 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   15890 
   15891 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   15892     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   15893 else
   15894     :
   15895 fi
   15896 
   15897 fi
   15898 
   15899 lt_prog_compiler_wl_GCJ=
   15900 lt_prog_compiler_pic_GCJ=
   15901 lt_prog_compiler_static_GCJ=
   15902 
   15903 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   15904 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   15905 
   15906   if test "$GCC" = yes; then
   15907     lt_prog_compiler_wl_GCJ='-Wl,'
   15908     lt_prog_compiler_static_GCJ='-static'
   15909 
   15910     case $host_os in
   15911       aix*)
   15912       # All AIX code is PIC.
   15913       if test "$host_cpu" = ia64; then
   15914 	# AIX 5 now supports IA64 processor
   15915 	lt_prog_compiler_static_GCJ='-Bstatic'
   15916       fi
   15917       ;;
   15918 
   15919     amigaos*)
   15920       # FIXME: we need at least 68020 code to build shared libraries, but
   15921       # adding the `-m68020' flag to GCC prevents building anything better,
   15922       # like `-m68040'.
   15923       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   15924       ;;
   15925 
   15926     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15927       # PIC is the default for these OSes.
   15928       ;;
   15929 
   15930     mingw* | pw32* | os2*)
   15931       # This hack is so that the source file can tell whether it is being
   15932       # built for inclusion in a dll (and should export symbols for example).
   15933       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   15934       ;;
   15935 
   15936     darwin* | rhapsody*)
   15937       # PIC is the default on this platform
   15938       # Common symbols not allowed in MH_DYLIB files
   15939       lt_prog_compiler_pic_GCJ='-fno-common'
   15940       ;;
   15941 
   15942     interix3*)
   15943       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15944       # Instead, we relocate shared libraries at runtime.
   15945       ;;
   15946 
   15947     msdosdjgpp*)
   15948       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15949       # on systems that don't support them.
   15950       lt_prog_compiler_can_build_shared_GCJ=no
   15951       enable_shared=no
   15952       ;;
   15953 
   15954     sysv4*MP*)
   15955       if test -d /usr/nec; then
   15956 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   15957       fi
   15958       ;;
   15959 
   15960     hpux*)
   15961       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15962       # not for PA HP-UX.
   15963       case $host_cpu in
   15964       hppa*64*|ia64*)
   15965 	# +Z the default
   15966 	;;
   15967       *)
   15968 	lt_prog_compiler_pic_GCJ='-fPIC'
   15969 	;;
   15970       esac
   15971       ;;
   15972 
   15973     *)
   15974       lt_prog_compiler_pic_GCJ='-fPIC'
   15975       ;;
   15976     esac
   15977   else
   15978     # PORTME Check for flag to pass linker flags through the system compiler.
   15979     case $host_os in
   15980     aix*)
   15981       lt_prog_compiler_wl_GCJ='-Wl,'
   15982       if test "$host_cpu" = ia64; then
   15983 	# AIX 5 now supports IA64 processor
   15984 	lt_prog_compiler_static_GCJ='-Bstatic'
   15985       else
   15986 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   15987       fi
   15988       ;;
   15989       darwin*)
   15990         # PIC is the default on this platform
   15991         # Common symbols not allowed in MH_DYLIB files
   15992        case $cc_basename in
   15993          xlc*)
   15994          lt_prog_compiler_pic_GCJ='-qnocommon'
   15995          lt_prog_compiler_wl_GCJ='-Wl,'
   15996          ;;
   15997        esac
   15998        ;;
   15999 
   16000     mingw* | pw32* | os2*)
   16001       # This hack is so that the source file can tell whether it is being
   16002       # built for inclusion in a dll (and should export symbols for example).
   16003       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16004       ;;
   16005 
   16006     hpux9* | hpux10* | hpux11*)
   16007       lt_prog_compiler_wl_GCJ='-Wl,'
   16008       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16009       # not for PA HP-UX.
   16010       case $host_cpu in
   16011       hppa*64*|ia64*)
   16012 	# +Z the default
   16013 	;;
   16014       *)
   16015 	lt_prog_compiler_pic_GCJ='+Z'
   16016 	;;
   16017       esac
   16018       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16019       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16020       ;;
   16021 
   16022     irix5* | irix6* | nonstopux*)
   16023       lt_prog_compiler_wl_GCJ='-Wl,'
   16024       # PIC (with -KPIC) is the default.
   16025       lt_prog_compiler_static_GCJ='-non_shared'
   16026       ;;
   16027 
   16028     newsos6)
   16029       lt_prog_compiler_pic_GCJ='-KPIC'
   16030       lt_prog_compiler_static_GCJ='-Bstatic'
   16031       ;;
   16032 
   16033     linux*)
   16034       case $cc_basename in
   16035       icc* | ecc*)
   16036 	lt_prog_compiler_wl_GCJ='-Wl,'
   16037 	lt_prog_compiler_pic_GCJ='-KPIC'
   16038 	lt_prog_compiler_static_GCJ='-static'
   16039         ;;
   16040       pgcc* | pgf77* | pgf90* | pgf95*)
   16041         # Portland Group compilers (*not* the Pentium gcc compiler,
   16042 	# which looks to be a dead project)
   16043 	lt_prog_compiler_wl_GCJ='-Wl,'
   16044 	lt_prog_compiler_pic_GCJ='-fpic'
   16045 	lt_prog_compiler_static_GCJ='-Bstatic'
   16046         ;;
   16047       ccc*)
   16048         lt_prog_compiler_wl_GCJ='-Wl,'
   16049         # All Alpha code is PIC.
   16050         lt_prog_compiler_static_GCJ='-non_shared'
   16051         ;;
   16052       esac
   16053       ;;
   16054 
   16055     osf3* | osf4* | osf5*)
   16056       lt_prog_compiler_wl_GCJ='-Wl,'
   16057       # All OSF/1 code is PIC.
   16058       lt_prog_compiler_static_GCJ='-non_shared'
   16059       ;;
   16060 
   16061     solaris*)
   16062       lt_prog_compiler_pic_GCJ='-KPIC'
   16063       lt_prog_compiler_static_GCJ='-Bstatic'
   16064       case $cc_basename in
   16065       f77* | f90* | f95*)
   16066 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16067       *)
   16068 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16069       esac
   16070       ;;
   16071 
   16072     sunos4*)
   16073       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16074       lt_prog_compiler_pic_GCJ='-PIC'
   16075       lt_prog_compiler_static_GCJ='-Bstatic'
   16076       ;;
   16077 
   16078     sysv4 | sysv4.2uw2* | sysv4.3*)
   16079       lt_prog_compiler_wl_GCJ='-Wl,'
   16080       lt_prog_compiler_pic_GCJ='-KPIC'
   16081       lt_prog_compiler_static_GCJ='-Bstatic'
   16082       ;;
   16083 
   16084     sysv4*MP*)
   16085       if test -d /usr/nec ;then
   16086 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16087 	lt_prog_compiler_static_GCJ='-Bstatic'
   16088       fi
   16089       ;;
   16090 
   16091     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16092       lt_prog_compiler_wl_GCJ='-Wl,'
   16093       lt_prog_compiler_pic_GCJ='-KPIC'
   16094       lt_prog_compiler_static_GCJ='-Bstatic'
   16095       ;;
   16096 
   16097     unicos*)
   16098       lt_prog_compiler_wl_GCJ='-Wl,'
   16099       lt_prog_compiler_can_build_shared_GCJ=no
   16100       ;;
   16101 
   16102     uts4*)
   16103       lt_prog_compiler_pic_GCJ='-pic'
   16104       lt_prog_compiler_static_GCJ='-Bstatic'
   16105       ;;
   16106 
   16107     *)
   16108       lt_prog_compiler_can_build_shared_GCJ=no
   16109       ;;
   16110     esac
   16111   fi
   16112 
   16113 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16114 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
   16115 
   16116 #
   16117 # Check to make sure the PIC flag actually works.
   16118 #
   16119 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16120 
   16121 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16122 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
   16123 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16124   echo $ECHO_N "(cached) $ECHO_C" >&6
   16125 else
   16126   lt_prog_compiler_pic_works_GCJ=no
   16127   ac_outfile=conftest.$ac_objext
   16128    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16129    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16130    # Insert the option either (1) after the last *FLAGS variable, or
   16131    # (2) before a word containing "conftest.", or (3) at the end.
   16132    # Note that $ac_compile itself does not contain backslashes and begins
   16133    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16134    # The option is referenced via a variable to avoid confusing sed.
   16135    lt_compile=`echo "$ac_compile" | $SED \
   16136    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16137    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16138    -e 's:$: $lt_compiler_flag:'`
   16139    (eval echo "\"\$as_me:16139: $lt_compile\"" >&5)
   16140    (eval "$lt_compile" 2>conftest.err)
   16141    ac_status=$?
   16142    cat conftest.err >&5
   16143    echo "$as_me:16143: \$? = $ac_status" >&5
   16144    if (exit $ac_status) && test -s "$ac_outfile"; then
   16145      # The compiler can only warn and ignore the option if not recognized
   16146      # So say no if there are warnings other than the usual output.
   16147      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16148      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16149      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16150        lt_prog_compiler_pic_works_GCJ=yes
   16151      fi
   16152    fi
   16153    $rm conftest*
   16154 
   16155 fi
   16156 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16157 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
   16158 
   16159 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16160     case $lt_prog_compiler_pic_GCJ in
   16161      "" | " "*) ;;
   16162      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16163      esac
   16164 else
   16165     lt_prog_compiler_pic_GCJ=
   16166      lt_prog_compiler_can_build_shared_GCJ=no
   16167 fi
   16168 
   16169 fi
   16170 case $host_os in
   16171   # For platforms which do not support PIC, -DPIC is meaningless:
   16172   *djgpp*)
   16173     lt_prog_compiler_pic_GCJ=
   16174     ;;
   16175   *)
   16176     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16177     ;;
   16178 esac
   16179 
   16180 #
   16181 # Check to make sure the static flag actually works.
   16182 #
   16183 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16184 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16185 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   16186 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16187   echo $ECHO_N "(cached) $ECHO_C" >&6
   16188 else
   16189   lt_prog_compiler_static_works_GCJ=no
   16190    save_LDFLAGS="$LDFLAGS"
   16191    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16192    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16193    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16194      # The linker can only warn and ignore the option if not recognized
   16195      # So say no if there are warnings
   16196      if test -s conftest.err; then
   16197        # Append any errors to the config.log.
   16198        cat conftest.err 1>&5
   16199        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16200        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16201        if diff conftest.exp conftest.er2 >/dev/null; then
   16202          lt_prog_compiler_static_works_GCJ=yes
   16203        fi
   16204      else
   16205        lt_prog_compiler_static_works_GCJ=yes
   16206      fi
   16207    fi
   16208    $rm conftest*
   16209    LDFLAGS="$save_LDFLAGS"
   16210 
   16211 fi
   16212 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16213 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
   16214 
   16215 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16216     :
   16217 else
   16218     lt_prog_compiler_static_GCJ=
   16219 fi
   16220 
   16221 
   16222 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16223 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   16224 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16225   echo $ECHO_N "(cached) $ECHO_C" >&6
   16226 else
   16227   lt_cv_prog_compiler_c_o_GCJ=no
   16228    $rm -r conftest 2>/dev/null
   16229    mkdir conftest
   16230    cd conftest
   16231    mkdir out
   16232    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16233 
   16234    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16235    # Insert the option either (1) after the last *FLAGS variable, or
   16236    # (2) before a word containing "conftest.", or (3) at the end.
   16237    # Note that $ac_compile itself does not contain backslashes and begins
   16238    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16239    lt_compile=`echo "$ac_compile" | $SED \
   16240    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16241    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16242    -e 's:$: $lt_compiler_flag:'`
   16243    (eval echo "\"\$as_me:16243: $lt_compile\"" >&5)
   16244    (eval "$lt_compile" 2>out/conftest.err)
   16245    ac_status=$?
   16246    cat out/conftest.err >&5
   16247    echo "$as_me:16247: \$? = $ac_status" >&5
   16248    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16249    then
   16250      # The compiler can only warn and ignore the option if not recognized
   16251      # So say no if there are warnings
   16252      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16253      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16254      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16255        lt_cv_prog_compiler_c_o_GCJ=yes
   16256      fi
   16257    fi
   16258    chmod u+w . 2>&5
   16259    $rm conftest*
   16260    # SGI C++ compiler will create directory out/ii_files/ for
   16261    # template instantiation
   16262    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16263    $rm out/* && rmdir out
   16264    cd ..
   16265    rmdir conftest
   16266    $rm conftest*
   16267 
   16268 fi
   16269 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16270 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
   16271 
   16272 
   16273 hard_links="nottested"
   16274 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16275   # do not overwrite the value of need_locks provided by the user
   16276   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16277 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   16278   hard_links=yes
   16279   $rm conftest*
   16280   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16281   touch conftest.a
   16282   ln conftest.a conftest.b 2>&5 || hard_links=no
   16283   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16284   echo "$as_me:$LINENO: result: $hard_links" >&5
   16285 echo "${ECHO_T}$hard_links" >&6
   16286   if test "$hard_links" = no; then
   16287     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16288 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16289     need_locks=warn
   16290   fi
   16291 else
   16292   need_locks=no
   16293 fi
   16294 
   16295 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16296 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   16297 
   16298   runpath_var=
   16299   allow_undefined_flag_GCJ=
   16300   enable_shared_with_static_runtimes_GCJ=no
   16301   archive_cmds_GCJ=
   16302   archive_expsym_cmds_GCJ=
   16303   old_archive_From_new_cmds_GCJ=
   16304   old_archive_from_expsyms_cmds_GCJ=
   16305   export_dynamic_flag_spec_GCJ=
   16306   whole_archive_flag_spec_GCJ=
   16307   thread_safe_flag_spec_GCJ=
   16308   hardcode_libdir_flag_spec_GCJ=
   16309   hardcode_libdir_flag_spec_ld_GCJ=
   16310   hardcode_libdir_separator_GCJ=
   16311   hardcode_direct_GCJ=no
   16312   hardcode_minus_L_GCJ=no
   16313   hardcode_shlibpath_var_GCJ=unsupported
   16314   link_all_deplibs_GCJ=unknown
   16315   hardcode_automatic_GCJ=no
   16316   module_cmds_GCJ=
   16317   module_expsym_cmds_GCJ=
   16318   always_export_symbols_GCJ=no
   16319   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16320   # include_expsyms should be a list of space-separated symbols to be *always*
   16321   # included in the symbol list
   16322   include_expsyms_GCJ=
   16323   # exclude_expsyms can be an extended regexp of symbols to exclude
   16324   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16325   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16326   # as well as any symbol that contains `d'.
   16327   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16328   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16329   # platforms (ab)use it in PIC code, but their linkers get confused if
   16330   # the symbol is explicitly referenced.  Since portable code cannot
   16331   # rely on this symbol name, it's probably fine to never include it in
   16332   # preloaded symbol tables.
   16333   extract_expsyms_cmds=
   16334   # Just being paranoid about ensuring that cc_basename is set.
   16335   for cc_temp in $compiler""; do
   16336   case $cc_temp in
   16337     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16338     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16339     \-*) ;;
   16340     *) break;;
   16341   esac
   16342 done
   16343 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16344 
   16345   case $host_os in
   16346   cygwin* | mingw* | pw32*)
   16347     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16348     # When not using gcc, we currently assume that we are using
   16349     # Microsoft Visual C++.
   16350     if test "$GCC" != yes; then
   16351       with_gnu_ld=no
   16352     fi
   16353     ;;
   16354   interix*)
   16355     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16356     with_gnu_ld=yes
   16357     ;;
   16358   openbsd*)
   16359     with_gnu_ld=no
   16360     ;;
   16361   esac
   16362 
   16363   ld_shlibs_GCJ=yes
   16364   if test "$with_gnu_ld" = yes; then
   16365     # If archive_cmds runs LD, not CC, wlarc should be empty
   16366     wlarc='${wl}'
   16367 
   16368     # Set some defaults for GNU ld with shared library support. These
   16369     # are reset later if shared libraries are not supported. Putting them
   16370     # here allows them to be overridden if necessary.
   16371     runpath_var=LD_RUN_PATH
   16372     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16373     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16374     # ancient GNU ld didn't support --whole-archive et. al.
   16375     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16376 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16377       else
   16378   	whole_archive_flag_spec_GCJ=
   16379     fi
   16380     supports_anon_versioning=no
   16381     case `$LD -v 2>/dev/null` in
   16382       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16383       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16384       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16385       *\ 2.11.*) ;; # other 2.11 versions
   16386       *) supports_anon_versioning=yes ;;
   16387     esac
   16388 
   16389     # See if GNU ld supports shared libraries.
   16390     case $host_os in
   16391     aix3* | aix4* | aix5*)
   16392       # On AIX/PPC, the GNU linker is very broken
   16393       if test "$host_cpu" != ia64; then
   16394 	ld_shlibs_GCJ=no
   16395 	cat <<EOF 1>&2
   16396 
   16397 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16398 *** to be unable to reliably create shared libraries on AIX.
   16399 *** Therefore, libtool is disabling shared libraries support.  If you
   16400 *** really care for shared libraries, you may want to modify your PATH
   16401 *** so that a non-GNU linker is found, and then restart.
   16402 
   16403 EOF
   16404       fi
   16405       ;;
   16406 
   16407     amigaos*)
   16408       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)'
   16409       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16410       hardcode_minus_L_GCJ=yes
   16411 
   16412       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16413       # that the semantics of dynamic libraries on AmigaOS, at least up
   16414       # to version 4, is to share data among multiple programs linked
   16415       # with the same dynamic library.  Since this doesn't match the
   16416       # behavior of shared libraries on other platforms, we can't use
   16417       # them.
   16418       ld_shlibs_GCJ=no
   16419       ;;
   16420 
   16421     beos*)
   16422       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16423 	allow_undefined_flag_GCJ=unsupported
   16424 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16425 	# support --undefined.  This deserves some investigation.  FIXME
   16426 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16427       else
   16428 	ld_shlibs_GCJ=no
   16429       fi
   16430       ;;
   16431 
   16432     cygwin* | mingw* | pw32*)
   16433       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16434       # as there is no search path for DLLs.
   16435       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16436       allow_undefined_flag_GCJ=unsupported
   16437       always_export_symbols_GCJ=no
   16438       enable_shared_with_static_runtimes_GCJ=yes
   16439       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16440 
   16441       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16442         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16443 	# If the export-symbols file already is a .def file (1st line
   16444 	# is EXPORTS), use it as is; otherwise, prepend...
   16445 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16446 	  cp $export_symbols $output_objdir/$soname.def;
   16447 	else
   16448 	  echo EXPORTS > $output_objdir/$soname.def;
   16449 	  cat $export_symbols >> $output_objdir/$soname.def;
   16450 	fi~
   16451 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16452       else
   16453 	ld_shlibs_GCJ=no
   16454       fi
   16455       ;;
   16456 
   16457     interix3*)
   16458       hardcode_direct_GCJ=no
   16459       hardcode_shlibpath_var_GCJ=no
   16460       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16461       export_dynamic_flag_spec_GCJ='${wl}-E'
   16462       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16463       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16464       # default) and relocated if they conflict, which is a slow very memory
   16465       # consuming and fragmenting process.  To avoid this, we pick a random,
   16466       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16467       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16468       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'
   16469       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'
   16470       ;;
   16471 
   16472     linux*)
   16473       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16474 	tmp_addflag=
   16475 	case $cc_basename,$host_cpu in
   16476 	pgcc*)				# Portland Group C compiler
   16477 	  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'
   16478 	  tmp_addflag=' $pic_flag'
   16479 	  ;;
   16480 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16481 	  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'
   16482 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16483 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16484 	  tmp_addflag=' -i_dynamic' ;;
   16485 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16486 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16487 	ifc* | ifort*)			# Intel Fortran compiler
   16488 	  tmp_addflag=' -nofor_main' ;;
   16489 	esac
   16490 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16491 
   16492 	if test $supports_anon_versioning = yes; then
   16493 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16494   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16495   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16496 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16497 	fi
   16498       else
   16499 	ld_shlibs_GCJ=no
   16500       fi
   16501       ;;
   16502 
   16503     netbsd*)
   16504       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16505 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16506 	wlarc=
   16507       else
   16508 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16509 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16510       fi
   16511       ;;
   16512 
   16513     solaris*)
   16514       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16515 	ld_shlibs_GCJ=no
   16516 	cat <<EOF 1>&2
   16517 
   16518 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16519 *** create shared libraries on Solaris systems.  Therefore, libtool
   16520 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16521 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16522 *** your PATH or compiler configuration so that the native linker is
   16523 *** used, and then restart.
   16524 
   16525 EOF
   16526       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16527 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16528 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16529       else
   16530 	ld_shlibs_GCJ=no
   16531       fi
   16532       ;;
   16533 
   16534     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16535       case `$LD -v 2>&1` in
   16536         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16537 	ld_shlibs_GCJ=no
   16538 	cat <<_LT_EOF 1>&2
   16539 
   16540 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16541 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16542 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16543 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16544 *** your PATH or compiler configuration so that the native linker is
   16545 *** used, and then restart.
   16546 
   16547 _LT_EOF
   16548 	;;
   16549 	*)
   16550 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16551 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16552 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16553 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16554 	  else
   16555 	    ld_shlibs_GCJ=no
   16556 	  fi
   16557 	;;
   16558       esac
   16559       ;;
   16560 
   16561     sunos4*)
   16562       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16563       wlarc=
   16564       hardcode_direct_GCJ=yes
   16565       hardcode_shlibpath_var_GCJ=no
   16566       ;;
   16567 
   16568     *)
   16569       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16570 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16571 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16572       else
   16573 	ld_shlibs_GCJ=no
   16574       fi
   16575       ;;
   16576     esac
   16577 
   16578     if test "$ld_shlibs_GCJ" = no; then
   16579       runpath_var=
   16580       hardcode_libdir_flag_spec_GCJ=
   16581       export_dynamic_flag_spec_GCJ=
   16582       whole_archive_flag_spec_GCJ=
   16583     fi
   16584   else
   16585     # PORTME fill in a description of your system's linker (not GNU ld)
   16586     case $host_os in
   16587     aix3*)
   16588       allow_undefined_flag_GCJ=unsupported
   16589       always_export_symbols_GCJ=yes
   16590       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'
   16591       # Note: this linker hardcodes the directories in LIBPATH if there
   16592       # are no directories specified by -L.
   16593       hardcode_minus_L_GCJ=yes
   16594       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16595 	# Neither direct hardcoding nor static linking is supported with a
   16596 	# broken collect2.
   16597 	hardcode_direct_GCJ=unsupported
   16598       fi
   16599       ;;
   16600 
   16601     aix4* | aix5*)
   16602       if test "$host_cpu" = ia64; then
   16603 	# On IA64, the linker does run time linking by default, so we don't
   16604 	# have to do anything special.
   16605 	aix_use_runtimelinking=no
   16606 	exp_sym_flag='-Bexport'
   16607 	no_entry_flag=""
   16608       else
   16609 	# If we're using GNU nm, then we don't want the "-C" option.
   16610 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16611 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16612 	  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'
   16613 	else
   16614 	  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'
   16615 	fi
   16616 	aix_use_runtimelinking=no
   16617 
   16618 	# Test if we are trying to use run time linking or normal
   16619 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16620 	# need to do runtime linking.
   16621 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16622 	  for ld_flag in $LDFLAGS; do
   16623   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16624   	    aix_use_runtimelinking=yes
   16625   	    break
   16626   	  fi
   16627 	  done
   16628 	  ;;
   16629 	esac
   16630 
   16631 	exp_sym_flag='-bexport'
   16632 	no_entry_flag='-bnoentry'
   16633       fi
   16634 
   16635       # When large executables or shared objects are built, AIX ld can
   16636       # have problems creating the table of contents.  If linking a library
   16637       # or program results in "error TOC overflow" add -mminimal-toc to
   16638       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16639       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16640 
   16641       archive_cmds_GCJ=''
   16642       hardcode_direct_GCJ=yes
   16643       hardcode_libdir_separator_GCJ=':'
   16644       link_all_deplibs_GCJ=yes
   16645 
   16646       if test "$GCC" = yes; then
   16647 	case $host_os in aix4.[012]|aix4.[012].*)
   16648 	# We only want to do this on AIX 4.2 and lower, the check
   16649 	# below for broken collect2 doesn't work under 4.3+
   16650 	  collect2name=`${CC} -print-prog-name=collect2`
   16651 	  if test -f "$collect2name" && \
   16652   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16653 	  then
   16654   	  # We have reworked collect2
   16655   	  hardcode_direct_GCJ=yes
   16656 	  else
   16657   	  # We have old collect2
   16658   	  hardcode_direct_GCJ=unsupported
   16659   	  # It fails to find uninstalled libraries when the uninstalled
   16660   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16661   	  # to unsupported forces relinking
   16662   	  hardcode_minus_L_GCJ=yes
   16663   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16664   	  hardcode_libdir_separator_GCJ=
   16665 	  fi
   16666 	  ;;
   16667 	esac
   16668 	shared_flag='-shared'
   16669 	if test "$aix_use_runtimelinking" = yes; then
   16670 	  shared_flag="$shared_flag "'${wl}-G'
   16671 	fi
   16672       else
   16673 	# not using gcc
   16674 	if test "$host_cpu" = ia64; then
   16675   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16676   	# chokes on -Wl,-G. The following line is correct:
   16677 	  shared_flag='-G'
   16678 	else
   16679 	  if test "$aix_use_runtimelinking" = yes; then
   16680 	    shared_flag='${wl}-G'
   16681 	  else
   16682 	    shared_flag='${wl}-bM:SRE'
   16683 	  fi
   16684 	fi
   16685       fi
   16686 
   16687       # It seems that -bexpall does not export symbols beginning with
   16688       # underscore (_), so it is better to generate a list of symbols to export.
   16689       always_export_symbols_GCJ=yes
   16690       if test "$aix_use_runtimelinking" = yes; then
   16691 	# Warning - without using the other runtime loading flags (-brtl),
   16692 	# -berok will link without error, but may produce a broken library.
   16693 	allow_undefined_flag_GCJ='-berok'
   16694        # Determine the default libpath from the value encoded in an empty executable.
   16695        cat >conftest.$ac_ext <<_ACEOF
   16696 /* confdefs.h.  */
   16697 _ACEOF
   16698 cat confdefs.h >>conftest.$ac_ext
   16699 cat >>conftest.$ac_ext <<_ACEOF
   16700 /* end confdefs.h.  */
   16701 
   16702 int
   16703 main ()
   16704 {
   16705 
   16706   ;
   16707   return 0;
   16708 }
   16709 _ACEOF
   16710 rm -f conftest.$ac_objext conftest$ac_exeext
   16711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16712   (eval $ac_link) 2>conftest.er1
   16713   ac_status=$?
   16714   grep -v '^ *+' conftest.er1 >conftest.err
   16715   rm -f conftest.er1
   16716   cat conftest.err >&5
   16717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16718   (exit $ac_status); } &&
   16719 	 { ac_try='test -z "$ac_c_werror_flag"
   16720 			 || test ! -s conftest.err'
   16721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16722   (eval $ac_try) 2>&5
   16723   ac_status=$?
   16724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16725   (exit $ac_status); }; } &&
   16726 	 { ac_try='test -s conftest$ac_exeext'
   16727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16728   (eval $ac_try) 2>&5
   16729   ac_status=$?
   16730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16731   (exit $ac_status); }; }; then
   16732 
   16733 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16734 }'`
   16735 # Check for a 64-bit object if we didn't find anything.
   16736 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; }
   16737 }'`; fi
   16738 else
   16739   echo "$as_me: failed program was:" >&5
   16740 sed 's/^/| /' conftest.$ac_ext >&5
   16741 
   16742 fi
   16743 rm -f conftest.err conftest.$ac_objext \
   16744       conftest$ac_exeext conftest.$ac_ext
   16745 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16746 
   16747        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16748 	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"
   16749        else
   16750 	if test "$host_cpu" = ia64; then
   16751 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   16752 	  allow_undefined_flag_GCJ="-z nodefs"
   16753 	  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"
   16754 	else
   16755 	 # Determine the default libpath from the value encoded in an empty executable.
   16756 	 cat >conftest.$ac_ext <<_ACEOF
   16757 /* confdefs.h.  */
   16758 _ACEOF
   16759 cat confdefs.h >>conftest.$ac_ext
   16760 cat >>conftest.$ac_ext <<_ACEOF
   16761 /* end confdefs.h.  */
   16762 
   16763 int
   16764 main ()
   16765 {
   16766 
   16767   ;
   16768   return 0;
   16769 }
   16770 _ACEOF
   16771 rm -f conftest.$ac_objext conftest$ac_exeext
   16772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   16773   (eval $ac_link) 2>conftest.er1
   16774   ac_status=$?
   16775   grep -v '^ *+' conftest.er1 >conftest.err
   16776   rm -f conftest.er1
   16777   cat conftest.err >&5
   16778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16779   (exit $ac_status); } &&
   16780 	 { ac_try='test -z "$ac_c_werror_flag"
   16781 			 || test ! -s conftest.err'
   16782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16783   (eval $ac_try) 2>&5
   16784   ac_status=$?
   16785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16786   (exit $ac_status); }; } &&
   16787 	 { ac_try='test -s conftest$ac_exeext'
   16788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   16789   (eval $ac_try) 2>&5
   16790   ac_status=$?
   16791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16792   (exit $ac_status); }; }; then
   16793 
   16794 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   16795 }'`
   16796 # Check for a 64-bit object if we didn't find anything.
   16797 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; }
   16798 }'`; fi
   16799 else
   16800   echo "$as_me: failed program was:" >&5
   16801 sed 's/^/| /' conftest.$ac_ext >&5
   16802 
   16803 fi
   16804 rm -f conftest.err conftest.$ac_objext \
   16805       conftest$ac_exeext conftest.$ac_ext
   16806 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   16807 
   16808 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   16809 	  # Warning - without using the other run time loading flags,
   16810 	  # -berok will link without error, but may produce a broken library.
   16811 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   16812 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   16813 	  # Exported symbols can be pulled into shared objects from archives
   16814 	  whole_archive_flag_spec_GCJ='$convenience'
   16815 	  archive_cmds_need_lc_GCJ=yes
   16816 	  # This is similar to how AIX traditionally builds its shared libraries.
   16817 	  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'
   16818 	fi
   16819       fi
   16820       ;;
   16821 
   16822     amigaos*)
   16823       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)'
   16824       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16825       hardcode_minus_L_GCJ=yes
   16826       # see comment about different semantics on the GNU ld section
   16827       ld_shlibs_GCJ=no
   16828       ;;
   16829 
   16830     bsdi[45]*)
   16831       export_dynamic_flag_spec_GCJ=-rdynamic
   16832       ;;
   16833 
   16834     cygwin* | mingw* | pw32*)
   16835       # When not using gcc, we currently assume that we are using
   16836       # Microsoft Visual C++.
   16837       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16838       # no search path for DLLs.
   16839       hardcode_libdir_flag_spec_GCJ=' '
   16840       allow_undefined_flag_GCJ=unsupported
   16841       # Tell ltmain to make .lib files, not .a files.
   16842       libext=lib
   16843       # Tell ltmain to make .dll files, not .so files.
   16844       shrext_cmds=".dll"
   16845       # FIXME: Setting linknames here is a bad hack.
   16846       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   16847       # The linker will automatically build a .lib file if we build a DLL.
   16848       old_archive_From_new_cmds_GCJ='true'
   16849       # FIXME: Should let the user specify the lib program.
   16850       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   16851       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   16852       enable_shared_with_static_runtimes_GCJ=yes
   16853       ;;
   16854 
   16855     darwin* | rhapsody*)
   16856       case $host_os in
   16857         rhapsody* | darwin1.[012])
   16858          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   16859          ;;
   16860        *) # Darwin 1.3 on
   16861          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   16862            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16863          else
   16864            case ${MACOSX_DEPLOYMENT_TARGET} in
   16865              10.[012])
   16866                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   16867                ;;
   16868              10.*)
   16869                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   16870                ;;
   16871            esac
   16872          fi
   16873          ;;
   16874       esac
   16875       archive_cmds_need_lc_GCJ=no
   16876       hardcode_direct_GCJ=no
   16877       hardcode_automatic_GCJ=yes
   16878       hardcode_shlibpath_var_GCJ=unsupported
   16879       whole_archive_flag_spec_GCJ=''
   16880       link_all_deplibs_GCJ=yes
   16881     if test "$GCC" = yes ; then
   16882     	output_verbose_link_cmd='echo'
   16883         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   16884       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16885       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16886       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}'
   16887       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}'
   16888     else
   16889       case $cc_basename in
   16890         xlc*)
   16891          output_verbose_link_cmd='echo'
   16892          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   16893          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   16894           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   16895          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}'
   16896           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}'
   16897           ;;
   16898        *)
   16899          ld_shlibs_GCJ=no
   16900           ;;
   16901       esac
   16902     fi
   16903       ;;
   16904 
   16905     dgux*)
   16906       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16907       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16908       hardcode_shlibpath_var_GCJ=no
   16909       ;;
   16910 
   16911     freebsd1*)
   16912       ld_shlibs_GCJ=no
   16913       ;;
   16914 
   16915     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16916     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16917     # does not break anything, and helps significantly (at the cost of a little
   16918     # extra space).
   16919     freebsd2.2*)
   16920       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16921       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16922       hardcode_direct_GCJ=yes
   16923       hardcode_shlibpath_var_GCJ=no
   16924       ;;
   16925 
   16926     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16927     freebsd2*)
   16928       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16929       hardcode_direct_GCJ=yes
   16930       hardcode_minus_L_GCJ=yes
   16931       hardcode_shlibpath_var_GCJ=no
   16932       ;;
   16933 
   16934     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16935     freebsd* | kfreebsd*-gnu | dragonfly*)
   16936       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   16937       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   16938       hardcode_direct_GCJ=yes
   16939       hardcode_shlibpath_var_GCJ=no
   16940       ;;
   16941 
   16942     hpux9*)
   16943       if test "$GCC" = yes; then
   16944 	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'
   16945       else
   16946 	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'
   16947       fi
   16948       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16949       hardcode_libdir_separator_GCJ=:
   16950       hardcode_direct_GCJ=yes
   16951 
   16952       # hardcode_minus_L: Not really in the search PATH,
   16953       # but as the default location of the library.
   16954       hardcode_minus_L_GCJ=yes
   16955       export_dynamic_flag_spec_GCJ='${wl}-E'
   16956       ;;
   16957 
   16958     hpux10*)
   16959       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16960 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16961       else
   16962 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16963       fi
   16964       if test "$with_gnu_ld" = no; then
   16965 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   16966 	hardcode_libdir_separator_GCJ=:
   16967 
   16968 	hardcode_direct_GCJ=yes
   16969 	export_dynamic_flag_spec_GCJ='${wl}-E'
   16970 
   16971 	# hardcode_minus_L: Not really in the search PATH,
   16972 	# but as the default location of the library.
   16973 	hardcode_minus_L_GCJ=yes
   16974       fi
   16975       ;;
   16976 
   16977     hpux11*)
   16978       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   16979 	case $host_cpu in
   16980 	hppa*64*)
   16981 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16982 	  ;;
   16983 	ia64*)
   16984 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16985 	  ;;
   16986 	*)
   16987 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16988 	  ;;
   16989 	esac
   16990       else
   16991 	case $host_cpu in
   16992 	hppa*64*)
   16993 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16994 	  ;;
   16995 	ia64*)
   16996 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16997 	  ;;
   16998 	*)
   16999 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17000 	  ;;
   17001 	esac
   17002       fi
   17003       if test "$with_gnu_ld" = no; then
   17004 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17005 	hardcode_libdir_separator_GCJ=:
   17006 
   17007 	case $host_cpu in
   17008 	hppa*64*|ia64*)
   17009 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17010 	  hardcode_direct_GCJ=no
   17011 	  hardcode_shlibpath_var_GCJ=no
   17012 	  ;;
   17013 	*)
   17014 	  hardcode_direct_GCJ=yes
   17015 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17016 
   17017 	  # hardcode_minus_L: Not really in the search PATH,
   17018 	  # but as the default location of the library.
   17019 	  hardcode_minus_L_GCJ=yes
   17020 	  ;;
   17021 	esac
   17022       fi
   17023       ;;
   17024 
   17025     irix5* | irix6* | nonstopux*)
   17026       if test "$GCC" = yes; then
   17027 	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'
   17028       else
   17029 	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'
   17030 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17031       fi
   17032       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17033       hardcode_libdir_separator_GCJ=:
   17034       link_all_deplibs_GCJ=yes
   17035       ;;
   17036 
   17037     netbsd*)
   17038       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17039 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17040       else
   17041 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17042       fi
   17043       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17044       hardcode_direct_GCJ=yes
   17045       hardcode_shlibpath_var_GCJ=no
   17046       ;;
   17047 
   17048     newsos6)
   17049       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17050       hardcode_direct_GCJ=yes
   17051       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17052       hardcode_libdir_separator_GCJ=:
   17053       hardcode_shlibpath_var_GCJ=no
   17054       ;;
   17055 
   17056     openbsd*)
   17057       hardcode_direct_GCJ=yes
   17058       hardcode_shlibpath_var_GCJ=no
   17059       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17060 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17061 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17062 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17063 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17064       else
   17065        case $host_os in
   17066 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17067 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17068 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17069 	   ;;
   17070 	 *)
   17071 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17072 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17073 	   ;;
   17074        esac
   17075       fi
   17076       ;;
   17077 
   17078     os2*)
   17079       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17080       hardcode_minus_L_GCJ=yes
   17081       allow_undefined_flag_GCJ=unsupported
   17082       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'
   17083       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17084       ;;
   17085 
   17086     osf3*)
   17087       if test "$GCC" = yes; then
   17088 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17089 	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'
   17090       else
   17091 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17092 	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'
   17093       fi
   17094       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17095       hardcode_libdir_separator_GCJ=:
   17096       ;;
   17097 
   17098     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17099       if test "$GCC" = yes; then
   17100 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17101 	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'
   17102 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17103       else
   17104 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17105 	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'
   17106 	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~
   17107 	$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'
   17108 
   17109 	# Both c and cxx compiler support -rpath directly
   17110 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17111       fi
   17112       hardcode_libdir_separator_GCJ=:
   17113       ;;
   17114 
   17115     solaris*)
   17116       no_undefined_flag_GCJ=' -z text'
   17117       if test "$GCC" = yes; then
   17118 	wlarc='${wl}'
   17119 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17120 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17121 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17122       else
   17123 	wlarc=''
   17124 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17125 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17126   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17127       fi
   17128       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17129       hardcode_shlibpath_var_GCJ=no
   17130       case $host_os in
   17131       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17132       *)
   17133  	# The compiler driver will combine linker options so we
   17134  	# cannot just pass the convience library names through
   17135  	# without $wl, iff we do not link with $LD.
   17136  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17137  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17138  	case $wlarc in
   17139  	'')
   17140  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17141  	*)
   17142  	  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' ;;
   17143  	esac ;;
   17144       esac
   17145       link_all_deplibs_GCJ=yes
   17146       ;;
   17147 
   17148     sunos4*)
   17149       if test "x$host_vendor" = xsequent; then
   17150 	# Use $CC to link under sequent, because it throws in some extra .o
   17151 	# files that make .init and .fini sections work.
   17152 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17153       else
   17154 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17155       fi
   17156       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17157       hardcode_direct_GCJ=yes
   17158       hardcode_minus_L_GCJ=yes
   17159       hardcode_shlibpath_var_GCJ=no
   17160       ;;
   17161 
   17162     sysv4)
   17163       case $host_vendor in
   17164 	sni)
   17165 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17166 	  hardcode_direct_GCJ=yes # is this really true???
   17167 	;;
   17168 	siemens)
   17169 	  ## LD is ld it makes a PLAMLIB
   17170 	  ## CC just makes a GrossModule.
   17171 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17172 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17173 	  hardcode_direct_GCJ=no
   17174         ;;
   17175 	motorola)
   17176 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17177 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17178 	;;
   17179       esac
   17180       runpath_var='LD_RUN_PATH'
   17181       hardcode_shlibpath_var_GCJ=no
   17182       ;;
   17183 
   17184     sysv4.3*)
   17185       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17186       hardcode_shlibpath_var_GCJ=no
   17187       export_dynamic_flag_spec_GCJ='-Bexport'
   17188       ;;
   17189 
   17190     sysv4*MP*)
   17191       if test -d /usr/nec; then
   17192 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17193 	hardcode_shlibpath_var_GCJ=no
   17194 	runpath_var=LD_RUN_PATH
   17195 	hardcode_runpath_var=yes
   17196 	ld_shlibs_GCJ=yes
   17197       fi
   17198       ;;
   17199 
   17200     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17201       no_undefined_flag_GCJ='${wl}-z,text'
   17202       archive_cmds_need_lc_GCJ=no
   17203       hardcode_shlibpath_var_GCJ=no
   17204       runpath_var='LD_RUN_PATH'
   17205 
   17206       if test "$GCC" = yes; then
   17207 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17208 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17209       else
   17210 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17211 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17212       fi
   17213       ;;
   17214 
   17215     sysv5* | sco3.2v5* | sco5v6*)
   17216       # Note: We can NOT use -z defs as we might desire, because we do not
   17217       # link with -lc, and that would cause any symbols used from libc to
   17218       # always be unresolved, which means just about no library would
   17219       # ever link correctly.  If we're not using GNU ld we use -z text
   17220       # though, which does catch some bad symbols but isn't as heavy-handed
   17221       # as -z defs.
   17222       no_undefined_flag_GCJ='${wl}-z,text'
   17223       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17224       archive_cmds_need_lc_GCJ=no
   17225       hardcode_shlibpath_var_GCJ=no
   17226       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17227       hardcode_libdir_separator_GCJ=':'
   17228       link_all_deplibs_GCJ=yes
   17229       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17230       runpath_var='LD_RUN_PATH'
   17231 
   17232       if test "$GCC" = yes; then
   17233 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17234 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17235       else
   17236 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17237 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17238       fi
   17239       ;;
   17240 
   17241     uts4*)
   17242       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17243       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17244       hardcode_shlibpath_var_GCJ=no
   17245       ;;
   17246 
   17247     *)
   17248       ld_shlibs_GCJ=no
   17249       ;;
   17250     esac
   17251   fi
   17252 
   17253 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17254 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
   17255 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17256 
   17257 #
   17258 # Do we need to explicitly link libc?
   17259 #
   17260 case "x$archive_cmds_need_lc_GCJ" in
   17261 x|xyes)
   17262   # Assume -lc should be added
   17263   archive_cmds_need_lc_GCJ=yes
   17264 
   17265   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17266     case $archive_cmds_GCJ in
   17267     *'~'*)
   17268       # FIXME: we may have to deal with multi-command sequences.
   17269       ;;
   17270     '$CC '*)
   17271       # Test whether the compiler implicitly links with -lc since on some
   17272       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17273       # to ld, don't add -lc before -lgcc.
   17274       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17275 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   17276       $rm conftest*
   17277       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17278 
   17279       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17280   (eval $ac_compile) 2>&5
   17281   ac_status=$?
   17282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17283   (exit $ac_status); } 2>conftest.err; then
   17284         soname=conftest
   17285         lib=conftest
   17286         libobjs=conftest.$ac_objext
   17287         deplibs=
   17288         wl=$lt_prog_compiler_wl_GCJ
   17289 	pic_flag=$lt_prog_compiler_pic_GCJ
   17290         compiler_flags=-v
   17291         linker_flags=-v
   17292         verstring=
   17293         output_objdir=.
   17294         libname=conftest
   17295         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17296         allow_undefined_flag_GCJ=
   17297         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17298   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17299   ac_status=$?
   17300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17301   (exit $ac_status); }
   17302         then
   17303 	  archive_cmds_need_lc_GCJ=no
   17304         else
   17305 	  archive_cmds_need_lc_GCJ=yes
   17306         fi
   17307         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17308       else
   17309         cat conftest.err 1>&5
   17310       fi
   17311       $rm conftest*
   17312       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17313 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
   17314       ;;
   17315     esac
   17316   fi
   17317   ;;
   17318 esac
   17319 
   17320 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17321 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   17322 library_names_spec=
   17323 libname_spec='lib$name'
   17324 soname_spec=
   17325 shrext_cmds=".so"
   17326 postinstall_cmds=
   17327 postuninstall_cmds=
   17328 finish_cmds=
   17329 finish_eval=
   17330 shlibpath_var=
   17331 shlibpath_overrides_runpath=unknown
   17332 version_type=none
   17333 dynamic_linker="$host_os ld.so"
   17334 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17335 if test "$GCC" = yes; then
   17336   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17337   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17338     # if the path contains ";" then we assume it to be the separator
   17339     # otherwise default to the standard path separator (i.e. ":") - it is
   17340     # assumed that no part of a normal pathname contains ";" but that should
   17341     # okay in the real world where ";" in dirpaths is itself problematic.
   17342     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17343   else
   17344     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17345   fi
   17346 else
   17347   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17348 fi
   17349 need_lib_prefix=unknown
   17350 hardcode_into_libs=no
   17351 
   17352 # when you set need_version to no, make sure it does not cause -set_version
   17353 # flags to be left without arguments
   17354 need_version=unknown
   17355 
   17356 case $host_os in
   17357 aix3*)
   17358   version_type=linux
   17359   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17360   shlibpath_var=LIBPATH
   17361 
   17362   # AIX 3 has no versioning support, so we append a major version to the name.
   17363   soname_spec='${libname}${release}${shared_ext}$major'
   17364   ;;
   17365 
   17366 aix4* | aix5*)
   17367   version_type=linux
   17368   need_lib_prefix=no
   17369   need_version=no
   17370   hardcode_into_libs=yes
   17371   if test "$host_cpu" = ia64; then
   17372     # AIX 5 supports IA64
   17373     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17374     shlibpath_var=LD_LIBRARY_PATH
   17375   else
   17376     # With GCC up to 2.95.x, collect2 would create an import file
   17377     # for dependence libraries.  The import file would start with
   17378     # the line `#! .'.  This would cause the generated library to
   17379     # depend on `.', always an invalid library.  This was fixed in
   17380     # development snapshots of GCC prior to 3.0.
   17381     case $host_os in
   17382       aix4 | aix4.[01] | aix4.[01].*)
   17383       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17384 	   echo ' yes '
   17385 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17386 	:
   17387       else
   17388 	can_build_shared=no
   17389       fi
   17390       ;;
   17391     esac
   17392     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17393     # soname into executable. Probably we can add versioning support to
   17394     # collect2, so additional links can be useful in future.
   17395     if test "$aix_use_runtimelinking" = yes; then
   17396       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17397       # instead of lib<name>.a to let people know that these are not
   17398       # typical AIX shared libraries.
   17399       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17400     else
   17401       # We preserve .a as extension for shared libraries through AIX4.2
   17402       # and later when we are not doing run time linking.
   17403       library_names_spec='${libname}${release}.a $libname.a'
   17404       soname_spec='${libname}${release}${shared_ext}$major'
   17405     fi
   17406     shlibpath_var=LIBPATH
   17407   fi
   17408   ;;
   17409 
   17410 amigaos*)
   17411   library_names_spec='$libname.ixlibrary $libname.a'
   17412   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17413   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'
   17414   ;;
   17415 
   17416 beos*)
   17417   library_names_spec='${libname}${shared_ext}'
   17418   dynamic_linker="$host_os ld.so"
   17419   shlibpath_var=LIBRARY_PATH
   17420   ;;
   17421 
   17422 bsdi[45]*)
   17423   version_type=linux
   17424   need_version=no
   17425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17426   soname_spec='${libname}${release}${shared_ext}$major'
   17427   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17428   shlibpath_var=LD_LIBRARY_PATH
   17429   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17430   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17431   # the default ld.so.conf also contains /usr/contrib/lib and
   17432   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17433   # libtool to hard-code these into programs
   17434   ;;
   17435 
   17436 cygwin* | mingw* | pw32*)
   17437   version_type=windows
   17438   shrext_cmds=".dll"
   17439   need_version=no
   17440   need_lib_prefix=no
   17441 
   17442   case $GCC,$host_os in
   17443   yes,cygwin* | yes,mingw* | yes,pw32*)
   17444     library_names_spec='$libname.dll.a'
   17445     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17446     postinstall_cmds='base_file=`basename \${file}`~
   17447       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17448       dldir=$destdir/`dirname \$dlpath`~
   17449       test -d \$dldir || mkdir -p \$dldir~
   17450       $install_prog $dir/$dlname \$dldir/$dlname~
   17451       chmod a+x \$dldir/$dlname'
   17452     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17453       dlpath=$dir/\$dldll~
   17454        $rm \$dlpath'
   17455     shlibpath_overrides_runpath=yes
   17456 
   17457     case $host_os in
   17458     cygwin*)
   17459       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17460       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17461       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17462       ;;
   17463     mingw*)
   17464       # MinGW DLLs use traditional 'lib' prefix
   17465       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17466       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17467       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17468         # It is most probably a Windows format PATH printed by
   17469         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17470         # path with ; separators, and with drive letters. We can handle the
   17471         # drive letters (cygwin fileutils understands them), so leave them,
   17472         # especially as we might pass files found there to a mingw objdump,
   17473         # which wouldn't understand a cygwinified path. Ahh.
   17474         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17475       else
   17476         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17477       fi
   17478       ;;
   17479     pw32*)
   17480       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17481       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17482       ;;
   17483     esac
   17484     ;;
   17485 
   17486   *)
   17487     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17488     ;;
   17489   esac
   17490   dynamic_linker='Win32 ld.exe'
   17491   # FIXME: first we should search . and the directory the executable is in
   17492   shlibpath_var=PATH
   17493   ;;
   17494 
   17495 darwin* | rhapsody*)
   17496   dynamic_linker="$host_os dyld"
   17497   version_type=darwin
   17498   need_lib_prefix=no
   17499   need_version=no
   17500   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17501   soname_spec='${libname}${release}${major}$shared_ext'
   17502   shlibpath_overrides_runpath=yes
   17503   shlibpath_var=DYLD_LIBRARY_PATH
   17504   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17505   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17506   if test "$GCC" = yes; then
   17507     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"`
   17508   else
   17509     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17510   fi
   17511   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17512   ;;
   17513 
   17514 dgux*)
   17515   version_type=linux
   17516   need_lib_prefix=no
   17517   need_version=no
   17518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17519   soname_spec='${libname}${release}${shared_ext}$major'
   17520   shlibpath_var=LD_LIBRARY_PATH
   17521   ;;
   17522 
   17523 freebsd1*)
   17524   dynamic_linker=no
   17525   ;;
   17526 
   17527 kfreebsd*-gnu)
   17528   version_type=linux
   17529   need_lib_prefix=no
   17530   need_version=no
   17531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17532   soname_spec='${libname}${release}${shared_ext}$major'
   17533   shlibpath_var=LD_LIBRARY_PATH
   17534   shlibpath_overrides_runpath=no
   17535   hardcode_into_libs=yes
   17536   dynamic_linker='GNU ld.so'
   17537   ;;
   17538 
   17539 freebsd* | dragonfly*)
   17540   # DragonFly does not have aout.  When/if they implement a new
   17541   # versioning mechanism, adjust this.
   17542   if test -x /usr/bin/objformat; then
   17543     objformat=`/usr/bin/objformat`
   17544   else
   17545     case $host_os in
   17546     freebsd[123]*) objformat=aout ;;
   17547     *) objformat=elf ;;
   17548     esac
   17549   fi
   17550   version_type=freebsd-$objformat
   17551   case $version_type in
   17552     freebsd-elf*)
   17553       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17554       need_version=no
   17555       need_lib_prefix=no
   17556       ;;
   17557     freebsd-*)
   17558       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17559       need_version=yes
   17560       ;;
   17561   esac
   17562   shlibpath_var=LD_LIBRARY_PATH
   17563   case $host_os in
   17564   freebsd2*)
   17565     shlibpath_overrides_runpath=yes
   17566     ;;
   17567   freebsd3.[01]* | freebsdelf3.[01]*)
   17568     shlibpath_overrides_runpath=yes
   17569     hardcode_into_libs=yes
   17570     ;;
   17571   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17572   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17573     shlibpath_overrides_runpath=no
   17574     hardcode_into_libs=yes
   17575     ;;
   17576   freebsd*) # from 4.6 on
   17577     shlibpath_overrides_runpath=yes
   17578     hardcode_into_libs=yes
   17579     ;;
   17580   esac
   17581   ;;
   17582 
   17583 gnu*)
   17584   version_type=linux
   17585   need_lib_prefix=no
   17586   need_version=no
   17587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17588   soname_spec='${libname}${release}${shared_ext}$major'
   17589   shlibpath_var=LD_LIBRARY_PATH
   17590   hardcode_into_libs=yes
   17591   ;;
   17592 
   17593 hpux9* | hpux10* | hpux11*)
   17594   # Give a soname corresponding to the major version so that dld.sl refuses to
   17595   # link against other versions.
   17596   version_type=sunos
   17597   need_lib_prefix=no
   17598   need_version=no
   17599   case $host_cpu in
   17600   ia64*)
   17601     shrext_cmds='.so'
   17602     hardcode_into_libs=yes
   17603     dynamic_linker="$host_os dld.so"
   17604     shlibpath_var=LD_LIBRARY_PATH
   17605     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17607     soname_spec='${libname}${release}${shared_ext}$major'
   17608     if test "X$HPUX_IA64_MODE" = X32; then
   17609       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17610     else
   17611       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17612     fi
   17613     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17614     ;;
   17615    hppa*64*)
   17616      shrext_cmds='.sl'
   17617      hardcode_into_libs=yes
   17618      dynamic_linker="$host_os dld.sl"
   17619      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17620      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17621      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17622      soname_spec='${libname}${release}${shared_ext}$major'
   17623      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17624      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17625      ;;
   17626    *)
   17627     shrext_cmds='.sl'
   17628     dynamic_linker="$host_os dld.sl"
   17629     shlibpath_var=SHLIB_PATH
   17630     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17631     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17632     soname_spec='${libname}${release}${shared_ext}$major'
   17633     ;;
   17634   esac
   17635   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17636   postinstall_cmds='chmod 555 $lib'
   17637   ;;
   17638 
   17639 interix3*)
   17640   version_type=linux
   17641   need_lib_prefix=no
   17642   need_version=no
   17643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17644   soname_spec='${libname}${release}${shared_ext}$major'
   17645   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17646   shlibpath_var=LD_LIBRARY_PATH
   17647   shlibpath_overrides_runpath=no
   17648   hardcode_into_libs=yes
   17649   ;;
   17650 
   17651 irix5* | irix6* | nonstopux*)
   17652   case $host_os in
   17653     nonstopux*) version_type=nonstopux ;;
   17654     *)
   17655 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17656 		version_type=linux
   17657 	else
   17658 		version_type=irix
   17659 	fi ;;
   17660   esac
   17661   need_lib_prefix=no
   17662   need_version=no
   17663   soname_spec='${libname}${release}${shared_ext}$major'
   17664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17665   case $host_os in
   17666   irix5* | nonstopux*)
   17667     libsuff= shlibsuff=
   17668     ;;
   17669   *)
   17670     case $LD in # libtool.m4 will add one of these switches to LD
   17671     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17672       libsuff= shlibsuff= libmagic=32-bit;;
   17673     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17674       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17675     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17676       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17677     *) libsuff= shlibsuff= libmagic=never-match;;
   17678     esac
   17679     ;;
   17680   esac
   17681   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17682   shlibpath_overrides_runpath=no
   17683   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17684   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17685   hardcode_into_libs=yes
   17686   ;;
   17687 
   17688 # No shared lib support for Linux oldld, aout, or coff.
   17689 linux*oldld* | linux*aout* | linux*coff*)
   17690   dynamic_linker=no
   17691   ;;
   17692 
   17693 # This must be Linux ELF.
   17694 linux*)
   17695   version_type=linux
   17696   need_lib_prefix=no
   17697   need_version=no
   17698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17699   soname_spec='${libname}${release}${shared_ext}$major'
   17700   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17701   shlibpath_var=LD_LIBRARY_PATH
   17702   shlibpath_overrides_runpath=no
   17703   # This implies no fast_install, which is unacceptable.
   17704   # Some rework will be needed to allow for fast_install
   17705   # before this can be enabled.
   17706   hardcode_into_libs=yes
   17707 
   17708   # Append ld.so.conf contents to the search path
   17709   if test -f /etc/ld.so.conf; then
   17710     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' ' '`
   17711     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17712   fi
   17713 
   17714   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17715   # powerpc, because MkLinux only supported shared libraries with the
   17716   # GNU dynamic linker.  Since this was broken with cross compilers,
   17717   # most powerpc-linux boxes support dynamic linking these days and
   17718   # people can always --disable-shared, the test was removed, and we
   17719   # assume the GNU/Linux dynamic linker is in use.
   17720   dynamic_linker='GNU/Linux ld.so'
   17721   ;;
   17722 
   17723 knetbsd*-gnu)
   17724   version_type=linux
   17725   need_lib_prefix=no
   17726   need_version=no
   17727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17728   soname_spec='${libname}${release}${shared_ext}$major'
   17729   shlibpath_var=LD_LIBRARY_PATH
   17730   shlibpath_overrides_runpath=no
   17731   hardcode_into_libs=yes
   17732   dynamic_linker='GNU ld.so'
   17733   ;;
   17734 
   17735 netbsd*)
   17736   version_type=sunos
   17737   need_lib_prefix=no
   17738   need_version=no
   17739   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17741     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17742     dynamic_linker='NetBSD (a.out) ld.so'
   17743   else
   17744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17745     soname_spec='${libname}${release}${shared_ext}$major'
   17746     dynamic_linker='NetBSD ld.elf_so'
   17747   fi
   17748   shlibpath_var=LD_LIBRARY_PATH
   17749   shlibpath_overrides_runpath=yes
   17750   hardcode_into_libs=yes
   17751   ;;
   17752 
   17753 newsos6)
   17754   version_type=linux
   17755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17756   shlibpath_var=LD_LIBRARY_PATH
   17757   shlibpath_overrides_runpath=yes
   17758   ;;
   17759 
   17760 nto-qnx*)
   17761   version_type=linux
   17762   need_lib_prefix=no
   17763   need_version=no
   17764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17765   soname_spec='${libname}${release}${shared_ext}$major'
   17766   shlibpath_var=LD_LIBRARY_PATH
   17767   shlibpath_overrides_runpath=yes
   17768   ;;
   17769 
   17770 openbsd*)
   17771   version_type=sunos
   17772   sys_lib_dlsearch_path_spec="/usr/lib"
   17773   need_lib_prefix=no
   17774   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   17775   case $host_os in
   17776     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   17777     *)                         need_version=no  ;;
   17778   esac
   17779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17780   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17781   shlibpath_var=LD_LIBRARY_PATH
   17782   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17783     case $host_os in
   17784       openbsd2.[89] | openbsd2.[89].*)
   17785 	shlibpath_overrides_runpath=no
   17786 	;;
   17787       *)
   17788 	shlibpath_overrides_runpath=yes
   17789 	;;
   17790       esac
   17791   else
   17792     shlibpath_overrides_runpath=yes
   17793   fi
   17794   ;;
   17795 
   17796 os2*)
   17797   libname_spec='$name'
   17798   shrext_cmds=".dll"
   17799   need_lib_prefix=no
   17800   library_names_spec='$libname${shared_ext} $libname.a'
   17801   dynamic_linker='OS/2 ld.exe'
   17802   shlibpath_var=LIBPATH
   17803   ;;
   17804 
   17805 osf3* | osf4* | osf5*)
   17806   version_type=osf
   17807   need_lib_prefix=no
   17808   need_version=no
   17809   soname_spec='${libname}${release}${shared_ext}$major'
   17810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17811   shlibpath_var=LD_LIBRARY_PATH
   17812   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17813   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   17814   ;;
   17815 
   17816 solaris*)
   17817   version_type=linux
   17818   need_lib_prefix=no
   17819   need_version=no
   17820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17821   soname_spec='${libname}${release}${shared_ext}$major'
   17822   shlibpath_var=LD_LIBRARY_PATH
   17823   shlibpath_overrides_runpath=yes
   17824   hardcode_into_libs=yes
   17825   # ldd complains unless libraries are executable
   17826   postinstall_cmds='chmod +x $lib'
   17827   ;;
   17828 
   17829 sunos4*)
   17830   version_type=sunos
   17831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17832   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17833   shlibpath_var=LD_LIBRARY_PATH
   17834   shlibpath_overrides_runpath=yes
   17835   if test "$with_gnu_ld" = yes; then
   17836     need_lib_prefix=no
   17837   fi
   17838   need_version=yes
   17839   ;;
   17840 
   17841 sysv4 | sysv4.3*)
   17842   version_type=linux
   17843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17844   soname_spec='${libname}${release}${shared_ext}$major'
   17845   shlibpath_var=LD_LIBRARY_PATH
   17846   case $host_vendor in
   17847     sni)
   17848       shlibpath_overrides_runpath=no
   17849       need_lib_prefix=no
   17850       export_dynamic_flag_spec='${wl}-Blargedynsym'
   17851       runpath_var=LD_RUN_PATH
   17852       ;;
   17853     siemens)
   17854       need_lib_prefix=no
   17855       ;;
   17856     motorola)
   17857       need_lib_prefix=no
   17858       need_version=no
   17859       shlibpath_overrides_runpath=no
   17860       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17861       ;;
   17862   esac
   17863   ;;
   17864 
   17865 sysv4*MP*)
   17866   if test -d /usr/nec ;then
   17867     version_type=linux
   17868     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   17869     soname_spec='$libname${shared_ext}.$major'
   17870     shlibpath_var=LD_LIBRARY_PATH
   17871   fi
   17872   ;;
   17873 
   17874 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17875   version_type=freebsd-elf
   17876   need_lib_prefix=no
   17877   need_version=no
   17878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17879   soname_spec='${libname}${release}${shared_ext}$major'
   17880   shlibpath_var=LD_LIBRARY_PATH
   17881   hardcode_into_libs=yes
   17882   if test "$with_gnu_ld" = yes; then
   17883     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17884     shlibpath_overrides_runpath=no
   17885   else
   17886     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17887     shlibpath_overrides_runpath=yes
   17888     case $host_os in
   17889       sco3.2v5*)
   17890         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17891 	;;
   17892     esac
   17893   fi
   17894   sys_lib_dlsearch_path_spec='/usr/lib'
   17895   ;;
   17896 
   17897 uts4*)
   17898   version_type=linux
   17899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17900   soname_spec='${libname}${release}${shared_ext}$major'
   17901   shlibpath_var=LD_LIBRARY_PATH
   17902   ;;
   17903 
   17904 *)
   17905   dynamic_linker=no
   17906   ;;
   17907 esac
   17908 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   17909 echo "${ECHO_T}$dynamic_linker" >&6
   17910 test "$dynamic_linker" = no && can_build_shared=no
   17911 
   17912 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17913 if test "$GCC" = yes; then
   17914   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17915 fi
   17916 
   17917 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   17918 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   17919 hardcode_action_GCJ=
   17920 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   17921    test -n "$runpath_var_GCJ" || \
   17922    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   17923 
   17924   # We can hardcode non-existant directories.
   17925   if test "$hardcode_direct_GCJ" != no &&
   17926      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17927      # have to relink, otherwise we might link with an installed library
   17928      # when we should be linking with a yet-to-be-installed one
   17929      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   17930      test "$hardcode_minus_L_GCJ" != no; then
   17931     # Linking always hardcodes the temporary library directory.
   17932     hardcode_action_GCJ=relink
   17933   else
   17934     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17935     hardcode_action_GCJ=immediate
   17936   fi
   17937 else
   17938   # We cannot hardcode anything, or else we can only hardcode existing
   17939   # directories.
   17940   hardcode_action_GCJ=unsupported
   17941 fi
   17942 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   17943 echo "${ECHO_T}$hardcode_action_GCJ" >&6
   17944 
   17945 if test "$hardcode_action_GCJ" = relink; then
   17946   # Fast installation is not supported
   17947   enable_fast_install=no
   17948 elif test "$shlibpath_overrides_runpath" = yes ||
   17949      test "$enable_shared" = no; then
   17950   # Fast installation is not necessary
   17951   enable_fast_install=needless
   17952 fi
   17953 
   17954 
   17955 # The else clause should only fire when bootstrapping the
   17956 # libtool distribution, otherwise you forgot to ship ltmain.sh
   17957 # with your package, and you will get complaints that there are
   17958 # no rules to generate ltmain.sh.
   17959 if test -f "$ltmain"; then
   17960   # See if we are running on zsh, and set the options which allow our commands through
   17961   # without removal of \ escapes.
   17962   if test -n "${ZSH_VERSION+set}" ; then
   17963     setopt NO_GLOB_SUBST
   17964   fi
   17965   # Now quote all the things that may contain metacharacters while being
   17966   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   17967   # variables and quote the copies for generation of the libtool script.
   17968   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   17969     SED SHELL STRIP \
   17970     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   17971     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   17972     deplibs_check_method reload_flag reload_cmds need_locks \
   17973     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   17974     lt_cv_sys_global_symbol_to_c_name_address \
   17975     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   17976     old_postinstall_cmds old_postuninstall_cmds \
   17977     compiler_GCJ \
   17978     CC_GCJ \
   17979     LD_GCJ \
   17980     lt_prog_compiler_wl_GCJ \
   17981     lt_prog_compiler_pic_GCJ \
   17982     lt_prog_compiler_static_GCJ \
   17983     lt_prog_compiler_no_builtin_flag_GCJ \
   17984     export_dynamic_flag_spec_GCJ \
   17985     thread_safe_flag_spec_GCJ \
   17986     whole_archive_flag_spec_GCJ \
   17987     enable_shared_with_static_runtimes_GCJ \
   17988     old_archive_cmds_GCJ \
   17989     old_archive_from_new_cmds_GCJ \
   17990     predep_objects_GCJ \
   17991     postdep_objects_GCJ \
   17992     predeps_GCJ \
   17993     postdeps_GCJ \
   17994     compiler_lib_search_path_GCJ \
   17995     archive_cmds_GCJ \
   17996     archive_expsym_cmds_GCJ \
   17997     postinstall_cmds_GCJ \
   17998     postuninstall_cmds_GCJ \
   17999     old_archive_from_expsyms_cmds_GCJ \
   18000     allow_undefined_flag_GCJ \
   18001     no_undefined_flag_GCJ \
   18002     export_symbols_cmds_GCJ \
   18003     hardcode_libdir_flag_spec_GCJ \
   18004     hardcode_libdir_flag_spec_ld_GCJ \
   18005     hardcode_libdir_separator_GCJ \
   18006     hardcode_automatic_GCJ \
   18007     module_cmds_GCJ \
   18008     module_expsym_cmds_GCJ \
   18009     lt_cv_prog_compiler_c_o_GCJ \
   18010     exclude_expsyms_GCJ \
   18011     include_expsyms_GCJ; do
   18012 
   18013     case $var in
   18014     old_archive_cmds_GCJ | \
   18015     old_archive_from_new_cmds_GCJ | \
   18016     archive_cmds_GCJ | \
   18017     archive_expsym_cmds_GCJ | \
   18018     module_cmds_GCJ | \
   18019     module_expsym_cmds_GCJ | \
   18020     old_archive_from_expsyms_cmds_GCJ | \
   18021     export_symbols_cmds_GCJ | \
   18022     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18023     postinstall_cmds | postuninstall_cmds | \
   18024     old_postinstall_cmds | old_postuninstall_cmds | \
   18025     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18026       # Double-quote double-evaled strings.
   18027       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18028       ;;
   18029     *)
   18030       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18031       ;;
   18032     esac
   18033   done
   18034 
   18035   case $lt_echo in
   18036   *'\$0 --fallback-echo"')
   18037     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18038     ;;
   18039   esac
   18040 
   18041 cfgfile="$ofile"
   18042 
   18043   cat <<__EOF__ >> "$cfgfile"
   18044 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18045 
   18046 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18047 
   18048 # Shell to use when invoking shell scripts.
   18049 SHELL=$lt_SHELL
   18050 
   18051 # Whether or not to build shared libraries.
   18052 build_libtool_libs=$enable_shared
   18053 
   18054 # Whether or not to build static libraries.
   18055 build_old_libs=$enable_static
   18056 
   18057 # Whether or not to add -lc for building shared libraries.
   18058 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18059 
   18060 # Whether or not to disallow shared libs when runtime libs are static
   18061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18062 
   18063 # Whether or not to optimize for fast installation.
   18064 fast_install=$enable_fast_install
   18065 
   18066 # The host system.
   18067 host_alias=$host_alias
   18068 host=$host
   18069 host_os=$host_os
   18070 
   18071 # The build system.
   18072 build_alias=$build_alias
   18073 build=$build
   18074 build_os=$build_os
   18075 
   18076 # An echo program that does not interpret backslashes.
   18077 echo=$lt_echo
   18078 
   18079 # The archiver.
   18080 AR=$lt_AR
   18081 AR_FLAGS=$lt_AR_FLAGS
   18082 
   18083 # A C compiler.
   18084 LTCC=$lt_LTCC
   18085 
   18086 # LTCC compiler flags.
   18087 LTCFLAGS=$lt_LTCFLAGS
   18088 
   18089 # A language-specific compiler.
   18090 CC=$lt_compiler_GCJ
   18091 
   18092 # Is the compiler the GNU C compiler?
   18093 with_gcc=$GCC_GCJ
   18094 
   18095 # An ERE matcher.
   18096 EGREP=$lt_EGREP
   18097 
   18098 # The linker used to build libraries.
   18099 LD=$lt_LD_GCJ
   18100 
   18101 # Whether we need hard or soft links.
   18102 LN_S=$lt_LN_S
   18103 
   18104 # A BSD-compatible nm program.
   18105 NM=$lt_NM
   18106 
   18107 # A symbol stripping program
   18108 STRIP=$lt_STRIP
   18109 
   18110 # Used to examine libraries when file_magic_cmd begins "file"
   18111 MAGIC_CMD=$MAGIC_CMD
   18112 
   18113 # Used on cygwin: DLL creation program.
   18114 DLLTOOL="$DLLTOOL"
   18115 
   18116 # Used on cygwin: object dumper.
   18117 OBJDUMP="$OBJDUMP"
   18118 
   18119 # Used on cygwin: assembler.
   18120 AS="$AS"
   18121 
   18122 # The name of the directory that contains temporary libtool files.
   18123 objdir=$objdir
   18124 
   18125 # How to create reloadable object files.
   18126 reload_flag=$lt_reload_flag
   18127 reload_cmds=$lt_reload_cmds
   18128 
   18129 # How to pass a linker flag through the compiler.
   18130 wl=$lt_lt_prog_compiler_wl_GCJ
   18131 
   18132 # Object file suffix (normally "o").
   18133 objext="$ac_objext"
   18134 
   18135 # Old archive suffix (normally "a").
   18136 libext="$libext"
   18137 
   18138 # Shared library suffix (normally ".so").
   18139 shrext_cmds='$shrext_cmds'
   18140 
   18141 # Executable file suffix (normally "").
   18142 exeext="$exeext"
   18143 
   18144 # Additional compiler flags for building library objects.
   18145 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18146 pic_mode=$pic_mode
   18147 
   18148 # What is the maximum length of a command?
   18149 max_cmd_len=$lt_cv_sys_max_cmd_len
   18150 
   18151 # Does compiler simultaneously support -c and -o options?
   18152 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18153 
   18154 # Must we lock files when doing compilation?
   18155 need_locks=$lt_need_locks
   18156 
   18157 # Do we need the lib prefix for modules?
   18158 need_lib_prefix=$need_lib_prefix
   18159 
   18160 # Do we need a version for libraries?
   18161 need_version=$need_version
   18162 
   18163 # Whether dlopen is supported.
   18164 dlopen_support=$enable_dlopen
   18165 
   18166 # Whether dlopen of programs is supported.
   18167 dlopen_self=$enable_dlopen_self
   18168 
   18169 # Whether dlopen of statically linked programs is supported.
   18170 dlopen_self_static=$enable_dlopen_self_static
   18171 
   18172 # Compiler flag to prevent dynamic linking.
   18173 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18174 
   18175 # Compiler flag to turn off builtin functions.
   18176 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18177 
   18178 # Compiler flag to allow reflexive dlopens.
   18179 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18180 
   18181 # Compiler flag to generate shared objects directly from archives.
   18182 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18183 
   18184 # Compiler flag to generate thread-safe objects.
   18185 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18186 
   18187 # Library versioning type.
   18188 version_type=$version_type
   18189 
   18190 # Format of library name prefix.
   18191 libname_spec=$lt_libname_spec
   18192 
   18193 # List of archive names.  First name is the real one, the rest are links.
   18194 # The last name is the one that the linker finds with -lNAME.
   18195 library_names_spec=$lt_library_names_spec
   18196 
   18197 # The coded name of the library, if different from the real name.
   18198 soname_spec=$lt_soname_spec
   18199 
   18200 # Commands used to build and install an old-style archive.
   18201 RANLIB=$lt_RANLIB
   18202 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18203 old_postinstall_cmds=$lt_old_postinstall_cmds
   18204 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18205 
   18206 # Create an old-style archive from a shared archive.
   18207 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18208 
   18209 # Create a temporary old-style archive to link instead of a shared archive.
   18210 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18211 
   18212 # Commands used to build and install a shared archive.
   18213 archive_cmds=$lt_archive_cmds_GCJ
   18214 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18215 postinstall_cmds=$lt_postinstall_cmds
   18216 postuninstall_cmds=$lt_postuninstall_cmds
   18217 
   18218 # Commands used to build a loadable module (assumed same as above if empty)
   18219 module_cmds=$lt_module_cmds_GCJ
   18220 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18221 
   18222 # Commands to strip libraries.
   18223 old_striplib=$lt_old_striplib
   18224 striplib=$lt_striplib
   18225 
   18226 # Dependencies to place before the objects being linked to create a
   18227 # shared library.
   18228 predep_objects=$lt_predep_objects_GCJ
   18229 
   18230 # Dependencies to place after the objects being linked to create a
   18231 # shared library.
   18232 postdep_objects=$lt_postdep_objects_GCJ
   18233 
   18234 # Dependencies to place before the objects being linked to create a
   18235 # shared library.
   18236 predeps=$lt_predeps_GCJ
   18237 
   18238 # Dependencies to place after the objects being linked to create a
   18239 # shared library.
   18240 postdeps=$lt_postdeps_GCJ
   18241 
   18242 # The library search path used internally by the compiler when linking
   18243 # a shared library.
   18244 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18245 
   18246 # Method to check whether dependent libraries are shared objects.
   18247 deplibs_check_method=$lt_deplibs_check_method
   18248 
   18249 # Command to use when deplibs_check_method == file_magic.
   18250 file_magic_cmd=$lt_file_magic_cmd
   18251 
   18252 # Flag that allows shared libraries with undefined symbols to be built.
   18253 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18254 
   18255 # Flag that forces no undefined symbols.
   18256 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18257 
   18258 # Commands used to finish a libtool library installation in a directory.
   18259 finish_cmds=$lt_finish_cmds
   18260 
   18261 # Same as above, but a single script fragment to be evaled but not shown.
   18262 finish_eval=$lt_finish_eval
   18263 
   18264 # Take the output of nm and produce a listing of raw symbols and C names.
   18265 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18266 
   18267 # Transform the output of nm in a proper C declaration
   18268 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18269 
   18270 # Transform the output of nm in a C name address pair
   18271 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18272 
   18273 # This is the shared library runtime path variable.
   18274 runpath_var=$runpath_var
   18275 
   18276 # This is the shared library path variable.
   18277 shlibpath_var=$shlibpath_var
   18278 
   18279 # Is shlibpath searched before the hard-coded library search path?
   18280 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18281 
   18282 # How to hardcode a shared library path into an executable.
   18283 hardcode_action=$hardcode_action_GCJ
   18284 
   18285 # Whether we should hardcode library paths into libraries.
   18286 hardcode_into_libs=$hardcode_into_libs
   18287 
   18288 # Flag to hardcode \$libdir into a binary during linking.
   18289 # This must work even if \$libdir does not exist.
   18290 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18291 
   18292 # If ld is used when linking, flag to hardcode \$libdir into
   18293 # a binary during linking. This must work even if \$libdir does
   18294 # not exist.
   18295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18296 
   18297 # Whether we need a single -rpath flag with a separated argument.
   18298 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18299 
   18300 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18301 # resulting binary.
   18302 hardcode_direct=$hardcode_direct_GCJ
   18303 
   18304 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18305 # resulting binary.
   18306 hardcode_minus_L=$hardcode_minus_L_GCJ
   18307 
   18308 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18309 # the resulting binary.
   18310 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18311 
   18312 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18313 # and all subsequent libraries and executables linked against it.
   18314 hardcode_automatic=$hardcode_automatic_GCJ
   18315 
   18316 # Variables whose values should be saved in libtool wrapper scripts and
   18317 # restored at relink time.
   18318 variables_saved_for_relink="$variables_saved_for_relink"
   18319 
   18320 # Whether libtool must link a program against all its dependency libraries.
   18321 link_all_deplibs=$link_all_deplibs_GCJ
   18322 
   18323 # Compile-time system search path for libraries
   18324 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18325 
   18326 # Run-time system search path for libraries
   18327 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18328 
   18329 # Fix the shell variable \$srcfile for the compiler.
   18330 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18331 
   18332 # Set to yes if exported symbols are required.
   18333 always_export_symbols=$always_export_symbols_GCJ
   18334 
   18335 # The commands to list exported symbols.
   18336 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18337 
   18338 # The commands to extract the exported symbol list from a shared archive.
   18339 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18340 
   18341 # Symbols that should not be listed in the preloaded symbols.
   18342 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18343 
   18344 # Symbols that must always be exported.
   18345 include_expsyms=$lt_include_expsyms_GCJ
   18346 
   18347 # ### END LIBTOOL TAG CONFIG: $tagname
   18348 
   18349 __EOF__
   18350 
   18351 
   18352 else
   18353   # If there is no Makefile yet, we rely on a make rule to execute
   18354   # `config.status --recheck' to rerun these tests and create the
   18355   # libtool script then.
   18356   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18357   if test -f "$ltmain_in"; then
   18358     test -f Makefile && make "$ltmain"
   18359   fi
   18360 fi
   18361 
   18362 
   18363 ac_ext=c
   18364 ac_cpp='$CPP $CPPFLAGS'
   18365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18368 
   18369 CC="$lt_save_CC"
   18370 
   18371 	else
   18372 	  tagname=""
   18373 	fi
   18374 	;;
   18375 
   18376       RC)
   18377 
   18378 
   18379 
   18380 # Source file extension for RC test sources.
   18381 ac_ext=rc
   18382 
   18383 # Object file extension for compiled RC test sources.
   18384 objext=o
   18385 objext_RC=$objext
   18386 
   18387 # Code to be used in simple compile tests
   18388 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18389 
   18390 # Code to be used in simple link tests
   18391 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18392 
   18393 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18394 
   18395 # If no C compiler was specified, use CC.
   18396 LTCC=${LTCC-"$CC"}
   18397 
   18398 # If no C compiler flags were specified, use CFLAGS.
   18399 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18400 
   18401 # Allow CC to be a program name with arguments.
   18402 compiler=$CC
   18403 
   18404 
   18405 # save warnings/boilerplate of simple test code
   18406 ac_outfile=conftest.$ac_objext
   18407 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18408 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18409 _lt_compiler_boilerplate=`cat conftest.err`
   18410 $rm conftest*
   18411 
   18412 ac_outfile=conftest.$ac_objext
   18413 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18414 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18415 _lt_linker_boilerplate=`cat conftest.err`
   18416 $rm conftest*
   18417 
   18418 
   18419 # Allow CC to be a program name with arguments.
   18420 lt_save_CC="$CC"
   18421 CC=${RC-"windres"}
   18422 compiler=$CC
   18423 compiler_RC=$CC
   18424 for cc_temp in $compiler""; do
   18425   case $cc_temp in
   18426     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18427     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18428     \-*) ;;
   18429     *) break;;
   18430   esac
   18431 done
   18432 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18433 
   18434 lt_cv_prog_compiler_c_o_RC=yes
   18435 
   18436 # The else clause should only fire when bootstrapping the
   18437 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18438 # with your package, and you will get complaints that there are
   18439 # no rules to generate ltmain.sh.
   18440 if test -f "$ltmain"; then
   18441   # See if we are running on zsh, and set the options which allow our commands through
   18442   # without removal of \ escapes.
   18443   if test -n "${ZSH_VERSION+set}" ; then
   18444     setopt NO_GLOB_SUBST
   18445   fi
   18446   # Now quote all the things that may contain metacharacters while being
   18447   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18448   # variables and quote the copies for generation of the libtool script.
   18449   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18450     SED SHELL STRIP \
   18451     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18452     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18453     deplibs_check_method reload_flag reload_cmds need_locks \
   18454     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18455     lt_cv_sys_global_symbol_to_c_name_address \
   18456     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18457     old_postinstall_cmds old_postuninstall_cmds \
   18458     compiler_RC \
   18459     CC_RC \
   18460     LD_RC \
   18461     lt_prog_compiler_wl_RC \
   18462     lt_prog_compiler_pic_RC \
   18463     lt_prog_compiler_static_RC \
   18464     lt_prog_compiler_no_builtin_flag_RC \
   18465     export_dynamic_flag_spec_RC \
   18466     thread_safe_flag_spec_RC \
   18467     whole_archive_flag_spec_RC \
   18468     enable_shared_with_static_runtimes_RC \
   18469     old_archive_cmds_RC \
   18470     old_archive_from_new_cmds_RC \
   18471     predep_objects_RC \
   18472     postdep_objects_RC \
   18473     predeps_RC \
   18474     postdeps_RC \
   18475     compiler_lib_search_path_RC \
   18476     archive_cmds_RC \
   18477     archive_expsym_cmds_RC \
   18478     postinstall_cmds_RC \
   18479     postuninstall_cmds_RC \
   18480     old_archive_from_expsyms_cmds_RC \
   18481     allow_undefined_flag_RC \
   18482     no_undefined_flag_RC \
   18483     export_symbols_cmds_RC \
   18484     hardcode_libdir_flag_spec_RC \
   18485     hardcode_libdir_flag_spec_ld_RC \
   18486     hardcode_libdir_separator_RC \
   18487     hardcode_automatic_RC \
   18488     module_cmds_RC \
   18489     module_expsym_cmds_RC \
   18490     lt_cv_prog_compiler_c_o_RC \
   18491     exclude_expsyms_RC \
   18492     include_expsyms_RC; do
   18493 
   18494     case $var in
   18495     old_archive_cmds_RC | \
   18496     old_archive_from_new_cmds_RC | \
   18497     archive_cmds_RC | \
   18498     archive_expsym_cmds_RC | \
   18499     module_cmds_RC | \
   18500     module_expsym_cmds_RC | \
   18501     old_archive_from_expsyms_cmds_RC | \
   18502     export_symbols_cmds_RC | \
   18503     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18504     postinstall_cmds | postuninstall_cmds | \
   18505     old_postinstall_cmds | old_postuninstall_cmds | \
   18506     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18507       # Double-quote double-evaled strings.
   18508       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18509       ;;
   18510     *)
   18511       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18512       ;;
   18513     esac
   18514   done
   18515 
   18516   case $lt_echo in
   18517   *'\$0 --fallback-echo"')
   18518     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18519     ;;
   18520   esac
   18521 
   18522 cfgfile="$ofile"
   18523 
   18524   cat <<__EOF__ >> "$cfgfile"
   18525 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18526 
   18527 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18528 
   18529 # Shell to use when invoking shell scripts.
   18530 SHELL=$lt_SHELL
   18531 
   18532 # Whether or not to build shared libraries.
   18533 build_libtool_libs=$enable_shared
   18534 
   18535 # Whether or not to build static libraries.
   18536 build_old_libs=$enable_static
   18537 
   18538 # Whether or not to add -lc for building shared libraries.
   18539 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18540 
   18541 # Whether or not to disallow shared libs when runtime libs are static
   18542 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18543 
   18544 # Whether or not to optimize for fast installation.
   18545 fast_install=$enable_fast_install
   18546 
   18547 # The host system.
   18548 host_alias=$host_alias
   18549 host=$host
   18550 host_os=$host_os
   18551 
   18552 # The build system.
   18553 build_alias=$build_alias
   18554 build=$build
   18555 build_os=$build_os
   18556 
   18557 # An echo program that does not interpret backslashes.
   18558 echo=$lt_echo
   18559 
   18560 # The archiver.
   18561 AR=$lt_AR
   18562 AR_FLAGS=$lt_AR_FLAGS
   18563 
   18564 # A C compiler.
   18565 LTCC=$lt_LTCC
   18566 
   18567 # LTCC compiler flags.
   18568 LTCFLAGS=$lt_LTCFLAGS
   18569 
   18570 # A language-specific compiler.
   18571 CC=$lt_compiler_RC
   18572 
   18573 # Is the compiler the GNU C compiler?
   18574 with_gcc=$GCC_RC
   18575 
   18576 # An ERE matcher.
   18577 EGREP=$lt_EGREP
   18578 
   18579 # The linker used to build libraries.
   18580 LD=$lt_LD_RC
   18581 
   18582 # Whether we need hard or soft links.
   18583 LN_S=$lt_LN_S
   18584 
   18585 # A BSD-compatible nm program.
   18586 NM=$lt_NM
   18587 
   18588 # A symbol stripping program
   18589 STRIP=$lt_STRIP
   18590 
   18591 # Used to examine libraries when file_magic_cmd begins "file"
   18592 MAGIC_CMD=$MAGIC_CMD
   18593 
   18594 # Used on cygwin: DLL creation program.
   18595 DLLTOOL="$DLLTOOL"
   18596 
   18597 # Used on cygwin: object dumper.
   18598 OBJDUMP="$OBJDUMP"
   18599 
   18600 # Used on cygwin: assembler.
   18601 AS="$AS"
   18602 
   18603 # The name of the directory that contains temporary libtool files.
   18604 objdir=$objdir
   18605 
   18606 # How to create reloadable object files.
   18607 reload_flag=$lt_reload_flag
   18608 reload_cmds=$lt_reload_cmds
   18609 
   18610 # How to pass a linker flag through the compiler.
   18611 wl=$lt_lt_prog_compiler_wl_RC
   18612 
   18613 # Object file suffix (normally "o").
   18614 objext="$ac_objext"
   18615 
   18616 # Old archive suffix (normally "a").
   18617 libext="$libext"
   18618 
   18619 # Shared library suffix (normally ".so").
   18620 shrext_cmds='$shrext_cmds'
   18621 
   18622 # Executable file suffix (normally "").
   18623 exeext="$exeext"
   18624 
   18625 # Additional compiler flags for building library objects.
   18626 pic_flag=$lt_lt_prog_compiler_pic_RC
   18627 pic_mode=$pic_mode
   18628 
   18629 # What is the maximum length of a command?
   18630 max_cmd_len=$lt_cv_sys_max_cmd_len
   18631 
   18632 # Does compiler simultaneously support -c and -o options?
   18633 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18634 
   18635 # Must we lock files when doing compilation?
   18636 need_locks=$lt_need_locks
   18637 
   18638 # Do we need the lib prefix for modules?
   18639 need_lib_prefix=$need_lib_prefix
   18640 
   18641 # Do we need a version for libraries?
   18642 need_version=$need_version
   18643 
   18644 # Whether dlopen is supported.
   18645 dlopen_support=$enable_dlopen
   18646 
   18647 # Whether dlopen of programs is supported.
   18648 dlopen_self=$enable_dlopen_self
   18649 
   18650 # Whether dlopen of statically linked programs is supported.
   18651 dlopen_self_static=$enable_dlopen_self_static
   18652 
   18653 # Compiler flag to prevent dynamic linking.
   18654 link_static_flag=$lt_lt_prog_compiler_static_RC
   18655 
   18656 # Compiler flag to turn off builtin functions.
   18657 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18658 
   18659 # Compiler flag to allow reflexive dlopens.
   18660 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18661 
   18662 # Compiler flag to generate shared objects directly from archives.
   18663 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18664 
   18665 # Compiler flag to generate thread-safe objects.
   18666 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18667 
   18668 # Library versioning type.
   18669 version_type=$version_type
   18670 
   18671 # Format of library name prefix.
   18672 libname_spec=$lt_libname_spec
   18673 
   18674 # List of archive names.  First name is the real one, the rest are links.
   18675 # The last name is the one that the linker finds with -lNAME.
   18676 library_names_spec=$lt_library_names_spec
   18677 
   18678 # The coded name of the library, if different from the real name.
   18679 soname_spec=$lt_soname_spec
   18680 
   18681 # Commands used to build and install an old-style archive.
   18682 RANLIB=$lt_RANLIB
   18683 old_archive_cmds=$lt_old_archive_cmds_RC
   18684 old_postinstall_cmds=$lt_old_postinstall_cmds
   18685 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18686 
   18687 # Create an old-style archive from a shared archive.
   18688 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18689 
   18690 # Create a temporary old-style archive to link instead of a shared archive.
   18691 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18692 
   18693 # Commands used to build and install a shared archive.
   18694 archive_cmds=$lt_archive_cmds_RC
   18695 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   18696 postinstall_cmds=$lt_postinstall_cmds
   18697 postuninstall_cmds=$lt_postuninstall_cmds
   18698 
   18699 # Commands used to build a loadable module (assumed same as above if empty)
   18700 module_cmds=$lt_module_cmds_RC
   18701 module_expsym_cmds=$lt_module_expsym_cmds_RC
   18702 
   18703 # Commands to strip libraries.
   18704 old_striplib=$lt_old_striplib
   18705 striplib=$lt_striplib
   18706 
   18707 # Dependencies to place before the objects being linked to create a
   18708 # shared library.
   18709 predep_objects=$lt_predep_objects_RC
   18710 
   18711 # Dependencies to place after the objects being linked to create a
   18712 # shared library.
   18713 postdep_objects=$lt_postdep_objects_RC
   18714 
   18715 # Dependencies to place before the objects being linked to create a
   18716 # shared library.
   18717 predeps=$lt_predeps_RC
   18718 
   18719 # Dependencies to place after the objects being linked to create a
   18720 # shared library.
   18721 postdeps=$lt_postdeps_RC
   18722 
   18723 # The library search path used internally by the compiler when linking
   18724 # a shared library.
   18725 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   18726 
   18727 # Method to check whether dependent libraries are shared objects.
   18728 deplibs_check_method=$lt_deplibs_check_method
   18729 
   18730 # Command to use when deplibs_check_method == file_magic.
   18731 file_magic_cmd=$lt_file_magic_cmd
   18732 
   18733 # Flag that allows shared libraries with undefined symbols to be built.
   18734 allow_undefined_flag=$lt_allow_undefined_flag_RC
   18735 
   18736 # Flag that forces no undefined symbols.
   18737 no_undefined_flag=$lt_no_undefined_flag_RC
   18738 
   18739 # Commands used to finish a libtool library installation in a directory.
   18740 finish_cmds=$lt_finish_cmds
   18741 
   18742 # Same as above, but a single script fragment to be evaled but not shown.
   18743 finish_eval=$lt_finish_eval
   18744 
   18745 # Take the output of nm and produce a listing of raw symbols and C names.
   18746 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18747 
   18748 # Transform the output of nm in a proper C declaration
   18749 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18750 
   18751 # Transform the output of nm in a C name address pair
   18752 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18753 
   18754 # This is the shared library runtime path variable.
   18755 runpath_var=$runpath_var
   18756 
   18757 # This is the shared library path variable.
   18758 shlibpath_var=$shlibpath_var
   18759 
   18760 # Is shlibpath searched before the hard-coded library search path?
   18761 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18762 
   18763 # How to hardcode a shared library path into an executable.
   18764 hardcode_action=$hardcode_action_RC
   18765 
   18766 # Whether we should hardcode library paths into libraries.
   18767 hardcode_into_libs=$hardcode_into_libs
   18768 
   18769 # Flag to hardcode \$libdir into a binary during linking.
   18770 # This must work even if \$libdir does not exist.
   18771 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   18772 
   18773 # If ld is used when linking, flag to hardcode \$libdir into
   18774 # a binary during linking. This must work even if \$libdir does
   18775 # not exist.
   18776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   18777 
   18778 # Whether we need a single -rpath flag with a separated argument.
   18779 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   18780 
   18781 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18782 # resulting binary.
   18783 hardcode_direct=$hardcode_direct_RC
   18784 
   18785 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18786 # resulting binary.
   18787 hardcode_minus_L=$hardcode_minus_L_RC
   18788 
   18789 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18790 # the resulting binary.
   18791 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   18792 
   18793 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18794 # and all subsequent libraries and executables linked against it.
   18795 hardcode_automatic=$hardcode_automatic_RC
   18796 
   18797 # Variables whose values should be saved in libtool wrapper scripts and
   18798 # restored at relink time.
   18799 variables_saved_for_relink="$variables_saved_for_relink"
   18800 
   18801 # Whether libtool must link a program against all its dependency libraries.
   18802 link_all_deplibs=$link_all_deplibs_RC
   18803 
   18804 # Compile-time system search path for libraries
   18805 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18806 
   18807 # Run-time system search path for libraries
   18808 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18809 
   18810 # Fix the shell variable \$srcfile for the compiler.
   18811 fix_srcfile_path="$fix_srcfile_path_RC"
   18812 
   18813 # Set to yes if exported symbols are required.
   18814 always_export_symbols=$always_export_symbols_RC
   18815 
   18816 # The commands to list exported symbols.
   18817 export_symbols_cmds=$lt_export_symbols_cmds_RC
   18818 
   18819 # The commands to extract the exported symbol list from a shared archive.
   18820 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18821 
   18822 # Symbols that should not be listed in the preloaded symbols.
   18823 exclude_expsyms=$lt_exclude_expsyms_RC
   18824 
   18825 # Symbols that must always be exported.
   18826 include_expsyms=$lt_include_expsyms_RC
   18827 
   18828 # ### END LIBTOOL TAG CONFIG: $tagname
   18829 
   18830 __EOF__
   18831 
   18832 
   18833 else
   18834   # If there is no Makefile yet, we rely on a make rule to execute
   18835   # `config.status --recheck' to rerun these tests and create the
   18836   # libtool script then.
   18837   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18838   if test -f "$ltmain_in"; then
   18839     test -f Makefile && make "$ltmain"
   18840   fi
   18841 fi
   18842 
   18843 
   18844 ac_ext=c
   18845 ac_cpp='$CPP $CPPFLAGS'
   18846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18849 
   18850 CC="$lt_save_CC"
   18851 
   18852 	;;
   18853 
   18854       *)
   18855 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   18856 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   18857    { (exit 1); exit 1; }; }
   18858 	;;
   18859       esac
   18860 
   18861       # Append the new tag name to the list of available tags.
   18862       if test -n "$tagname" ; then
   18863       available_tags="$available_tags $tagname"
   18864     fi
   18865     fi
   18866   done
   18867   IFS="$lt_save_ifs"
   18868 
   18869   # Now substitute the updated list of available tags.
   18870   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   18871     mv "${ofile}T" "$ofile"
   18872     chmod +x "$ofile"
   18873   else
   18874     rm -f "${ofile}T"
   18875     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   18876 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   18877    { (exit 1); exit 1; }; }
   18878   fi
   18879 fi
   18880 
   18881 
   18882 
   18883 # This can be used to rebuild libtool when needed
   18884 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   18885 
   18886 # Always use our own libtool.
   18887 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   18888 
   18889 # Prevent multiple expansion
   18890 
   18891 
   18892 
   18893 
   18894 
   18895 
   18896 
   18897 
   18898 
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 
   18906 
   18907 
   18908 
   18909 
   18910 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   18911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   18912 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   18913 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   18914   echo $ECHO_N "(cached) $ECHO_C" >&6
   18915 else
   18916   cat >conftest.make <<\_ACEOF
   18917 all:
   18918 	@echo 'ac_maketemp="$(MAKE)"'
   18919 _ACEOF
   18920 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   18921 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   18922 if test -n "$ac_maketemp"; then
   18923   eval ac_cv_prog_make_${ac_make}_set=yes
   18924 else
   18925   eval ac_cv_prog_make_${ac_make}_set=no
   18926 fi
   18927 rm -f conftest.make
   18928 fi
   18929 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   18930   echo "$as_me:$LINENO: result: yes" >&5
   18931 echo "${ECHO_T}yes" >&6
   18932   SET_MAKE=
   18933 else
   18934   echo "$as_me:$LINENO: result: no" >&5
   18935 echo "${ECHO_T}no" >&6
   18936   SET_MAKE="MAKE=${MAKE-make}"
   18937 fi
   18938 
   18939 
   18940 
   18941 
   18942 for ac_func in srand48 lrand48
   18943 do
   18944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18945 echo "$as_me:$LINENO: checking for $ac_func" >&5
   18946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   18947 if eval "test \"\${$as_ac_var+set}\" = set"; then
   18948   echo $ECHO_N "(cached) $ECHO_C" >&6
   18949 else
   18950   cat >conftest.$ac_ext <<_ACEOF
   18951 /* confdefs.h.  */
   18952 _ACEOF
   18953 cat confdefs.h >>conftest.$ac_ext
   18954 cat >>conftest.$ac_ext <<_ACEOF
   18955 /* end confdefs.h.  */
   18956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   18957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   18958 #define $ac_func innocuous_$ac_func
   18959 
   18960 /* System header to define __stub macros and hopefully few prototypes,
   18961     which can conflict with char $ac_func (); below.
   18962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   18963     <limits.h> exists even on freestanding compilers.  */
   18964 
   18965 #ifdef __STDC__
   18966 # include <limits.h>
   18967 #else
   18968 # include <assert.h>
   18969 #endif
   18970 
   18971 #undef $ac_func
   18972 
   18973 /* Override any gcc2 internal prototype to avoid an error.  */
   18974 #ifdef __cplusplus
   18975 extern "C"
   18976 {
   18977 #endif
   18978 /* We use char because int might match the return type of a gcc2
   18979    builtin and then its argument prototype would still apply.  */
   18980 char $ac_func ();
   18981 /* The GNU C library defines this for functions which it implements
   18982     to always fail with ENOSYS.  Some functions are actually named
   18983     something starting with __ and the normal name is an alias.  */
   18984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   18985 choke me
   18986 #else
   18987 char (*f) () = $ac_func;
   18988 #endif
   18989 #ifdef __cplusplus
   18990 }
   18991 #endif
   18992 
   18993 int
   18994 main ()
   18995 {
   18996 return f != $ac_func;
   18997   ;
   18998   return 0;
   18999 }
   19000 _ACEOF
   19001 rm -f conftest.$ac_objext conftest$ac_exeext
   19002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   19003   (eval $ac_link) 2>conftest.er1
   19004   ac_status=$?
   19005   grep -v '^ *+' conftest.er1 >conftest.err
   19006   rm -f conftest.er1
   19007   cat conftest.err >&5
   19008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19009   (exit $ac_status); } &&
   19010 	 { ac_try='test -z "$ac_c_werror_flag"
   19011 			 || test ! -s conftest.err'
   19012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19013   (eval $ac_try) 2>&5
   19014   ac_status=$?
   19015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19016   (exit $ac_status); }; } &&
   19017 	 { ac_try='test -s conftest$ac_exeext'
   19018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19019   (eval $ac_try) 2>&5
   19020   ac_status=$?
   19021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19022   (exit $ac_status); }; }; then
   19023   eval "$as_ac_var=yes"
   19024 else
   19025   echo "$as_me: failed program was:" >&5
   19026 sed 's/^/| /' conftest.$ac_ext >&5
   19027 
   19028 eval "$as_ac_var=no"
   19029 fi
   19030 rm -f conftest.err conftest.$ac_objext \
   19031       conftest$ac_exeext conftest.$ac_ext
   19032 fi
   19033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   19034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   19035 if test `eval echo '${'$as_ac_var'}'` = yes; then
   19036   cat >>confdefs.h <<_ACEOF
   19037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19038 _ACEOF
   19039 
   19040 fi
   19041 done
   19042 
   19043 
   19044 echo "$as_me:$LINENO: checking for library containing recvfrom" >&5
   19045 echo $ECHO_N "checking for library containing recvfrom... $ECHO_C" >&6
   19046 if test "${ac_cv_search_recvfrom+set}" = set; then
   19047   echo $ECHO_N "(cached) $ECHO_C" >&6
   19048 else
   19049   ac_func_search_save_LIBS=$LIBS
   19050 ac_cv_search_recvfrom=no
   19051 cat >conftest.$ac_ext <<_ACEOF
   19052 /* confdefs.h.  */
   19053 _ACEOF
   19054 cat confdefs.h >>conftest.$ac_ext
   19055 cat >>conftest.$ac_ext <<_ACEOF
   19056 /* end confdefs.h.  */
   19057 
   19058 /* Override any gcc2 internal prototype to avoid an error.  */
   19059 #ifdef __cplusplus
   19060 extern "C"
   19061 #endif
   19062 /* We use char because int might match the return type of a gcc2
   19063    builtin and then its argument prototype would still apply.  */
   19064 char recvfrom ();
   19065 int
   19066 main ()
   19067 {
   19068 recvfrom ();
   19069   ;
   19070   return 0;
   19071 }
   19072 _ACEOF
   19073 rm -f conftest.$ac_objext conftest$ac_exeext
   19074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   19075   (eval $ac_link) 2>conftest.er1
   19076   ac_status=$?
   19077   grep -v '^ *+' conftest.er1 >conftest.err
   19078   rm -f conftest.er1
   19079   cat conftest.err >&5
   19080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19081   (exit $ac_status); } &&
   19082 	 { ac_try='test -z "$ac_c_werror_flag"
   19083 			 || test ! -s conftest.err'
   19084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19085   (eval $ac_try) 2>&5
   19086   ac_status=$?
   19087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19088   (exit $ac_status); }; } &&
   19089 	 { ac_try='test -s conftest$ac_exeext'
   19090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19091   (eval $ac_try) 2>&5
   19092   ac_status=$?
   19093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19094   (exit $ac_status); }; }; then
   19095   ac_cv_search_recvfrom="none required"
   19096 else
   19097   echo "$as_me: failed program was:" >&5
   19098 sed 's/^/| /' conftest.$ac_ext >&5
   19099 
   19100 fi
   19101 rm -f conftest.err conftest.$ac_objext \
   19102       conftest$ac_exeext conftest.$ac_ext
   19103 if test "$ac_cv_search_recvfrom" = no; then
   19104   for ac_lib in socket; do
   19105     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19106     cat >conftest.$ac_ext <<_ACEOF
   19107 /* confdefs.h.  */
   19108 _ACEOF
   19109 cat confdefs.h >>conftest.$ac_ext
   19110 cat >>conftest.$ac_ext <<_ACEOF
   19111 /* end confdefs.h.  */
   19112 
   19113 /* Override any gcc2 internal prototype to avoid an error.  */
   19114 #ifdef __cplusplus
   19115 extern "C"
   19116 #endif
   19117 /* We use char because int might match the return type of a gcc2
   19118    builtin and then its argument prototype would still apply.  */
   19119 char recvfrom ();
   19120 int
   19121 main ()
   19122 {
   19123 recvfrom ();
   19124   ;
   19125   return 0;
   19126 }
   19127 _ACEOF
   19128 rm -f conftest.$ac_objext conftest$ac_exeext
   19129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   19130   (eval $ac_link) 2>conftest.er1
   19131   ac_status=$?
   19132   grep -v '^ *+' conftest.er1 >conftest.err
   19133   rm -f conftest.er1
   19134   cat conftest.err >&5
   19135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19136   (exit $ac_status); } &&
   19137 	 { ac_try='test -z "$ac_c_werror_flag"
   19138 			 || test ! -s conftest.err'
   19139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19140   (eval $ac_try) 2>&5
   19141   ac_status=$?
   19142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19143   (exit $ac_status); }; } &&
   19144 	 { ac_try='test -s conftest$ac_exeext'
   19145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   19146   (eval $ac_try) 2>&5
   19147   ac_status=$?
   19148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19149   (exit $ac_status); }; }; then
   19150   ac_cv_search_recvfrom="-l$ac_lib"
   19151 break
   19152 else
   19153   echo "$as_me: failed program was:" >&5
   19154 sed 's/^/| /' conftest.$ac_ext >&5
   19155 
   19156 fi
   19157 rm -f conftest.err conftest.$ac_objext \
   19158       conftest$ac_exeext conftest.$ac_ext
   19159   done
   19160 fi
   19161 LIBS=$ac_func_search_save_LIBS
   19162 fi
   19163 echo "$as_me:$LINENO: result: $ac_cv_search_recvfrom" >&5
   19164 echo "${ECHO_T}$ac_cv_search_recvfrom" >&6
   19165 if test "$ac_cv_search_recvfrom" != no; then
   19166   test "$ac_cv_search_recvfrom" = "none required" || LIBS="$ac_cv_search_recvfrom $LIBS"
   19167 
   19168 fi
   19169 
   19170 
   19171 
   19172 
   19173 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19174 	if test -n "$ac_tool_prefix"; then
   19175   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19176 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19177 echo "$as_me:$LINENO: checking for $ac_word" >&5
   19178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   19179 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19180   echo $ECHO_N "(cached) $ECHO_C" >&6
   19181 else
   19182   case $PKG_CONFIG in
   19183   [\\/]* | ?:[\\/]*)
   19184   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19185   ;;
   19186   *)
   19187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19188 for as_dir in $PATH
   19189 do
   19190   IFS=$as_save_IFS
   19191   test -z "$as_dir" && as_dir=.
   19192   for ac_exec_ext in '' $ac_executable_extensions; do
   19193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19194     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19196     break 2
   19197   fi
   19198 done
   19199 done
   19200 
   19201   ;;
   19202 esac
   19203 fi
   19204 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19205 
   19206 if test -n "$PKG_CONFIG"; then
   19207   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19208 echo "${ECHO_T}$PKG_CONFIG" >&6
   19209 else
   19210   echo "$as_me:$LINENO: result: no" >&5
   19211 echo "${ECHO_T}no" >&6
   19212 fi
   19213 
   19214 fi
   19215 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19216   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19217   # Extract the first word of "pkg-config", so it can be a program name with args.
   19218 set dummy pkg-config; ac_word=$2
   19219 echo "$as_me:$LINENO: checking for $ac_word" >&5
   19220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   19221 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19222   echo $ECHO_N "(cached) $ECHO_C" >&6
   19223 else
   19224   case $ac_pt_PKG_CONFIG in
   19225   [\\/]* | ?:[\\/]*)
   19226   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19227   ;;
   19228   *)
   19229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19230 for as_dir in $PATH
   19231 do
   19232   IFS=$as_save_IFS
   19233   test -z "$as_dir" && as_dir=.
   19234   for ac_exec_ext in '' $ac_executable_extensions; do
   19235   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19236     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19238     break 2
   19239   fi
   19240 done
   19241 done
   19242 
   19243   ;;
   19244 esac
   19245 fi
   19246 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19247 
   19248 if test -n "$ac_pt_PKG_CONFIG"; then
   19249   echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19250 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
   19251 else
   19252   echo "$as_me:$LINENO: result: no" >&5
   19253 echo "${ECHO_T}no" >&6
   19254 fi
   19255 
   19256   PKG_CONFIG=$ac_pt_PKG_CONFIG
   19257 else
   19258   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19259 fi
   19260 
   19261 fi
   19262 if test -n "$PKG_CONFIG"; then
   19263 	_pkg_min_version=0.9.0
   19264 	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19265 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
   19266 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19267 		echo "$as_me:$LINENO: result: yes" >&5
   19268 echo "${ECHO_T}yes" >&6
   19269 	else
   19270 		echo "$as_me:$LINENO: result: no" >&5
   19271 echo "${ECHO_T}no" >&6
   19272 		PKG_CONFIG=""
   19273 	fi
   19274 
   19275 fi
   19276 
   19277 pkg_failed=no
   19278 echo "$as_me:$LINENO: checking for XDMCP" >&5
   19279 echo $ECHO_N "checking for XDMCP... $ECHO_C" >&6
   19280 
   19281 if test -n "$PKG_CONFIG"; then
   19282         if test -n "$PKG_CONFIG" && \
   19283     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   19284   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19285   ac_status=$?
   19286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19287   (exit $ac_status); }; then
   19288   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   19289 else
   19290   pkg_failed=yes
   19291 fi
   19292 else
   19293 	pkg_failed=untried
   19294 fi
   19295 if test -n "$PKG_CONFIG"; then
   19296         if test -n "$PKG_CONFIG" && \
   19297     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   19298   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19299   ac_status=$?
   19300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19301   (exit $ac_status); }; then
   19302   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   19303 else
   19304   pkg_failed=yes
   19305 fi
   19306 else
   19307 	pkg_failed=untried
   19308 fi
   19309 
   19310 if test $pkg_failed = yes; then
   19311 	XDMCP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto"`
   19312 	# Put the nasty error message in config.log where it belongs
   19313 	echo "$XDMCP_PKG_ERRORS" 1>&5
   19314 
   19315 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto) were not met.
   19316 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19317 installed software in a non-standard prefix.
   19318 
   19319 Alternatively you may set the XDMCP_CFLAGS and XDMCP_LIBS environment variables
   19320 to avoid the need to call pkg-config.  See the pkg-config man page for
   19321 more details." >&5
   19322 echo "$as_me: error: Package requirements (xproto) were not met.
   19323 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19324 installed software in a non-standard prefix.
   19325 
   19326 Alternatively you may set the XDMCP_CFLAGS and XDMCP_LIBS environment variables
   19327 to avoid the need to call pkg-config.  See the pkg-config man page for
   19328 more details." >&2;}
   19329    { (exit 1); exit 1; }; }
   19330 elif test $pkg_failed = untried; then
   19331 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19332 is in your PATH or set the PKG_CONFIG environment variable to the full
   19333 path to pkg-config.
   19334 
   19335 Alternatively you may set the XDMCP_CFLAGS and XDMCP_LIBS environment variables
   19336 to avoid the need to call pkg-config.  See the pkg-config man page for
   19337 more details.
   19338 
   19339 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19340 See \`config.log' for more details." >&5
   19341 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19342 is in your PATH or set the PKG_CONFIG environment variable to the full
   19343 path to pkg-config.
   19344 
   19345 Alternatively you may set the XDMCP_CFLAGS and XDMCP_LIBS environment variables
   19346 to avoid the need to call pkg-config.  See the pkg-config man page for
   19347 more details.
   19348 
   19349 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19350 See \`config.log' for more details." >&2;}
   19351    { (exit 1); exit 1; }; }
   19352 else
   19353 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19354 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19355         echo "$as_me:$LINENO: result: yes" >&5
   19356 echo "${ECHO_T}yes" >&6
   19357 	:
   19358 fi
   19359 
   19360 
   19361 
   19362 if test -f ${srcdir}/Wraphelp.c; then
   19363 
   19364 cat >>confdefs.h <<\_ACEOF
   19365 #define HASXDMAUTH 1
   19366 _ACEOF
   19367 
   19368 	HASXDMAUTH=yes
   19369 else
   19370 	HASXDMAUTH=no
   19371 fi
   19372 
   19373 
   19374 
   19375 if test x$HASXDMAUTH = xyes; then
   19376   HASXDMAUTH_TRUE=
   19377   HASXDMAUTH_FALSE='#'
   19378 else
   19379   HASXDMAUTH_TRUE='#'
   19380   HASXDMAUTH_FALSE=
   19381 fi
   19382 
   19383 
   19384 
   19385 
   19386 # Allow checking code with lint, sparse, etc.
   19387 
   19388 # Check whether --with-lint or --without-lint was given.
   19389 if test "${with_lint+set}" = set; then
   19390   withval="$with_lint"
   19391   use_lint=$withval
   19392 else
   19393   use_lint=no
   19394 fi;
   19395 if test "x$use_lint" = "xyes" ; then
   19396 	LINT="lint"
   19397 else
   19398 	LINT="$use_lint"
   19399 fi
   19400 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   19401     case $LINT in
   19402 	lint|*/lint)
   19403 	    case $host_os in
   19404 		solaris*)
   19405 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19406 			;;
   19407 	    esac
   19408 	    ;;
   19409     esac
   19410 fi
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 if test x$LINT != xno; then
   19417   LINT_TRUE=
   19418   LINT_FALSE='#'
   19419 else
   19420   LINT_TRUE='#'
   19421   LINT_FALSE=
   19422 fi
   19423 
   19424 
   19425 
   19426 
   19427 
   19428 # Build lint "library" for more indepth checks of programs calling this library
   19429 # Check whether --enable-lint-library or --disable-lint-library was given.
   19430 if test "${enable_lint_library+set}" = set; then
   19431   enableval="$enable_lint_library"
   19432   make_lint_lib=$enableval
   19433 else
   19434   make_lint_lib=no
   19435 fi;
   19436 if test "x$make_lint_lib" != "xno" ; then
   19437 	if test "x$LINT" = "xno" ; then
   19438 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   19439 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   19440    { (exit 1); exit 1; }; }
   19441 	fi
   19442 	if test "x$make_lint_lib" = "xyes" ; then
   19443 		LINTLIB=llib-lXdmcp.ln
   19444 	else
   19445 		LINTLIB=$make_lint_lib
   19446 	fi
   19447 fi
   19448 
   19449 
   19450 
   19451 if test x$make_lint_lib != xno; then
   19452   MAKE_LINT_LIB_TRUE=
   19453   MAKE_LINT_LIB_FALSE='#'
   19454 else
   19455   MAKE_LINT_LIB_TRUE='#'
   19456   MAKE_LINT_LIB_FALSE=
   19457 fi
   19458 
   19459 
   19460 
   19461 
   19462 
   19463 
   19464 # Check whether --with-release-version or --without-release-version was given.
   19465 if test "${with_release_version+set}" = set; then
   19466   withval="$with_release_version"
   19467   RELEASE_VERSION="$withval"
   19468 else
   19469   RELEASE_VERSION=""
   19470 fi;
   19471 	if test "x$RELEASE_VERSION" != "x"; then
   19472 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   19473 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   19474 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   19475 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   19476 	fi
   19477 
   19478 
   19479                     ac_config_files="$ac_config_files Makefile xdmcp.pc"
   19480 cat >confcache <<\_ACEOF
   19481 # This file is a shell script that caches the results of configure
   19482 # tests run on this system so they can be shared between configure
   19483 # scripts and configure runs, see configure's option --config-cache.
   19484 # It is not useful on other systems.  If it contains results you don't
   19485 # want to keep, you may remove or edit it.
   19486 #
   19487 # config.status only pays attention to the cache file if you give it
   19488 # the --recheck option to rerun configure.
   19489 #
   19490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19492 # following values.
   19493 
   19494 _ACEOF
   19495 
   19496 # The following way of writing the cache mishandles newlines in values,
   19497 # but we know of no workaround that is simple, portable, and efficient.
   19498 # So, don't put newlines in cache variables' values.
   19499 # Ultrix sh set writes to stderr and can't be redirected directly,
   19500 # and sets the high bit in the cache file unless we assign to the vars.
   19501 {
   19502   (set) 2>&1 |
   19503     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   19504     *ac_space=\ *)
   19505       # `set' does not quote correctly, so add quotes (double-quote
   19506       # substitution turns \\\\ into \\, and sed turns \\ into \).
   19507       sed -n \
   19508 	"s/'/'\\\\''/g;
   19509 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19510       ;;
   19511     *)
   19512       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19513       sed -n \
   19514 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   19515       ;;
   19516     esac;
   19517 } |
   19518   sed '
   19519      t clear
   19520      : clear
   19521      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19522      t end
   19523      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19524      : end' >>confcache
   19525 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   19526   if test -w $cache_file; then
   19527     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   19528     cat confcache >$cache_file
   19529   else
   19530     echo "not updating unwritable cache $cache_file"
   19531   fi
   19532 fi
   19533 rm -f confcache
   19534 
   19535 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19536 # Let make expand exec_prefix.
   19537 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19538 
   19539 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   19540 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   19541 # trailing colons and then remove the whole line if VPATH becomes empty
   19542 # (actually we leave an empty line to preserve line numbers).
   19543 if test "x$srcdir" = x.; then
   19544   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   19545 s/:*\$(srcdir):*/:/;
   19546 s/:*\${srcdir}:*/:/;
   19547 s/:*@srcdir@:*/:/;
   19548 s/^\([^=]*=[	 ]*\):*/\1/;
   19549 s/:*$//;
   19550 s/^[^=]*=[	 ]*$//;
   19551 }'
   19552 fi
   19553 
   19554 DEFS=-DHAVE_CONFIG_H
   19555 
   19556 ac_libobjs=
   19557 ac_ltlibobjs=
   19558 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19559   # 1. Remove the extension, and $U if already installed.
   19560   ac_i=`echo "$ac_i" |
   19561 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   19562   # 2. Add them.
   19563   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   19564   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   19565 done
   19566 LIBOBJS=$ac_libobjs
   19567 
   19568 LTLIBOBJS=$ac_ltlibobjs
   19569 
   19570 
   19571 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19572   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   19573 Usually this means the macro was only invoked conditionally." >&5
   19574 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   19575 Usually this means the macro was only invoked conditionally." >&2;}
   19576    { (exit 1); exit 1; }; }
   19577 fi
   19578 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19579   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   19580 Usually this means the macro was only invoked conditionally." >&5
   19581 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   19582 Usually this means the macro was only invoked conditionally." >&2;}
   19583    { (exit 1); exit 1; }; }
   19584 fi
   19585 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19586   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   19587 Usually this means the macro was only invoked conditionally." >&5
   19588 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   19589 Usually this means the macro was only invoked conditionally." >&2;}
   19590    { (exit 1); exit 1; }; }
   19591 fi
   19592 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19593   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   19594 Usually this means the macro was only invoked conditionally." >&5
   19595 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   19596 Usually this means the macro was only invoked conditionally." >&2;}
   19597    { (exit 1); exit 1; }; }
   19598 fi
   19599 if test -z "${HASXDMAUTH_TRUE}" && test -z "${HASXDMAUTH_FALSE}"; then
   19600   { { echo "$as_me:$LINENO: error: conditional \"HASXDMAUTH\" was never defined.
   19601 Usually this means the macro was only invoked conditionally." >&5
   19602 echo "$as_me: error: conditional \"HASXDMAUTH\" was never defined.
   19603 Usually this means the macro was only invoked conditionally." >&2;}
   19604    { (exit 1); exit 1; }; }
   19605 fi
   19606 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19607   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   19608 Usually this means the macro was only invoked conditionally." >&5
   19609 echo "$as_me: error: conditional \"LINT\" was never defined.
   19610 Usually this means the macro was only invoked conditionally." >&2;}
   19611    { (exit 1); exit 1; }; }
   19612 fi
   19613 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   19614   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   19615 Usually this means the macro was only invoked conditionally." >&5
   19616 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   19617 Usually this means the macro was only invoked conditionally." >&2;}
   19618    { (exit 1); exit 1; }; }
   19619 fi
   19620 
   19621 : ${CONFIG_STATUS=./config.status}
   19622 ac_clean_files_save=$ac_clean_files
   19623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19624 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   19625 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19626 cat >$CONFIG_STATUS <<_ACEOF
   19627 #! $SHELL
   19628 # Generated by $as_me.
   19629 # Run this file to recreate the current configuration.
   19630 # Compiler output produced by configure, useful for debugging
   19631 # configure, is in config.log if it exists.
   19632 
   19633 debug=false
   19634 ac_cs_recheck=false
   19635 ac_cs_silent=false
   19636 SHELL=\${CONFIG_SHELL-$SHELL}
   19637 _ACEOF
   19638 
   19639 cat >>$CONFIG_STATUS <<\_ACEOF
   19640 ## --------------------- ##
   19641 ## M4sh Initialization.  ##
   19642 ## --------------------- ##
   19643 
   19644 # Be Bourne compatible
   19645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19646   emulate sh
   19647   NULLCMD=:
   19648   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19649   # is contrary to our usage.  Disable this feature.
   19650   alias -g '${1+"$@"}'='"$@"'
   19651 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   19652   set -o posix
   19653 fi
   19654 DUALCASE=1; export DUALCASE # for MKS sh
   19655 
   19656 # Support unset when possible.
   19657 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   19658   as_unset=unset
   19659 else
   19660   as_unset=false
   19661 fi
   19662 
   19663 
   19664 # Work around bugs in pre-3.0 UWIN ksh.
   19665 $as_unset ENV MAIL MAILPATH
   19666 PS1='$ '
   19667 PS2='> '
   19668 PS4='+ '
   19669 
   19670 # NLS nuisances.
   19671 for as_var in \
   19672   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   19673   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   19674   LC_TELEPHONE LC_TIME
   19675 do
   19676   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   19677     eval $as_var=C; export $as_var
   19678   else
   19679     $as_unset $as_var
   19680   fi
   19681 done
   19682 
   19683 # Required to use basename.
   19684 if expr a : '\(a\)' >/dev/null 2>&1; then
   19685   as_expr=expr
   19686 else
   19687   as_expr=false
   19688 fi
   19689 
   19690 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   19691   as_basename=basename
   19692 else
   19693   as_basename=false
   19694 fi
   19695 
   19696 
   19697 # Name of the executable.
   19698 as_me=`$as_basename "$0" ||
   19699 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19700 	 X"$0" : 'X\(//\)$' \| \
   19701 	 X"$0" : 'X\(/\)$' \| \
   19702 	 .     : '\(.\)' 2>/dev/null ||
   19703 echo X/"$0" |
   19704     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   19705   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   19706   	  /^X\/\(\/\).*/{ s//\1/; q; }
   19707   	  s/.*/./; q'`
   19708 
   19709 
   19710 # PATH needs CR, and LINENO needs CR and PATH.
   19711 # Avoid depending upon Character Ranges.
   19712 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19713 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19714 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19715 as_cr_digits='0123456789'
   19716 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19717 
   19718 # The user is always right.
   19719 if test "${PATH_SEPARATOR+set}" != set; then
   19720   echo "#! /bin/sh" >conf$$.sh
   19721   echo  "exit 0"   >>conf$$.sh
   19722   chmod +x conf$$.sh
   19723   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   19724     PATH_SEPARATOR=';'
   19725   else
   19726     PATH_SEPARATOR=:
   19727   fi
   19728   rm -f conf$$.sh
   19729 fi
   19730 
   19731 
   19732   as_lineno_1=$LINENO
   19733   as_lineno_2=$LINENO
   19734   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   19735   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19736   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   19737   # Find who we are.  Look in the path if we contain no path at all
   19738   # relative or not.
   19739   case $0 in
   19740     *[\\/]* ) as_myself=$0 ;;
   19741     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19742 for as_dir in $PATH
   19743 do
   19744   IFS=$as_save_IFS
   19745   test -z "$as_dir" && as_dir=.
   19746   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19747 done
   19748 
   19749        ;;
   19750   esac
   19751   # We did not find ourselves, most probably we were run as `sh COMMAND'
   19752   # in which case we are not to be found in the path.
   19753   if test "x$as_myself" = x; then
   19754     as_myself=$0
   19755   fi
   19756   if test ! -f "$as_myself"; then
   19757     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   19758 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   19759    { (exit 1); exit 1; }; }
   19760   fi
   19761   case $CONFIG_SHELL in
   19762   '')
   19763     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19764 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   19765 do
   19766   IFS=$as_save_IFS
   19767   test -z "$as_dir" && as_dir=.
   19768   for as_base in sh bash ksh sh5; do
   19769 	 case $as_dir in
   19770 	 /*)
   19771 	   if ("$as_dir/$as_base" -c '
   19772   as_lineno_1=$LINENO
   19773   as_lineno_2=$LINENO
   19774   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   19775   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19776   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   19777 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   19778 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   19779 	     CONFIG_SHELL=$as_dir/$as_base
   19780 	     export CONFIG_SHELL
   19781 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   19782 	   fi;;
   19783 	 esac
   19784        done
   19785 done
   19786 ;;
   19787   esac
   19788 
   19789   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   19790   # uniformly replaced by the line number.  The first 'sed' inserts a
   19791   # line-number line before each line; the second 'sed' does the real
   19792   # work.  The second script uses 'N' to pair each line-number line
   19793   # with the numbered line, and appends trailing '-' during
   19794   # substitution so that $LINENO is not a special case at line end.
   19795   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   19796   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   19797   sed '=' <$as_myself |
   19798     sed '
   19799       N
   19800       s,$,-,
   19801       : loop
   19802       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   19803       t loop
   19804       s,-$,,
   19805       s,^['$as_cr_digits']*\n,,
   19806     ' >$as_me.lineno &&
   19807   chmod +x $as_me.lineno ||
   19808     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   19809 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   19810    { (exit 1); exit 1; }; }
   19811 
   19812   # Don't try to exec as it changes $[0], causing all sort of problems
   19813   # (the dirname of $[0] is not the place where we might find the
   19814   # original and so on.  Autoconf is especially sensible to this).
   19815   . ./$as_me.lineno
   19816   # Exit status is that of the last command.
   19817   exit
   19818 }
   19819 
   19820 
   19821 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   19822   *c*,-n*) ECHO_N= ECHO_C='
   19823 ' ECHO_T='	' ;;
   19824   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   19825   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   19826 esac
   19827 
   19828 if expr a : '\(a\)' >/dev/null 2>&1; then
   19829   as_expr=expr
   19830 else
   19831   as_expr=false
   19832 fi
   19833 
   19834 rm -f conf$$ conf$$.exe conf$$.file
   19835 echo >conf$$.file
   19836 if ln -s conf$$.file conf$$ 2>/dev/null; then
   19837   # We could just check for DJGPP; but this test a) works b) is more generic
   19838   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   19839   if test -f conf$$.exe; then
   19840     # Don't use ln at all; we don't have any links
   19841     as_ln_s='cp -p'
   19842   else
   19843     as_ln_s='ln -s'
   19844   fi
   19845 elif ln conf$$.file conf$$ 2>/dev/null; then
   19846   as_ln_s=ln
   19847 else
   19848   as_ln_s='cp -p'
   19849 fi
   19850 rm -f conf$$ conf$$.exe conf$$.file
   19851 
   19852 if mkdir -p . 2>/dev/null; then
   19853   as_mkdir_p=:
   19854 else
   19855   test -d ./-p && rmdir ./-p
   19856   as_mkdir_p=false
   19857 fi
   19858 
   19859 as_executable_p="test -f"
   19860 
   19861 # Sed expression to map a string onto a valid CPP name.
   19862 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19863 
   19864 # Sed expression to map a string onto a valid variable name.
   19865 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19866 
   19867 
   19868 # IFS
   19869 # We need space, tab and new line, in precisely that order.
   19870 as_nl='
   19871 '
   19872 IFS=" 	$as_nl"
   19873 
   19874 # CDPATH.
   19875 $as_unset CDPATH
   19876 
   19877 exec 6>&1
   19878 
   19879 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   19880 # report actual input values of CONFIG_FILES etc. instead of their
   19881 # values after options handling.  Logging --version etc. is OK.
   19882 exec 5>>config.log
   19883 {
   19884   echo
   19885   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19886 ## Running $as_me. ##
   19887 _ASBOX
   19888 } >&5
   19889 cat >&5 <<_CSEOF
   19890 
   19891 This file was extended by libXdmcp $as_me 1.0.2, which was
   19892 generated by GNU Autoconf 2.59.  Invocation command line was
   19893 
   19894   CONFIG_FILES    = $CONFIG_FILES
   19895   CONFIG_HEADERS  = $CONFIG_HEADERS
   19896   CONFIG_LINKS    = $CONFIG_LINKS
   19897   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19898   $ $0 $@
   19899 
   19900 _CSEOF
   19901 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   19902 echo >&5
   19903 _ACEOF
   19904 
   19905 # Files that config.status was made for.
   19906 if test -n "$ac_config_files"; then
   19907   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   19908 fi
   19909 
   19910 if test -n "$ac_config_headers"; then
   19911   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   19912 fi
   19913 
   19914 if test -n "$ac_config_links"; then
   19915   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   19916 fi
   19917 
   19918 if test -n "$ac_config_commands"; then
   19919   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   19920 fi
   19921 
   19922 cat >>$CONFIG_STATUS <<\_ACEOF
   19923 
   19924 ac_cs_usage="\
   19925 \`$as_me' instantiates files from templates according to the
   19926 current configuration.
   19927 
   19928 Usage: $0 [OPTIONS] [FILE]...
   19929 
   19930   -h, --help       print this help, then exit
   19931   -V, --version    print version number, then exit
   19932   -q, --quiet      do not print progress messages
   19933   -d, --debug      don't remove temporary files
   19934       --recheck    update $as_me by reconfiguring in the same conditions
   19935   --file=FILE[:TEMPLATE]
   19936 		   instantiate the configuration file FILE
   19937   --header=FILE[:TEMPLATE]
   19938 		   instantiate the configuration header FILE
   19939 
   19940 Configuration files:
   19941 $config_files
   19942 
   19943 Configuration headers:
   19944 $config_headers
   19945 
   19946 Configuration commands:
   19947 $config_commands
   19948 
   19949 Report bugs to <bug-autoconf@gnu.org>."
   19950 _ACEOF
   19951 
   19952 cat >>$CONFIG_STATUS <<_ACEOF
   19953 ac_cs_version="\\
   19954 libXdmcp config.status 1.0.2
   19955 configured by $0, generated by GNU Autoconf 2.59,
   19956   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   19957 
   19958 Copyright (C) 2003 Free Software Foundation, Inc.
   19959 This config.status script is free software; the Free Software Foundation
   19960 gives unlimited permission to copy, distribute and modify it."
   19961 srcdir=$srcdir
   19962 INSTALL="$INSTALL"
   19963 _ACEOF
   19964 
   19965 cat >>$CONFIG_STATUS <<\_ACEOF
   19966 # If no file are specified by the user, then we need to provide default
   19967 # value.  By we need to know if files were specified by the user.
   19968 ac_need_defaults=:
   19969 while test $# != 0
   19970 do
   19971   case $1 in
   19972   --*=*)
   19973     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   19974     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   19975     ac_shift=:
   19976     ;;
   19977   -*)
   19978     ac_option=$1
   19979     ac_optarg=$2
   19980     ac_shift=shift
   19981     ;;
   19982   *) # This is not an option, so the user has probably given explicit
   19983      # arguments.
   19984      ac_option=$1
   19985      ac_need_defaults=false;;
   19986   esac
   19987 
   19988   case $ac_option in
   19989   # Handling of the options.
   19990 _ACEOF
   19991 cat >>$CONFIG_STATUS <<\_ACEOF
   19992   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19993     ac_cs_recheck=: ;;
   19994   --version | --vers* | -V )
   19995     echo "$ac_cs_version"; exit 0 ;;
   19996   --he | --h)
   19997     # Conflict between --help and --header
   19998     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   19999 Try \`$0 --help' for more information." >&5
   20000 echo "$as_me: error: ambiguous option: $1
   20001 Try \`$0 --help' for more information." >&2;}
   20002    { (exit 1); exit 1; }; };;
   20003   --help | --hel | -h )
   20004     echo "$ac_cs_usage"; exit 0 ;;
   20005   --debug | --d* | -d )
   20006     debug=: ;;
   20007   --file | --fil | --fi | --f )
   20008     $ac_shift
   20009     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20010     ac_need_defaults=false;;
   20011   --header | --heade | --head | --hea )
   20012     $ac_shift
   20013     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20014     ac_need_defaults=false;;
   20015   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20016   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20017     ac_cs_silent=: ;;
   20018 
   20019   # This is an error.
   20020   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   20021 Try \`$0 --help' for more information." >&5
   20022 echo "$as_me: error: unrecognized option: $1
   20023 Try \`$0 --help' for more information." >&2;}
   20024    { (exit 1); exit 1; }; } ;;
   20025 
   20026   *) ac_config_targets="$ac_config_targets $1" ;;
   20027 
   20028   esac
   20029   shift
   20030 done
   20031 
   20032 ac_configure_extra_args=
   20033 
   20034 if $ac_cs_silent; then
   20035   exec 6>/dev/null
   20036   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20037 fi
   20038 
   20039 _ACEOF
   20040 cat >>$CONFIG_STATUS <<_ACEOF
   20041 if \$ac_cs_recheck; then
   20042   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20043   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20044 fi
   20045 
   20046 _ACEOF
   20047 
   20048 cat >>$CONFIG_STATUS <<_ACEOF
   20049 #
   20050 # INIT-COMMANDS section.
   20051 #
   20052 
   20053 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20054 
   20055 _ACEOF
   20056 
   20057 
   20058 
   20059 cat >>$CONFIG_STATUS <<\_ACEOF
   20060 for ac_config_target in $ac_config_targets
   20061 do
   20062   case "$ac_config_target" in
   20063   # Handling of arguments.
   20064   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20065   "xdmcp.pc" ) CONFIG_FILES="$CONFIG_FILES xdmcp.pc" ;;
   20066   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20067   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20068   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20069 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20070    { (exit 1); exit 1; }; };;
   20071   esac
   20072 done
   20073 
   20074 # If the user did not use the arguments to specify the items to instantiate,
   20075 # then the envvar interface is used.  Set only those that are not.
   20076 # We use the long form for the default assignment because of an extremely
   20077 # bizarre bug on SunOS 4.1.3.
   20078 if $ac_need_defaults; then
   20079   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20080   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20081   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20082 fi
   20083 
   20084 # Have a temporary directory for convenience.  Make it in the build tree
   20085 # simply because there is no reason to put it here, and in addition,
   20086 # creating and moving files from /tmp can sometimes cause problems.
   20087 # Create a temporary directory, and hook for its removal unless debugging.
   20088 $debug ||
   20089 {
   20090   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   20091   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20092 }
   20093 
   20094 # Create a (secure) tmp directory for tmp files.
   20095 
   20096 {
   20097   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   20098   test -n "$tmp" && test -d "$tmp"
   20099 }  ||
   20100 {
   20101   tmp=./confstat$$-$RANDOM
   20102   (umask 077 && mkdir $tmp)
   20103 } ||
   20104 {
   20105    echo "$me: cannot create a temporary directory in ." >&2
   20106    { (exit 1); exit 1; }
   20107 }
   20108 
   20109 _ACEOF
   20110 
   20111 cat >>$CONFIG_STATUS <<_ACEOF
   20112 
   20113 #
   20114 # CONFIG_FILES section.
   20115 #
   20116 
   20117 # No need to generate the scripts if there are no CONFIG_FILES.
   20118 # This happens for instance when ./config.status config.h
   20119 if test -n "\$CONFIG_FILES"; then
   20120   # Protect against being on the right side of a sed subst in config.status.
   20121   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   20122    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   20123 s,@SHELL@,$SHELL,;t t
   20124 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   20125 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   20126 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   20127 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   20128 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   20129 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   20130 s,@exec_prefix@,$exec_prefix,;t t
   20131 s,@prefix@,$prefix,;t t
   20132 s,@program_transform_name@,$program_transform_name,;t t
   20133 s,@bindir@,$bindir,;t t
   20134 s,@sbindir@,$sbindir,;t t
   20135 s,@libexecdir@,$libexecdir,;t t
   20136 s,@datadir@,$datadir,;t t
   20137 s,@sysconfdir@,$sysconfdir,;t t
   20138 s,@sharedstatedir@,$sharedstatedir,;t t
   20139 s,@localstatedir@,$localstatedir,;t t
   20140 s,@libdir@,$libdir,;t t
   20141 s,@includedir@,$includedir,;t t
   20142 s,@oldincludedir@,$oldincludedir,;t t
   20143 s,@infodir@,$infodir,;t t
   20144 s,@mandir@,$mandir,;t t
   20145 s,@build_alias@,$build_alias,;t t
   20146 s,@host_alias@,$host_alias,;t t
   20147 s,@target_alias@,$target_alias,;t t
   20148 s,@DEFS@,$DEFS,;t t
   20149 s,@ECHO_C@,$ECHO_C,;t t
   20150 s,@ECHO_N@,$ECHO_N,;t t
   20151 s,@ECHO_T@,$ECHO_T,;t t
   20152 s,@LIBS@,$LIBS,;t t
   20153 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   20154 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   20155 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   20156 s,@CYGPATH_W@,$CYGPATH_W,;t t
   20157 s,@PACKAGE@,$PACKAGE,;t t
   20158 s,@VERSION@,$VERSION,;t t
   20159 s,@ACLOCAL@,$ACLOCAL,;t t
   20160 s,@AUTOCONF@,$AUTOCONF,;t t
   20161 s,@AUTOMAKE@,$AUTOMAKE,;t t
   20162 s,@AUTOHEADER@,$AUTOHEADER,;t t
   20163 s,@MAKEINFO@,$MAKEINFO,;t t
   20164 s,@install_sh@,$install_sh,;t t
   20165 s,@STRIP@,$STRIP,;t t
   20166 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   20167 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   20168 s,@mkdir_p@,$mkdir_p,;t t
   20169 s,@AWK@,$AWK,;t t
   20170 s,@SET_MAKE@,$SET_MAKE,;t t
   20171 s,@am__leading_dot@,$am__leading_dot,;t t
   20172 s,@AMTAR@,$AMTAR,;t t
   20173 s,@am__tar@,$am__tar,;t t
   20174 s,@am__untar@,$am__untar,;t t
   20175 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   20176 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   20177 s,@MAINT@,$MAINT,;t t
   20178 s,@CC@,$CC,;t t
   20179 s,@CFLAGS@,$CFLAGS,;t t
   20180 s,@LDFLAGS@,$LDFLAGS,;t t
   20181 s,@CPPFLAGS@,$CPPFLAGS,;t t
   20182 s,@ac_ct_CC@,$ac_ct_CC,;t t
   20183 s,@EXEEXT@,$EXEEXT,;t t
   20184 s,@OBJEXT@,$OBJEXT,;t t
   20185 s,@DEPDIR@,$DEPDIR,;t t
   20186 s,@am__include@,$am__include,;t t
   20187 s,@am__quote@,$am__quote,;t t
   20188 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   20189 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   20190 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   20191 s,@CCDEPMODE@,$CCDEPMODE,;t t
   20192 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   20193 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   20194 s,@LN_S@,$LN_S,;t t
   20195 s,@build@,$build,;t t
   20196 s,@build_cpu@,$build_cpu,;t t
   20197 s,@build_vendor@,$build_vendor,;t t
   20198 s,@build_os@,$build_os,;t t
   20199 s,@host@,$host,;t t
   20200 s,@host_cpu@,$host_cpu,;t t
   20201 s,@host_vendor@,$host_vendor,;t t
   20202 s,@host_os@,$host_os,;t t
   20203 s,@EGREP@,$EGREP,;t t
   20204 s,@ECHO@,$ECHO,;t t
   20205 s,@AR@,$AR,;t t
   20206 s,@ac_ct_AR@,$ac_ct_AR,;t t
   20207 s,@RANLIB@,$RANLIB,;t t
   20208 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   20209 s,@DLLTOOL@,$DLLTOOL,;t t
   20210 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
   20211 s,@AS@,$AS,;t t
   20212 s,@ac_ct_AS@,$ac_ct_AS,;t t
   20213 s,@OBJDUMP@,$OBJDUMP,;t t
   20214 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
   20215 s,@CPP@,$CPP,;t t
   20216 s,@CXX@,$CXX,;t t
   20217 s,@CXXFLAGS@,$CXXFLAGS,;t t
   20218 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   20219 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   20220 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
   20221 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
   20222 s,@CXXCPP@,$CXXCPP,;t t
   20223 s,@F77@,$F77,;t t
   20224 s,@FFLAGS@,$FFLAGS,;t t
   20225 s,@ac_ct_F77@,$ac_ct_F77,;t t
   20226 s,@LIBTOOL@,$LIBTOOL,;t t
   20227 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
   20228 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
   20229 s,@XDMCP_CFLAGS@,$XDMCP_CFLAGS,;t t
   20230 s,@XDMCP_LIBS@,$XDMCP_LIBS,;t t
   20231 s,@HASXDMAUTH_TRUE@,$HASXDMAUTH_TRUE,;t t
   20232 s,@HASXDMAUTH_FALSE@,$HASXDMAUTH_FALSE,;t t
   20233 s,@LINT@,$LINT,;t t
   20234 s,@LINT_FLAGS@,$LINT_FLAGS,;t t
   20235 s,@LINT_TRUE@,$LINT_TRUE,;t t
   20236 s,@LINT_FALSE@,$LINT_FALSE,;t t
   20237 s,@LINTLIB@,$LINTLIB,;t t
   20238 s,@MAKE_LINT_LIB_TRUE@,$MAKE_LINT_LIB_TRUE,;t t
   20239 s,@MAKE_LINT_LIB_FALSE@,$MAKE_LINT_LIB_FALSE,;t t
   20240 s,@LIBOBJS@,$LIBOBJS,;t t
   20241 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   20242 CEOF
   20243 
   20244 _ACEOF
   20245 
   20246   cat >>$CONFIG_STATUS <<\_ACEOF
   20247   # Split the substitutions into bite-sized pieces for seds with
   20248   # small command number limits, like on Digital OSF/1 and HP-UX.
   20249   ac_max_sed_lines=48
   20250   ac_sed_frag=1 # Number of current file.
   20251   ac_beg=1 # First line for current file.
   20252   ac_end=$ac_max_sed_lines # Line after last line for current file.
   20253   ac_more_lines=:
   20254   ac_sed_cmds=
   20255   while $ac_more_lines; do
   20256     if test $ac_beg -gt 1; then
   20257       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   20258     else
   20259       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   20260     fi
   20261     if test ! -s $tmp/subs.frag; then
   20262       ac_more_lines=false
   20263     else
   20264       # The purpose of the label and of the branching condition is to
   20265       # speed up the sed processing (if there are no `@' at all, there
   20266       # is no need to browse any of the substitutions).
   20267       # These are the two extra sed commands mentioned above.
   20268       (echo ':t
   20269   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   20270       if test -z "$ac_sed_cmds"; then
   20271 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   20272       else
   20273 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   20274       fi
   20275       ac_sed_frag=`expr $ac_sed_frag + 1`
   20276       ac_beg=$ac_end
   20277       ac_end=`expr $ac_end + $ac_max_sed_lines`
   20278     fi
   20279   done
   20280   if test -z "$ac_sed_cmds"; then
   20281     ac_sed_cmds=cat
   20282   fi
   20283 fi # test -n "$CONFIG_FILES"
   20284 
   20285 _ACEOF
   20286 cat >>$CONFIG_STATUS <<\_ACEOF
   20287 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   20288   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   20289   case $ac_file in
   20290   - | *:- | *:-:* ) # input from stdin
   20291 	cat >$tmp/stdin
   20292 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20293 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20294   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20295 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20296   * )   ac_file_in=$ac_file.in ;;
   20297   esac
   20298 
   20299   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   20300   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   20301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20302 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20303 	 X"$ac_file" : 'X\(//\)$' \| \
   20304 	 X"$ac_file" : 'X\(/\)' \| \
   20305 	 .     : '\(.\)' 2>/dev/null ||
   20306 echo X"$ac_file" |
   20307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20308   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20309   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20310   	  /^X\(\/\).*/{ s//\1/; q; }
   20311   	  s/.*/./; q'`
   20312   { if $as_mkdir_p; then
   20313     mkdir -p "$ac_dir"
   20314   else
   20315     as_dir="$ac_dir"
   20316     as_dirs=
   20317     while test ! -d "$as_dir"; do
   20318       as_dirs="$as_dir $as_dirs"
   20319       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20321 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20322 	 X"$as_dir" : 'X\(//\)$' \| \
   20323 	 X"$as_dir" : 'X\(/\)' \| \
   20324 	 .     : '\(.\)' 2>/dev/null ||
   20325 echo X"$as_dir" |
   20326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20327   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20328   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20329   	  /^X\(\/\).*/{ s//\1/; q; }
   20330   	  s/.*/./; q'`
   20331     done
   20332     test ! -n "$as_dirs" || mkdir $as_dirs
   20333   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   20334 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   20335    { (exit 1); exit 1; }; }; }
   20336 
   20337   ac_builddir=.
   20338 
   20339 if test "$ac_dir" != .; then
   20340   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20341   # A "../" for each directory in $ac_dir_suffix.
   20342   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   20343 else
   20344   ac_dir_suffix= ac_top_builddir=
   20345 fi
   20346 
   20347 case $srcdir in
   20348   .)  # No --srcdir option.  We are building in place.
   20349     ac_srcdir=.
   20350     if test -z "$ac_top_builddir"; then
   20351        ac_top_srcdir=.
   20352     else
   20353        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   20354     fi ;;
   20355   [\\/]* | ?:[\\/]* )  # Absolute path.
   20356     ac_srcdir=$srcdir$ac_dir_suffix;
   20357     ac_top_srcdir=$srcdir ;;
   20358   *) # Relative path.
   20359     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   20360     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   20361 esac
   20362 
   20363 # Do not use `cd foo && pwd` to compute absolute paths, because
   20364 # the directories may not exist.
   20365 case `pwd` in
   20366 .) ac_abs_builddir="$ac_dir";;
   20367 *)
   20368   case "$ac_dir" in
   20369   .) ac_abs_builddir=`pwd`;;
   20370   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   20371   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   20372   esac;;
   20373 esac
   20374 case $ac_abs_builddir in
   20375 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   20376 *)
   20377   case ${ac_top_builddir}. in
   20378   .) ac_abs_top_builddir=$ac_abs_builddir;;
   20379   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   20380   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   20381   esac;;
   20382 esac
   20383 case $ac_abs_builddir in
   20384 .) ac_abs_srcdir=$ac_srcdir;;
   20385 *)
   20386   case $ac_srcdir in
   20387   .) ac_abs_srcdir=$ac_abs_builddir;;
   20388   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   20389   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   20390   esac;;
   20391 esac
   20392 case $ac_abs_builddir in
   20393 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   20394 *)
   20395   case $ac_top_srcdir in
   20396   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   20397   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   20398   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   20399   esac;;
   20400 esac
   20401 
   20402 
   20403   case $INSTALL in
   20404   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20405   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   20406   esac
   20407 
   20408   if test x"$ac_file" != x-; then
   20409     { echo "$as_me:$LINENO: creating $ac_file" >&5
   20410 echo "$as_me: creating $ac_file" >&6;}
   20411     rm -f "$ac_file"
   20412   fi
   20413   # Let's still pretend it is `configure' which instantiates (i.e., don't
   20414   # use $as_me), people would be surprised to read:
   20415   #    /* config.h.  Generated by config.status.  */
   20416   if test x"$ac_file" = x-; then
   20417     configure_input=
   20418   else
   20419     configure_input="$ac_file.  "
   20420   fi
   20421   configure_input=$configure_input"Generated from `echo $ac_file_in |
   20422 				     sed 's,.*/,,'` by configure."
   20423 
   20424   # First look for the input files in the build tree, otherwise in the
   20425   # src tree.
   20426   ac_file_inputs=`IFS=:
   20427     for f in $ac_file_in; do
   20428       case $f in
   20429       -) echo $tmp/stdin ;;
   20430       [\\/$]*)
   20431 	 # Absolute (can't be DOS-style, as IFS=:)
   20432 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20433 echo "$as_me: error: cannot find input file: $f" >&2;}
   20434    { (exit 1); exit 1; }; }
   20435 	 echo "$f";;
   20436       *) # Relative
   20437 	 if test -f "$f"; then
   20438 	   # Build tree
   20439 	   echo "$f"
   20440 	 elif test -f "$srcdir/$f"; then
   20441 	   # Source tree
   20442 	   echo "$srcdir/$f"
   20443 	 else
   20444 	   # /dev/null tree
   20445 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20446 echo "$as_me: error: cannot find input file: $f" >&2;}
   20447    { (exit 1); exit 1; }; }
   20448 	 fi;;
   20449       esac
   20450     done` || { (exit 1); exit 1; }
   20451 _ACEOF
   20452 cat >>$CONFIG_STATUS <<_ACEOF
   20453   sed "$ac_vpsub
   20454 $extrasub
   20455 _ACEOF
   20456 cat >>$CONFIG_STATUS <<\_ACEOF
   20457 :t
   20458 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20459 s,@configure_input@,$configure_input,;t t
   20460 s,@srcdir@,$ac_srcdir,;t t
   20461 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   20462 s,@top_srcdir@,$ac_top_srcdir,;t t
   20463 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   20464 s,@builddir@,$ac_builddir,;t t
   20465 s,@abs_builddir@,$ac_abs_builddir,;t t
   20466 s,@top_builddir@,$ac_top_builddir,;t t
   20467 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   20468 s,@INSTALL@,$ac_INSTALL,;t t
   20469 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   20470   rm -f $tmp/stdin
   20471   if test x"$ac_file" != x-; then
   20472     mv $tmp/out $ac_file
   20473   else
   20474     cat $tmp/out
   20475     rm -f $tmp/out
   20476   fi
   20477 
   20478 done
   20479 _ACEOF
   20480 cat >>$CONFIG_STATUS <<\_ACEOF
   20481 
   20482 #
   20483 # CONFIG_HEADER section.
   20484 #
   20485 
   20486 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   20487 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   20488 #
   20489 # ac_d sets the value in "#define NAME VALUE" lines.
   20490 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   20491 ac_dB='[	 ].*$,\1#\2'
   20492 ac_dC=' '
   20493 ac_dD=',;t'
   20494 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   20495 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   20496 ac_uB='$,\1#\2define\3'
   20497 ac_uC=' '
   20498 ac_uD=',;t'
   20499 
   20500 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   20501   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   20502   case $ac_file in
   20503   - | *:- | *:-:* ) # input from stdin
   20504 	cat >$tmp/stdin
   20505 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20506 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20507   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20508 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   20509   * )   ac_file_in=$ac_file.in ;;
   20510   esac
   20511 
   20512   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   20513 echo "$as_me: creating $ac_file" >&6;}
   20514 
   20515   # First look for the input files in the build tree, otherwise in the
   20516   # src tree.
   20517   ac_file_inputs=`IFS=:
   20518     for f in $ac_file_in; do
   20519       case $f in
   20520       -) echo $tmp/stdin ;;
   20521       [\\/$]*)
   20522 	 # Absolute (can't be DOS-style, as IFS=:)
   20523 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20524 echo "$as_me: error: cannot find input file: $f" >&2;}
   20525    { (exit 1); exit 1; }; }
   20526 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   20527 	 echo "$f";;
   20528       *) # Relative
   20529 	 if test -f "$f"; then
   20530 	   # Build tree
   20531 	   echo "$f"
   20532 	 elif test -f "$srcdir/$f"; then
   20533 	   # Source tree
   20534 	   echo "$srcdir/$f"
   20535 	 else
   20536 	   # /dev/null tree
   20537 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   20538 echo "$as_me: error: cannot find input file: $f" >&2;}
   20539    { (exit 1); exit 1; }; }
   20540 	 fi;;
   20541       esac
   20542     done` || { (exit 1); exit 1; }
   20543   # Remove the trailing spaces.
   20544   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   20545 
   20546 _ACEOF
   20547 
   20548 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   20549 # `conftest.undefs', that substitutes the proper values into
   20550 # config.h.in to produce config.h.  The first handles `#define'
   20551 # templates, and the second `#undef' templates.
   20552 # And first: Protect against being on the right side of a sed subst in
   20553 # config.status.  Protect against being in an unquoted here document
   20554 # in config.status.
   20555 rm -f conftest.defines conftest.undefs
   20556 # Using a here document instead of a string reduces the quoting nightmare.
   20557 # Putting comments in sed scripts is not portable.
   20558 #
   20559 # `end' is used to avoid that the second main sed command (meant for
   20560 # 0-ary CPP macros) applies to n-ary macro definitions.
   20561 # See the Autoconf documentation for `clear'.
   20562 cat >confdef2sed.sed <<\_ACEOF
   20563 s/[\\&,]/\\&/g
   20564 s,[\\$`],\\&,g
   20565 t clear
   20566 : clear
   20567 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   20568 t end
   20569 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   20570 : end
   20571 _ACEOF
   20572 # If some macros were called several times there might be several times
   20573 # the same #defines, which is useless.  Nevertheless, we may not want to
   20574 # sort them, since we want the *last* AC-DEFINE to be honored.
   20575 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   20576 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   20577 rm -f confdef2sed.sed
   20578 
   20579 # This sed command replaces #undef with comments.  This is necessary, for
   20580 # example, in the case of _POSIX_SOURCE, which is predefined and required
   20581 # on some systems where configure will not decide to define it.
   20582 cat >>conftest.undefs <<\_ACEOF
   20583 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   20584 _ACEOF
   20585 
   20586 # Break up conftest.defines because some shells have a limit on the size
   20587 # of here documents, and old seds have small limits too (100 cmds).
   20588 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   20589 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   20590 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   20591 echo '  :' >>$CONFIG_STATUS
   20592 rm -f conftest.tail
   20593 while grep . conftest.defines >/dev/null
   20594 do
   20595   # Write a limited-size here document to $tmp/defines.sed.
   20596   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   20597   # Speed up: don't consider the non `#define' lines.
   20598   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   20599   # Work around the forget-to-reset-the-flag bug.
   20600   echo 't clr' >>$CONFIG_STATUS
   20601   echo ': clr' >>$CONFIG_STATUS
   20602   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   20603   echo 'CEOF
   20604   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   20605   rm -f $tmp/in
   20606   mv $tmp/out $tmp/in
   20607 ' >>$CONFIG_STATUS
   20608   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   20609   rm -f conftest.defines
   20610   mv conftest.tail conftest.defines
   20611 done
   20612 rm -f conftest.defines
   20613 echo '  fi # grep' >>$CONFIG_STATUS
   20614 echo >>$CONFIG_STATUS
   20615 
   20616 # Break up conftest.undefs because some shells have a limit on the size
   20617 # of here documents, and old seds have small limits too (100 cmds).
   20618 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   20619 rm -f conftest.tail
   20620 while grep . conftest.undefs >/dev/null
   20621 do
   20622   # Write a limited-size here document to $tmp/undefs.sed.
   20623   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   20624   # Speed up: don't consider the non `#undef'
   20625   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   20626   # Work around the forget-to-reset-the-flag bug.
   20627   echo 't clr' >>$CONFIG_STATUS
   20628   echo ': clr' >>$CONFIG_STATUS
   20629   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   20630   echo 'CEOF
   20631   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   20632   rm -f $tmp/in
   20633   mv $tmp/out $tmp/in
   20634 ' >>$CONFIG_STATUS
   20635   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   20636   rm -f conftest.undefs
   20637   mv conftest.tail conftest.undefs
   20638 done
   20639 rm -f conftest.undefs
   20640 
   20641 cat >>$CONFIG_STATUS <<\_ACEOF
   20642   # Let's still pretend it is `configure' which instantiates (i.e., don't
   20643   # use $as_me), people would be surprised to read:
   20644   #    /* config.h.  Generated by config.status.  */
   20645   if test x"$ac_file" = x-; then
   20646     echo "/* Generated by configure.  */" >$tmp/config.h
   20647   else
   20648     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   20649   fi
   20650   cat $tmp/in >>$tmp/config.h
   20651   rm -f $tmp/in
   20652   if test x"$ac_file" != x-; then
   20653     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   20654       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   20655 echo "$as_me: $ac_file is unchanged" >&6;}
   20656     else
   20657       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   20658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20659 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20660 	 X"$ac_file" : 'X\(//\)$' \| \
   20661 	 X"$ac_file" : 'X\(/\)' \| \
   20662 	 .     : '\(.\)' 2>/dev/null ||
   20663 echo X"$ac_file" |
   20664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20665   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20666   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20667   	  /^X\(\/\).*/{ s//\1/; q; }
   20668   	  s/.*/./; q'`
   20669       { if $as_mkdir_p; then
   20670     mkdir -p "$ac_dir"
   20671   else
   20672     as_dir="$ac_dir"
   20673     as_dirs=
   20674     while test ! -d "$as_dir"; do
   20675       as_dirs="$as_dir $as_dirs"
   20676       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20678 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20679 	 X"$as_dir" : 'X\(//\)$' \| \
   20680 	 X"$as_dir" : 'X\(/\)' \| \
   20681 	 .     : '\(.\)' 2>/dev/null ||
   20682 echo X"$as_dir" |
   20683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20684   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20685   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20686   	  /^X\(\/\).*/{ s//\1/; q; }
   20687   	  s/.*/./; q'`
   20688     done
   20689     test ! -n "$as_dirs" || mkdir $as_dirs
   20690   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   20691 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   20692    { (exit 1); exit 1; }; }; }
   20693 
   20694       rm -f $ac_file
   20695       mv $tmp/config.h $ac_file
   20696     fi
   20697   else
   20698     cat $tmp/config.h
   20699     rm -f $tmp/config.h
   20700   fi
   20701 # Compute $ac_file's index in $config_headers.
   20702 _am_stamp_count=1
   20703 for _am_header in $config_headers :; do
   20704   case $_am_header in
   20705     $ac_file | $ac_file:* )
   20706       break ;;
   20707     * )
   20708       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20709   esac
   20710 done
   20711 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   20712 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20713 	 X$ac_file : 'X\(//\)[^/]' \| \
   20714 	 X$ac_file : 'X\(//\)$' \| \
   20715 	 X$ac_file : 'X\(/\)' \| \
   20716 	 .     : '\(.\)' 2>/dev/null ||
   20717 echo X$ac_file |
   20718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20719   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20720   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20721   	  /^X\(\/\).*/{ s//\1/; q; }
   20722   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20723 done
   20724 _ACEOF
   20725 cat >>$CONFIG_STATUS <<\_ACEOF
   20726 
   20727 #
   20728 # CONFIG_COMMANDS section.
   20729 #
   20730 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   20731   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   20732   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   20733   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   20734 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20735 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   20736 	 X"$ac_dest" : 'X\(//\)$' \| \
   20737 	 X"$ac_dest" : 'X\(/\)' \| \
   20738 	 .     : '\(.\)' 2>/dev/null ||
   20739 echo X"$ac_dest" |
   20740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20741   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20742   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20743   	  /^X\(\/\).*/{ s//\1/; q; }
   20744   	  s/.*/./; q'`
   20745   { if $as_mkdir_p; then
   20746     mkdir -p "$ac_dir"
   20747   else
   20748     as_dir="$ac_dir"
   20749     as_dirs=
   20750     while test ! -d "$as_dir"; do
   20751       as_dirs="$as_dir $as_dirs"
   20752       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20754 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20755 	 X"$as_dir" : 'X\(//\)$' \| \
   20756 	 X"$as_dir" : 'X\(/\)' \| \
   20757 	 .     : '\(.\)' 2>/dev/null ||
   20758 echo X"$as_dir" |
   20759     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20760   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20761   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20762   	  /^X\(\/\).*/{ s//\1/; q; }
   20763   	  s/.*/./; q'`
   20764     done
   20765     test ! -n "$as_dirs" || mkdir $as_dirs
   20766   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   20767 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   20768    { (exit 1); exit 1; }; }; }
   20769 
   20770   ac_builddir=.
   20771 
   20772 if test "$ac_dir" != .; then
   20773   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20774   # A "../" for each directory in $ac_dir_suffix.
   20775   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   20776 else
   20777   ac_dir_suffix= ac_top_builddir=
   20778 fi
   20779 
   20780 case $srcdir in
   20781   .)  # No --srcdir option.  We are building in place.
   20782     ac_srcdir=.
   20783     if test -z "$ac_top_builddir"; then
   20784        ac_top_srcdir=.
   20785     else
   20786        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   20787     fi ;;
   20788   [\\/]* | ?:[\\/]* )  # Absolute path.
   20789     ac_srcdir=$srcdir$ac_dir_suffix;
   20790     ac_top_srcdir=$srcdir ;;
   20791   *) # Relative path.
   20792     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   20793     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   20794 esac
   20795 
   20796 # Do not use `cd foo && pwd` to compute absolute paths, because
   20797 # the directories may not exist.
   20798 case `pwd` in
   20799 .) ac_abs_builddir="$ac_dir";;
   20800 *)
   20801   case "$ac_dir" in
   20802   .) ac_abs_builddir=`pwd`;;
   20803   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   20804   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   20805   esac;;
   20806 esac
   20807 case $ac_abs_builddir in
   20808 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   20809 *)
   20810   case ${ac_top_builddir}. in
   20811   .) ac_abs_top_builddir=$ac_abs_builddir;;
   20812   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   20813   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   20814   esac;;
   20815 esac
   20816 case $ac_abs_builddir in
   20817 .) ac_abs_srcdir=$ac_srcdir;;
   20818 *)
   20819   case $ac_srcdir in
   20820   .) ac_abs_srcdir=$ac_abs_builddir;;
   20821   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   20822   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   20823   esac;;
   20824 esac
   20825 case $ac_abs_builddir in
   20826 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   20827 *)
   20828   case $ac_top_srcdir in
   20829   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   20830   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   20831   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   20832   esac;;
   20833 esac
   20834 
   20835 
   20836   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   20837 echo "$as_me: executing $ac_dest commands" >&6;}
   20838   case $ac_dest in
   20839     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   20840   # Strip MF so we end up with the name of the file.
   20841   mf=`echo "$mf" | sed -e 's/:.*$//'`
   20842   # Check whether this is an Automake generated Makefile or not.
   20843   # We used to match only the files named `Makefile.in', but
   20844   # some people rename them; so instead we look at the file content.
   20845   # Grep'ing the first line is not enough: some people post-process
   20846   # each Makefile.in and add a new line on top of each file to say so.
   20847   # So let's grep whole file.
   20848   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   20849     dirpart=`(dirname "$mf") 2>/dev/null ||
   20850 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20851 	 X"$mf" : 'X\(//\)[^/]' \| \
   20852 	 X"$mf" : 'X\(//\)$' \| \
   20853 	 X"$mf" : 'X\(/\)' \| \
   20854 	 .     : '\(.\)' 2>/dev/null ||
   20855 echo X"$mf" |
   20856     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20857   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20858   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20859   	  /^X\(\/\).*/{ s//\1/; q; }
   20860   	  s/.*/./; q'`
   20861   else
   20862     continue
   20863   fi
   20864   # Extract the definition of DEPDIR, am__include, and am__quote
   20865   # from the Makefile without running `make'.
   20866   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20867   test -z "$DEPDIR" && continue
   20868   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20869   test -z "am__include" && continue
   20870   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20871   # When using ansi2knr, U may be empty or an underscore; expand it
   20872   U=`sed -n 's/^U = //p' < "$mf"`
   20873   # Find all dependency output files, they are included files with
   20874   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20875   # simplest approach to changing $(DEPDIR) to its actual value in the
   20876   # expansion.
   20877   for file in `sed -n "
   20878     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20879        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20880     # Make sure the directory exists.
   20881     test -f "$dirpart/$file" && continue
   20882     fdir=`(dirname "$file") 2>/dev/null ||
   20883 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20884 	 X"$file" : 'X\(//\)[^/]' \| \
   20885 	 X"$file" : 'X\(//\)$' \| \
   20886 	 X"$file" : 'X\(/\)' \| \
   20887 	 .     : '\(.\)' 2>/dev/null ||
   20888 echo X"$file" |
   20889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20890   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20891   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20892   	  /^X\(\/\).*/{ s//\1/; q; }
   20893   	  s/.*/./; q'`
   20894     { if $as_mkdir_p; then
   20895     mkdir -p $dirpart/$fdir
   20896   else
   20897     as_dir=$dirpart/$fdir
   20898     as_dirs=
   20899     while test ! -d "$as_dir"; do
   20900       as_dirs="$as_dir $as_dirs"
   20901       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   20902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20903 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20904 	 X"$as_dir" : 'X\(//\)$' \| \
   20905 	 X"$as_dir" : 'X\(/\)' \| \
   20906 	 .     : '\(.\)' 2>/dev/null ||
   20907 echo X"$as_dir" |
   20908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   20909   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   20910   	  /^X\(\/\/\)$/{ s//\1/; q; }
   20911   	  /^X\(\/\).*/{ s//\1/; q; }
   20912   	  s/.*/./; q'`
   20913     done
   20914     test ! -n "$as_dirs" || mkdir $as_dirs
   20915   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   20916 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   20917    { (exit 1); exit 1; }; }; }
   20918 
   20919     # echo "creating $dirpart/$file"
   20920     echo '# dummy' > "$dirpart/$file"
   20921   done
   20922 done
   20923  ;;
   20924   esac
   20925 done
   20926 _ACEOF
   20927 
   20928 cat >>$CONFIG_STATUS <<\_ACEOF
   20929 
   20930 { (exit 0); exit 0; }
   20931 _ACEOF
   20932 chmod +x $CONFIG_STATUS
   20933 ac_clean_files=$ac_clean_files_save
   20934 
   20935 
   20936 # configure is writing to config.log, and then calls config.status.
   20937 # config.status does its own redirection, appending to config.log.
   20938 # Unfortunately, on DOS this fails, as config.log is still kept open
   20939 # by configure, so config.status won't be able to write to it; its
   20940 # output is simply discarded.  So we exec the FD to /dev/null,
   20941 # effectively closing config.log, so it can be properly (re)opened and
   20942 # appended to by config.status.  When coming back to configure, we
   20943 # need to make the FD available again.
   20944 if test "$no_create" != yes; then
   20945   ac_cs_success=:
   20946   ac_config_status_args=
   20947   test "$silent" = yes &&
   20948     ac_config_status_args="$ac_config_status_args --quiet"
   20949   exec 5>/dev/null
   20950   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20951   exec 5>>config.log
   20952   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20953   # would make configure fail if this is the last instruction.
   20954   $ac_cs_success || { (exit 1); exit 1; }
   20955 fi
   20956 
   20957