PageRenderTime 53ms CodeModel.GetById 24ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 1ms

/Unittests/googletest/aclocal.m4

http://unladen-swallow.googlecode.com/
m4 | 7701 lines | 5241 code | 781 blank | 1679 comment | 0 complexity | 04da8bf441169809ff50466c48a3f6f7 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
   2
   3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
   4# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
   5# This file is free software; the Free Software Foundation
   6# gives unlimited permission to copy and/or distribute it,
   7# with or without modifications, as long as this notice is preserved.
   8
   9# This program is distributed in the hope that it will be useful,
  10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12# PARTICULAR PURPOSE.
  13
  14m4_ifndef([AC_AUTOCONF_VERSION],
  15  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16m4_if(AC_AUTOCONF_VERSION, [2.61],,
  17[m4_warning([this file was generated for autoconf 2.61.
  18You have another version of autoconf.  It may work, but is not guaranteed to.
  19If you have problems, you may need to regenerate the build system entirely.
  20To do so, use the procedure documented by the package, typically `autoreconf'.])])
  21
  22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  23
  24# serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL
  25
  26
  27# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
  28# -----------------------------------------------------------
  29# If this macro is not defined by Autoconf, define it here.
  30m4_ifdef([AC_PROVIDE_IFELSE],
  31         [],
  32         [m4_define([AC_PROVIDE_IFELSE],
  33	         [m4_ifdef([AC_PROVIDE_$1],
  34		           [$2], [$3])])])
  35
  36
  37# AC_PROG_LIBTOOL
  38# ---------------
  39AC_DEFUN([AC_PROG_LIBTOOL],
  40[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
  41dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
  42dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
  43  AC_PROVIDE_IFELSE([AC_PROG_CXX],
  44    [AC_LIBTOOL_CXX],
  45    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
  46  ])])
  47dnl And a similar setup for Fortran 77 support
  48  AC_PROVIDE_IFELSE([AC_PROG_F77],
  49    [AC_LIBTOOL_F77],
  50    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
  51])])
  52
  53dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
  54dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
  55dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
  56  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  57    [AC_LIBTOOL_GCJ],
  58    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  59      [AC_LIBTOOL_GCJ],
  60      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
  61	[AC_LIBTOOL_GCJ],
  62      [ifdef([AC_PROG_GCJ],
  63	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  64       ifdef([A][M_PROG_GCJ],
  65	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  66       ifdef([LT_AC_PROG_GCJ],
  67	     [define([LT_AC_PROG_GCJ],
  68		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
  69])])# AC_PROG_LIBTOOL
  70
  71
  72# _AC_PROG_LIBTOOL
  73# ----------------
  74AC_DEFUN([_AC_PROG_LIBTOOL],
  75[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  76AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
  77AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
  78AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
  79
  80# This can be used to rebuild libtool when needed
  81LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  82
  83# Always use our own libtool.
  84LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  85AC_SUBST(LIBTOOL)dnl
  86
  87# Prevent multiple expansion
  88define([AC_PROG_LIBTOOL], [])
  89])# _AC_PROG_LIBTOOL
  90
  91
  92# AC_LIBTOOL_SETUP
  93# ----------------
  94AC_DEFUN([AC_LIBTOOL_SETUP],
  95[AC_PREREQ(2.50)dnl
  96AC_REQUIRE([AC_ENABLE_SHARED])dnl
  97AC_REQUIRE([AC_ENABLE_STATIC])dnl
  98AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  99AC_REQUIRE([AC_CANONICAL_HOST])dnl
 100AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 101AC_REQUIRE([AC_PROG_CC])dnl
 102AC_REQUIRE([AC_PROG_LD])dnl
 103AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
 104AC_REQUIRE([AC_PROG_NM])dnl
 105
 106AC_REQUIRE([AC_PROG_LN_S])dnl
 107AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
 108# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 109AC_REQUIRE([AC_OBJEXT])dnl
 110AC_REQUIRE([AC_EXEEXT])dnl
 111dnl
 112AC_LIBTOOL_SYS_MAX_CMD_LEN
 113AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 114AC_LIBTOOL_OBJDIR
 115
 116AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 117_LT_AC_PROG_ECHO_BACKSLASH
 118
 119case $host_os in
 120aix3*)
 121  # AIX sometimes has problems with the GCC collect2 program.  For some
 122  # reason, if we set the COLLECT_NAMES environment variable, the problems
 123  # vanish in a puff of smoke.
 124  if test "X${COLLECT_NAMES+set}" != Xset; then
 125    COLLECT_NAMES=
 126    export COLLECT_NAMES
 127  fi
 128  ;;
 129esac
 130
 131# Sed substitution that helps us do robust quoting.  It backslashifies
 132# metacharacters that are still active within double-quoted strings.
 133Xsed='sed -e 1s/^X//'
 134[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
 135
 136# Same as above, but do not quote variable references.
 137[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
 138
 139# Sed substitution to delay expansion of an escaped shell variable in a
 140# double_quote_subst'ed string.
 141delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 142
 143# Sed substitution to avoid accidental globbing in evaled expressions
 144no_glob_subst='s/\*/\\\*/g'
 145
 146# Constants:
 147rm="rm -f"
 148
 149# Global variables:
 150default_ofile=libtool
 151can_build_shared=yes
 152
 153# All known linkers require a `.a' archive for static linking (except MSVC,
 154# which needs '.lib').
 155libext=a
 156ltmain="$ac_aux_dir/ltmain.sh"
 157ofile="$default_ofile"
 158with_gnu_ld="$lt_cv_prog_gnu_ld"
 159
 160AC_CHECK_TOOL(AR, ar, false)
 161AC_CHECK_TOOL(RANLIB, ranlib, :)
 162AC_CHECK_TOOL(STRIP, strip, :)
 163
 164old_CC="$CC"
 165old_CFLAGS="$CFLAGS"
 166
 167# Set sane defaults for various variables
 168test -z "$AR" && AR=ar
 169test -z "$AR_FLAGS" && AR_FLAGS=cru
 170test -z "$AS" && AS=as
 171test -z "$CC" && CC=cc
 172test -z "$LTCC" && LTCC=$CC
 173test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 174test -z "$DLLTOOL" && DLLTOOL=dlltool
 175test -z "$LD" && LD=ld
 176test -z "$LN_S" && LN_S="ln -s"
 177test -z "$MAGIC_CMD" && MAGIC_CMD=file
 178test -z "$NM" && NM=nm
 179test -z "$SED" && SED=sed
 180test -z "$OBJDUMP" && OBJDUMP=objdump
 181test -z "$RANLIB" && RANLIB=:
 182test -z "$STRIP" && STRIP=:
 183test -z "$ac_objext" && ac_objext=o
 184
 185# Determine commands to create old-style static archives.
 186old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 187old_postinstall_cmds='chmod 644 $oldlib'
 188old_postuninstall_cmds=
 189
 190if test -n "$RANLIB"; then
 191  case $host_os in
 192  openbsd*)
 193    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 194    ;;
 195  *)
 196    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 197    ;;
 198  esac
 199  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 200fi
 201
 202_LT_CC_BASENAME([$compiler])
 203
 204# Only perform the check for file, if the check method requires it
 205case $deplibs_check_method in
 206file_magic*)
 207  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 208    AC_PATH_MAGIC
 209  fi
 210  ;;
 211esac
 212
 213_LT_REQUIRED_DARWIN_CHECKS
 214
 215AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
 216AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 217enable_win32_dll=yes, enable_win32_dll=no)
 218
 219AC_ARG_ENABLE([libtool-lock],
 220    [AC_HELP_STRING([--disable-libtool-lock],
 221	[avoid locking (might break parallel builds)])])
 222test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 223
 224AC_ARG_WITH([pic],
 225    [AC_HELP_STRING([--with-pic],
 226	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 227    [pic_mode="$withval"],
 228    [pic_mode=default])
 229test -z "$pic_mode" && pic_mode=default
 230
 231# Use C for the default configuration in the libtool script
 232tagname=
 233AC_LIBTOOL_LANG_C_CONFIG
 234_LT_AC_TAGCONFIG
 235])# AC_LIBTOOL_SETUP
 236
 237
 238# _LT_AC_SYS_COMPILER
 239# -------------------
 240AC_DEFUN([_LT_AC_SYS_COMPILER],
 241[AC_REQUIRE([AC_PROG_CC])dnl
 242
 243# If no C compiler was specified, use CC.
 244LTCC=${LTCC-"$CC"}
 245
 246# If no C compiler flags were specified, use CFLAGS.
 247LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 248
 249# Allow CC to be a program name with arguments.
 250compiler=$CC
 251])# _LT_AC_SYS_COMPILER
 252
 253
 254# _LT_CC_BASENAME(CC)
 255# -------------------
 256# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 257AC_DEFUN([_LT_CC_BASENAME],
 258[for cc_temp in $1""; do
 259  case $cc_temp in
 260    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 261    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 262    \-*) ;;
 263    *) break;;
 264  esac
 265done
 266cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 267])
 268
 269
 270# _LT_COMPILER_BOILERPLATE
 271# ------------------------
 272# Check for compiler boilerplate output or warnings with
 273# the simple compiler test code.
 274AC_DEFUN([_LT_COMPILER_BOILERPLATE],
 275[AC_REQUIRE([LT_AC_PROG_SED])dnl
 276ac_outfile=conftest.$ac_objext
 277echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 278eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 279_lt_compiler_boilerplate=`cat conftest.err`
 280$rm conftest*
 281])# _LT_COMPILER_BOILERPLATE
 282
 283
 284# _LT_LINKER_BOILERPLATE
 285# ----------------------
 286# Check for linker boilerplate output or warnings with
 287# the simple link test code.
 288AC_DEFUN([_LT_LINKER_BOILERPLATE],
 289[AC_REQUIRE([LT_AC_PROG_SED])dnl
 290ac_outfile=conftest.$ac_objext
 291echo "$lt_simple_link_test_code" >conftest.$ac_ext
 292eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 293_lt_linker_boilerplate=`cat conftest.err`
 294$rm -r conftest*
 295])# _LT_LINKER_BOILERPLATE
 296
 297# _LT_REQUIRED_DARWIN_CHECKS
 298# --------------------------
 299# Check for some things on darwin
 300AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
 301  case $host_os in
 302    rhapsody* | darwin*)
 303    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 304    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 305
 306    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 307      [lt_cv_apple_cc_single_mod=no
 308      if test -z "${LT_MULTI_MODULE}"; then
 309   # By default we will add the -single_module flag. You can override
 310   # by either setting the environment variable LT_MULTI_MODULE
 311   # non-empty at configure time, or by adding -multi_module to the
 312   # link flags.
 313   echo "int foo(void){return 1;}" > conftest.c
 314   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 315     -dynamiclib ${wl}-single_module conftest.c
 316   if test -f libconftest.dylib; then
 317     lt_cv_apple_cc_single_mod=yes
 318     rm -rf libconftest.dylib*
 319   fi
 320   rm conftest.c
 321      fi])
 322    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 323      [lt_cv_ld_exported_symbols_list],
 324      [lt_cv_ld_exported_symbols_list=no
 325      save_LDFLAGS=$LDFLAGS
 326      echo "_main" > conftest.sym
 327      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 328      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 329   [lt_cv_ld_exported_symbols_list=yes],
 330   [lt_cv_ld_exported_symbols_list=no])
 331   LDFLAGS="$save_LDFLAGS"
 332    ])
 333    case $host_os in
 334    rhapsody* | darwin1.[[0123]])
 335      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 336    darwin1.*)
 337     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 338    darwin*)
 339      # if running on 10.5 or later, the deployment target defaults
 340      # to the OS version, if on x86, and 10.4, the deployment
 341      # target defaults to 10.4. Don't you love it?
 342      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 343   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 344     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 345   10.[[012]]*)
 346     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 347   10.*)
 348     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 349      esac
 350    ;;
 351  esac
 352    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 353      _lt_dar_single_mod='$single_module'
 354    fi
 355    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 356      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 357    else
 358      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 359    fi
 360    if test "$DSYMUTIL" != ":"; then
 361      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 362    else
 363      _lt_dsymutil=
 364    fi
 365    ;;
 366  esac
 367])
 368
 369# _LT_AC_SYS_LIBPATH_AIX
 370# ----------------------
 371# Links a minimal program and checks the executable
 372# for the system default hardcoded library path. In most cases,
 373# this is /usr/lib:/lib, but when the MPI compilers are used
 374# the location of the communication and MPI libs are included too.
 375# If we don't find anything, use the default library path according
 376# to the aix ld manual.
 377AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
 378[AC_REQUIRE([LT_AC_PROG_SED])dnl
 379AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 380lt_aix_libpath_sed='
 381    /Import File Strings/,/^$/ {
 382	/^0/ {
 383	    s/^0  *\(.*\)$/\1/
 384	    p
 385	}
 386    }'
 387aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 388# Check for a 64-bit object if we didn't find anything.
 389if test -z "$aix_libpath"; then
 390  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 391fi],[])
 392if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 393])# _LT_AC_SYS_LIBPATH_AIX
 394
 395
 396# _LT_AC_SHELL_INIT(ARG)
 397# ----------------------
 398AC_DEFUN([_LT_AC_SHELL_INIT],
 399[ifdef([AC_DIVERSION_NOTICE],
 400	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 401	 [AC_DIVERT_PUSH(NOTICE)])
 402$1
 403AC_DIVERT_POP
 404])# _LT_AC_SHELL_INIT
 405
 406
 407# _LT_AC_PROG_ECHO_BACKSLASH
 408# --------------------------
 409# Add some code to the start of the generated configure script which
 410# will find an echo command which doesn't interpret backslashes.
 411AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
 412[_LT_AC_SHELL_INIT([
 413# Check that we are running under the correct shell.
 414SHELL=${CONFIG_SHELL-/bin/sh}
 415
 416case X$ECHO in
 417X*--fallback-echo)
 418  # Remove one level of quotation (which was required for Make).
 419  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 420  ;;
 421esac
 422
 423echo=${ECHO-echo}
 424if test "X[$]1" = X--no-reexec; then
 425  # Discard the --no-reexec flag, and continue.
 426  shift
 427elif test "X[$]1" = X--fallback-echo; then
 428  # Avoid inline document here, it may be left over
 429  :
 430elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 431  # Yippee, $echo works!
 432  :
 433else
 434  # Restart under the correct shell.
 435  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 436fi
 437
 438if test "X[$]1" = X--fallback-echo; then
 439  # used as fallback echo
 440  shift
 441  cat <<EOF
 442[$]*
 443EOF
 444  exit 0
 445fi
 446
 447# The HP-UX ksh and POSIX shell print the target directory to stdout
 448# if CDPATH is set.
 449(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 450
 451if test -z "$ECHO"; then
 452if test "X${echo_test_string+set}" != Xset; then
 453# find a string as large as possible, as long as the shell can cope with it
 454  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 455    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 456    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 457       echo_test_string=`eval $cmd` &&
 458       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 459    then
 460      break
 461    fi
 462  done
 463fi
 464
 465if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 466   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 467   test "X$echo_testing_string" = "X$echo_test_string"; then
 468  :
 469else
 470  # The Solaris, AIX, and Digital Unix default echo programs unquote
 471  # backslashes.  This makes it impossible to quote backslashes using
 472  #   echo "$something" | sed 's/\\/\\\\/g'
 473  #
 474  # So, first we look for a working echo in the user's PATH.
 475
 476  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 477  for dir in $PATH /usr/ucb; do
 478    IFS="$lt_save_ifs"
 479    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 480       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 481       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 482       test "X$echo_testing_string" = "X$echo_test_string"; then
 483      echo="$dir/echo"
 484      break
 485    fi
 486  done
 487  IFS="$lt_save_ifs"
 488
 489  if test "X$echo" = Xecho; then
 490    # We didn't find a better echo, so look for alternatives.
 491    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 492       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 493       test "X$echo_testing_string" = "X$echo_test_string"; then
 494      # This shell has a builtin print -r that does the trick.
 495      echo='print -r'
 496    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 497	 test "X$CONFIG_SHELL" != X/bin/ksh; then
 498      # If we have ksh, try running configure again with it.
 499      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 500      export ORIGINAL_CONFIG_SHELL
 501      CONFIG_SHELL=/bin/ksh
 502      export CONFIG_SHELL
 503      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 504    else
 505      # Try using printf.
 506      echo='printf %s\n'
 507      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 508	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 509	 test "X$echo_testing_string" = "X$echo_test_string"; then
 510	# Cool, printf works
 511	:
 512      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 513	   test "X$echo_testing_string" = 'X\t' &&
 514	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 515	   test "X$echo_testing_string" = "X$echo_test_string"; then
 516	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 517	export CONFIG_SHELL
 518	SHELL="$CONFIG_SHELL"
 519	export SHELL
 520	echo="$CONFIG_SHELL [$]0 --fallback-echo"
 521      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 522	   test "X$echo_testing_string" = 'X\t' &&
 523	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 524	   test "X$echo_testing_string" = "X$echo_test_string"; then
 525	echo="$CONFIG_SHELL [$]0 --fallback-echo"
 526      else
 527	# maybe with a smaller string...
 528	prev=:
 529
 530	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 531	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 532	  then
 533	    break
 534	  fi
 535	  prev="$cmd"
 536	done
 537
 538	if test "$prev" != 'sed 50q "[$]0"'; then
 539	  echo_test_string=`eval $prev`
 540	  export echo_test_string
 541	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 542	else
 543	  # Oops.  We lost completely, so just stick with echo.
 544	  echo=echo
 545	fi
 546      fi
 547    fi
 548  fi
 549fi
 550fi
 551
 552# Copy echo and quote the copy suitably for passing to libtool from
 553# the Makefile, instead of quoting the original, which is used later.
 554ECHO=$echo
 555if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 556   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 557fi
 558
 559AC_SUBST(ECHO)
 560])])# _LT_AC_PROG_ECHO_BACKSLASH
 561
 562
 563# _LT_AC_LOCK
 564# -----------
 565AC_DEFUN([_LT_AC_LOCK],
 566[AC_ARG_ENABLE([libtool-lock],
 567    [AC_HELP_STRING([--disable-libtool-lock],
 568	[avoid locking (might break parallel builds)])])
 569test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 570
 571# Some flags need to be propagated to the compiler or linker for good
 572# libtool support.
 573case $host in
 574ia64-*-hpux*)
 575  # Find out which ABI we are using.
 576  echo 'int i;' > conftest.$ac_ext
 577  if AC_TRY_EVAL(ac_compile); then
 578    case `/usr/bin/file conftest.$ac_objext` in
 579    *ELF-32*)
 580      HPUX_IA64_MODE="32"
 581      ;;
 582    *ELF-64*)
 583      HPUX_IA64_MODE="64"
 584      ;;
 585    esac
 586  fi
 587  rm -rf conftest*
 588  ;;
 589*-*-irix6*)
 590  # Find out which ABI we are using.
 591  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 592  if AC_TRY_EVAL(ac_compile); then
 593   if test "$lt_cv_prog_gnu_ld" = yes; then
 594    case `/usr/bin/file conftest.$ac_objext` in
 595    *32-bit*)
 596      LD="${LD-ld} -melf32bsmip"
 597      ;;
 598    *N32*)
 599      LD="${LD-ld} -melf32bmipn32"
 600      ;;
 601    *64-bit*)
 602      LD="${LD-ld} -melf64bmip"
 603      ;;
 604    esac
 605   else
 606    case `/usr/bin/file conftest.$ac_objext` in
 607    *32-bit*)
 608      LD="${LD-ld} -32"
 609      ;;
 610    *N32*)
 611      LD="${LD-ld} -n32"
 612      ;;
 613    *64-bit*)
 614      LD="${LD-ld} -64"
 615      ;;
 616    esac
 617   fi
 618  fi
 619  rm -rf conftest*
 620  ;;
 621
 622x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 623s390*-*linux*|sparc*-*linux*)
 624  # Find out which ABI we are using.
 625  echo 'int i;' > conftest.$ac_ext
 626  if AC_TRY_EVAL(ac_compile); then
 627    case `/usr/bin/file conftest.o` in
 628    *32-bit*)
 629      case $host in
 630        x86_64-*kfreebsd*-gnu)
 631          LD="${LD-ld} -m elf_i386_fbsd"
 632          ;;
 633        x86_64-*linux*)
 634          LD="${LD-ld} -m elf_i386"
 635          ;;
 636        ppc64-*linux*|powerpc64-*linux*)
 637          LD="${LD-ld} -m elf32ppclinux"
 638          ;;
 639        s390x-*linux*)
 640          LD="${LD-ld} -m elf_s390"
 641          ;;
 642        sparc64-*linux*)
 643          LD="${LD-ld} -m elf32_sparc"
 644          ;;
 645      esac
 646      ;;
 647    *64-bit*)
 648      case $host in
 649        x86_64-*kfreebsd*-gnu)
 650          LD="${LD-ld} -m elf_x86_64_fbsd"
 651          ;;
 652        x86_64-*linux*)
 653          LD="${LD-ld} -m elf_x86_64"
 654          ;;
 655        ppc*-*linux*|powerpc*-*linux*)
 656          LD="${LD-ld} -m elf64ppc"
 657          ;;
 658        s390*-*linux*)
 659          LD="${LD-ld} -m elf64_s390"
 660          ;;
 661        sparc*-*linux*)
 662          LD="${LD-ld} -m elf64_sparc"
 663          ;;
 664      esac
 665      ;;
 666    esac
 667  fi
 668  rm -rf conftest*
 669  ;;
 670
 671*-*-sco3.2v5*)
 672  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 673  SAVE_CFLAGS="$CFLAGS"
 674  CFLAGS="$CFLAGS -belf"
 675  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 676    [AC_LANG_PUSH(C)
 677     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 678     AC_LANG_POP])
 679  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 680    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 681    CFLAGS="$SAVE_CFLAGS"
 682  fi
 683  ;;
 684sparc*-*solaris*)
 685  # Find out which ABI we are using.
 686  echo 'int i;' > conftest.$ac_ext
 687  if AC_TRY_EVAL(ac_compile); then
 688    case `/usr/bin/file conftest.o` in
 689    *64-bit*)
 690      case $lt_cv_prog_gnu_ld in
 691      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 692      *)
 693        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 694	  LD="${LD-ld} -64"
 695	fi
 696	;;
 697      esac
 698      ;;
 699    esac
 700  fi
 701  rm -rf conftest*
 702  ;;
 703
 704AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 705[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 706  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 707  AC_CHECK_TOOL(AS, as, false)
 708  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 709  ;;
 710  ])
 711esac
 712
 713need_locks="$enable_libtool_lock"
 714
 715])# _LT_AC_LOCK
 716
 717
 718# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 719#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 720# ----------------------------------------------------------------
 721# Check whether the given compiler option works
 722AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
 723[AC_REQUIRE([LT_AC_PROG_SED])
 724AC_CACHE_CHECK([$1], [$2],
 725  [$2=no
 726  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 727   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 728   lt_compiler_flag="$3"
 729   # Insert the option either (1) after the last *FLAGS variable, or
 730   # (2) before a word containing "conftest.", or (3) at the end.
 731   # Note that $ac_compile itself does not contain backslashes and begins
 732   # with a dollar sign (not a hyphen), so the echo should work correctly.
 733   # The option is referenced via a variable to avoid confusing sed.
 734   lt_compile=`echo "$ac_compile" | $SED \
 735   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 736   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 737   -e 's:$: $lt_compiler_flag:'`
 738   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 739   (eval "$lt_compile" 2>conftest.err)
 740   ac_status=$?
 741   cat conftest.err >&AS_MESSAGE_LOG_FD
 742   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 743   if (exit $ac_status) && test -s "$ac_outfile"; then
 744     # The compiler can only warn and ignore the option if not recognized
 745     # So say no if there are warnings other than the usual output.
 746     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 747     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 748     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 749       $2=yes
 750     fi
 751   fi
 752   $rm conftest*
 753])
 754
 755if test x"[$]$2" = xyes; then
 756    ifelse([$5], , :, [$5])
 757else
 758    ifelse([$6], , :, [$6])
 759fi
 760])# AC_LIBTOOL_COMPILER_OPTION
 761
 762
 763# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 764#                          [ACTION-SUCCESS], [ACTION-FAILURE])
 765# ------------------------------------------------------------
 766# Check whether the given compiler option works
 767AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
 768[AC_REQUIRE([LT_AC_PROG_SED])dnl
 769AC_CACHE_CHECK([$1], [$2],
 770  [$2=no
 771   save_LDFLAGS="$LDFLAGS"
 772   LDFLAGS="$LDFLAGS $3"
 773   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 774   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 775     # The linker can only warn and ignore the option if not recognized
 776     # So say no if there are warnings
 777     if test -s conftest.err; then
 778       # Append any errors to the config.log.
 779       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 780       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 781       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 782       if diff conftest.exp conftest.er2 >/dev/null; then
 783         $2=yes
 784       fi
 785     else
 786       $2=yes
 787     fi
 788   fi
 789   $rm -r conftest*
 790   LDFLAGS="$save_LDFLAGS"
 791])
 792
 793if test x"[$]$2" = xyes; then
 794    ifelse([$4], , :, [$4])
 795else
 796    ifelse([$5], , :, [$5])
 797fi
 798])# AC_LIBTOOL_LINKER_OPTION
 799
 800
 801# AC_LIBTOOL_SYS_MAX_CMD_LEN
 802# --------------------------
 803AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
 804[# find the maximum length of command line arguments
 805AC_MSG_CHECKING([the maximum length of command line arguments])
 806AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 807  i=0
 808  teststring="ABCD"
 809
 810  case $build_os in
 811  msdosdjgpp*)
 812    # On DJGPP, this test can blow up pretty badly due to problems in libc
 813    # (any single argument exceeding 2000 bytes causes a buffer overrun
 814    # during glob expansion).  Even if it were fixed, the result of this
 815    # check would be larger than it should be.
 816    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 817    ;;
 818
 819  gnu*)
 820    # Under GNU Hurd, this test is not required because there is
 821    # no limit to the length of command line arguments.
 822    # Libtool will interpret -1 as no limit whatsoever
 823    lt_cv_sys_max_cmd_len=-1;
 824    ;;
 825
 826  cygwin* | mingw*)
 827    # On Win9x/ME, this test blows up -- it succeeds, but takes
 828    # about 5 minutes as the teststring grows exponentially.
 829    # Worse, since 9x/ME are not pre-emptively multitasking,
 830    # you end up with a "frozen" computer, even though with patience
 831    # the test eventually succeeds (with a max line length of 256k).
 832    # Instead, let's just punt: use the minimum linelength reported by
 833    # all of the supported platforms: 8192 (on NT/2K/XP).
 834    lt_cv_sys_max_cmd_len=8192;
 835    ;;
 836
 837  amigaos*)
 838    # On AmigaOS with pdksh, this test takes hours, literally.
 839    # So we just punt and use a minimum line length of 8192.
 840    lt_cv_sys_max_cmd_len=8192;
 841    ;;
 842
 843  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 844    # This has been around since 386BSD, at least.  Likely further.
 845    if test -x /sbin/sysctl; then
 846      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 847    elif test -x /usr/sbin/sysctl; then
 848      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 849    else
 850      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 851    fi
 852    # And add a safety zone
 853    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 854    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 855    ;;
 856
 857  interix*)
 858    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 859    lt_cv_sys_max_cmd_len=196608
 860    ;;
 861
 862  osf*)
 863    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 864    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 865    # nice to cause kernel panics so lets avoid the loop below.
 866    # First set a reasonable default.
 867    lt_cv_sys_max_cmd_len=16384
 868    #
 869    if test -x /sbin/sysconfig; then
 870      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 871        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 872      esac
 873    fi
 874    ;;
 875  sco3.2v5*)
 876    lt_cv_sys_max_cmd_len=102400
 877    ;;
 878  sysv5* | sco5v6* | sysv4.2uw2*)
 879    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 880    if test -n "$kargmax"; then
 881      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ 	]]//'`
 882    else
 883      lt_cv_sys_max_cmd_len=32768
 884    fi
 885    ;;
 886  *)
 887    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 888    if test -n "$lt_cv_sys_max_cmd_len"; then
 889      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 890      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 891    else
 892      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 893      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 894	       = "XX$teststring") >/dev/null 2>&1 &&
 895	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
 896	      lt_cv_sys_max_cmd_len=$new_result &&
 897	      test $i != 17 # 1/2 MB should be enough
 898      do
 899        i=`expr $i + 1`
 900        teststring=$teststring$teststring
 901      done
 902      teststring=
 903      # Add a significant safety factor because C++ compilers can tack on massive
 904      # amounts of additional arguments before passing them to the linker.
 905      # It appears as though 1/2 is a usable value.
 906      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 907    fi
 908    ;;
 909  esac
 910])
 911if test -n $lt_cv_sys_max_cmd_len ; then
 912  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 913else
 914  AC_MSG_RESULT(none)
 915fi
 916])# AC_LIBTOOL_SYS_MAX_CMD_LEN
 917
 918
 919# _LT_AC_CHECK_DLFCN
 920# ------------------
 921AC_DEFUN([_LT_AC_CHECK_DLFCN],
 922[AC_CHECK_HEADERS(dlfcn.h)dnl
 923])# _LT_AC_CHECK_DLFCN
 924
 925
 926# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 927#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 928# ---------------------------------------------------------------------
 929AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
 930[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 931if test "$cross_compiling" = yes; then :
 932  [$4]
 933else
 934  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 935  lt_status=$lt_dlunknown
 936  cat > conftest.$ac_ext <<EOF
 937[#line __oline__ "configure"
 938#include "confdefs.h"
 939
 940#if HAVE_DLFCN_H
 941#include <dlfcn.h>
 942#endif
 943
 944#include <stdio.h>
 945
 946#ifdef RTLD_GLOBAL
 947#  define LT_DLGLOBAL		RTLD_GLOBAL
 948#else
 949#  ifdef DL_GLOBAL
 950#    define LT_DLGLOBAL		DL_GLOBAL
 951#  else
 952#    define LT_DLGLOBAL		0
 953#  endif
 954#endif
 955
 956/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 957   find out it does not work in some platform. */
 958#ifndef LT_DLLAZY_OR_NOW
 959#  ifdef RTLD_LAZY
 960#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 961#  else
 962#    ifdef DL_LAZY
 963#      define LT_DLLAZY_OR_NOW		DL_LAZY
 964#    else
 965#      ifdef RTLD_NOW
 966#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 967#      else
 968#        ifdef DL_NOW
 969#          define LT_DLLAZY_OR_NOW	DL_NOW
 970#        else
 971#          define LT_DLLAZY_OR_NOW	0
 972#        endif
 973#      endif
 974#    endif
 975#  endif
 976#endif
 977
 978#ifdef __cplusplus
 979extern "C" void exit (int);
 980#endif
 981
 982void fnord() { int i=42;}
 983int main ()
 984{
 985  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 986  int status = $lt_dlunknown;
 987
 988  if (self)
 989    {
 990      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 991      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 992      /* dlclose (self); */
 993    }
 994  else
 995    puts (dlerror ());
 996
 997    exit (status);
 998}]
 999EOF
1000  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1001    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1002    lt_status=$?
1003    case x$lt_status in
1004      x$lt_dlno_uscore) $1 ;;
1005      x$lt_dlneed_uscore) $2 ;;
1006      x$lt_dlunknown|x*) $3 ;;
1007    esac
1008  else :
1009    # compilation failed
1010    $3
1011  fi
1012fi
1013rm -fr conftest*
1014])# _LT_AC_TRY_DLOPEN_SELF
1015
1016
1017# AC_LIBTOOL_DLOPEN_SELF
1018# ----------------------
1019AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1020[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1021if test "x$enable_dlopen" != xyes; then
1022  enable_dlopen=unknown
1023  enable_dlopen_self=unknown
1024  enable_dlopen_self_static=unknown
1025else
1026  lt_cv_dlopen=no
1027  lt_cv_dlopen_libs=
1028
1029  case $host_os in
1030  beos*)
1031    lt_cv_dlopen="load_add_on"
1032    lt_cv_dlopen_libs=
1033    lt_cv_dlopen_self=yes
1034    ;;
1035
1036  mingw* | pw32*)
1037    lt_cv_dlopen="LoadLibrary"
1038    lt_cv_dlopen_libs=
1039   ;;
1040
1041  cygwin*)
1042    lt_cv_dlopen="dlopen"
1043    lt_cv_dlopen_libs=
1044   ;;
1045
1046  darwin*)
1047  # if libdl is installed we need to link against it
1048    AC_CHECK_LIB([dl], [dlopen],
1049		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1050    lt_cv_dlopen="dyld"
1051    lt_cv_dlopen_libs=
1052    lt_cv_dlopen_self=yes
1053    ])
1054   ;;
1055
1056  *)
1057    AC_CHECK_FUNC([shl_load],
1058	  [lt_cv_dlopen="shl_load"],
1059      [AC_CHECK_LIB([dld], [shl_load],
1060	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1061	[AC_CHECK_FUNC([dlopen],
1062	      [lt_cv_dlopen="dlopen"],
1063	  [AC_CHECK_LIB([dl], [dlopen],
1064		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1065	    [AC_CHECK_LIB([svld], [dlopen],
1066		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1067	      [AC_CHECK_LIB([dld], [dld_link],
1068		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1069	      ])
1070	    ])
1071	  ])
1072	])
1073      ])
1074    ;;
1075  esac
1076
1077  if test "x$lt_cv_dlopen" != xno; then
1078    enable_dlopen=yes
1079  else
1080    enable_dlopen=no
1081  fi
1082
1083  case $lt_cv_dlopen in
1084  dlopen)
1085    save_CPPFLAGS="$CPPFLAGS"
1086    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1087
1088    save_LDFLAGS="$LDFLAGS"
1089    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1090
1091    save_LIBS="$LIBS"
1092    LIBS="$lt_cv_dlopen_libs $LIBS"
1093
1094    AC_CACHE_CHECK([whether a program can dlopen itself],
1095	  lt_cv_dlopen_self, [dnl
1096	  _LT_AC_TRY_DLOPEN_SELF(
1097	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1098	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1099    ])
1100
1101    if test "x$lt_cv_dlopen_self" = xyes; then
1102      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1103      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1104    	  lt_cv_dlopen_self_static, [dnl
1105	  _LT_AC_TRY_DLOPEN_SELF(
1106	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1107	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
1108      ])
1109    fi
1110
1111    CPPFLAGS="$save_CPPFLAGS"
1112    LDFLAGS="$save_LDFLAGS"
1113    LIBS="$save_LIBS"
1114    ;;
1115  esac
1116
1117  case $lt_cv_dlopen_self in
1118  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1119  *) enable_dlopen_self=unknown ;;
1120  esac
1121
1122  case $lt_cv_dlopen_self_static in
1123  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1124  *) enable_dlopen_self_static=unknown ;;
1125  esac
1126fi
1127])# AC_LIBTOOL_DLOPEN_SELF
1128
1129
1130# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1131# ---------------------------------
1132# Check to see if options -c and -o are simultaneously supported by compiler
1133AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1134[AC_REQUIRE([LT_AC_PROG_SED])dnl
1135AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1136AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1137  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1138  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1139   $rm -r conftest 2>/dev/null
1140   mkdir conftest
1141   cd conftest
1142   mkdir out
1143   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1144
1145   lt_compiler_flag="-o out/conftest2.$ac_objext"
1146   # Insert the option either (1) after the last *FLAGS variable, or
1147   # (2) before a word containing "conftest.", or (3) at the end.
1148   # Note that $ac_compile itself does not contain backslashes and begins
1149   # with a dollar sign (not a hyphen), so the echo should work correctly.
1150   lt_compile=`echo "$ac_compile" | $SED \
1151   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1152   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1153   -e 's:$: $lt_compiler_flag:'`
1154   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1155   (eval "$lt_compile" 2>out/conftest.err)
1156   ac_status=$?
1157   cat out/conftest.err >&AS_MESSAGE_LOG_FD
1158   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1159   if (exit $ac_status) && test -s out/conftest2.$ac_objext
1160   then
1161     # The compiler can only warn and ignore the option if not recognized
1162     # So say no if there are warnings
1163     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1164     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1165     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1166       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1167     fi
1168   fi
1169   chmod u+w . 2>&AS_MESSAGE_LOG_FD
1170   $rm conftest*
1171   # SGI C++ compiler will create directory out/ii_files/ for
1172   # template instantiation
1173   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1174   $rm out/* && rmdir out
1175   cd ..
1176   rmdir conftest
1177   $rm conftest*
1178])
1179])# AC_LIBTOOL_PROG_CC_C_O
1180
1181
1182# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1183# -----------------------------------------
1184# Check to see if we can do hard links to lock some files if needed
1185AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1186[AC_REQUIRE([_LT_AC_LOCK])dnl
1187
1188hard_links="nottested"
1189if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1190  # do not overwrite the value of need_locks provided by the user
1191  AC_MSG_CHECKING([if we can lock with hard links])
1192  hard_links=yes
1193  $rm conftest*
1194  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1195  touch conftest.a
1196  ln conftest.a conftest.b 2>&5 || hard_links=no
1197  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1198  AC_MSG_RESULT([$hard_links])
1199  if test "$hard_links" = no; then
1200    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1201    need_locks=warn
1202  fi
1203else
1204  need_locks=no
1205fi
1206])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1207
1208
1209# AC_LIBTOOL_OBJDIR
1210# -----------------
1211AC_DEFUN([AC_LIBTOOL_OBJDIR],
1212[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1213[rm -f .libs 2>/dev/null
1214mkdir .libs 2>/dev/null
1215if test -d .libs; then
1216  lt_cv_objdir=.libs
1217else
1218  # MS-DOS does not allow filenames that begin with a dot.
1219  lt_cv_objdir=_libs
1220fi
1221rmdir .libs 2>/dev/null])
1222objdir=$lt_cv_objdir
1223])# AC_LIBTOOL_OBJDIR
1224
1225
1226# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1227# ----------------------------------------------
1228# Check hardcoding attributes.
1229AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1230[AC_MSG_CHECKING([how to hardcode library paths into programs])
1231_LT_AC_TAGVAR(hardcode_action, $1)=
1232if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1233   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1234   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1235
1236  # We can hardcode non-existant directories.
1237  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1238     # If the only mechanism to avoid hardcoding is shlibpath_var, we
1239     # have to relink, otherwise we might link with an installed library
1240     # when we should be linking with a yet-to-be-installed one
1241     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1242     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1243    # Linking always hardcodes the temporary library directory.
1244    _LT_AC_TAGVAR(hardcode_action, $1)=relink
1245  else
1246    # We can link without hardcoding, and we can hardcode nonexisting dirs.
1247    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1248  fi
1249else
1250  # We cannot hardcode anything, or else we can only hardcode existing
1251  # directories.
1252  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1253fi
1254AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1255
1256if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1257  # Fast installation is not supported
1258  enable_fast_install=no
1259elif test "$shlibpath_overrides_runpath" = yes ||
1260     test "$enable_shared" = no; then
1261  # Fast installation is not necessary
1262  enable_fast_install=needless
1263fi
1264])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1265
1266
1267# AC_LIBTOOL_SYS_LIB_STRIP
1268# ------------------------
1269AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1270[striplib=
1271old_striplib=
1272AC_MSG_CHECKING([whether stripping libraries is possible])
1273if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1274  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1275  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1276  AC_MSG_RESULT([yes])
1277else
1278# FIXME - insert some real tests, host_os isn't really good enough
1279  case $host_os in
1280   darwin*)
1281       if test -n "$STRIP" ; then
1282         striplib="$STRIP -x"
1283         old_striplib="$STRIP -S"
1284         AC_MSG_RESULT([yes])
1285       else
1286  AC_MSG_RESULT([no])
1287fi
1288       ;;
1289   *)
1290  AC_MSG_RESULT([no])
1291    ;;
1292  esac
1293fi
1294])# AC_LIBTOOL_SYS_LIB_STRIP
1295
1296
1297# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1298# -----------------------------
1299# PORTME Fill in your ld.so characteristics
1300AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1301[AC_REQUIRE([LT_AC_PROG_SED])dnl
1302AC_MSG_CHECKING([dynamic linker characteristics])
1303library_names_spec=
1304libname_spec='lib$name'
1305soname_spec=
1306shrext_cmds=".so"
1307postinstall_cmds=
1308postuninstall_cmds=
1309finish_cmds=
1310finish_eval=
1311shlibpath_var=
1312shlibpath_overrides_runpath=unknown
1313version_type=none
1314dynamic_linker="$host_os ld.so"
1315sys_lib_dlsearch_path_spec="/lib /usr/lib"
1316m4_if($1,[],[
1317if test "$GCC" = yes; then
1318  case $host_os in
1319    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1320    *) lt_awk_arg="/^libraries:/" ;;
1321  esac
1322  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1323  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1324    # if the path contains ";" then we assume it to be the separator
1325    # otherwise default to the standard path separator (i.e. ":") - it is
1326    # assumed that no part of a normal pathname contains ";" but that should
1327    # okay in the real world where ";" in dirpaths is itself problematic.
1328    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1329  else
1330    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1331  fi
1332  # Ok, now we have the path, separated by spaces, we can step through it
1333  # and add multilib dir if necessary.
1334  lt_tmp_lt_search_path_spec=
1335  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1336  for lt_sys_path in $lt_search_path_spec; do
1337    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1338      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1339    else
1340      test -d "$lt_sys_path" && \
1341	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1342    fi
1343  done
1344  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1345BEGIN {RS=" "; FS="/|\n";} {
1346  lt_foo="";
1347  lt_count=0;
1348  for (lt_i = NF; lt_i > 0; lt_i--) {
1349    if ($lt_i != "" && $lt_i != ".") {
1350      if ($lt_i == "..") {
1351        lt_count++;
1352      } else {
1353        if (lt_count == 0) {
1354          lt_foo="/" $lt_i lt_foo;
1355        } else {
1356          lt_count--;
1357        }
1358      }
1359    }
1360  }
1361  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1362  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1363}'`
1364  sys_lib_search_path_spec=`echo $lt_search_path_spec`
1365else
1366  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1367fi])
1368need_lib_prefix=unknown
1369hardcode_into_libs=no
1370
1371# when you set need_version to no, make sure it does not cause -set_version
1372# flags to be left without arguments
1373need_version=unknown
1374
1375case $host_os in
1376aix3*)
1377  version_type=linux
1378  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1379  shlibpath_var=LIBPATH
1380
1381  # AIX 3 has no versioning support, so we append a major version to the name.
1382  soname_spec='${libname}${release}${shared_ext}$major'
1383  ;;
1384
1385aix[[4-9]]*)
1386  version_type=linux
1387  need_lib_prefix=no
1388  need_version=no
1389  hardcode_into_libs=yes
1390  if test "$host_cpu" = ia64; then
1391    # AIX 5 supports IA64
1392    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1393    shlibpath_var=LD_LIBRARY_PATH
1394  else
1395    # With GCC up to 2.95.x, collect2 would create an import file
1396    # for dependence libraries.  The import file would start with
1397    # the line `#! .'.  This would cause the generated library to
1398    # depend on `.', always an invalid library.  This was fixed in
1399    # development snapshots of GCC prior to 3.0.
1400    case $host_os in
1401      aix4 | aix4.[[01]] | aix4.[[01]].*)
1402      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1403	   echo ' yes '
1404	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1405	:
1406      else
1407	can_build_shared=no
1408      fi
1409      ;;
1410    esac
1411    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1412    # soname into executable. Probably we can add versioning support to
1413    # collect2, so additional links can be useful in future.
1414    if test "$aix_use_runtimelinking" = yes; then
1415      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1416      # instead of lib<name>.a to let people know that these are not
1417      # typical AIX shared libraries.
1418      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1419    else
1420      # We preserve .a as extension for shared libraries through AIX4.2
1421      # and later when we are not doing run time linking.
1422      library_names_spec='${libname}${release}.a $libname.a'
1423      soname_spec='${libname}${release}${shared_ext}$major'
1424    fi
1425    shlibpath_var=LIBPATH
1426  fi
1427  ;;
1428
1429amigaos*)
1430  library_names_spec='$libname.ixlibrary $libname.a'
1431  # Create ${libname}_ixlibrary.a entries in /sys/libs.
1432  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'
1433  ;;
1434
1435beos*)
1436  library_names_spec='${libname}${shared_ext}'
1437  dynamic_linker="$host_os ld.so"
1438  shlibpath_var=LIBRARY_PATH
1439  ;;
1440
1441bsdi[[45]]*)
1442  version_type=linux
1443  need_version=no
1444  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1445  soname_spec='${libname}${release}${shared_ext}$major'
1446  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1447  shlibpath_var=LD_LIBRARY_PATH
1448  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1449  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1450  # the default ld.so.conf also contains /usr/contrib/lib and
1451  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1452  # libtool to hard-code these into programs
1453  ;;
1454
1455cygwin* | mingw* | pw32*)
1456  version_type=windows
1457  shrext_cmds=".dll"
1458  need_version=no
1459  need_lib_prefix=no
1460
1461  case $GCC,$host_os in
1462  yes,cygwin* | yes,mingw* | yes,pw32*)
1463    library_names_spec='$libname.dll.a'
1464    # DLL is installed to $(libdir)/../bin by postinstall_cmds
1465    postinstall_cmds='base_file=`basename \${file}`~
1466      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1467      dldir=$destdir/`dirname \$dlpath`~
1468      test -d \$dldir || mkdir -p \$dldir~
1469      $install_prog $dir/$dlname \$dldir/$dlname~
1470      chmod a+x \$dldir/$dlname'
1471    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1472      dlpath=$dir/\$dldll~
1473       $rm \$dlpath'
1474    shlibpath_overrides_runpath=yes
1475
1476    case $host_os in
1477    cygwin*)
1478      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1479      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1480      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1481      ;;
1482    mingw*)
1483      # MinGW DLLs use traditional 'lib' prefix
1484      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1485      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1486      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1487        # It is most probably a Windows format PATH printed by
1488        # mingw gcc, but we are running on Cygwin. Gcc prints its search
1489        # path with ; separators, and with drive letters. We can handle the
1490        # drive letters (cygwin fileutils understands them), so leave them,
1491        # especially as we might pass files found there to a mingw objdump,
1492        # which wouldn't understand a cygwinified path. Ahh.
1493        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1494      else
1495        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1496      fi
1497      ;;
1498    pw32*)
1499      # pw32 DLLs use 'pw' prefix rather than 'lib'
1500      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1501      ;;
1502    esac
1503    ;;
1504
1505  *)
1506    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1507    ;;
1508  esac
1509  dynamic_linker='Win32 ld.exe'
1510  # FIXME: first we should search . and the directory the executable is in
1511  shlibpath_var=PATH
1512  ;;
1513
1514darwin* | rhapsody*)
1515  dynamic_linker="$host_os dyld"
1516  version_type=darwin
1517  need_lib_prefix=no
1518  need_version=no
1519  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1520  soname_spec='${libname}${release}${major}$shared_ext'
1521  shlibpath_overrides_runpath=yes
1522  shlibpath_var=DYLD_LIBRARY_PATH
1523  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1524  m4_if([$1], [],[
1525  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
1526  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1527  ;;
1528
1529dgux*)
1530  version_type=linux
1531  need_lib_prefix=no
1532  need_version=no
1533  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1534  soname_spec='${libname}${release}${shared_ext}$major'
1535  shlibpath_var=LD_LIBRARY_PATH
1536  ;;
1537
1538freebsd1*)
1539  dynamic_linker=no
1540  ;;
1541
1542freebsd* | dragonfly*)
1543  # DragonFly does not have aout.  When/if they implement a new
1544  # versioning mechanism, adjust this.
1545  if test -x /usr/bin/objformat; then
1546    objformat=`/usr/bin/objformat`
1547  else
1548    case $host_os in
1549    freebsd[[123]]*) objformat=aout ;;
1550    *) objformat=elf ;;
1551    esac
1552  fi
1553  version_type=freebsd-$objformat
1554  case $version_type in
1555    freebsd-elf*)
1556      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1557      need_version=no
1558      need_lib_prefix=no
1559      ;;
1560    freebsd-*)
1561      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1562      need_version=yes
1563      ;;
1564  esac
1565  shlibpath_var=LD_LIBRARY_PATH
1566  case $host_os in
1567  freebsd2*)
1568    shlibpath_overrides_runpath=yes
1569    ;;
1570  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1571    shlibpath_overrides_runpath=yes
1572    hardcode_into_libs=yes
1573    ;;
1574  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1575  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1576    shlibpath_overrides_runpath=no
1577    hardcode_i…

Large files files are truncated, but you can click here to view the full file