IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3191


Ignore:
Timestamp:
Feb 11, 2005, 10:27:34 AM (21 years ago)
Author:
desonia
Message:

made changes to allow use of older automake versions (>2 years)

Location:
trunk/psLib
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/Makefile.am

    r3185 r3191  
    1 SUBDIRS = etc/pslib src test swig
     1SUBDIRS = etc src test swig
    22
    33bin_SCRIPTS = pslib-config
  • trunk/psLib/aclocal.m4

    r3190 r3191  
    1 # generated automatically by aclocal 1.9.1 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     1# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
     2
     3# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
    44# Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
     
    1111# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    1212# PARTICULAR PURPOSE.
     13
     14# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
     15
     16# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
     17
     18# This program is free software; you can redistribute it and/or modify
     19# it under the terms of the GNU General Public License as published by
     20# the Free Software Foundation; either version 2, or (at your option)
     21# any later version.
     22
     23# This program is distributed in the hope that it will be useful,
     24# but WITHOUT ANY WARRANTY; without even the implied warranty of
     25# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     26# GNU General Public License for more details.
     27
     28# You should have received a copy of the GNU General Public License
     29# along with this program; if not, write to the Free Software
     30# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     31# 02111-1307, USA.
     32
     33AC_PREREQ([2.52])
     34
     35# serial 6
     36
     37# When config.status generates a header, we must update the stamp-h file.
     38# This file resides in the same directory as the config header
     39# that is generated.  We must strip everything past the first ":",
     40# and everything past the last "/".
     41
     42# _AM_DIRNAME(PATH)
     43# -----------------
     44# Like AS_DIRNAME, only do it during macro expansion
     45AC_DEFUN([_AM_DIRNAME],
     46       [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
     47              m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
     48                    m4_if(regexp([$1], [^/.*]), -1,
     49                          [.],
     50                          patsubst([$1], [^\(/\).*], [\1])),
     51                    patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
     52              patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
     53])# _AM_DIRNAME
     54
     55
     56# The stamp files are numbered to have different names.
     57# We could number them on a directory basis, but that's additional
     58# complications, let's have a unique counter.
     59m4_define([_AM_STAMP_Count], [0])
     60
     61
     62# _AM_STAMP(HEADER)
     63# -----------------
     64# The name of the stamp file for HEADER.
     65AC_DEFUN([_AM_STAMP],
     66[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
     67AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
     68                               [:.*])))/stamp-h[]_AM_STAMP_Count])
     69
     70
     71# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
     72# ------------------------------------------------------------
     73# We used to try to get a real timestamp in stamp-h.  But the fear is that
     74# that will cause unnecessary cvs conflicts.
     75AC_DEFUN([_AM_CONFIG_HEADER],
     76[# Add the stamp file to the list of files AC keeps track of,
     77# along with our hook.
     78AC_CONFIG_HEADERS([$1],
     79                  [# update the timestamp
     80echo 'timestamp for $1' >"_AM_STAMP([$1])"
     81$2],
     82                  [$3])
     83])# _AM_CONFIG_HEADER
     84
     85
     86# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
     87# --------------------------------------------------------------
     88AC_DEFUN([AM_CONFIG_HEADER],
     89[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
     90])# AM_CONFIG_HEADER
     91
     92# Do all the work for Automake.                            -*- Autoconf -*-
     93
     94# This macro actually does too much some checks are only needed if
     95# your package does certain things.  But this isn't really a big deal.
     96
     97# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
     98# Free Software Foundation, Inc.
     99
     100# This program is free software; you can redistribute it and/or modify
     101# it under the terms of the GNU General Public License as published by
     102# the Free Software Foundation; either version 2, or (at your option)
     103# any later version.
     104
     105# This program is distributed in the hope that it will be useful,
     106# but WITHOUT ANY WARRANTY; without even the implied warranty of
     107# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     108# GNU General Public License for more details.
     109
     110# You should have received a copy of the GNU General Public License
     111# along with this program; if not, write to the Free Software
     112# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     113# 02111-1307, USA.
     114
     115# serial 8
     116
     117# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     118# written in clear, in which case automake, when reading aclocal.m4,
     119# will think it sees a *use*, and therefore will trigger all it's
     120# C support machinery.  Also note that it means that autoscan, seeing
     121# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
     122
     123
     124AC_PREREQ([2.52])
     125
     126# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
     127# the ones we care about.
     128m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     129
     130# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     131# AM_INIT_AUTOMAKE([OPTIONS])
     132# -----------------------------------------------
     133# The call with PACKAGE and VERSION arguments is the old style
     134# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     135# and VERSION should now be passed to AC_INIT and removed from
     136# the call to AM_INIT_AUTOMAKE.
     137# We support both call styles for the transition.  After
     138# the next Automake release, Autoconf can make the AC_INIT
     139# arguments mandatory, and then we can depend on a new Autoconf
     140# release and drop the old call support.
     141AC_DEFUN([AM_INIT_AUTOMAKE],
     142[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     143 AC_REQUIRE([AC_PROG_INSTALL])dnl
     144# test to see if srcdir already configured
     145if test "`cd $srcdir && pwd`" != "`pwd`" &&
     146   test -f $srcdir/config.status; then
     147  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     148fi
     149
     150# Define the identity of the package.
     151dnl Distinguish between old-style and new-style calls.
     152m4_ifval([$2],
     153[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     154 AC_SUBST([PACKAGE], [$1])dnl
     155 AC_SUBST([VERSION], [$2])],
     156[_AM_SET_OPTIONS([$1])dnl
     157 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
     158 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
     159
     160_AM_IF_OPTION([no-define],,
     161[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     162 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     163
     164# Some tools Automake needs.
     165AC_REQUIRE([AM_SANITY_CHECK])dnl
     166AC_REQUIRE([AC_ARG_PROGRAM])dnl
     167AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     168AM_MISSING_PROG(AUTOCONF, autoconf)
     169AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     170AM_MISSING_PROG(AUTOHEADER, autoheader)
     171AM_MISSING_PROG(MAKEINFO, makeinfo)
     172AM_MISSING_PROG(AMTAR, tar)
     173AM_PROG_INSTALL_SH
     174AM_PROG_INSTALL_STRIP
     175# We need awk for the "check" target.  The system "awk" is bad on
     176# some platforms.
     177AC_REQUIRE([AC_PROG_AWK])dnl
     178AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     179
     180_AM_IF_OPTION([no-dependencies],,
     181[AC_PROVIDE_IFELSE([AC_PROG_][CC],
     182                  [_AM_DEPENDENCIES(CC)],
     183                  [define([AC_PROG_][CC],
     184                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
     185AC_PROVIDE_IFELSE([AC_PROG_][CXX],
     186                  [_AM_DEPENDENCIES(CXX)],
     187                  [define([AC_PROG_][CXX],
     188                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     189])
     190])
     191
     192# Copyright 2002  Free Software Foundation, Inc.
     193
     194# This program is free software; you can redistribute it and/or modify
     195# it under the terms of the GNU General Public License as published by
     196# the Free Software Foundation; either version 2, or (at your option)
     197# any later version.
     198
     199# This program is distributed in the hope that it will be useful,
     200# but WITHOUT ANY WARRANTY; without even the implied warranty of
     201# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     202# GNU General Public License for more details.
     203
     204# You should have received a copy of the GNU General Public License
     205# along with this program; if not, write to the Free Software
     206# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     207
     208# AM_AUTOMAKE_VERSION(VERSION)
     209# ----------------------------
     210# Automake X.Y traces this macro to ensure aclocal.m4 has been
     211# generated from the m4 files accompanying Automake X.Y.
     212AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
     213
     214# AM_SET_CURRENT_AUTOMAKE_VERSION
     215# -------------------------------
     216# Call AM_AUTOMAKE_VERSION so it can be traced.
     217# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
     218AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
     219         [AM_AUTOMAKE_VERSION([1.6.3])])
     220
     221# Helper functions for option handling.                    -*- Autoconf -*-
     222
     223# Copyright 2001, 2002  Free Software Foundation, Inc.
     224
     225# This program is free software; you can redistribute it and/or modify
     226# it under the terms of the GNU General Public License as published by
     227# the Free Software Foundation; either version 2, or (at your option)
     228# any later version.
     229
     230# This program is distributed in the hope that it will be useful,
     231# but WITHOUT ANY WARRANTY; without even the implied warranty of
     232# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     233# GNU General Public License for more details.
     234
     235# You should have received a copy of the GNU General Public License
     236# along with this program; if not, write to the Free Software
     237# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     238# 02111-1307, USA.
     239
     240# serial 2
     241
     242# _AM_MANGLE_OPTION(NAME)
     243# -----------------------
     244AC_DEFUN([_AM_MANGLE_OPTION],
     245[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     246
     247# _AM_SET_OPTION(NAME)
     248# ------------------------------
     249# Set option NAME.  Presently that only means defining a flag for this option.
     250AC_DEFUN([_AM_SET_OPTION],
     251[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     252
     253# _AM_SET_OPTIONS(OPTIONS)
     254# ----------------------------------
     255# OPTIONS is a space-separated list of Automake options.
     256AC_DEFUN([_AM_SET_OPTIONS],
     257[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     258
     259# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     260# -------------------------------------------
     261# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     262AC_DEFUN([_AM_IF_OPTION],
     263[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     264
     265#
     266# Check to make sure that the build environment is sane.
     267#
     268
     269# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
     270
     271# This program is free software; you can redistribute it and/or modify
     272# it under the terms of the GNU General Public License as published by
     273# the Free Software Foundation; either version 2, or (at your option)
     274# any later version.
     275
     276# This program is distributed in the hope that it will be useful,
     277# but WITHOUT ANY WARRANTY; without even the implied warranty of
     278# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     279# GNU General Public License for more details.
     280
     281# You should have received a copy of the GNU General Public License
     282# along with this program; if not, write to the Free Software
     283# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     284# 02111-1307, USA.
     285
     286# serial 3
     287
     288# AM_SANITY_CHECK
     289# ---------------
     290AC_DEFUN([AM_SANITY_CHECK],
     291[AC_MSG_CHECKING([whether build environment is sane])
     292# Just in case
     293sleep 1
     294echo timestamp > conftest.file
     295# Do `set' in a subshell so we don't clobber the current shell's
     296# arguments.  Must try -L first in case configure is actually a
     297# symlink; some systems play weird games with the mod time of symlinks
     298# (eg FreeBSD returns the mod time of the symlink's containing
     299# directory).
     300if (
     301   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     302   if test "$[*]" = "X"; then
     303      # -L didn't work.
     304      set X `ls -t $srcdir/configure conftest.file`
     305   fi
     306   rm -f conftest.file
     307   if test "$[*]" != "X $srcdir/configure conftest.file" \
     308      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     309
     310      # If neither matched, then we have a broken ls.  This can happen
     311      # if, for instance, CONFIG_SHELL is bash and it inherits a
     312      # broken ls alias from the environment.  This has actually
     313      # happened.  Such a system could not be considered "sane".
     314      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     315alias in your environment])
     316   fi
     317
     318   test "$[2]" = conftest.file
     319   )
     320then
     321   # Ok.
     322   :
     323else
     324   AC_MSG_ERROR([newly created file is older than distributed files!
     325Check your system clock])
     326fi
     327AC_MSG_RESULT(yes)])
     328
     329#  -*- Autoconf -*-
     330
     331
     332# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
     333
     334# This program is free software; you can redistribute it and/or modify
     335# it under the terms of the GNU General Public License as published by
     336# the Free Software Foundation; either version 2, or (at your option)
     337# any later version.
     338
     339# This program is distributed in the hope that it will be useful,
     340# but WITHOUT ANY WARRANTY; without even the implied warranty of
     341# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     342# GNU General Public License for more details.
     343
     344# You should have received a copy of the GNU General Public License
     345# along with this program; if not, write to the Free Software
     346# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     347# 02111-1307, USA.
     348
     349# serial 3
     350
     351# AM_MISSING_PROG(NAME, PROGRAM)
     352# ------------------------------
     353AC_DEFUN([AM_MISSING_PROG],
     354[AC_REQUIRE([AM_MISSING_HAS_RUN])
     355$1=${$1-"${am_missing_run}$2"}
     356AC_SUBST($1)])
     357
     358
     359# AM_MISSING_HAS_RUN
     360# ------------------
     361# Define MISSING if not defined so far and test if it supports --run.
     362# If it does, set am_missing_run to use it, otherwise, to nothing.
     363AC_DEFUN([AM_MISSING_HAS_RUN],
     364[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     365test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     366# Use eval to expand $SHELL
     367if eval "$MISSING --run true"; then
     368  am_missing_run="$MISSING --run "
     369else
     370  am_missing_run=
     371  AC_MSG_WARN([`missing' script is too old or missing])
     372fi
     373])
     374
     375# AM_AUX_DIR_EXPAND
     376
     377# Copyright 2001 Free Software Foundation, Inc.
     378
     379# This program is free software; you can redistribute it and/or modify
     380# it under the terms of the GNU General Public License as published by
     381# the Free Software Foundation; either version 2, or (at your option)
     382# any later version.
     383
     384# This program is distributed in the hope that it will be useful,
     385# but WITHOUT ANY WARRANTY; without even the implied warranty of
     386# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     387# GNU General Public License for more details.
     388
     389# You should have received a copy of the GNU General Public License
     390# along with this program; if not, write to the Free Software
     391# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     392# 02111-1307, USA.
     393
     394# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
     395# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
     396# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     397#
     398# Of course, Automake must honor this variable whenever it calls a
     399# tool from the auxiliary directory.  The problem is that $srcdir (and
     400# therefore $ac_aux_dir as well) can be either absolute or relative,
     401# depending on how configure is run.  This is pretty annoying, since
     402# it makes $ac_aux_dir quite unusable in subdirectories: in the top
     403# source directory, any form will work fine, but in subdirectories a
     404# relative path needs to be adjusted first.
     405#
     406# $ac_aux_dir/missing
     407#    fails when called from a subdirectory if $ac_aux_dir is relative
     408# $top_srcdir/$ac_aux_dir/missing
     409#    fails if $ac_aux_dir is absolute,
     410#    fails when called from a subdirectory in a VPATH build with
     411#          a relative $ac_aux_dir
     412#
     413# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
     414# are both prefixed by $srcdir.  In an in-source build this is usually
     415# harmless because $srcdir is `.', but things will broke when you
     416# start a VPATH build or use an absolute $srcdir.
     417#
     418# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
     419# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
     420#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
     421# and then we would define $MISSING as
     422#   MISSING="\${SHELL} $am_aux_dir/missing"
     423# This will work as long as MISSING is not called from configure, because
     424# unfortunately $(top_srcdir) has no meaning in configure.
     425# However there are other variables, like CC, which are often used in
     426# configure, and could therefore not use this "fixed" $ac_aux_dir.
     427#
     428# Another solution, used here, is to always expand $ac_aux_dir to an
     429# absolute PATH.  The drawback is that using absolute paths prevent a
     430# configured tree to be moved without reconfiguration.
     431
     432# Rely on autoconf to set up CDPATH properly.
     433AC_PREREQ([2.50])
     434
     435AC_DEFUN([AM_AUX_DIR_EXPAND], [
     436# expand $ac_aux_dir to an absolute path
     437am_aux_dir=`cd $ac_aux_dir && pwd`
     438])
     439
     440# AM_PROG_INSTALL_SH
     441# ------------------
     442# Define $install_sh.
     443
     444# Copyright 2001 Free Software Foundation, Inc.
     445
     446# This program is free software; you can redistribute it and/or modify
     447# it under the terms of the GNU General Public License as published by
     448# the Free Software Foundation; either version 2, or (at your option)
     449# any later version.
     450
     451# This program is distributed in the hope that it will be useful,
     452# but WITHOUT ANY WARRANTY; without even the implied warranty of
     453# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     454# GNU General Public License for more details.
     455
     456# You should have received a copy of the GNU General Public License
     457# along with this program; if not, write to the Free Software
     458# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     459# 02111-1307, USA.
     460
     461AC_DEFUN([AM_PROG_INSTALL_SH],
     462[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     463install_sh=${install_sh-"$am_aux_dir/install-sh"}
     464AC_SUBST(install_sh)])
     465
     466# AM_PROG_INSTALL_STRIP
     467
     468# Copyright 2001 Free Software Foundation, Inc.
     469
     470# This program is free software; you can redistribute it and/or modify
     471# it under the terms of the GNU General Public License as published by
     472# the Free Software Foundation; either version 2, or (at your option)
     473# any later version.
     474
     475# This program is distributed in the hope that it will be useful,
     476# but WITHOUT ANY WARRANTY; without even the implied warranty of
     477# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     478# GNU General Public License for more details.
     479
     480# You should have received a copy of the GNU General Public License
     481# along with this program; if not, write to the Free Software
     482# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     483# 02111-1307, USA.
     484
     485# One issue with vendor `install' (even GNU) is that you can't
     486# specify the program used to strip binaries.  This is especially
     487# annoying in cross-compiling environments, where the build's strip
     488# is unlikely to handle the host's binaries.
     489# Fortunately install-sh will honor a STRIPPROG variable, so we
     490# always use install-sh in `make install-strip', and initialize
     491# STRIPPROG with the value of the STRIP variable (set by the user).
     492AC_DEFUN([AM_PROG_INSTALL_STRIP],
     493[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     494# Installed binaries are usually stripped using `strip' when the user
     495# run `make install-strip'.  However `strip' might not be the right
     496# tool to use in cross-compilation environments, therefore Automake
     497# will honor the `STRIP' environment variable to overrule this program.
     498dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     499if test "$cross_compiling" != no; then
     500  AC_CHECK_TOOL([STRIP], [strip], :)
     501fi
     502INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     503AC_SUBST([INSTALL_STRIP_PROGRAM])])
     504
     505# serial 4                                              -*- Autoconf -*-
     506
     507# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
     508
     509# This program is free software; you can redistribute it and/or modify
     510# it under the terms of the GNU General Public License as published by
     511# the Free Software Foundation; either version 2, or (at your option)
     512# any later version.
     513
     514# This program is distributed in the hope that it will be useful,
     515# but WITHOUT ANY WARRANTY; without even the implied warranty of
     516# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     517# GNU General Public License for more details.
     518
     519# You should have received a copy of the GNU General Public License
     520# along with this program; if not, write to the Free Software
     521# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     522# 02111-1307, USA.
     523
     524
     525# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     526# written in clear, in which case automake, when reading aclocal.m4,
     527# will think it sees a *use*, and therefore will trigger all it's
     528# C support machinery.  Also note that it means that autoscan, seeing
     529# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
     530
     531
     532
     533# _AM_DEPENDENCIES(NAME)
     534# ----------------------
     535# See how the compiler implements dependency checking.
     536# NAME is "CC", "CXX", "GCJ", or "OBJC".
     537# We try a few techniques and use that to set a single cache variable.
     538#
     539# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
     540# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
     541# dependency, and given that the user is not expected to run this macro,
     542# just rely on AC_PROG_CC.
     543AC_DEFUN([_AM_DEPENDENCIES],
     544[AC_REQUIRE([AM_SET_DEPDIR])dnl
     545AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
     546AC_REQUIRE([AM_MAKE_INCLUDE])dnl
     547AC_REQUIRE([AM_DEP_TRACK])dnl
     548
     549ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
     550       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
     551       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     552       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     553                   [depcc="$$1"   am_compiler_list=])
     554
     555AC_CACHE_CHECK([dependency style of $depcc],
     556               [am_cv_$1_dependencies_compiler_type],
     557[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     558  # We make a subdir and do the tests there.  Otherwise we can end up
     559  # making bogus files that we don't know about and never remove.  For
     560  # instance it was reported that on HP-UX the gcc test will end up
     561  # making a dummy file named `D' -- because `-MD' means `put the output
     562  # in D'.
     563  mkdir conftest.dir
     564  # Copy depcomp to subdir because otherwise we won't find it if we're
     565  # using a relative directory.
     566  cp "$am_depcomp" conftest.dir
     567  cd conftest.dir
     568
     569  am_cv_$1_dependencies_compiler_type=none
     570  if test "$am_compiler_list" = ""; then
     571     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
     572  fi
     573  for depmode in $am_compiler_list; do
     574    # We need to recreate these files for each test, as the compiler may
     575    # overwrite some of them when testing with obscure command lines.
     576    # This happens at least with the AIX C compiler.
     577    echo '#include "conftest.h"' > conftest.c
     578    echo 'int i;' > conftest.h
     579    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
     580
     581    case $depmode in
     582    nosideeffect)
     583      # after this tag, mechanisms are not by side-effect, so they'll
     584      # only be used when explicitly requested
     585      if test "x$enable_dependency_tracking" = xyes; then
     586        continue
     587      else
     588        break
     589      fi
     590      ;;
     591    none) break ;;
     592    esac
     593    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     594    # mode.  It turns out that the SunPro C++ compiler does not properly
     595    # handle `-M -o', and we need to detect this.
     596    if depmode=$depmode \
     597       source=conftest.c object=conftest.o \
     598       depfile=conftest.Po tmpdepfile=conftest.TPo \
     599       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
     600       grep conftest.h conftest.Po > /dev/null 2>&1 &&
     601       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     602      am_cv_$1_dependencies_compiler_type=$depmode
     603      break
     604    fi
     605  done
     606
     607  cd ..
     608  rm -rf conftest.dir
     609else
     610  am_cv_$1_dependencies_compiler_type=none
     611fi
     612])
     613AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
     614])
     615
     616
     617# AM_SET_DEPDIR
     618# -------------
     619# Choose a directory name for dependency files.
     620# This macro is AC_REQUIREd in _AM_DEPENDENCIES
     621AC_DEFUN([AM_SET_DEPDIR],
     622[rm -f .deps 2>/dev/null
     623mkdir .deps 2>/dev/null
     624if test -d .deps; then
     625  DEPDIR=.deps
     626else
     627  # MS-DOS does not allow filenames that begin with a dot.
     628  DEPDIR=_deps
     629fi
     630rmdir .deps 2>/dev/null
     631AC_SUBST([DEPDIR])
     632])
     633
     634
     635# AM_DEP_TRACK
     636# ------------
     637AC_DEFUN([AM_DEP_TRACK],
     638[AC_ARG_ENABLE(dependency-tracking,
     639[  --disable-dependency-tracking Speeds up one-time builds
     640  --enable-dependency-tracking  Do not reject slow dependency extractors])
     641if test "x$enable_dependency_tracking" != xno; then
     642  am_depcomp="$ac_aux_dir/depcomp"
     643  AMDEPBACKSLASH='\'
     644fi
     645AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
     646AC_SUBST([AMDEPBACKSLASH])
     647])
     648
     649# Generate code to set up dependency tracking.   -*- Autoconf -*-
     650
     651# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
     652
     653# This program is free software; you can redistribute it and/or modify
     654# it under the terms of the GNU General Public License as published by
     655# the Free Software Foundation; either version 2, or (at your option)
     656# any later version.
     657
     658# This program is distributed in the hope that it will be useful,
     659# but WITHOUT ANY WARRANTY; without even the implied warranty of
     660# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     661# GNU General Public License for more details.
     662
     663# You should have received a copy of the GNU General Public License
     664# along with this program; if not, write to the Free Software
     665# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     666# 02111-1307, USA.
     667
     668#serial 2
     669
     670# _AM_OUTPUT_DEPENDENCY_COMMANDS
     671# ------------------------------
     672AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
     673[for mf in $CONFIG_FILES; do
     674  # Strip MF so we end up with the name of the file.
     675  mf=`echo "$mf" | sed -e 's/:.*$//'`
     676  # Check whether this is an Automake generated Makefile or not.
     677  # We used to match only the files named `Makefile.in', but
     678  # some people rename them; so instead we look at the file content.
     679  # Grep'ing the first line is not enough: some people post-process
     680  # each Makefile.in and add a new line on top of each file to say so.
     681  # So let's grep whole file.
     682  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
     683    dirpart=`AS_DIRNAME("$mf")`
     684  else
     685    continue
     686  fi
     687  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
     688  # Extract the definition of DEP_FILES from the Makefile without
     689  # running `make'.
     690  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     691  test -z "$DEPDIR" && continue
     692  # When using ansi2knr, U may be empty or an underscore; expand it
     693  U=`sed -n -e '/^U = / s///p' < "$mf"`
     694  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
     695  # We invoke sed twice because it is the simplest approach to
     696  # changing $(DEPDIR) to its actual value in the expansion.
     697  for file in `sed -n -e '
     698    /^DEP_FILES = .*\\\\$/ {
     699      s/^DEP_FILES = //
     700      :loop
     701        s/\\\\$//
     702        p
     703        n
     704        /\\\\$/ b loop
     705      p
     706    }
     707    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
     708       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     709    # Make sure the directory exists.
     710    test -f "$dirpart/$file" && continue
     711    fdir=`AS_DIRNAME(["$file"])`
     712    AS_MKDIR_P([$dirpart/$fdir])
     713    # echo "creating $dirpart/$file"
     714    echo '# dummy' > "$dirpart/$file"
     715  done
     716done
     717])# _AM_OUTPUT_DEPENDENCY_COMMANDS
     718
     719
     720# AM_OUTPUT_DEPENDENCY_COMMANDS
     721# -----------------------------
     722# This macro should only be invoked once -- use via AC_REQUIRE.
     723#
     724# This code is only required when automatic dependency tracking
     725# is enabled.  FIXME.  This creates each `.P' file that we will
     726# need in order to bootstrap the dependency handling code.
     727AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     728[AC_CONFIG_COMMANDS([depfiles],
     729     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
     730     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
     731])
     732
     733# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-
     734
     735# This program is free software; you can redistribute it and/or modify
     736# it under the terms of the GNU General Public License as published by
     737# the Free Software Foundation; either version 2, or (at your option)
     738# any later version.
     739
     740# This program is distributed in the hope that it will be useful,
     741# but WITHOUT ANY WARRANTY; without even the implied warranty of
     742# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     743# GNU General Public License for more details.
     744
     745# You should have received a copy of the GNU General Public License
     746# along with this program; if not, write to the Free Software
     747# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     748# 02111-1307, USA.
     749
     750# serial 2
     751
     752# AM_MAKE_INCLUDE()
     753# -----------------
     754# Check to see how make treats includes.
     755AC_DEFUN([AM_MAKE_INCLUDE],
     756[am_make=${MAKE-make}
     757cat > confinc << 'END'
     758doit:
     759        @echo done
     760END
     761# If we don't find an include directive, just comment out the code.
     762AC_MSG_CHECKING([for style of include used by $am_make])
     763am__include="#"
     764am__quote=
     765_am_result=none
     766# First try GNU make style include.
     767echo "include confinc" > confmf
     768# We grep out `Entering directory' and `Leaving directory'
     769# messages which can occur if `w' ends up in MAKEFLAGS.
     770# In particular we don't look at `^make:' because GNU make might
     771# be invoked under some other name (usually "gmake"), in which
     772# case it prints its new name instead of `make'.
     773if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
     774   am__include=include
     775   am__quote=
     776   _am_result=GNU
     777fi
     778# Now try BSD make style include.
     779if test "$am__include" = "#"; then
     780   echo '.include "confinc"' > confmf
     781   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     782      am__include=.include
     783      am__quote="\""
     784      _am_result=BSD
     785   fi
     786fi
     787AC_SUBST(am__include)
     788AC_SUBST(am__quote)
     789AC_MSG_RESULT($_am_result)
     790rm -f confinc confmf
     791])
     792
     793# AM_CONDITIONAL                                              -*- Autoconf -*-
     794
     795# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
     796
     797# This program is free software; you can redistribute it and/or modify
     798# it under the terms of the GNU General Public License as published by
     799# the Free Software Foundation; either version 2, or (at your option)
     800# any later version.
     801
     802# This program is distributed in the hope that it will be useful,
     803# but WITHOUT ANY WARRANTY; without even the implied warranty of
     804# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     805# GNU General Public License for more details.
     806
     807# You should have received a copy of the GNU General Public License
     808# along with this program; if not, write to the Free Software
     809# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     810# 02111-1307, USA.
     811
     812# serial 5
     813
     814AC_PREREQ(2.52)
     815
     816# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     817# -------------------------------------
     818# Define a conditional.
     819AC_DEFUN([AM_CONDITIONAL],
     820[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     821        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     822AC_SUBST([$1_TRUE])
     823AC_SUBST([$1_FALSE])
     824if $2; then
     825  $1_TRUE=
     826  $1_FALSE='#'
     827else
     828  $1_TRUE='#'
     829  $1_FALSE=
     830fi
     831AC_CONFIG_COMMANDS_PRE(
     832[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     833  AC_MSG_ERROR([conditional \"$1\" was never defined.
     834Usually this means the macro was only invoked conditionally.])
     835fi])])
    13836
    14837# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
     
    134957delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    135958
     959# Sed substitution to undo escaping of the cmd sep variable
     960unescape_variable_subst='s/\\\(${_S_}\)/\1/g'
     961
    136962# Sed substitution to avoid accidental globbing in evaled expressions
    137963no_glob_subst='s/\*/\\\*/g'
     
    1831009  case $host_os in
    1841010  openbsd*)
    185     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
     1011    old_postinstall_cmds="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds"
    1861012    ;;
    1871013  *)
    188     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
     1014    old_postinstall_cmds="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds"
    1891015    ;;
    1901016  esac
    191   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
     1017  old_archive_cmds="$old_archive_cmds\${_S_}\$RANLIB \$oldlib"
    1921018fi
    193 
    194 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
    1951019
    1961020# Only perform the check for file, if the check method requires it
     
    3111135# The HP-UX ksh and POSIX shell print the target directory to stdout
    3121136# if CDPATH is set.
    313 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     1137if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
    3141138
    3151139if test -z "$ECHO"; then
     
    4941318          LD="${LD-ld} -m elf_i386"
    4951319          ;;
    496         ppc64-*linux*|powerpc64-*linux*)
     1320        ppc64-*linux*)
    4971321          LD="${LD-ld} -m elf32ppclinux"
    4981322          ;;
     
    5581382# Check whether the given compiler option works
    5591383AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
    560 [AC_REQUIRE([LT_AC_PROG_SED])
    561 AC_CACHE_CHECK([$1], [$2],
     1384[AC_CACHE_CHECK([$1], [$2],
    5621385  [$2=no
    5631386  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
     
    6351458AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
    6361459  i=0
    637   teststring="ABCD"
     1460  testring="ABCD"
    6381461
    6391462  case $build_os in
     
    6641487    ;;
    6651488
    666   amigaos*)
    667     # On AmigaOS with pdksh, this test takes hours, literally.
    668     # So we just punt and use a minimum line length of 8192.
    669     lt_cv_sys_max_cmd_len=8192;
    670     ;;
    671 
    672   netbsd* | freebsd* | openbsd* | darwin* )
    673     # This has been around since 386BSD, at least.  Likely further.
    674     if test -x /sbin/sysctl; then
    675       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    676     elif test -x /usr/sbin/sysctl; then
    677       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    678     else
    679       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
    680     fi
    681     # And add a safety zone
    682     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    683     ;;
    684 
    6851489 *)
    6861490    # If test is not a shell built-in, we'll probably end up computing a
    6871491    # maximum length that is only half of the actual maximum length, but
    6881492    # we can't tell.
    689     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    690     while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
    691                = "XX$teststring") >/dev/null 2>&1 &&
    692             new_result=`expr "X$teststring" : ".*" 2>&1` &&
     1493    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
     1494               = "XX$testring") >/dev/null 2>&1 &&
     1495            new_result=`expr "X$testring" : ".*" 2>&1` &&
    6931496            lt_cv_sys_max_cmd_len=$new_result &&
    6941497            test $i != 17 # 1/2 MB should be enough
    6951498    do
    6961499      i=`expr $i + 1`
    697       teststring=$teststring$teststring
     1500      testring=$testring$testring
    6981501    done
    699     teststring=
     1502    testring=
    7001503    # Add a significant safety factor because C++ compilers can tack on massive
    7011504    # amounts of additional arguments before passing them to the linker.
     
    8471650    ])
    8481651   ;;
    849 
     1652   
    8501653  *)
    8511654    AC_CHECK_FUNC([shl_load],
     
    9351738   mkdir out
    9361739   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     1740
     1741   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
     1742   # that will create temporary files in the current directory regardless of
     1743   # the output directory.  Thus, making CWD read-only will cause this test
     1744   # to fail, enabling locking or at least warning the user not to do parallel
     1745   # builds.
     1746   chmod -w .
    9371747
    9381748   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    9591769   fi
    9601770   chmod u+w .
    961    $rm conftest*
    962    # SGI C++ compiler will create directory out/ii_files/ for
    963    # template instantiation
    964    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    965    $rm out/* && rmdir out
     1771   $rm conftest* out/*
     1772   rmdir out
    9661773   cd ..
    9671774   rmdir conftest
     
    10221829_LT_AC_TAGVAR(hardcode_action, $1)=
    10231830if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
    1024    test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
    1025    test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
     1831   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
     1832   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
    10261833
    10271834  # We can hardcode non-existant directories.
     
    10691876# FIXME - insert some real tests, host_os isn't really good enough
    10701877  case $host_os in
    1071    darwin*)
     1878   NOT-darwin*)
    10721879       if test -n "$STRIP" ; then
    10731880         striplib="$STRIP -x"
     
    10801887  AC_MSG_RESULT([no])
    10811888    ;;
    1082   esac
     1889  esac 
    10831890fi
    10841891])# AC_LIBTOOL_SYS_LIB_STRIP
     
    10931900libname_spec='lib$name'
    10941901soname_spec=
    1095 shrext_cmds=".so"
     1902shrext=".so"
    10961903postinstall_cmds=
    10971904postuninstall_cmds=
     
    11811988  library_names_spec='$libname.ixlibrary $libname.a'
    11821989  # Create ${libname}_ixlibrary.a entries in /sys/libs.
    1183   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'
     1990  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'
    11841991  ;;
    11851992
     
    11901997  ;;
    11911998
    1192 bsdi[[45]]*)
     1999bsdi4*)
    11932000  version_type=linux
    11942001  need_version=no
     
    12062013cygwin* | mingw* | pw32*)
    12072014  version_type=windows
    1208   shrext_cmds=".dll"
     2015  shrext=".dll"
    12092016  need_version=no
    12102017  need_lib_prefix=no
     
    12142021    library_names_spec='$libname.dll.a'
    12152022    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    1216     postinstall_cmds='base_file=`basename \${file}`~
    1217       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
    1218       dldir=$destdir/`dirname \$dlpath`~
    1219       test -d \$dldir || mkdir -p \$dldir~
     2023    postinstall_cmds='base_file=`basename \${file}`${_S_}
     2024      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
     2025      dldir=$destdir/`dirname \$dlpath`${_S_}
     2026      test -d \$dldir || mkdir -p \$dldir${_S_}
    12202027      $install_prog $dir/$dlname \$dldir/$dlname'
    1221     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    1222       dlpath=$dir/\$dldll~
     2028    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
     2029      dlpath=$dir/\$dldll${_S_}
    12232030       $rm \$dlpath'
    12242031    shlibpath_overrides_runpath=yes
     
    12282035      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    12292036      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    1230       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
     2037      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
    12312038      ;;
    12322039    mingw*)
     
    12672074  need_lib_prefix=no
    12682075  need_version=no
    1269   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     2076  # FIXME: Relying on posixy $() will cause problems for
     2077  #        cross-compilation, but unfortunately the echo tests do not
     2078  #        yet detect zsh echo's removal of \ escapes.
     2079  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
    12702080  soname_spec='${libname}${release}${major}$shared_ext'
    12712081  shlibpath_overrides_runpath=yes
    12722082  shlibpath_var=DYLD_LIBRARY_PATH
    1273   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
     2083  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
    12742084  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    1275   if test "$GCC" = yes; then
    1276     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"`
    1277   else
    1278     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
     2085  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
     2086  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"`
    12792087  fi
    12802088  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     
    12922100freebsd1*)
    12932101  dynamic_linker=no
    1294   ;;
    1295 
    1296 kfreebsd*-gnu)
    1297   version_type=linux
    1298   need_lib_prefix=no
    1299   need_version=no
    1300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    1301   soname_spec='${libname}${release}${shared_ext}$major'
    1302   shlibpath_var=LD_LIBRARY_PATH
    1303   shlibpath_overrides_runpath=no
    1304   hardcode_into_libs=yes
    1305   dynamic_linker='GNU ld.so'
    13062102  ;;
    13072103
     
    13542150  case "$host_cpu" in
    13552151  ia64*)
    1356     shrext_cmds='.so'
     2152    shrext='.so'
    13572153    hardcode_into_libs=yes
    13582154    dynamic_linker="$host_os dld.so"
     
    13692165    ;;
    13702166   hppa*64*)
    1371      shrext_cmds='.sl'
     2167     shrext='.sl'
    13722168     hardcode_into_libs=yes
    13732169     dynamic_linker="$host_os dld.sl"
     
    13802176     ;;
    13812177   *)
    1382     shrext_cmds='.sl'
     2178    shrext='.sl'
    13832179    dynamic_linker="$host_os dld.sl"
    13842180    shlibpath_var=SHLIB_PATH
     
    14492245  hardcode_into_libs=yes
    14502246
    1451   # Append ld.so.conf contents to the search path
    1452   if test -f /etc/ld.so.conf; then
    1453     lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
    1454     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    1455   fi
    1456 
    14572247  # We used to test for /lib/ld.so.1 and disable shared libraries on
    14582248  # powerpc, because MkLinux only supported shared libraries with the
     
    14622252  # assume the GNU/Linux dynamic linker is in use.
    14632253  dynamic_linker='GNU/Linux ld.so'
    1464   ;;
    1465 
    1466 knetbsd*-gnu)
    1467   version_type=linux
    1468   need_lib_prefix=no
    1469   need_version=no
    1470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    1471   soname_spec='${libname}${release}${shared_ext}$major'
    1472   shlibpath_var=LD_LIBRARY_PATH
    1473   shlibpath_overrides_runpath=no
    1474   hardcode_into_libs=yes
    1475   dynamic_linker='GNU ld.so'
    14762254  ;;
    14772255
     
    14852263    dynamic_linker='NetBSD (a.out) ld.so'
    14862264  else
    1487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     2265    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
    14882266    soname_spec='${libname}${release}${shared_ext}$major'
    14892267    dynamic_linker='NetBSD ld.elf_so'
     
    15012279  ;;
    15022280
    1503 nto-qnx*)
     2281nto-qnx)
    15042282  version_type=linux
    15052283  need_lib_prefix=no
     
    15342312os2*)
    15352313  libname_spec='$name'
    1536   shrext_cmds=".dll"
     2314  shrext=".dll"
    15372315  need_lib_prefix=no
    15382316  library_names_spec='$libname${shared_ext} $libname.a'
     
    19702748# AC_PROG_LD
    19712749# ----------
    1972 # find the pathname to the GNU or non-GNU linker
     2750# find the path to the GNU or non-GNU linker
    19732751AC_DEFUN([AC_PROG_LD],
    19742752[AC_ARG_WITH([gnu-ld],
     
    19962774    [[\\/]]* | ?:[[\\/]]*)
    19972775      re_direlt='/[[^/]][[^/]]*/\.\./'
    1998       # Canonicalize the pathname of ld
     2776      # Canonicalize the path of ld
    19992777      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    20002778      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
     
    20592837AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
    20602838[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
    2061 case `$LD -v 2>&1 </dev/null` in
     2839case `"$LD" -v 2>&1 </dev/null` in
    20622840*GNU* | *'with BFD'*)
    20632841  lt_cv_prog_gnu_ld=yes
     
    20842862*) reload_flag=" $reload_flag" ;;
    20852863esac
    2086 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    2087 case $host_os in
    2088   darwin*)
    2089     if test "$GCC" = yes; then
    2090       reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
    2091     else
    2092       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    2093     fi
    2094     ;;
    2095 esac
     2864reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs'
    20962865])# AC_PROG_LD_RELOAD_FLAG
    20972866
     
    21272896  ;;
    21282897
    2129 bsdi[[45]]*)
     2898bsdi4*)
    21302899  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
    21312900  lt_cv_file_magic_cmd='/usr/bin/file -L'
     
    21332902  ;;
    21342903
    2135 cygwin*)
    2136   # func_win32_libid is a shell function defined in ltmain.sh
     2904cygwin* | mingw* | pw32*)
     2905  # win32_libid is a shell function defined in ltmain.sh
    21372906  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    2138   lt_cv_file_magic_cmd='func_win32_libid'
    2139   ;;
    2140 
    2141 mingw* | pw32*)
    2142   # Base MSYS/MinGW do not provide the 'file' command needed by
    2143   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
    2144   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    2145   lt_cv_file_magic_cmd='$OBJDUMP -f'
     2907  lt_cv_file_magic_cmd='win32_libid'
    21462908  ;;
    21472909
    21482910darwin* | rhapsody*)
     2911  # this will be overwritten by pass_all, but leave it in just in case
     2912  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     2913  lt_cv_file_magic_cmd='/usr/bin/file -L'
     2914  case "$host_os" in
     2915  rhapsody* | darwin1.[[012]])
     2916    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
     2917    ;;
     2918  *) # Darwin 1.3 on
     2919    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     2920    ;;
     2921  esac
    21492922  lt_cv_deplibs_check_method=pass_all
    21502923  ;;
    21512924
    2152 freebsd* | kfreebsd*-gnu)
     2925freebsd*)
    21532926  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    21542927    case $host_cpu in
     
    21892962
    21902963irix5* | irix6* | nonstopux*)
    2191   case $LD in
    2192   *-32|*"-32 ") libmagic=32-bit;;
    2193   *-n32|*"-n32 ") libmagic=N32;;
    2194   *-64|*"-64 ") libmagic=64-bit;;
    2195   *) libmagic=never-match;;
     2964  case $host_os in
     2965  irix5* | nonstopux*)
     2966    # this will be overridden with pass_all, but let us keep it just in case
     2967    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
     2968    ;;
     2969  *)
     2970    case $LD in
     2971    *-32|*"-32 ") libmagic=32-bit;;
     2972    *-n32|*"-n32 ") libmagic=N32;;
     2973    *-64|*"-64 ") libmagic=64-bit;;
     2974    *) libmagic=never-match;;
     2975    esac
     2976    # this will be overridden with pass_all, but let us keep it just in case
     2977    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
     2978    ;;
    21962979  esac
     2980  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
    21972981  lt_cv_deplibs_check_method=pass_all
    21982982  ;;
     
    22012985linux*)
    22022986  case $host_cpu in
    2203   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64)
     2987  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
    22042988    lt_cv_deplibs_check_method=pass_all ;;
    22052989  *)
    22062990    # glibc up to 2.1.1 does not perform some relocations on ARM
    2207     # this will be overridden with pass_all, but let us keep it just in case
    22082991    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
    22092992  esac
    22102993  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    2211   lt_cv_deplibs_check_method=pass_all
    22122994  ;;
    22132995
     
    22263008  ;;
    22273009
    2228 nto-qnx*)
     3010nto-qnx)
    22293011  lt_cv_deplibs_check_method=unknown
    22303012  ;;
    22313013
    22323014openbsd*)
     3015  lt_cv_file_magic_cmd=/usr/bin/file
     3016  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    22333017  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2234     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
     3018    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
    22353019  else
    2236     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
     3020    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
    22373021  fi
    22383022  ;;
    22393023
    22403024osf3* | osf4* | osf5*)
     3025  # this will be overridden with pass_all, but let us keep it just in case
     3026  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
     3027  lt_cv_file_magic_test_file=/shlib/libc.so
    22413028  lt_cv_deplibs_check_method=pass_all
    22423029  ;;
     
    22483035solaris*)
    22493036  lt_cv_deplibs_check_method=pass_all
     3037  lt_cv_file_magic_test_file=/lib/libc.so
    22503038  ;;
    22513039
     
    22873075# AC_PROG_NM
    22883076# ----------
    2289 # find the pathname to a BSD-compatible name lister
     3077# find the path to a BSD-compatible name lister
    22903078AC_DEFUN([AC_PROG_NM],
    22913079[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
     
    24253213[AC_REQUIRE([AC_PROG_CXX])
    24263214AC_REQUIRE([AC_PROG_CXXCPP])
    2427 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
     3215_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
    24283216])# _LT_AC_LANG_CXX
    24293217
     
    24413229AC_DEFUN([_LT_AC_LANG_F77],
    24423230[AC_REQUIRE([AC_PROG_F77])
    2443 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
     3231_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
    24443232])# _LT_AC_LANG_F77
    24453233
     
    24623250         [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
    24633251           [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
    2464 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
     3252_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
    24653253])# _LT_AC_LANG_GCJ
    24663254
     
    24713259AC_DEFUN([AC_LIBTOOL_RC],
    24723260[AC_REQUIRE([LT_AC_PROG_RC])
    2473 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
     3261_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
    24743262])# AC_LIBTOOL_RC
    24753263
     
    25133301if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
    25143302  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
    2515   if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
     3303  if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[      ]]" >/dev/null; then :
    25163304  else
    25173305    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
     
    25363324AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
    25373325AC_LIBTOOL_PROG_LD_SHLIBS($1)
    2538 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    25393326AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
    25403327AC_LIBTOOL_SYS_LIB_STRIP
     3328AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    25413329AC_LIBTOOL_DLOPEN_SELF($1)
    25423330
     
    25543342  test "$enable_shared" = yes && enable_static=no
    25553343  if test -n "$RANLIB"; then
    2556     archive_cmds="$archive_cmds~\$RANLIB \$lib"
     3344    archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib"
    25573345    postinstall_cmds='$RANLIB $lib'
    25583346  fi
    25593347  ;;
    25603348
    2561 aix4* | aix5*)
     3349aix4*)
    25623350  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    25633351    test "$enable_shared" = yes && enable_static=no
    25643352  fi
    2565     ;;
     3353  ;;
     3354  darwin* | rhapsody*)
     3355  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
     3356    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
     3357    case "$host_os" in
     3358    rhapsody* | darwin1.[[012]])
     3359      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
     3360      ;;
     3361    darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0
     3362      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3363      ;;
     3364    *) # Darwin 7.0 on
     3365      case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
     3366      10.[[012]])
     3367        test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3368        ;;
     3369      *) # 10.3 on
     3370        if test -z ${LD_TWOLEVEL_NAMESPACE}; then
     3371          _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3372        else
     3373          _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
     3374        fi
     3375        ;;
     3376      esac
     3377      ;;
     3378    esac
     3379    # FIXME: Relying on posixy $() will cause problems for
     3380    #        cross-compilation, but unfortunately the echo tests do not
     3381    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
     3382    #          `"' quotes if we put them in here... so don't!
     3383                output_verbose_link_cmd='echo'
     3384    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
     3385    _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
     3386    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
     3387                  _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
     3388                  _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
     3389    _LT_AC_TAGVAR(hardcode_direct, $1)=no
     3390    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
     3391    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
     3392    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
     3393    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
     3394    fi
     3395    ;; 
    25663396esac
    25673397AC_MSG_RESULT([$enable_shared])
     
    26983528    # overridden to take advantage of the native linker features on
    26993529    # the platform it is being used on.
    2700     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     3530    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    27013531  fi
    27023532
     
    28273657        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
    28283658        # This is similar to how AIX traditionally builds it's shared libraries.
    2829         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
     3659        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    28303660      fi
    28313661    fi
     
    28393669    esac
    28403670    ;;
    2841 
    28423671
    28433672  cygwin* | mingw* | pw32*)
     
    28583687        echo EXPORTS > $output_objdir/$soname.def;
    28593688        cat $export_symbols >> $output_objdir/$soname.def;
    2860       fi~
     3689      fi${_S_}
    28613690      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    28623691    else
     
    28643693    fi
    28653694  ;;
    2866       darwin* | rhapsody*)
    2867         case "$host_os" in
    2868         rhapsody* | darwin1.[[012]])
    2869          _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
    2870          ;;
    2871        *) # Darwin 1.3 on
    2872          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    2873            _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    2874          else
    2875            case ${MACOSX_DEPLOYMENT_TARGET} in
    2876              10.[[012]])
    2877                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    2878                ;;
    2879              10.*)
    2880                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
    2881                ;;
    2882            esac
    2883          fi
    2884          ;;
    2885         esac
    2886       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
    2887       _LT_AC_TAGVAR(hardcode_direct, $1)=no
    2888       _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
    2889       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    2890       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
    2891       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
    2892 
    2893     if test "$GXX" = yes ; then
    2894       lt_int_apple_cc_single_mod=no
    2895       output_verbose_link_cmd='echo'
    2896       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
    2897        lt_int_apple_cc_single_mod=yes
     3695
     3696  darwin* | rhapsody*)
     3697   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
     3698    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
     3699    case "$host_os" in
     3700    rhapsody* | darwin1.[[012]])
     3701      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
     3702      ;;
     3703    darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0
     3704      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3705      ;;
     3706    *) # Darwin 7.0 on
     3707      case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
     3708      10.[[012]])
     3709        test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3710        ;;
     3711      *) # 10.3 on
     3712        if test -z ${LD_TWOLEVEL_NAMESPACE}; then
     3713          _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     3714        else
     3715          _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
     3716        fi
     3717        ;;
     3718      esac
     3719      ;;
     3720    esac
     3721        lt_int_apple_cc_single_mod=no
     3722        output_verbose_link_cmd='echo'
     3723        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
     3724          lt_int_apple_cc_single_mod=yes
     3725        fi
     3726        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
     3727          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     3728        else
     3729        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    28983730      fi
     3731      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
     3732
     3733    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    28993734      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    2900        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     3735        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    29013736      else
    2902           _LT_AC_TAGVAR(archive_cmds, $1)='$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'
    2903         fi
    2904         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    2905         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    2906           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    2907             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    2908           else
    2909             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    2910           fi
    2911             _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    2912       else
    2913       case "$cc_basename" in
    2914         xlc*)
    2915          output_verbose_link_cmd='echo'
    2916           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    2917           _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    2918           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    2919           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    2920           _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    2921           ;;
    2922        *)
    2923          _LT_AC_TAGVAR(ld_shlibs, $1)=no
    2924           ;;
    2925       esac
     3737        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    29263738      fi
    2927         ;;
     3739        _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
     3740    _LT_AC_TAGVAR(hardcode_direct, $1)=no
     3741    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
     3742    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
     3743    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
     3744    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
     3745   fi
     3746    ;;
    29283747
    29293748  dgux*)
     
    29513770    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
    29523771    ;;
    2953   freebsd* | kfreebsd*-gnu)
     3772  freebsd*)
    29543773    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    29553774    # conventions
     
    29733792      ;;
    29743793    aCC)
    2975       _LT_AC_TAGVAR(archive_cmds, $1)='$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'
     3794      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    29763795      # Commands to make compiler produce verbose output that lists
    29773796      # what "hidden" libraries, object files and flags are used when
     
    29823801      # from the output so that they don't get included in the library
    29833802      # dependencies.
    2984       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'
     3803      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    29853804      ;;
    29863805    *)
    29873806      if test "$GXX" = yes; then
    2988         _LT_AC_TAGVAR(archive_cmds, $1)='$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'
     3807        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    29893808      else
    29903809        # FIXME: insert proper C++ library support
     
    31313950        # Intel C++
    31323951        with_gnu_ld=yes
    3133         # version 8.0 and above of icpc choke on multiply defined symbols
    3134         # if we add $predep_objects and $postdep_objects, however 7.1 and
    3135         # earlier do not add the objects themselves.
    3136         case `$CC -V 2>&1` in
    3137         *"Version 7."*)
    3138           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    3139           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    3140           ;;
    3141         *)  # Version 8.0 or newer
    3142           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    3143         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    3144           ;;
    3145         esac
    31463952        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
     3953        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     3954        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    31473955        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    31483956        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     
    32014009    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    32024010    ;;
    3203   openbsd2*)
    3204     # C++ shared libraries are fairly broken
    3205     _LT_AC_TAGVAR(ld_shlibs, $1)=no
    3206     ;;
    3207   openbsd*)
    3208     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    3209     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    3210     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    3211       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    3212       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    3213       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    3214     fi
    3215     output_verbose_link_cmd='echo'
    3216     ;;
    32174011  osf3*)
    32184012    case $cc_basename in
     
    33004094        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    33014095        _LT_AC_TAGVAR(archive_cmds, $1)='$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 ${objdir}/so_locations -o $lib'
    3302         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    3303           echo "-hidden">> $lib.exp~
    3304           $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 $objdir/so_locations -o $lib~
     4096        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done${_S_}
     4097          echo "-hidden">> $lib.exp${_S_}
     4098          $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 $objdir/so_locations -o $lib${_S_}
    33054099          $rm $lib.exp'
    33064100
     
    33794173        _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    33804174        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    3381         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    3382         $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
     4175        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     4176        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
    33834177
    33844178        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    34254219          if $CC --version | grep -v '^2\.7' > /dev/null; then
    34264220            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    3427             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    3428                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
     4221            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     4222                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
    34294223
    34304224            # Commands to make compiler produce verbose output that lists
     
    34364230            # platform.
    34374231            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    3438             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    3439                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
     4232            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     4233                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
    34404234
    34414235            # Commands to make compiler produce verbose output that lists
     
    34864280AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
    34874281AC_LIBTOOL_PROG_LD_SHLIBS($1)
    3488 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    34894282AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
    34904283AC_LIBTOOL_SYS_LIB_STRIP
     4284AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    34914285AC_LIBTOOL_DLOPEN_SELF($1)
    34924286
     
    37064500  test "$enable_shared" = yes && enable_static=no
    37074501  if test -n "$RANLIB"; then
    3708     archive_cmds="$archive_cmds~\$RANLIB \$lib"
     4502    archive_cmds="$archive_cmds\${_S_}\$RANLIB \$lib"
    37094503    postinstall_cmds='$RANLIB $lib'
    37104504  fi
    37114505  ;;
    3712 aix4* | aix5*)
     4506aix4*)
    37134507  test "$enable_shared" = yes && enable_static=no
    37144508  ;;
     
    37304524AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
    37314525AC_LIBTOOL_PROG_LD_SHLIBS($1)
    3732 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    37334526AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
    37344527AC_LIBTOOL_SYS_LIB_STRIP
    3735 
     4528AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    37364529
    37374530AC_LIBTOOL_CONFIG($1)
     
    37814574AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
    37824575AC_LIBTOOL_PROG_LD_SHLIBS($1)
    3783 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    37844576AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
    37854577AC_LIBTOOL_SYS_LIB_STRIP
     4578AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
    37864579AC_LIBTOOL_DLOPEN_SELF($1)
    37874580
     
    38484641  if test -n "${ZSH_VERSION+set}" ; then
    38494642    setopt NO_GLOB_SUBST
    3850   fi
     4643  fi 
    38514644  # Now quote all the things that may contain metacharacters while being
    38524645  # careful not to overquote the AC_SUBSTed values.  We take copies of the
    38534646  # variables and quote the copies for generation of the libtool script.
    3854   for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \
    3855     SED SHELL STRIP \
     4647  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
    38564648    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    38574649    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
     
    39034695    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
    39044696    _LT_AC_TAGVAR(module_cmds, $1) | \
    3905     _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
     4697    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \   
    39064698    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
    39074699    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
     
    39114703    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    39124704      # Double-quote double-evaled strings.
    3913       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
     4705      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
    39144706      ;;
    39154707    *)
     
    39734765# The HP-UX ksh and POSIX shell print the target directory to stdout
    39744766# if CDPATH is set.
    3975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     4767if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
    39764768
    39774769# The names of the tagged configurations supported by this script.
     
    39824774
    39834775# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     4776
     4777# Set the command separator (default: ~)
     4778_S_=\${LIBTOOL_CMD_SEP-\~}
    39844779
    39854780# Shell to use when invoking shell scripts.
     
    40344829
    40354830# A symbol stripping program
    4036 STRIP=$lt_STRIP
     4831STRIP=$STRIP
    40374832
    40384833# Used to examine libraries when file_magic_cmd begins "file"
     
    40464841
    40474842# Used on cygwin: assembler.
    4048 AS=$lt_AS
     4843AS="$AS"
    40494844
    40504845# The name of the directory that contains temporary libtool files.
     
    40654860
    40664861# Shared library suffix (normally ".so").
    4067 shrext_cmds='$shrext_cmds'
     4862shrext='$shrext'
    40684863
    40694864# Executable file suffix (normally "").
     
    43095104  # `config.status --recheck' to rerun these tests and create the
    43105105  # libtool script then.
    4311   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    4312   if test -f "$ltmain_in"; then
    4313     test -f Makefile && make "$ltmain"
    4314   fi
     5106  test -f Makefile && make "$ltmain"
    43155107fi
    43165108])# AC_LIBTOOL_CONFIG
     
    43855177  ;;
    43865178solaris* | sysv5*)
    4387   symcode='[[BDRT]]'
     5179  symcode='[[BDT]]'
    43885180  ;;
    43895181sysv4)
     
    44035195case `$NM -V 2>&1` in
    44045196*GNU* | *'with BFD'*)
    4405   symcode='[[ABCDGIRSTW]]' ;;
     5197  symcode='[[ABCDGISTW]]' ;;
    44065198esac
    44075199
     
    46055397        esac
    46065398        ;;
    4607        darwin*)
    4608          # PIC is the default on this platform
    4609          # Common symbols not allowed in MH_DYLIB files
    4610          case "$cc_basename" in
    4611            xlc*)
    4612            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
    4613            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4614            ;;
    4615          esac
    4616        ;;
    46175399      dgux*)
    46185400        case $cc_basename in
     
    46285410        esac
    46295411        ;;
    4630       freebsd* | kfreebsd*-gnu)
     5412      freebsd*)
    46315413        # FreeBSD uses GNU C++
    46325414        ;;
     
    46795461            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
    46805462            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
    4681             ;;
     5463            ;; 
    46825464          cxx)
    46835465            # Compaq C++
     
    48685650      fi
    48695651      ;;
    4870       darwin*)
    4871         # PIC is the default on this platform
    4872         # Common symbols not allowed in MH_DYLIB files
    4873        case "$cc_basename" in
    4874          xlc*)
    4875          _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
    4876          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4877          ;;
    4878        esac
    4879        ;;
    48805652
    48815653    mingw* | pw32* | os2*)
     
    49145686    linux*)
    49155687      case $CC in
    4916       icc* | ecc*)
     5688      icc|ecc)
    49175689        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    49185690        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
    49195691        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
    49205692        ;;
    4921       ccc*)
     5693      ccc)
    49225694        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    49235695        # All Alpha code is PIC.
     
    50495821  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
    50505822  _LT_AC_TAGVAR(module_cmds, $1)=
    5051   _LT_AC_TAGVAR(module_expsym_cmds, $1)=
     5823  _LT_AC_TAGVAR(module_expsym_cmds, $1)= 
    50525824  _LT_AC_TAGVAR(always_export_symbols, $1)=no
    50535825  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     
    51055877
    51065878    amigaos*)
    5107       _LT_AC_TAGVAR(archive_cmds, $1)='$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)'
     5879      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
    51085880      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    51095881      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
     
    51475919          echo EXPORTS > $output_objdir/$soname.def;
    51485920          cat $export_symbols >> $output_objdir/$soname.def;
    5149         fi~
     5921        fi${_S_}
    51505922        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    51515923      else
     
    51915963      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
    51925964      ;;
    5193 
    5194   linux*)
    5195     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    5196         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    5197         _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
    5198       supports_anon_versioning=no
    5199       case `$LD -v 2>/dev/null` in
    5200         *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
    5201         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    5202         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    5203         *\ 2.11.*) ;; # other 2.11 versions
    5204         *) supports_anon_versioning=yes ;;
    5205       esac
    5206       if test $supports_anon_versioning = yes; then
    5207         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
    5208 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    5209 $echo "local: *; };" >> $output_objdir/$libname.ver~
    5210         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    5211       else
    5212         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
    5213       fi
    5214     else
    5215       _LT_AC_TAGVAR(ld_shlibs, $1)=no
    5216     fi
    5217     ;;
    52185965
    52195966    *)
     
    52445991      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
    52455992      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
    5246       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
     5993      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname'
    52475994      # Note: this linker hardcodes the directories in LIBPATH if there
    52485995      # are no directories specified by -L.
     
    53666113          _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
    53676114          # This is similar to how AIX traditionally builds it's shared libraries.
    5368           _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
     6115          _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    53696116        fi
    53706117      fi
     
    53726119
    53736120    amigaos*)
    5374       _LT_AC_TAGVAR(archive_cmds, $1)='$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)'
     6121      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
    53756122      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    53766123      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
     
    53796126      ;;
    53806127
    5381     bsdi[[45]]*)
     6128    bsdi4*)
    53826129      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
    53836130      ;;
     
    53936140      libext=lib
    53946141      # Tell ltmain to make .dll files, not .so files.
    5395       shrext_cmds=".dll"
     6142      shrext=".dll"
    53966143      # FIXME: Setting linknames here is a bad hack.
    5397       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
     6144      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
    53986145      # The linker will automatically build a .lib file if we build a DLL.
    53996146      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
     
    54056152
    54066153    darwin* | rhapsody*)
     6154    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
     6155      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
    54076156      case "$host_os" in
    5408         rhapsody* | darwin1.[[012]])
    5409          _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
    5410          ;;
    5411        *) # Darwin 1.3 on
    5412          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    5413            _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    5414          else
    5415            case ${MACOSX_DEPLOYMENT_TARGET} in
    5416              10.[[012]])
    5417                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    5418                ;;
    5419              10.*)
    5420                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
    5421                ;;
    5422            esac
    5423          fi
    5424          ;;
     6157      rhapsody* | darwin1.[[012]])
     6158        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
     6159        ;;
     6160      darwin1.* | darwin[[2-6]].*) # Darwin 1.3 on, but less than 7.0
     6161        test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     6162        ;;
     6163      *) # Darwin 7.0 on
     6164        case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
     6165        10.[[012]])
     6166          test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     6167          ;;
     6168        *) # 10.3 on
     6169          if test -z ${LD_TWOLEVEL_NAMESPACE}; then
     6170            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
     6171          else
     6172            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
     6173          fi
     6174          ;;
     6175        esac
     6176        ;;
    54256177      esac
    5426       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
     6178      # FIXME: Relying on posixy $() will cause problems for
     6179      #        cross-compilation, but unfortunately the echo tests do not
     6180      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
     6181      #        `"' quotes if we put them in here... so don't!
     6182        lt_int_apple_cc_single_mod=no
     6183        output_verbose_link_cmd='echo'
     6184        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
     6185          lt_int_apple_cc_single_mod=yes
     6186        fi
     6187        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
     6188          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     6189        else
     6190        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     6191      fi
     6192      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
     6193      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
     6194        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
     6195          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
     6196        else
     6197          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
     6198        fi
     6199          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    54276200      _LT_AC_TAGVAR(hardcode_direct, $1)=no
    54286201      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
    54296202      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    5430       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
     6203      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
    54316204      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
    5432     if test "$GCC" = yes ; then
    5433         output_verbose_link_cmd='echo'
    5434         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    5435       _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    5436       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    5437       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    5438       _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    5439     else
    5440       case "$cc_basename" in
    5441         xlc*)
    5442          output_verbose_link_cmd='echo'
    5443          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    5444          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    5445           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    5446          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    5447           _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    5448           ;;
    5449        *)
    5450          _LT_AC_TAGVAR(ld_shlibs, $1)=no
    5451           ;;
    5452       esac
    5453     fi
     6205    fi 
    54546206      ;;
    54556207
     
    54846236
    54856237    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    5486     freebsd* | kfreebsd*-gnu)
     6238    freebsd*)
    54876239      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    54886240      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    54936245    hpux9*)
    54946246      if test "$GCC" = yes; then
    5495         _LT_AC_TAGVAR(archive_cmds, $1)='$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'
     6247        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    54966248      else
    5497         _LT_AC_TAGVAR(archive_cmds, $1)='$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'
     6249        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    54986250      fi
    54996251      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     
    55956347      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    55966348        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5597         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    55986349        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    55996350        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     
    56166367      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
    56176368      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
    5618       _LT_AC_TAGVAR(archive_cmds, $1)='$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'
     6369      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
    56196370      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    56206371      ;;
     
    56406391        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    56416392        _LT_AC_TAGVAR(archive_cmds, $1)='$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'
    5642         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    5643         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
     6393        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_}
     6394        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp'
    56446395
    56456396        # Both c and cxx compiler support -rpath directly
     
    56616412      if test "$GCC" = yes; then
    56626413        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    5663         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    5664           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
     6414        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     6415          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp'
    56656416      else
    56666417        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    5667         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    5668         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     6418        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     6419        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
    56696420      fi
    56706421      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    57556506      # object files and a static libstdc++, better avoid it by now
    57566507      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    5757       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    5758                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     6508      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
     6509                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
    57596510      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
    57606511      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    57926543  if test "$enable_shared" = yes && test "$GCC" = yes; then
    57936544    case $_LT_AC_TAGVAR(archive_cmds, $1) in
    5794     *'~'*)
     6545    *"$_S_"*)
    57956546      # FIXME: we may have to deal with multi-command sequences.
    57966547      ;;
     
    58026553      $rm conftest*
    58036554      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    5804 
     6555 
    58056556      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
    58066557        soname=conftest
     
    59596710  done
    59606711done
     6712SED=$lt_cv_path_SED
    59616713])
    5962 SED=$lt_cv_path_SED
    59636714AC_MSG_RESULT([$SED])
    59646715])
    59656716
    5966 #                                                        -*- Autoconf -*-
    5967 # Copyright (C) 2002, 2003  Free Software Foundation, Inc.
    5968 # Generated from amversion.in; do not edit by hand.
    5969 
    5970 # This program is free software; you can redistribute it and/or modify
    5971 # it under the terms of the GNU General Public License as published by
    5972 # the Free Software Foundation; either version 2, or (at your option)
    5973 # any later version.
    5974 
    5975 # This program is distributed in the hope that it will be useful,
    5976 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    5977 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    5978 # GNU General Public License for more details.
    5979 
    5980 # You should have received a copy of the GNU General Public License
    5981 # along with this program; if not, write to the Free Software
    5982 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    5983 
    5984 # AM_AUTOMAKE_VERSION(VERSION)
    5985 # ----------------------------
    5986 # Automake X.Y traces this macro to ensure aclocal.m4 has been
    5987 # generated from the m4 files accompanying Automake X.Y.
    5988 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
    5989 
    5990 # AM_SET_CURRENT_AUTOMAKE_VERSION
    5991 # -------------------------------
    5992 # Call AM_AUTOMAKE_VERSION so it can be traced.
    5993 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    5994 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    5995          [AM_AUTOMAKE_VERSION([1.9.1])])
    5996 
    5997 # AM_AUX_DIR_EXPAND
    5998 
    5999 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    6000 
    6001 # This program is free software; you can redistribute it and/or modify
    6002 # it under the terms of the GNU General Public License as published by
    6003 # the Free Software Foundation; either version 2, or (at your option)
    6004 # any later version.
    6005 
    6006 # This program is distributed in the hope that it will be useful,
    6007 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6008 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6009 # GNU General Public License for more details.
    6010 
    6011 # You should have received a copy of the GNU General Public License
    6012 # along with this program; if not, write to the Free Software
    6013 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6014 # 02111-1307, USA.
    6015 
    6016 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    6017 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    6018 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
    6019 #
    6020 # Of course, Automake must honor this variable whenever it calls a
    6021 # tool from the auxiliary directory.  The problem is that $srcdir (and
    6022 # therefore $ac_aux_dir as well) can be either absolute or relative,
    6023 # depending on how configure is run.  This is pretty annoying, since
    6024 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
    6025 # source directory, any form will work fine, but in subdirectories a
    6026 # relative path needs to be adjusted first.
    6027 #
    6028 # $ac_aux_dir/missing
    6029 #    fails when called from a subdirectory if $ac_aux_dir is relative
    6030 # $top_srcdir/$ac_aux_dir/missing
    6031 #    fails if $ac_aux_dir is absolute,
    6032 #    fails when called from a subdirectory in a VPATH build with
    6033 #          a relative $ac_aux_dir
    6034 #
    6035 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    6036 # are both prefixed by $srcdir.  In an in-source build this is usually
    6037 # harmless because $srcdir is `.', but things will broke when you
    6038 # start a VPATH build or use an absolute $srcdir.
    6039 #
    6040 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
    6041 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
    6042 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
    6043 # and then we would define $MISSING as
    6044 #   MISSING="\${SHELL} $am_aux_dir/missing"
    6045 # This will work as long as MISSING is not called from configure, because
    6046 # unfortunately $(top_srcdir) has no meaning in configure.
    6047 # However there are other variables, like CC, which are often used in
    6048 # configure, and could therefore not use this "fixed" $ac_aux_dir.
    6049 #
    6050 # Another solution, used here, is to always expand $ac_aux_dir to an
    6051 # absolute PATH.  The drawback is that using absolute paths prevent a
    6052 # configured tree to be moved without reconfiguration.
    6053 
    6054 AC_DEFUN([AM_AUX_DIR_EXPAND],
    6055 [dnl Rely on autoconf to set up CDPATH properly.
    6056 AC_PREREQ([2.50])dnl
    6057 # expand $ac_aux_dir to an absolute path
    6058 am_aux_dir=`cd $ac_aux_dir && pwd`
    6059 ])
    6060 
    6061 # AM_CONDITIONAL                                              -*- Autoconf -*-
    6062 
    6063 # Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
    6064 
    6065 # This program is free software; you can redistribute it and/or modify
    6066 # it under the terms of the GNU General Public License as published by
    6067 # the Free Software Foundation; either version 2, or (at your option)
    6068 # any later version.
    6069 
    6070 # This program is distributed in the hope that it will be useful,
    6071 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6072 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6073 # GNU General Public License for more details.
    6074 
    6075 # You should have received a copy of the GNU General Public License
    6076 # along with this program; if not, write to the Free Software
    6077 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6078 # 02111-1307, USA.
    6079 
    6080 # serial 6
    6081 
    6082 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    6083 # -------------------------------------
    6084 # Define a conditional.
    6085 AC_DEFUN([AM_CONDITIONAL],
    6086 [AC_PREREQ(2.52)dnl
    6087  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    6088         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    6089 AC_SUBST([$1_TRUE])
    6090 AC_SUBST([$1_FALSE])
    6091 if $2; then
    6092   $1_TRUE=
    6093   $1_FALSE='#'
    6094 else
    6095   $1_TRUE='#'
    6096   $1_FALSE=
    6097 fi
    6098 AC_CONFIG_COMMANDS_PRE(
    6099 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    6100   AC_MSG_ERROR([[conditional "$1" was never defined.
    6101 Usually this means the macro was only invoked conditionally.]])
    6102 fi])])
    6103 
    6104 # serial 7                                              -*- Autoconf -*-
    6105 
    6106 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
    6107 # Free Software Foundation, Inc.
    6108 
    6109 # This program is free software; you can redistribute it and/or modify
    6110 # it under the terms of the GNU General Public License as published by
    6111 # the Free Software Foundation; either version 2, or (at your option)
    6112 # any later version.
    6113 
    6114 # This program is distributed in the hope that it will be useful,
    6115 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6116 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6117 # GNU General Public License for more details.
    6118 
    6119 # You should have received a copy of the GNU General Public License
    6120 # along with this program; if not, write to the Free Software
    6121 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6122 # 02111-1307, USA.
    6123 
    6124 
    6125 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
    6126 # written in clear, in which case automake, when reading aclocal.m4,
    6127 # will think it sees a *use*, and therefore will trigger all it's
    6128 # C support machinery.  Also note that it means that autoscan, seeing
    6129 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
    6130 
    6131 
    6132 
    6133 # _AM_DEPENDENCIES(NAME)
    6134 # ----------------------
    6135 # See how the compiler implements dependency checking.
    6136 # NAME is "CC", "CXX", "GCJ", or "OBJC".
    6137 # We try a few techniques and use that to set a single cache variable.
    6138 #
    6139 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
    6140 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
    6141 # dependency, and given that the user is not expected to run this macro,
    6142 # just rely on AC_PROG_CC.
    6143 AC_DEFUN([_AM_DEPENDENCIES],
    6144 [AC_REQUIRE([AM_SET_DEPDIR])dnl
    6145 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
    6146 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
    6147 AC_REQUIRE([AM_DEP_TRACK])dnl
    6148 
    6149 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    6150        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    6151        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    6152        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    6153                    [depcc="$$1"   am_compiler_list=])
    6154 
    6155 AC_CACHE_CHECK([dependency style of $depcc],
    6156                [am_cv_$1_dependencies_compiler_type],
    6157 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    6158   # We make a subdir and do the tests there.  Otherwise we can end up
    6159   # making bogus files that we don't know about and never remove.  For
    6160   # instance it was reported that on HP-UX the gcc test will end up
    6161   # making a dummy file named `D' -- because `-MD' means `put the output
    6162   # in D'.
    6163   mkdir conftest.dir
    6164   # Copy depcomp to subdir because otherwise we won't find it if we're
    6165   # using a relative directory.
    6166   cp "$am_depcomp" conftest.dir
    6167   cd conftest.dir
    6168   # We will build objects and dependencies in a subdirectory because
    6169   # it helps to detect inapplicable dependency modes.  For instance
    6170   # both Tru64's cc and ICC support -MD to output dependencies as a
    6171   # side effect of compilation, but ICC will put the dependencies in
    6172   # the current directory while Tru64 will put them in the object
    6173   # directory.
    6174   mkdir sub
    6175 
    6176   am_cv_$1_dependencies_compiler_type=none
    6177   if test "$am_compiler_list" = ""; then
    6178      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
    6179   fi
    6180   for depmode in $am_compiler_list; do
    6181     # Setup a source with many dependencies, because some compilers
    6182     # like to wrap large dependency lists on column 80 (with \), and
    6183     # we should not choose a depcomp mode which is confused by this.
    6184     #
    6185     # We need to recreate these files for each test, as the compiler may
    6186     # overwrite some of them when testing with obscure command lines.
    6187     # This happens at least with the AIX C compiler.
    6188     : > sub/conftest.c
    6189     for i in 1 2 3 4 5 6; do
    6190       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    6191       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    6192       # Solaris 8's {/usr,}/bin/sh.
    6193       touch sub/conftst$i.h
    6194     done
    6195     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    6196 
    6197     case $depmode in
    6198     nosideeffect)
    6199       # after this tag, mechanisms are not by side-effect, so they'll
    6200       # only be used when explicitly requested
    6201       if test "x$enable_dependency_tracking" = xyes; then
    6202         continue
    6203       else
    6204         break
    6205       fi
    6206       ;;
    6207     none) break ;;
    6208     esac
    6209     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    6210     # mode.  It turns out that the SunPro C++ compiler does not properly
    6211     # handle `-M -o', and we need to detect this.
    6212     if depmode=$depmode \
    6213        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    6214        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    6215        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    6216          >/dev/null 2>conftest.err &&
    6217        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    6218        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    6219        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    6220       # icc doesn't choke on unknown options, it will just issue warnings
    6221       # or remarks (even with -Werror).  So we grep stderr for any message
    6222       # that says an option was ignored or not supported.
    6223       # When given -MP, icc 7.0 and 7.1 complain thusly:
    6224       #   icc: Command line warning: ignoring option '-M'; no argument required
    6225       # The diagnosis changed in icc 8.0:
    6226       #   icc: Command line remark: option '-MP' not supported
    6227       if (grep 'ignoring option' conftest.err ||
    6228           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    6229         am_cv_$1_dependencies_compiler_type=$depmode
    6230         break
    6231       fi
    6232     fi
    6233   done
    6234 
    6235   cd ..
    6236   rm -rf conftest.dir
    6237 else
    6238   am_cv_$1_dependencies_compiler_type=none
    6239 fi
    6240 ])
    6241 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
    6242 AM_CONDITIONAL([am__fastdep$1], [
    6243   test "x$enable_dependency_tracking" != xno \
    6244   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
    6245 ])
    6246 
    6247 
    6248 # AM_SET_DEPDIR
    6249 # -------------
    6250 # Choose a directory name for dependency files.
    6251 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
    6252 AC_DEFUN([AM_SET_DEPDIR],
    6253 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    6254 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
    6255 ])
    6256 
    6257 
    6258 # AM_DEP_TRACK
    6259 # ------------
    6260 AC_DEFUN([AM_DEP_TRACK],
    6261 [AC_ARG_ENABLE(dependency-tracking,
    6262 [  --disable-dependency-tracking  speeds up one-time build
    6263   --enable-dependency-tracking   do not reject slow dependency extractors])
    6264 if test "x$enable_dependency_tracking" != xno; then
    6265   am_depcomp="$ac_aux_dir/depcomp"
    6266   AMDEPBACKSLASH='\'
    6267 fi
    6268 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
    6269 AC_SUBST([AMDEPBACKSLASH])
    6270 ])
    6271 
    6272 # Generate code to set up dependency tracking.   -*- Autoconf -*-
    6273 
    6274 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
    6275 #   Free Software Foundation, Inc.
    6276 
    6277 # This program is free software; you can redistribute it and/or modify
    6278 # it under the terms of the GNU General Public License as published by
    6279 # the Free Software Foundation; either version 2, or (at your option)
    6280 # any later version.
    6281 
    6282 # This program is distributed in the hope that it will be useful,
    6283 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6284 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6285 # GNU General Public License for more details.
    6286 
    6287 # You should have received a copy of the GNU General Public License
    6288 # along with this program; if not, write to the Free Software
    6289 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6290 # 02111-1307, USA.
    6291 
    6292 #serial 2
    6293 
    6294 # _AM_OUTPUT_DEPENDENCY_COMMANDS
    6295 # ------------------------------
    6296 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    6297 [for mf in $CONFIG_FILES; do
    6298   # Strip MF so we end up with the name of the file.
    6299   mf=`echo "$mf" | sed -e 's/:.*$//'`
    6300   # Check whether this is an Automake generated Makefile or not.
    6301   # We used to match only the files named `Makefile.in', but
    6302   # some people rename them; so instead we look at the file content.
    6303   # Grep'ing the first line is not enough: some people post-process
    6304   # each Makefile.in and add a new line on top of each file to say so.
    6305   # So let's grep whole file.
    6306   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
    6307     dirpart=`AS_DIRNAME("$mf")`
    6308   else
    6309     continue
    6310   fi
    6311   # Extract the definition of DEPDIR, am__include, and am__quote
    6312   # from the Makefile without running `make'.
    6313   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    6314   test -z "$DEPDIR" && continue
    6315   am__include=`sed -n 's/^am__include = //p' < "$mf"`
    6316   test -z "am__include" && continue
    6317   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    6318   # When using ansi2knr, U may be empty or an underscore; expand it
    6319   U=`sed -n 's/^U = //p' < "$mf"`
    6320   # Find all dependency output files, they are included files with
    6321   # $(DEPDIR) in their names.  We invoke sed twice because it is the
    6322   # simplest approach to changing $(DEPDIR) to its actual value in the
    6323   # expansion.
    6324   for file in `sed -n "
    6325     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    6326        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    6327     # Make sure the directory exists.
    6328     test -f "$dirpart/$file" && continue
    6329     fdir=`AS_DIRNAME(["$file"])`
    6330     AS_MKDIR_P([$dirpart/$fdir])
    6331     # echo "creating $dirpart/$file"
    6332     echo '# dummy' > "$dirpart/$file"
    6333   done
    6334 done
    6335 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
    6336 
    6337 
    6338 # AM_OUTPUT_DEPENDENCY_COMMANDS
    6339 # -----------------------------
    6340 # This macro should only be invoked once -- use via AC_REQUIRE.
    6341 #
    6342 # This code is only required when automatic dependency tracking
    6343 # is enabled.  FIXME.  This creates each `.P' file that we will
    6344 # need in order to bootstrap the dependency handling code.
    6345 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
    6346 [AC_CONFIG_COMMANDS([depfiles],
    6347      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
    6348      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    6349 ])
    6350 
    6351 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
    6352 
    6353 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    6354 
    6355 # This program is free software; you can redistribute it and/or modify
    6356 # it under the terms of the GNU General Public License as published by
    6357 # the Free Software Foundation; either version 2, or (at your option)
    6358 # any later version.
    6359 
    6360 # This program is distributed in the hope that it will be useful,
    6361 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6362 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6363 # GNU General Public License for more details.
    6364 
    6365 # You should have received a copy of the GNU General Public License
    6366 # along with this program; if not, write to the Free Software
    6367 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6368 # 02111-1307, USA.
    6369 
    6370 # serial 7
    6371 
    6372 # AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
    6373 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
    6374 
    6375 # Do all the work for Automake.                            -*- Autoconf -*-
    6376 
    6377 # This macro actually does too much some checks are only needed if
    6378 # your package does certain things.  But this isn't really a big deal.
    6379 
    6380 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    6381 # Free Software Foundation, Inc.
    6382 
    6383 # This program is free software; you can redistribute it and/or modify
    6384 # it under the terms of the GNU General Public License as published by
    6385 # the Free Software Foundation; either version 2, or (at your option)
    6386 # any later version.
    6387 
    6388 # This program is distributed in the hope that it will be useful,
    6389 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6390 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6391 # GNU General Public License for more details.
    6392 
    6393 # You should have received a copy of the GNU General Public License
    6394 # along with this program; if not, write to the Free Software
    6395 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6396 # 02111-1307, USA.
    6397 
    6398 # serial 11
    6399 
    6400 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
    6401 # AM_INIT_AUTOMAKE([OPTIONS])
    6402 # -----------------------------------------------
    6403 # The call with PACKAGE and VERSION arguments is the old style
    6404 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
    6405 # and VERSION should now be passed to AC_INIT and removed from
    6406 # the call to AM_INIT_AUTOMAKE.
    6407 # We support both call styles for the transition.  After
    6408 # the next Automake release, Autoconf can make the AC_INIT
    6409 # arguments mandatory, and then we can depend on a new Autoconf
    6410 # release and drop the old call support.
    6411 AC_DEFUN([AM_INIT_AUTOMAKE],
    6412 [AC_PREREQ([2.58])dnl
    6413 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    6414 dnl the ones we care about.
    6415 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
    6416 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
    6417 AC_REQUIRE([AC_PROG_INSTALL])dnl
    6418 # test to see if srcdir already configured
    6419 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    6420    test -f $srcdir/config.status; then
    6421   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
    6422 fi
    6423 
    6424 # test whether we have cygpath
    6425 if test -z "$CYGPATH_W"; then
    6426   if (cygpath --version) >/dev/null 2>/dev/null; then
    6427     CYGPATH_W='cygpath -w'
    6428   else
    6429     CYGPATH_W=echo
    6430   fi
    6431 fi
    6432 AC_SUBST([CYGPATH_W])
    6433 
    6434 # Define the identity of the package.
    6435 dnl Distinguish between old-style and new-style calls.
    6436 m4_ifval([$2],
    6437 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    6438  AC_SUBST([PACKAGE], [$1])dnl
    6439  AC_SUBST([VERSION], [$2])],
    6440 [_AM_SET_OPTIONS([$1])dnl
    6441  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    6442  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    6443 
    6444 _AM_IF_OPTION([no-define],,
    6445 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    6446  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    6447 
    6448 # Some tools Automake needs.
    6449 AC_REQUIRE([AM_SANITY_CHECK])dnl
    6450 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    6451 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    6452 AM_MISSING_PROG(AUTOCONF, autoconf)
    6453 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    6454 AM_MISSING_PROG(AUTOHEADER, autoheader)
    6455 AM_MISSING_PROG(MAKEINFO, makeinfo)
    6456 AM_PROG_INSTALL_SH
    6457 AM_PROG_INSTALL_STRIP
    6458 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    6459 # We need awk for the "check" target.  The system "awk" is bad on
    6460 # some platforms.
    6461 AC_REQUIRE([AC_PROG_AWK])dnl
    6462 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    6463 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    6464 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
    6465               [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
    6466                              [_AM_PROG_TAR([v7])])])
    6467 _AM_IF_OPTION([no-dependencies],,
    6468 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    6469                   [_AM_DEPENDENCIES(CC)],
    6470                   [define([AC_PROG_CC],
    6471                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    6472 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    6473                   [_AM_DEPENDENCIES(CXX)],
    6474                   [define([AC_PROG_CXX],
    6475                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    6476 ])
    6477 ])
    6478 
    6479 
    6480 # When config.status generates a header, we must update the stamp-h file.
    6481 # This file resides in the same directory as the config header
    6482 # that is generated.  The stamp files are numbered to have different names.
    6483 
    6484 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    6485 # loop where config.status creates the headers, so we can generate
    6486 # our stamp files there.
    6487 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    6488 [# Compute $1's index in $config_headers.
    6489 _am_stamp_count=1
    6490 for _am_header in $config_headers :; do
    6491   case $_am_header in
    6492     $1 | $1:* )
    6493       break ;;
    6494     * )
    6495       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    6496   esac
    6497 done
    6498 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    6499 
    6500 # AM_PROG_INSTALL_SH
    6501 # ------------------
    6502 # Define $install_sh.
    6503 
    6504 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    6505 
    6506 # This program is free software; you can redistribute it and/or modify
    6507 # it under the terms of the GNU General Public License as published by
    6508 # the Free Software Foundation; either version 2, or (at your option)
    6509 # any later version.
    6510 
    6511 # This program is distributed in the hope that it will be useful,
    6512 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6513 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6514 # GNU General Public License for more details.
    6515 
    6516 # You should have received a copy of the GNU General Public License
    6517 # along with this program; if not, write to the Free Software
    6518 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6519 # 02111-1307, USA.
    6520 
    6521 AC_DEFUN([AM_PROG_INSTALL_SH],
    6522 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    6523 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    6524 AC_SUBST(install_sh)])
    6525 
    6526 #                                                          -*- Autoconf -*-
    6527 # Copyright (C) 2003  Free Software Foundation, Inc.
    6528 
    6529 # This program is free software; you can redistribute it and/or modify
    6530 # it under the terms of the GNU General Public License as published by
    6531 # the Free Software Foundation; either version 2, or (at your option)
    6532 # any later version.
    6533 
    6534 # This program is distributed in the hope that it will be useful,
    6535 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6537 # GNU General Public License for more details.
    6538 
    6539 # You should have received a copy of the GNU General Public License
    6540 # along with this program; if not, write to the Free Software
    6541 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6542 # 02111-1307, USA.
    6543 
    6544 # serial 1
    6545 
    6546 # Check whether the underlying file-system supports filenames
    6547 # with a leading dot.  For instance MS-DOS doesn't.
    6548 AC_DEFUN([AM_SET_LEADING_DOT],
    6549 [rm -rf .tst 2>/dev/null
    6550 mkdir .tst 2>/dev/null
    6551 if test -d .tst; then
    6552   am__leading_dot=.
    6553 else
    6554   am__leading_dot=_
    6555 fi
    6556 rmdir .tst 2>/dev/null
    6557 AC_SUBST([am__leading_dot])])
    6558 
    6559 # Check to see how 'make' treats includes.      -*- Autoconf -*-
    6560 
    6561 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
    6562 
    6563 # This program is free software; you can redistribute it and/or modify
    6564 # it under the terms of the GNU General Public License as published by
    6565 # the Free Software Foundation; either version 2, or (at your option)
    6566 # any later version.
    6567 
    6568 # This program is distributed in the hope that it will be useful,
    6569 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6570 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6571 # GNU General Public License for more details.
    6572 
    6573 # You should have received a copy of the GNU General Public License
    6574 # along with this program; if not, write to the Free Software
    6575 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6576 # 02111-1307, USA.
    6577 
    6578 # serial 2
    6579 
    6580 # AM_MAKE_INCLUDE()
    6581 # -----------------
    6582 # Check to see how make treats includes.
    6583 AC_DEFUN([AM_MAKE_INCLUDE],
    6584 [am_make=${MAKE-make}
    6585 cat > confinc << 'END'
    6586 am__doit:
    6587         @echo done
    6588 .PHONY: am__doit
    6589 END
    6590 # If we don't find an include directive, just comment out the code.
    6591 AC_MSG_CHECKING([for style of include used by $am_make])
    6592 am__include="#"
    6593 am__quote=
    6594 _am_result=none
    6595 # First try GNU make style include.
    6596 echo "include confinc" > confmf
    6597 # We grep out `Entering directory' and `Leaving directory'
    6598 # messages which can occur if `w' ends up in MAKEFLAGS.
    6599 # In particular we don't look at `^make:' because GNU make might
    6600 # be invoked under some other name (usually "gmake"), in which
    6601 # case it prints its new name instead of `make'.
    6602 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    6603    am__include=include
    6604    am__quote=
    6605    _am_result=GNU
    6606 fi
    6607 # Now try BSD make style include.
    6608 if test "$am__include" = "#"; then
    6609    echo '.include "confinc"' > confmf
    6610    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    6611       am__include=.include
    6612       am__quote="\""
    6613       _am_result=BSD
    6614    fi
    6615 fi
    6616 AC_SUBST([am__include])
    6617 AC_SUBST([am__quote])
    6618 AC_MSG_RESULT([$_am_result])
    6619 rm -f confinc confmf
    6620 ])
    6621 
    6622 #  -*- Autoconf -*-
    6623 
    6624 
    6625 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
    6626 
    6627 # This program is free software; you can redistribute it and/or modify
    6628 # it under the terms of the GNU General Public License as published by
    6629 # the Free Software Foundation; either version 2, or (at your option)
    6630 # any later version.
    6631 
    6632 # This program is distributed in the hope that it will be useful,
    6633 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6634 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6635 # GNU General Public License for more details.
    6636 
    6637 # You should have received a copy of the GNU General Public License
    6638 # along with this program; if not, write to the Free Software
    6639 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6640 # 02111-1307, USA.
    6641 
    6642 # serial 3
    6643 
    6644 # AM_MISSING_PROG(NAME, PROGRAM)
    6645 # ------------------------------
    6646 AC_DEFUN([AM_MISSING_PROG],
    6647 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    6648 $1=${$1-"${am_missing_run}$2"}
    6649 AC_SUBST($1)])
    6650 
    6651 
    6652 # AM_MISSING_HAS_RUN
    6653 # ------------------
    6654 # Define MISSING if not defined so far and test if it supports --run.
    6655 # If it does, set am_missing_run to use it, otherwise, to nothing.
    6656 AC_DEFUN([AM_MISSING_HAS_RUN],
    6657 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    6658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    6659 # Use eval to expand $SHELL
    6660 if eval "$MISSING --run true"; then
    6661   am_missing_run="$MISSING --run "
    6662 else
    6663   am_missing_run=
    6664   AC_MSG_WARN([`missing' script is too old or missing])
    6665 fi
    6666 ])
    6667 
    6668 # AM_PROG_MKDIR_P
    6669 # ---------------
    6670 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
    6671 
    6672 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    6673 
    6674 # This program is free software; you can redistribute it and/or modify
    6675 # it under the terms of the GNU General Public License as published by
    6676 # the Free Software Foundation; either version 2, or (at your option)
    6677 # any later version.
    6678 
    6679 # This program is distributed in the hope that it will be useful,
    6680 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6681 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6682 # GNU General Public License for more details.
    6683 
    6684 # You should have received a copy of the GNU General Public License
    6685 # along with this program; if not, write to the Free Software
    6686 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6687 # 02111-1307, USA.
    6688 
    6689 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
    6690 # created by `make install' are always world readable, even if the
    6691 # installer happens to have an overly restrictive umask (e.g. 077).
    6692 # This was a mistake.  There are at least two reasons why we must not
    6693 # use `-m 0755':
    6694 #   - it causes special bits like SGID to be ignored,
    6695 #   - it may be too restrictive (some setups expect 775 directories).
    6696 #
    6697 # Do not use -m 0755 and let people choose whatever they expect by
    6698 # setting umask.
    6699 #
    6700 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
    6701 # Some implementations (such as Solaris 8's) are not thread-safe: if a
    6702 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
    6703 # concurrently, both version can detect that a/ is missing, but only
    6704 # one can create it and the other will error out.  Consequently we
    6705 # restrict ourselves to GNU make (using the --version option ensures
    6706 # this.)
    6707 AC_DEFUN([AM_PROG_MKDIR_P],
    6708 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    6709   # We used to keeping the `.' as first argument, in order to
    6710   # allow $(mkdir_p) to be used without argument.  As in
    6711   #   $(mkdir_p) $(somedir)
    6712   # where $(somedir) is conditionally defined.  However this is wrong
    6713   # for two reasons:
    6714   #  1. if the package is installed by a user who cannot write `.'
    6715   #     make install will fail,
    6716   #  2. the above comment should most certainly read
    6717   #     $(mkdir_p) $(DESTDIR)$(somedir)
    6718   #     so it does not work when $(somedir) is undefined and
    6719   #     $(DESTDIR) is not.
    6720   #  To support the latter case, we have to write
    6721   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    6722   #  so the `.' trick is pointless.
    6723   mkdir_p='mkdir -p --'
    6724 else
    6725   # On NextStep and OpenStep, the `mkdir' command does not
    6726   # recognize any option.  It will interpret all options as
    6727   # directories to create, and then abort because `.' already
    6728   # exists.
    6729   for d in ./-p ./--version;
    6730   do
    6731     test -d $d && rmdir $d
    6732   done
    6733   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    6734   if test -f "$ac_aux_dir/mkinstalldirs"; then
    6735     mkdir_p='$(mkinstalldirs)'
    6736   else
    6737     mkdir_p='$(install_sh) -d'
    6738   fi
    6739 fi
    6740 AC_SUBST([mkdir_p])])
    6741 
    6742 # Helper functions for option handling.                    -*- Autoconf -*-
    6743 
    6744 # Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
    6745 
    6746 # This program is free software; you can redistribute it and/or modify
    6747 # it under the terms of the GNU General Public License as published by
    6748 # the Free Software Foundation; either version 2, or (at your option)
    6749 # any later version.
    6750 
    6751 # This program is distributed in the hope that it will be useful,
    6752 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6753 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6754 # GNU General Public License for more details.
    6755 
    6756 # You should have received a copy of the GNU General Public License
    6757 # along with this program; if not, write to the Free Software
    6758 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6759 # 02111-1307, USA.
    6760 
    6761 # serial 2
    6762 
    6763 # _AM_MANGLE_OPTION(NAME)
    6764 # -----------------------
    6765 AC_DEFUN([_AM_MANGLE_OPTION],
    6766 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    6767 
    6768 # _AM_SET_OPTION(NAME)
    6769 # ------------------------------
    6770 # Set option NAME.  Presently that only means defining a flag for this option.
    6771 AC_DEFUN([_AM_SET_OPTION],
    6772 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    6773 
    6774 # _AM_SET_OPTIONS(OPTIONS)
    6775 # ----------------------------------
    6776 # OPTIONS is a space-separated list of Automake options.
    6777 AC_DEFUN([_AM_SET_OPTIONS],
    6778 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    6779 
    6780 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    6781 # -------------------------------------------
    6782 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    6783 AC_DEFUN([_AM_IF_OPTION],
    6784 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    6785 
    6786 #
    6787 # Check to make sure that the build environment is sane.
    6788 #
    6789 
    6790 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    6791 
    6792 # This program is free software; you can redistribute it and/or modify
    6793 # it under the terms of the GNU General Public License as published by
    6794 # the Free Software Foundation; either version 2, or (at your option)
    6795 # any later version.
    6796 
    6797 # This program is distributed in the hope that it will be useful,
    6798 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6799 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6800 # GNU General Public License for more details.
    6801 
    6802 # You should have received a copy of the GNU General Public License
    6803 # along with this program; if not, write to the Free Software
    6804 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6805 # 02111-1307, USA.
    6806 
    6807 # serial 3
    6808 
    6809 # AM_SANITY_CHECK
    6810 # ---------------
    6811 AC_DEFUN([AM_SANITY_CHECK],
    6812 [AC_MSG_CHECKING([whether build environment is sane])
    6813 # Just in case
    6814 sleep 1
    6815 echo timestamp > conftest.file
    6816 # Do `set' in a subshell so we don't clobber the current shell's
    6817 # arguments.  Must try -L first in case configure is actually a
    6818 # symlink; some systems play weird games with the mod time of symlinks
    6819 # (eg FreeBSD returns the mod time of the symlink's containing
    6820 # directory).
    6821 if (
    6822    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    6823    if test "$[*]" = "X"; then
    6824       # -L didn't work.
    6825       set X `ls -t $srcdir/configure conftest.file`
    6826    fi
    6827    rm -f conftest.file
    6828    if test "$[*]" != "X $srcdir/configure conftest.file" \
    6829       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    6830 
    6831       # If neither matched, then we have a broken ls.  This can happen
    6832       # if, for instance, CONFIG_SHELL is bash and it inherits a
    6833       # broken ls alias from the environment.  This has actually
    6834       # happened.  Such a system could not be considered "sane".
    6835       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    6836 alias in your environment])
    6837    fi
    6838 
    6839    test "$[2]" = conftest.file
    6840    )
    6841 then
    6842    # Ok.
    6843    :
    6844 else
    6845    AC_MSG_ERROR([newly created file is older than distributed files!
    6846 Check your system clock])
    6847 fi
    6848 AC_MSG_RESULT(yes)])
    6849 
    6850 # AM_PROG_INSTALL_STRIP
    6851 
    6852 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    6853 
    6854 # This program is free software; you can redistribute it and/or modify
    6855 # it under the terms of the GNU General Public License as published by
    6856 # the Free Software Foundation; either version 2, or (at your option)
    6857 # any later version.
    6858 
    6859 # This program is distributed in the hope that it will be useful,
    6860 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6861 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6862 # GNU General Public License for more details.
    6863 
    6864 # You should have received a copy of the GNU General Public License
    6865 # along with this program; if not, write to the Free Software
    6866 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6867 # 02111-1307, USA.
    6868 
    6869 # One issue with vendor `install' (even GNU) is that you can't
    6870 # specify the program used to strip binaries.  This is especially
    6871 # annoying in cross-compiling environments, where the build's strip
    6872 # is unlikely to handle the host's binaries.
    6873 # Fortunately install-sh will honor a STRIPPROG variable, so we
    6874 # always use install-sh in `make install-strip', and initialize
    6875 # STRIPPROG with the value of the STRIP variable (set by the user).
    6876 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    6877 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    6878 # Installed binaries are usually stripped using `strip' when the user
    6879 # run `make install-strip'.  However `strip' might not be the right
    6880 # tool to use in cross-compilation environments, therefore Automake
    6881 # will honor the `STRIP' environment variable to overrule this program.
    6882 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    6883 if test "$cross_compiling" != no; then
    6884   AC_CHECK_TOOL([STRIP], [strip], :)
    6885 fi
    6886 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    6887 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    6888 
    6889 # Check how to create a tarball.                            -*- Autoconf -*-
    6890 
    6891 # Copyright (C) 2004  Free Software Foundation, Inc.
    6892 
    6893 # This program is free software; you can redistribute it and/or modify
    6894 # it under the terms of the GNU General Public License as published by
    6895 # the Free Software Foundation; either version 2, or (at your option)
    6896 # any later version.
    6897 
    6898 # This program is distributed in the hope that it will be useful,
    6899 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    6900 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    6901 # GNU General Public License for more details.
    6902 
    6903 # You should have received a copy of the GNU General Public License
    6904 # along with this program; if not, write to the Free Software
    6905 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    6906 # 02111-1307, USA.
    6907 
    6908 # serial 1
    6909 
    6910 
    6911 # _AM_PROG_TAR(FORMAT)
    6912 # --------------------
    6913 # Check how to create a tarball in format FORMAT.
    6914 # FORMAT should be one of `v7', `ustar', or `pax'.
    6915 #
    6916 # Substitute a variable $(am__tar) that is a command
    6917 # writing to stdout a FORMAT-tarball containing the directory
    6918 # $tardir.
    6919 #     tardir=directory && $(am__tar) > result.tar
    6920 #
    6921 # Substitute a variable $(am__untar) that extract such
    6922 # a tarball read from stdin.
    6923 #     $(am__untar) < result.tar
    6924 AC_DEFUN([_AM_PROG_TAR],
    6925 [# Always define AMTAR for backward compatibility.
    6926 AM_MISSING_PROG([AMTAR], [tar])
    6927 m4_if([$1], [v7],
    6928      [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
    6929      [m4_case([$1], [ustar],, [pax],,
    6930               [m4_fatal([Unknown tar format])])
    6931 AC_MSG_CHECKING([how to create a $1 tar archive])
    6932 # Loop over all known methods to create a tar archive until one works.
    6933 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    6934 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    6935 # Do not fold the above two line into one, because Tru64 sh and
    6936 # Solaris sh will not grok spaces in the rhs of `-'.
    6937 for _am_tool in $_am_tools
    6938 do
    6939   case $_am_tool in
    6940   gnutar)
    6941     for _am_tar in tar gnutar gtar;
    6942     do
    6943       AM_RUN_LOG([$_am_tar --version]) && break
    6944     done
    6945     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    6946     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    6947     am__untar="$_am_tar -xf -"
    6948     ;;
    6949   plaintar)
    6950     # Must skip GNU tar: if it does not support --format= it doesn't create
    6951     # ustar tarball either.
    6952     (tar --version) >/dev/null 2>&1 && continue
    6953     am__tar='tar chf - "$$tardir"'
    6954     am__tar_='tar chf - "$tardir"'
    6955     am__untar='tar xf -'
    6956     ;;
    6957   pax)
    6958     am__tar='pax -L -x $1 -w "$$tardir"'
    6959     am__tar_='pax -L -x $1 -w "$tardir"'
    6960     am__untar='pax -r'
    6961     ;;
    6962   cpio)
    6963     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    6964     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    6965     am__untar='cpio -i -H $1 -d'
    6966     ;;
    6967   none)
    6968     am__tar=false
    6969     am__tar_=false
    6970     am__untar=false
    6971     ;;
    6972   esac
    6973 
    6974   # If the value was cached, stop now.  We just wanted to have am__tar
    6975   # and am__untar set.
    6976   test -n "${am_cv_prog_tar_$1}" && break
    6977 
    6978   # tar/untar a dummy directory, and stop if the command works
    6979   rm -rf conftest.dir
    6980   mkdir conftest.dir
    6981   echo GrepMe > conftest.dir/file
    6982   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    6983   rm -rf conftest.dir
    6984   if test -s conftest.tar; then
    6985     AM_RUN_LOG([$am__untar <conftest.tar])
    6986     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    6987   fi
    6988 done
    6989 rm -rf conftest.dir
    6990 
    6991 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    6992 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
    6993 AC_SUBST([am__tar])
    6994 AC_SUBST([am__untar])
    6995 ]) # _AM_PROG_TAR
    6996 
  • trunk/psLib/configure.in

    r3186 r3191  
    4040dnl ----------------- CFITSIO options --------------------
    4141AC_ARG_WITH(cfitsio,
    42 [AS_HELP_STRING([--with-cfitsio=DIR],[Specify location of CFITSIO.])],
     42[AC_HELP_STRING([--with-cfitsio=DIR],[Specify location of CFITSIO.])],
    4343[CFITSIO_CFLAGS="-I$withval/include"
    4444 CFITSIO_LDFLAGS="-L$withval/lib"])
    4545AC_ARG_WITH(cfitsio-include,
    46 [AS_HELP_STRING([--with-cfitsio-include=DIR],[Specify CFITSIO include directory.])],
     46[AC_HELP_STRING([--with-cfitsio-include=DIR],[Specify CFITSIO include directory.])],
    4747[CFITSIO_CFLAGS="-I$withval"])
    4848AC_ARG_WITH(cfitsio-lib,
    49 [AS_HELP_STRING([--with-cfitsio-lib=DIR],[Specify CFITSIO library directory.])],
     49[AC_HELP_STRING([--with-cfitsio-lib=DIR],[Specify CFITSIO library directory.])],
    5050[CFITSIO_LDFLAGS="-L$withval"])
    5151CFLAGS="${CFLAGS=} $CFITSIO_CFLAGS"
     
    5656dnl ------------------ FFTW3 options ---------------------
    5757AC_ARG_WITH(fftw3,
    58 [AS_HELP_STRING([--with-fftw3=DIR],[Specify location of FFTW version 3.])],
     58[AC_HELP_STRING([--with-fftw3=DIR],[Specify location of FFTW version 3.])],
    5959[FFTW3_CFLAGS="-I$withval/include"
    6060 FFTW3_LDFLAGS="-L$withval/lib"])
    6161AC_ARG_WITH(fftw3-include,
    62 [AS_HELP_STRING([--with-fftw3-include=DIR],[Specify FFTW version 3 include directory.])],
     62[AC_HELP_STRING([--with-fftw3-include=DIR],[Specify FFTW version 3 include directory.])],
    6363[FFTW3_CFLAGS="-I$withval"])
    6464AC_ARG_WITH(fftw3-lib,
    65 [AS_HELP_STRING([--with-fftw3-lib=DIR],[Specify FFTW version 3 library directory.])],
     65[AC_HELP_STRING([--with-fftw3-lib=DIR],[Specify FFTW version 3 library directory.])],
    6666[FFTW3_LDFLAGS="-L$withval"])
    6767CFLAGS="${CFLAGS=} $FFTW3_CFLAGS"
     
    7272dnl -------------------- GSL options ---------------------
    7373AC_ARG_WITH(gsl-config,
    74 [AS_HELP_STRING([--with-gsl-config=FILE],[Specify location of gsl-config.])],
     74[AC_HELP_STRING([--with-gsl-config=FILE],[Specify location of gsl-config.])],
    7575[GSL_CONFIG=$withval],
    7676[GSL_CONFIG=`which gsl-config`])
     
    8585dnl ------------------- XML2 options ---------------------
    8686AC_ARG_WITH(xml2-config,
    87 [AS_HELP_STRING([--with-xml2-config=FILE],[Specify location of xml2-config.])],
     87[AC_HELP_STRING([--with-xml2-config=FILE],[Specify location of xml2-config.])],
    8888[XML_CONFIG=$withval],
    8989[XML_CONFIG=`which xml2-config`])
     
    9898dnl ------------------- SWIG options ---------------------
    9999AC_ARG_WITH(swig,
    100 [AS_HELP_STRING([--with-swig=FILE],[Specify location of SWIG executable.])],
     100[AC_HELP_STRING([--with-swig=FILE],[Specify location of SWIG executable.])],
    101101[SWIG=$withval],
    102102[SWIG=`which swig`])
     
    107107dnl ------------------- PERL options ---------------------
    108108AC_ARG_WITH(perl,
    109 [AS_HELP_STRING([--with-perl=FILE],[Specify location of PERL executable.])],
     109[AC_HELP_STRING([--with-perl=FILE],[Specify location of PERL executable.])],
    110110[AC_CHECK_PROG(PERL, $withval, $withval)],
    111111[AC_CHECK_PROG(PERL, perl, `which perl`)])
     
    118118dnl ---------------- PERLPREFIX option -------------------
    119119AC_ARG_WITH(perlprefix,
    120 [AS_HELP_STRING([--with-perlprefix=DIR],[Specify prefix of Perl Module's installation.])],
     120[AC_HELP_STRING([--with-perlprefix=DIR],[Specify prefix of Perl Module's installation.])],
    121121[PERL_PREFIX="$withval"],
    122122[PERL_PREFIX=""])
     
    160160AC_CONFIG_FILES([ test/sysUtils/Makefile ])
    161161AC_CONFIG_FILES([ etc/pslib/Makefile ])
     162AC_CONFIG_FILES([ etc/Makefile ])
    162163AC_CONFIG_FILES([ pslib-config ])
    163164AC_CONFIG_FILES([ pslib.pc ])
  • trunk/psLib/src/config.h.in

    r3185 r3191  
    77#undef DEBUG
    88
    9 /* Define to dummy `main' function (if any) required to link to the Fortran
     9/* Define to dummy `main' function (if any) required to link to the Fortran 77
    1010   libraries. */
    1111#undef F77_DUMMY_MAIN
     
    1717/* As F77_FUNC, but for C identifiers containing underscores. */
    1818#undef F77_FUNC_
    19 
    20 /* Define if F77 and FC dummy `main' functions are identical. */
    21 #undef FC_DUMMY_MAIN_EQ_F77
    2219
    2320/* Define to 1 if you have the <dlfcn.h> header file. */
  • trunk/psLib/src/dataIO/psLookupTable.c

    r3115 r3191  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-02-03 00:54:11 $
     9*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-11 20:27:33 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include <string.h>
    1616#include <ctype.h>
    17 #ifdef DARWIN
    1817#undef __STRICT_ANSI__
    19 #endif
    2018#include <stdlib.h>
    21 #ifdef DARWIN
    22 #define __STRICT_ANSI__
    23 #endif
     19#include <limits.h>
    2420#include <math.h>
    2521
  • trunk/psLib/src/dataManip/dataManip.i

    r3119 r3191  
    44%include "psFunctions.h"
    55%include "psMatrix.h"
    6 %include "psMatrixVectorArithmetic.h"
     6%include "psBinaryOp.h"
     7%include "psUnaryOp.h"
    78%include "psMinimize.h"
    89%include "psRandom.h"
  • trunk/psLib/src/fileUtils/psLookupTable.c

    r3115 r3191  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-02-03 00:54:11 $
     9*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-11 20:27:33 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include <string.h>
    1616#include <ctype.h>
    17 #ifdef DARWIN
    1817#undef __STRICT_ANSI__
    19 #endif
    2018#include <stdlib.h>
    21 #ifdef DARWIN
    22 #define __STRICT_ANSI__
    23 #endif
     19#include <limits.h>
    2420#include <math.h>
    2521
  • trunk/psLib/src/image/psImageConvolve.c

    r2911 r3191  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-01-05 21:16:14 $
     7 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-02-11 20:27:34 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1616#include "psImageFFT.h"
    1717#include "psImageExtraction.h"
    18 #include "psMatrixVectorArithmetic.h"
     18#include "psBinaryOp.h"
    1919#include "psMemory.h"
    2020#include "psLogMsg.h"
  • trunk/psLib/src/imageops/psImageConvolve.c

    r2911 r3191  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-01-05 21:16:14 $
     7 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-02-11 20:27:34 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1616#include "psImageFFT.h"
    1717#include "psImageExtraction.h"
    18 #include "psMatrixVectorArithmetic.h"
     18#include "psBinaryOp.h"
    1919#include "psMemory.h"
    2020#include "psLogMsg.h"
  • trunk/psLib/src/types/psLookupTable.c

    r3115 r3191  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-02-03 00:54:11 $
     9*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-11 20:27:33 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include <string.h>
    1616#include <ctype.h>
    17 #ifdef DARWIN
    1817#undef __STRICT_ANSI__
    19 #endif
    2018#include <stdlib.h>
    21 #ifdef DARWIN
    22 #define __STRICT_ANSI__
    23 #endif
     19#include <limits.h>
    2420#include <math.h>
    2521
Note: See TracChangeset for help on using the changeset viewer.