Made it possible to build SDL from a fresh checkout without any additional steps.
authorSam Lantinga <slouken@libsdl.org>
Wed, 16 Feb 2011 02:37:09 -0800
changeset 5310a9945ce48999
parent 5309 da080d3247c9
child 5311 be06989af398
Made it possible to build SDL from a fresh checkout without any additional steps.

The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
.hgignore
Makefile.ds
Makefile.in
Makefile.minimal
VisualC/SDL/SDL_VS2008.vcproj
VisualC/SDL/SDL_VS2010.vcxproj
VisualC/SDLmain/SDLmain_VS2008.vcproj
VisualC/SDLmain/SDLmain_VS2010.vcxproj
aclocal.m4
build-scripts/snapshot.sh
build-scripts/updaterev.sh
configure
include/SDL_config.h
include/SDL_config.h.default
include/SDL_revision.h
include/SDL_version.h
src/SDL.c
test/aclocal.m4
test/configure
test/testver.c
     1.1 --- a/.hgignore	Wed Feb 16 01:40:44 2011 -0800
     1.2 +++ b/.hgignore	Wed Feb 16 02:37:09 2011 -0800
     1.3 @@ -1,19 +1,13 @@
     1.4  syntax:glob
     1.5 -aclocal.m4
     1.6  autom4te*
     1.7  config.cache
     1.8  config.log
     1.9  config.status
    1.10 -configure
    1.11 -libtool
    1.12  Makefile
    1.13  sdl-config
    1.14  SDL.spec
    1.15  SDL.qpg
    1.16  build
    1.17 -build-deps
    1.18 -VisualC
    1.19 -VisualCE
    1.20  # for Xcode
    1.21  *.orig
    1.22  *.swp
    1.23 @@ -29,18 +23,12 @@
    1.24  (^|/)build($|/)
    1.25  .DS_Store
    1.26  sdl.pc
    1.27 -include/SDL_config.h
    1.28 -include/SDL_revision.h
    1.29 -test/aclocal.m4
    1.30  test/autom4te*
    1.31  test/config.cache
    1.32  test/config.log
    1.33  test/config.status
    1.34 -test/configure
    1.35  test/Makefile
    1.36  test/SDL.dll
    1.37 -test/stdout.txt
    1.38 -test/stderr.txt
    1.39  test/checkkeys
    1.40  test/graywin
    1.41  test/loopwave
     2.1 --- a/Makefile.ds	Wed Feb 16 01:40:44 2011 -0800
     2.2 +++ b/Makefile.ds	Wed Feb 16 02:37:09 2011 -0800
     2.3 @@ -122,7 +122,7 @@
     2.4  src/atomic/SDL_spinlock.o: src/atomic/SDL_spinlock.c
     2.5  	$(CC) $(CFLAGS) -mno-thumb -o $@ -c $^
     2.6  
     2.7 -$(TARGET): copy_config $(OBJS)
     2.8 +$(TARGET): $(OBJS)
     2.9  	$(AR) rc $(TARGET) $(OBJS)
    2.10  	-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
    2.11  
    2.12 @@ -136,9 +136,5 @@
    2.13  #	$(MAKE) -C test/nds-test-progs/sprite
    2.14  #	$(MAKE) -C test/nds-test-progs/sprite2
    2.15  
    2.16 -copy_config:
    2.17 -	@cp include/SDL_config.h.default include/SDL_config.h
    2.18 -
    2.19  clean:
    2.20 -	rm -f include/SDL_config.h $(OBJS)
    2.21 -
    2.22 +	rm -f $(OBJS)
     3.1 --- a/Makefile.in	Wed Feb 16 01:40:44 2011 -0800
     3.2 +++ b/Makefile.in	Wed Feb 16 02:37:09 2011 -0800
     3.3 @@ -72,7 +72,6 @@
     3.4  	SDL_quit.h \
     3.5  	SDL_rect.h \
     3.6  	SDL_render.h \
     3.7 -	SDL_revision.h \
     3.8  	SDL_rwops.h \
     3.9  	SDL_scancode.h \
    3.10  	SDL_shape.h \
    3.11 @@ -134,6 +133,7 @@
    3.12  	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \
    3.13  	done
    3.14  	$(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h
    3.15 +	$(INSTALL) -m 644 include/SDL_revision.h $(DESTDIR)$(includedir)/SDL/SDL_revision.h
    3.16  install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    3.17  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
    3.18  	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
    3.19 @@ -153,6 +153,7 @@
    3.20  	    rm -f $(DESTDIR)$(includedir)/SDL/$$file; \
    3.21  	done
    3.22  	rm -f $(DESTDIR)$(includedir)/SDL/SDL_config.h
    3.23 +	rm -f $(DESTDIR)$(includedir)/SDL/SDL_revision.h
    3.24  	-rmdir $(DESTDIR)$(includedir)/SDL
    3.25  uninstall-lib:
    3.26  	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(TARGET)
    3.27 @@ -166,7 +167,7 @@
    3.28  	if test -f test/Makefile; then (cd test; $(MAKE) $@); fi
    3.29  
    3.30  distclean: clean
    3.31 -	rm -f Makefile include/SDL_config.h sdl-config
    3.32 +	rm -f Makefile include/SDL_config.h include/SDL_revision.h sdl-config
    3.33  	rm -f SDL.qpg
    3.34  	rm -f config.status config.cache config.log libtool
    3.35  	rm -rf $(srcdir)/autom4te*
    3.36 @@ -178,15 +179,11 @@
    3.37  	    -name '*.orig' -o \
    3.38  	    -name '.#*' \) \
    3.39  	    -exec rm -f {} \;
    3.40 -	cp $(srcdir)/include/SDL_config.h.default $(srcdir)/include/SDL_config.h
    3.41  	if test -f test/Makefile; then (cd test; $(MAKE) $@); fi
    3.42  
    3.43  dist $(distfile):
    3.44  	$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
    3.45  	tar cf - $(DIST) | (cd $(distdir); tar xf -)
    3.46 -	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
    3.47 -	$(SHELL) $(distdir)/build-scripts/updaterev.sh
    3.48 -	rm -rf `find $(distdir) -name .svn`
    3.49  	find $(distdir) \( \
    3.50  	    -name '*~' -o \
    3.51  	    -name '*.bak' -o \
    3.52 @@ -223,8 +220,4 @@
    3.53  
    3.54  # Run indent and then commit modified files
    3.55  commit: indent
    3.56 -	svn commit
    3.57 -
    3.58 -# Create a SVN snapshot that people can run update on
    3.59 -snapshot:
    3.60 -	$(SHELL) $(auxdir)/snapshot.sh
    3.61 +	hg commit
     4.1 --- a/Makefile.minimal	Wed Feb 16 01:40:44 2011 -0800
     4.2 +++ b/Makefile.minimal	Wed Feb 16 02:37:09 2011 -0800
     4.3 @@ -5,41 +5,37 @@
     4.4  AR	= ar
     4.5  RANLIB	= ranlib
     4.6  
     4.7 -CONFIG_H = include/SDL_config.h
     4.8  TARGET  = libSDL.a
     4.9  SOURCES = \
    4.10  	src/*.c \
    4.11  	src/audio/*.c \
    4.12 -	src/cdrom/*.c \
    4.13 +	src/audio/dummy/*.c \
    4.14  	src/cpuinfo/*.c \
    4.15  	src/events/*.c \
    4.16  	src/file/*.c \
    4.17 +	src/haptic/*.c \
    4.18 +	src/haptic/dummy/*.c \
    4.19  	src/joystick/*.c \
    4.20 -	src/haptic/*.c \
    4.21 +	src/joystick/dummy/*.c \
    4.22 +	src/loadso/dummy/*.c \
    4.23 +	src/power/*.c \
    4.24 +	src/render/*.c \
    4.25 +	src/render/software/*.c \
    4.26  	src/stdlib/*.c \
    4.27  	src/thread/*.c \
    4.28 +	src/thread/generic/*.c \
    4.29  	src/timer/*.c \
    4.30 +	src/timer/dummy/*.c \
    4.31  	src/video/*.c \
    4.32 -	src/power/*.c \
    4.33 -	src/audio/dummy/*.c \
    4.34  	src/video/dummy/*.c \
    4.35 -	src/joystick/dummy/*.c \
    4.36 -	src/haptic/dummy/*.c \
    4.37 -	src/cdrom/dummy/*.c \
    4.38 -	src/thread/generic/*.c \
    4.39 -	src/timer/dummy/*.c \
    4.40 -	src/loadso/dummy/*.c \
    4.41  
    4.42  OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
    4.43  
    4.44  all: $(TARGET)
    4.45  
    4.46 -$(TARGET): $(CONFIG_H) $(OBJECTS)
    4.47 +$(TARGET): $(OBJECTS)
    4.48  	$(AR) crv $@ $^
    4.49  	$(RANLIB) $@
    4.50  
    4.51 -$(CONFIG_H):
    4.52 -	cp $(CONFIG_H).default $(CONFIG_H)
    4.53 -
    4.54  clean:
    4.55  	rm -f $(TARGET) $(OBJECTS)
     5.1 --- a/VisualC/SDL/SDL_VS2008.vcproj	Wed Feb 16 01:40:44 2011 -0800
     5.2 +++ b/VisualC/SDL/SDL_VS2008.vcproj	Wed Feb 16 02:37:09 2011 -0800
     5.3 @@ -29,8 +29,7 @@
     5.4  			>
     5.5  			<Tool
     5.6  				Name="VCPreBuildEventTool"
     5.7 -				Description="Making sure basic SDL headers are in place..."
     5.8 -				CommandLine="echo Copying SDL_config_windows.h to SDL_config.h...&#x0D;&#x0A;xcopy /d /q /y &quot;$(ProjectDir)\..\..\include\SDL_config_windows.h&quot; &quot;$(ProjectDir)\..\..\include\SDL_config.h&quot;&#x0D;&#x0A;&#x0D;&#x0A;if exist &quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot; goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION &quot;hg-0:baadf00d&quot; &gt;&quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot;&#x0D;&#x0A;:SDLREVISIONOKAY&#x0D;&#x0A;"
     5.9 +				CommandLine=""
    5.10  			/>
    5.11  			<Tool
    5.12  				Name="VCCustomBuildTool"
    5.13 @@ -200,8 +199,7 @@
    5.14  			>
    5.15  			<Tool
    5.16  				Name="VCPreBuildEventTool"
    5.17 -				Description="Making sure basic SDL headers are in place..."
    5.18 -				CommandLine="echo Copying SDL_config_windows.h to SDL_config.h...&#x0D;&#x0A;xcopy /d /q /y &quot;$(ProjectDir)\..\..\include\SDL_config_windows.h&quot; &quot;$(ProjectDir)\..\..\include\SDL_config.h&quot;&#x0D;&#x0A;&#x0D;&#x0A;if exist &quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot; goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION &quot;hg-0:baadf00d&quot; &gt;&quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot;&#x0D;&#x0A;:SDLREVISIONOKAY&#x0D;&#x0A;"
    5.19 +				CommandLine=""
    5.20  			/>
    5.21  			<Tool
    5.22  				Name="VCCustomBuildTool"
     6.1 --- a/VisualC/SDL/SDL_VS2010.vcxproj	Wed Feb 16 01:40:44 2011 -0800
     6.2 +++ b/VisualC/SDL/SDL_VS2010.vcxproj	Wed Feb 16 02:37:09 2011 -0800
     6.3 @@ -72,17 +72,7 @@
     6.4      <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
     6.5    </PropertyGroup>
     6.6    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     6.7 -    <PreBuildEvent>
     6.8 -      <Message>Making sure basic SDL headers are in place...</Message>
     6.9 -      <Command>echo Copying SDL_config_windows.h to SDL_config.h...
    6.10 -xcopy /d /q /y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    6.11 -
    6.12 -if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    6.13 -echo Creating stub SDL_revision.h file...
    6.14 -echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    6.15 -:SDLREVISIONOKAY
    6.16 -</Command>
    6.17 -    </PreBuildEvent>
    6.18 +    <PreBuildEvent />
    6.19      <Midl>
    6.20        <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    6.21        <MkTypLibCompatible>true</MkTypLibCompatible>
    6.22 @@ -150,17 +140,7 @@
    6.23      </Link>
    6.24    </ItemDefinitionGroup>
    6.25    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    6.26 -    <PreBuildEvent>
    6.27 -      <Message>Making sure basic SDL headers are in place...</Message>
    6.28 -      <Command>echo Copying SDL_config_windows.h to SDL_config.h...
    6.29 -xcopy /d /q /y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    6.30 -
    6.31 -if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    6.32 -echo Creating stub SDL_revision.h file...
    6.33 -echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    6.34 -:SDLREVISIONOKAY
    6.35 -</Command>
    6.36 -    </PreBuildEvent>
    6.37 +    <PreBuildEvent />
    6.38      <Midl>
    6.39        <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    6.40        <MkTypLibCompatible>true</MkTypLibCompatible>
    6.41 @@ -466,4 +446,4 @@
    6.42    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    6.43    <ImportGroup Label="ExtensionTargets">
    6.44    </ImportGroup>
    6.45 -</Project>
    6.46 +</Project>
    6.47 \ No newline at end of file
     7.1 --- a/VisualC/SDLmain/SDLmain_VS2008.vcproj	Wed Feb 16 01:40:44 2011 -0800
     7.2 +++ b/VisualC/SDLmain/SDLmain_VS2008.vcproj	Wed Feb 16 02:37:09 2011 -0800
     7.3 @@ -29,8 +29,7 @@
     7.4  			>
     7.5  			<Tool
     7.6  				Name="VCPreBuildEventTool"
     7.7 -				Description="Making sure basic SDL headers are in place..."
     7.8 -				CommandLine="echo Copying SDL_config_windows.h to SDL_config.h...&#x0D;&#x0A;copy /Y &quot;$(ProjectDir)\..\..\include\SDL_config_windows.h&quot; &quot;$(ProjectDir)\..\..\include\SDL_config.h&quot;&#x0D;&#x0A;&#x0D;&#x0A;if exist &quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot; goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION &quot;hg-0:baadf00d&quot; &gt;&quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot;&#x0D;&#x0A;:SDLREVISIONOKAY&#x0D;&#x0A;"
     7.9 +				CommandLine=""
    7.10  			/>
    7.11  			<Tool
    7.12  				Name="VCCustomBuildTool"
    7.13 @@ -164,8 +163,7 @@
    7.14  			>
    7.15  			<Tool
    7.16  				Name="VCPreBuildEventTool"
    7.17 -				Description="Making sure basic SDL headers are in place..."
    7.18 -				CommandLine="echo Copying SDL_config_windows.h to SDL_config.h...&#x0D;&#x0A;copy /Y &quot;$(ProjectDir)\..\..\include\SDL_config_windows.h&quot; &quot;$(ProjectDir)\..\..\include\SDL_config.h&quot;&#x0D;&#x0A;&#x0D;&#x0A;if exist &quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot; goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION &quot;hg-0:baadf00d&quot; &gt;&quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot;&#x0D;&#x0A;:SDLREVISIONOKAY&#x0D;&#x0A;"
    7.19 +				CommandLine=""
    7.20  			/>
    7.21  			<Tool
    7.22  				Name="VCCustomBuildTool"
    7.23 @@ -299,8 +297,7 @@
    7.24  			>
    7.25  			<Tool
    7.26  				Name="VCPreBuildEventTool"
    7.27 -				Description="Making sure basic SDL headers are in place..."
    7.28 -				CommandLine="echo Copying SDL_config_windows.h to SDL_config.h...&#x0D;&#x0A;copy /Y &quot;$(ProjectDir)\..\..\include\SDL_config_windows.h&quot; &quot;$(ProjectDir)\..\..\include\SDL_config.h&quot;&#x0D;&#x0A;&#x0D;&#x0A;if exist &quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot; goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION &quot;hg-0:baadf00d&quot; &gt;&quot;$(ProjectDir)\..\..\include\SDL_revision.h&quot;&#x0D;&#x0A;:SDLREVISIONOKAY&#x0D;&#x0A;"
    7.29 +				CommandLine=""
    7.30  			/>
    7.31  			<Tool
    7.32  				Name="VCCustomBuildTool"
     8.1 --- a/VisualC/SDLmain/SDLmain_VS2010.vcxproj	Wed Feb 16 01:40:44 2011 -0800
     8.2 +++ b/VisualC/SDLmain/SDLmain_VS2010.vcxproj	Wed Feb 16 02:37:09 2011 -0800
     8.3 @@ -99,16 +99,7 @@
     8.4      <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
     8.5    </PropertyGroup>
     8.6    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     8.7 -    <PreBuildEvent>
     8.8 -      <Message>Making sure basic SDL headers are in place...</Message>
     8.9 -      <Command>echo Copying SDL_config_windows.h to SDL_config.h...
    8.10 -copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    8.11 -
    8.12 -if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    8.13 -echo Creating stub SDL_revision.h file...
    8.14 -echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    8.15 -:SDLREVISIONOKAY</Command>
    8.16 -    </PreBuildEvent>
    8.17 +    <PreBuildEvent />
    8.18      <ClCompile>
    8.19        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    8.20        <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    8.21 @@ -150,16 +141,7 @@
    8.22      </Lib>
    8.23    </ItemDefinitionGroup>
    8.24    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'">
    8.25 -    <PreBuildEvent>
    8.26 -      <Message>Making sure basic SDL headers are in place...</Message>
    8.27 -      <Command>echo Copying SDL_config_windows.h to SDL_config.h...
    8.28 -copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    8.29 -
    8.30 -if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    8.31 -echo Creating stub SDL_revision.h file...
    8.32 -echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    8.33 -:SDLREVISIONOKAY</Command>
    8.34 -    </PreBuildEvent>
    8.35 +    <PreBuildEvent />
    8.36      <ClCompile>
    8.37        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    8.38        <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    8.39 @@ -201,16 +183,7 @@
    8.40      </Lib>
    8.41    </ItemDefinitionGroup>
    8.42    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    8.43 -    <PreBuildEvent>
    8.44 -      <Message>Making sure basic SDL headers are in place...</Message>
    8.45 -      <Command>echo Copying SDL_config_windows.h to SDL_config.h...
    8.46 -copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
    8.47 -
    8.48 -if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
    8.49 -echo Creating stub SDL_revision.h file...
    8.50 -echo #define SDL_REVISION "hg-0:baadf00d" &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
    8.51 -:SDLREVISIONOKAY</Command>
    8.52 -    </PreBuildEvent>
    8.53 +    <PreBuildEvent />
    8.54      <ClCompile>
    8.55        <Optimization>Disabled</Optimization>
    8.56        <AdditionalIncludeDirectories>..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    8.57 @@ -255,4 +228,4 @@
    8.58    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    8.59    <ImportGroup Label="ExtensionTargets">
    8.60    </ImportGroup>
    8.61 -</Project>
    8.62 
    8.63 +</Project>
    8.64 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/aclocal.m4	Wed Feb 16 02:37:09 2011 -0800
     9.3 @@ -0,0 +1,9486 @@
     9.4 +define(AC_CHECK_DEFINE,[dnl
     9.5 +  AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
     9.6 +    AC_EGREP_CPP([YES_IS_DEFINED], [
     9.7 +#include <$2>
     9.8 +#ifdef $1
     9.9 +YES_IS_DEFINED
    9.10 +#endif
    9.11 +    ], ac_cv_define_$1=yes, ac_cv_define_$1=no)
    9.12 +  )
    9.13 +  if test "$ac_cv_define_$1" = "yes" ; then
    9.14 +    AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])
    9.15 +  fi
    9.16 +])dnl
    9.17 +AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE])
    9.18 +##############################################################################
    9.19 +dnl Configure Paths for Alsa
    9.20 +dnl Some modifications by Richard Boulton <richard-alsa@tartarus.org>
    9.21 +dnl Christopher Lansdown <lansdoct@cs.alfred.edu>
    9.22 +dnl Jaroslav Kysela <perex@suse.cz>
    9.23 +dnl Last modification: alsa.m4,v 1.23 2004/01/16 18:14:22 tiwai Exp
    9.24 +dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    9.25 +dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate.
    9.26 +dnl enables arguments --with-alsa-prefix=
    9.27 +dnl                   --with-alsa-enc-prefix=
    9.28 +dnl                   --disable-alsatest
    9.29 +dnl
    9.30 +dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified,
    9.31 +dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result.
    9.32 +dnl
    9.33 +AC_DEFUN([AM_PATH_ALSA],
    9.34 +[dnl Save the original CFLAGS, LDFLAGS, and LIBS
    9.35 +alsa_save_CFLAGS="$CFLAGS"
    9.36 +alsa_save_LDFLAGS="$LDFLAGS"
    9.37 +alsa_save_LIBS="$LIBS"
    9.38 +alsa_found=yes
    9.39 +
    9.40 +dnl
    9.41 +dnl Get the cflags and libraries for alsa
    9.42 +dnl
    9.43 +AC_ARG_WITH(alsa-prefix,
    9.44 +[  --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)],
    9.45 +[alsa_prefix="$withval"], [alsa_prefix=""])
    9.46 +
    9.47 +AC_ARG_WITH(alsa-inc-prefix,
    9.48 +[  --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)],
    9.49 +[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""])
    9.50 +
    9.51 +dnl FIXME: this is not yet implemented
    9.52 +AC_ARG_ENABLE(alsatest,
    9.53 +[  --disable-alsatest      Do not try to compile and run a test Alsa program],
    9.54 +[enable_alsatest="$enableval"],
    9.55 +[enable_alsatest=yes])
    9.56 +
    9.57 +dnl Add any special include directories
    9.58 +AC_MSG_CHECKING(for ALSA CFLAGS)
    9.59 +if test "$alsa_inc_prefix" != "" ; then
    9.60 +	ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
    9.61 +	CFLAGS="$CFLAGS -I$alsa_inc_prefix"
    9.62 +fi
    9.63 +AC_MSG_RESULT($ALSA_CFLAGS)
    9.64 +
    9.65 +dnl add any special lib dirs
    9.66 +AC_MSG_CHECKING(for ALSA LDFLAGS)
    9.67 +if test "$alsa_prefix" != "" ; then
    9.68 +	ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
    9.69 +	LDFLAGS="$LDFLAGS $ALSA_LIBS"
    9.70 +fi
    9.71 +
    9.72 +dnl add the alsa library
    9.73 +ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
    9.74 +LIBS=`echo $LIBS | sed 's/-lm//'`
    9.75 +LIBS=`echo $LIBS | sed 's/-ldl//'`
    9.76 +LIBS=`echo $LIBS | sed 's/-lpthread//'`
    9.77 +LIBS=`echo $LIBS | sed 's/  //'`
    9.78 +LIBS="$ALSA_LIBS $LIBS"
    9.79 +AC_MSG_RESULT($ALSA_LIBS)
    9.80 +
    9.81 +dnl Check for a working version of libasound that is of the right version.
    9.82 +min_alsa_version=ifelse([$1], ,0.1.1,$1)
    9.83 +AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version)
    9.84 +no_alsa=""
    9.85 +    alsa_min_major_version=`echo $min_alsa_version | \
    9.86 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    9.87 +    alsa_min_minor_version=`echo $min_alsa_version | \
    9.88 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    9.89 +    alsa_min_micro_version=`echo $min_alsa_version | \
    9.90 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    9.91 +
    9.92 +AC_LANG_SAVE
    9.93 +AC_LANG_C
    9.94 +AC_TRY_COMPILE([
    9.95 +#include <alsa/asoundlib.h>
    9.96 +], [
    9.97 +/* ensure backward compatibility */
    9.98 +#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
    9.99 +#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
   9.100 +#endif
   9.101 +#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
   9.102 +#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
   9.103 +#endif
   9.104 +#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
   9.105 +#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
   9.106 +#endif
   9.107 +
   9.108 +#  if(SND_LIB_MAJOR > $alsa_min_major_version)
   9.109 +  exit(0);
   9.110 +#  else
   9.111 +#    if(SND_LIB_MAJOR < $alsa_min_major_version)
   9.112 +#       error not present
   9.113 +#    endif
   9.114 +
   9.115 +#   if(SND_LIB_MINOR > $alsa_min_minor_version)
   9.116 +  exit(0);
   9.117 +#   else
   9.118 +#     if(SND_LIB_MINOR < $alsa_min_minor_version)
   9.119 +#          error not present
   9.120 +#      endif
   9.121 +
   9.122 +#      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
   9.123 +#        error not present
   9.124 +#      endif
   9.125 +#    endif
   9.126 +#  endif
   9.127 +exit(0);
   9.128 +],
   9.129 +  [AC_MSG_RESULT(found.)],
   9.130 +  [AC_MSG_RESULT(not present.)
   9.131 +   ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)])
   9.132 +   alsa_found=no]
   9.133 +)
   9.134 +AC_LANG_RESTORE
   9.135 +
   9.136 +dnl Now that we know that we have the right version, let's see if we have the library and not just the headers.
   9.137 +if test "x$enable_alsatest" = "xyes"; then
   9.138 +AC_CHECK_LIB([asound], [snd_ctl_open],,
   9.139 +	[ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)])
   9.140 +	 alsa_found=no]
   9.141 +)
   9.142 +fi
   9.143 +
   9.144 +if test "x$alsa_found" = "xyes" ; then
   9.145 +   ifelse([$2], , :, [$2])
   9.146 +   LIBS=`echo $LIBS | sed 's/-lasound//g'`
   9.147 +   LIBS=`echo $LIBS | sed 's/  //'`
   9.148 +   LIBS="-lasound $LIBS"
   9.149 +fi
   9.150 +if test "x$alsa_found" = "xno" ; then
   9.151 +   ifelse([$3], , :, [$3])
   9.152 +   CFLAGS="$alsa_save_CFLAGS"
   9.153 +   LDFLAGS="$alsa_save_LDFLAGS"
   9.154 +   LIBS="$alsa_save_LIBS"
   9.155 +   ALSA_CFLAGS=""
   9.156 +   ALSA_LIBS=""
   9.157 +fi
   9.158 +
   9.159 +dnl That should be it.  Now just export out symbols:
   9.160 +AC_SUBST(ALSA_CFLAGS)
   9.161 +AC_SUBST(ALSA_LIBS)
   9.162 +])
   9.163 +# ===========================================================================
   9.164 +#  http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html
   9.165 +# ===========================================================================
   9.166 +#
   9.167 +# SYNOPSIS
   9.168 +#
   9.169 +#   AX_CHECK_COMPILER_FLAGS(FLAGS, [ACTION-SUCCESS], [ACTION-FAILURE])
   9.170 +#
   9.171 +# DESCRIPTION
   9.172 +#
   9.173 +#   Check whether the given compiler FLAGS work with the current language's
   9.174 +#   compiler, or whether they give an error. (Warnings, however, are
   9.175 +#   ignored.)
   9.176 +#
   9.177 +#   ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
   9.178 +#   success/failure.
   9.179 +#
   9.180 +# LICENSE
   9.181 +#
   9.182 +#   Copyright (c) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
   9.183 +#   Copyright (c) 2009 Matteo Frigo
   9.184 +#
   9.185 +#   This program is free software: you can redistribute it and/or modify it
   9.186 +#   under the terms of the GNU General Public License as published by the
   9.187 +#   Free Software Foundation, either version 3 of the License, or (at your
   9.188 +#   option) any later version.
   9.189 +#
   9.190 +#   This program is distributed in the hope that it will be useful, but
   9.191 +#   WITHOUT ANY WARRANTY; without even the implied warranty of
   9.192 +#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
   9.193 +#   Public License for more details.
   9.194 +#
   9.195 +#   You should have received a copy of the GNU General Public License along
   9.196 +#   with this program. If not, see <http://www.gnu.org/licenses/>.
   9.197 +#
   9.198 +#   As a special exception, the respective Autoconf Macro's copyright owner
   9.199 +#   gives unlimited permission to copy, distribute and modify the configure
   9.200 +#   scripts that are the output of Autoconf when processing the Macro. You
   9.201 +#   need not follow the terms of the GNU General Public License when using
   9.202 +#   or distributing such scripts, even though portions of the text of the
   9.203 +#   Macro appear in them. The GNU General Public License (GPL) does govern
   9.204 +#   all other use of the material that constitutes the Autoconf Macro.
   9.205 +#
   9.206 +#   This special exception to the GPL applies to versions of the Autoconf
   9.207 +#   Macro released by the Autoconf Archive. When you make and distribute a
   9.208 +#   modified version of the Autoconf Macro, you may extend this special
   9.209 +#   exception to the GPL to apply to your modified version as well.
   9.210 +
   9.211 +#serial 9
   9.212 +
   9.213 +AC_DEFUN([AX_CHECK_COMPILER_FLAGS],
   9.214 +[AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX
   9.215 +AC_MSG_CHECKING([whether _AC_LANG compiler accepts $1])
   9.216 +dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname:
   9.217 +AS_LITERAL_IF([$1],
   9.218 +  [AC_CACHE_VAL(AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1]), [
   9.219 +      ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
   9.220 +      _AC_LANG_PREFIX[]FLAGS="$1"
   9.221 +      AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
   9.222 +        AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
   9.223 +        AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
   9.224 +      _AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])],
   9.225 +  [ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
   9.226 +   _AC_LANG_PREFIX[]FLAGS="$1"
   9.227 +   AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
   9.228 +     eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=yes,
   9.229 +     eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])=no)
   9.230 +   _AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])
   9.231 +eval ax_check_compiler_flags=$AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_[$1])
   9.232 +AC_MSG_RESULT($ax_check_compiler_flags)
   9.233 +if test "x$ax_check_compiler_flags" = xyes; then
   9.234 +	m4_default([$2], :)
   9.235 +else
   9.236 +	m4_default([$3], :)
   9.237 +fi
   9.238 +])dnl AX_CHECK_COMPILER_FLAGS
   9.239 +# ===========================================================================
   9.240 +#      http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html
   9.241 +# ===========================================================================
   9.242 +#
   9.243 +# SYNOPSIS
   9.244 +#
   9.245 +#   AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
   9.246 +#
   9.247 +# DESCRIPTION
   9.248 +#
   9.249 +#   This macro tries to guess the "native" arch corresponding to the target
   9.250 +#   architecture for use with gcc's -march=arch or -mtune=arch flags. If
   9.251 +#   found, the cache variable $ax_cv_gcc_archflag is set to this flag and
   9.252 +#   ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is is set to
   9.253 +#   "unknown" and ACTION-FAILURE is executed. The default ACTION-SUCCESS is
   9.254 +#   to add $ax_cv_gcc_archflag to the end of $CFLAGS.
   9.255 +#
   9.256 +#   PORTABLE? should be either [yes] (default) or [no]. In the former case,
   9.257 +#   the flag is set to -mtune (or equivalent) so that the architecture is
   9.258 +#   only used for tuning, but the instruction set used is still portable. In
   9.259 +#   the latter case, the flag is set to -march (or equivalent) so that
   9.260 +#   architecture-specific instructions are enabled.
   9.261 +#
   9.262 +#   The user can specify --with-gcc-arch=<arch> in order to override the
   9.263 +#   macro's choice of architecture, or --without-gcc-arch to disable this.
   9.264 +#
   9.265 +#   When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
   9.266 +#   called unless the user specified --with-gcc-arch manually.
   9.267 +#
   9.268 +#   Requires macros: AX_CHECK_COMPILER_FLAGS, AX_GCC_X86_CPUID
   9.269 +#
   9.270 +#   (The main emphasis here is on recent CPUs, on the principle that doing
   9.271 +#   high-performance computing on old hardware is uncommon.)
   9.272 +#
   9.273 +# LICENSE
   9.274 +#
   9.275 +#   Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
   9.276 +#   Copyright (c) 2008 Matteo Frigo
   9.277 +#
   9.278 +#   This program is free software: you can redistribute it and/or modify it
   9.279 +#   under the terms of the GNU General Public License as published by the
   9.280 +#   Free Software Foundation, either version 3 of the License, or (at your
   9.281 +#   option) any later version.
   9.282 +#
   9.283 +#   This program is distributed in the hope that it will be useful, but
   9.284 +#   WITHOUT ANY WARRANTY; without even the implied warranty of
   9.285 +#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
   9.286 +#   Public License for more details.
   9.287 +#
   9.288 +#   You should have received a copy of the GNU General Public License along
   9.289 +#   with this program. If not, see <http://www.gnu.org/licenses/>.
   9.290 +#
   9.291 +#   As a special exception, the respective Autoconf Macro's copyright owner
   9.292 +#   gives unlimited permission to copy, distribute and modify the configure
   9.293 +#   scripts that are the output of Autoconf when processing the Macro. You
   9.294 +#   need not follow the terms of the GNU General Public License when using
   9.295 +#   or distributing such scripts, even though portions of the text of the
   9.296 +#   Macro appear in them. The GNU General Public License (GPL) does govern
   9.297 +#   all other use of the material that constitutes the Autoconf Macro.
   9.298 +#
   9.299 +#   This special exception to the GPL applies to versions of the Autoconf
   9.300 +#   Macro released by the Autoconf Archive. When you make and distribute a
   9.301 +#   modified version of the Autoconf Macro, you may extend this special
   9.302 +#   exception to the GPL to apply to your modified version as well.
   9.303 +
   9.304 +#serial 8
   9.305 +
   9.306 +AC_DEFUN([AX_GCC_ARCHFLAG],
   9.307 +[AC_REQUIRE([AC_PROG_CC])
   9.308 +AC_REQUIRE([AC_CANONICAL_HOST])
   9.309 +
   9.310 +AC_ARG_WITH(gcc-arch, [AS_HELP_STRING([--with-gcc-arch=<arch>], [use architecture <arch> for gcc -march/-mtune, instead of guessing])],
   9.311 +	ax_gcc_arch=$withval, ax_gcc_arch=yes)
   9.312 +
   9.313 +AC_MSG_CHECKING([for gcc architecture flag])
   9.314 +AC_MSG_RESULT([])
   9.315 +AC_CACHE_VAL(ax_cv_gcc_archflag,
   9.316 +[
   9.317 +ax_cv_gcc_archflag="unknown"
   9.318 +
   9.319 +if test "$GCC" = yes; then
   9.320 +
   9.321 +if test "x$ax_gcc_arch" = xyes; then
   9.322 +ax_gcc_arch=""
   9.323 +if test "$cross_compiling" = no; then
   9.324 +case $host_cpu in
   9.325 +  i[[3456]]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
   9.326 +     AX_GCC_X86_CPUID(0)
   9.327 +     AX_GCC_X86_CPUID(1)
   9.328 +     case $ax_cv_gcc_x86_cpuid_0 in
   9.329 +       *:756e6547:*:*) # Intel
   9.330 +          case $ax_cv_gcc_x86_cpuid_1 in
   9.331 +	    *5[[48]]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
   9.332 +	    *5??:*:*:*) ax_gcc_arch=pentium ;;
   9.333 +	    *6[[3456]]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
   9.334 +	    *6a?:*[[01]]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
   9.335 +	    *6a?:*[[234]]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
   9.336 +	    *6[[9d]]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
   9.337 +	    *6[[78b]]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
   9.338 +	    *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
   9.339 +            *f3[[347]]:*:*:*|*f4[1347]:*:*:*)
   9.340 +		case $host_cpu in
   9.341 +                  x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
   9.342 +                  *) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
   9.343 +                esac ;;
   9.344 +            *f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
   9.345 +          esac ;;
   9.346 +       *:68747541:*:*) # AMD
   9.347 +          case $ax_cv_gcc_x86_cpuid_1 in
   9.348 +	    *5[[67]]?:*:*:*) ax_gcc_arch=k6 ;;
   9.349 +	    *5[[8d]]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
   9.350 +	    *5[[9]]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
   9.351 +	    *60?:*:*:*) ax_gcc_arch=k7 ;;
   9.352 +	    *6[[12]]?:*:*:*) ax_gcc_arch="athlon k7" ;;
   9.353 +	    *6[[34]]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
   9.354 +	    *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
   9.355 +	    *6[[68a]]?:*:*:*)
   9.356 +	       AX_GCC_X86_CPUID(0x80000006) # L2 cache size
   9.357 +	       case $ax_cv_gcc_x86_cpuid_0x80000006 in
   9.358 +                 *:*:*[[1-9a-f]]??????:*) # (L2 = ecx >> 16) >= 256
   9.359 +			ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
   9.360 +                 *) ax_gcc_arch="athlon-4 athlon k7" ;;
   9.361 +	       esac ;;
   9.362 +	    *f[[4cef8b]]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
   9.363 +	    *f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
   9.364 +	    *f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
   9.365 +	    *f??:*:*:*) ax_gcc_arch="k8" ;;
   9.366 +          esac ;;
   9.367 +	*:746e6543:*:*) # IDT
   9.368 +	   case $ax_cv_gcc_x86_cpuid_1 in
   9.369 +	     *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
   9.370 +	     *58?:*:*:*) ax_gcc_arch=winchip2 ;;
   9.371 +	     *6[[78]]?:*:*:*) ax_gcc_arch=c3 ;;
   9.372 +	     *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
   9.373 +	   esac ;;
   9.374 +     esac
   9.375 +     if test x"$ax_gcc_arch" = x; then # fallback
   9.376 +	case $host_cpu in
   9.377 +	  i586*) ax_gcc_arch=pentium ;;
   9.378 +	  i686*) ax_gcc_arch=pentiumpro ;;
   9.379 +        esac
   9.380 +     fi
   9.381 +     ;;
   9.382 +
   9.383 +  sparc*)
   9.384 +     AC_PATH_PROG([PRTDIAG], [prtdiag], [prtdiag], [$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/])
   9.385 +     cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
   9.386 +     cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
   9.387 +     case $cputype in
   9.388 +         *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
   9.389 +         *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
   9.390 +         *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
   9.391 +         *supersparc*|*tms390z5[[05]]*) ax_gcc_arch="supersparc v8" ;;
   9.392 +         *hypersparc*|*rt62[[056]]*) ax_gcc_arch="hypersparc v8" ;;
   9.393 +         *cypress*) ax_gcc_arch=cypress ;;
   9.394 +     esac ;;
   9.395 +
   9.396 +  alphaev5) ax_gcc_arch=ev5 ;;
   9.397 +  alphaev56) ax_gcc_arch=ev56 ;;
   9.398 +  alphapca56) ax_gcc_arch="pca56 ev56" ;;
   9.399 +  alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
   9.400 +  alphaev6) ax_gcc_arch=ev6 ;;
   9.401 +  alphaev67) ax_gcc_arch=ev67 ;;
   9.402 +  alphaev68) ax_gcc_arch="ev68 ev67" ;;
   9.403 +  alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
   9.404 +  alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
   9.405 +  alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
   9.406 +
   9.407 +  powerpc*)
   9.408 +     cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
   9.409 +     cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
   9.410 +     case $cputype in
   9.411 +       *750*) ax_gcc_arch="750 G3" ;;
   9.412 +       *740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;;
   9.413 +       *74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;;
   9.414 +       *74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;;
   9.415 +       *970*) ax_gcc_arch="970 G5 power4";;
   9.416 +       *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
   9.417 +       *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
   9.418 +       603ev|8240) ax_gcc_arch="$cputype 603e 603";;
   9.419 +       *) ax_gcc_arch=$cputype ;;
   9.420 +     esac
   9.421 +     ax_gcc_arch="$ax_gcc_arch powerpc"
   9.422 +     ;;
   9.423 +esac
   9.424 +fi # not cross-compiling
   9.425 +fi # guess arch
   9.426 +
   9.427 +if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
   9.428 +for arch in $ax_gcc_arch; do
   9.429 +  if test "x[]m4_default([$1],yes)" = xyes; then # if we require portable code
   9.430 +    flags="-mtune=$arch"
   9.431 +    # -mcpu=$arch and m$arch generate nonportable code on every arch except
   9.432 +    # x86.  And some other arches (e.g. Alpha) don't accept -mtune.  Grrr.
   9.433 +    case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
   9.434 +  else
   9.435 +    flags="-march=$arch -mcpu=$arch -m$arch"
   9.436 +  fi
   9.437 +  for flag in $flags; do
   9.438 +    AX_CHECK_COMPILER_FLAGS($flag, [ax_cv_gcc_archflag=$flag; break])
   9.439 +  done
   9.440 +  test "x$ax_cv_gcc_archflag" = xunknown || break
   9.441 +done
   9.442 +fi
   9.443 +
   9.444 +fi # $GCC=yes
   9.445 +])
   9.446 +AC_MSG_CHECKING([for gcc architecture flag])
   9.447 +AC_MSG_RESULT($ax_cv_gcc_archflag)
   9.448 +if test "x$ax_cv_gcc_archflag" = xunknown; then
   9.449 +  m4_default([$3],:)
   9.450 +else
   9.451 +  m4_default([$2], [CFLAGS="$CFLAGS $ax_cv_gcc_archflag"])
   9.452 +fi
   9.453 +])
   9.454 +# ===========================================================================
   9.455 +#     http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html
   9.456 +# ===========================================================================
   9.457 +#
   9.458 +# SYNOPSIS
   9.459 +#
   9.460 +#   AX_GCC_X86_CPUID(OP)
   9.461 +#
   9.462 +# DESCRIPTION
   9.463 +#
   9.464 +#   On Pentium and later x86 processors, with gcc or a compiler that has a
   9.465 +#   compatible syntax for inline assembly instructions, run a small program
   9.466 +#   that executes the cpuid instruction with input OP. This can be used to
   9.467 +#   detect the CPU type.
   9.468 +#
   9.469 +#   On output, the values of the eax, ebx, ecx, and edx registers are stored
   9.470 +#   as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
   9.471 +#   ax_cv_gcc_x86_cpuid_OP.
   9.472 +#
   9.473 +#   If the cpuid instruction fails (because you are running a
   9.474 +#   cross-compiler, or because you are not using gcc, or because you are on
   9.475 +#   a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
   9.476 +#   is set to the string "unknown".
   9.477 +#
   9.478 +#   This macro mainly exists to be used in AX_GCC_ARCHFLAG.
   9.479 +#
   9.480 +# LICENSE
   9.481 +#
   9.482 +#   Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
   9.483 +#   Copyright (c) 2008 Matteo Frigo
   9.484 +#
   9.485 +#   This program is free software: you can redistribute it and/or modify it
   9.486 +#   under the terms of the GNU General Public License as published by the
   9.487 +#   Free Software Foundation, either version 3 of the License, or (at your
   9.488 +#   option) any later version.
   9.489 +#
   9.490 +#   This program is distributed in the hope that it will be useful, but
   9.491 +#   WITHOUT ANY WARRANTY; without even the implied warranty of
   9.492 +#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
   9.493 +#   Public License for more details.
   9.494 +#
   9.495 +#   You should have received a copy of the GNU General Public License along
   9.496 +#   with this program. If not, see <http://www.gnu.org/licenses/>.
   9.497 +#
   9.498 +#   As a special exception, the respective Autoconf Macro's copyright owner
   9.499 +#   gives unlimited permission to copy, distribute and modify the configure
   9.500 +#   scripts that are the output of Autoconf when processing the Macro. You
   9.501 +#   need not follow the terms of the GNU General Public License when using
   9.502 +#   or distributing such scripts, even though portions of the text of the
   9.503 +#   Macro appear in them. The GNU General Public License (GPL) does govern
   9.504 +#   all other use of the material that constitutes the Autoconf Macro.
   9.505 +#
   9.506 +#   This special exception to the GPL applies to versions of the Autoconf
   9.507 +#   Macro released by the Autoconf Archive. When you make and distribute a
   9.508 +#   modified version of the Autoconf Macro, you may extend this special
   9.509 +#   exception to the GPL to apply to your modified version as well.
   9.510 +
   9.511 +#serial 7
   9.512 +
   9.513 +AC_DEFUN([AX_GCC_X86_CPUID],
   9.514 +[AC_REQUIRE([AC_PROG_CC])
   9.515 +AC_LANG_PUSH([C])
   9.516 +AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1,
   9.517 + [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>], [
   9.518 +     int op = $1, eax, ebx, ecx, edx;
   9.519 +     FILE *f;
   9.520 +      __asm__("cpuid"
   9.521 +        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
   9.522 +        : "a" (op));
   9.523 +     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   9.524 +     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   9.525 +     fclose(f);
   9.526 +     return 0;
   9.527 +])],
   9.528 +     [ax_cv_gcc_x86_cpuid_$1=`cat conftest_cpuid`; rm -f conftest_cpuid],
   9.529 +     [ax_cv_gcc_x86_cpuid_$1=unknown; rm -f conftest_cpuid],
   9.530 +     [ax_cv_gcc_x86_cpuid_$1=unknown])])
   9.531 +AC_LANG_POP([C])
   9.532 +])
   9.533 +##############################################################################
   9.534 +#
   9.535 +# --- esd.m4 ---
   9.536 +#
   9.537 +# Configure paths for ESD
   9.538 +# Manish Singh    98-9-30
   9.539 +# stolen back from Frank Belew
   9.540 +# stolen from Manish Singh
   9.541 +# Shamelessly stolen from Owen Taylor
   9.542 +
   9.543 +dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
   9.544 +dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS
   9.545 +dnl
   9.546 +AC_DEFUN([AM_PATH_ESD],
   9.547 +[dnl 
   9.548 +dnl Get the cflags and libraries from the esd-config script
   9.549 +dnl
   9.550 +AC_ARG_WITH(esd-prefix,[  --with-esd-prefix=PFX   Prefix where ESD is installed (optional)],
   9.551 +            esd_prefix="$withval", esd_prefix="")
   9.552 +AC_ARG_WITH(esd-exec-prefix,[  --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)],
   9.553 +            esd_exec_prefix="$withval", esd_exec_prefix="")
   9.554 +AC_ARG_ENABLE(esdtest, [  --disable-esdtest       Do not try to compile and run a test ESD program],
   9.555 +		    , enable_esdtest=yes)
   9.556 +
   9.557 +  if test x$esd_exec_prefix != x ; then
   9.558 +     esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
   9.559 +     if test x${ESD_CONFIG+set} != xset ; then
   9.560 +        ESD_CONFIG=$esd_exec_prefix/bin/esd-config
   9.561 +     fi
   9.562 +  fi
   9.563 +  if test x$esd_prefix != x ; then
   9.564 +     esd_args="$esd_args --prefix=$esd_prefix"
   9.565 +     if test x${ESD_CONFIG+set} != xset ; then
   9.566 +        ESD_CONFIG=$esd_prefix/bin/esd-config
   9.567 +     fi
   9.568 +  fi
   9.569 +
   9.570 +  AC_PATH_PROG(ESD_CONFIG, esd-config, no)
   9.571 +  min_esd_version=ifelse([$1], ,0.2.7,$1)
   9.572 +  AC_MSG_CHECKING(for ESD - version >= $min_esd_version)
   9.573 +  no_esd=""
   9.574 +  if test "$ESD_CONFIG" = "no" ; then
   9.575 +    no_esd=yes
   9.576 +  else
   9.577 +    ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
   9.578 +    ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
   9.579 +
   9.580 +    esd_major_version=`$ESD_CONFIG $esd_args --version | \
   9.581 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
   9.582 +    esd_minor_version=`$ESD_CONFIG $esd_args --version | \
   9.583 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
   9.584 +    esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
   9.585 +           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
   9.586 +    if test "x$enable_esdtest" = "xyes" ; then
   9.587 +      ac_save_CFLAGS="$CFLAGS"
   9.588 +      ac_save_LIBS="$LIBS"
   9.589 +      CFLAGS="$CFLAGS $ESD_CFLAGS"
   9.590 +      LIBS="$LIBS $ESD_LIBS"
   9.591 +dnl
   9.592 +dnl Now check if the installed ESD is sufficiently new. (Also sanity
   9.593 +dnl checks the results of esd-config to some extent
   9.594 +dnl
   9.595 +      rm -f conf.esdtest
   9.596 +      AC_TRY_RUN([
   9.597 +#include <stdio.h>
   9.598 +#include <stdlib.h>
   9.599 +#include <string.h>
   9.600 +#include <esd.h>
   9.601 +
   9.602 +char*
   9.603 +my_strdup (char *str)
   9.604 +{
   9.605 +  char *new_str;
   9.606 +  
   9.607 +  if (str)
   9.608 +    {
   9.609 +      new_str = malloc ((strlen (str) + 1) * sizeof(char));
   9.610 +      strcpy (new_str, str);
   9.611 +    }
   9.612 +  else
   9.613 +    new_str = NULL;
   9.614 +  
   9.615 +  return new_str;
   9.616 +}
   9.617 +
   9.618 +int main ()
   9.619 +{
   9.620 +  int major, minor, micro;
   9.621 +  char *tmp_version;
   9.622 +
   9.623 +  system ("touch conf.esdtest");
   9.624 +
   9.625 +  /* HP/UX 9 (%@#!) writes to sscanf strings */
   9.626 +  tmp_version = my_strdup("$min_esd_version");
   9.627 +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
   9.628 +     printf("%s, bad version string\n", "$min_esd_version");
   9.629 +     exit(1);
   9.630 +   }
   9.631 +
   9.632 +   if (($esd_major_version > major) ||
   9.633 +      (($esd_major_version == major) && ($esd_minor_version > minor)) ||
   9.634 +      (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
   9.635 +    {
   9.636 +      return 0;
   9.637 +    }
   9.638 +  else
   9.639 +    {
   9.640 +      printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
   9.641 +      printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
   9.642 +      printf("*** best to upgrade to the required version.\n");
   9.643 +      printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
   9.644 +      printf("*** to point to the correct copy of esd-config, and remove the file\n");
   9.645 +      printf("*** config.cache before re-running configure\n");
   9.646 +      return 1;
   9.647 +    }
   9.648 +}
   9.649 +
   9.650 +],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
   9.651 +       CFLAGS="$ac_save_CFLAGS"
   9.652 +       LIBS="$ac_save_LIBS"
   9.653 +     fi
   9.654 +  fi
   9.655 +  if test "x$no_esd" = x ; then
   9.656 +     AC_MSG_RESULT(yes)
   9.657 +     ifelse([$2], , :, [$2])     
   9.658 +  else
   9.659 +     AC_MSG_RESULT(no)
   9.660 +     if test "$ESD_CONFIG" = "no" ; then
   9.661 +       echo "*** The esd-config script installed by ESD could not be found"
   9.662 +       echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
   9.663 +       echo "*** your path, or set the ESD_CONFIG environment variable to the"
   9.664 +       echo "*** full path to esd-config."
   9.665 +     else
   9.666 +       if test -f conf.esdtest ; then
   9.667 +        :
   9.668 +       else
   9.669 +          echo "*** Could not run ESD test program, checking why..."
   9.670 +          CFLAGS="$CFLAGS $ESD_CFLAGS"
   9.671 +          LIBS="$LIBS $ESD_LIBS"
   9.672 +          AC_TRY_LINK([
   9.673 +#include <stdio.h>
   9.674 +#include <esd.h>
   9.675 +],      [ return 0; ],
   9.676 +        [ echo "*** The test program compiled, but did not run. This usually means"
   9.677 +          echo "*** that the run-time linker is not finding ESD or finding the wrong"
   9.678 +          echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
   9.679 +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
   9.680 +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
   9.681 +          echo "*** is required on your system"
   9.682 +	  echo "***"
   9.683 +          echo "*** If you have an old version installed, it is best to remove it, although"
   9.684 +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
   9.685 +        [ echo "*** The test program failed to compile or link. See the file config.log for the"
   9.686 +          echo "*** exact error that occured. This usually means ESD was incorrectly installed"
   9.687 +          echo "*** or that you have moved ESD since it was installed. In the latter case, you"
   9.688 +          echo "*** may want to edit the esd-config script: $ESD_CONFIG" ])
   9.689 +          CFLAGS="$ac_save_CFLAGS"
   9.690 +          LIBS="$ac_save_LIBS"
   9.691 +       fi
   9.692 +     fi
   9.693 +     ESD_CFLAGS=""
   9.694 +     ESD_LIBS=""
   9.695 +     ifelse([$3], , :, [$3])
   9.696 +  fi
   9.697 +  AC_SUBST(ESD_CFLAGS)
   9.698 +  AC_SUBST(ESD_LIBS)
   9.699 +  rm -f conf.esdtest
   9.700 +])
   9.701 +##############################################################################
   9.702 +# Based on libtool-2.2.6a
   9.703 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
   9.704 +#
   9.705 +#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   9.706 +#                 2006, 2007, 2008 Free Software Foundation, Inc.
   9.707 +#   Written by Gordon Matzigkeit, 1996
   9.708 +#
   9.709 +# This file is free software; the Free Software Foundation gives
   9.710 +# unlimited permission to copy and/or distribute it, with or without
   9.711 +# modifications, as long as this notice is preserved.
   9.712 +
   9.713 +m4_define([_LT_COPYING], [dnl
   9.714 +#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   9.715 +#                 2006, 2007, 2008 Free Software Foundation, Inc.
   9.716 +#   Written by Gordon Matzigkeit, 1996
   9.717 +#
   9.718 +#   This file is part of GNU Libtool.
   9.719 +#
   9.720 +# GNU Libtool is free software; you can redistribute it and/or
   9.721 +# modify it under the terms of the GNU General Public License as
   9.722 +# published by the Free Software Foundation; either version 2 of
   9.723 +# the License, or (at your option) any later version.
   9.724 +#
   9.725 +# As a special exception to the GNU General Public License,
   9.726 +# if you distribute this file as part of a program or library that
   9.727 +# is built using GNU Libtool, you may include this file under the
   9.728 +# same distribution terms that you use for the rest of that program.
   9.729 +#
   9.730 +# GNU Libtool is distributed in the hope that it will be useful,
   9.731 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   9.732 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   9.733 +# GNU General Public License for more details.
   9.734 +#
   9.735 +# You should have received a copy of the GNU General Public License
   9.736 +# along with GNU Libtool; see the file COPYING.  If not, a copy
   9.737 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   9.738 +# obtained by writing to the Free Software Foundation, Inc.,
   9.739 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   9.740 +])
   9.741 +
   9.742 +# serial 56 LT_INIT
   9.743 +
   9.744 +
   9.745 +# LT_PREREQ(VERSION)
   9.746 +# ------------------
   9.747 +# Complain and exit if this libtool version is less that VERSION.
   9.748 +m4_defun([LT_PREREQ],
   9.749 +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
   9.750 +       [m4_default([$3],
   9.751 +		   [m4_fatal([Libtool version $1 or higher is required],
   9.752 +		             63)])],
   9.753 +       [$2])])
   9.754 +
   9.755 +
   9.756 +# _LT_CHECK_BUILDDIR
   9.757 +# ------------------
   9.758 +# Complain if the absolute build directory name contains unusual characters
   9.759 +m4_defun([_LT_CHECK_BUILDDIR],
   9.760 +[case `pwd` in
   9.761 +  *\ * | *\	*)
   9.762 +    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
   9.763 +esac
   9.764 +])
   9.765 +
   9.766 +
   9.767 +# LT_INIT([OPTIONS])
   9.768 +# ------------------
   9.769 +AC_DEFUN([LT_INIT],
   9.770 +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
   9.771 +AC_BEFORE([$0], [LT_LANG])dnl
   9.772 +AC_BEFORE([$0], [LT_OUTPUT])dnl
   9.773 +AC_BEFORE([$0], [LTDL_INIT])dnl
   9.774 +m4_require([_LT_CHECK_BUILDDIR])dnl
   9.775 +
   9.776 +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
   9.777 +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
   9.778 +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
   9.779 +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
   9.780 +dnl unless we require an AC_DEFUNed macro:
   9.781 +AC_REQUIRE([LTOPTIONS_VERSION])dnl
   9.782 +AC_REQUIRE([LTSUGAR_VERSION])dnl
   9.783 +AC_REQUIRE([LTVERSION_VERSION])dnl
   9.784 +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
   9.785 +m4_require([_LT_PROG_LTMAIN])dnl
   9.786 +
   9.787 +dnl Parse OPTIONS
   9.788 +_LT_SET_OPTIONS([$0], [$1])
   9.789 +
   9.790 +# This can be used to rebuild libtool when needed
   9.791 +LIBTOOL_DEPS="$ltmain"
   9.792 +
   9.793 +# Always use our own libtool.
   9.794 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9.795 +AC_SUBST(LIBTOOL)dnl
   9.796 +
   9.797 +_LT_SETUP
   9.798 +
   9.799 +# Only expand once:
   9.800 +m4_define([LT_INIT])
   9.801 +])# LT_INIT
   9.802 +
   9.803 +# Old names:
   9.804 +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
   9.805 +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
   9.806 +dnl aclocal-1.4 backwards compatibility:
   9.807 +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
   9.808 +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
   9.809 +
   9.810 +
   9.811 +# _LT_CC_BASENAME(CC)
   9.812 +# -------------------
   9.813 +# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   9.814 +m4_defun([_LT_CC_BASENAME],
   9.815 +[for cc_temp in $1""; do
   9.816 +  case $cc_temp in
   9.817 +    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
   9.818 +    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
   9.819 +    \-*) ;;
   9.820 +    *) break;;
   9.821 +  esac
   9.822 +done
   9.823 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   9.824 +])
   9.825 +
   9.826 +
   9.827 +# _LT_FILEUTILS_DEFAULTS
   9.828 +# ----------------------
   9.829 +# It is okay to use these file commands and assume they have been set
   9.830 +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
   9.831 +m4_defun([_LT_FILEUTILS_DEFAULTS],
   9.832 +[: ${CP="cp -f"}
   9.833 +: ${MV="mv -f"}
   9.834 +: ${RM="rm -f"}
   9.835 +])# _LT_FILEUTILS_DEFAULTS
   9.836 +
   9.837 +
   9.838 +# _LT_SETUP
   9.839 +# ---------
   9.840 +m4_defun([_LT_SETUP],
   9.841 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
   9.842 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
   9.843 +_LT_DECL([], [host_alias], [0], [The host system])dnl
   9.844 +_LT_DECL([], [host], [0])dnl
   9.845 +_LT_DECL([], [host_os], [0])dnl
   9.846 +dnl
   9.847 +_LT_DECL([], [build_alias], [0], [The build system])dnl
   9.848 +_LT_DECL([], [build], [0])dnl
   9.849 +_LT_DECL([], [build_os], [0])dnl
   9.850 +dnl
   9.851 +AC_REQUIRE([AC_PROG_CC])dnl
   9.852 +AC_REQUIRE([LT_PATH_LD])dnl
   9.853 +AC_REQUIRE([LT_PATH_NM])dnl
   9.854 +dnl
   9.855 +AC_REQUIRE([AC_PROG_LN_S])dnl
   9.856 +test -z "$LN_S" && LN_S="ln -s"
   9.857 +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
   9.858 +dnl
   9.859 +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
   9.860 +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
   9.861 +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
   9.862 +dnl
   9.863 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
   9.864 +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
   9.865 +m4_require([_LT_CMD_RELOAD])dnl
   9.866 +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
   9.867 +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
   9.868 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
   9.869 +
   9.870 +_LT_CONFIG_LIBTOOL_INIT([
   9.871 +# See if we are running on zsh, and set the options which allow our
   9.872 +# commands through without removal of \ escapes INIT.
   9.873 +if test -n "\${ZSH_VERSION+set}" ; then
   9.874 +   setopt NO_GLOB_SUBST
   9.875 +fi
   9.876 +])
   9.877 +if test -n "${ZSH_VERSION+set}" ; then
   9.878 +   setopt NO_GLOB_SUBST
   9.879 +fi
   9.880 +
   9.881 +_LT_CHECK_OBJDIR
   9.882 +
   9.883 +m4_require([_LT_TAG_COMPILER])dnl
   9.884 +_LT_PROG_ECHO_BACKSLASH
   9.885 +
   9.886 +case $host_os in
   9.887 +aix3*)
   9.888 +  # AIX sometimes has problems with the GCC collect2 program.  For some
   9.889 +  # reason, if we set the COLLECT_NAMES environment variable, the problems
   9.890 +  # vanish in a puff of smoke.
   9.891 +  if test "X${COLLECT_NAMES+set}" != Xset; then
   9.892 +    COLLECT_NAMES=
   9.893 +    export COLLECT_NAMES
   9.894 +  fi
   9.895 +  ;;
   9.896 +esac
   9.897 +
   9.898 +# Sed substitution that helps us do robust quoting.  It backslashifies
   9.899 +# metacharacters that are still active within double-quoted strings.
   9.900 +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
   9.901 +
   9.902 +# Same as above, but do not quote variable references.
   9.903 +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
   9.904 +
   9.905 +# Sed substitution to delay expansion of an escaped shell variable in a
   9.906 +# double_quote_subst'ed string.
   9.907 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   9.908 +
   9.909 +# Sed substitution to delay expansion of an escaped single quote.
   9.910 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   9.911 +
   9.912 +# Sed substitution to avoid accidental globbing in evaled expressions
   9.913 +no_glob_subst='s/\*/\\\*/g'
   9.914 +
   9.915 +# Global variables:
   9.916 +ofile=libtool
   9.917 +can_build_shared=yes
   9.918 +
   9.919 +# All known linkers require a `.a' archive for static linking (except MSVC,
   9.920 +# which needs '.lib').
   9.921 +libext=a
   9.922 +
   9.923 +with_gnu_ld="$lt_cv_prog_gnu_ld"
   9.924 +
   9.925 +old_CC="$CC"
   9.926 +old_CFLAGS="$CFLAGS"
   9.927 +
   9.928 +# Set sane defaults for various variables
   9.929 +test -z "$CC" && CC=cc
   9.930 +test -z "$LTCC" && LTCC=$CC
   9.931 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9.932 +test -z "$LD" && LD=ld
   9.933 +test -z "$ac_objext" && ac_objext=o
   9.934 +
   9.935 +_LT_CC_BASENAME([$compiler])
   9.936 +
   9.937 +# Only perform the check for file, if the check method requires it
   9.938 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9.939 +case $deplibs_check_method in
   9.940 +file_magic*)
   9.941 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9.942 +    _LT_PATH_MAGIC
   9.943 +  fi
   9.944 +  ;;
   9.945 +esac
   9.946 +
   9.947 +# Use C for the default configuration in the libtool script
   9.948 +LT_SUPPORTED_TAG([CC])
   9.949 +_LT_LANG_C_CONFIG
   9.950 +_LT_LANG_DEFAULT_CONFIG
   9.951 +_LT_CONFIG_COMMANDS
   9.952 +])# _LT_SETUP
   9.953 +
   9.954 +
   9.955 +# _LT_PROG_LTMAIN
   9.956 +# ---------------
   9.957 +# Note that this code is called both from `configure', and `config.status'
   9.958 +# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
   9.959 +# `config.status' has no value for ac_aux_dir unless we are using Automake,
   9.960 +# so we pass a copy along to make sure it has a sensible value anyway.
   9.961 +m4_defun([_LT_PROG_LTMAIN],
   9.962 +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
   9.963 +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
   9.964 +ltmain="$ac_aux_dir/ltmain.sh"
   9.965 +])# _LT_PROG_LTMAIN
   9.966 +
   9.967 +
   9.968 +## ------------------------------------- ##
   9.969 +## Accumulate code for creating libtool. ##
   9.970 +## ------------------------------------- ##
   9.971 +
   9.972 +# So that we can recreate a full libtool script including additional
   9.973 +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
   9.974 +# in macros and then make a single call at the end using the `libtool'
   9.975 +# label.
   9.976 +
   9.977 +
   9.978 +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
   9.979 +# ----------------------------------------
   9.980 +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
   9.981 +m4_define([_LT_CONFIG_LIBTOOL_INIT],
   9.982 +[m4_ifval([$1],
   9.983 +          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
   9.984 +                     [$1
   9.985 +])])])
   9.986 +
   9.987 +# Initialize.
   9.988 +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
   9.989 +
   9.990 +
   9.991 +# _LT_CONFIG_LIBTOOL([COMMANDS])
   9.992 +# ------------------------------
   9.993 +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
   9.994 +m4_define([_LT_CONFIG_LIBTOOL],
   9.995 +[m4_ifval([$1],
   9.996 +          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
   9.997 +                     [$1
   9.998 +])])])
   9.999 +
  9.1000 +# Initialize.
  9.1001 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  9.1002 +
  9.1003 +
  9.1004 +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  9.1005 +# -----------------------------------------------------
  9.1006 +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  9.1007 +[_LT_CONFIG_LIBTOOL([$1])
  9.1008 +_LT_CONFIG_LIBTOOL_INIT([$2])
  9.1009 +])
  9.1010 +
  9.1011 +
  9.1012 +# _LT_FORMAT_COMMENT([COMMENT])
  9.1013 +# -----------------------------
  9.1014 +# Add leading comment marks to the start of each line, and a trailing
  9.1015 +# full-stop to the whole comment if one is not present already.
  9.1016 +m4_define([_LT_FORMAT_COMMENT],
  9.1017 +[m4_ifval([$1], [
  9.1018 +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  9.1019 +              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  9.1020 +)])
  9.1021 +
  9.1022 +
  9.1023 +
  9.1024 +## ------------------------ ##
  9.1025 +## FIXME: Eliminate VARNAME ##
  9.1026 +## ------------------------ ##
  9.1027 +
  9.1028 +
  9.1029 +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  9.1030 +# -------------------------------------------------------------------
  9.1031 +# CONFIGNAME is the name given to the value in the libtool script.
  9.1032 +# VARNAME is the (base) name used in the configure script.
  9.1033 +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  9.1034 +# VARNAME.  Any other value will be used directly.
  9.1035 +m4_define([_LT_DECL],
  9.1036 +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  9.1037 +    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  9.1038 +	[m4_ifval([$1], [$1], [$2])])
  9.1039 +    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  9.1040 +    m4_ifval([$4],
  9.1041 +	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  9.1042 +    lt_dict_add_subkey([lt_decl_dict], [$2],
  9.1043 +	[tagged?], [m4_ifval([$5], [yes], [no])])])
  9.1044 +])
  9.1045 +
  9.1046 +
  9.1047 +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  9.1048 +# --------------------------------------------------------
  9.1049 +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  9.1050 +
  9.1051 +
  9.1052 +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  9.1053 +# ------------------------------------------------
  9.1054 +m4_define([lt_decl_tag_varnames],
  9.1055 +[_lt_decl_filter([tagged?], [yes], $@)])
  9.1056 +
  9.1057 +
  9.1058 +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  9.1059 +# ---------------------------------------------------------
  9.1060 +m4_define([_lt_decl_filter],
  9.1061 +[m4_case([$#],
  9.1062 +  [0], [m4_fatal([$0: too few arguments: $#])],
  9.1063 +  [1], [m4_fatal([$0: too few arguments: $#: $1])],
  9.1064 +  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  9.1065 +  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  9.1066 +  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  9.1067 +])
  9.1068 +
  9.1069 +
  9.1070 +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  9.1071 +# --------------------------------------------------
  9.1072 +m4_define([lt_decl_quote_varnames],
  9.1073 +[_lt_decl_filter([value], [1], $@)])
  9.1074 +
  9.1075 +
  9.1076 +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  9.1077 +# ---------------------------------------------------
  9.1078 +m4_define([lt_decl_dquote_varnames],
  9.1079 +[_lt_decl_filter([value], [2], $@)])
  9.1080 +
  9.1081 +
  9.1082 +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  9.1083 +# ---------------------------------------------------
  9.1084 +m4_define([lt_decl_varnames_tagged],
  9.1085 +[m4_assert([$# <= 2])dnl
  9.1086 +_$0(m4_quote(m4_default([$1], [[, ]])),
  9.1087 +    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  9.1088 +    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  9.1089 +m4_define([_lt_decl_varnames_tagged],
  9.1090 +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  9.1091 +
  9.1092 +
  9.1093 +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  9.1094 +# ------------------------------------------------
  9.1095 +m4_define([lt_decl_all_varnames],
  9.1096 +[_$0(m4_quote(m4_default([$1], [[, ]])),
  9.1097 +     m4_if([$2], [],
  9.1098 +	   m4_quote(lt_decl_varnames),
  9.1099 +	m4_quote(m4_shift($@))))[]dnl
  9.1100 +])
  9.1101 +m4_define([_lt_decl_all_varnames],
  9.1102 +[lt_join($@, lt_decl_varnames_tagged([$1],
  9.1103 +			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  9.1104 +])
  9.1105 +
  9.1106 +
  9.1107 +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  9.1108 +# ------------------------------------
  9.1109 +# Quote a variable value, and forward it to `config.status' so that its
  9.1110 +# declaration there will have the same value as in `configure'.  VARNAME
  9.1111 +# must have a single quote delimited value for this to work.
  9.1112 +m4_define([_LT_CONFIG_STATUS_DECLARE],
  9.1113 +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  9.1114 +
  9.1115 +
  9.1116 +# _LT_CONFIG_STATUS_DECLARATIONS
  9.1117 +# ------------------------------
  9.1118 +# We delimit libtool config variables with single quotes, so when
  9.1119 +# we write them to config.status, we have to be sure to quote all
  9.1120 +# embedded single quotes properly.  In configure, this macro expands
  9.1121 +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  9.1122 +#
  9.1123 +#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  9.1124 +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  9.1125 +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  9.1126 +    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  9.1127 +
  9.1128 +
  9.1129 +# _LT_LIBTOOL_TAGS
  9.1130 +# ----------------
  9.1131 +# Output comment and list of tags supported by the script
  9.1132 +m4_defun([_LT_LIBTOOL_TAGS],
  9.1133 +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  9.1134 +available_tags="_LT_TAGS"dnl
  9.1135 +])
  9.1136 +
  9.1137 +
  9.1138 +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  9.1139 +# -----------------------------------
  9.1140 +# Extract the dictionary values for VARNAME (optionally with TAG) and
  9.1141 +# expand to a commented shell variable setting:
  9.1142 +#
  9.1143 +#    # Some comment about what VAR is for.
  9.1144 +#    visible_name=$lt_internal_name
  9.1145 +m4_define([_LT_LIBTOOL_DECLARE],
  9.1146 +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  9.1147 +					   [description])))[]dnl
  9.1148 +m4_pushdef([_libtool_name],
  9.1149 +    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  9.1150 +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  9.1151 +    [0], [_libtool_name=[$]$1],
  9.1152 +    [1], [_libtool_name=$lt_[]$1],
  9.1153 +    [2], [_libtool_name=$lt_[]$1],
  9.1154 +    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  9.1155 +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  9.1156 +])
  9.1157 +
  9.1158 +
  9.1159 +# _LT_LIBTOOL_CONFIG_VARS
  9.1160 +# -----------------------
  9.1161 +# Produce commented declarations of non-tagged libtool config variables
  9.1162 +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  9.1163 +# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
  9.1164 +# section) are produced by _LT_LIBTOOL_TAG_VARS.
  9.1165 +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  9.1166 +[m4_foreach([_lt_var],
  9.1167 +    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  9.1168 +    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  9.1169 +
  9.1170 +
  9.1171 +# _LT_LIBTOOL_TAG_VARS(TAG)
  9.1172 +# -------------------------
  9.1173 +m4_define([_LT_LIBTOOL_TAG_VARS],
  9.1174 +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  9.1175 +    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  9.1176 +
  9.1177 +
  9.1178 +# _LT_TAGVAR(VARNAME, [TAGNAME])
  9.1179 +# ------------------------------
  9.1180 +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  9.1181 +
  9.1182 +
  9.1183 +# _LT_CONFIG_COMMANDS
  9.1184 +# -------------------
  9.1185 +# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
  9.1186 +# variables for single and double quote escaping we saved from calls
  9.1187 +# to _LT_DECL, we can put quote escaped variables declarations
  9.1188 +# into `config.status', and then the shell code to quote escape them in
  9.1189 +# for loops in `config.status'.  Finally, any additional code accumulated
  9.1190 +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  9.1191 +m4_defun([_LT_CONFIG_COMMANDS],
  9.1192 +[AC_PROVIDE_IFELSE([LT_OUTPUT],
  9.1193 +	dnl If the libtool generation code has been placed in $CONFIG_LT,
  9.1194 +	dnl instead of duplicating it all over again into config.status,
  9.1195 +	dnl then we will have config.status run $CONFIG_LT later, so it
  9.1196 +	dnl needs to know what name is stored there:
  9.1197 +        [AC_CONFIG_COMMANDS([libtool],
  9.1198 +            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  9.1199 +    dnl If the libtool generation code is destined for config.status,
  9.1200 +    dnl expand the accumulated commands and init code now:
  9.1201 +    [AC_CONFIG_COMMANDS([libtool],
  9.1202 +        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  9.1203 +])#_LT_CONFIG_COMMANDS
  9.1204 +
  9.1205 +
  9.1206 +# Initialize.
  9.1207 +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  9.1208 +[
  9.1209 +
  9.1210 +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9.1211 +# if CDPATH is set.
  9.1212 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9.1213 +
  9.1214 +sed_quote_subst='$sed_quote_subst'
  9.1215 +double_quote_subst='$double_quote_subst'
  9.1216 +delay_variable_subst='$delay_variable_subst'
  9.1217 +_LT_CONFIG_STATUS_DECLARATIONS
  9.1218 +LTCC='$LTCC'
  9.1219 +LTCFLAGS='$LTCFLAGS'
  9.1220 +compiler='$compiler_DEFAULT'
  9.1221 +
  9.1222 +# Quote evaled strings.
  9.1223 +for var in lt_decl_all_varnames([[ \
  9.1224 +]], lt_decl_quote_varnames); do
  9.1225 +    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  9.1226 +    *[[\\\\\\\`\\"\\\$]]*)
  9.1227 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  9.1228 +      ;;
  9.1229 +    *)
  9.1230 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  9.1231 +      ;;
  9.1232 +    esac
  9.1233 +done
  9.1234 +
  9.1235 +# Double-quote double-evaled strings.
  9.1236 +for var in lt_decl_all_varnames([[ \
  9.1237 +]], lt_decl_dquote_varnames); do
  9.1238 +    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  9.1239 +    *[[\\\\\\\`\\"\\\$]]*)
  9.1240 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  9.1241 +      ;;
  9.1242 +    *)
  9.1243 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  9.1244 +      ;;
  9.1245 +    esac
  9.1246 +done
  9.1247 +
  9.1248 +# Fix-up fallback echo if it was mangled by the above quoting rules.
  9.1249 +case \$lt_ECHO in
  9.1250 +*'\\\[$]0 --fallback-echo"')dnl "
  9.1251 +  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  9.1252 +  ;;
  9.1253 +esac
  9.1254 +
  9.1255 +_LT_OUTPUT_LIBTOOL_INIT
  9.1256 +])
  9.1257 +
  9.1258 +
  9.1259 +# LT_OUTPUT
  9.1260 +# ---------
  9.1261 +# This macro allows early generation of the libtool script (before
  9.1262 +# AC_OUTPUT is called), incase it is used in configure for compilation
  9.1263 +# tests.
  9.1264 +AC_DEFUN([LT_OUTPUT],
  9.1265 +[: ${CONFIG_LT=./config.lt}
  9.1266 +AC_MSG_NOTICE([creating $CONFIG_LT])
  9.1267 +cat >"$CONFIG_LT" <<_LTEOF
  9.1268 +#! $SHELL
  9.1269 +# Generated by $as_me.
  9.1270 +# Run this file to recreate a libtool stub with the current configuration.
  9.1271 +
  9.1272 +lt_cl_silent=false
  9.1273 +SHELL=\${CONFIG_SHELL-$SHELL}
  9.1274 +_LTEOF
  9.1275 +
  9.1276 +cat >>"$CONFIG_LT" <<\_LTEOF
  9.1277 +AS_SHELL_SANITIZE
  9.1278 +_AS_PREPARE
  9.1279 +
  9.1280 +exec AS_MESSAGE_FD>&1
  9.1281 +exec AS_MESSAGE_LOG_FD>>config.log
  9.1282 +{
  9.1283 +  echo
  9.1284 +  AS_BOX([Running $as_me.])
  9.1285 +} >&AS_MESSAGE_LOG_FD
  9.1286 +
  9.1287 +lt_cl_help="\
  9.1288 +\`$as_me' creates a local libtool stub from the current configuration,
  9.1289 +for use in further configure time tests before the real libtool is
  9.1290 +generated.
  9.1291 +
  9.1292 +Usage: $[0] [[OPTIONS]]
  9.1293 +
  9.1294 +  -h, --help      print this help, then exit
  9.1295 +  -V, --version   print version number, then exit
  9.1296 +  -q, --quiet     do not print progress messages
  9.1297 +  -d, --debug     don't remove temporary files
  9.1298 +
  9.1299 +Report bugs to <bug-libtool@gnu.org>."
  9.1300 +
  9.1301 +lt_cl_version="\
  9.1302 +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  9.1303 +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  9.1304 +configured by $[0], generated by m4_PACKAGE_STRING.
  9.1305 +
  9.1306 +Copyright (C) 2008 Free Software Foundation, Inc.
  9.1307 +This config.lt script is free software; the Free Software Foundation
  9.1308 +gives unlimited permision to copy, distribute and modify it."
  9.1309 +
  9.1310 +while test $[#] != 0
  9.1311 +do
  9.1312 +  case $[1] in
  9.1313 +    --version | --v* | -V )
  9.1314 +      echo "$lt_cl_version"; exit 0 ;;
  9.1315 +    --help | --h* | -h )
  9.1316 +      echo "$lt_cl_help"; exit 0 ;;
  9.1317 +    --debug | --d* | -d )
  9.1318 +      debug=: ;;
  9.1319 +    --quiet | --q* | --silent | --s* | -q )
  9.1320 +      lt_cl_silent=: ;;
  9.1321 +
  9.1322 +    -*) AC_MSG_ERROR([unrecognized option: $[1]
  9.1323 +Try \`$[0] --help' for more information.]) ;;
  9.1324 +
  9.1325 +    *) AC_MSG_ERROR([unrecognized argument: $[1]
  9.1326 +Try \`$[0] --help' for more information.]) ;;
  9.1327 +  esac
  9.1328 +  shift
  9.1329 +done
  9.1330 +
  9.1331 +if $lt_cl_silent; then
  9.1332 +  exec AS_MESSAGE_FD>/dev/null
  9.1333 +fi
  9.1334 +_LTEOF
  9.1335 +
  9.1336 +cat >>"$CONFIG_LT" <<_LTEOF
  9.1337 +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  9.1338 +_LTEOF
  9.1339 +
  9.1340 +cat >>"$CONFIG_LT" <<\_LTEOF
  9.1341 +AC_MSG_NOTICE([creating $ofile])
  9.1342 +_LT_OUTPUT_LIBTOOL_COMMANDS
  9.1343 +AS_EXIT(0)
  9.1344 +_LTEOF
  9.1345 +chmod +x "$CONFIG_LT"
  9.1346 +
  9.1347 +# configure is writing to config.log, but config.lt does its own redirection,
  9.1348 +# appending to config.log, which fails on DOS, as config.log is still kept
  9.1349 +# open by configure.  Here we exec the FD to /dev/null, effectively closing
  9.1350 +# config.log, so it can be properly (re)opened and appended to by config.lt.
  9.1351 +if test "$no_create" != yes; then
  9.1352 +  lt_cl_success=:
  9.1353 +  test "$silent" = yes &&
  9.1354 +    lt_config_lt_args="$lt_config_lt_args --quiet"
  9.1355 +  exec AS_MESSAGE_LOG_FD>/dev/null
  9.1356 +  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  9.1357 +  exec AS_MESSAGE_LOG_FD>>config.log
  9.1358 +  $lt_cl_success || AS_EXIT(1)
  9.1359 +fi
  9.1360 +])# LT_OUTPUT
  9.1361 +
  9.1362 +
  9.1363 +# _LT_CONFIG(TAG)
  9.1364 +# ---------------
  9.1365 +# If TAG is the built-in tag, create an initial libtool script with a
  9.1366 +# default configuration from the untagged config vars.  Otherwise add code
  9.1367 +# to config.status for appending the configuration named by TAG from the
  9.1368 +# matching tagged config vars.
  9.1369 +m4_defun([_LT_CONFIG],
  9.1370 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.1371 +_LT_CONFIG_SAVE_COMMANDS([
  9.1372 +  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  9.1373 +  m4_if(_LT_TAG, [C], [
  9.1374 +    # See if we are running on zsh, and set the options which allow our
  9.1375 +    # commands through without removal of \ escapes.
  9.1376 +    if test -n "${ZSH_VERSION+set}" ; then
  9.1377 +      setopt NO_GLOB_SUBST
  9.1378 +    fi
  9.1379 +
  9.1380 +    cfgfile="${ofile}T"
  9.1381 +    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  9.1382 +    $RM "$cfgfile"
  9.1383 +
  9.1384 +    cat <<_LT_EOF >> "$cfgfile"
  9.1385 +#! $SHELL
  9.1386 +
  9.1387 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  9.1388 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  9.1389 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  9.1390 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  9.1391 +#
  9.1392 +_LT_COPYING
  9.1393 +_LT_LIBTOOL_TAGS
  9.1394 +
  9.1395 +# ### BEGIN LIBTOOL CONFIG
  9.1396 +_LT_LIBTOOL_CONFIG_VARS
  9.1397 +_LT_LIBTOOL_TAG_VARS
  9.1398 +# ### END LIBTOOL CONFIG
  9.1399 +
  9.1400 +_LT_EOF
  9.1401 +
  9.1402 +  case $host_os in
  9.1403 +  aix3*)
  9.1404 +    cat <<\_LT_EOF >> "$cfgfile"
  9.1405 +# AIX sometimes has problems with the GCC collect2 program.  For some
  9.1406 +# reason, if we set the COLLECT_NAMES environment variable, the problems
  9.1407 +# vanish in a puff of smoke.
  9.1408 +if test "X${COLLECT_NAMES+set}" != Xset; then
  9.1409 +  COLLECT_NAMES=
  9.1410 +  export COLLECT_NAMES
  9.1411 +fi
  9.1412 +_LT_EOF
  9.1413 +    ;;
  9.1414 +  esac
  9.1415 +
  9.1416 +  _LT_PROG_LTMAIN
  9.1417 +
  9.1418 +  # We use sed instead of cat because bash on DJGPP gets confused if
  9.1419 +  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  9.1420 +  # text mode, it properly converts lines to CR/LF.  This bash problem
  9.1421 +  # is reportedly fixed, but why not run on old versions too?
  9.1422 +  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  9.1423 +    || (rm -f "$cfgfile"; exit 1)
  9.1424 +
  9.1425 +  _LT_PROG_XSI_SHELLFNS
  9.1426 +
  9.1427 +  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  9.1428 +    || (rm -f "$cfgfile"; exit 1)
  9.1429 +
  9.1430 +  mv -f "$cfgfile" "$ofile" ||
  9.1431 +    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  9.1432 +  chmod +x "$ofile"
  9.1433 +],
  9.1434 +[cat <<_LT_EOF >> "$ofile"
  9.1435 +
  9.1436 +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  9.1437 +dnl in a comment (ie after a #).
  9.1438 +# ### BEGIN LIBTOOL TAG CONFIG: $1
  9.1439 +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  9.1440 +# ### END LIBTOOL TAG CONFIG: $1
  9.1441 +_LT_EOF
  9.1442 +])dnl /m4_if
  9.1443 +],
  9.1444 +[m4_if([$1], [], [
  9.1445 +    PACKAGE='$PACKAGE'
  9.1446 +    VERSION='$VERSION'
  9.1447 +    TIMESTAMP='$TIMESTAMP'
  9.1448 +    RM='$RM'
  9.1449 +    ofile='$ofile'], [])
  9.1450 +])dnl /_LT_CONFIG_SAVE_COMMANDS
  9.1451 +])# _LT_CONFIG
  9.1452 +
  9.1453 +
  9.1454 +# LT_SUPPORTED_TAG(TAG)
  9.1455 +# ---------------------
  9.1456 +# Trace this macro to discover what tags are supported by the libtool
  9.1457 +# --tag option, using:
  9.1458 +#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
  9.1459 +AC_DEFUN([LT_SUPPORTED_TAG], [])
  9.1460 +
  9.1461 +
  9.1462 +# C support is built-in for now
  9.1463 +m4_define([_LT_LANG_C_enabled], [])
  9.1464 +m4_define([_LT_TAGS], [])
  9.1465 +
  9.1466 +
  9.1467 +# LT_LANG(LANG)
  9.1468 +# -------------
  9.1469 +# Enable libtool support for the given language if not already enabled.
  9.1470 +AC_DEFUN([LT_LANG],
  9.1471 +[AC_BEFORE([$0], [LT_OUTPUT])dnl
  9.1472 +m4_case([$1],
  9.1473 +  [C],			[_LT_LANG(C)],
  9.1474 +  [C++],		[_LT_LANG(CXX)],
  9.1475 +  [Java],		[_LT_LANG(GCJ)],
  9.1476 +  [Fortran 77],		[_LT_LANG(F77)],
  9.1477 +  [Fortran],		[_LT_LANG(FC)],
  9.1478 +  [Windows Resource],	[_LT_LANG(RC)],
  9.1479 +  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  9.1480 +    [_LT_LANG($1)],
  9.1481 +    [m4_fatal([$0: unsupported language: "$1"])])])dnl
  9.1482 +])# LT_LANG
  9.1483 +
  9.1484 +
  9.1485 +# _LT_LANG(LANGNAME)
  9.1486 +# ------------------
  9.1487 +m4_defun([_LT_LANG],
  9.1488 +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  9.1489 +  [LT_SUPPORTED_TAG([$1])dnl
  9.1490 +  m4_append([_LT_TAGS], [$1 ])dnl
  9.1491 +  m4_define([_LT_LANG_]$1[_enabled], [])dnl
  9.1492 +  _LT_LANG_$1_CONFIG($1)])dnl
  9.1493 +])# _LT_LANG
  9.1494 +
  9.1495 +
  9.1496 +# _LT_LANG_DEFAULT_CONFIG
  9.1497 +# -----------------------
  9.1498 +m4_defun([_LT_LANG_DEFAULT_CONFIG],
  9.1499 +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  9.1500 +  [LT_LANG(CXX)],
  9.1501 +  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  9.1502 +
  9.1503 +AC_PROVIDE_IFELSE([AC_PROG_F77],
  9.1504 +  [LT_LANG(F77)],
  9.1505 +  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  9.1506 +
  9.1507 +AC_PROVIDE_IFELSE([AC_PROG_FC],
  9.1508 +  [LT_LANG(FC)],
  9.1509 +  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  9.1510 +
  9.1511 +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  9.1512 +dnl pulling things in needlessly.
  9.1513 +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  9.1514 +  [LT_LANG(GCJ)],
  9.1515 +  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  9.1516 +    [LT_LANG(GCJ)],
  9.1517 +    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  9.1518 +      [LT_LANG(GCJ)],
  9.1519 +      [m4_ifdef([AC_PROG_GCJ],
  9.1520 +	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  9.1521 +       m4_ifdef([A][M_PROG_GCJ],
  9.1522 +	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  9.1523 +       m4_ifdef([LT_PROG_GCJ],
  9.1524 +	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  9.1525 +
  9.1526 +AC_PROVIDE_IFELSE([LT_PROG_RC],
  9.1527 +  [LT_LANG(RC)],
  9.1528 +  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  9.1529 +])# _LT_LANG_DEFAULT_CONFIG
  9.1530 +
  9.1531 +# Obsolete macros:
  9.1532 +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  9.1533 +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  9.1534 +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  9.1535 +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  9.1536 +dnl aclocal-1.4 backwards compatibility:
  9.1537 +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  9.1538 +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  9.1539 +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  9.1540 +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  9.1541 +
  9.1542 +
  9.1543 +# _LT_TAG_COMPILER
  9.1544 +# ----------------
  9.1545 +m4_defun([_LT_TAG_COMPILER],
  9.1546 +[AC_REQUIRE([AC_PROG_CC])dnl
  9.1547 +
  9.1548 +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  9.1549 +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  9.1550 +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  9.1551 +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  9.1552 +
  9.1553 +# If no C compiler was specified, use CC.
  9.1554 +LTCC=${LTCC-"$CC"}
  9.1555 +
  9.1556 +# If no C compiler flags were specified, use CFLAGS.
  9.1557 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  9.1558 +
  9.1559 +# Allow CC to be a program name with arguments.
  9.1560 +compiler=$CC
  9.1561 +])# _LT_TAG_COMPILER
  9.1562 +
  9.1563 +
  9.1564 +# _LT_COMPILER_BOILERPLATE
  9.1565 +# ------------------------
  9.1566 +# Check for compiler boilerplate output or warnings with
  9.1567 +# the simple compiler test code.
  9.1568 +m4_defun([_LT_COMPILER_BOILERPLATE],
  9.1569 +[m4_require([_LT_DECL_SED])dnl
  9.1570 +ac_outfile=conftest.$ac_objext
  9.1571 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  9.1572 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  9.1573 +_lt_compiler_boilerplate=`cat conftest.err`
  9.1574 +$RM conftest*
  9.1575 +])# _LT_COMPILER_BOILERPLATE
  9.1576 +
  9.1577 +
  9.1578 +# _LT_LINKER_BOILERPLATE
  9.1579 +# ----------------------
  9.1580 +# Check for linker boilerplate output or warnings with
  9.1581 +# the simple link test code.
  9.1582 +m4_defun([_LT_LINKER_BOILERPLATE],
  9.1583 +[m4_require([_LT_DECL_SED])dnl
  9.1584 +ac_outfile=conftest.$ac_objext
  9.1585 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  9.1586 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  9.1587 +_lt_linker_boilerplate=`cat conftest.err`
  9.1588 +$RM -r conftest*
  9.1589 +])# _LT_LINKER_BOILERPLATE
  9.1590 +
  9.1591 +# _LT_REQUIRED_DARWIN_CHECKS
  9.1592 +# -------------------------
  9.1593 +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  9.1594 +  case $host_os in
  9.1595 +    rhapsody* | darwin*)
  9.1596 +    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  9.1597 +    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  9.1598 +    AC_CHECK_TOOL([LIPO], [lipo], [:])
  9.1599 +    AC_CHECK_TOOL([OTOOL], [otool], [:])
  9.1600 +    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  9.1601 +    _LT_DECL([], [DSYMUTIL], [1],
  9.1602 +      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  9.1603 +    _LT_DECL([], [NMEDIT], [1],
  9.1604 +      [Tool to change global to local symbols on Mac OS X])
  9.1605 +    _LT_DECL([], [LIPO], [1],
  9.1606 +      [Tool to manipulate fat objects and archives on Mac OS X])
  9.1607 +    _LT_DECL([], [OTOOL], [1],
  9.1608 +      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  9.1609 +    _LT_DECL([], [OTOOL64], [1],
  9.1610 +      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  9.1611 +
  9.1612 +    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  9.1613 +      [lt_cv_apple_cc_single_mod=no
  9.1614 +      if test -z "${LT_MULTI_MODULE}"; then
  9.1615 +	# By default we will add the -single_module flag. You can override
  9.1616 +	# by either setting the environment variable LT_MULTI_MODULE
  9.1617 +	# non-empty at configure time, or by adding -multi_module to the
  9.1618 +	# link flags.
  9.1619 +	rm -rf libconftest.dylib*
  9.1620 +	echo "int foo(void){return 1;}" > conftest.c
  9.1621 +	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  9.1622 +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  9.1623 +	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  9.1624 +	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  9.1625 +        _lt_result=$?
  9.1626 +	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  9.1627 +	  lt_cv_apple_cc_single_mod=yes
  9.1628 +	else
  9.1629 +	  cat conftest.err >&AS_MESSAGE_LOG_FD
  9.1630 +	fi
  9.1631 +	rm -rf libconftest.dylib*
  9.1632 +	rm -f conftest.*
  9.1633 +      fi])
  9.1634 +    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  9.1635 +      [lt_cv_ld_exported_symbols_list],
  9.1636 +      [lt_cv_ld_exported_symbols_list=no
  9.1637 +      save_LDFLAGS=$LDFLAGS
  9.1638 +      echo "_main" > conftest.sym
  9.1639 +      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  9.1640 +      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  9.1641 +	[lt_cv_ld_exported_symbols_list=yes],
  9.1642 +	[lt_cv_ld_exported_symbols_list=no])
  9.1643 +	LDFLAGS="$save_LDFLAGS"
  9.1644 +    ])
  9.1645 +    case $host_os in
  9.1646 +    rhapsody* | darwin1.[[012]])
  9.1647 +      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  9.1648 +    darwin1.*)
  9.1649 +      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  9.1650 +    darwin*) # darwin 5.x on
  9.1651 +      # if running on 10.5 or later, the deployment target defaults
  9.1652 +      # to the OS version, if on x86, and 10.4, the deployment
  9.1653 +      # target defaults to 10.4. Don't you love it?
  9.1654 +      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  9.1655 +	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  9.1656 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  9.1657 +	10.[[012]]*)
  9.1658 +	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  9.1659 +	10.*)
  9.1660 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  9.1661 +      esac
  9.1662 +    ;;
  9.1663 +  esac
  9.1664 +    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  9.1665 +      _lt_dar_single_mod='$single_module'
  9.1666 +    fi
  9.1667 +    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  9.1668 +      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  9.1669 +    else
  9.1670 +      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  9.1671 +    fi
  9.1672 +    if test "$DSYMUTIL" != ":"; then
  9.1673 +      _lt_dsymutil='~$DSYMUTIL $lib || :'
  9.1674 +    else
  9.1675 +      _lt_dsymutil=
  9.1676 +    fi
  9.1677 +    ;;
  9.1678 +  esac
  9.1679 +])
  9.1680 +
  9.1681 +
  9.1682 +# _LT_DARWIN_LINKER_FEATURES
  9.1683 +# --------------------------
  9.1684 +# Checks for linker and compiler features on darwin
  9.1685 +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  9.1686 +[
  9.1687 +  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  9.1688 +  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.1689 +  _LT_TAGVAR(hardcode_direct, $1)=no
  9.1690 +  _LT_TAGVAR(hardcode_automatic, $1)=yes
  9.1691 +  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  9.1692 +  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  9.1693 +  _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.1694 +  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  9.1695 +  case $cc_basename in
  9.1696 +     ifort*) _lt_dar_can_shared=yes ;;
  9.1697 +     *) _lt_dar_can_shared=$GCC ;;
  9.1698 +  esac
  9.1699 +  if test "$_lt_dar_can_shared" = "yes"; then
  9.1700 +    output_verbose_link_cmd=echo
  9.1701 +    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9.1702 +    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9.1703 +    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  9.1704 +    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  9.1705 +    m4_if([$1], [CXX],
  9.1706 +[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  9.1707 +      _LT_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${_lt_dsymutil}"
  9.1708 +      _LT_TAGVAR(archive_expsym_cmds, $1)="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
  9.1709 +    fi
  9.1710 +],[])
  9.1711 +  else
  9.1712 +  _LT_TAGVAR(ld_shlibs, $1)=no
  9.1713 +  fi
  9.1714 +])
  9.1715 +
  9.1716 +# _LT_SYS_MODULE_PATH_AIX
  9.1717 +# -----------------------
  9.1718 +# Links a minimal program and checks the executable
  9.1719 +# for the system default hardcoded library path. In most cases,
  9.1720 +# this is /usr/lib:/lib, but when the MPI compilers are used
  9.1721 +# the location of the communication and MPI libs are included too.
  9.1722 +# If we don't find anything, use the default library path according
  9.1723 +# to the aix ld manual.
  9.1724 +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  9.1725 +[m4_require([_LT_DECL_SED])dnl
  9.1726 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  9.1727 +lt_aix_libpath_sed='
  9.1728 +    /Import File Strings/,/^$/ {
  9.1729 +	/^0/ {
  9.1730 +	    s/^0  *\(.*\)$/\1/
  9.1731 +	    p
  9.1732 +	}
  9.1733 +    }'
  9.1734 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9.1735 +# Check for a 64-bit object if we didn't find anything.
  9.1736 +if test -z "$aix_libpath"; then
  9.1737 +  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9.1738 +fi],[])
  9.1739 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9.1740 +])# _LT_SYS_MODULE_PATH_AIX
  9.1741 +
  9.1742 +
  9.1743 +# _LT_SHELL_INIT(ARG)
  9.1744 +# -------------------
  9.1745 +m4_define([_LT_SHELL_INIT],
  9.1746 +[ifdef([AC_DIVERSION_NOTICE],
  9.1747 +	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  9.1748 +	 [AC_DIVERT_PUSH(NOTICE)])
  9.1749 +$1
  9.1750 +AC_DIVERT_POP
  9.1751 +])# _LT_SHELL_INIT
  9.1752 +
  9.1753 +
  9.1754 +# _LT_PROG_ECHO_BACKSLASH
  9.1755 +# -----------------------
  9.1756 +# Add some code to the start of the generated configure script which
  9.1757 +# will find an echo command which doesn't interpret backslashes.
  9.1758 +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  9.1759 +[_LT_SHELL_INIT([
  9.1760 +# Check that we are running under the correct shell.
  9.1761 +SHELL=${CONFIG_SHELL-/bin/sh}
  9.1762 +
  9.1763 +case X$lt_ECHO in
  9.1764 +X*--fallback-echo)
  9.1765 +  # Remove one level of quotation (which was required for Make).
  9.1766 +  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  9.1767 +  ;;
  9.1768 +esac
  9.1769 +
  9.1770 +ECHO=${lt_ECHO-echo}
  9.1771 +if test "X[$]1" = X--no-reexec; then
  9.1772 +  # Discard the --no-reexec flag, and continue.
  9.1773 +  shift
  9.1774 +elif test "X[$]1" = X--fallback-echo; then
  9.1775 +  # Avoid inline document here, it may be left over
  9.1776 +  :
  9.1777 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9.1778 +  # Yippee, $ECHO works!
  9.1779 +  :
  9.1780 +else
  9.1781 +  # Restart under the correct shell.
  9.1782 +  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  9.1783 +fi
  9.1784 +
  9.1785 +if test "X[$]1" = X--fallback-echo; then
  9.1786 +  # used as fallback echo
  9.1787 +  shift
  9.1788 +  cat <<_LT_EOF
  9.1789 +[$]*
  9.1790 +_LT_EOF
  9.1791 +  exit 0
  9.1792 +fi
  9.1793 +
  9.1794 +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9.1795 +# if CDPATH is set.
  9.1796 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9.1797 +
  9.1798 +if test -z "$lt_ECHO"; then
  9.1799 +  if test "X${echo_test_string+set}" != Xset; then
  9.1800 +    # find a string as large as possible, as long as the shell can cope with it
  9.1801 +    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  9.1802 +      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9.1803 +      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  9.1804 +	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  9.1805 +      then
  9.1806 +        break
  9.1807 +      fi
  9.1808 +    done
  9.1809 +  fi
  9.1810 +
  9.1811 +  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9.1812 +     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9.1813 +     test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1814 +    :
  9.1815 +  else
  9.1816 +    # The Solaris, AIX, and Digital Unix default echo programs unquote
  9.1817 +    # backslashes.  This makes it impossible to quote backslashes using
  9.1818 +    #   echo "$something" | sed 's/\\/\\\\/g'
  9.1819 +    #
  9.1820 +    # So, first we look for a working echo in the user's PATH.
  9.1821 +
  9.1822 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9.1823 +    for dir in $PATH /usr/ucb; do
  9.1824 +      IFS="$lt_save_ifs"
  9.1825 +      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9.1826 +         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9.1827 +         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9.1828 +         test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1829 +        ECHO="$dir/echo"
  9.1830 +        break
  9.1831 +      fi
  9.1832 +    done
  9.1833 +    IFS="$lt_save_ifs"
  9.1834 +
  9.1835 +    if test "X$ECHO" = Xecho; then
  9.1836 +      # We didn't find a better echo, so look for alternatives.
  9.1837 +      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  9.1838 +         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  9.1839 +         test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1840 +        # This shell has a builtin print -r that does the trick.
  9.1841 +        ECHO='print -r'
  9.1842 +      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  9.1843 +	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  9.1844 +        # If we have ksh, try running configure again with it.
  9.1845 +        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9.1846 +        export ORIGINAL_CONFIG_SHELL
  9.1847 +        CONFIG_SHELL=/bin/ksh
  9.1848 +        export CONFIG_SHELL
  9.1849 +        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  9.1850 +      else
  9.1851 +        # Try using printf.
  9.1852 +        ECHO='printf %s\n'
  9.1853 +        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9.1854 +	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9.1855 +	   test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1856 +	  # Cool, printf works
  9.1857 +	  :
  9.1858 +        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  9.1859 +	     test "X$echo_testing_string" = 'X\t' &&
  9.1860 +	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9.1861 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1862 +	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  9.1863 +	  export CONFIG_SHELL
  9.1864 +	  SHELL="$CONFIG_SHELL"
  9.1865 +	  export SHELL
  9.1866 +	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  9.1867 +        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  9.1868 +	     test "X$echo_testing_string" = 'X\t' &&
  9.1869 +	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9.1870 +	     test "X$echo_testing_string" = "X$echo_test_string"; then
  9.1871 +	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  9.1872 +        else
  9.1873 +	  # maybe with a smaller string...
  9.1874 +	  prev=:
  9.1875 +
  9.1876 +	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  9.1877 +	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  9.1878 +	    then
  9.1879 +	      break
  9.1880 +	    fi
  9.1881 +	    prev="$cmd"
  9.1882 +	  done
  9.1883 +
  9.1884 +	  if test "$prev" != 'sed 50q "[$]0"'; then
  9.1885 +	    echo_test_string=`eval $prev`
  9.1886 +	    export echo_test_string
  9.1887 +	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  9.1888 +	  else
  9.1889 +	    # Oops.  We lost completely, so just stick with echo.
  9.1890 +	    ECHO=echo
  9.1891 +	  fi
  9.1892 +        fi
  9.1893 +      fi
  9.1894 +    fi
  9.1895 +  fi
  9.1896 +fi
  9.1897 +
  9.1898 +# Copy echo and quote the copy suitably for passing to libtool from
  9.1899 +# the Makefile, instead of quoting the original, which is used later.
  9.1900 +lt_ECHO=$ECHO
  9.1901 +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  9.1902 +   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  9.1903 +fi
  9.1904 +
  9.1905 +AC_SUBST(lt_ECHO)
  9.1906 +])
  9.1907 +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  9.1908 +_LT_DECL([], [ECHO], [1],
  9.1909 +    [An echo program that does not interpret backslashes])
  9.1910 +])# _LT_PROG_ECHO_BACKSLASH
  9.1911 +
  9.1912 +
  9.1913 +# _LT_ENABLE_LOCK
  9.1914 +# ---------------
  9.1915 +m4_defun([_LT_ENABLE_LOCK],
  9.1916 +[AC_ARG_ENABLE([libtool-lock],
  9.1917 +  [AS_HELP_STRING([--disable-libtool-lock],
  9.1918 +    [avoid locking (might break parallel builds)])])
  9.1919 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  9.1920 +
  9.1921 +# Some flags need to be propagated to the compiler or linker for good
  9.1922 +# libtool support.
  9.1923 +case $host in
  9.1924 +ia64-*-hpux*)
  9.1925 +  # Find out which ABI we are using.
  9.1926 +  echo 'int i;' > conftest.$ac_ext
  9.1927 +  if AC_TRY_EVAL(ac_compile); then
  9.1928 +    case `/usr/bin/file conftest.$ac_objext` in
  9.1929 +      *ELF-32*)
  9.1930 +	HPUX_IA64_MODE="32"
  9.1931 +	;;
  9.1932 +      *ELF-64*)
  9.1933 +	HPUX_IA64_MODE="64"
  9.1934 +	;;
  9.1935 +    esac
  9.1936 +  fi
  9.1937 +  rm -rf conftest*
  9.1938 +  ;;
  9.1939 +*-*-irix6*)
  9.1940 +  # Find out which ABI we are using.
  9.1941 +  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  9.1942 +  if AC_TRY_EVAL(ac_compile); then
  9.1943 +    if test "$lt_cv_prog_gnu_ld" = yes; then
  9.1944 +      case `/usr/bin/file conftest.$ac_objext` in
  9.1945 +	*32-bit*)
  9.1946 +	  LD="${LD-ld} -melf32bsmip"
  9.1947 +	  ;;
  9.1948 +	*N32*)
  9.1949 +	  LD="${LD-ld} -melf32bmipn32"
  9.1950 +	  ;;
  9.1951 +	*64-bit*)
  9.1952 +	  LD="${LD-ld} -melf64bmip"
  9.1953 +	;;
  9.1954 +      esac
  9.1955 +    else
  9.1956 +      case `/usr/bin/file conftest.$ac_objext` in
  9.1957 +	*32-bit*)
  9.1958 +	  LD="${LD-ld} -32"
  9.1959 +	  ;;
  9.1960 +	*N32*)
  9.1961 +	  LD="${LD-ld} -n32"
  9.1962 +	  ;;
  9.1963 +	*64-bit*)
  9.1964 +	  LD="${LD-ld} -64"
  9.1965 +	  ;;
  9.1966 +      esac
  9.1967 +    fi
  9.1968 +  fi
  9.1969 +  rm -rf conftest*
  9.1970 +  ;;
  9.1971 +
  9.1972 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  9.1973 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  9.1974 +  # Find out which ABI we are using.
  9.1975 +  echo 'int i;' > conftest.$ac_ext
  9.1976 +  if AC_TRY_EVAL(ac_compile); then
  9.1977 +    case `/usr/bin/file conftest.o` in
  9.1978 +      *32-bit*)
  9.1979 +	case $host in
  9.1980 +	  x86_64-*kfreebsd*-gnu)
  9.1981 +	    LD="${LD-ld} -m elf_i386_fbsd"
  9.1982 +	    ;;
  9.1983 +	  x86_64-*linux*)
  9.1984 +	    LD="${LD-ld} -m elf_i386"
  9.1985 +	    ;;
  9.1986 +	  ppc64-*linux*|powerpc64-*linux*)
  9.1987 +	    LD="${LD-ld} -m elf32ppclinux"
  9.1988 +	    ;;
  9.1989 +	  s390x-*linux*)
  9.1990 +	    LD="${LD-ld} -m elf_s390"
  9.1991 +	    ;;
  9.1992 +	  sparc64-*linux*)
  9.1993 +	    LD="${LD-ld} -m elf32_sparc"
  9.1994 +	    ;;
  9.1995 +	esac
  9.1996 +	;;
  9.1997 +      *64-bit*)
  9.1998 +	case $host in
  9.1999 +	  x86_64-*kfreebsd*-gnu)
  9.2000 +	    LD="${LD-ld} -m elf_x86_64_fbsd"
  9.2001 +	    ;;
  9.2002 +	  x86_64-*linux*)
  9.2003 +	    LD="${LD-ld} -m elf_x86_64"
  9.2004 +	    ;;
  9.2005 +	  ppc*-*linux*|powerpc*-*linux*)
  9.2006 +	    LD="${LD-ld} -m elf64ppc"
  9.2007 +	    ;;
  9.2008 +	  s390*-*linux*|s390*-*tpf*)
  9.2009 +	    LD="${LD-ld} -m elf64_s390"
  9.2010 +	    ;;
  9.2011 +	  sparc*-*linux*)
  9.2012 +	    LD="${LD-ld} -m elf64_sparc"
  9.2013 +	    ;;
  9.2014 +	esac
  9.2015 +	;;
  9.2016 +    esac
  9.2017 +  fi
  9.2018 +  rm -rf conftest*
  9.2019 +  ;;
  9.2020 +
  9.2021 +*-*-sco3.2v5*)
  9.2022 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  9.2023 +  SAVE_CFLAGS="$CFLAGS"
  9.2024 +  CFLAGS="$CFLAGS -belf"
  9.2025 +  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  9.2026 +    [AC_LANG_PUSH(C)
  9.2027 +     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  9.2028 +     AC_LANG_POP])
  9.2029 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  9.2030 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  9.2031 +    CFLAGS="$SAVE_CFLAGS"
  9.2032 +  fi
  9.2033 +  ;;
  9.2034 +sparc*-*solaris*)
  9.2035 +  # Find out which ABI we are using.
  9.2036 +  echo 'int i;' > conftest.$ac_ext
  9.2037 +  if AC_TRY_EVAL(ac_compile); then
  9.2038 +    case `/usr/bin/file conftest.o` in
  9.2039 +    *64-bit*)
  9.2040 +      case $lt_cv_prog_gnu_ld in
  9.2041 +      yes*) LD="${LD-ld} -m elf64_sparc" ;;
  9.2042 +      *)
  9.2043 +	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  9.2044 +	  LD="${LD-ld} -64"
  9.2045 +	fi
  9.2046 +	;;
  9.2047 +      esac
  9.2048 +      ;;
  9.2049 +    esac
  9.2050 +  fi
  9.2051 +  rm -rf conftest*
  9.2052 +  ;;
  9.2053 +esac
  9.2054 +
  9.2055 +need_locks="$enable_libtool_lock"
  9.2056 +])# _LT_ENABLE_LOCK
  9.2057 +
  9.2058 +
  9.2059 +# _LT_CMD_OLD_ARCHIVE
  9.2060 +# -------------------
  9.2061 +m4_defun([_LT_CMD_OLD_ARCHIVE],
  9.2062 +[AC_CHECK_TOOL(AR, ar, false)
  9.2063 +test -z "$AR" && AR=ar
  9.2064 +test -z "$AR_FLAGS" && AR_FLAGS=cru
  9.2065 +_LT_DECL([], [AR], [1], [The archiver])
  9.2066 +_LT_DECL([], [AR_FLAGS], [1])
  9.2067 +
  9.2068 +AC_CHECK_TOOL(STRIP, strip, :)
  9.2069 +test -z "$STRIP" && STRIP=:
  9.2070 +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  9.2071 +
  9.2072 +AC_CHECK_TOOL(RANLIB, ranlib, :)
  9.2073 +test -z "$RANLIB" && RANLIB=:
  9.2074 +_LT_DECL([], [RANLIB], [1],
  9.2075 +    [Commands used to install an old-style archive])
  9.2076 +
  9.2077 +# Determine commands to create old-style static archives.
  9.2078 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  9.2079 +old_postinstall_cmds='chmod 644 $oldlib'
  9.2080 +old_postuninstall_cmds=
  9.2081 +
  9.2082 +if test -n "$RANLIB"; then
  9.2083 +  case $host_os in
  9.2084 +  openbsd*)
  9.2085 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  9.2086 +    ;;
  9.2087 +  *)
  9.2088 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  9.2089 +    ;;
  9.2090 +  esac
  9.2091 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  9.2092 +fi
  9.2093 +_LT_DECL([], [old_postinstall_cmds], [2])
  9.2094 +_LT_DECL([], [old_postuninstall_cmds], [2])
  9.2095 +_LT_TAGDECL([], [old_archive_cmds], [2],
  9.2096 +    [Commands used to build an old-style archive])
  9.2097 +])# _LT_CMD_OLD_ARCHIVE
  9.2098 +
  9.2099 +
  9.2100 +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  9.2101 +#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  9.2102 +# ----------------------------------------------------------------
  9.2103 +# Check whether the given compiler option works
  9.2104 +AC_DEFUN([_LT_COMPILER_OPTION],
  9.2105 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.2106 +m4_require([_LT_DECL_SED])dnl
  9.2107 +AC_CACHE_CHECK([$1], [$2],
  9.2108 +  [$2=no
  9.2109 +   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  9.2110 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9.2111 +   lt_compiler_flag="$3"
  9.2112 +   # Insert the option either (1) after the last *FLAGS variable, or
  9.2113 +   # (2) before a word containing "conftest.", or (3) at the end.
  9.2114 +   # Note that $ac_compile itself does not contain backslashes and begins
  9.2115 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  9.2116 +   # The option is referenced via a variable to avoid confusing sed.
  9.2117 +   lt_compile=`echo "$ac_compile" | $SED \
  9.2118 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9.2119 +   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  9.2120 +   -e 's:$: $lt_compiler_flag:'`
  9.2121 +   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  9.2122 +   (eval "$lt_compile" 2>conftest.err)
  9.2123 +   ac_status=$?
  9.2124 +   cat conftest.err >&AS_MESSAGE_LOG_FD
  9.2125 +   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  9.2126 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  9.2127 +     # The compiler can only warn and ignore the option if not recognized
  9.2128 +     # So say no if there are warnings other than the usual output.
  9.2129 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  9.2130 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9.2131 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  9.2132 +       $2=yes
  9.2133 +     fi
  9.2134 +   fi
  9.2135 +   $RM conftest*
  9.2136 +])
  9.2137 +
  9.2138 +if test x"[$]$2" = xyes; then
  9.2139 +    m4_if([$5], , :, [$5])
  9.2140 +else
  9.2141 +    m4_if([$6], , :, [$6])
  9.2142 +fi
  9.2143 +])# _LT_COMPILER_OPTION
  9.2144 +
  9.2145 +# Old name:
  9.2146 +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  9.2147 +dnl aclocal-1.4 backwards compatibility:
  9.2148 +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  9.2149 +
  9.2150 +
  9.2151 +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  9.2152 +#                  [ACTION-SUCCESS], [ACTION-FAILURE])
  9.2153 +# ----------------------------------------------------
  9.2154 +# Check whether the given linker option works
  9.2155 +AC_DEFUN([_LT_LINKER_OPTION],
  9.2156 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.2157 +m4_require([_LT_DECL_SED])dnl
  9.2158 +AC_CACHE_CHECK([$1], [$2],
  9.2159 +  [$2=no
  9.2160 +   save_LDFLAGS="$LDFLAGS"
  9.2161 +   LDFLAGS="$LDFLAGS $3"
  9.2162 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9.2163 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9.2164 +     # The linker can only warn and ignore the option if not recognized
  9.2165 +     # So say no if there are warnings
  9.2166 +     if test -s conftest.err; then
  9.2167 +       # Append any errors to the config.log.
  9.2168 +       cat conftest.err 1>&AS_MESSAGE_LOG_FD
  9.2169 +       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  9.2170 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9.2171 +       if diff conftest.exp conftest.er2 >/dev/null; then
  9.2172 +         $2=yes
  9.2173 +       fi
  9.2174 +     else
  9.2175 +       $2=yes
  9.2176 +     fi
  9.2177 +   fi
  9.2178 +   $RM -r conftest*
  9.2179 +   LDFLAGS="$save_LDFLAGS"
  9.2180 +])
  9.2181 +
  9.2182 +if test x"[$]$2" = xyes; then
  9.2183 +    m4_if([$4], , :, [$4])
  9.2184 +else
  9.2185 +    m4_if([$5], , :, [$5])
  9.2186 +fi
  9.2187 +])# _LT_LINKER_OPTION
  9.2188 +
  9.2189 +# Old name:
  9.2190 +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  9.2191 +dnl aclocal-1.4 backwards compatibility:
  9.2192 +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  9.2193 +
  9.2194 +
  9.2195 +# LT_CMD_MAX_LEN
  9.2196 +#---------------
  9.2197 +AC_DEFUN([LT_CMD_MAX_LEN],
  9.2198 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9.2199 +# find the maximum length of command line arguments
  9.2200 +AC_MSG_CHECKING([the maximum length of command line arguments])
  9.2201 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  9.2202 +  i=0
  9.2203 +  teststring="ABCD"
  9.2204 +
  9.2205 +  case $build_os in
  9.2206 +  msdosdjgpp*)
  9.2207 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
  9.2208 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
  9.2209 +    # during glob expansion).  Even if it were fixed, the result of this
  9.2210 +    # check would be larger than it should be.
  9.2211 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  9.2212 +    ;;
  9.2213 +
  9.2214 +  gnu*)
  9.2215 +    # Under GNU Hurd, this test is not required because there is
  9.2216 +    # no limit to the length of command line arguments.
  9.2217 +    # Libtool will interpret -1 as no limit whatsoever
  9.2218 +    lt_cv_sys_max_cmd_len=-1;
  9.2219 +    ;;
  9.2220 +
  9.2221 +  cygwin* | mingw* | cegcc*)
  9.2222 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
  9.2223 +    # about 5 minutes as the teststring grows exponentially.
  9.2224 +    # Worse, since 9x/ME are not pre-emptively multitasking,
  9.2225 +    # you end up with a "frozen" computer, even though with patience
  9.2226 +    # the test eventually succeeds (with a max line length of 256k).
  9.2227 +    # Instead, let's just punt: use the minimum linelength reported by
  9.2228 +    # all of the supported platforms: 8192 (on NT/2K/XP).
  9.2229 +    lt_cv_sys_max_cmd_len=8192;
  9.2230 +    ;;
  9.2231 +
  9.2232 +  beos*)
  9.2233 +    # On BeOS, this test takes a really really long time.
  9.2234 +    # So we just punt and use a minimum line length of 8192.
  9.2235 +    lt_cv_sys_max_cmd_len=8192;
  9.2236 +    ;;
  9.2237 +
  9.2238 +  amigaos*)
  9.2239 +    # On AmigaOS with pdksh, this test takes hours, literally.
  9.2240 +    # So we just punt and use a minimum line length of 8192.
  9.2241 +    lt_cv_sys_max_cmd_len=8192;
  9.2242 +    ;;
  9.2243 +
  9.2244 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  9.2245 +    # This has been around since 386BSD, at least.  Likely further.
  9.2246 +    if test -x /sbin/sysctl; then
  9.2247 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  9.2248 +    elif test -x /usr/sbin/sysctl; then
  9.2249 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  9.2250 +    else
  9.2251 +      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  9.2252 +    fi
  9.2253 +    # And add a safety zone
  9.2254 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  9.2255 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  9.2256 +    ;;
  9.2257 +
  9.2258 +  interix*)
  9.2259 +    # We know the value 262144 and hardcode it with a safety zone (like BSD)
  9.2260 +    lt_cv_sys_max_cmd_len=196608
  9.2261 +    ;;
  9.2262 +
  9.2263 +  osf*)
  9.2264 +    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  9.2265 +    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  9.2266 +    # nice to cause kernel panics so lets avoid the loop below.
  9.2267 +    # First set a reasonable default.
  9.2268 +    lt_cv_sys_max_cmd_len=16384
  9.2269 +    #
  9.2270 +    if test -x /sbin/sysconfig; then
  9.2271 +      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  9.2272 +        *1*) lt_cv_sys_max_cmd_len=-1 ;;
  9.2273 +      esac
  9.2274 +    fi
  9.2275 +    ;;
  9.2276 +  sco3.2v5*)
  9.2277 +    lt_cv_sys_max_cmd_len=102400
  9.2278 +    ;;
  9.2279 +  sysv5* | sco5v6* | sysv4.2uw2*)
  9.2280 +    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  9.2281 +    if test -n "$kargmax"; then
  9.2282 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
  9.2283 +    else
  9.2284 +      lt_cv_sys_max_cmd_len=32768
  9.2285 +    fi
  9.2286 +    ;;
  9.2287 +  *)
  9.2288 +    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  9.2289 +    if test -n "$lt_cv_sys_max_cmd_len"; then
  9.2290 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  9.2291 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  9.2292 +    else
  9.2293 +      # Make teststring a little bigger before we do anything with it.
  9.2294 +      # a 1K string should be a reasonable start.
  9.2295 +      for i in 1 2 3 4 5 6 7 8 ; do
  9.2296 +        teststring=$teststring$teststring
  9.2297 +      done
  9.2298 +      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  9.2299 +      # If test is not a shell built-in, we'll probably end up computing a
  9.2300 +      # maximum length that is only half of the actual maximum length, but
  9.2301 +      # we can't tell.
  9.2302 +      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  9.2303 +	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  9.2304 +	      test $i != 17 # 1/2 MB should be enough
  9.2305 +      do
  9.2306 +        i=`expr $i + 1`
  9.2307 +        teststring=$teststring$teststring
  9.2308 +      done
  9.2309 +      # Only check the string length outside the loop.
  9.2310 +      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  9.2311 +      teststring=
  9.2312 +      # Add a significant safety factor because C++ compilers can tack on
  9.2313 +      # massive amounts of additional arguments before passing them to the
  9.2314 +      # linker.  It appears as though 1/2 is a usable value.
  9.2315 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  9.2316 +    fi
  9.2317 +    ;;
  9.2318 +  esac
  9.2319 +])
  9.2320 +if test -n $lt_cv_sys_max_cmd_len ; then
  9.2321 +  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  9.2322 +else
  9.2323 +  AC_MSG_RESULT(none)
  9.2324 +fi
  9.2325 +max_cmd_len=$lt_cv_sys_max_cmd_len
  9.2326 +_LT_DECL([], [max_cmd_len], [0],
  9.2327 +    [What is the maximum length of a command?])
  9.2328 +])# LT_CMD_MAX_LEN
  9.2329 +
  9.2330 +# Old name:
  9.2331 +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  9.2332 +dnl aclocal-1.4 backwards compatibility:
  9.2333 +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  9.2334 +
  9.2335 +
  9.2336 +# _LT_HEADER_DLFCN
  9.2337 +# ----------------
  9.2338 +m4_defun([_LT_HEADER_DLFCN],
  9.2339 +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  9.2340 +])# _LT_HEADER_DLFCN
  9.2341 +
  9.2342 +
  9.2343 +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  9.2344 +#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  9.2345 +# ----------------------------------------------------------------
  9.2346 +m4_defun([_LT_TRY_DLOPEN_SELF],
  9.2347 +[m4_require([_LT_HEADER_DLFCN])dnl
  9.2348 +if test "$cross_compiling" = yes; then :
  9.2349 +  [$4]
  9.2350 +else
  9.2351 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9.2352 +  lt_status=$lt_dlunknown
  9.2353 +  cat > conftest.$ac_ext <<_LT_EOF
  9.2354 +[#line __oline__ "configure"
  9.2355 +#include "confdefs.h"
  9.2356 +
  9.2357 +#if HAVE_DLFCN_H
  9.2358 +#include <dlfcn.h>
  9.2359 +#endif
  9.2360 +
  9.2361 +#include <stdio.h>
  9.2362 +
  9.2363 +#ifdef RTLD_GLOBAL
  9.2364 +#  define LT_DLGLOBAL		RTLD_GLOBAL
  9.2365 +#else
  9.2366 +#  ifdef DL_GLOBAL
  9.2367 +#    define LT_DLGLOBAL		DL_GLOBAL
  9.2368 +#  else
  9.2369 +#    define LT_DLGLOBAL		0
  9.2370 +#  endif
  9.2371 +#endif
  9.2372 +
  9.2373 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9.2374 +   find out it does not work in some platform. */
  9.2375 +#ifndef LT_DLLAZY_OR_NOW
  9.2376 +#  ifdef RTLD_LAZY
  9.2377 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
  9.2378 +#  else
  9.2379 +#    ifdef DL_LAZY
  9.2380 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
  9.2381 +#    else
  9.2382 +#      ifdef RTLD_NOW
  9.2383 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
  9.2384 +#      else
  9.2385 +#        ifdef DL_NOW
  9.2386 +#          define LT_DLLAZY_OR_NOW	DL_NOW
  9.2387 +#        else
  9.2388 +#          define LT_DLLAZY_OR_NOW	0
  9.2389 +#        endif
  9.2390 +#      endif
  9.2391 +#    endif
  9.2392 +#  endif
  9.2393 +#endif
  9.2394 +
  9.2395 +void fnord() { int i=42;}
  9.2396 +int main ()
  9.2397 +{
  9.2398 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9.2399 +  int status = $lt_dlunknown;
  9.2400 +
  9.2401 +  if (self)
  9.2402 +    {
  9.2403 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  9.2404 +      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9.2405 +      /* dlclose (self); */
  9.2406 +    }
  9.2407 +  else
  9.2408 +    puts (dlerror ());
  9.2409 +
  9.2410 +  return status;
  9.2411 +}]
  9.2412 +_LT_EOF
  9.2413 +  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  9.2414 +    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  9.2415 +    lt_status=$?
  9.2416 +    case x$lt_status in
  9.2417 +      x$lt_dlno_uscore) $1 ;;
  9.2418 +      x$lt_dlneed_uscore) $2 ;;
  9.2419 +      x$lt_dlunknown|x*) $3 ;;
  9.2420 +    esac
  9.2421 +  else :
  9.2422 +    # compilation failed
  9.2423 +    $3
  9.2424 +  fi
  9.2425 +fi
  9.2426 +rm -fr conftest*
  9.2427 +])# _LT_TRY_DLOPEN_SELF
  9.2428 +
  9.2429 +
  9.2430 +# LT_SYS_DLOPEN_SELF
  9.2431 +# ------------------
  9.2432 +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  9.2433 +[m4_require([_LT_HEADER_DLFCN])dnl
  9.2434 +if test "x$enable_dlopen" != xyes; then
  9.2435 +  enable_dlopen=unknown
  9.2436 +  enable_dlopen_self=unknown
  9.2437 +  enable_dlopen_self_static=unknown
  9.2438 +else
  9.2439 +  lt_cv_dlopen=no
  9.2440 +  lt_cv_dlopen_libs=
  9.2441 +
  9.2442 +  case $host_os in
  9.2443 +  beos*)
  9.2444 +    lt_cv_dlopen="load_add_on"
  9.2445 +    lt_cv_dlopen_libs=
  9.2446 +    lt_cv_dlopen_self=yes
  9.2447 +    ;;
  9.2448 +
  9.2449 +  mingw* | pw32* | cegcc*)
  9.2450 +    lt_cv_dlopen="LoadLibrary"
  9.2451 +    lt_cv_dlopen_libs=
  9.2452 +    ;;
  9.2453 +
  9.2454 +  cygwin*)
  9.2455 +    lt_cv_dlopen="dlopen"
  9.2456 +    lt_cv_dlopen_libs=
  9.2457 +    ;;
  9.2458 +
  9.2459 +  darwin*)
  9.2460 +  # if libdl is installed we need to link against it
  9.2461 +    AC_CHECK_LIB([dl], [dlopen],
  9.2462 +		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  9.2463 +    lt_cv_dlopen="dyld"
  9.2464 +    lt_cv_dlopen_libs=
  9.2465 +    lt_cv_dlopen_self=yes
  9.2466 +    ])
  9.2467 +    ;;
  9.2468 +
  9.2469 +  *)
  9.2470 +    AC_CHECK_FUNC([shl_load],
  9.2471 +	  [lt_cv_dlopen="shl_load"],
  9.2472 +      [AC_CHECK_LIB([dld], [shl_load],
  9.2473 +	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  9.2474 +	[AC_CHECK_FUNC([dlopen],
  9.2475 +	      [lt_cv_dlopen="dlopen"],
  9.2476 +	  [AC_CHECK_LIB([dl], [dlopen],
  9.2477 +		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  9.2478 +	    [AC_CHECK_LIB([svld], [dlopen],
  9.2479 +		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  9.2480 +	      [AC_CHECK_LIB([dld], [dld_link],
  9.2481 +		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  9.2482 +	      ])
  9.2483 +	    ])
  9.2484 +	  ])
  9.2485 +	])
  9.2486 +      ])
  9.2487 +    ;;
  9.2488 +  esac
  9.2489 +
  9.2490 +  if test "x$lt_cv_dlopen" != xno; then
  9.2491 +    enable_dlopen=yes
  9.2492 +  else
  9.2493 +    enable_dlopen=no
  9.2494 +  fi
  9.2495 +
  9.2496 +  case $lt_cv_dlopen in
  9.2497 +  dlopen)
  9.2498 +    save_CPPFLAGS="$CPPFLAGS"
  9.2499 +    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9.2500 +
  9.2501 +    save_LDFLAGS="$LDFLAGS"
  9.2502 +    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9.2503 +
  9.2504 +    save_LIBS="$LIBS"
  9.2505 +    LIBS="$lt_cv_dlopen_libs $LIBS"
  9.2506 +
  9.2507 +    AC_CACHE_CHECK([whether a program can dlopen itself],
  9.2508 +	  lt_cv_dlopen_self, [dnl
  9.2509 +	  _LT_TRY_DLOPEN_SELF(
  9.2510 +	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  9.2511 +	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  9.2512 +    ])
  9.2513 +
  9.2514 +    if test "x$lt_cv_dlopen_self" = xyes; then
  9.2515 +      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  9.2516 +      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  9.2517 +	  lt_cv_dlopen_self_static, [dnl
  9.2518 +	  _LT_TRY_DLOPEN_SELF(
  9.2519 +	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  9.2520 +	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
  9.2521 +      ])
  9.2522 +    fi
  9.2523 +
  9.2524 +    CPPFLAGS="$save_CPPFLAGS"
  9.2525 +    LDFLAGS="$save_LDFLAGS"
  9.2526 +    LIBS="$save_LIBS"
  9.2527 +    ;;
  9.2528 +  esac
  9.2529 +
  9.2530 +  case $lt_cv_dlopen_self in
  9.2531 +  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9.2532 +  *) enable_dlopen_self=unknown ;;
  9.2533 +  esac
  9.2534 +
  9.2535 +  case $lt_cv_dlopen_self_static in
  9.2536 +  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9.2537 +  *) enable_dlopen_self_static=unknown ;;
  9.2538 +  esac
  9.2539 +fi
  9.2540 +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  9.2541 +	 [Whether dlopen is supported])
  9.2542 +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  9.2543 +	 [Whether dlopen of programs is supported])
  9.2544 +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  9.2545 +	 [Whether dlopen of statically linked programs is supported])
  9.2546 +])# LT_SYS_DLOPEN_SELF
  9.2547 +
  9.2548 +# Old name:
  9.2549 +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  9.2550 +dnl aclocal-1.4 backwards compatibility:
  9.2551 +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  9.2552 +
  9.2553 +
  9.2554 +# _LT_COMPILER_C_O([TAGNAME])
  9.2555 +# ---------------------------
  9.2556 +# Check to see if options -c and -o are simultaneously supported by compiler.
  9.2557 +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  9.2558 +m4_defun([_LT_COMPILER_C_O],
  9.2559 +[m4_require([_LT_DECL_SED])dnl
  9.2560 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.2561 +m4_require([_LT_TAG_COMPILER])dnl
  9.2562 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  9.2563 +  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  9.2564 +  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  9.2565 +   $RM -r conftest 2>/dev/null
  9.2566 +   mkdir conftest
  9.2567 +   cd conftest
  9.2568 +   mkdir out
  9.2569 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9.2570 +
  9.2571 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  9.2572 +   # Insert the option either (1) after the last *FLAGS variable, or
  9.2573 +   # (2) before a word containing "conftest.", or (3) at the end.
  9.2574 +   # Note that $ac_compile itself does not contain backslashes and begins
  9.2575 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  9.2576 +   lt_compile=`echo "$ac_compile" | $SED \
  9.2577 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9.2578 +   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  9.2579 +   -e 's:$: $lt_compiler_flag:'`
  9.2580 +   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  9.2581 +   (eval "$lt_compile" 2>out/conftest.err)
  9.2582 +   ac_status=$?
  9.2583 +   cat out/conftest.err >&AS_MESSAGE_LOG_FD
  9.2584 +   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  9.2585 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9.2586 +   then
  9.2587 +     # The compiler can only warn and ignore the option if not recognized
  9.2588 +     # So say no if there are warnings
  9.2589 +     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  9.2590 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9.2591 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9.2592 +       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  9.2593 +     fi
  9.2594 +   fi
  9.2595 +   chmod u+w . 2>&AS_MESSAGE_LOG_FD
  9.2596 +   $RM conftest*
  9.2597 +   # SGI C++ compiler will create directory out/ii_files/ for
  9.2598 +   # template instantiation
  9.2599 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9.2600 +   $RM out/* && rmdir out
  9.2601 +   cd ..
  9.2602 +   $RM -r conftest
  9.2603 +   $RM conftest*
  9.2604 +])
  9.2605 +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  9.2606 +	[Does compiler simultaneously support -c and -o options?])
  9.2607 +])# _LT_COMPILER_C_O
  9.2608 +
  9.2609 +
  9.2610 +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  9.2611 +# ----------------------------------
  9.2612 +# Check to see if we can do hard links to lock some files if needed
  9.2613 +m4_defun([_LT_COMPILER_FILE_LOCKS],
  9.2614 +[m4_require([_LT_ENABLE_LOCK])dnl
  9.2615 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.2616 +_LT_COMPILER_C_O([$1])
  9.2617 +
  9.2618 +hard_links="nottested"
  9.2619 +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  9.2620 +  # do not overwrite the value of need_locks provided by the user
  9.2621 +  AC_MSG_CHECKING([if we can lock with hard links])
  9.2622 +  hard_links=yes
  9.2623 +  $RM conftest*
  9.2624 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9.2625 +  touch conftest.a
  9.2626 +  ln conftest.a conftest.b 2>&5 || hard_links=no
  9.2627 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9.2628 +  AC_MSG_RESULT([$hard_links])
  9.2629 +  if test "$hard_links" = no; then
  9.2630 +    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  9.2631 +    need_locks=warn
  9.2632 +  fi
  9.2633 +else
  9.2634 +  need_locks=no
  9.2635 +fi
  9.2636 +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  9.2637 +])# _LT_COMPILER_FILE_LOCKS
  9.2638 +
  9.2639 +
  9.2640 +# _LT_CHECK_OBJDIR
  9.2641 +# ----------------
  9.2642 +m4_defun([_LT_CHECK_OBJDIR],
  9.2643 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  9.2644 +[rm -f .libs 2>/dev/null
  9.2645 +mkdir .libs 2>/dev/null
  9.2646 +if test -d .libs; then
  9.2647 +  lt_cv_objdir=.libs
  9.2648 +else
  9.2649 +  # MS-DOS does not allow filenames that begin with a dot.
  9.2650 +  lt_cv_objdir=_libs
  9.2651 +fi
  9.2652 +rmdir .libs 2>/dev/null])
  9.2653 +objdir=$lt_cv_objdir
  9.2654 +_LT_DECL([], [objdir], [0],
  9.2655 +         [The name of the directory that contains temporary libtool files])dnl
  9.2656 +m4_pattern_allow([LT_OBJDIR])dnl
  9.2657 +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  9.2658 +  [Define to the sub-directory in which libtool stores uninstalled libraries.])
  9.2659 +])# _LT_CHECK_OBJDIR
  9.2660 +
  9.2661 +
  9.2662 +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  9.2663 +# --------------------------------------
  9.2664 +# Check hardcoding attributes.
  9.2665 +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  9.2666 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
  9.2667 +_LT_TAGVAR(hardcode_action, $1)=
  9.2668 +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  9.2669 +   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  9.2670 +   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  9.2671 +
  9.2672 +  # We can hardcode non-existent directories.
  9.2673 +  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  9.2674 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9.2675 +     # have to relink, otherwise we might link with an installed library
  9.2676 +     # when we should be linking with a yet-to-be-installed one
  9.2677 +     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  9.2678 +     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  9.2679 +    # Linking always hardcodes the temporary library directory.
  9.2680 +    _LT_TAGVAR(hardcode_action, $1)=relink
  9.2681 +  else
  9.2682 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9.2683 +    _LT_TAGVAR(hardcode_action, $1)=immediate
  9.2684 +  fi
  9.2685 +else
  9.2686 +  # We cannot hardcode anything, or else we can only hardcode existing
  9.2687 +  # directories.
  9.2688 +  _LT_TAGVAR(hardcode_action, $1)=unsupported
  9.2689 +fi
  9.2690 +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  9.2691 +
  9.2692 +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  9.2693 +   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  9.2694 +  # Fast installation is not supported
  9.2695 +  enable_fast_install=no
  9.2696 +elif test "$shlibpath_overrides_runpath" = yes ||
  9.2697 +     test "$enable_shared" = no; then
  9.2698 +  # Fast installation is not necessary
  9.2699 +  enable_fast_install=needless
  9.2700 +fi
  9.2701 +_LT_TAGDECL([], [hardcode_action], [0],
  9.2702 +    [How to hardcode a shared library path into an executable])
  9.2703 +])# _LT_LINKER_HARDCODE_LIBPATH
  9.2704 +
  9.2705 +
  9.2706 +# _LT_CMD_STRIPLIB
  9.2707 +# ----------------
  9.2708 +m4_defun([_LT_CMD_STRIPLIB],
  9.2709 +[m4_require([_LT_DECL_EGREP])
  9.2710 +striplib=
  9.2711 +old_striplib=
  9.2712 +AC_MSG_CHECKING([whether stripping libraries is possible])
  9.2713 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  9.2714 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  9.2715 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  9.2716 +  AC_MSG_RESULT([yes])
  9.2717 +else
  9.2718 +# FIXME - insert some real tests, host_os isn't really good enough
  9.2719 +  case $host_os in
  9.2720 +  darwin*)
  9.2721 +    if test -n "$STRIP" ; then
  9.2722 +      striplib="$STRIP -x"
  9.2723 +      old_striplib="$STRIP -S"
  9.2724 +      AC_MSG_RESULT([yes])
  9.2725 +    else
  9.2726 +      AC_MSG_RESULT([no])
  9.2727 +    fi
  9.2728 +    ;;
  9.2729 +  *)
  9.2730 +    AC_MSG_RESULT([no])
  9.2731 +    ;;
  9.2732 +  esac
  9.2733 +fi
  9.2734 +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  9.2735 +_LT_DECL([], [striplib], [1])
  9.2736 +])# _LT_CMD_STRIPLIB
  9.2737 +
  9.2738 +
  9.2739 +# _LT_SYS_DYNAMIC_LINKER([TAG])
  9.2740 +# -----------------------------
  9.2741 +# PORTME Fill in your ld.so characteristics
  9.2742 +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  9.2743 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9.2744 +m4_require([_LT_DECL_EGREP])dnl
  9.2745 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.2746 +m4_require([_LT_DECL_OBJDUMP])dnl
  9.2747 +m4_require([_LT_DECL_SED])dnl
  9.2748 +AC_MSG_CHECKING([dynamic linker characteristics])
  9.2749 +m4_if([$1],
  9.2750 +	[], [
  9.2751 +if test "$GCC" = yes; then
  9.2752 +  case $host_os in
  9.2753 +    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  9.2754 +    *) lt_awk_arg="/^libraries:/" ;;
  9.2755 +  esac
  9.2756 +  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9.2757 +  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  9.2758 +    # if the path contains ";" then we assume it to be the separator
  9.2759 +    # otherwise default to the standard path separator (i.e. ":") - it is
  9.2760 +    # assumed that no part of a normal pathname contains ";" but that should
  9.2761 +    # okay in the real world where ";" in dirpaths is itself problematic.
  9.2762 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  9.2763 +  else
  9.2764 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  9.2765 +  fi
  9.2766 +  # Ok, now we have the path, separated by spaces, we can step through it
  9.2767 +  # and add multilib dir if necessary.
  9.2768 +  lt_tmp_lt_search_path_spec=
  9.2769 +  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9.2770 +  for lt_sys_path in $lt_search_path_spec; do
  9.2771 +    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9.2772 +      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9.2773 +    else
  9.2774 +      test -d "$lt_sys_path" && \
  9.2775 +	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9.2776 +    fi
  9.2777 +  done
  9.2778 +  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  9.2779 +BEGIN {RS=" "; FS="/|\n";} {
  9.2780 +  lt_foo="";
  9.2781 +  lt_count=0;
  9.2782 +  for (lt_i = NF; lt_i > 0; lt_i--) {
  9.2783 +    if ($lt_i != "" && $lt_i != ".") {
  9.2784 +      if ($lt_i == "..") {
  9.2785 +        lt_count++;
  9.2786 +      } else {
  9.2787 +        if (lt_count == 0) {
  9.2788 +          lt_foo="/" $lt_i lt_foo;
  9.2789 +        } else {
  9.2790 +          lt_count--;
  9.2791 +        }
  9.2792 +      }
  9.2793 +    }
  9.2794 +  }
  9.2795 +  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  9.2796 +  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  9.2797 +}'`
  9.2798 +  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  9.2799 +else
  9.2800 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9.2801 +fi])
  9.2802 +library_names_spec=
  9.2803 +libname_spec='lib$name'
  9.2804 +soname_spec=
  9.2805 +shrext_cmds=".so"
  9.2806 +postinstall_cmds=
  9.2807 +postuninstall_cmds=
  9.2808 +finish_cmds=
  9.2809 +finish_eval=
  9.2810 +shlibpath_var=
  9.2811 +shlibpath_overrides_runpath=unknown
  9.2812 +version_type=none
  9.2813 +dynamic_linker="$host_os ld.so"
  9.2814 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9.2815 +need_lib_prefix=unknown
  9.2816 +hardcode_into_libs=no
  9.2817 +
  9.2818 +# when you set need_version to no, make sure it does not cause -set_version
  9.2819 +# flags to be left without arguments
  9.2820 +need_version=unknown
  9.2821 +
  9.2822 +case $host_os in
  9.2823 +aix3*)
  9.2824 +  version_type=linux
  9.2825 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9.2826 +  shlibpath_var=LIBPATH
  9.2827 +
  9.2828 +  # AIX 3 has no versioning support, so we append a major version to the name.
  9.2829 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.2830 +  ;;
  9.2831 +
  9.2832 +aix[[4-9]]*)
  9.2833 +  version_type=linux
  9.2834 +  need_lib_prefix=no
  9.2835 +  need_version=no
  9.2836 +  hardcode_into_libs=yes
  9.2837 +  if test "$host_cpu" = ia64; then
  9.2838 +    # AIX 5 supports IA64
  9.2839 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9.2840 +    shlibpath_var=LD_LIBRARY_PATH
  9.2841 +  else
  9.2842 +    # With GCC up to 2.95.x, collect2 would create an import file
  9.2843 +    # for dependence libraries.  The import file would start with
  9.2844 +    # the line `#! .'.  This would cause the generated library to
  9.2845 +    # depend on `.', always an invalid library.  This was fixed in
  9.2846 +    # development snapshots of GCC prior to 3.0.
  9.2847 +    case $host_os in
  9.2848 +      aix4 | aix4.[[01]] | aix4.[[01]].*)
  9.2849 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9.2850 +	   echo ' yes '
  9.2851 +	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9.2852 +	:
  9.2853 +      else
  9.2854 +	can_build_shared=no
  9.2855 +      fi
  9.2856 +      ;;
  9.2857 +    esac
  9.2858 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9.2859 +    # soname into executable. Probably we can add versioning support to
  9.2860 +    # collect2, so additional links can be useful in future.
  9.2861 +    if test "$aix_use_runtimelinking" = yes; then
  9.2862 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9.2863 +      # instead of lib<name>.a to let people know that these are not
  9.2864 +      # typical AIX shared libraries.
  9.2865 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.2866 +    else
  9.2867 +      # We preserve .a as extension for shared libraries through AIX4.2
  9.2868 +      # and later when we are not doing run time linking.
  9.2869 +      library_names_spec='${libname}${release}.a $libname.a'
  9.2870 +      soname_spec='${libname}${release}${shared_ext}$major'
  9.2871 +    fi
  9.2872 +    shlibpath_var=LIBPATH
  9.2873 +  fi
  9.2874 +  ;;
  9.2875 +
  9.2876 +amigaos*)
  9.2877 +  case $host_cpu in
  9.2878 +  powerpc)
  9.2879 +    # Since July 2007 AmigaOS4 officially supports .so libraries.
  9.2880 +    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9.2881 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.2882 +    ;;
  9.2883 +  m68k)
  9.2884 +    library_names_spec='$libname.ixlibrary $libname.a'
  9.2885 +    # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9.2886 +    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'
  9.2887 +    ;;
  9.2888 +  esac
  9.2889 +  ;;
  9.2890 +
  9.2891 +beos*)
  9.2892 +  library_names_spec='${libname}${shared_ext}'
  9.2893 +  dynamic_linker="$host_os ld.so"
  9.2894 +  shlibpath_var=LIBRARY_PATH
  9.2895 +  ;;
  9.2896 +
  9.2897 +bsdi[[45]]*)
  9.2898 +  version_type=linux
  9.2899 +  need_version=no
  9.2900 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.2901 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.2902 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9.2903 +  shlibpath_var=LD_LIBRARY_PATH
  9.2904 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9.2905 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9.2906 +  # the default ld.so.conf also contains /usr/contrib/lib and
  9.2907 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9.2908 +  # libtool to hard-code these into programs
  9.2909 +  ;;
  9.2910 +
  9.2911 +cygwin* | mingw* | pw32* | cegcc*)
  9.2912 +  version_type=windows
  9.2913 +  shrext_cmds=".dll"
  9.2914 +  need_version=no
  9.2915 +  need_lib_prefix=no
  9.2916 +
  9.2917 +  case $GCC,$host_os in
  9.2918 +  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  9.2919 +    library_names_spec='$libname.dll.a'
  9.2920 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9.2921 +    postinstall_cmds='base_file=`basename \${file}`~
  9.2922 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9.2923 +      dldir=$destdir/`dirname \$dlpath`~
  9.2924 +      test -d \$dldir || mkdir -p \$dldir~
  9.2925 +      $install_prog $dir/$dlname \$dldir/$dlname~
  9.2926 +      chmod a+x \$dldir/$dlname~
  9.2927 +      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9.2928 +        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9.2929 +      fi'
  9.2930 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9.2931 +      dlpath=$dir/\$dldll~
  9.2932 +       $RM \$dlpath'
  9.2933 +    shlibpath_overrides_runpath=yes
  9.2934 +
  9.2935 +    case $host_os in
  9.2936 +    cygwin*)
  9.2937 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9.2938 +      #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  9.2939 +      soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}'
  9.2940 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  9.2941 +      ;;
  9.2942 +    mingw* | cegcc*)
  9.2943 +      # MinGW DLLs use traditional 'lib' prefix
  9.2944 +      #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  9.2945 +      soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}'
  9.2946 +      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9.2947 +      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  9.2948 +        # It is most probably a Windows format PATH printed by
  9.2949 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search
  9.2950 +        # path with ; separators, and with drive letters. We can handle the
  9.2951 +        # drive letters (cygwin fileutils understands them), so leave them,
  9.2952 +        # especially as we might pass files found there to a mingw objdump,
  9.2953 +        # which wouldn't understand a cygwinified path. Ahh.
  9.2954 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9.2955 +      else
  9.2956 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  9.2957 +      fi
  9.2958 +      ;;
  9.2959 +    pw32*)
  9.2960 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
  9.2961 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  9.2962 +      ;;
  9.2963 +    esac
  9.2964 +    ;;
  9.2965 +
  9.2966 +  *)
  9.2967 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9.2968 +    ;;
  9.2969 +  esac
  9.2970 +  dynamic_linker='Win32 ld.exe'
  9.2971 +  # FIXME: first we should search . and the directory the executable is in
  9.2972 +  shlibpath_var=PATH
  9.2973 +  ;;
  9.2974 +
  9.2975 +darwin* | rhapsody*)
  9.2976 +  dynamic_linker="$host_os dyld"
  9.2977 +  version_type=darwin
  9.2978 +  need_lib_prefix=no
  9.2979 +  need_version=no
  9.2980 +  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9.2981 +  soname_spec='${libname}${release}${major}$shared_ext'
  9.2982 +  shlibpath_overrides_runpath=yes
  9.2983 +  shlibpath_var=DYLD_LIBRARY_PATH
  9.2984 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9.2985 +m4_if([$1], [],[
  9.2986 +  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  9.2987 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9.2988 +  ;;
  9.2989 +
  9.2990 +dgux*)
  9.2991 +  version_type=linux
  9.2992 +  need_lib_prefix=no
  9.2993 +  need_version=no
  9.2994 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9.2995 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.2996 +  shlibpath_var=LD_LIBRARY_PATH
  9.2997 +  ;;
  9.2998 +
  9.2999 +freebsd1*)
  9.3000 +  dynamic_linker=no
  9.3001 +  ;;
  9.3002 +
  9.3003 +freebsd* | dragonfly*)
  9.3004 +  # DragonFly does not have aout.  When/if they implement a new
  9.3005 +  # versioning mechanism, adjust this.
  9.3006 +  if test -x /usr/bin/objformat; then
  9.3007 +    objformat=`/usr/bin/objformat`
  9.3008 +  else
  9.3009 +    case $host_os in
  9.3010 +    freebsd[[123]]*) objformat=aout ;;
  9.3011 +    *) objformat=elf ;;
  9.3012 +    esac
  9.3013 +  fi
  9.3014 +  version_type=freebsd-$objformat
  9.3015 +  case $version_type in
  9.3016 +    freebsd-elf*)
  9.3017 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9.3018 +      need_version=no
  9.3019 +      need_lib_prefix=no
  9.3020 +      ;;
  9.3021 +    freebsd-*)
  9.3022 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9.3023 +      need_version=yes
  9.3024 +      ;;
  9.3025 +  esac
  9.3026 +  shlibpath_var=LD_LIBRARY_PATH
  9.3027 +  case $host_os in
  9.3028 +  freebsd2*)
  9.3029 +    shlibpath_overrides_runpath=yes
  9.3030 +    ;;
  9.3031 +  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  9.3032 +    shlibpath_overrides_runpath=yes
  9.3033 +    hardcode_into_libs=yes
  9.3034 +    ;;
  9.3035 +  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  9.3036 +  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  9.3037 +    shlibpath_overrides_runpath=no
  9.3038 +    hardcode_into_libs=yes
  9.3039 +    ;;
  9.3040 +  *) # from 4.6 on, and DragonFly
  9.3041 +    shlibpath_overrides_runpath=yes
  9.3042 +    hardcode_into_libs=yes
  9.3043 +    ;;
  9.3044 +  esac
  9.3045 +  ;;
  9.3046 +
  9.3047 +gnu*)
  9.3048 +  version_type=linux
  9.3049 +  need_lib_prefix=no
  9.3050 +  need_version=no
  9.3051 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9.3052 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3053 +  shlibpath_var=LD_LIBRARY_PATH
  9.3054 +  hardcode_into_libs=yes
  9.3055 +  ;;
  9.3056 +
  9.3057 +hpux9* | hpux10* | hpux11*)
  9.3058 +  # Give a soname corresponding to the major version so that dld.sl refuses to
  9.3059 +  # link against other versions.
  9.3060 +  version_type=sunos
  9.3061 +  need_lib_prefix=no
  9.3062 +  need_version=no
  9.3063 +  case $host_cpu in
  9.3064 +  ia64*)
  9.3065 +    shrext_cmds='.so'
  9.3066 +    hardcode_into_libs=yes
  9.3067 +    dynamic_linker="$host_os dld.so"
  9.3068 +    shlibpath_var=LD_LIBRARY_PATH
  9.3069 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9.3070 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3071 +    soname_spec='${libname}${release}${shared_ext}$major'
  9.3072 +    if test "X$HPUX_IA64_MODE" = X32; then
  9.3073 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9.3074 +    else
  9.3075 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9.3076 +    fi
  9.3077 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9.3078 +    ;;
  9.3079 +  hppa*64*)
  9.3080 +    shrext_cmds='.sl'
  9.3081 +    hardcode_into_libs=yes
  9.3082 +    dynamic_linker="$host_os dld.sl"
  9.3083 +    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9.3084 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9.3085 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3086 +    soname_spec='${libname}${release}${shared_ext}$major'
  9.3087 +    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9.3088 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9.3089 +    ;;
  9.3090 +  *)
  9.3091 +    shrext_cmds='.sl'
  9.3092 +    dynamic_linker="$host_os dld.sl"
  9.3093 +    shlibpath_var=SHLIB_PATH
  9.3094 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9.3095 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3096 +    soname_spec='${libname}${release}${shared_ext}$major'
  9.3097 +    ;;
  9.3098 +  esac
  9.3099 +  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  9.3100 +  postinstall_cmds='chmod 555 $lib'
  9.3101 +  ;;
  9.3102 +
  9.3103 +interix[[3-9]]*)
  9.3104 +  version_type=linux
  9.3105 +  need_lib_prefix=no
  9.3106 +  need_version=no
  9.3107 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9.3108 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3109 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9.3110 +  shlibpath_var=LD_LIBRARY_PATH
  9.3111 +  shlibpath_overrides_runpath=no
  9.3112 +  hardcode_into_libs=yes
  9.3113 +  ;;
  9.3114 +
  9.3115 +irix5* | irix6* | nonstopux*)
  9.3116 +  case $host_os in
  9.3117 +    nonstopux*) version_type=nonstopux ;;
  9.3118 +    *)
  9.3119 +	if test "$lt_cv_prog_gnu_ld" = yes; then
  9.3120 +		version_type=linux
  9.3121 +	else
  9.3122 +		version_type=irix
  9.3123 +	fi ;;
  9.3124 +  esac
  9.3125 +  need_lib_prefix=no
  9.3126 +  need_version=no
  9.3127 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3128 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9.3129 +  case $host_os in
  9.3130 +  irix5* | nonstopux*)
  9.3131 +    libsuff= shlibsuff=
  9.3132 +    ;;
  9.3133 +  *)
  9.3134 +    case $LD in # libtool.m4 will add one of these switches to LD
  9.3135 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9.3136 +      libsuff= shlibsuff= libmagic=32-bit;;
  9.3137 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9.3138 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
  9.3139 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9.3140 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9.3141 +    *) libsuff= shlibsuff= libmagic=never-match;;
  9.3142 +    esac
  9.3143 +    ;;
  9.3144 +  esac
  9.3145 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9.3146 +  shlibpath_overrides_runpath=no
  9.3147 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9.3148 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9.3149 +  hardcode_into_libs=yes
  9.3150 +  ;;
  9.3151 +
  9.3152 +# No shared lib support for Linux oldld, aout, or coff.
  9.3153 +linux*oldld* | linux*aout* | linux*coff*)
  9.3154 +  dynamic_linker=no
  9.3155 +  ;;
  9.3156 +
  9.3157 +# This must be Linux ELF.
  9.3158 +linux* | k*bsd*-gnu)
  9.3159 +  version_type=linux
  9.3160 +  need_lib_prefix=no
  9.3161 +  need_version=no
  9.3162 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3163 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3164 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9.3165 +  shlibpath_var=LD_LIBRARY_PATH
  9.3166 +  shlibpath_overrides_runpath=no
  9.3167 +  # Some binutils ld are patched to set DT_RUNPATH
  9.3168 +  save_LDFLAGS=$LDFLAGS
  9.3169 +  save_libdir=$libdir
  9.3170 +  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  9.3171 +       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  9.3172 +  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  9.3173 +    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  9.3174 +       [shlibpath_overrides_runpath=yes])])
  9.3175 +  LDFLAGS=$save_LDFLAGS
  9.3176 +  libdir=$save_libdir
  9.3177 +
  9.3178 +  # This implies no fast_install, which is unacceptable.
  9.3179 +  # Some rework will be needed to allow for fast_install
  9.3180 +  # before this can be enabled.
  9.3181 +  hardcode_into_libs=yes
  9.3182 +
  9.3183 +  # Append ld.so.conf contents to the search path
  9.3184 +  if test -f /etc/ld.so.conf; then
  9.3185 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  9.3186 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9.3187 +  fi
  9.3188 +
  9.3189 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
  9.3190 +  # powerpc, because MkLinux only supported shared libraries with the
  9.3191 +  # GNU dynamic linker.  Since this was broken with cross compilers,
  9.3192 +  # most powerpc-linux boxes support dynamic linking these days and
  9.3193 +  # people can always --disable-shared, the test was removed, and we
  9.3194 +  # assume the GNU/Linux dynamic linker is in use.
  9.3195 +  dynamic_linker='GNU/Linux ld.so'
  9.3196 +  ;;
  9.3197 +
  9.3198 +netbsd*)
  9.3199 +  version_type=sunos
  9.3200 +  need_lib_prefix=no
  9.3201 +  need_version=no
  9.3202 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9.3203 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9.3204 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9.3205 +    dynamic_linker='NetBSD (a.out) ld.so'
  9.3206 +  else
  9.3207 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9.3208 +    soname_spec='${libname}${release}${shared_ext}$major'
  9.3209 +    dynamic_linker='NetBSD ld.elf_so'
  9.3210 +  fi
  9.3211 +  shlibpath_var=LD_LIBRARY_PATH
  9.3212 +  shlibpath_overrides_runpath=yes
  9.3213 +  hardcode_into_libs=yes
  9.3214 +  ;;
  9.3215 +
  9.3216 +newsos6)
  9.3217 +  version_type=linux
  9.3218 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3219 +  shlibpath_var=LD_LIBRARY_PATH
  9.3220 +  shlibpath_overrides_runpath=yes
  9.3221 +  ;;
  9.3222 +
  9.3223 +*nto* | *qnx*)
  9.3224 +  version_type=qnx
  9.3225 +  need_lib_prefix=no
  9.3226 +  need_version=no
  9.3227 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3228 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3229 +  shlibpath_var=LD_LIBRARY_PATH
  9.3230 +  shlibpath_overrides_runpath=no
  9.3231 +  hardcode_into_libs=yes
  9.3232 +  dynamic_linker='ldqnx.so'
  9.3233 +  ;;
  9.3234 +
  9.3235 +openbsd*)
  9.3236 +  version_type=sunos
  9.3237 +  sys_lib_dlsearch_path_spec="/usr/lib"
  9.3238 +  need_lib_prefix=no
  9.3239 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9.3240 +  case $host_os in
  9.3241 +    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
  9.3242 +    *)				need_version=no  ;;
  9.3243 +  esac
  9.3244 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9.3245 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9.3246 +  shlibpath_var=LD_LIBRARY_PATH
  9.3247 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9.3248 +    case $host_os in
  9.3249 +      openbsd2.[[89]] | openbsd2.[[89]].*)
  9.3250 +	shlibpath_overrides_runpath=no
  9.3251 +	;;
  9.3252 +      *)
  9.3253 +	shlibpath_overrides_runpath=yes
  9.3254 +	;;
  9.3255 +      esac
  9.3256 +  else
  9.3257 +    shlibpath_overrides_runpath=yes
  9.3258 +  fi
  9.3259 +  ;;
  9.3260 +
  9.3261 +os2*)
  9.3262 +  libname_spec='$name'
  9.3263 +  shrext_cmds=".dll"
  9.3264 +  need_lib_prefix=no
  9.3265 +  library_names_spec='$libname${shared_ext} $libname.a'
  9.3266 +  dynamic_linker='OS/2 ld.exe'
  9.3267 +  shlibpath_var=LIBPATH
  9.3268 +  ;;
  9.3269 +
  9.3270 +osf3* | osf4* | osf5*)
  9.3271 +  version_type=osf
  9.3272 +  need_lib_prefix=no
  9.3273 +  need_version=no
  9.3274 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3275 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3276 +  shlibpath_var=LD_LIBRARY_PATH
  9.3277 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9.3278 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9.3279 +  ;;
  9.3280 +
  9.3281 +rdos*)
  9.3282 +  dynamic_linker=no
  9.3283 +  ;;
  9.3284 +
  9.3285 +solaris*)
  9.3286 +  version_type=linux
  9.3287 +  need_lib_prefix=no
  9.3288 +  need_version=no
  9.3289 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3290 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3291 +  shlibpath_var=LD_LIBRARY_PATH
  9.3292 +  shlibpath_overrides_runpath=yes
  9.3293 +  hardcode_into_libs=yes
  9.3294 +  # ldd complains unless libraries are executable
  9.3295 +  postinstall_cmds='chmod +x $lib'
  9.3296 +  ;;
  9.3297 +
  9.3298 +sunos4*)
  9.3299 +  version_type=sunos
  9.3300 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9.3301 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9.3302 +  shlibpath_var=LD_LIBRARY_PATH
  9.3303 +  shlibpath_overrides_runpath=yes
  9.3304 +  if test "$with_gnu_ld" = yes; then
  9.3305 +    need_lib_prefix=no
  9.3306 +  fi
  9.3307 +  need_version=yes
  9.3308 +  ;;
  9.3309 +
  9.3310 +sysv4 | sysv4.3*)
  9.3311 +  version_type=linux
  9.3312 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3313 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3314 +  shlibpath_var=LD_LIBRARY_PATH
  9.3315 +  case $host_vendor in
  9.3316 +    sni)
  9.3317 +      shlibpath_overrides_runpath=no
  9.3318 +      need_lib_prefix=no
  9.3319 +      runpath_var=LD_RUN_PATH
  9.3320 +      ;;
  9.3321 +    siemens)
  9.3322 +      need_lib_prefix=no
  9.3323 +      ;;
  9.3324 +    motorola)
  9.3325 +      need_lib_prefix=no
  9.3326 +      need_version=no
  9.3327 +      shlibpath_overrides_runpath=no
  9.3328 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9.3329 +      ;;
  9.3330 +  esac
  9.3331 +  ;;
  9.3332 +
  9.3333 +sysv4*MP*)
  9.3334 +  if test -d /usr/nec ;then
  9.3335 +    version_type=linux
  9.3336 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9.3337 +    soname_spec='$libname${shared_ext}.$major'
  9.3338 +    shlibpath_var=LD_LIBRARY_PATH
  9.3339 +  fi
  9.3340 +  ;;
  9.3341 +
  9.3342 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9.3343 +  version_type=freebsd-elf
  9.3344 +  need_lib_prefix=no
  9.3345 +  need_version=no
  9.3346 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9.3347 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3348 +  shlibpath_var=LD_LIBRARY_PATH
  9.3349 +  shlibpath_overrides_runpath=yes
  9.3350 +  hardcode_into_libs=yes
  9.3351 +  if test "$with_gnu_ld" = yes; then
  9.3352 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9.3353 +  else
  9.3354 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9.3355 +    case $host_os in
  9.3356 +      sco3.2v5*)
  9.3357 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9.3358 +	;;
  9.3359 +    esac
  9.3360 +  fi
  9.3361 +  sys_lib_dlsearch_path_spec='/usr/lib'
  9.3362 +  ;;
  9.3363 +
  9.3364 +tpf*)
  9.3365 +  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  9.3366 +  version_type=linux
  9.3367 +  need_lib_prefix=no
  9.3368 +  need_version=no
  9.3369 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3370 +  shlibpath_var=LD_LIBRARY_PATH
  9.3371 +  shlibpath_overrides_runpath=no
  9.3372 +  hardcode_into_libs=yes
  9.3373 +  ;;
  9.3374 +
  9.3375 +uts4*)
  9.3376 +  version_type=linux
  9.3377 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9.3378 +  soname_spec='${libname}${release}${shared_ext}$major'
  9.3379 +  shlibpath_var=LD_LIBRARY_PATH
  9.3380 +  ;;
  9.3381 +
  9.3382 +*)
  9.3383 +  dynamic_linker=no
  9.3384 +  ;;
  9.3385 +esac
  9.3386 +AC_MSG_RESULT([$dynamic_linker])
  9.3387 +test "$dynamic_linker" = no && can_build_shared=no
  9.3388 +
  9.3389 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9.3390 +if test "$GCC" = yes; then
  9.3391 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9.3392 +fi
  9.3393 +
  9.3394 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9.3395 +  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9.3396 +fi
  9.3397 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9.3398 +  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9.3399 +fi
  9.3400 +
  9.3401 +_LT_DECL([], [variables_saved_for_relink], [1],
  9.3402 +    [Variables whose values should be saved in libtool wrapper scripts and
  9.3403 +    restored at link time])
  9.3404 +_LT_DECL([], [need_lib_prefix], [0],
  9.3405 +    [Do we need the "lib" prefix for modules?])
  9.3406 +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  9.3407 +_LT_DECL([], [version_type], [0], [Library versioning type])
  9.3408 +_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
  9.3409 +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  9.3410 +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  9.3411 +    [Is shlibpath searched before the hard-coded library search path?])
  9.3412 +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  9.3413 +_LT_DECL([], [library_names_spec], [1],
  9.3414 +    [[List of archive names.  First name is the real one, the rest are links.
  9.3415 +    The last name is the one that the linker finds with -lNAME]])
  9.3416 +_LT_DECL([], [soname_spec], [1],
  9.3417 +    [[The coded name of the library, if different from the real name]])
  9.3418 +_LT_DECL([], [postinstall_cmds], [2],
  9.3419 +    [Command to use after installation of a shared archive])
  9.3420 +_LT_DECL([], [postuninstall_cmds], [2],
  9.3421 +    [Command to use after uninstallation of a shared archive])
  9.3422 +_LT_DECL([], [finish_cmds], [2],
  9.3423 +    [Commands used to finish a libtool library installation in a directory])
  9.3424 +_LT_DECL([], [finish_eval], [1],
  9.3425 +    [[As "finish_cmds", except a single script fragment to be evaled but
  9.3426 +    not shown]])
  9.3427 +_LT_DECL([], [hardcode_into_libs], [0],
  9.3428 +    [Whether we should hardcode library paths into libraries])
  9.3429 +_LT_DECL([], [sys_lib_search_path_spec], [2],
  9.3430 +    [Compile-time system search path for libraries])
  9.3431 +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  9.3432 +    [Run-time system search path for libraries])
  9.3433 +])# _LT_SYS_DYNAMIC_LINKER
  9.3434 +
  9.3435 +
  9.3436 +# _LT_PATH_TOOL_PREFIX(TOOL)
  9.3437 +# --------------------------
  9.3438 +# find a file program which can recognize shared library
  9.3439 +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  9.3440 +[m4_require([_LT_DECL_EGREP])dnl
  9.3441 +AC_MSG_CHECKING([for $1])
  9.3442 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  9.3443 +[case $MAGIC_CMD in
  9.3444 +[[\\/*] |  ?:[\\/]*])
  9.3445 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  9.3446 +  ;;
  9.3447 +*)
  9.3448 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  9.3449 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9.3450 +dnl $ac_dummy forces splitting on constant user-supplied paths.
  9.3451 +dnl POSIX.2 word splitting is done only on the output of word expansions,
  9.3452 +dnl not every word.  This closes a longstanding sh security hole.
  9.3453 +  ac_dummy="m4_if([$2], , $PATH, [$2])"
  9.3454 +  for ac_dir in $ac_dummy; do
  9.3455 +    IFS="$lt_save_ifs"
  9.3456 +    test -z "$ac_dir" && ac_dir=.
  9.3457 +    if test -f $ac_dir/$1; then
  9.3458 +      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  9.3459 +      if test -n "$file_magic_test_file"; then
  9.3460 +	case $deplibs_check_method in
  9.3461 +	"file_magic "*)
  9.3462 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  9.3463 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  9.3464 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  9.3465 +	    $EGREP "$file_magic_regex" > /dev/null; then
  9.3466 +	    :
  9.3467 +	  else
  9.3468 +	    cat <<_LT_EOF 1>&2
  9.3469 +
  9.3470 +*** Warning: the command libtool uses to detect shared libraries,
  9.3471 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  9.3472 +*** The result is that libtool may fail to recognize shared libraries
  9.3473 +*** as such.  This will affect the creation of libtool libraries that
  9.3474 +*** depend on shared libraries, but programs linked with such libtool
  9.3475 +*** libraries will work regardless of this problem.  Nevertheless, you
  9.3476 +*** may want to report the problem to your system manager and/or to
  9.3477 +*** bug-libtool@gnu.org
  9.3478 +
  9.3479 +_LT_EOF
  9.3480 +	  fi ;;
  9.3481 +	esac
  9.3482 +      fi
  9.3483 +      break
  9.3484 +    fi
  9.3485 +  done
  9.3486 +  IFS="$lt_save_ifs"
  9.3487 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  9.3488 +  ;;
  9.3489 +esac])
  9.3490 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  9.3491 +if test -n "$MAGIC_CMD"; then
  9.3492 +  AC_MSG_RESULT($MAGIC_CMD)
  9.3493 +else
  9.3494 +  AC_MSG_RESULT(no)
  9.3495 +fi
  9.3496 +_LT_DECL([], [MAGIC_CMD], [0],
  9.3497 +	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  9.3498 +])# _LT_PATH_TOOL_PREFIX
  9.3499 +
  9.3500 +# Old name:
  9.3501 +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  9.3502 +dnl aclocal-1.4 backwards compatibility:
  9.3503 +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  9.3504 +
  9.3505 +
  9.3506 +# _LT_PATH_MAGIC
  9.3507 +# --------------
  9.3508 +# find a file program which can recognize a shared library
  9.3509 +m4_defun([_LT_PATH_MAGIC],
  9.3510 +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  9.3511 +if test -z "$lt_cv_path_MAGIC_CMD"; then
  9.3512 +  if test -n "$ac_tool_prefix"; then
  9.3513 +    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  9.3514 +  else
  9.3515 +    MAGIC_CMD=:
  9.3516 +  fi
  9.3517 +fi
  9.3518 +])# _LT_PATH_MAGIC
  9.3519 +
  9.3520 +
  9.3521 +# LT_PATH_LD
  9.3522 +# ----------
  9.3523 +# find the pathname to the GNU or non-GNU linker
  9.3524 +AC_DEFUN([LT_PATH_LD],
  9.3525 +[AC_REQUIRE([AC_PROG_CC])dnl
  9.3526 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9.3527 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  9.3528 +m4_require([_LT_DECL_SED])dnl
  9.3529 +m4_require([_LT_DECL_EGREP])dnl
  9.3530 +
  9.3531 +AC_ARG_WITH([gnu-ld],
  9.3532 +    [AS_HELP_STRING([--with-gnu-ld],
  9.3533 +	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
  9.3534 +    [test "$withval" = no || with_gnu_ld=yes],
  9.3535 +    [with_gnu_ld=no])dnl
  9.3536 +
  9.3537 +ac_prog=ld
  9.3538 +if test "$GCC" = yes; then
  9.3539 +  # Check if gcc -print-prog-name=ld gives a path.
  9.3540 +  AC_MSG_CHECKING([for ld used by $CC])
  9.3541 +  case $host in
  9.3542 +  *-*-mingw*)
  9.3543 +    # gcc leaves a trailing carriage return which upsets mingw
  9.3544 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9.3545 +  *)
  9.3546 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9.3547 +  esac
  9.3548 +  case $ac_prog in
  9.3549 +    # Accept absolute paths.
  9.3550 +    [[\\/]]* | ?:[[\\/]]*)
  9.3551 +      re_direlt='/[[^/]][[^/]]*/\.\./'
  9.3552 +      # Canonicalize the pathname of ld
  9.3553 +      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  9.3554 +      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  9.3555 +	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  9.3556 +      done
  9.3557 +      test -z "$LD" && LD="$ac_prog"
  9.3558 +      ;;
  9.3559 +  "")
  9.3560 +    # If it fails, then pretend we aren't using GCC.
  9.3561 +    ac_prog=ld
  9.3562 +    ;;
  9.3563 +  *)
  9.3564 +    # If it is relative, then search for the first ld in PATH.
  9.3565 +    with_gnu_ld=unknown
  9.3566 +    ;;
  9.3567 +  esac
  9.3568 +elif test "$with_gnu_ld" = yes; then
  9.3569 +  AC_MSG_CHECKING([for GNU ld])
  9.3570 +else
  9.3571 +  AC_MSG_CHECKING([for non-GNU ld])
  9.3572 +fi
  9.3573 +AC_CACHE_VAL(lt_cv_path_LD,
  9.3574 +[if test -z "$LD"; then
  9.3575 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9.3576 +  for ac_dir in $PATH; do
  9.3577 +    IFS="$lt_save_ifs"
  9.3578 +    test -z "$ac_dir" && ac_dir=.
  9.3579 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  9.3580 +      lt_cv_path_LD="$ac_dir/$ac_prog"
  9.3581 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  9.3582 +      # but apparently some variants of GNU ld only accept -v.
  9.3583 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  9.3584 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  9.3585 +      *GNU* | *'with BFD'*)
  9.3586 +	test "$with_gnu_ld" != no && break
  9.3587 +	;;
  9.3588 +      *)
  9.3589 +	test "$with_gnu_ld" != yes && break
  9.3590 +	;;
  9.3591 +      esac
  9.3592 +    fi
  9.3593 +  done
  9.3594 +  IFS="$lt_save_ifs"
  9.3595 +else
  9.3596 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  9.3597 +fi])
  9.3598 +LD="$lt_cv_path_LD"
  9.3599 +if test -n "$LD"; then
  9.3600 +  AC_MSG_RESULT($LD)
  9.3601 +else
  9.3602 +  AC_MSG_RESULT(no)
  9.3603 +fi
  9.3604 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  9.3605 +_LT_PATH_LD_GNU
  9.3606 +AC_SUBST([LD])
  9.3607 +
  9.3608 +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  9.3609 +])# LT_PATH_LD
  9.3610 +
  9.3611 +# Old names:
  9.3612 +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  9.3613 +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  9.3614 +dnl aclocal-1.4 backwards compatibility:
  9.3615 +dnl AC_DEFUN([AM_PROG_LD], [])
  9.3616 +dnl AC_DEFUN([AC_PROG_LD], [])
  9.3617 +
  9.3618 +
  9.3619 +# _LT_PATH_LD_GNU
  9.3620 +#- --------------
  9.3621 +m4_defun([_LT_PATH_LD_GNU],
  9.3622 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  9.3623 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  9.3624 +case `$LD -v 2>&1 </dev/null` in
  9.3625 +*GNU* | *'with BFD'*)
  9.3626 +  lt_cv_prog_gnu_ld=yes
  9.3627 +  ;;
  9.3628 +*)
  9.3629 +  lt_cv_prog_gnu_ld=no
  9.3630 +  ;;
  9.3631 +esac])
  9.3632 +with_gnu_ld=$lt_cv_prog_gnu_ld
  9.3633 +])# _LT_PATH_LD_GNU
  9.3634 +
  9.3635 +
  9.3636 +# _LT_CMD_RELOAD
  9.3637 +# --------------
  9.3638 +# find reload flag for linker
  9.3639 +#   -- PORTME Some linkers may need a different reload flag.
  9.3640 +m4_defun([_LT_CMD_RELOAD],
  9.3641 +[AC_CACHE_CHECK([for $LD option to reload object files],
  9.3642 +  lt_cv_ld_reload_flag,
  9.3643 +  [lt_cv_ld_reload_flag='-r'])
  9.3644 +reload_flag=$lt_cv_ld_reload_flag
  9.3645 +case $reload_flag in
  9.3646 +"" | " "*) ;;
  9.3647 +*) reload_flag=" $reload_flag" ;;
  9.3648 +esac
  9.3649 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  9.3650 +case $host_os in
  9.3651 +  darwin*)
  9.3652 +    if test "$GCC" = yes; then
  9.3653 +      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  9.3654 +    else
  9.3655 +      reload_cmds='$LD$reload_flag -o $output$reload_objs'
  9.3656 +    fi
  9.3657 +    ;;
  9.3658 +esac
  9.3659 +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  9.3660 +_LT_DECL([], [reload_cmds], [2])dnl
  9.3661 +])# _LT_CMD_RELOAD
  9.3662 +
  9.3663 +
  9.3664 +# _LT_CHECK_MAGIC_METHOD
  9.3665 +# ----------------------
  9.3666 +# how to check for library dependencies
  9.3667 +#  -- PORTME fill in with the dynamic library characteristics
  9.3668 +m4_defun([_LT_CHECK_MAGIC_METHOD],
  9.3669 +[m4_require([_LT_DECL_EGREP])
  9.3670 +m4_require([_LT_DECL_OBJDUMP])
  9.3671 +AC_CACHE_CHECK([how to recognize dependent libraries],
  9.3672 +lt_cv_deplibs_check_method,
  9.3673 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  9.3674 +lt_cv_file_magic_test_file=
  9.3675 +lt_cv_deplibs_check_method='unknown'
  9.3676 +# Need to set the preceding variable on all platforms that support
  9.3677 +# interlibrary dependencies.
  9.3678 +# 'none' -- dependencies not supported.
  9.3679 +# `unknown' -- same as none, but documents that we really don't know.
  9.3680 +# 'pass_all' -- all dependencies passed with no checks.
  9.3681 +# 'test_compile' -- check by making test program.
  9.3682 +# 'file_magic [[regex]]' -- check by looking for files in library path
  9.3683 +# which responds to the $file_magic_cmd with a given extended regex.
  9.3684 +# If you have `file' or equivalent on your system and you're not sure
  9.3685 +# whether `pass_all' will *always* work, you probably want this one.
  9.3686 +
  9.3687 +case $host_os in
  9.3688 +aix[[4-9]]*)
  9.3689 +  lt_cv_deplibs_check_method=pass_all
  9.3690 +  ;;
  9.3691 +
  9.3692 +beos*)
  9.3693 +  lt_cv_deplibs_check_method=pass_all
  9.3694 +  ;;
  9.3695 +
  9.3696 +bsdi[[45]]*)
  9.3697 +  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  9.3698 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
  9.3699 +  lt_cv_file_magic_test_file=/shlib/libc.so
  9.3700 +  ;;
  9.3701 +
  9.3702 +cygwin*)
  9.3703 +  # func_win32_libid is a shell function defined in ltmain.sh
  9.3704 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  9.3705 +  lt_cv_deplibs_check_method=pass_all
  9.3706 +  lt_cv_file_magic_cmd='func_win32_libid'
  9.3707 +  ;;
  9.3708 +
  9.3709 +mingw* | pw32*)
  9.3710 +  # Base MSYS/MinGW do not provide the 'file' command needed by
  9.3711 +  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  9.3712 +  # unless we find 'file', for example because we are cross-compiling.
  9.3713 +  if ( file / ) >/dev/null 2>&1; then
  9.3714 +    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  9.3715 +    lt_cv_file_magic_cmd='func_win32_libid'
  9.3716 +  else
  9.3717 +    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  9.3718 +    lt_cv_file_magic_cmd='$OBJDUMP -f'
  9.3719 +  fi
  9.3720 +  lt_cv_deplibs_check_method=pass_all
  9.3721 +  ;;
  9.3722 +
  9.3723 +cegcc)
  9.3724 +  # use the weaker test based on 'objdump'. See mingw*.
  9.3725 +  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  9.3726 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
  9.3727 +  ;;
  9.3728 +
  9.3729 +darwin* | rhapsody*)
  9.3730 +  lt_cv_deplibs_check_method=pass_all
  9.3731 +  ;;
  9.3732 +
  9.3733 +freebsd* | dragonfly*)
  9.3734 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  9.3735 +    case $host_cpu in
  9.3736 +    i*86 )
  9.3737 +      # Not sure whether the presence of OpenBSD here was a mistake.
  9.3738 +      # Let's accept both of them until this is cleared up.
  9.3739 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  9.3740 +      lt_cv_file_magic_cmd=/usr/bin/file
  9.3741 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  9.3742 +      ;;
  9.3743 +    esac
  9.3744 +  else
  9.3745 +    lt_cv_deplibs_check_method=pass_all
  9.3746 +  fi
  9.3747 +  ;;
  9.3748 +
  9.3749 +gnu*)
  9.3750 +  lt_cv_deplibs_check_method=pass_all
  9.3751 +  ;;
  9.3752 +
  9.3753 +hpux10.20* | hpux11*)
  9.3754 +  lt_cv_file_magic_cmd=/usr/bin/file
  9.3755 +  case $host_cpu in
  9.3756 +  ia64*)
  9.3757 +    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  9.3758 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  9.3759 +    ;;
  9.3760 +  hppa*64*)
  9.3761 +    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
  9.3762 +    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  9.3763 +    ;;
  9.3764 +  *)
  9.3765 +    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  9.3766 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  9.3767 +    ;;
  9.3768 +  esac
  9.3769 +  ;;
  9.3770 +
  9.3771 +interix[[3-9]]*)
  9.3772 +  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  9.3773 +  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  9.3774 +  ;;
  9.3775 +
  9.3776 +irix5* | irix6* | nonstopux*)
  9.3777 +  case $LD in
  9.3778 +  *-32|*"-32 ") libmagic=32-bit;;
  9.3779 +  *-n32|*"-n32 ") libmagic=N32;;
  9.3780 +  *-64|*"-64 ") libmagic=64-bit;;
  9.3781 +  *) libmagic=never-match;;
  9.3782 +  esac
  9.3783 +  lt_cv_deplibs_check_method=pass_all
  9.3784 +  ;;
  9.3785 +
  9.3786 +# This must be Linux ELF.
  9.3787 +linux* | k*bsd*-gnu)
  9.3788 +  lt_cv_deplibs_check_method=pass_all
  9.3789 +  ;;
  9.3790 +
  9.3791 +netbsd*)
  9.3792 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  9.3793 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  9.3794 +  else
  9.3795 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  9.3796 +  fi
  9.3797 +  ;;
  9.3798 +
  9.3799 +newos6*)
  9.3800 +  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  9.3801 +  lt_cv_file_magic_cmd=/usr/bin/file
  9.3802 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  9.3803 +  ;;
  9.3804 +
  9.3805 +*nto* | *qnx*)
  9.3806 +  lt_cv_deplibs_check_method=pass_all
  9.3807 +  ;;
  9.3808 +
  9.3809 +openbsd*)
  9.3810 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9.3811 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  9.3812 +  else
  9.3813 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  9.3814 +  fi
  9.3815 +  ;;
  9.3816 +
  9.3817 +osf3* | osf4* | osf5*)
  9.3818 +  lt_cv_deplibs_check_method=pass_all
  9.3819 +  ;;
  9.3820 +
  9.3821 +rdos*)
  9.3822 +  lt_cv_deplibs_check_method=pass_all
  9.3823 +  ;;
  9.3824 +
  9.3825 +solaris*)
  9.3826 +  lt_cv_deplibs_check_method=pass_all
  9.3827 +  ;;
  9.3828 +
  9.3829 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9.3830 +  lt_cv_deplibs_check_method=pass_all
  9.3831 +  ;;
  9.3832 +
  9.3833 +sysv4 | sysv4.3*)
  9.3834 +  case $host_vendor in
  9.3835 +  motorola)
  9.3836 +    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
  9.3837 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  9.3838 +    ;;
  9.3839 +  ncr)
  9.3840 +    lt_cv_deplibs_check_method=pass_all
  9.3841 +    ;;
  9.3842 +  sequent)
  9.3843 +    lt_cv_file_magic_cmd='/bin/file'
  9.3844 +    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  9.3845 +    ;;
  9.3846 +  sni)
  9.3847 +    lt_cv_file_magic_cmd='/bin/file'
  9.3848 +    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  9.3849 +    lt_cv_file_magic_test_file=/lib/libc.so
  9.3850 +    ;;
  9.3851 +  siemens)
  9.3852 +    lt_cv_deplibs_check_method=pass_all
  9.3853 +    ;;
  9.3854 +  pc)
  9.3855 +    lt_cv_deplibs_check_method=pass_all
  9.3856 +    ;;
  9.3857 +  esac
  9.3858 +  ;;
  9.3859 +
  9.3860 +tpf*)
  9.3861 +  lt_cv_deplibs_check_method=pass_all
  9.3862 +  ;;
  9.3863 +esac
  9.3864 +])
  9.3865 +file_magic_cmd=$lt_cv_file_magic_cmd
  9.3866 +deplibs_check_method=$lt_cv_deplibs_check_method
  9.3867 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  9.3868 +
  9.3869 +_LT_DECL([], [deplibs_check_method], [1],
  9.3870 +    [Method to check whether dependent libraries are shared objects])
  9.3871 +_LT_DECL([], [file_magic_cmd], [1],
  9.3872 +    [Command to use when deplibs_check_method == "file_magic"])
  9.3873 +])# _LT_CHECK_MAGIC_METHOD
  9.3874 +
  9.3875 +
  9.3876 +# LT_PATH_NM
  9.3877 +# ----------
  9.3878 +# find the pathname to a BSD- or MS-compatible name lister
  9.3879 +AC_DEFUN([LT_PATH_NM],
  9.3880 +[AC_REQUIRE([AC_PROG_CC])dnl
  9.3881 +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  9.3882 +[if test -n "$NM"; then
  9.3883 +  # Let the user override the test.
  9.3884 +  lt_cv_path_NM="$NM"
  9.3885 +else
  9.3886 +  lt_nm_to_check="${ac_tool_prefix}nm"
  9.3887 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  9.3888 +    lt_nm_to_check="$lt_nm_to_check nm"
  9.3889 +  fi
  9.3890 +  for lt_tmp_nm in $lt_nm_to_check; do
  9.3891 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9.3892 +    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  9.3893 +      IFS="$lt_save_ifs"
  9.3894 +      test -z "$ac_dir" && ac_dir=.
  9.3895 +      tmp_nm="$ac_dir/$lt_tmp_nm"
  9.3896 +      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  9.3897 +	# Check to see if the nm accepts a BSD-compat flag.
  9.3898 +	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  9.3899 +	#   nm: unknown option "B" ignored
  9.3900 +	# Tru64's nm complains that /dev/null is an invalid object file
  9.3901 +	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  9.3902 +	*/dev/null* | *'Invalid file or object type'*)
  9.3903 +	  lt_cv_path_NM="$tmp_nm -B"
  9.3904 +	  break
  9.3905 +	  ;;
  9.3906 +	*)
  9.3907 +	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  9.3908 +	  */dev/null*)
  9.3909 +	    lt_cv_path_NM="$tmp_nm -p"
  9.3910 +	    break
  9.3911 +	    ;;
  9.3912 +	  *)
  9.3913 +	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  9.3914 +	    continue # so that we can try to find one that supports BSD flags
  9.3915 +	    ;;
  9.3916 +	  esac
  9.3917 +	  ;;
  9.3918 +	esac
  9.3919 +      fi
  9.3920 +    done
  9.3921 +    IFS="$lt_save_ifs"
  9.3922 +  done
  9.3923 +  : ${lt_cv_path_NM=no}
  9.3924 +fi])
  9.3925 +if test "$lt_cv_path_NM" != "no"; then
  9.3926 +  NM="$lt_cv_path_NM"
  9.3927 +else
  9.3928 +  # Didn't find any BSD compatible name lister, look for dumpbin.
  9.3929 +  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  9.3930 +  AC_SUBST([DUMPBIN])
  9.3931 +  if test "$DUMPBIN" != ":"; then
  9.3932 +    NM="$DUMPBIN"
  9.3933 +  fi
  9.3934 +fi
  9.3935 +test -z "$NM" && NM=nm
  9.3936 +AC_SUBST([NM])
  9.3937 +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  9.3938 +
  9.3939 +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  9.3940 +  [lt_cv_nm_interface="BSD nm"
  9.3941 +  echo "int some_variable = 0;" > conftest.$ac_ext
  9.3942 +  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  9.3943 +  (eval "$ac_compile" 2>conftest.err)
  9.3944 +  cat conftest.err >&AS_MESSAGE_LOG_FD
  9.3945 +  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  9.3946 +  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  9.3947 +  cat conftest.err >&AS_MESSAGE_LOG_FD
  9.3948 +  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  9.3949 +  cat conftest.out >&AS_MESSAGE_LOG_FD
  9.3950 +  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  9.3951 +    lt_cv_nm_interface="MS dumpbin"
  9.3952 +  fi
  9.3953 +  rm -f conftest*])
  9.3954 +])# LT_PATH_NM
  9.3955 +
  9.3956 +# Old names:
  9.3957 +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  9.3958 +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  9.3959 +dnl aclocal-1.4 backwards compatibility:
  9.3960 +dnl AC_DEFUN([AM_PROG_NM], [])
  9.3961 +dnl AC_DEFUN([AC_PROG_NM], [])
  9.3962 +
  9.3963 +
  9.3964 +# LT_LIB_M
  9.3965 +# --------
  9.3966 +# check for math library
  9.3967 +AC_DEFUN([LT_LIB_M],
  9.3968 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9.3969 +LIBM=
  9.3970 +case $host in
  9.3971 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  9.3972 +  # These system don't have libm, or don't need it
  9.3973 +  ;;
  9.3974 +*-ncr-sysv4.3*)
  9.3975 +  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  9.3976 +  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  9.3977 +  ;;
  9.3978 +*)
  9.3979 +  AC_CHECK_LIB(m, cos, LIBM="-lm")
  9.3980 +  ;;
  9.3981 +esac
  9.3982 +AC_SUBST([LIBM])
  9.3983 +])# LT_LIB_M
  9.3984 +
  9.3985 +# Old name:
  9.3986 +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  9.3987 +dnl aclocal-1.4 backwards compatibility:
  9.3988 +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  9.3989 +
  9.3990 +
  9.3991 +# _LT_COMPILER_NO_RTTI([TAGNAME])
  9.3992 +# -------------------------------
  9.3993 +m4_defun([_LT_COMPILER_NO_RTTI],
  9.3994 +[m4_require([_LT_TAG_COMPILER])dnl
  9.3995 +
  9.3996 +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  9.3997 +
  9.3998 +if test "$GCC" = yes; then
  9.3999 +  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  9.4000 +
  9.4001 +  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  9.4002 +    lt_cv_prog_compiler_rtti_exceptions,
  9.4003 +    [-fno-rtti -fno-exceptions], [],
  9.4004 +    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  9.4005 +fi
  9.4006 +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  9.4007 +	[Compiler flag to turn off builtin functions])
  9.4008 +])# _LT_COMPILER_NO_RTTI
  9.4009 +
  9.4010 +
  9.4011 +# _LT_CMD_GLOBAL_SYMBOLS
  9.4012 +# ----------------------
  9.4013 +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  9.4014 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9.4015 +AC_REQUIRE([AC_PROG_CC])dnl
  9.4016 +AC_REQUIRE([LT_PATH_NM])dnl
  9.4017 +AC_REQUIRE([LT_PATH_LD])dnl
  9.4018 +m4_require([_LT_DECL_SED])dnl
  9.4019 +m4_require([_LT_DECL_EGREP])dnl
  9.4020 +m4_require([_LT_TAG_COMPILER])dnl
  9.4021 +
  9.4022 +# Check for command to grab the raw symbol name followed by C symbol from nm.
  9.4023 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  9.4024 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  9.4025 +[
  9.4026 +# These are sane defaults that work on at least a few old systems.
  9.4027 +# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  9.4028 +
  9.4029 +# Character class describing NM global symbol codes.
  9.4030 +symcode='[[BCDEGRST]]'
  9.4031 +
  9.4032 +# Regexp to match symbols that can be accessed directly from C.
  9.4033 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  9.4034 +
  9.4035 +# Define system-specific variables.
  9.4036 +case $host_os in
  9.4037 +aix*)
  9.4038 +  symcode='[[BCDT]]'
  9.4039 +  ;;
  9.4040 +cygwin* | mingw* | pw32* | cegcc*)
  9.4041 +  symcode='[[ABCDGISTW]]'
  9.4042 +  ;;
  9.4043 +hpux*)
  9.4044 +  if test "$host_cpu" = ia64; then
  9.4045 +    symcode='[[ABCDEGRST]]'
  9.4046 +  fi
  9.4047 +  ;;
  9.4048 +irix* | nonstopux*)
  9.4049 +  symcode='[[BCDEGRST]]'
  9.4050 +  ;;
  9.4051 +osf*)
  9.4052 +  symcode='[[BCDEGQRST]]'
  9.4053 +  ;;
  9.4054 +solaris*)
  9.4055 +  symcode='[[BDRT]]'
  9.4056 +  ;;
  9.4057 +sco3.2v5*)
  9.4058 +  symcode='[[DT]]'
  9.4059 +  ;;
  9.4060 +sysv4.2uw2*)
  9.4061 +  symcode='[[DT]]'
  9.4062 +  ;;
  9.4063 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  9.4064 +  symcode='[[ABDT]]'
  9.4065 +  ;;
  9.4066 +sysv4)
  9.4067 +  symcode='[[DFNSTU]]'
  9.4068 +  ;;
  9.4069 +esac
  9.4070 +
  9.4071 +# If we're using GNU nm, then use its standard symbol codes.
  9.4072 +case `$NM -V 2>&1` in
  9.4073 +*GNU* | *'with BFD'*)
  9.4074 +  symcode='[[ABCDGIRSTW]]' ;;
  9.4075 +esac
  9.4076 +
  9.4077 +# Transform an extracted symbol line into a proper C declaration.
  9.4078 +# Some systems (esp. on ia64) link data and code symbols differently,
  9.4079 +# so use this general approach.
  9.4080 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  9.4081 +
  9.4082 +# Transform an extracted symbol line into symbol name and symbol address
  9.4083 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
  9.4084 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  9.4085 +
  9.4086 +# Handle CRLF in mingw tool chain
  9.4087 +opt_cr=
  9.4088 +case $build_os in
  9.4089 +mingw*)
  9.4090 +  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  9.4091 +  ;;
  9.4092 +esac
  9.4093 +
  9.4094 +# Try without a prefix underscore, then with it.
  9.4095 +for ac_symprfx in "" "_"; do
  9.4096 +
  9.4097 +  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  9.4098 +  symxfrm="\\1 $ac_symprfx\\2 \\2"
  9.4099 +
  9.4100 +  # Write the raw and C identifiers.
  9.4101 +  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  9.4102 +    # Fake it for dumpbin and say T for any non-static function
  9.4103 +    # and D for any global variable.
  9.4104 +    # Also find C++ and __fastcall symbols from MSVC++,
  9.4105 +    # which start with @ or ?.
  9.4106 +    lt_cv_sys_global_symbol_pipe="$AWK ['"\
  9.4107 +"     {last_section=section; section=\$ 3};"\
  9.4108 +"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  9.4109 +"     \$ 0!~/External *\|/{next};"\
  9.4110 +"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  9.4111 +"     {if(hide[section]) next};"\
  9.4112 +"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  9.4113 +"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  9.4114 +"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  9.4115 +"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  9.4116 +"     ' prfx=^$ac_symprfx]"
  9.4117 +  else
  9.4118 +    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  9.4119 +  fi
  9.4120 +
  9.4121 +  # Check to see that the pipe works correctly.
  9.4122 +  pipe_works=no
  9.4123 +
  9.4124 +  rm -f conftest*
  9.4125 +  cat > conftest.$ac_ext <<_LT_EOF
  9.4126 +#ifdef __cplusplus
  9.4127 +extern "C" {
  9.4128 +#endif
  9.4129 +char nm_test_var;
  9.4130 +void nm_test_func(void);
  9.4131 +void nm_test_func(void){}
  9.4132 +#ifdef __cplusplus
  9.4133 +}
  9.4134 +#endif
  9.4135 +int main(){nm_test_var='a';nm_test_func();return(0);}
  9.4136 +_LT_EOF
  9.4137 +
  9.4138 +  if AC_TRY_EVAL(ac_compile); then
  9.4139 +    # Now try to grab the symbols.
  9.4140 +    nlist=conftest.nm
  9.4141 +    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  9.4142 +      # Try sorting and uniquifying the output.
  9.4143 +      if sort "$nlist" | uniq > "$nlist"T; then
  9.4144 +	mv -f "$nlist"T "$nlist"
  9.4145 +      else
  9.4146 +	rm -f "$nlist"T
  9.4147 +      fi
  9.4148 +
  9.4149 +      # Make sure that we snagged all the symbols we need.
  9.4150 +      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  9.4151 +	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  9.4152 +	  cat <<_LT_EOF > conftest.$ac_ext
  9.4153 +#ifdef __cplusplus
  9.4154 +extern "C" {
  9.4155 +#endif
  9.4156 +
  9.4157 +_LT_EOF
  9.4158 +	  # Now generate the symbol file.
  9.4159 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  9.4160 +
  9.4161 +	  cat <<_LT_EOF >> conftest.$ac_ext
  9.4162 +
  9.4163 +/* The mapping between symbol names and symbols.  */
  9.4164 +const struct {
  9.4165 +  const char *name;
  9.4166 +  void       *address;
  9.4167 +}
  9.4168 +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  9.4169 +{
  9.4170 +  { "@PROGRAM@", (void *) 0 },
  9.4171 +_LT_EOF
  9.4172 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  9.4173 +	  cat <<\_LT_EOF >> conftest.$ac_ext
  9.4174 +  {0, (void *) 0}
  9.4175 +};
  9.4176 +
  9.4177 +/* This works around a problem in FreeBSD linker */
  9.4178 +#ifdef FREEBSD_WORKAROUND
  9.4179 +static const void *lt_preloaded_setup() {
  9.4180 +  return lt__PROGRAM__LTX_preloaded_symbols;
  9.4181 +}
  9.4182 +#endif
  9.4183 +
  9.4184 +#ifdef __cplusplus
  9.4185 +}
  9.4186 +#endif
  9.4187 +_LT_EOF
  9.4188 +	  # Now try linking the two files.
  9.4189 +	  mv conftest.$ac_objext conftstm.$ac_objext
  9.4190 +	  lt_save_LIBS="$LIBS"
  9.4191 +	  lt_save_CFLAGS="$CFLAGS"
  9.4192 +	  LIBS="conftstm.$ac_objext"
  9.4193 +	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  9.4194 +	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  9.4195 +	    pipe_works=yes
  9.4196 +	  fi
  9.4197 +	  LIBS="$lt_save_LIBS"
  9.4198 +	  CFLAGS="$lt_save_CFLAGS"
  9.4199 +	else
  9.4200 +	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  9.4201 +	fi
  9.4202 +      else
  9.4203 +	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  9.4204 +      fi
  9.4205 +    else
  9.4206 +      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  9.4207 +    fi
  9.4208 +  else
  9.4209 +    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  9.4210 +    cat conftest.$ac_ext >&5
  9.4211 +  fi
  9.4212 +  rm -rf conftest* conftst*
  9.4213 +
  9.4214 +  # Do not use the global_symbol_pipe unless it works.
  9.4215 +  if test "$pipe_works" = yes; then
  9.4216 +    break
  9.4217 +  else
  9.4218 +    lt_cv_sys_global_symbol_pipe=
  9.4219 +  fi
  9.4220 +done
  9.4221 +])
  9.4222 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  9.4223 +  lt_cv_sys_global_symbol_to_cdecl=
  9.4224 +fi
  9.4225 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  9.4226 +  AC_MSG_RESULT(failed)
  9.4227 +else
  9.4228 +  AC_MSG_RESULT(ok)
  9.4229 +fi
  9.4230 +
  9.4231 +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  9.4232 +    [Take the output of nm and produce a listing of raw symbols and C names])
  9.4233 +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  9.4234 +    [Transform the output of nm in a proper C declaration])
  9.4235 +_LT_DECL([global_symbol_to_c_name_address],
  9.4236 +    [lt_cv_sys_global_symbol_to_c_name_address], [1],
  9.4237 +    [Transform the output of nm in a C name address pair])
  9.4238 +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  9.4239 +    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  9.4240 +    [Transform the output of nm in a C name address pair when lib prefix is needed])
  9.4241 +]) # _LT_CMD_GLOBAL_SYMBOLS
  9.4242 +
  9.4243 +
  9.4244 +# _LT_COMPILER_PIC([TAGNAME])
  9.4245 +# ---------------------------
  9.4246 +m4_defun([_LT_COMPILER_PIC],
  9.4247 +[m4_require([_LT_TAG_COMPILER])dnl
  9.4248 +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  9.4249 +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4250 +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  9.4251 +
  9.4252 +AC_MSG_CHECKING([for $compiler option to produce PIC])
  9.4253 +m4_if([$1], [CXX], [
  9.4254 +  # C++ specific cases for pic, static, wl, etc.
  9.4255 +  if test "$GXX" = yes; then
  9.4256 +    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4257 +    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4258 +
  9.4259 +    case $host_os in
  9.4260 +    aix*)
  9.4261 +      # All AIX code is PIC.
  9.4262 +      if test "$host_cpu" = ia64; then
  9.4263 +	# AIX 5 now supports IA64 processor
  9.4264 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4265 +      fi
  9.4266 +      ;;
  9.4267 +
  9.4268 +    amigaos*)
  9.4269 +      case $host_cpu in
  9.4270 +      powerpc)
  9.4271 +            # see comment about AmigaOS4 .so support
  9.4272 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4273 +        ;;
  9.4274 +      m68k)
  9.4275 +            # FIXME: we need at least 68020 code to build shared libraries, but
  9.4276 +            # adding the `-m68020' flag to GCC prevents building anything better,
  9.4277 +            # like `-m68040'.
  9.4278 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  9.4279 +        ;;
  9.4280 +      esac
  9.4281 +      ;;
  9.4282 +
  9.4283 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  9.4284 +      # PIC is the default for these OSes.
  9.4285 +      ;;
  9.4286 +    mingw* | cygwin* | os2* | pw32* | cegcc*)
  9.4287 +      # This hack is so that the source file can tell whether it is being
  9.4288 +      # built for inclusion in a dll (and should export symbols for example).
  9.4289 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  9.4290 +      # (--disable-auto-import) libraries
  9.4291 +      m4_if([$1], [GCJ], [],
  9.4292 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  9.4293 +      ;;
  9.4294 +    darwin* | rhapsody*)
  9.4295 +      # PIC is the default on this platform
  9.4296 +      # Common symbols not allowed in MH_DYLIB files
  9.4297 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  9.4298 +      ;;
  9.4299 +    *djgpp*)
  9.4300 +      # DJGPP does not support shared libraries at all
  9.4301 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4302 +      ;;
  9.4303 +    interix[[3-9]]*)
  9.4304 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  9.4305 +      # Instead, we relocate shared libraries at runtime.
  9.4306 +      ;;
  9.4307 +    sysv4*MP*)
  9.4308 +      if test -d /usr/nec; then
  9.4309 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  9.4310 +      fi
  9.4311 +      ;;
  9.4312 +    hpux*)
  9.4313 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  9.4314 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  9.4315 +      # sets the default TLS model and affects inlining.
  9.4316 +      case $host_cpu in
  9.4317 +      hppa*64*)
  9.4318 +	;;
  9.4319 +      *)
  9.4320 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4321 +	;;
  9.4322 +      esac
  9.4323 +      ;;
  9.4324 +    *qnx* | *nto*)
  9.4325 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  9.4326 +      # it will coredump.
  9.4327 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  9.4328 +      ;;
  9.4329 +    *)
  9.4330 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4331 +      ;;
  9.4332 +    esac
  9.4333 +  else
  9.4334 +    case $host_os in
  9.4335 +      aix[[4-9]]*)
  9.4336 +	# All AIX code is PIC.
  9.4337 +	if test "$host_cpu" = ia64; then
  9.4338 +	  # AIX 5 now supports IA64 processor
  9.4339 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4340 +	else
  9.4341 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  9.4342 +	fi
  9.4343 +	;;
  9.4344 +      chorus*)
  9.4345 +	case $cc_basename in
  9.4346 +	cxch68*)
  9.4347 +	  # Green Hills C++ Compiler
  9.4348 +	  # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  9.4349 +	  ;;
  9.4350 +	esac
  9.4351 +	;;
  9.4352 +      dgux*)
  9.4353 +	case $cc_basename in
  9.4354 +	  ec++*)
  9.4355 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4356 +	    ;;
  9.4357 +	  ghcx*)
  9.4358 +	    # Green Hills C++ Compiler
  9.4359 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9.4360 +	    ;;
  9.4361 +	  *)
  9.4362 +	    ;;
  9.4363 +	esac
  9.4364 +	;;
  9.4365 +      freebsd* | dragonfly*)
  9.4366 +	# FreeBSD uses GNU C++
  9.4367 +	;;
  9.4368 +      hpux9* | hpux10* | hpux11*)
  9.4369 +	case $cc_basename in
  9.4370 +	  CC*)
  9.4371 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4372 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  9.4373 +	    if test "$host_cpu" != ia64; then
  9.4374 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  9.4375 +	    fi
  9.4376 +	    ;;
  9.4377 +	  aCC*)
  9.4378 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4379 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  9.4380 +	    case $host_cpu in
  9.4381 +	    hppa*64*|ia64*)
  9.4382 +	      # +Z the default
  9.4383 +	      ;;
  9.4384 +	    *)
  9.4385 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  9.4386 +	      ;;
  9.4387 +	    esac
  9.4388 +	    ;;
  9.4389 +	  *)
  9.4390 +	    ;;
  9.4391 +	esac
  9.4392 +	;;
  9.4393 +      interix*)
  9.4394 +	# This is c89, which is MS Visual C++ (no shared libs)
  9.4395 +	# Anyone wants to do a port?
  9.4396 +	;;
  9.4397 +      irix5* | irix6* | nonstopux*)
  9.4398 +	case $cc_basename in
  9.4399 +	  CC*)
  9.4400 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4401 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4402 +	    # CC pic flag -KPIC is the default.
  9.4403 +	    ;;
  9.4404 +	  *)
  9.4405 +	    ;;
  9.4406 +	esac
  9.4407 +	;;
  9.4408 +      linux* | k*bsd*-gnu)
  9.4409 +	case $cc_basename in
  9.4410 +	  KCC*)
  9.4411 +	    # KAI C++ Compiler
  9.4412 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  9.4413 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4414 +	    ;;
  9.4415 +	  ecpc* )
  9.4416 +	    # old Intel C++ for x86_64 which still supported -KPIC.
  9.4417 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4418 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4419 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4420 +	    ;;
  9.4421 +	  icpc* )
  9.4422 +	    # Intel C++, used to be incompatible with GCC.
  9.4423 +	    # ICC 10 doesn't accept -KPIC any more.
  9.4424 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4425 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4426 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4427 +	    ;;
  9.4428 +	  pgCC* | pgcpp*)
  9.4429 +	    # Portland Group C++ compiler
  9.4430 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4431 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  9.4432 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4433 +	    ;;
  9.4434 +	  cxx*)
  9.4435 +	    # Compaq C++
  9.4436 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
  9.4437 +	    # Linux and Compaq Tru64 Unix objects are PIC.
  9.4438 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4439 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4440 +	    ;;
  9.4441 +	  xlc* | xlC*)
  9.4442 +	    # IBM XL 8.0 on PPC
  9.4443 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4444 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  9.4445 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  9.4446 +	    ;;
  9.4447 +	  *)
  9.4448 +	    case `$CC -V 2>&1 | sed 5q` in
  9.4449 +	    *Sun\ C*)
  9.4450 +	      # Sun C++ 5.9
  9.4451 +	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4452 +	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4453 +	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  9.4454 +	      ;;
  9.4455 +	    esac
  9.4456 +	    ;;
  9.4457 +	esac
  9.4458 +	;;
  9.4459 +      lynxos*)
  9.4460 +	;;
  9.4461 +      m88k*)
  9.4462 +	;;
  9.4463 +      mvs*)
  9.4464 +	case $cc_basename in
  9.4465 +	  cxx*)
  9.4466 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  9.4467 +	    ;;
  9.4468 +	  *)
  9.4469 +	    ;;
  9.4470 +	esac
  9.4471 +	;;
  9.4472 +      netbsd*)
  9.4473 +	;;
  9.4474 +      *qnx* | *nto*)
  9.4475 +        # QNX uses GNU C++, but need to define -shared option too, otherwise
  9.4476 +        # it will coredump.
  9.4477 +        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  9.4478 +        ;;
  9.4479 +      osf3* | osf4* | osf5*)
  9.4480 +	case $cc_basename in
  9.4481 +	  KCC*)
  9.4482 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  9.4483 +	    ;;
  9.4484 +	  RCC*)
  9.4485 +	    # Rational C++ 2.4.1
  9.4486 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9.4487 +	    ;;
  9.4488 +	  cxx*)
  9.4489 +	    # Digital/Compaq C++
  9.4490 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4491 +	    # Make sure the PIC flag is empty.  It appears that all Alpha
  9.4492 +	    # Linux and Compaq Tru64 Unix objects are PIC.
  9.4493 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4494 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4495 +	    ;;
  9.4496 +	  *)
  9.4497 +	    ;;
  9.4498 +	esac
  9.4499 +	;;
  9.4500 +      psos*)
  9.4501 +	;;
  9.4502 +      solaris*)
  9.4503 +	case $cc_basename in
  9.4504 +	  CC*)
  9.4505 +	    # Sun C++ 4.2, 5.x and Centerline C++
  9.4506 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4507 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4508 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  9.4509 +	    ;;
  9.4510 +	  gcx*)
  9.4511 +	    # Green Hills C++ Compiler
  9.4512 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  9.4513 +	    ;;
  9.4514 +	  *)
  9.4515 +	    ;;
  9.4516 +	esac
  9.4517 +	;;
  9.4518 +      sunos4*)
  9.4519 +	case $cc_basename in
  9.4520 +	  CC*)
  9.4521 +	    # Sun C++ 4.x
  9.4522 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9.4523 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4524 +	    ;;
  9.4525 +	  lcc*)
  9.4526 +	    # Lucid
  9.4527 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9.4528 +	    ;;
  9.4529 +	  *)
  9.4530 +	    ;;
  9.4531 +	esac
  9.4532 +	;;
  9.4533 +      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  9.4534 +	case $cc_basename in
  9.4535 +	  CC*)
  9.4536 +	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4537 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4538 +	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4539 +	    ;;
  9.4540 +	esac
  9.4541 +	;;
  9.4542 +      tandem*)
  9.4543 +	case $cc_basename in
  9.4544 +	  NCC*)
  9.4545 +	    # NonStop-UX NCC 3.20
  9.4546 +	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4547 +	    ;;
  9.4548 +	  *)
  9.4549 +	    ;;
  9.4550 +	esac
  9.4551 +	;;
  9.4552 +      vxworks*)
  9.4553 +	;;
  9.4554 +      *)
  9.4555 +	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9.4556 +	;;
  9.4557 +    esac
  9.4558 +  fi
  9.4559 +],
  9.4560 +[
  9.4561 +  if test "$GCC" = yes; then
  9.4562 +    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4563 +    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4564 +
  9.4565 +    case $host_os in
  9.4566 +      aix*)
  9.4567 +      # All AIX code is PIC.
  9.4568 +      if test "$host_cpu" = ia64; then
  9.4569 +	# AIX 5 now supports IA64 processor
  9.4570 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4571 +      fi
  9.4572 +      ;;
  9.4573 +
  9.4574 +    amigaos*)
  9.4575 +      case $host_cpu in
  9.4576 +      powerpc)
  9.4577 +            # see comment about AmigaOS4 .so support
  9.4578 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4579 +        ;;
  9.4580 +      m68k)
  9.4581 +            # FIXME: we need at least 68020 code to build shared libraries, but
  9.4582 +            # adding the `-m68020' flag to GCC prevents building anything better,
  9.4583 +            # like `-m68040'.
  9.4584 +            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  9.4585 +        ;;
  9.4586 +      esac
  9.4587 +      ;;
  9.4588 +
  9.4589 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  9.4590 +      # PIC is the default for these OSes.
  9.4591 +      ;;
  9.4592 +
  9.4593 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  9.4594 +      # This hack is so that the source file can tell whether it is being
  9.4595 +      # built for inclusion in a dll (and should export symbols for example).
  9.4596 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  9.4597 +      # (--disable-auto-import) libraries
  9.4598 +      m4_if([$1], [GCJ], [],
  9.4599 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  9.4600 +      ;;
  9.4601 +
  9.4602 +    darwin* | rhapsody*)
  9.4603 +      # PIC is the default on this platform
  9.4604 +      # Common symbols not allowed in MH_DYLIB files
  9.4605 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  9.4606 +      ;;
  9.4607 +
  9.4608 +    hpux*)
  9.4609 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  9.4610 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  9.4611 +      # sets the default TLS model and affects inlining.
  9.4612 +      case $host_cpu in
  9.4613 +      hppa*64*)
  9.4614 +	# +Z the default
  9.4615 +	;;
  9.4616 +      *)
  9.4617 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4618 +	;;
  9.4619 +      esac
  9.4620 +      ;;
  9.4621 +
  9.4622 +    interix[[3-9]]*)
  9.4623 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  9.4624 +      # Instead, we relocate shared libraries at runtime.
  9.4625 +      ;;
  9.4626 +
  9.4627 +    msdosdjgpp*)
  9.4628 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
  9.4629 +      # on systems that don't support them.
  9.4630 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9.4631 +      enable_shared=no
  9.4632 +      ;;
  9.4633 +
  9.4634 +    *nto* | *qnx*)
  9.4635 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  9.4636 +      # it will coredump.
  9.4637 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  9.4638 +      ;;
  9.4639 +
  9.4640 +    sysv4*MP*)
  9.4641 +      if test -d /usr/nec; then
  9.4642 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  9.4643 +      fi
  9.4644 +      ;;
  9.4645 +
  9.4646 +    *)
  9.4647 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4648 +      ;;
  9.4649 +    esac
  9.4650 +  else
  9.4651 +    # PORTME Check for flag to pass linker flags through the system compiler.
  9.4652 +    case $host_os in
  9.4653 +    aix*)
  9.4654 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4655 +      if test "$host_cpu" = ia64; then
  9.4656 +	# AIX 5 now supports IA64 processor
  9.4657 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4658 +      else
  9.4659 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  9.4660 +      fi
  9.4661 +      ;;
  9.4662 +
  9.4663 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  9.4664 +      # This hack is so that the source file can tell whether it is being
  9.4665 +      # built for inclusion in a dll (and should export symbols for example).
  9.4666 +      m4_if([$1], [GCJ], [],
  9.4667 +	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  9.4668 +      ;;
  9.4669 +
  9.4670 +    hpux9* | hpux10* | hpux11*)
  9.4671 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4672 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  9.4673 +      # not for PA HP-UX.
  9.4674 +      case $host_cpu in
  9.4675 +      hppa*64*|ia64*)
  9.4676 +	# +Z the default
  9.4677 +	;;
  9.4678 +      *)
  9.4679 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  9.4680 +	;;
  9.4681 +      esac
  9.4682 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  9.4683 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  9.4684 +      ;;
  9.4685 +
  9.4686 +    irix5* | irix6* | nonstopux*)
  9.4687 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4688 +      # PIC (with -KPIC) is the default.
  9.4689 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4690 +      ;;
  9.4691 +
  9.4692 +    linux* | k*bsd*-gnu)
  9.4693 +      case $cc_basename in
  9.4694 +      # old Intel for x86_64 which still supported -KPIC.
  9.4695 +      ecc*)
  9.4696 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4697 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4698 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4699 +        ;;
  9.4700 +      # icc used to be incompatible with GCC.
  9.4701 +      # ICC 10 doesn't accept -KPIC any more.
  9.4702 +      icc* | ifort*)
  9.4703 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4704 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9.4705 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9.4706 +        ;;
  9.4707 +      # Lahey Fortran 8.1.
  9.4708 +      lf95*)
  9.4709 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4710 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  9.4711 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  9.4712 +	;;
  9.4713 +      pgcc* | pgf77* | pgf90* | pgf95*)
  9.4714 +        # Portland Group compilers (*not* the Pentium gcc compiler,
  9.4715 +	# which looks to be a dead project)
  9.4716 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4717 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  9.4718 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4719 +        ;;
  9.4720 +      ccc*)
  9.4721 +        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4722 +        # All Alpha code is PIC.
  9.4723 +        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4724 +        ;;
  9.4725 +      xl*)
  9.4726 +	# IBM XL C 8.0/Fortran 10.1 on PPC
  9.4727 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4728 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  9.4729 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  9.4730 +	;;
  9.4731 +      *)
  9.4732 +	case `$CC -V 2>&1 | sed 5q` in
  9.4733 +	*Sun\ C*)
  9.4734 +	  # Sun C 5.9
  9.4735 +	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4736 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4737 +	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4738 +	  ;;
  9.4739 +	*Sun\ F*)
  9.4740 +	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  9.4741 +	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4742 +	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4743 +	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  9.4744 +	  ;;
  9.4745 +	esac
  9.4746 +	;;
  9.4747 +      esac
  9.4748 +      ;;
  9.4749 +
  9.4750 +    newsos6)
  9.4751 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4752 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4753 +      ;;
  9.4754 +
  9.4755 +    *nto* | *qnx*)
  9.4756 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  9.4757 +      # it will coredump.
  9.4758 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  9.4759 +      ;;
  9.4760 +
  9.4761 +    osf3* | osf4* | osf5*)
  9.4762 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4763 +      # All OSF/1 code is PIC.
  9.4764 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4765 +      ;;
  9.4766 +
  9.4767 +    rdos*)
  9.4768 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9.4769 +      ;;
  9.4770 +
  9.4771 +    solaris*)
  9.4772 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4773 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4774 +      case $cc_basename in
  9.4775 +      f77* | f90* | f95*)
  9.4776 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  9.4777 +      *)
  9.4778 +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  9.4779 +      esac
  9.4780 +      ;;
  9.4781 +
  9.4782 +    sunos4*)
  9.4783 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  9.4784 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  9.4785 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4786 +      ;;
  9.4787 +
  9.4788 +    sysv4 | sysv4.2uw2* | sysv4.3*)
  9.4789 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4790 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4791 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4792 +      ;;
  9.4793 +
  9.4794 +    sysv4*MP*)
  9.4795 +      if test -d /usr/nec ;then
  9.4796 +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  9.4797 +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4798 +      fi
  9.4799 +      ;;
  9.4800 +
  9.4801 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  9.4802 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4803 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9.4804 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4805 +      ;;
  9.4806 +
  9.4807 +    unicos*)
  9.4808 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9.4809 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9.4810 +      ;;
  9.4811 +
  9.4812 +    uts4*)
  9.4813 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9.4814 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9.4815 +      ;;
  9.4816 +
  9.4817 +    *)
  9.4818 +      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9.4819 +      ;;
  9.4820 +    esac
  9.4821 +  fi
  9.4822 +])
  9.4823 +case $host_os in
  9.4824 +  # For platforms which do not support PIC, -DPIC is meaningless:
  9.4825 +  *djgpp*)
  9.4826 +    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4827 +    ;;
  9.4828 +  *)
  9.4829 +    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  9.4830 +    ;;
  9.4831 +esac
  9.4832 +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  9.4833 +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  9.4834 +	[How to pass a linker flag through the compiler])
  9.4835 +
  9.4836 +#
  9.4837 +# Check to make sure the PIC flag actually works.
  9.4838 +#
  9.4839 +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  9.4840 +  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  9.4841 +    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  9.4842 +    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  9.4843 +    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  9.4844 +     "" | " "*) ;;
  9.4845 +     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  9.4846 +     esac],
  9.4847 +    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9.4848 +     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  9.4849 +fi
  9.4850 +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  9.4851 +	[Additional compiler flags for building library objects])
  9.4852 +
  9.4853 +#
  9.4854 +# Check to make sure the static flag actually works.
  9.4855 +#
  9.4856 +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  9.4857 +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  9.4858 +  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  9.4859 +  $lt_tmp_static_flag,
  9.4860 +  [],
  9.4861 +  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  9.4862 +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  9.4863 +	[Compiler flag to prevent dynamic linking])
  9.4864 +])# _LT_COMPILER_PIC
  9.4865 +
  9.4866 +
  9.4867 +# _LT_LINKER_SHLIBS([TAGNAME])
  9.4868 +# ----------------------------
  9.4869 +# See if the linker supports building shared libraries.
  9.4870 +m4_defun([_LT_LINKER_SHLIBS],
  9.4871 +[AC_REQUIRE([LT_PATH_LD])dnl
  9.4872 +AC_REQUIRE([LT_PATH_NM])dnl
  9.4873 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.4874 +m4_require([_LT_DECL_EGREP])dnl
  9.4875 +m4_require([_LT_DECL_SED])dnl
  9.4876 +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  9.4877 +m4_require([_LT_TAG_COMPILER])dnl
  9.4878 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  9.4879 +m4_if([$1], [CXX], [
  9.4880 +  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9.4881 +  case $host_os in
  9.4882 +  aix[[4-9]]*)
  9.4883 +    # If we're using GNU nm, then we don't want the "-C" option.
  9.4884 +    # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9.4885 +    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9.4886 +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9.4887 +    else
  9.4888 +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9.4889 +    fi
  9.4890 +    ;;
  9.4891 +  pw32*)
  9.4892 +    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  9.4893 +  ;;
  9.4894 +  cygwin* | mingw* | cegcc*)
  9.4895 +    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  9.4896 +  ;;
  9.4897 +  *)
  9.4898 +    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9.4899 +  ;;
  9.4900 +  esac
  9.4901 +  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9.4902 +], [
  9.4903 +  runpath_var=
  9.4904 +  _LT_TAGVAR(allow_undefined_flag, $1)=
  9.4905 +  _LT_TAGVAR(always_export_symbols, $1)=no
  9.4906 +  _LT_TAGVAR(archive_cmds, $1)=
  9.4907 +  _LT_TAGVAR(archive_expsym_cmds, $1)=
  9.4908 +  _LT_TAGVAR(compiler_needs_object, $1)=no
  9.4909 +  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9.4910 +  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9.4911 +  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9.4912 +  _LT_TAGVAR(hardcode_automatic, $1)=no
  9.4913 +  _LT_TAGVAR(hardcode_direct, $1)=no
  9.4914 +  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  9.4915 +  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9.4916 +  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9.4917 +  _LT_TAGVAR(hardcode_libdir_separator, $1)=
  9.4918 +  _LT_TAGVAR(hardcode_minus_L, $1)=no
  9.4919 +  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  9.4920 +  _LT_TAGVAR(inherit_rpath, $1)=no
  9.4921 +  _LT_TAGVAR(link_all_deplibs, $1)=unknown
  9.4922 +  _LT_TAGVAR(module_cmds, $1)=
  9.4923 +  _LT_TAGVAR(module_expsym_cmds, $1)=
  9.4924 +  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  9.4925 +  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  9.4926 +  _LT_TAGVAR(thread_safe_flag_spec, $1)=
  9.4927 +  _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.4928 +  # include_expsyms should be a list of space-separated symbols to be *always*
  9.4929 +  # included in the symbol list
  9.4930 +  _LT_TAGVAR(include_expsyms, $1)=
  9.4931 +  # exclude_expsyms can be an extended regexp of symbols to exclude
  9.4932 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9.4933 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9.4934 +  # as well as any symbol that contains `d'.
  9.4935 +  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9.4936 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9.4937 +  # platforms (ab)use it in PIC code, but their linkers get confused if
  9.4938 +  # the symbol is explicitly referenced.  Since portable code cannot
  9.4939 +  # rely on this symbol name, it's probably fine to never include it in
  9.4940 +  # preloaded symbol tables.
  9.4941 +  # Exclude shared library initialization/finalization symbols.
  9.4942 +dnl Note also adjust exclude_expsyms for C++ above.
  9.4943 +  extract_expsyms_cmds=
  9.4944 +
  9.4945 +  case $host_os in
  9.4946 +  cygwin* | mingw* | pw32* | cegcc*)
  9.4947 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9.4948 +    # When not using gcc, we currently assume that we are using
  9.4949 +    # Microsoft Visual C++.
  9.4950 +    if test "$GCC" != yes; then
  9.4951 +      with_gnu_ld=no
  9.4952 +    fi
  9.4953 +    ;;
  9.4954 +  interix*)
  9.4955 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
  9.4956 +    with_gnu_ld=yes
  9.4957 +    ;;
  9.4958 +  openbsd*)
  9.4959 +    with_gnu_ld=no
  9.4960 +    ;;
  9.4961 +  esac
  9.4962 +
  9.4963 +  _LT_TAGVAR(ld_shlibs, $1)=yes
  9.4964 +  if test "$with_gnu_ld" = yes; then
  9.4965 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  9.4966 +    wlarc='${wl}'
  9.4967 +
  9.4968 +    # Set some defaults for GNU ld with shared library support. These
  9.4969 +    # are reset later if shared libraries are not supported. Putting them
  9.4970 +    # here allows them to be overridden if necessary.
  9.4971 +    runpath_var=LD_RUN_PATH
  9.4972 +    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.4973 +    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.4974 +    # ancient GNU ld didn't support --whole-archive et. al.
  9.4975 +    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9.4976 +      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9.4977 +    else
  9.4978 +      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.4979 +    fi
  9.4980 +    supports_anon_versioning=no
  9.4981 +    case `$LD -v 2>&1` in
  9.4982 +      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  9.4983 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9.4984 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9.4985 +      *\ 2.11.*) ;; # other 2.11 versions
  9.4986 +      *) supports_anon_versioning=yes ;;
  9.4987 +    esac
  9.4988 +
  9.4989 +    # See if GNU ld supports shared libraries.
  9.4990 +    case $host_os in
  9.4991 +    aix[[3-9]]*)
  9.4992 +      # On AIX/PPC, the GNU linker is very broken
  9.4993 +      if test "$host_cpu" != ia64; then
  9.4994 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.4995 +	cat <<_LT_EOF 1>&2
  9.4996 +
  9.4997 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  9.4998 +*** to be unable to reliably create shared libraries on AIX.
  9.4999 +*** Therefore, libtool is disabling shared libraries support.  If you
  9.5000 +*** really care for shared libraries, you may want to modify your PATH
  9.5001 +*** so that a non-GNU linker is found, and then restart.
  9.5002 +
  9.5003 +_LT_EOF
  9.5004 +      fi
  9.5005 +      ;;
  9.5006 +
  9.5007 +    amigaos*)
  9.5008 +      case $host_cpu in
  9.5009 +      powerpc)
  9.5010 +            # see comment about AmigaOS4 .so support
  9.5011 +            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5012 +            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  9.5013 +        ;;
  9.5014 +      m68k)
  9.5015 +            _LT_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)'
  9.5016 +            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5017 +            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5018 +        ;;
  9.5019 +      esac
  9.5020 +      ;;
  9.5021 +
  9.5022 +    beos*)
  9.5023 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9.5024 +	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.5025 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9.5026 +	# support --undefined.  This deserves some investigation.  FIXME
  9.5027 +	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5028 +      else
  9.5029 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5030 +      fi
  9.5031 +      ;;
  9.5032 +
  9.5033 +    cygwin* | mingw* | pw32* | cegcc*)
  9.5034 +      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  9.5035 +      # as there is no search path for DLLs.
  9.5036 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5037 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.5038 +      _LT_TAGVAR(always_export_symbols, $1)=no
  9.5039 +      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9.5040 +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  9.5041 +
  9.5042 +      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9.5043 +        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9.5044 +	# If the export-symbols file already is a .def file (1st line
  9.5045 +	# is EXPORTS), use it as is; otherwise, prepend...
  9.5046 +	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9.5047 +	  cp $export_symbols $output_objdir/$soname.def;
  9.5048 +	else
  9.5049 +	  echo EXPORTS > $output_objdir/$soname.def;
  9.5050 +	  cat $export_symbols >> $output_objdir/$soname.def;
  9.5051 +	fi~
  9.5052 +	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9.5053 +      else
  9.5054 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5055 +      fi
  9.5056 +      ;;
  9.5057 +
  9.5058 +    interix[[3-9]]*)
  9.5059 +      _LT_TAGVAR(hardcode_direct, $1)=no
  9.5060 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5061 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.5062 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.5063 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9.5064 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
  9.5065 +      # default) and relocated if they conflict, which is a slow very memory
  9.5066 +      # consuming and fragmenting process.  To avoid this, we pick a random,
  9.5067 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9.5068 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9.5069 +      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9.5070 +      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9.5071 +      ;;
  9.5072 +
  9.5073 +    gnu* | linux* | tpf* | k*bsd*-gnu)
  9.5074 +      tmp_diet=no
  9.5075 +      if test "$host_os" = linux-dietlibc; then
  9.5076 +	case $cc_basename in
  9.5077 +	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  9.5078 +	esac
  9.5079 +      fi
  9.5080 +      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9.5081 +	 && test "$tmp_diet" = no
  9.5082 +      then
  9.5083 +	tmp_addflag=
  9.5084 +	tmp_sharedflag='-shared'
  9.5085 +	case $cc_basename,$host_cpu in
  9.5086 +        pgcc*)				# Portland Group C compiler
  9.5087 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9.5088 +	  tmp_addflag=' $pic_flag'
  9.5089 +	  ;;
  9.5090 +	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  9.5091 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9.5092 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
  9.5093 +	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  9.5094 +	  tmp_addflag=' -i_dynamic' ;;
  9.5095 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  9.5096 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  9.5097 +	ifc* | ifort*)			# Intel Fortran compiler
  9.5098 +	  tmp_addflag=' -nofor_main' ;;
  9.5099 +	lf95*)				# Lahey Fortran 8.1
  9.5100 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.5101 +	  tmp_sharedflag='--shared' ;;
  9.5102 +	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
  9.5103 +	  tmp_sharedflag='-qmkshrobj'
  9.5104 +	  tmp_addflag= ;;
  9.5105 +	esac
  9.5106 +	case `$CC -V 2>&1 | sed 5q` in
  9.5107 +	*Sun\ C*)			# Sun C 5.9
  9.5108 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9.5109 +	  _LT_TAGVAR(compiler_needs_object, $1)=yes
  9.5110 +	  tmp_sharedflag='-G' ;;
  9.5111 +	*Sun\ F*)			# Sun Fortran 8.3
  9.5112 +	  tmp_sharedflag='-G' ;;
  9.5113 +	esac
  9.5114 +	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5115 +
  9.5116 +        if test "x$supports_anon_versioning" = xyes; then
  9.5117 +          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  9.5118 +	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9.5119 +	    echo "local: *; };" >> $output_objdir/$libname.ver~
  9.5120 +	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9.5121 +        fi
  9.5122 +
  9.5123 +	case $cc_basename in
  9.5124 +	xlf*)
  9.5125 +	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9.5126 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  9.5127 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9.5128 +	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  9.5129 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9.5130 +	  if test "x$supports_anon_versioning" = xyes; then
  9.5131 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  9.5132 +	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9.5133 +	      echo "local: *; };" >> $output_objdir/$libname.ver~
  9.5134 +	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9.5135 +	  fi
  9.5136 +	  ;;
  9.5137 +	esac
  9.5138 +      else
  9.5139 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.5140 +      fi
  9.5141 +      ;;
  9.5142 +
  9.5143 +    netbsd*)
  9.5144 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9.5145 +	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9.5146 +	wlarc=
  9.5147 +      else
  9.5148 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5149 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.5150 +      fi
  9.5151 +      ;;
  9.5152 +
  9.5153 +    solaris*)
  9.5154 +      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9.5155 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5156 +	cat <<_LT_EOF 1>&2
  9.5157 +
  9.5158 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9.5159 +*** create shared libraries on Solaris systems.  Therefore, libtool
  9.5160 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  9.5161 +*** binutils to release 2.9.1 or newer.  Another option is to modify
  9.5162 +*** your PATH or compiler configuration so that the native linker is
  9.5163 +*** used, and then restart.
  9.5164 +
  9.5165 +_LT_EOF
  9.5166 +      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9.5167 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5168 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.5169 +      else
  9.5170 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5171 +      fi
  9.5172 +      ;;
  9.5173 +
  9.5174 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9.5175 +      case `$LD -v 2>&1` in
  9.5176 +        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  9.5177 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5178 +	cat <<_LT_EOF 1>&2
  9.5179 +
  9.5180 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9.5181 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
  9.5182 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  9.5183 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9.5184 +*** your PATH or compiler configuration so that the native linker is
  9.5185 +*** used, and then restart.
  9.5186 +
  9.5187 +_LT_EOF
  9.5188 +	;;
  9.5189 +	*)
  9.5190 +	  # For security reasons, it is highly recommended that you always
  9.5191 +	  # use absolute paths for naming shared libraries, and exclude the
  9.5192 +	  # DT_RUNPATH tag from executables and libraries.  But doing so
  9.5193 +	  # requires that you compile everything twice, which is a pain.
  9.5194 +	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9.5195 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.5196 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5197 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.5198 +	  else
  9.5199 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.5200 +	  fi
  9.5201 +	;;
  9.5202 +      esac
  9.5203 +      ;;
  9.5204 +
  9.5205 +    sunos4*)
  9.5206 +      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9.5207 +      wlarc=
  9.5208 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5209 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5210 +      ;;
  9.5211 +
  9.5212 +    *)
  9.5213 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9.5214 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5215 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.5216 +      else
  9.5217 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5218 +      fi
  9.5219 +      ;;
  9.5220 +    esac
  9.5221 +
  9.5222 +    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  9.5223 +      runpath_var=
  9.5224 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9.5225 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9.5226 +      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.5227 +    fi
  9.5228 +  else
  9.5229 +    # PORTME fill in a description of your system's linker (not GNU ld)
  9.5230 +    case $host_os in
  9.5231 +    aix3*)
  9.5232 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.5233 +      _LT_TAGVAR(always_export_symbols, $1)=yes
  9.5234 +      _LT_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'
  9.5235 +      # Note: this linker hardcodes the directories in LIBPATH if there
  9.5236 +      # are no directories specified by -L.
  9.5237 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5238 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9.5239 +	# Neither direct hardcoding nor static linking is supported with a
  9.5240 +	# broken collect2.
  9.5241 +	_LT_TAGVAR(hardcode_direct, $1)=unsupported
  9.5242 +      fi
  9.5243 +      ;;
  9.5244 +
  9.5245 +    aix[[4-9]]*)
  9.5246 +      if test "$host_cpu" = ia64; then
  9.5247 +	# On IA64, the linker does run time linking by default, so we don't
  9.5248 +	# have to do anything special.
  9.5249 +	aix_use_runtimelinking=no
  9.5250 +	exp_sym_flag='-Bexport'
  9.5251 +	no_entry_flag=""
  9.5252 +      else
  9.5253 +	# If we're using GNU nm, then we don't want the "-C" option.
  9.5254 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  9.5255 +	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9.5256 +	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9.5257 +	else
  9.5258 +	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9.5259 +	fi
  9.5260 +	aix_use_runtimelinking=no
  9.5261 +
  9.5262 +	# Test if we are trying to use run time linking or normal
  9.5263 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9.5264 +	# need to do runtime linking.
  9.5265 +	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  9.5266 +	  for ld_flag in $LDFLAGS; do
  9.5267 +	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9.5268 +	    aix_use_runtimelinking=yes
  9.5269 +	    break
  9.5270 +	  fi
  9.5271 +	  done
  9.5272 +	  ;;
  9.5273 +	esac
  9.5274 +
  9.5275 +	exp_sym_flag='-bexport'
  9.5276 +	no_entry_flag='-bnoentry'
  9.5277 +      fi
  9.5278 +
  9.5279 +      # When large executables or shared objects are built, AIX ld can
  9.5280 +      # have problems creating the table of contents.  If linking a library
  9.5281 +      # or program results in "error TOC overflow" add -mminimal-toc to
  9.5282 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9.5283 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9.5284 +
  9.5285 +      _LT_TAGVAR(archive_cmds, $1)=''
  9.5286 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5287 +      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.5288 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  9.5289 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.5290 +      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  9.5291 +
  9.5292 +      if test "$GCC" = yes; then
  9.5293 +	case $host_os in aix4.[[012]]|aix4.[[012]].*)
  9.5294 +	# We only want to do this on AIX 4.2 and lower, the check
  9.5295 +	# below for broken collect2 doesn't work under 4.3+
  9.5296 +	  collect2name=`${CC} -print-prog-name=collect2`
  9.5297 +	  if test -f "$collect2name" &&
  9.5298 +	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9.5299 +	  then
  9.5300 +	  # We have reworked collect2
  9.5301 +	  :
  9.5302 +	  else
  9.5303 +	  # We have old collect2
  9.5304 +	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
  9.5305 +	  # It fails to find uninstalled libraries when the uninstalled
  9.5306 +	  # path is not listed in the libpath.  Setting hardcode_minus_L
  9.5307 +	  # to unsupported forces relinking
  9.5308 +	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5309 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5310 +	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
  9.5311 +	  fi
  9.5312 +	  ;;
  9.5313 +	esac
  9.5314 +	shared_flag='-shared'
  9.5315 +	if test "$aix_use_runtimelinking" = yes; then
  9.5316 +	  shared_flag="$shared_flag "'${wl}-G'
  9.5317 +	fi
  9.5318 +      else
  9.5319 +	# not using gcc
  9.5320 +	if test "$host_cpu" = ia64; then
  9.5321 +	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9.5322 +	# chokes on -Wl,-G. The following line is correct:
  9.5323 +	  shared_flag='-G'
  9.5324 +	else
  9.5325 +	  if test "$aix_use_runtimelinking" = yes; then
  9.5326 +	    shared_flag='${wl}-G'
  9.5327 +	  else
  9.5328 +	    shared_flag='${wl}-bM:SRE'
  9.5329 +	  fi
  9.5330 +	fi
  9.5331 +      fi
  9.5332 +
  9.5333 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  9.5334 +      # It seems that -bexpall does not export symbols beginning with
  9.5335 +      # underscore (_), so it is better to generate a list of symbols to export.
  9.5336 +      _LT_TAGVAR(always_export_symbols, $1)=yes
  9.5337 +      if test "$aix_use_runtimelinking" = yes; then
  9.5338 +	# Warning - without using the other runtime loading flags (-brtl),
  9.5339 +	# -berok will link without error, but may produce a broken library.
  9.5340 +	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  9.5341 +        # Determine the default libpath from the value encoded in an
  9.5342 +        # empty executable.
  9.5343 +        _LT_SYS_MODULE_PATH_AIX
  9.5344 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9.5345 +        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9.5346 +      else
  9.5347 +	if test "$host_cpu" = ia64; then
  9.5348 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  9.5349 +	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  9.5350 +	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  9.5351 +	else
  9.5352 +	 # Determine the default libpath from the value encoded in an
  9.5353 +	 # empty executable.
  9.5354 +	 _LT_SYS_MODULE_PATH_AIX
  9.5355 +	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9.5356 +	  # Warning - without using the other run time loading flags,
  9.5357 +	  # -berok will link without error, but may produce a broken library.
  9.5358 +	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  9.5359 +	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  9.5360 +	  # Exported symbols can be pulled into shared objects from archives
  9.5361 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  9.5362 +	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9.5363 +	  # This is similar to how AIX traditionally builds its shared libraries.
  9.5364 +	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9.5365 +	fi
  9.5366 +      fi
  9.5367 +      ;;
  9.5368 +
  9.5369 +    amigaos*)
  9.5370 +      case $host_cpu in
  9.5371 +      powerpc)
  9.5372 +            # see comment about AmigaOS4 .so support
  9.5373 +            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.5374 +            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  9.5375 +        ;;
  9.5376 +      m68k)
  9.5377 +            _LT_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)'
  9.5378 +            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5379 +            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5380 +        ;;
  9.5381 +      esac
  9.5382 +      ;;
  9.5383 +
  9.5384 +    bsdi[[45]]*)
  9.5385 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  9.5386 +      ;;
  9.5387 +
  9.5388 +    cygwin* | mingw* | pw32* | cegcc*)
  9.5389 +      # When not using gcc, we currently assume that we are using
  9.5390 +      # Microsoft Visual C++.
  9.5391 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
  9.5392 +      # no search path for DLLs.
  9.5393 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  9.5394 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.5395 +      # Tell ltmain to make .lib files, not .a files.
  9.5396 +      libext=lib
  9.5397 +      # Tell ltmain to make .dll files, not .so files.
  9.5398 +      shrext_cmds=".dll"
  9.5399 +      # FIXME: Setting linknames here is a bad hack.
  9.5400 +      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9.5401 +      # The linker will automatically build a .lib file if we build a DLL.
  9.5402 +      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  9.5403 +      # FIXME: Should let the user specify the lib program.
  9.5404 +      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9.5405 +      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  9.5406 +      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9.5407 +      ;;
  9.5408 +
  9.5409 +    darwin* | rhapsody*)
  9.5410 +      _LT_DARWIN_LINKER_FEATURES($1)
  9.5411 +      ;;
  9.5412 +
  9.5413 +    dgux*)
  9.5414 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5415 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5416 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5417 +      ;;
  9.5418 +
  9.5419 +    freebsd1*)
  9.5420 +      _LT_TAGVAR(ld_shlibs, $1)=no
  9.5421 +      ;;
  9.5422 +
  9.5423 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9.5424 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
  9.5425 +    # does not break anything, and helps significantly (at the cost of a little
  9.5426 +    # extra space).
  9.5427 +    freebsd2.2*)
  9.5428 +      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9.5429 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.5430 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5431 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5432 +      ;;
  9.5433 +
  9.5434 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9.5435 +    freebsd2*)
  9.5436 +      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9.5437 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5438 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5439 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5440 +      ;;
  9.5441 +
  9.5442 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9.5443 +    freebsd* | dragonfly*)
  9.5444 +      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9.5445 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.5446 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5447 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5448 +      ;;
  9.5449 +
  9.5450 +    hpux9*)
  9.5451 +      if test "$GCC" = yes; then
  9.5452 +	_LT_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'
  9.5453 +      else
  9.5454 +	_LT_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'
  9.5455 +      fi
  9.5456 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9.5457 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5458 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5459 +
  9.5460 +      # hardcode_minus_L: Not really in the search PATH,
  9.5461 +      # but as the default location of the library.
  9.5462 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5463 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.5464 +      ;;
  9.5465 +
  9.5466 +    hpux10*)
  9.5467 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9.5468 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9.5469 +      else
  9.5470 +	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9.5471 +      fi
  9.5472 +      if test "$with_gnu_ld" = no; then
  9.5473 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9.5474 +	_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  9.5475 +	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5476 +	_LT_TAGVAR(hardcode_direct, $1)=yes
  9.5477 +	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.5478 +	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.5479 +	# hardcode_minus_L: Not really in the search PATH,
  9.5480 +	# but as the default location of the library.
  9.5481 +	_LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5482 +      fi
  9.5483 +      ;;
  9.5484 +
  9.5485 +    hpux11*)
  9.5486 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9.5487 +	case $host_cpu in
  9.5488 +	hppa*64*)
  9.5489 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5490 +	  ;;
  9.5491 +	ia64*)
  9.5492 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9.5493 +	  ;;
  9.5494 +	*)
  9.5495 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9.5496 +	  ;;
  9.5497 +	esac
  9.5498 +      else
  9.5499 +	case $host_cpu in
  9.5500 +	hppa*64*)
  9.5501 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5502 +	  ;;
  9.5503 +	ia64*)
  9.5504 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9.5505 +	  ;;
  9.5506 +	*)
  9.5507 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9.5508 +	  ;;
  9.5509 +	esac
  9.5510 +      fi
  9.5511 +      if test "$with_gnu_ld" = no; then
  9.5512 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9.5513 +	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5514 +
  9.5515 +	case $host_cpu in
  9.5516 +	hppa*64*|ia64*)
  9.5517 +	  _LT_TAGVAR(hardcode_direct, $1)=no
  9.5518 +	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5519 +	  ;;
  9.5520 +	*)
  9.5521 +	  _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5522 +	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.5523 +	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.5524 +
  9.5525 +	  # hardcode_minus_L: Not really in the search PATH,
  9.5526 +	  # but as the default location of the library.
  9.5527 +	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5528 +	  ;;
  9.5529 +	esac
  9.5530 +      fi
  9.5531 +      ;;
  9.5532 +
  9.5533 +    irix5* | irix6* | nonstopux*)
  9.5534 +      if test "$GCC" = yes; then
  9.5535 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.5536 +	# Try to use the -exported_symbol ld option, if it does not
  9.5537 +	# work, assume that -exports_file does not work either and
  9.5538 +	# implicitly export all symbols.
  9.5539 +        save_LDFLAGS="$LDFLAGS"
  9.5540 +        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9.5541 +        AC_LINK_IFELSE(int foo(void) {},
  9.5542 +          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  9.5543 +        )
  9.5544 +        LDFLAGS="$save_LDFLAGS"
  9.5545 +      else
  9.5546 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.5547 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  9.5548 +      fi
  9.5549 +      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  9.5550 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.5551 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5552 +      _LT_TAGVAR(inherit_rpath, $1)=yes
  9.5553 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.5554 +      ;;
  9.5555 +
  9.5556 +    netbsd*)
  9.5557 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9.5558 +	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9.5559 +      else
  9.5560 +	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9.5561 +      fi
  9.5562 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.5563 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5564 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5565 +      ;;
  9.5566 +
  9.5567 +    newsos6)
  9.5568 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5569 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5570 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.5571 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5572 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5573 +      ;;
  9.5574 +
  9.5575 +    *nto* | *qnx*)
  9.5576 +      ;;
  9.5577 +
  9.5578 +    openbsd*)
  9.5579 +      if test -f /usr/libexec/ld.so; then
  9.5580 +	_LT_TAGVAR(hardcode_direct, $1)=yes
  9.5581 +	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5582 +	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.5583 +	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9.5584 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9.5585 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9.5586 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.5587 +	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.5588 +	else
  9.5589 +	  case $host_os in
  9.5590 +	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  9.5591 +	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9.5592 +	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.5593 +	     ;;
  9.5594 +	   *)
  9.5595 +	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9.5596 +	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.5597 +	     ;;
  9.5598 +	  esac
  9.5599 +	fi
  9.5600 +      else
  9.5601 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.5602 +      fi
  9.5603 +      ;;
  9.5604 +
  9.5605 +    os2*)
  9.5606 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5607 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5608 +      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.5609 +      _LT_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'
  9.5610 +      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9.5611 +      ;;
  9.5612 +
  9.5613 +    osf3*)
  9.5614 +      if test "$GCC" = yes; then
  9.5615 +	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9.5616 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.5617 +      else
  9.5618 +	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9.5619 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.5620 +      fi
  9.5621 +      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  9.5622 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.5623 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5624 +      ;;
  9.5625 +
  9.5626 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
  9.5627 +      if test "$GCC" = yes; then
  9.5628 +	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9.5629 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.5630 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.5631 +      else
  9.5632 +	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9.5633 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.5634 +	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  9.5635 +	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  9.5636 +
  9.5637 +	# Both c and cxx compiler support -rpath directly
  9.5638 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  9.5639 +      fi
  9.5640 +      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  9.5641 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.5642 +      ;;
  9.5643 +
  9.5644 +    solaris*)
  9.5645 +      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  9.5646 +      if test "$GCC" = yes; then
  9.5647 +	wlarc='${wl}'
  9.5648 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5649 +	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.5650 +	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9.5651 +      else
  9.5652 +	case `$CC -V 2>&1` in
  9.5653 +	*"Compilers 5.0"*)
  9.5654 +	  wlarc=''
  9.5655 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5656 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.5657 +	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9.5658 +	  ;;
  9.5659 +	*)
  9.5660 +	  wlarc='${wl}'
  9.5661 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5662 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.5663 +	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9.5664 +	  ;;
  9.5665 +	esac
  9.5666 +      fi
  9.5667 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.5668 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5669 +      case $host_os in
  9.5670 +      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  9.5671 +      *)
  9.5672 +	# The compiler driver will combine and reorder linker options,
  9.5673 +	# but understands `-z linker_flag'.  GCC discards it without `$wl',
  9.5674 +	# but is careful enough not to reorder.
  9.5675 +	# Supported since Solaris 2.6 (maybe 2.5.1?)
  9.5676 +	if test "$GCC" = yes; then
  9.5677 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9.5678 +	else
  9.5679 +	  _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  9.5680 +	fi
  9.5681 +	;;
  9.5682 +      esac
  9.5683 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.5684 +      ;;
  9.5685 +
  9.5686 +    sunos4*)
  9.5687 +      if test "x$host_vendor" = xsequent; then
  9.5688 +	# Use $CC to link under sequent, because it throws in some extra .o
  9.5689 +	# files that make .init and .fini sections work.
  9.5690 +	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5691 +      else
  9.5692 +	_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9.5693 +      fi
  9.5694 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5695 +      _LT_TAGVAR(hardcode_direct, $1)=yes
  9.5696 +      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.5697 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5698 +      ;;
  9.5699 +
  9.5700 +    sysv4)
  9.5701 +      case $host_vendor in
  9.5702 +	sni)
  9.5703 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5704 +	  _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  9.5705 +	;;
  9.5706 +	siemens)
  9.5707 +	  ## LD is ld it makes a PLAMLIB
  9.5708 +	  ## CC just makes a GrossModule.
  9.5709 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9.5710 +	  _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  9.5711 +	  _LT_TAGVAR(hardcode_direct, $1)=no
  9.5712 +        ;;
  9.5713 +	motorola)
  9.5714 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5715 +	  _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  9.5716 +	;;
  9.5717 +      esac
  9.5718 +      runpath_var='LD_RUN_PATH'
  9.5719 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5720 +      ;;
  9.5721 +
  9.5722 +    sysv4.3*)
  9.5723 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5724 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5725 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  9.5726 +      ;;
  9.5727 +
  9.5728 +    sysv4*MP*)
  9.5729 +      if test -d /usr/nec; then
  9.5730 +	_LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5731 +	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5732 +	runpath_var=LD_RUN_PATH
  9.5733 +	hardcode_runpath_var=yes
  9.5734 +	_LT_TAGVAR(ld_shlibs, $1)=yes
  9.5735 +      fi
  9.5736 +      ;;
  9.5737 +
  9.5738 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  9.5739 +      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9.5740 +      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.5741 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5742 +      runpath_var='LD_RUN_PATH'
  9.5743 +
  9.5744 +      if test "$GCC" = yes; then
  9.5745 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5746 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5747 +      else
  9.5748 +	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5749 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5750 +      fi
  9.5751 +      ;;
  9.5752 +
  9.5753 +    sysv5* | sco3.2v5* | sco5v6*)
  9.5754 +      # Note: We can NOT use -z defs as we might desire, because we do not
  9.5755 +      # link with -lc, and that would cause any symbols used from libc to
  9.5756 +      # always be unresolved, which means just about no library would
  9.5757 +      # ever link correctly.  If we're not using GNU ld we use -z text
  9.5758 +      # though, which does catch some bad symbols but isn't as heavy-handed
  9.5759 +      # as -z defs.
  9.5760 +      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9.5761 +      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  9.5762 +      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.5763 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5764 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  9.5765 +      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  9.5766 +      _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.5767 +      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  9.5768 +      runpath_var='LD_RUN_PATH'
  9.5769 +
  9.5770 +      if test "$GCC" = yes; then
  9.5771 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5772 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5773 +      else
  9.5774 +	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5775 +	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.5776 +      fi
  9.5777 +      ;;
  9.5778 +
  9.5779 +    uts4*)
  9.5780 +      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9.5781 +      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.5782 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.5783 +      ;;
  9.5784 +
  9.5785 +    *)
  9.5786 +      _LT_TAGVAR(ld_shlibs, $1)=no
  9.5787 +      ;;
  9.5788 +    esac
  9.5789 +
  9.5790 +    if test x$host_vendor = xsni; then
  9.5791 +      case $host in
  9.5792 +      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9.5793 +	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  9.5794 +	;;
  9.5795 +      esac
  9.5796 +    fi
  9.5797 +  fi
  9.5798 +])
  9.5799 +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  9.5800 +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  9.5801 +
  9.5802 +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  9.5803 +
  9.5804 +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  9.5805 +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  9.5806 +_LT_DECL([], [extract_expsyms_cmds], [2],
  9.5807 +    [The commands to extract the exported symbol list from a shared archive])
  9.5808 +
  9.5809 +#
  9.5810 +# Do we need to explicitly link libc?
  9.5811 +#
  9.5812 +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  9.5813 +x|xyes)
  9.5814 +  # Assume -lc should be added
  9.5815 +  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9.5816 +
  9.5817 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
  9.5818 +    case $_LT_TAGVAR(archive_cmds, $1) in
  9.5819 +    *'~'*)
  9.5820 +      # FIXME: we may have to deal with multi-command sequences.
  9.5821 +      ;;
  9.5822 +    '$CC '*)
  9.5823 +      # Test whether the compiler implicitly links with -lc since on some
  9.5824 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9.5825 +      # to ld, don't add -lc before -lgcc.
  9.5826 +      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  9.5827 +      $RM conftest*
  9.5828 +      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9.5829 +
  9.5830 +      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  9.5831 +        soname=conftest
  9.5832 +        lib=conftest
  9.5833 +        libobjs=conftest.$ac_objext
  9.5834 +        deplibs=
  9.5835 +        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  9.5836 +	pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  9.5837 +        compiler_flags=-v
  9.5838 +        linker_flags=-v
  9.5839 +        verstring=
  9.5840 +        output_objdir=.
  9.5841 +        libname=conftest
  9.5842 +        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  9.5843 +        _LT_TAGVAR(allow_undefined_flag, $1)=
  9.5844 +        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  9.5845 +        then
  9.5846 +	  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.5847 +        else
  9.5848 +	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9.5849 +        fi
  9.5850 +        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  9.5851 +      else
  9.5852 +        cat conftest.err 1>&5
  9.5853 +      fi
  9.5854 +      $RM conftest*
  9.5855 +      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  9.5856 +      ;;
  9.5857 +    esac
  9.5858 +  fi
  9.5859 +  ;;
  9.5860 +esac
  9.5861 +
  9.5862 +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  9.5863 +    [Whether or not to add -lc for building shared libraries])
  9.5864 +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  9.5865 +    [enable_shared_with_static_runtimes], [0],
  9.5866 +    [Whether or not to disallow shared libs when runtime libs are static])
  9.5867 +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  9.5868 +    [Compiler flag to allow reflexive dlopens])
  9.5869 +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  9.5870 +    [Compiler flag to generate shared objects directly from archives])
  9.5871 +_LT_TAGDECL([], [compiler_needs_object], [1],
  9.5872 +    [Whether the compiler copes with passing no objects directly])
  9.5873 +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  9.5874 +    [Create an old-style archive from a shared archive])
  9.5875 +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  9.5876 +    [Create a temporary old-style archive to link instead of a shared archive])
  9.5877 +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  9.5878 +_LT_TAGDECL([], [archive_expsym_cmds], [2])
  9.5879 +_LT_TAGDECL([], [module_cmds], [2],
  9.5880 +    [Commands used to build a loadable module if different from building
  9.5881 +    a shared archive.])
  9.5882 +_LT_TAGDECL([], [module_expsym_cmds], [2])
  9.5883 +_LT_TAGDECL([], [with_gnu_ld], [1],
  9.5884 +    [Whether we are building with GNU ld or not])
  9.5885 +_LT_TAGDECL([], [allow_undefined_flag], [1],
  9.5886 +    [Flag that allows shared libraries with undefined symbols to be built])
  9.5887 +_LT_TAGDECL([], [no_undefined_flag], [1],
  9.5888 +    [Flag that enforces no undefined symbols])
  9.5889 +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  9.5890 +    [Flag to hardcode $libdir into a binary during linking.
  9.5891 +    This must work even if $libdir does not exist])
  9.5892 +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  9.5893 +    [[If ld is used when linking, flag to hardcode $libdir into a binary
  9.5894 +    during linking.  This must work even if $libdir does not exist]])
  9.5895 +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  9.5896 +    [Whether we need a single "-rpath" flag with a separated argument])
  9.5897 +_LT_TAGDECL([], [hardcode_direct], [0],
  9.5898 +    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  9.5899 +    DIR into the resulting binary])
  9.5900 +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  9.5901 +    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  9.5902 +    DIR into the resulting binary and the resulting library dependency is
  9.5903 +    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  9.5904 +    library is relocated])
  9.5905 +_LT_TAGDECL([], [hardcode_minus_L], [0],
  9.5906 +    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  9.5907 +    into the resulting binary])
  9.5908 +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  9.5909 +    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  9.5910 +    into the resulting binary])
  9.5911 +_LT_TAGDECL([], [hardcode_automatic], [0],
  9.5912 +    [Set to "yes" if building a shared library automatically hardcodes DIR
  9.5913 +    into the library and all subsequent libraries and executables linked
  9.5914 +    against it])
  9.5915 +_LT_TAGDECL([], [inherit_rpath], [0],
  9.5916 +    [Set to yes if linker adds runtime paths of dependent libraries
  9.5917 +    to runtime path list])
  9.5918 +_LT_TAGDECL([], [link_all_deplibs], [0],
  9.5919 +    [Whether libtool must link a program against all its dependency libraries])
  9.5920 +_LT_TAGDECL([], [fix_srcfile_path], [1],
  9.5921 +    [Fix the shell variable $srcfile for the compiler])
  9.5922 +_LT_TAGDECL([], [always_export_symbols], [0],
  9.5923 +    [Set to "yes" if exported symbols are required])
  9.5924 +_LT_TAGDECL([], [export_symbols_cmds], [2],
  9.5925 +    [The commands to list exported symbols])
  9.5926 +_LT_TAGDECL([], [exclude_expsyms], [1],
  9.5927 +    [Symbols that should not be listed in the preloaded symbols])
  9.5928 +_LT_TAGDECL([], [include_expsyms], [1],
  9.5929 +    [Symbols that must always be exported])
  9.5930 +_LT_TAGDECL([], [prelink_cmds], [2],
  9.5931 +    [Commands necessary for linking programs (against libraries) with templates])
  9.5932 +_LT_TAGDECL([], [file_list_spec], [1],
  9.5933 +    [Specify filename containing input files])
  9.5934 +dnl FIXME: Not yet implemented
  9.5935 +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  9.5936 +dnl    [Compiler flag to generate thread safe objects])
  9.5937 +])# _LT_LINKER_SHLIBS
  9.5938 +
  9.5939 +
  9.5940 +# _LT_LANG_C_CONFIG([TAG])
  9.5941 +# ------------------------
  9.5942 +# Ensure that the configuration variables for a C compiler are suitably
  9.5943 +# defined.  These variables are subsequently used by _LT_CONFIG to write
  9.5944 +# the compiler configuration to `libtool'.
  9.5945 +m4_defun([_LT_LANG_C_CONFIG],
  9.5946 +[m4_require([_LT_DECL_EGREP])dnl
  9.5947 +lt_save_CC="$CC"
  9.5948 +AC_LANG_PUSH(C)
  9.5949 +
  9.5950 +# Source file extension for C test sources.
  9.5951 +ac_ext=c
  9.5952 +
  9.5953 +# Object file extension for compiled C test sources.
  9.5954 +objext=o
  9.5955 +_LT_TAGVAR(objext, $1)=$objext
  9.5956 +
  9.5957 +# Code to be used in simple compile tests
  9.5958 +lt_simple_compile_test_code="int some_variable = 0;"
  9.5959 +
  9.5960 +# Code to be used in simple link tests
  9.5961 +lt_simple_link_test_code='int main(){return(0);}'
  9.5962 +
  9.5963 +_LT_TAG_COMPILER
  9.5964 +# Save the default compiler, since it gets overwritten when the other
  9.5965 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  9.5966 +compiler_DEFAULT=$CC
  9.5967 +
  9.5968 +# save warnings/boilerplate of simple test code
  9.5969 +_LT_COMPILER_BOILERPLATE
  9.5970 +_LT_LINKER_BOILERPLATE
  9.5971 +
  9.5972 +## CAVEAT EMPTOR:
  9.5973 +## There is no encapsulation within the following macros, do not change
  9.5974 +## the running order or otherwise move them around unless you know exactly
  9.5975 +## what you are doing...
  9.5976 +if test -n "$compiler"; then
  9.5977 +  _LT_COMPILER_NO_RTTI($1)
  9.5978 +  _LT_COMPILER_PIC($1)
  9.5979 +  _LT_COMPILER_C_O($1)
  9.5980 +  _LT_COMPILER_FILE_LOCKS($1)
  9.5981 +  _LT_LINKER_SHLIBS($1)
  9.5982 +  _LT_SYS_DYNAMIC_LINKER($1)
  9.5983 +  _LT_LINKER_HARDCODE_LIBPATH($1)
  9.5984 +  LT_SYS_DLOPEN_SELF
  9.5985 +  _LT_CMD_STRIPLIB
  9.5986 +
  9.5987 +  # Report which library types will actually be built
  9.5988 +  AC_MSG_CHECKING([if libtool supports shared libraries])
  9.5989 +  AC_MSG_RESULT([$can_build_shared])
  9.5990 +
  9.5991 +  AC_MSG_CHECKING([whether to build shared libraries])
  9.5992 +  test "$can_build_shared" = "no" && enable_shared=no
  9.5993 +
  9.5994 +  # On AIX, shared libraries and static libraries use the same namespace, and
  9.5995 +  # are all built from PIC.
  9.5996 +  case $host_os in
  9.5997 +  aix3*)
  9.5998 +    test "$enable_shared" = yes && enable_static=no
  9.5999 +    if test -n "$RANLIB"; then
  9.6000 +      archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9.6001 +      postinstall_cmds='$RANLIB $lib'
  9.6002 +    fi
  9.6003 +    ;;
  9.6004 +
  9.6005 +  aix[[4-9]]*)
  9.6006 +    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9.6007 +      test "$enable_shared" = yes && enable_static=no
  9.6008 +    fi
  9.6009 +    ;;
  9.6010 +  esac
  9.6011 +  AC_MSG_RESULT([$enable_shared])
  9.6012 +
  9.6013 +  AC_MSG_CHECKING([whether to build static libraries])
  9.6014 +  # Make sure either enable_shared or enable_static is yes.
  9.6015 +  test "$enable_shared" = yes || enable_static=yes
  9.6016 +  AC_MSG_RESULT([$enable_static])
  9.6017 +
  9.6018 +  _LT_CONFIG($1)
  9.6019 +fi
  9.6020 +AC_LANG_POP
  9.6021 +CC="$lt_save_CC"
  9.6022 +])# _LT_LANG_C_CONFIG
  9.6023 +
  9.6024 +
  9.6025 +# _LT_PROG_CXX
  9.6026 +# ------------
  9.6027 +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  9.6028 +# compiler, we have our own version here.
  9.6029 +m4_defun([_LT_PROG_CXX],
  9.6030 +[
  9.6031 +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  9.6032 +AC_PROG_CXX
  9.6033 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9.6034 +    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9.6035 +    (test "X$CXX" != "Xg++"))) ; then
  9.6036 +  AC_PROG_CXXCPP
  9.6037 +else
  9.6038 +  _lt_caught_CXX_error=yes
  9.6039 +fi
  9.6040 +popdef([AC_MSG_ERROR])
  9.6041 +])# _LT_PROG_CXX
  9.6042 +
  9.6043 +dnl aclocal-1.4 backwards compatibility:
  9.6044 +dnl AC_DEFUN([_LT_PROG_CXX], [])
  9.6045 +
  9.6046 +
  9.6047 +# _LT_LANG_CXX_CONFIG([TAG])
  9.6048 +# --------------------------
  9.6049 +# Ensure that the configuration variables for a C++ compiler are suitably
  9.6050 +# defined.  These variables are subsequently used by _LT_CONFIG to write
  9.6051 +# the compiler configuration to `libtool'.
  9.6052 +m4_defun([_LT_LANG_CXX_CONFIG],
  9.6053 +[AC_REQUIRE([_LT_PROG_CXX])dnl
  9.6054 +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.6055 +m4_require([_LT_DECL_EGREP])dnl
  9.6056 +
  9.6057 +AC_LANG_PUSH(C++)
  9.6058 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.6059 +_LT_TAGVAR(allow_undefined_flag, $1)=
  9.6060 +_LT_TAGVAR(always_export_symbols, $1)=no
  9.6061 +_LT_TAGVAR(archive_expsym_cmds, $1)=
  9.6062 +_LT_TAGVAR(compiler_needs_object, $1)=no
  9.6063 +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9.6064 +_LT_TAGVAR(hardcode_direct, $1)=no
  9.6065 +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  9.6066 +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9.6067 +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9.6068 +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  9.6069 +_LT_TAGVAR(hardcode_minus_L, $1)=no
  9.6070 +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  9.6071 +_LT_TAGVAR(hardcode_automatic, $1)=no
  9.6072 +_LT_TAGVAR(inherit_rpath, $1)=no
  9.6073 +_LT_TAGVAR(module_cmds, $1)=
  9.6074 +_LT_TAGVAR(module_expsym_cmds, $1)=
  9.6075 +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  9.6076 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9.6077 +_LT_TAGVAR(no_undefined_flag, $1)=
  9.6078 +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.6079 +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9.6080 +
  9.6081 +# Source file extension for C++ test sources.
  9.6082 +ac_ext=cpp
  9.6083 +
  9.6084 +# Object file extension for compiled C++ test sources.
  9.6085 +objext=o
  9.6086 +_LT_TAGVAR(objext, $1)=$objext
  9.6087 +
  9.6088 +# No sense in running all these tests if we already determined that
  9.6089 +# the CXX compiler isn't working.  Some variables (like enable_shared)
  9.6090 +# are currently assumed to apply to all compilers on this platform,
  9.6091 +# and will be corrupted by setting them based on a non-working compiler.
  9.6092 +if test "$_lt_caught_CXX_error" != yes; then
  9.6093 +  # Code to be used in simple compile tests
  9.6094 +  lt_simple_compile_test_code="int some_variable = 0;"
  9.6095 +
  9.6096 +  # Code to be used in simple link tests
  9.6097 +  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  9.6098 +
  9.6099 +  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9.6100 +  _LT_TAG_COMPILER
  9.6101 +
  9.6102 +  # save warnings/boilerplate of simple test code
  9.6103 +  _LT_COMPILER_BOILERPLATE
  9.6104 +  _LT_LINKER_BOILERPLATE
  9.6105 +
  9.6106 +  # Allow CC to be a program name with arguments.
  9.6107 +  lt_save_CC=$CC
  9.6108 +  lt_save_LD=$LD
  9.6109 +  lt_save_GCC=$GCC
  9.6110 +  GCC=$GXX
  9.6111 +  lt_save_with_gnu_ld=$with_gnu_ld
  9.6112 +  lt_save_path_LD=$lt_cv_path_LD
  9.6113 +  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  9.6114 +    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  9.6115 +  else
  9.6116 +    $as_unset lt_cv_prog_gnu_ld
  9.6117 +  fi
  9.6118 +  if test -n "${lt_cv_path_LDCXX+set}"; then
  9.6119 +    lt_cv_path_LD=$lt_cv_path_LDCXX
  9.6120 +  else
  9.6121 +    $as_unset lt_cv_path_LD
  9.6122 +  fi
  9.6123 +  test -z "${LDCXX+set}" || LD=$LDCXX
  9.6124 +  CC=${CXX-"c++"}
  9.6125 +  compiler=$CC
  9.6126 +  _LT_TAGVAR(compiler, $1)=$CC
  9.6127 +  _LT_CC_BASENAME([$compiler])
  9.6128 +
  9.6129 +  if test -n "$compiler"; then
  9.6130 +    # We don't want -fno-exception when compiling C++ code, so set the
  9.6131 +    # no_builtin_flag separately
  9.6132 +    if test "$GXX" = yes; then
  9.6133 +      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  9.6134 +    else
  9.6135 +      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  9.6136 +    fi
  9.6137 +
  9.6138 +    if test "$GXX" = yes; then
  9.6139 +      # Set up default GNU C++ configuration
  9.6140 +
  9.6141 +      LT_PATH_LD
  9.6142 +
  9.6143 +      # Check if GNU C++ uses GNU ld as the underlying linker, since the
  9.6144 +      # archiving commands below assume that GNU ld is being used.
  9.6145 +      if test "$with_gnu_ld" = yes; then
  9.6146 +        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6147 +        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.6148 +
  9.6149 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.6150 +        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.6151 +
  9.6152 +        # If archive_cmds runs LD, not CC, wlarc should be empty
  9.6153 +        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  9.6154 +        #     investigate it a little bit more. (MM)
  9.6155 +        wlarc='${wl}'
  9.6156 +
  9.6157 +        # ancient GNU ld didn't support --whole-archive et. al.
  9.6158 +        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  9.6159 +	  $GREP 'no-whole-archive' > /dev/null; then
  9.6160 +          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9.6161 +        else
  9.6162 +          _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.6163 +        fi
  9.6164 +      else
  9.6165 +        with_gnu_ld=no
  9.6166 +        wlarc=
  9.6167 +
  9.6168 +        # A generic and very simple default shared library creation
  9.6169 +        # command for GNU C++ for the case where it uses the native
  9.6170 +        # linker, instead of GNU ld.  If possible, this setting should
  9.6171 +        # overridden to take advantage of the native linker features on
  9.6172 +        # the platform it is being used on.
  9.6173 +        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  9.6174 +      fi
  9.6175 +
  9.6176 +      # Commands to make compiler produce verbose output that lists
  9.6177 +      # what "hidden" libraries, object files and flags are used when
  9.6178 +      # linking a shared library.
  9.6179 +      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  9.6180 +
  9.6181 +    else
  9.6182 +      GXX=no
  9.6183 +      with_gnu_ld=no
  9.6184 +      wlarc=
  9.6185 +    fi
  9.6186 +
  9.6187 +    # PORTME: fill in a description of your system's C++ link characteristics
  9.6188 +    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  9.6189 +    _LT_TAGVAR(ld_shlibs, $1)=yes
  9.6190 +    case $host_os in
  9.6191 +      aix3*)
  9.6192 +        # FIXME: insert proper C++ library support
  9.6193 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.6194 +        ;;
  9.6195 +      aix[[4-9]]*)
  9.6196 +        if test "$host_cpu" = ia64; then
  9.6197 +          # On IA64, the linker does run time linking by default, so we don't
  9.6198 +          # have to do anything special.
  9.6199 +          aix_use_runtimelinking=no
  9.6200 +          exp_sym_flag='-Bexport'
  9.6201 +          no_entry_flag=""
  9.6202 +        else
  9.6203 +          aix_use_runtimelinking=no
  9.6204 +
  9.6205 +          # Test if we are trying to use run time linking or normal
  9.6206 +          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9.6207 +          # need to do runtime linking.
  9.6208 +          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  9.6209 +	    for ld_flag in $LDFLAGS; do
  9.6210 +	      case $ld_flag in
  9.6211 +	      *-brtl*)
  9.6212 +	        aix_use_runtimelinking=yes
  9.6213 +	        break
  9.6214 +	        ;;
  9.6215 +	      esac
  9.6216 +	    done
  9.6217 +	    ;;
  9.6218 +          esac
  9.6219 +
  9.6220 +          exp_sym_flag='-bexport'
  9.6221 +          no_entry_flag='-bnoentry'
  9.6222 +        fi
  9.6223 +
  9.6224 +        # When large executables or shared objects are built, AIX ld can
  9.6225 +        # have problems creating the table of contents.  If linking a library
  9.6226 +        # or program results in "error TOC overflow" add -mminimal-toc to
  9.6227 +        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9.6228 +        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9.6229 +
  9.6230 +        _LT_TAGVAR(archive_cmds, $1)=''
  9.6231 +        _LT_TAGVAR(hardcode_direct, $1)=yes
  9.6232 +        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.6233 +        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  9.6234 +        _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.6235 +        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  9.6236 +
  9.6237 +        if test "$GXX" = yes; then
  9.6238 +          case $host_os in aix4.[[012]]|aix4.[[012]].*)
  9.6239 +          # We only want to do this on AIX 4.2 and lower, the check
  9.6240 +          # below for broken collect2 doesn't work under 4.3+
  9.6241 +	  collect2name=`${CC} -print-prog-name=collect2`
  9.6242 +	  if test -f "$collect2name" &&
  9.6243 +	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9.6244 +	  then
  9.6245 +	    # We have reworked collect2
  9.6246 +	    :
  9.6247 +	  else
  9.6248 +	    # We have old collect2
  9.6249 +	    _LT_TAGVAR(hardcode_direct, $1)=unsupported
  9.6250 +	    # It fails to find uninstalled libraries when the uninstalled
  9.6251 +	    # path is not listed in the libpath.  Setting hardcode_minus_L
  9.6252 +	    # to unsupported forces relinking
  9.6253 +	    _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9.6254 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.6255 +	    _LT_TAGVAR(hardcode_libdir_separator, $1)=
  9.6256 +	  fi
  9.6257 +          esac
  9.6258 +          shared_flag='-shared'
  9.6259 +	  if test "$aix_use_runtimelinking" = yes; then
  9.6260 +	    shared_flag="$shared_flag "'${wl}-G'
  9.6261 +	  fi
  9.6262 +        else
  9.6263 +          # not using gcc
  9.6264 +          if test "$host_cpu" = ia64; then
  9.6265 +	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9.6266 +	  # chokes on -Wl,-G. The following line is correct:
  9.6267 +	  shared_flag='-G'
  9.6268 +          else
  9.6269 +	    if test "$aix_use_runtimelinking" = yes; then
  9.6270 +	      shared_flag='${wl}-G'
  9.6271 +	    else
  9.6272 +	      shared_flag='${wl}-bM:SRE'
  9.6273 +	    fi
  9.6274 +          fi
  9.6275 +        fi
  9.6276 +
  9.6277 +        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  9.6278 +        # It seems that -bexpall does not export symbols beginning with
  9.6279 +        # underscore (_), so it is better to generate a list of symbols to
  9.6280 +	# export.
  9.6281 +        _LT_TAGVAR(always_export_symbols, $1)=yes
  9.6282 +        if test "$aix_use_runtimelinking" = yes; then
  9.6283 +          # Warning - without using the other runtime loading flags (-brtl),
  9.6284 +          # -berok will link without error, but may produce a broken library.
  9.6285 +          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  9.6286 +          # Determine the default libpath from the value encoded in an empty
  9.6287 +          # executable.
  9.6288 +          _LT_SYS_MODULE_PATH_AIX
  9.6289 +          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9.6290 +
  9.6291 +          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9.6292 +        else
  9.6293 +          if test "$host_cpu" = ia64; then
  9.6294 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  9.6295 +	    _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  9.6296 +	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  9.6297 +          else
  9.6298 +	    # Determine the default libpath from the value encoded in an
  9.6299 +	    # empty executable.
  9.6300 +	    _LT_SYS_MODULE_PATH_AIX
  9.6301 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9.6302 +	    # Warning - without using the other run time loading flags,
  9.6303 +	    # -berok will link without error, but may produce a broken library.
  9.6304 +	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  9.6305 +	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  9.6306 +	    # Exported symbols can be pulled into shared objects from archives
  9.6307 +	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  9.6308 +	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9.6309 +	    # This is similar to how AIX traditionally builds its shared
  9.6310 +	    # libraries.
  9.6311 +	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9.6312 +          fi
  9.6313 +        fi
  9.6314 +        ;;
  9.6315 +
  9.6316 +      beos*)
  9.6317 +	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9.6318 +	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.6319 +	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9.6320 +	  # support --undefined.  This deserves some investigation.  FIXME
  9.6321 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6322 +	else
  9.6323 +	  _LT_TAGVAR(ld_shlibs, $1)=no
  9.6324 +	fi
  9.6325 +	;;
  9.6326 +
  9.6327 +      chorus*)
  9.6328 +        case $cc_basename in
  9.6329 +          *)
  9.6330 +	  # FIXME: insert proper C++ library support
  9.6331 +	  _LT_TAGVAR(ld_shlibs, $1)=no
  9.6332 +	  ;;
  9.6333 +        esac
  9.6334 +        ;;
  9.6335 +
  9.6336 +      cygwin* | mingw* | pw32* | cegcc*)
  9.6337 +        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  9.6338 +        # as there is no search path for DLLs.
  9.6339 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9.6340 +        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9.6341 +        _LT_TAGVAR(always_export_symbols, $1)=no
  9.6342 +        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9.6343 +
  9.6344 +        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9.6345 +          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9.6346 +          # If the export-symbols file already is a .def file (1st line
  9.6347 +          # is EXPORTS), use it as is; otherwise, prepend...
  9.6348 +          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9.6349 +	    cp $export_symbols $output_objdir/$soname.def;
  9.6350 +          else
  9.6351 +	    echo EXPORTS > $output_objdir/$soname.def;
  9.6352 +	    cat $export_symbols >> $output_objdir/$soname.def;
  9.6353 +          fi~
  9.6354 +          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9.6355 +        else
  9.6356 +          _LT_TAGVAR(ld_shlibs, $1)=no
  9.6357 +        fi
  9.6358 +        ;;
  9.6359 +      darwin* | rhapsody*)
  9.6360 +        _LT_DARWIN_LINKER_FEATURES($1)
  9.6361 +	;;
  9.6362 +
  9.6363 +      dgux*)
  9.6364 +        case $cc_basename in
  9.6365 +          ec++*)
  9.6366 +	    # FIXME: insert proper C++ library support
  9.6367 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6368 +	    ;;
  9.6369 +          ghcx*)
  9.6370 +	    # Green Hills C++ Compiler
  9.6371 +	    # FIXME: insert proper C++ library support
  9.6372 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6373 +	    ;;
  9.6374 +          *)
  9.6375 +	    # FIXME: insert proper C++ library support
  9.6376 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6377 +	    ;;
  9.6378 +        esac
  9.6379 +        ;;
  9.6380 +
  9.6381 +      freebsd[[12]]*)
  9.6382 +        # C++ shared libraries reported to be fairly broken before
  9.6383 +	# switch to ELF
  9.6384 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.6385 +        ;;
  9.6386 +
  9.6387 +      freebsd-elf*)
  9.6388 +        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.6389 +        ;;
  9.6390 +
  9.6391 +      freebsd* | dragonfly*)
  9.6392 +        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  9.6393 +        # conventions
  9.6394 +        _LT_TAGVAR(ld_shlibs, $1)=yes
  9.6395 +        ;;
  9.6396 +
  9.6397 +      gnu*)
  9.6398 +        ;;
  9.6399 +
  9.6400 +      hpux9*)
  9.6401 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9.6402 +        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6403 +        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.6404 +        _LT_TAGVAR(hardcode_direct, $1)=yes
  9.6405 +        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  9.6406 +				             # but as the default
  9.6407 +				             # location of the library.
  9.6408 +
  9.6409 +        case $cc_basename in
  9.6410 +          CC*)
  9.6411 +            # FIXME: insert proper C++ library support
  9.6412 +            _LT_TAGVAR(ld_shlibs, $1)=no
  9.6413 +            ;;
  9.6414 +          aCC*)
  9.6415 +            _LT_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'
  9.6416 +            # Commands to make compiler produce verbose output that lists
  9.6417 +            # what "hidden" libraries, object files and flags are used when
  9.6418 +            # linking a shared library.
  9.6419 +            #
  9.6420 +            # There doesn't appear to be a way to prevent this compiler from
  9.6421 +            # explicitly linking system object files so we need to strip them
  9.6422 +            # from the output so that they don't get included in the library
  9.6423 +            # dependencies.
  9.6424 +            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 "X$list" | $Xsed'
  9.6425 +            ;;
  9.6426 +          *)
  9.6427 +            if test "$GXX" = yes; then
  9.6428 +              _LT_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'
  9.6429 +            else
  9.6430 +              # FIXME: insert proper C++ library support
  9.6431 +              _LT_TAGVAR(ld_shlibs, $1)=no
  9.6432 +            fi
  9.6433 +            ;;
  9.6434 +        esac
  9.6435 +        ;;
  9.6436 +
  9.6437 +      hpux10*|hpux11*)
  9.6438 +        if test $with_gnu_ld = no; then
  9.6439 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9.6440 +	  _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6441 +
  9.6442 +          case $host_cpu in
  9.6443 +            hppa*64*|ia64*)
  9.6444 +              ;;
  9.6445 +            *)
  9.6446 +	      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.6447 +              ;;
  9.6448 +          esac
  9.6449 +        fi
  9.6450 +        case $host_cpu in
  9.6451 +          hppa*64*|ia64*)
  9.6452 +            _LT_TAGVAR(hardcode_direct, $1)=no
  9.6453 +            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6454 +            ;;
  9.6455 +          *)
  9.6456 +            _LT_TAGVAR(hardcode_direct, $1)=yes
  9.6457 +            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.6458 +            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  9.6459 +					         # but as the default
  9.6460 +					         # location of the library.
  9.6461 +            ;;
  9.6462 +        esac
  9.6463 +
  9.6464 +        case $cc_basename in
  9.6465 +          CC*)
  9.6466 +	    # FIXME: insert proper C++ library support
  9.6467 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6468 +	    ;;
  9.6469 +          aCC*)
  9.6470 +	    case $host_cpu in
  9.6471 +	      hppa*64*)
  9.6472 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6473 +	        ;;
  9.6474 +	      ia64*)
  9.6475 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6476 +	        ;;
  9.6477 +	      *)
  9.6478 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6479 +	        ;;
  9.6480 +	    esac
  9.6481 +	    # Commands to make compiler produce verbose output that lists
  9.6482 +	    # what "hidden" libraries, object files and flags are used when
  9.6483 +	    # linking a shared library.
  9.6484 +	    #
  9.6485 +	    # There doesn't appear to be a way to prevent this compiler from
  9.6486 +	    # explicitly linking system object files so we need to strip them
  9.6487 +	    # from the output so that they don't get included in the library
  9.6488 +	    # dependencies.
  9.6489 +	    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 "X$list" | $Xsed'
  9.6490 +	    ;;
  9.6491 +          *)
  9.6492 +	    if test "$GXX" = yes; then
  9.6493 +	      if test $with_gnu_ld = no; then
  9.6494 +	        case $host_cpu in
  9.6495 +	          hppa*64*)
  9.6496 +	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6497 +	            ;;
  9.6498 +	          ia64*)
  9.6499 +	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6500 +	            ;;
  9.6501 +	          *)
  9.6502 +	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6503 +	            ;;
  9.6504 +	        esac
  9.6505 +	      fi
  9.6506 +	    else
  9.6507 +	      # FIXME: insert proper C++ library support
  9.6508 +	      _LT_TAGVAR(ld_shlibs, $1)=no
  9.6509 +	    fi
  9.6510 +	    ;;
  9.6511 +        esac
  9.6512 +        ;;
  9.6513 +
  9.6514 +      interix[[3-9]]*)
  9.6515 +	_LT_TAGVAR(hardcode_direct, $1)=no
  9.6516 +	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6517 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.6518 +	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.6519 +	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9.6520 +	# Instead, shared libraries are loaded at an image base (0x10000000 by
  9.6521 +	# default) and relocated if they conflict, which is a slow very memory
  9.6522 +	# consuming and fragmenting process.  To avoid this, we pick a random,
  9.6523 +	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9.6524 +	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9.6525 +	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9.6526 +	_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9.6527 +	;;
  9.6528 +      irix5* | irix6*)
  9.6529 +        case $cc_basename in
  9.6530 +          CC*)
  9.6531 +	    # SGI C++
  9.6532 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.6533 +
  9.6534 +	    # Archives containing C++ object files must be created using
  9.6535 +	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
  9.6536 +	    # necessary to make sure instantiated templates are included
  9.6537 +	    # in the archive.
  9.6538 +	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  9.6539 +	    ;;
  9.6540 +          *)
  9.6541 +	    if test "$GXX" = yes; then
  9.6542 +	      if test "$with_gnu_ld" = no; then
  9.6543 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.6544 +	      else
  9.6545 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  9.6546 +	      fi
  9.6547 +	    fi
  9.6548 +	    _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.6549 +	    ;;
  9.6550 +        esac
  9.6551 +        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.6552 +        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6553 +        _LT_TAGVAR(inherit_rpath, $1)=yes
  9.6554 +        ;;
  9.6555 +
  9.6556 +      linux* | k*bsd*-gnu)
  9.6557 +        case $cc_basename in
  9.6558 +          KCC*)
  9.6559 +	    # Kuck and Associates, Inc. (KAI) C++ Compiler
  9.6560 +
  9.6561 +	    # KCC will only create a shared library if the output file
  9.6562 +	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
  9.6563 +	    # to its proper name (with version) after linking.
  9.6564 +	    _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  9.6565 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  9.6566 +	    # Commands to make compiler produce verbose output that lists
  9.6567 +	    # what "hidden" libraries, object files and flags are used when
  9.6568 +	    # linking a shared library.
  9.6569 +	    #
  9.6570 +	    # There doesn't appear to be a way to prevent this compiler from
  9.6571 +	    # explicitly linking system object files so we need to strip them
  9.6572 +	    # from the output so that they don't get included in the library
  9.6573 +	    # dependencies.
  9.6574 +	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  9.6575 +
  9.6576 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.6577 +	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.6578 +
  9.6579 +	    # Archives containing C++ object files must be created using
  9.6580 +	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  9.6581 +	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  9.6582 +	    ;;
  9.6583 +	  icpc* | ecpc* )
  9.6584 +	    # Intel C++
  9.6585 +	    with_gnu_ld=yes
  9.6586 +	    # version 8.0 and above of icpc choke on multiply defined symbols
  9.6587 +	    # if we add $predep_objects and $postdep_objects, however 7.1 and
  9.6588 +	    # earlier do not add the objects themselves.
  9.6589 +	    case `$CC -V 2>&1` in
  9.6590 +	      *"Version 7."*)
  9.6591 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6592 +		_LT_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'
  9.6593 +		;;
  9.6594 +	      *)  # Version 8.0 or newer
  9.6595 +	        tmp_idyn=
  9.6596 +	        case $host_cpu in
  9.6597 +		  ia64*) tmp_idyn=' -i_dynamic';;
  9.6598 +		esac
  9.6599 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6600 +		_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9.6601 +		;;
  9.6602 +	    esac
  9.6603 +	    _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.6604 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.6605 +	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.6606 +	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9.6607 +	    ;;
  9.6608 +          pgCC* | pgcpp*)
  9.6609 +            # Portland Group C++ compiler
  9.6610 +	    case `$CC -V` in
  9.6611 +	    *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  9.6612 +	      _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  9.6613 +		rm -rf $tpldir~
  9.6614 +		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  9.6615 +		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  9.6616 +	      _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  9.6617 +		rm -rf $tpldir~
  9.6618 +		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  9.6619 +		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  9.6620 +		$RANLIB $oldlib'
  9.6621 +	      _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  9.6622 +		rm -rf $tpldir~
  9.6623 +		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  9.6624 +		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  9.6625 +	      _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  9.6626 +		rm -rf $tpldir~
  9.6627 +		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  9.6628 +		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  9.6629 +	      ;;
  9.6630 +	    *) # Version 6 will use weak symbols
  9.6631 +	      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  9.6632 +	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  9.6633 +	      ;;
  9.6634 +	    esac
  9.6635 +
  9.6636 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  9.6637 +	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.6638 +	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9.6639 +            ;;
  9.6640 +	  cxx*)
  9.6641 +	    # Compaq C++
  9.6642 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6643 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  9.6644 +
  9.6645 +	    runpath_var=LD_RUN_PATH
  9.6646 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  9.6647 +	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6648 +
  9.6649 +	    # Commands to make compiler produce verbose output that lists
  9.6650 +	    # what "hidden" libraries, object files and flags are used when
  9.6651 +	    # linking a shared library.
  9.6652 +	    #
  9.6653 +	    # There doesn't appear to be a way to prevent this compiler from
  9.6654 +	    # explicitly linking system object files so we need to strip them
  9.6655 +	    # from the output so that they don't get included in the library
  9.6656 +	    # dependencies.
  9.6657 +	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  9.6658 +	    ;;
  9.6659 +	  xl*)
  9.6660 +	    # IBM XL 8.0 on PPC, with GNU ld
  9.6661 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.6662 +	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9.6663 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9.6664 +	    if test "x$supports_anon_versioning" = xyes; then
  9.6665 +	      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  9.6666 +		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9.6667 +		echo "local: *; };" >> $output_objdir/$libname.ver~
  9.6668 +		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9.6669 +	    fi
  9.6670 +	    ;;
  9.6671 +	  *)
  9.6672 +	    case `$CC -V 2>&1 | sed 5q` in
  9.6673 +	    *Sun\ C*)
  9.6674 +	      # Sun C++ 5.9
  9.6675 +	      _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  9.6676 +	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6677 +	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  9.6678 +	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.6679 +	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9.6680 +	      _LT_TAGVAR(compiler_needs_object, $1)=yes
  9.6681 +
  9.6682 +	      # Not sure whether something based on
  9.6683 +	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  9.6684 +	      # would be better.
  9.6685 +	      output_verbose_link_cmd='echo'
  9.6686 +
  9.6687 +	      # Archives containing C++ object files must be created using
  9.6688 +	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
  9.6689 +	      # necessary to make sure instantiated templates are included
  9.6690 +	      # in the archive.
  9.6691 +	      _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  9.6692 +	      ;;
  9.6693 +	    esac
  9.6694 +	    ;;
  9.6695 +	esac
  9.6696 +	;;
  9.6697 +
  9.6698 +      lynxos*)
  9.6699 +        # FIXME: insert proper C++ library support
  9.6700 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.6701 +	;;
  9.6702 +
  9.6703 +      m88k*)
  9.6704 +        # FIXME: insert proper C++ library support
  9.6705 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.6706 +	;;
  9.6707 +
  9.6708 +      mvs*)
  9.6709 +        case $cc_basename in
  9.6710 +          cxx*)
  9.6711 +	    # FIXME: insert proper C++ library support
  9.6712 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6713 +	    ;;
  9.6714 +	  *)
  9.6715 +	    # FIXME: insert proper C++ library support
  9.6716 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6717 +	    ;;
  9.6718 +	esac
  9.6719 +	;;
  9.6720 +
  9.6721 +      netbsd*)
  9.6722 +        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9.6723 +	  _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  9.6724 +	  wlarc=
  9.6725 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.6726 +	  _LT_TAGVAR(hardcode_direct, $1)=yes
  9.6727 +	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6728 +	fi
  9.6729 +	# Workaround some broken pre-1.5 toolchains
  9.6730 +	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  9.6731 +	;;
  9.6732 +
  9.6733 +      *nto* | *qnx*)
  9.6734 +        _LT_TAGVAR(ld_shlibs, $1)=yes
  9.6735 +	;;
  9.6736 +
  9.6737 +      openbsd2*)
  9.6738 +        # C++ shared libraries are fairly broken
  9.6739 +	_LT_TAGVAR(ld_shlibs, $1)=no
  9.6740 +	;;
  9.6741 +
  9.6742 +      openbsd*)
  9.6743 +	if test -f /usr/libexec/ld.so; then
  9.6744 +	  _LT_TAGVAR(hardcode_direct, $1)=yes
  9.6745 +	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6746 +	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  9.6747 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  9.6748 +	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.6749 +	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9.6750 +	    _LT_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'
  9.6751 +	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9.6752 +	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9.6753 +	  fi
  9.6754 +	  output_verbose_link_cmd=echo
  9.6755 +	else
  9.6756 +	  _LT_TAGVAR(ld_shlibs, $1)=no
  9.6757 +	fi
  9.6758 +	;;
  9.6759 +
  9.6760 +      osf3* | osf4* | osf5*)
  9.6761 +        case $cc_basename in
  9.6762 +          KCC*)
  9.6763 +	    # Kuck and Associates, Inc. (KAI) C++ Compiler
  9.6764 +
  9.6765 +	    # KCC will only create a shared library if the output file
  9.6766 +	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
  9.6767 +	    # to its proper name (with version) after linking.
  9.6768 +	    _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  9.6769 +
  9.6770 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9.6771 +	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6772 +
  9.6773 +	    # Archives containing C++ object files must be created using
  9.6774 +	    # the KAI C++ compiler.
  9.6775 +	    case $host in
  9.6776 +	      osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  9.6777 +	      *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  9.6778 +	    esac
  9.6779 +	    ;;
  9.6780 +          RCC*)
  9.6781 +	    # Rational C++ 2.4.1
  9.6782 +	    # FIXME: insert proper C++ library support
  9.6783 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6784 +	    ;;
  9.6785 +          cxx*)
  9.6786 +	    case $host in
  9.6787 +	      osf3*)
  9.6788 +	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9.6789 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.6790 +	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.6791 +		;;
  9.6792 +	      *)
  9.6793 +	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9.6794 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9.6795 +	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  9.6796 +	          echo "-hidden">> $lib.exp~
  9.6797 +	          $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  9.6798 +	          $RM $lib.exp'
  9.6799 +	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  9.6800 +		;;
  9.6801 +	    esac
  9.6802 +
  9.6803 +	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6804 +
  9.6805 +	    # Commands to make compiler produce verbose output that lists
  9.6806 +	    # what "hidden" libraries, object files and flags are used when
  9.6807 +	    # linking a shared library.
  9.6808 +	    #
  9.6809 +	    # There doesn't appear to be a way to prevent this compiler from
  9.6810 +	    # explicitly linking system object files so we need to strip them
  9.6811 +	    # from the output so that they don't get included in the library
  9.6812 +	    # dependencies.
  9.6813 +	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  9.6814 +	    ;;
  9.6815 +	  *)
  9.6816 +	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  9.6817 +	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9.6818 +	      case $host in
  9.6819 +	        osf3*)
  9.6820 +	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.6821 +		  ;;
  9.6822 +	        *)
  9.6823 +	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9.6824 +		  ;;
  9.6825 +	      esac
  9.6826 +
  9.6827 +	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9.6828 +	      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  9.6829 +
  9.6830 +	      # Commands to make compiler produce verbose output that lists
  9.6831 +	      # what "hidden" libraries, object files and flags are used when
  9.6832 +	      # linking a shared library.
  9.6833 +	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  9.6834 +
  9.6835 +	    else
  9.6836 +	      # FIXME: insert proper C++ library support
  9.6837 +	      _LT_TAGVAR(ld_shlibs, $1)=no
  9.6838 +	    fi
  9.6839 +	    ;;
  9.6840 +        esac
  9.6841 +        ;;
  9.6842 +
  9.6843 +      psos*)
  9.6844 +        # FIXME: insert proper C++ library support
  9.6845 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.6846 +        ;;
  9.6847 +
  9.6848 +      sunos4*)
  9.6849 +        case $cc_basename in
  9.6850 +          CC*)
  9.6851 +	    # Sun C++ 4.x
  9.6852 +	    # FIXME: insert proper C++ library support
  9.6853 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6854 +	    ;;
  9.6855 +          lcc*)
  9.6856 +	    # Lucid
  9.6857 +	    # FIXME: insert proper C++ library support
  9.6858 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6859 +	    ;;
  9.6860 +          *)
  9.6861 +	    # FIXME: insert proper C++ library support
  9.6862 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6863 +	    ;;
  9.6864 +        esac
  9.6865 +        ;;
  9.6866 +
  9.6867 +      solaris*)
  9.6868 +        case $cc_basename in
  9.6869 +          CC*)
  9.6870 +	    # Sun C++ 4.2, 5.x and Centerline C++
  9.6871 +            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  9.6872 +	    _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  9.6873 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  9.6874 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.6875 +	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  9.6876 +
  9.6877 +	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9.6878 +	    _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6879 +	    case $host_os in
  9.6880 +	      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  9.6881 +	      *)
  9.6882 +		# The compiler driver will combine and reorder linker options,
  9.6883 +		# but understands `-z linker_flag'.
  9.6884 +	        # Supported since Solaris 2.6 (maybe 2.5.1?)
  9.6885 +		_LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  9.6886 +	        ;;
  9.6887 +	    esac
  9.6888 +	    _LT_TAGVAR(link_all_deplibs, $1)=yes
  9.6889 +
  9.6890 +	    output_verbose_link_cmd='echo'
  9.6891 +
  9.6892 +	    # Archives containing C++ object files must be created using
  9.6893 +	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
  9.6894 +	    # necessary to make sure instantiated templates are included
  9.6895 +	    # in the archive.
  9.6896 +	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  9.6897 +	    ;;
  9.6898 +          gcx*)
  9.6899 +	    # Green Hills C++ Compiler
  9.6900 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  9.6901 +
  9.6902 +	    # The C++ compiler must be used to create the archive.
  9.6903 +	    _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  9.6904 +	    ;;
  9.6905 +          *)
  9.6906 +	    # GNU C++ compiler with Solaris linker
  9.6907 +	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  9.6908 +	      _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  9.6909 +	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  9.6910 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  9.6911 +	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.6912 +		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  9.6913 +
  9.6914 +	        # Commands to make compiler produce verbose output that lists
  9.6915 +	        # what "hidden" libraries, object files and flags are used when
  9.6916 +	        # linking a shared library.
  9.6917 +	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  9.6918 +	      else
  9.6919 +	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
  9.6920 +	        # platform.
  9.6921 +	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  9.6922 +	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9.6923 +		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  9.6924 +
  9.6925 +	        # Commands to make compiler produce verbose output that lists
  9.6926 +	        # what "hidden" libraries, object files and flags are used when
  9.6927 +	        # linking a shared library.
  9.6928 +	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  9.6929 +	      fi
  9.6930 +
  9.6931 +	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  9.6932 +	      case $host_os in
  9.6933 +		solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  9.6934 +		*)
  9.6935 +		  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9.6936 +		  ;;
  9.6937 +	      esac
  9.6938 +	    fi
  9.6939 +	    ;;
  9.6940 +        esac
  9.6941 +        ;;
  9.6942 +
  9.6943 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  9.6944 +      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9.6945 +      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.6946 +      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6947 +      runpath_var='LD_RUN_PATH'
  9.6948 +
  9.6949 +      case $cc_basename in
  9.6950 +        CC*)
  9.6951 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6952 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6953 +	  ;;
  9.6954 +	*)
  9.6955 +	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6956 +	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6957 +	  ;;
  9.6958 +      esac
  9.6959 +      ;;
  9.6960 +
  9.6961 +      sysv5* | sco3.2v5* | sco5v6*)
  9.6962 +	# Note: We can NOT use -z defs as we might desire, because we do not
  9.6963 +	# link with -lc, and that would cause any symbols used from libc to
  9.6964 +	# always be unresolved, which means just about no library would
  9.6965 +	# ever link correctly.  If we're not using GNU ld we use -z text
  9.6966 +	# though, which does catch some bad symbols but isn't as heavy-handed
  9.6967 +	# as -z defs.
  9.6968 +	_LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9.6969 +	_LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  9.6970 +	_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.6971 +	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9.6972 +	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  9.6973 +	_LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  9.6974 +	_LT_TAGVAR(link_all_deplibs, $1)=yes
  9.6975 +	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  9.6976 +	runpath_var='LD_RUN_PATH'
  9.6977 +
  9.6978 +	case $cc_basename in
  9.6979 +          CC*)
  9.6980 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6981 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6982 +	    ;;
  9.6983 +	  *)
  9.6984 +	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6985 +	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9.6986 +	    ;;
  9.6987 +	esac
  9.6988 +      ;;
  9.6989 +
  9.6990 +      tandem*)
  9.6991 +        case $cc_basename in
  9.6992 +          NCC*)
  9.6993 +	    # NonStop-UX NCC 3.20
  9.6994 +	    # FIXME: insert proper C++ library support
  9.6995 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.6996 +	    ;;
  9.6997 +          *)
  9.6998 +	    # FIXME: insert proper C++ library support
  9.6999 +	    _LT_TAGVAR(ld_shlibs, $1)=no
  9.7000 +	    ;;
  9.7001 +        esac
  9.7002 +        ;;
  9.7003 +
  9.7004 +      vxworks*)
  9.7005 +        # FIXME: insert proper C++ library support
  9.7006 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.7007 +        ;;
  9.7008 +
  9.7009 +      *)
  9.7010 +        # FIXME: insert proper C++ library support
  9.7011 +        _LT_TAGVAR(ld_shlibs, $1)=no
  9.7012 +        ;;
  9.7013 +    esac
  9.7014 +
  9.7015 +    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  9.7016 +    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  9.7017 +
  9.7018 +    _LT_TAGVAR(GCC, $1)="$GXX"
  9.7019 +    _LT_TAGVAR(LD, $1)="$LD"
  9.7020 +
  9.7021 +    ## CAVEAT EMPTOR:
  9.7022 +    ## There is no encapsulation within the following macros, do not change
  9.7023 +    ## the running order or otherwise move them around unless you know exactly
  9.7024 +    ## what you are doing...
  9.7025 +    _LT_SYS_HIDDEN_LIBDEPS($1)
  9.7026 +    _LT_COMPILER_PIC($1)
  9.7027 +    _LT_COMPILER_C_O($1)
  9.7028 +    _LT_COMPILER_FILE_LOCKS($1)
  9.7029 +    _LT_LINKER_SHLIBS($1)
  9.7030 +    _LT_SYS_DYNAMIC_LINKER($1)
  9.7031 +    _LT_LINKER_HARDCODE_LIBPATH($1)
  9.7032 +
  9.7033 +    _LT_CONFIG($1)
  9.7034 +  fi # test -n "$compiler"
  9.7035 +
  9.7036 +  CC=$lt_save_CC
  9.7037 +  LDCXX=$LD
  9.7038 +  LD=$lt_save_LD
  9.7039 +  GCC=$lt_save_GCC
  9.7040 +  with_gnu_ld=$lt_save_with_gnu_ld
  9.7041 +  lt_cv_path_LDCXX=$lt_cv_path_LD
  9.7042 +  lt_cv_path_LD=$lt_save_path_LD
  9.7043 +  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  9.7044 +  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  9.7045 +fi # test "$_lt_caught_CXX_error" != yes
  9.7046 +
  9.7047 +AC_LANG_POP
  9.7048 +])# _LT_LANG_CXX_CONFIG
  9.7049 +
  9.7050 +
  9.7051 +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  9.7052 +# ---------------------------------
  9.7053 +# Figure out "hidden" library dependencies from verbose
  9.7054 +# compiler output when linking a shared library.
  9.7055 +# Parse the compiler output and extract the necessary
  9.7056 +# objects, libraries and library flags.
  9.7057 +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  9.7058 +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9.7059 +# Dependencies to place before and after the object being linked:
  9.7060 +_LT_TAGVAR(predep_objects, $1)=
  9.7061 +_LT_TAGVAR(postdep_objects, $1)=
  9.7062 +_LT_TAGVAR(predeps, $1)=
  9.7063 +_LT_TAGVAR(postdeps, $1)=
  9.7064 +_LT_TAGVAR(compiler_lib_search_path, $1)=
  9.7065 +
  9.7066 +dnl we can't use the lt_simple_compile_test_code here,
  9.7067 +dnl because it contains code intended for an executable,
  9.7068 +dnl not a library.  It's possible we should let each
  9.7069 +dnl tag define a new lt_????_link_test_code variable,
  9.7070 +dnl but it's only used here...
  9.7071 +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  9.7072 +int a;
  9.7073 +void foo (void) { a = 0; }
  9.7074 +_LT_EOF
  9.7075 +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  9.7076 +class Foo
  9.7077 +{
  9.7078 +public:
  9.7079 +  Foo (void) { a = 0; }
  9.7080 +private:
  9.7081 +  int a;
  9.7082 +};
  9.7083 +_LT_EOF
  9.7084 +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  9.7085 +      subroutine foo
  9.7086 +      implicit none
  9.7087 +      integer*4 a
  9.7088 +      a=0
  9.7089 +      return
  9.7090 +      end
  9.7091 +_LT_EOF
  9.7092 +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  9.7093 +      subroutine foo
  9.7094 +      implicit none
  9.7095 +      integer a
  9.7096 +      a=0
  9.7097 +      return
  9.7098 +      end
  9.7099 +_LT_EOF
  9.7100 +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  9.7101 +public class foo {
  9.7102 +  private int a;
  9.7103 +  public void bar (void) {
  9.7104 +    a = 0;
  9.7105 +  }
  9.7106 +};
  9.7107 +_LT_EOF
  9.7108 +])
  9.7109 +dnl Parse the compiler output and extract the necessary
  9.7110 +dnl objects, libraries and library flags.
  9.7111 +if AC_TRY_EVAL(ac_compile); then
  9.7112 +  # Parse the compiler output and extract the necessary
  9.7113 +  # objects, libraries and library flags.
  9.7114 +
  9.7115 +  # Sentinel used to keep track of whether or not we are before
  9.7116 +  # the conftest object file.
  9.7117 +  pre_test_object_deps_done=no
  9.7118 +
  9.7119 +  for p in `eval "$output_verbose_link_cmd"`; do
  9.7120 +    case $p in
  9.7121 +
  9.7122 +    -L* | -R* | -l*)
  9.7123 +       # Some compilers place space between "-{L,R}" and the path.
  9.7124 +       # Remove the space.
  9.7125 +       if test $p = "-L" ||
  9.7126 +          test $p = "-R"; then
  9.7127 +	 prev=$p
  9.7128 +	 continue
  9.7129 +       else
  9.7130 +	 prev=
  9.7131 +       fi
  9.7132 +
  9.7133 +       if test "$pre_test_object_deps_done" = no; then
  9.7134 +	 case $p in
  9.7135 +	 -L* | -R*)
  9.7136 +	   # Internal compiler library paths should come after those
  9.7137 +	   # provided the user.  The postdeps already come after the
  9.7138 +	   # user supplied libs so there is no need to process them.
  9.7139 +	   if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  9.7140 +	     _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  9.7141 +	   else
  9.7142 +	     _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  9.7143 +	   fi
  9.7144 +	   ;;
  9.7145 +	 # The "-l" case would never come before the object being
  9.7146 +	 # linked, so don't bother handling this case.
  9.7147 +	 esac
  9.7148 +       else
  9.7149 +	 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  9.7150 +	   _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  9.7151 +	 else
  9.7152 +	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  9.7153 +	 fi
  9.7154 +       fi
  9.7155 +       ;;
  9.7156 +
  9.7157 +    *.$objext)
  9.7158 +       # This assumes that the test object file only shows up
  9.7159 +       # once in the compiler output.
  9.7160 +       if test "$p" = "conftest.$objext"; then
  9.7161 +	 pre_test_object_deps_done=yes
  9.7162 +	 continue
  9.7163 +       fi
  9.7164 +
  9.7165 +       if test "$pre_test_object_deps_done" = no; then
  9.7166 +	 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  9.7167 +	   _LT_TAGVAR(predep_objects, $1)="$p"
  9.7168 +	 else
  9.7169 +	   _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  9.7170 +	 fi
  9.7171 +       else
  9.7172 +	 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  9.7173 +	   _LT_TAGVAR(postdep_objects, $1)="$p"
  9.7174 +	 else
  9.7175 +	   _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  9.7176 +	 fi
  9.7177 +       fi
  9.7178 +       ;;
  9.7179 +
  9.7180 +    *) ;; # Ignore the rest.
  9.7181 +
  9.7182 +    esac
  9.7183 +  done
  9.7184 +
  9.7185 +  # Clean up.
  9.7186 +  rm -f a.out a.exe
  9.7187 +else
  9.7188 +  echo "libtool.m4: error: problem compiling $1 test program"
  9.7189 +fi
  9.7190 +
  9.7191 +$RM -f confest.$objext
  9.7192 +
  9.7193 +# PORTME: override above test on systems where it is broken
  9.7194 +m4_if([$1], [CXX],
  9.7195 +[case $host_os in
  9.7196 +interix[[3-9]]*)
  9.7197 +  # Interix 3.5 installs completely hosed .la files for C++, so rather than
  9.7198 +  # hack all around it, let's just trust "g++" to DTRT.
  9.7199 +  _LT_TAGVAR(predep_objects,$1)=
  9.7200 +  _LT_TAGVAR(postdep_objects,$1)=
  9.7201 +  _LT_TAGVAR(postdeps,$1)=
  9.7202 +  ;;
  9.7203 +
  9.7204 +linux*)
  9.7205 +  case `$CC -V 2>&1 | sed 5q` in
  9.7206 +  *Sun\ C*)
  9.7207 +    # Sun C++ 5.9
  9.7208 +
  9.7209 +    # The more standards-conforming stlport4 library is
  9.7210 +    # incompatible with the Cstd library. Avoid specifying
  9.7211 +    # it if it's in CXXFLAGS. Ignore libCrun as
  9.7212 +    # -library=stlport4 depends on it.
  9.7213 +    case " $CXX $CXXFLAGS " in
  9.7214 +    *" -library=stlport4 "*)
  9.7215 +      solaris_use_stlport4=yes
  9.7216 +      ;;
  9.7217 +    esac
  9.7218 +
  9.7219 +    if test "$solaris_use_stlport4" != yes; then
  9.7220 +      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  9.7221 +    fi
  9.7222 +    ;;
  9.7223 +  esac
  9.7224 +  ;;
  9.7225 +
  9.7226 +solaris*)
  9.7227 +  case $cc_basename in
  9.7228 +  CC*)
  9.7229 +    # The more standards-conforming stlport4 library is
  9.7230 +    # incompatible with the Cstd library. Avoid specifying
  9.7231 +    # it if it's in CXXFLAGS. Ignore libCrun as
  9.7232 +    # -library=stlport4 depends on it.
  9.7233 +    case " $CXX $CXXFLAGS " in
  9.7234 +    *" -library=stlport4 "*)
  9.7235 +      solaris_use_stlport4=yes
  9.7236 +      ;;
  9.7237 +    esac
  9.7238 +
  9.7239 +    # Adding this requires a known-good setup of shared libraries for
  9.7240 +    # Sun compiler versions before 5.6, else PIC objects from an old
  9.7241 +    # archive will be linked into the output, leading to subtle bugs.
  9.7242 +    if test "$solaris_use_stlport4" != yes; then
  9.7243 +      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  9.7244 +    fi
  9.7245 +    ;;
  9.7246 +  esac
  9.7247 +  ;;
  9.7248 +esac
  9.7249 +])
  9.7250 +
  9.7251 +case " $_LT_TAGVAR(postdeps, $1) " in
  9.7252 +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  9.7253 +esac
  9.7254 + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  9.7255 +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  9.7256 + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  9.7257 +fi
  9.7258 +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  9.7259 +    [The directories searched by this compiler when creating a shared library])
  9.7260 +_LT_TAGDECL([], [predep_objects], [1],
  9.7261 +    [Dependencies to place before and after the objects being linked to
  9.7262 +    create a shared library])
  9.7263 +_LT_TAGDECL([], [postdep_objects], [1])
  9.7264 +_LT_TAGDECL([], [predeps], [1])
  9.7265 +_LT_TAGDECL([], [postdeps], [1])
  9.7266 +_LT_TAGDECL([], [compiler_lib_search_path], [1],
  9.7267 +    [The library search path used internally by the compiler when linking
  9.7268 +    a shared library])
  9.7269 +])# _LT_SYS_HIDDEN_LIBDEPS
  9.7270 +
  9.7271 +
  9.7272 +# _LT_PROG_F77
  9.7273 +# ------------
  9.7274 +# Since AC_PROG_F77 is broken, in that it returns the empty string
  9.7275 +# if there is no fortran compiler, we have our own version here.
  9.7276 +m4_defun([_LT_PROG_F77],
  9.7277 +[
  9.7278 +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  9.7279 +AC_PROG_F77
  9.7280 +if test -z "$F77" || test "X$F77" = "Xno"; then
  9.7281 +  _lt_disable_F77=yes
  9.7282 +fi
  9.7283 +popdef([AC_MSG_ERROR])
  9.7284 +])# _LT_PROG_F77
  9.7285 +
  9.7286 +dnl aclocal-1.4 backwards compatibility:
  9.7287 +dnl AC_DEFUN([_LT_PROG_F77], [])
  9.7288 +
  9.7289 +
  9.7290 +# _LT_LANG_F77_CONFIG([TAG])
  9.7291 +# --------------------------
  9.7292 +# Ensure that the configuration variables for a Fortran 77 compiler are
  9.7293 +# suitably defined.  These variables are subsequently used by _LT_CONFIG
  9.7294 +# to write the compiler configuration to `libtool'.
  9.7295 +m4_defun([_LT_LANG_F77_CONFIG],
  9.7296 +[AC_REQUIRE([_LT_PROG_F77])dnl
  9.7297 +AC_LANG_PUSH(Fortran 77)
  9.7298 +
  9.7299 +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9.7300 +_LT_TAGVAR(allow_undefined_flag, $1)=
  9.7301 +_LT_TAGVAR(always_export_symbols, $1)=no
  9.7302 +_LT_TAGVAR(archive_expsym_cmds, $1)=
  9.7303 +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9.7304 +_LT_TAGVAR(hardcode_direct, $1)=no
  9.7305 +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  9.7306 +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9.7307 +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9.7308 +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  9.7309 +_LT_TAGVAR(hardcode_minus_L, $1)=no
  9.7310 +_LT_TAGVAR(hardcode_automatic, $1)=no
  9.7311 +_LT_TAGVAR(inherit_rpath, $1)=no
  9.7312 +_LT_TAGVAR(module_cmds, $1)=
  9.7313 +_LT_TAGVAR(module_expsym_cmds, $1)=
  9.7314 +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  9.7315 +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9.7316 +_LT_TAGVAR(no_undefined_flag, $1)=
  9.7317 +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  9.7318 +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9.7319 +
  9.7320 +# Source file extension for f77 test sources.
  9.7321 +ac_ext=f
  9.7322 +
  9.7323 +# Object file extension for compiled f77 test sources.
  9.7324 +objext=o
  9.7325 +_LT_TAGVAR(objext, $1)=$objext
  9.7326 +
  9.7327 +# No sense in running all these tests if we already determined that
  9.7328 +# the F77 compiler isn't working.  Some variables (like enable_shared)
  9.7329 +# are currently assumed to apply to all compilers on this platform,
  9.7330 +# and will be corrupted by setting them based on a non-working compiler.
  9.7331 +if test "$_lt_disable_F77" != yes; then
  9.7332 +  # Code to be used in simple compile tests
  9.7333 +  lt_simple_compile_test_code="\
  9.7334 +      subroutine t
  9.7335 +      return
  9.7336 +      end
  9.7337 +"
  9.7338 +
  9.7339 +  # Code to be used in simple link tests
  9.7340 +  lt_simple_link_test_code="\
  9.7341 +      program t
  9.7342 +      end
  9.7343 +"
  9.7344 +
  9.7345 +  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9.7346 +  _LT_TAG_COMPILER
  9.7347 +
  9.7348 +  # save warnings/boilerplate of simple test code
  9.7349 +  _LT_COMPILER_BOILERPLATE