1 --- agsync-0.2-pre.orig/mal-files/client/Makefile.am
2 +++ agsync-0.2-pre/mal-files/client/Makefile.am
4 +EXTRA_DIST = AGClientProcessor.c AGClientProcessor.h AGCommandProcessor.c AGCommandProcessor.h AGProxyDebug.c AGProxyDebug.h AGSyncProcessor.c AGSyncProcessor.h
6 +include_HEADERS = AGClientProcessor.h AGCommandProcessor.h AGProxyDebug.h AGSyncProcessor.h
7 +noinst_HEADERS = AGClientProcessor.h AGCommandProcessor.h AGProxyDebug.h AGSyncProcessor.h
8 --- agsync-0.2-pre.orig/mal-files/client/Makefile.in
9 +++ agsync-0.2-pre/mal-files/client/Makefile.in
11 +# Makefile.in generated by automake 1.7.9 from Makefile.am.
14 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
15 +# Free Software Foundation, Inc.
16 +# This Makefile.in is free software; the Free Software Foundation
17 +# gives unlimited permission to copy and/or distribute it,
18 +# with or without modifications, as long as this notice is preserved.
20 +# This program is distributed in the hope that it will be useful,
21 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
22 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23 +# PARTICULAR PURPOSE.
28 +top_srcdir = @top_srcdir@
30 +pkgdatadir = $(datadir)/@PACKAGE@
31 +pkglibdir = $(libdir)/@PACKAGE@
32 +pkgincludedir = $(includedir)/@PACKAGE@
35 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
37 +install_sh_DATA = $(install_sh) -c -m 644
38 +install_sh_PROGRAM = $(install_sh) -c
39 +install_sh_SCRIPT = $(install_sh) -c
40 +INSTALL_HEADER = $(INSTALL_DATA)
41 +transform = $(program_transform_name)
48 +host_triplet = @host@
50 +AMDEP_FALSE = @AMDEP_FALSE@
51 +AMDEP_TRUE = @AMDEP_TRUE@
54 +AUTOCONF = @AUTOCONF@
55 +AUTOHEADER = @AUTOHEADER@
56 +AUTOMAKE = @AUTOMAKE@
59 +CCDEPMODE = @CCDEPMODE@
62 +CPPFLAGS = @CPPFLAGS@
65 +CXXDEPMODE = @CXXDEPMODE@
66 +CXXFLAGS = @CXXFLAGS@
67 +CYGPATH_W = @CYGPATH_W@
78 +INSTALL_DATA = @INSTALL_DATA@
79 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
80 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
81 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
87 +LTLIBOBJS = @LTLIBOBJS@
89 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
90 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
91 +MAKEINFO = @MAKEINFO@
94 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
95 +PACKAGE_NAME = @PACKAGE_NAME@
96 +PACKAGE_STRING = @PACKAGE_STRING@
97 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
98 +PACKAGE_VERSION = @PACKAGE_VERSION@
99 +PATH_SEPARATOR = @PATH_SEPARATOR@
101 +SET_MAKE = @SET_MAKE@
105 +ac_ct_AR = @ac_ct_AR@
106 +ac_ct_CC = @ac_ct_CC@
107 +ac_ct_CXX = @ac_ct_CXX@
108 +ac_ct_F77 = @ac_ct_F77@
109 +ac_ct_RANLIB = @ac_ct_RANLIB@
110 +ac_ct_STRIP = @ac_ct_STRIP@
111 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
112 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
113 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
114 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
115 +am__include = @am__include@
116 +am__leading_dot = @am__leading_dot@
117 +am__quote = @am__quote@
120 +build_alias = @build_alias@
121 +build_cpu = @build_cpu@
122 +build_os = @build_os@
123 +build_vendor = @build_vendor@
125 +exec_prefix = @exec_prefix@
127 +host_alias = @host_alias@
128 +host_cpu = @host_cpu@
130 +host_vendor = @host_vendor@
131 +includedir = @includedir@
133 +install_sh = @install_sh@
135 +libexecdir = @libexecdir@
136 +localstatedir = @localstatedir@
138 +oldincludedir = @oldincludedir@
140 +program_transform_name = @program_transform_name@
142 +sharedstatedir = @sharedstatedir@
143 +sysconfdir = @sysconfdir@
144 +target_alias = @target_alias@
145 +EXTRA_DIST = AGClientProcessor.c AGClientProcessor.h AGCommandProcessor.c AGCommandProcessor.h AGProxyDebug.c AGProxyDebug.h AGSyncProcessor.c AGSyncProcessor.h
147 +include_HEADERS = AGClientProcessor.h AGCommandProcessor.h AGProxyDebug.h AGSyncProcessor.h
148 +noinst_HEADERS = AGClientProcessor.h AGCommandProcessor.h AGProxyDebug.h AGSyncProcessor.h
149 +subdir = mal-files/client
150 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
151 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
152 +CONFIG_HEADER = $(top_builddir)/config.h
153 +CONFIG_CLEAN_FILES =
155 +HEADERS = $(include_HEADERS) $(noinst_HEADERS)
157 +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
158 + $(srcdir)/Makefile.in Makefile.am
162 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
163 + cd $(top_srcdir) && \
164 + $(AUTOMAKE) --gnu mal-files/client/Makefile
165 +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
166 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
168 +mostlyclean-libtool:
172 + -rm -rf .libs _libs
177 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
178 +install-includeHEADERS: $(include_HEADERS)
180 + $(mkinstalldirs) $(DESTDIR)$(includedir)
181 + @list='$(include_HEADERS)'; for p in $$list; do \
182 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
183 + f="`echo $$p | sed -e 's|^.*/||'`"; \
184 + echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
185 + $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
188 +uninstall-includeHEADERS:
189 + @$(NORMAL_UNINSTALL)
190 + @list='$(include_HEADERS)'; for p in $$list; do \
191 + f="`echo $$p | sed -e 's|^.*/||'`"; \
192 + echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
193 + rm -f $(DESTDIR)$(includedir)/$$f; \
204 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
205 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
206 + unique=`for i in $$list; do \
207 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
209 + $(AWK) ' { files[$$0] = 1; } \
210 + END { for (i in files) print i; }'`; \
213 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
214 + $(TAGS_FILES) $(LISP)
217 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
218 + unique=`for i in $$list; do \
219 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
221 + $(AWK) ' { files[$$0] = 1; } \
222 + END { for (i in files) print i; }'`; \
223 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
224 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
228 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
229 + $(TAGS_FILES) $(LISP)
232 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
233 + unique=`for i in $$list; do \
234 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
236 + $(AWK) ' { files[$$0] = 1; } \
237 + END { for (i in files) print i; }'`; \
238 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
239 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
243 + here=`$(am__cd) $(top_builddir) && pwd` \
244 + && cd $(top_srcdir) \
245 + && gtags -i $(GTAGS_ARGS) $$here
248 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
249 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
252 +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
254 +distdir: $(DISTFILES)
255 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
256 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
257 + list='$(DISTFILES)'; for file in $$list; do \
259 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
260 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
262 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
263 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
264 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
266 + $(mkinstalldirs) "$(distdir)$$dir"; \
270 + if test -d $$d/$$file; then \
271 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
272 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
274 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
276 + test -f $(distdir)/$$file \
277 + || cp -p $$d/$$file $(distdir)/$$file \
283 +all-am: Makefile $(HEADERS)
286 + $(mkinstalldirs) $(DESTDIR)$(includedir)
288 +install-exec: install-exec-am
289 +install-data: install-data-am
290 +uninstall: uninstall-am
293 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
295 +installcheck: installcheck-am
297 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
298 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
299 + `test -z '$(STRIP)' || \
300 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
301 +mostlyclean-generic:
306 + -rm -f $(CONFIG_CLEAN_FILES)
308 +maintainer-clean-generic:
309 + @echo "This command is intended for maintainers to use"
310 + @echo "it deletes files that may require special tools to rebuild."
313 +clean-am: clean-generic clean-libtool mostlyclean-am
315 +distclean: distclean-am
317 +distclean-am: clean-am distclean-generic distclean-libtool \
328 +install-data-am: install-includeHEADERS
332 +install-info: install-info-am
338 +maintainer-clean: maintainer-clean-am
340 +maintainer-clean-am: distclean-am maintainer-clean-generic
342 +mostlyclean: mostlyclean-am
344 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
354 +uninstall-am: uninstall-includeHEADERS uninstall-info-am
356 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
357 + clean-libtool ctags distclean distclean-generic \
358 + distclean-libtool distclean-tags distdir dvi dvi-am info \
359 + info-am install install-am install-data install-data-am \
360 + install-exec install-exec-am install-includeHEADERS \
361 + install-info install-info-am install-man install-strip \
362 + installcheck installcheck-am installdirs maintainer-clean \
363 + maintainer-clean-generic mostlyclean mostlyclean-generic \
364 + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
365 + uninstall-am uninstall-includeHEADERS uninstall-info-am
367 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
368 +# Otherwise a system limit (for SysV at least) may be exceeded.
370 --- agsync-0.2-pre.orig/mal-files/AGNet.h
371 +++ agsync-0.2-pre/mal-files/AGNet.h
373 # include <sys/filio.h>
374 # include <arpa/inet.h>
376 -# if defined(__FreeBSD__) || defined(_HPUX_SOURCE)
377 +# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(_HPUX_SOURCE)
378 # include <sys/ioctl.h>
379 # include <arpa/inet.h>
381 --- agsync-0.2-pre.orig/mal-files/AGBase64.c
382 +++ agsync-0.2-pre/mal-files/AGBase64.c
386 char ch, *ptr, *tptr;
392 --- agsync-0.2-pre.orig/mal-files/Makefile.am
393 +++ agsync-0.2-pre/mal-files/Makefile.am
398 +lib_LTLIBRARIES = libmal-funcs.la
399 +libmal_funcs_la_SOURCES = AGArray.c AGArray.h AGBase64.c AGBase64.h \
400 + AGBufferedNet.c AGBufferedNet.h AGBufferReader.c AGBufferReader.h \
401 + AGBufferWriter.c AGBufferWriter.h AGCollection.c AGCollection.h \
402 + AGDBConfig.c AGDBConfig.h AGDeviceInfo.c AGDeviceInfo.h AGDigest.c \
403 + AGDigest.h AGLocationConfig.c AGLocationConfig.h AGMD5.c AGMD5.h \
404 + AGMsg.c AGMsg.h AGNet.c AGNet.h AGProtectedMem.c AGProtectedMem.h \
405 + AGProtocol.c AGProtocol.h AGProxy.c AGProxy.h AGReader.c AGReader.h \
406 + AGRecord.c AGRecord.h AGServerConfig.c AGServerConfig.h \
407 + AGSynchronize.c AGSynchronize.h AGTypes.h AGUserConfig.c \
408 + AGUserConfig.h AGUtil.h AGUtilUnix.c AGUtilUnix.h AGWriter.c \
409 + AGWriter.h md5.c md5.h client/AGClientProcessor.c \
410 + client/AGClientProcessor.h client/AGCommandProcessor.c \
411 + client/AGCommandProcessor.h client/AGProxyDebug.c \
412 + client/AGProxyDebug.h client/AGSyncProcessor.c client/AGSyncProcessor.h
416 +INCLUDES = -I$(top_srcdir)/mal-files -I$(top_srcdir)/mal-files/client
417 +noinst_HEADERS = AGArray.h AGBase64.h AGBufferedNet.h AGBufferReader.h AGBufferWriter.h AGCollection.h AGDBConfig.h AGDeviceInfo.h AGDigest.h AGLocationConfig.h AGMD5.h AGMsg.h AGNet.h AGProtectedMem.h AGProtocol.h AGProxy.h AGReader.h AGRecord.h AGServerConfig.h AGSynchronize.h AGTypes.h AGUserConfig.h AGUtil.h AGUtilUnix.h AGWriter.h md5.h
418 +include_HEADERS = AGArray.h AGBase64.h AGBufferedNet.h AGBufferReader.h AGBufferWriter.h AGCollection.h AGDBConfig.h AGDeviceInfo.h AGDigest.h AGLocationConfig.h AGMD5.h AGMsg.h AGNet.h AGProtectedMem.h AGProtocol.h AGProxy.h AGReader.h AGRecord.h AGServerConfig.h AGSynchronize.h AGTypes.h AGUserConfig.h AGUtil.h AGUtilUnix.h AGWriter.h md5.h
419 --- agsync-0.2-pre.orig/mal-files/Makefile.in
420 +++ agsync-0.2-pre/mal-files/Makefile.in
422 +# Makefile.in generated by automake 1.7.9 from Makefile.am.
425 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
426 +# Free Software Foundation, Inc.
427 +# This Makefile.in is free software; the Free Software Foundation
428 +# gives unlimited permission to copy and/or distribute it,
429 +# with or without modifications, as long as this notice is preserved.
431 +# This program is distributed in the hope that it will be useful,
432 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
433 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
434 +# PARTICULAR PURPOSE.
439 +top_srcdir = @top_srcdir@
441 +pkgdatadir = $(datadir)/@PACKAGE@
442 +pkglibdir = $(libdir)/@PACKAGE@
443 +pkgincludedir = $(includedir)/@PACKAGE@
446 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
448 +install_sh_DATA = $(install_sh) -c -m 644
449 +install_sh_PROGRAM = $(install_sh) -c
450 +install_sh_SCRIPT = $(install_sh) -c
451 +INSTALL_HEADER = $(INSTALL_DATA)
452 +transform = $(program_transform_name)
456 +NORMAL_UNINSTALL = :
459 +host_triplet = @host@
461 +AMDEP_FALSE = @AMDEP_FALSE@
462 +AMDEP_TRUE = @AMDEP_TRUE@
465 +AUTOCONF = @AUTOCONF@
466 +AUTOHEADER = @AUTOHEADER@
467 +AUTOMAKE = @AUTOMAKE@
470 +CCDEPMODE = @CCDEPMODE@
473 +CPPFLAGS = @CPPFLAGS@
476 +CXXDEPMODE = @CXXDEPMODE@
477 +CXXFLAGS = @CXXFLAGS@
478 +CYGPATH_W = @CYGPATH_W@
489 +INSTALL_DATA = @INSTALL_DATA@
490 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
491 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
492 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
498 +LTLIBOBJS = @LTLIBOBJS@
500 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
501 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
502 +MAKEINFO = @MAKEINFO@
505 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
506 +PACKAGE_NAME = @PACKAGE_NAME@
507 +PACKAGE_STRING = @PACKAGE_STRING@
508 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
509 +PACKAGE_VERSION = @PACKAGE_VERSION@
510 +PATH_SEPARATOR = @PATH_SEPARATOR@
512 +SET_MAKE = @SET_MAKE@
516 +ac_ct_AR = @ac_ct_AR@
517 +ac_ct_CC = @ac_ct_CC@
518 +ac_ct_CXX = @ac_ct_CXX@
519 +ac_ct_F77 = @ac_ct_F77@
520 +ac_ct_RANLIB = @ac_ct_RANLIB@
521 +ac_ct_STRIP = @ac_ct_STRIP@
522 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
523 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
524 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
525 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
526 +am__include = @am__include@
527 +am__leading_dot = @am__leading_dot@
528 +am__quote = @am__quote@
531 +build_alias = @build_alias@
532 +build_cpu = @build_cpu@
533 +build_os = @build_os@
534 +build_vendor = @build_vendor@
536 +exec_prefix = @exec_prefix@
538 +host_alias = @host_alias@
539 +host_cpu = @host_cpu@
541 +host_vendor = @host_vendor@
542 +includedir = @includedir@
544 +install_sh = @install_sh@
546 +libexecdir = @libexecdir@
547 +localstatedir = @localstatedir@
549 +oldincludedir = @oldincludedir@
551 +program_transform_name = @program_transform_name@
553 +sharedstatedir = @sharedstatedir@
554 +sysconfdir = @sysconfdir@
555 +target_alias = @target_alias@
559 +lib_LTLIBRARIES = libmal-funcs.la
560 +libmal_funcs_la_SOURCES = AGArray.c AGArray.h AGBase64.c AGBase64.h \
561 + AGBufferedNet.c AGBufferedNet.h AGBufferReader.c AGBufferReader.h \
562 + AGBufferWriter.c AGBufferWriter.h AGCollection.c AGCollection.h \
563 + AGDBConfig.c AGDBConfig.h AGDeviceInfo.c AGDeviceInfo.h AGDigest.c \
564 + AGDigest.h AGLocationConfig.c AGLocationConfig.h AGMD5.c AGMD5.h \
565 + AGMsg.c AGMsg.h AGNet.c AGNet.h AGProtectedMem.c AGProtectedMem.h \
566 + AGProtocol.c AGProtocol.h AGProxy.c AGProxy.h AGReader.c AGReader.h \
567 + AGRecord.c AGRecord.h AGServerConfig.c AGServerConfig.h \
568 + AGSynchronize.c AGSynchronize.h AGTypes.h AGUserConfig.c \
569 + AGUserConfig.h AGUtil.h AGUtilUnix.c AGUtilUnix.h AGWriter.c \
570 + AGWriter.h md5.c md5.h client/AGClientProcessor.c \
571 + client/AGClientProcessor.h client/AGCommandProcessor.c \
572 + client/AGCommandProcessor.h client/AGProxyDebug.c \
573 + client/AGProxyDebug.h client/AGSyncProcessor.c client/AGSyncProcessor.h
576 +INCLUDES = -I$(top_srcdir)/mal-files -I$(top_srcdir)/mal-files/client
577 +noinst_HEADERS = AGArray.h AGBase64.h AGBufferedNet.h AGBufferReader.h AGBufferWriter.h AGCollection.h AGDBConfig.h AGDeviceInfo.h AGDigest.h AGLocationConfig.h AGMD5.h AGMsg.h AGNet.h AGProtectedMem.h AGProtocol.h AGProxy.h AGReader.h AGRecord.h AGServerConfig.h AGSynchronize.h AGTypes.h AGUserConfig.h AGUtil.h AGUtilUnix.h AGWriter.h md5.h
578 +include_HEADERS = AGArray.h AGBase64.h AGBufferedNet.h AGBufferReader.h AGBufferWriter.h AGCollection.h AGDBConfig.h AGDeviceInfo.h AGDigest.h AGLocationConfig.h AGMD5.h AGMsg.h AGNet.h AGProtectedMem.h AGProtocol.h AGProxy.h AGReader.h AGRecord.h AGServerConfig.h AGSynchronize.h AGTypes.h AGUserConfig.h AGUtil.h AGUtilUnix.h AGWriter.h md5.h
580 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
581 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
582 +CONFIG_HEADER = $(top_builddir)/config.h
583 +CONFIG_CLEAN_FILES =
584 +LTLIBRARIES = $(lib_LTLIBRARIES)
586 +libmal_funcs_la_LDFLAGS =
587 +libmal_funcs_la_LIBADD =
588 +am_libmal_funcs_la_OBJECTS = AGArray.lo AGBase64.lo AGBufferedNet.lo \
589 + AGBufferReader.lo AGBufferWriter.lo AGCollection.lo \
590 + AGDBConfig.lo AGDeviceInfo.lo AGDigest.lo AGLocationConfig.lo \
591 + AGMD5.lo AGMsg.lo AGNet.lo AGProtectedMem.lo AGProtocol.lo \
592 + AGProxy.lo AGReader.lo AGRecord.lo AGServerConfig.lo \
593 + AGSynchronize.lo AGUserConfig.lo AGUtilUnix.lo AGWriter.lo \
594 + md5.lo AGClientProcessor.lo AGCommandProcessor.lo \
595 + AGProxyDebug.lo AGSyncProcessor.lo
596 +libmal_funcs_la_OBJECTS = $(am_libmal_funcs_la_OBJECTS)
598 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
599 +depcomp = $(SHELL) $(top_srcdir)/depcomp
600 +am__depfiles_maybe = depfiles
601 +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/AGArray.Plo ./$(DEPDIR)/AGBase64.Plo \
602 +@AMDEP_TRUE@ ./$(DEPDIR)/AGBufferReader.Plo \
603 +@AMDEP_TRUE@ ./$(DEPDIR)/AGBufferWriter.Plo \
604 +@AMDEP_TRUE@ ./$(DEPDIR)/AGBufferedNet.Plo \
605 +@AMDEP_TRUE@ ./$(DEPDIR)/AGClientProcessor.Plo \
606 +@AMDEP_TRUE@ ./$(DEPDIR)/AGCollection.Plo \
607 +@AMDEP_TRUE@ ./$(DEPDIR)/AGCommandProcessor.Plo \
608 +@AMDEP_TRUE@ ./$(DEPDIR)/AGDBConfig.Plo \
609 +@AMDEP_TRUE@ ./$(DEPDIR)/AGDeviceInfo.Plo \
610 +@AMDEP_TRUE@ ./$(DEPDIR)/AGDigest.Plo \
611 +@AMDEP_TRUE@ ./$(DEPDIR)/AGLocationConfig.Plo \
612 +@AMDEP_TRUE@ ./$(DEPDIR)/AGMD5.Plo ./$(DEPDIR)/AGMsg.Plo \
613 +@AMDEP_TRUE@ ./$(DEPDIR)/AGNet.Plo \
614 +@AMDEP_TRUE@ ./$(DEPDIR)/AGProtectedMem.Plo \
615 +@AMDEP_TRUE@ ./$(DEPDIR)/AGProtocol.Plo ./$(DEPDIR)/AGProxy.Plo \
616 +@AMDEP_TRUE@ ./$(DEPDIR)/AGProxyDebug.Plo \
617 +@AMDEP_TRUE@ ./$(DEPDIR)/AGReader.Plo ./$(DEPDIR)/AGRecord.Plo \
618 +@AMDEP_TRUE@ ./$(DEPDIR)/AGServerConfig.Plo \
619 +@AMDEP_TRUE@ ./$(DEPDIR)/AGSyncProcessor.Plo \
620 +@AMDEP_TRUE@ ./$(DEPDIR)/AGSynchronize.Plo \
621 +@AMDEP_TRUE@ ./$(DEPDIR)/AGUserConfig.Plo \
622 +@AMDEP_TRUE@ ./$(DEPDIR)/AGUtilUnix.Plo ./$(DEPDIR)/AGWriter.Plo \
623 +@AMDEP_TRUE@ ./$(DEPDIR)/md5.Plo
624 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
625 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
626 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
627 + $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
629 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
630 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
631 +DIST_SOURCES = $(libmal_funcs_la_SOURCES)
632 +HEADERS = $(include_HEADERS) $(noinst_HEADERS)
635 +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
636 + ps-recursive install-info-recursive uninstall-info-recursive \
637 + all-recursive install-data-recursive install-exec-recursive \
638 + installdirs-recursive install-recursive uninstall-recursive \
639 + check-recursive installcheck-recursive
640 +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
641 + $(srcdir)/Makefile.in Makefile.am
642 +DIST_SUBDIRS = $(SUBDIRS)
643 +SOURCES = $(libmal_funcs_la_SOURCES)
648 +.SUFFIXES: .c .lo .o .obj
649 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
650 + cd $(top_srcdir) && \
651 + $(AUTOMAKE) --gnu mal-files/Makefile
652 +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
653 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
654 +libLTLIBRARIES_INSTALL = $(INSTALL)
655 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
657 + $(mkinstalldirs) $(DESTDIR)$(libdir)
658 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
659 + if test -f $$p; then \
660 + f="`echo $$p | sed -e 's|^.*/||'`"; \
661 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
662 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
666 +uninstall-libLTLIBRARIES:
667 + @$(NORMAL_UNINSTALL)
668 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
669 + p="`echo $$p | sed -e 's|^.*/||'`"; \
670 + echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
671 + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
674 +clean-libLTLIBRARIES:
675 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
676 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
677 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
678 + test "$$dir" = "$$p" && dir=.; \
679 + echo "rm -f \"$${dir}/so_locations\""; \
680 + rm -f "$${dir}/so_locations"; \
682 +libmal-funcs.la: $(libmal_funcs_la_OBJECTS) $(libmal_funcs_la_DEPENDENCIES)
683 + $(LINK) -rpath $(libdir) $(libmal_funcs_la_LDFLAGS) $(libmal_funcs_la_OBJECTS) $(libmal_funcs_la_LIBADD) $(LIBS)
685 +mostlyclean-compile:
686 + -rm -f *.$(OBJEXT) core *.core
691 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGArray.Plo@am__quote@
692 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGBase64.Plo@am__quote@
693 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGBufferReader.Plo@am__quote@
694 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGBufferWriter.Plo@am__quote@
695 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGBufferedNet.Plo@am__quote@
696 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGClientProcessor.Plo@am__quote@
697 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGCollection.Plo@am__quote@
698 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGCommandProcessor.Plo@am__quote@
699 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGDBConfig.Plo@am__quote@
700 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGDeviceInfo.Plo@am__quote@
701 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGDigest.Plo@am__quote@
702 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGLocationConfig.Plo@am__quote@
703 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGMD5.Plo@am__quote@
704 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGMsg.Plo@am__quote@
705 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGNet.Plo@am__quote@
706 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGProtectedMem.Plo@am__quote@
707 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGProtocol.Plo@am__quote@
708 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGProxy.Plo@am__quote@
709 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGProxyDebug.Plo@am__quote@
710 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGReader.Plo@am__quote@
711 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGRecord.Plo@am__quote@
712 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGServerConfig.Plo@am__quote@
713 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGSyncProcessor.Plo@am__quote@
714 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGSynchronize.Plo@am__quote@
715 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGUserConfig.Plo@am__quote@
716 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGUtilUnix.Plo@am__quote@
717 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AGWriter.Plo@am__quote@
718 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Plo@am__quote@
721 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
722 +@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
723 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
724 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
725 +@am__fastdepCC_TRUE@ fi
726 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
727 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
728 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
729 +@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
732 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
733 +@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
734 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
735 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
736 +@am__fastdepCC_TRUE@ fi
737 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
738 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
739 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
740 +@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
743 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
744 +@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
745 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
746 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
747 +@am__fastdepCC_TRUE@ fi
748 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
749 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
750 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
751 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
753 +AGClientProcessor.o: client/AGClientProcessor.c
754 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGClientProcessor.o -MD -MP -MF "$(DEPDIR)/AGClientProcessor.Tpo" \
755 +@am__fastdepCC_TRUE@ -c -o AGClientProcessor.o `test -f 'client/AGClientProcessor.c' || echo '$(srcdir)/'`client/AGClientProcessor.c; \
756 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGClientProcessor.Tpo" "$(DEPDIR)/AGClientProcessor.Po"; \
757 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGClientProcessor.Tpo"; exit 1; \
758 +@am__fastdepCC_TRUE@ fi
759 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGClientProcessor.c' object='AGClientProcessor.o' libtool=no @AMDEPBACKSLASH@
760 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGClientProcessor.Po' tmpdepfile='$(DEPDIR)/AGClientProcessor.TPo' @AMDEPBACKSLASH@
761 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
762 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGClientProcessor.o `test -f 'client/AGClientProcessor.c' || echo '$(srcdir)/'`client/AGClientProcessor.c
764 +AGClientProcessor.obj: client/AGClientProcessor.c
765 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGClientProcessor.obj -MD -MP -MF "$(DEPDIR)/AGClientProcessor.Tpo" \
766 +@am__fastdepCC_TRUE@ -c -o AGClientProcessor.obj `if test -f 'client/AGClientProcessor.c'; then $(CYGPATH_W) 'client/AGClientProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGClientProcessor.c'; fi`; \
767 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGClientProcessor.Tpo" "$(DEPDIR)/AGClientProcessor.Po"; \
768 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGClientProcessor.Tpo"; exit 1; \
769 +@am__fastdepCC_TRUE@ fi
770 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGClientProcessor.c' object='AGClientProcessor.obj' libtool=no @AMDEPBACKSLASH@
771 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGClientProcessor.Po' tmpdepfile='$(DEPDIR)/AGClientProcessor.TPo' @AMDEPBACKSLASH@
772 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
773 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGClientProcessor.obj `if test -f 'client/AGClientProcessor.c'; then $(CYGPATH_W) 'client/AGClientProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGClientProcessor.c'; fi`
775 +AGClientProcessor.lo: client/AGClientProcessor.c
776 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGClientProcessor.lo -MD -MP -MF "$(DEPDIR)/AGClientProcessor.Tpo" \
777 +@am__fastdepCC_TRUE@ -c -o AGClientProcessor.lo `test -f 'client/AGClientProcessor.c' || echo '$(srcdir)/'`client/AGClientProcessor.c; \
778 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGClientProcessor.Tpo" "$(DEPDIR)/AGClientProcessor.Plo"; \
779 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGClientProcessor.Tpo"; exit 1; \
780 +@am__fastdepCC_TRUE@ fi
781 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGClientProcessor.c' object='AGClientProcessor.lo' libtool=yes @AMDEPBACKSLASH@
782 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGClientProcessor.Plo' tmpdepfile='$(DEPDIR)/AGClientProcessor.TPlo' @AMDEPBACKSLASH@
783 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
784 +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGClientProcessor.lo `test -f 'client/AGClientProcessor.c' || echo '$(srcdir)/'`client/AGClientProcessor.c
786 +AGCommandProcessor.o: client/AGCommandProcessor.c
787 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGCommandProcessor.o -MD -MP -MF "$(DEPDIR)/AGCommandProcessor.Tpo" \
788 +@am__fastdepCC_TRUE@ -c -o AGCommandProcessor.o `test -f 'client/AGCommandProcessor.c' || echo '$(srcdir)/'`client/AGCommandProcessor.c; \
789 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGCommandProcessor.Tpo" "$(DEPDIR)/AGCommandProcessor.Po"; \
790 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGCommandProcessor.Tpo"; exit 1; \
791 +@am__fastdepCC_TRUE@ fi
792 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGCommandProcessor.c' object='AGCommandProcessor.o' libtool=no @AMDEPBACKSLASH@
793 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGCommandProcessor.Po' tmpdepfile='$(DEPDIR)/AGCommandProcessor.TPo' @AMDEPBACKSLASH@
794 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
795 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGCommandProcessor.o `test -f 'client/AGCommandProcessor.c' || echo '$(srcdir)/'`client/AGCommandProcessor.c
797 +AGCommandProcessor.obj: client/AGCommandProcessor.c
798 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGCommandProcessor.obj -MD -MP -MF "$(DEPDIR)/AGCommandProcessor.Tpo" \
799 +@am__fastdepCC_TRUE@ -c -o AGCommandProcessor.obj `if test -f 'client/AGCommandProcessor.c'; then $(CYGPATH_W) 'client/AGCommandProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGCommandProcessor.c'; fi`; \
800 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGCommandProcessor.Tpo" "$(DEPDIR)/AGCommandProcessor.Po"; \
801 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGCommandProcessor.Tpo"; exit 1; \
802 +@am__fastdepCC_TRUE@ fi
803 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGCommandProcessor.c' object='AGCommandProcessor.obj' libtool=no @AMDEPBACKSLASH@
804 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGCommandProcessor.Po' tmpdepfile='$(DEPDIR)/AGCommandProcessor.TPo' @AMDEPBACKSLASH@
805 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
806 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGCommandProcessor.obj `if test -f 'client/AGCommandProcessor.c'; then $(CYGPATH_W) 'client/AGCommandProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGCommandProcessor.c'; fi`
808 +AGCommandProcessor.lo: client/AGCommandProcessor.c
809 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGCommandProcessor.lo -MD -MP -MF "$(DEPDIR)/AGCommandProcessor.Tpo" \
810 +@am__fastdepCC_TRUE@ -c -o AGCommandProcessor.lo `test -f 'client/AGCommandProcessor.c' || echo '$(srcdir)/'`client/AGCommandProcessor.c; \
811 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGCommandProcessor.Tpo" "$(DEPDIR)/AGCommandProcessor.Plo"; \
812 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGCommandProcessor.Tpo"; exit 1; \
813 +@am__fastdepCC_TRUE@ fi
814 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGCommandProcessor.c' object='AGCommandProcessor.lo' libtool=yes @AMDEPBACKSLASH@
815 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGCommandProcessor.Plo' tmpdepfile='$(DEPDIR)/AGCommandProcessor.TPlo' @AMDEPBACKSLASH@
816 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
817 +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGCommandProcessor.lo `test -f 'client/AGCommandProcessor.c' || echo '$(srcdir)/'`client/AGCommandProcessor.c
819 +AGProxyDebug.o: client/AGProxyDebug.c
820 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGProxyDebug.o -MD -MP -MF "$(DEPDIR)/AGProxyDebug.Tpo" \
821 +@am__fastdepCC_TRUE@ -c -o AGProxyDebug.o `test -f 'client/AGProxyDebug.c' || echo '$(srcdir)/'`client/AGProxyDebug.c; \
822 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGProxyDebug.Tpo" "$(DEPDIR)/AGProxyDebug.Po"; \
823 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGProxyDebug.Tpo"; exit 1; \
824 +@am__fastdepCC_TRUE@ fi
825 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGProxyDebug.c' object='AGProxyDebug.o' libtool=no @AMDEPBACKSLASH@
826 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGProxyDebug.Po' tmpdepfile='$(DEPDIR)/AGProxyDebug.TPo' @AMDEPBACKSLASH@
827 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
828 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGProxyDebug.o `test -f 'client/AGProxyDebug.c' || echo '$(srcdir)/'`client/AGProxyDebug.c
830 +AGProxyDebug.obj: client/AGProxyDebug.c
831 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGProxyDebug.obj -MD -MP -MF "$(DEPDIR)/AGProxyDebug.Tpo" \
832 +@am__fastdepCC_TRUE@ -c -o AGProxyDebug.obj `if test -f 'client/AGProxyDebug.c'; then $(CYGPATH_W) 'client/AGProxyDebug.c'; else $(CYGPATH_W) '$(srcdir)/client/AGProxyDebug.c'; fi`; \
833 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGProxyDebug.Tpo" "$(DEPDIR)/AGProxyDebug.Po"; \
834 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGProxyDebug.Tpo"; exit 1; \
835 +@am__fastdepCC_TRUE@ fi
836 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGProxyDebug.c' object='AGProxyDebug.obj' libtool=no @AMDEPBACKSLASH@
837 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGProxyDebug.Po' tmpdepfile='$(DEPDIR)/AGProxyDebug.TPo' @AMDEPBACKSLASH@
838 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
839 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGProxyDebug.obj `if test -f 'client/AGProxyDebug.c'; then $(CYGPATH_W) 'client/AGProxyDebug.c'; else $(CYGPATH_W) '$(srcdir)/client/AGProxyDebug.c'; fi`
841 +AGProxyDebug.lo: client/AGProxyDebug.c
842 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGProxyDebug.lo -MD -MP -MF "$(DEPDIR)/AGProxyDebug.Tpo" \
843 +@am__fastdepCC_TRUE@ -c -o AGProxyDebug.lo `test -f 'client/AGProxyDebug.c' || echo '$(srcdir)/'`client/AGProxyDebug.c; \
844 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGProxyDebug.Tpo" "$(DEPDIR)/AGProxyDebug.Plo"; \
845 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGProxyDebug.Tpo"; exit 1; \
846 +@am__fastdepCC_TRUE@ fi
847 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGProxyDebug.c' object='AGProxyDebug.lo' libtool=yes @AMDEPBACKSLASH@
848 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGProxyDebug.Plo' tmpdepfile='$(DEPDIR)/AGProxyDebug.TPlo' @AMDEPBACKSLASH@
849 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
850 +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGProxyDebug.lo `test -f 'client/AGProxyDebug.c' || echo '$(srcdir)/'`client/AGProxyDebug.c
852 +AGSyncProcessor.o: client/AGSyncProcessor.c
853 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGSyncProcessor.o -MD -MP -MF "$(DEPDIR)/AGSyncProcessor.Tpo" \
854 +@am__fastdepCC_TRUE@ -c -o AGSyncProcessor.o `test -f 'client/AGSyncProcessor.c' || echo '$(srcdir)/'`client/AGSyncProcessor.c; \
855 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGSyncProcessor.Tpo" "$(DEPDIR)/AGSyncProcessor.Po"; \
856 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGSyncProcessor.Tpo"; exit 1; \
857 +@am__fastdepCC_TRUE@ fi
858 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGSyncProcessor.c' object='AGSyncProcessor.o' libtool=no @AMDEPBACKSLASH@
859 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGSyncProcessor.Po' tmpdepfile='$(DEPDIR)/AGSyncProcessor.TPo' @AMDEPBACKSLASH@
860 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
861 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGSyncProcessor.o `test -f 'client/AGSyncProcessor.c' || echo '$(srcdir)/'`client/AGSyncProcessor.c
863 +AGSyncProcessor.obj: client/AGSyncProcessor.c
864 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGSyncProcessor.obj -MD -MP -MF "$(DEPDIR)/AGSyncProcessor.Tpo" \
865 +@am__fastdepCC_TRUE@ -c -o AGSyncProcessor.obj `if test -f 'client/AGSyncProcessor.c'; then $(CYGPATH_W) 'client/AGSyncProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGSyncProcessor.c'; fi`; \
866 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGSyncProcessor.Tpo" "$(DEPDIR)/AGSyncProcessor.Po"; \
867 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGSyncProcessor.Tpo"; exit 1; \
868 +@am__fastdepCC_TRUE@ fi
869 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGSyncProcessor.c' object='AGSyncProcessor.obj' libtool=no @AMDEPBACKSLASH@
870 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGSyncProcessor.Po' tmpdepfile='$(DEPDIR)/AGSyncProcessor.TPo' @AMDEPBACKSLASH@
871 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
872 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGSyncProcessor.obj `if test -f 'client/AGSyncProcessor.c'; then $(CYGPATH_W) 'client/AGSyncProcessor.c'; else $(CYGPATH_W) '$(srcdir)/client/AGSyncProcessor.c'; fi`
874 +AGSyncProcessor.lo: client/AGSyncProcessor.c
875 +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT AGSyncProcessor.lo -MD -MP -MF "$(DEPDIR)/AGSyncProcessor.Tpo" \
876 +@am__fastdepCC_TRUE@ -c -o AGSyncProcessor.lo `test -f 'client/AGSyncProcessor.c' || echo '$(srcdir)/'`client/AGSyncProcessor.c; \
877 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/AGSyncProcessor.Tpo" "$(DEPDIR)/AGSyncProcessor.Plo"; \
878 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/AGSyncProcessor.Tpo"; exit 1; \
879 +@am__fastdepCC_TRUE@ fi
880 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client/AGSyncProcessor.c' object='AGSyncProcessor.lo' libtool=yes @AMDEPBACKSLASH@
881 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/AGSyncProcessor.Plo' tmpdepfile='$(DEPDIR)/AGSyncProcessor.TPlo' @AMDEPBACKSLASH@
882 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
883 +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o AGSyncProcessor.lo `test -f 'client/AGSyncProcessor.c' || echo '$(srcdir)/'`client/AGSyncProcessor.c
885 +mostlyclean-libtool:
889 + -rm -rf .libs _libs
894 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
895 +install-includeHEADERS: $(include_HEADERS)
897 + $(mkinstalldirs) $(DESTDIR)$(includedir)
898 + @list='$(include_HEADERS)'; for p in $$list; do \
899 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
900 + f="`echo $$p | sed -e 's|^.*/||'`"; \
901 + echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
902 + $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
905 +uninstall-includeHEADERS:
906 + @$(NORMAL_UNINSTALL)
907 + @list='$(include_HEADERS)'; for p in $$list; do \
908 + f="`echo $$p | sed -e 's|^.*/||'`"; \
909 + echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
910 + rm -f $(DESTDIR)$(includedir)/$$f; \
913 +# This directory's subdirectories are mostly independent; you can cd
914 +# into them and run `make' without going through this Makefile.
915 +# To change the values of `make' variables: instead of editing Makefiles,
916 +# (1) if the variable is set in `config.status', edit `config.status'
917 +# (which will cause the Makefiles to be regenerated when you run `make');
918 +# (2) otherwise, pass the desired values on the `make' command line.
919 +$(RECURSIVE_TARGETS):
920 + @set fnord $$MAKEFLAGS; amf=$$2; \
922 + target=`echo $@ | sed s/-recursive//`; \
923 + list='$(SUBDIRS)'; for subdir in $$list; do \
924 + echo "Making $$target in $$subdir"; \
925 + if test "$$subdir" = "."; then \
927 + local_target="$$target-am"; \
929 + local_target="$$target"; \
931 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
932 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
934 + if test "$$dot_seen" = "no"; then \
935 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
936 + fi; test -z "$$fail"
938 +mostlyclean-recursive clean-recursive distclean-recursive \
939 +maintainer-clean-recursive:
940 + @set fnord $$MAKEFLAGS; amf=$$2; \
943 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
944 + *) list='$(SUBDIRS)' ;; \
946 + rev=''; for subdir in $$list; do \
947 + if test "$$subdir" = "."; then :; else \
948 + rev="$$subdir $$rev"; \
952 + target=`echo $@ | sed s/-recursive//`; \
953 + for subdir in $$rev; do \
954 + echo "Making $$target in $$subdir"; \
955 + if test "$$subdir" = "."; then \
956 + local_target="$$target-am"; \
958 + local_target="$$target"; \
960 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
961 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
962 + done && test -z "$$fail"
964 + list='$(SUBDIRS)'; for subdir in $$list; do \
965 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
968 + list='$(SUBDIRS)'; for subdir in $$list; do \
969 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
980 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
981 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
982 + unique=`for i in $$list; do \
983 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
985 + $(AWK) ' { files[$$0] = 1; } \
986 + END { for (i in files) print i; }'`; \
989 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
990 + $(TAGS_FILES) $(LISP)
993 + if (etags --etags-include --version) >/dev/null 2>&1; then \
994 + include_option=--etags-include; \
996 + include_option=--include; \
998 + list='$(SUBDIRS)'; for subdir in $$list; do \
999 + if test "$$subdir" = .; then :; else \
1000 + test -f $$subdir/TAGS && \
1001 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1004 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1005 + unique=`for i in $$list; do \
1006 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1008 + $(AWK) ' { files[$$0] = 1; } \
1009 + END { for (i in files) print i; }'`; \
1010 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
1011 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1015 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1016 + $(TAGS_FILES) $(LISP)
1019 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1020 + unique=`for i in $$list; do \
1021 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1023 + $(AWK) ' { files[$$0] = 1; } \
1024 + END { for (i in files) print i; }'`; \
1025 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
1026 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1030 + here=`$(am__cd) $(top_builddir) && pwd` \
1031 + && cd $(top_srcdir) \
1032 + && gtags -i $(GTAGS_ARGS) $$here
1035 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1036 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1039 +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
1041 +distdir: $(DISTFILES)
1042 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1043 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
1044 + list='$(DISTFILES)'; for file in $$list; do \
1046 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1047 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
1049 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1050 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1051 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1053 + $(mkinstalldirs) "$(distdir)$$dir"; \
1057 + if test -d $$d/$$file; then \
1058 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1059 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1061 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1063 + test -f $(distdir)/$$file \
1064 + || cp -p $$d/$$file $(distdir)/$$file \
1068 + list='$(SUBDIRS)'; for subdir in $$list; do \
1069 + if test "$$subdir" = .; then :; else \
1070 + test -d $(distdir)/$$subdir \
1071 + || mkdir $(distdir)/$$subdir \
1074 + $(MAKE) $(AM_MAKEFLAGS) \
1075 + top_distdir="$(top_distdir)" \
1076 + distdir=../$(distdir)/$$subdir \
1082 +check: check-recursive
1083 +all-am: Makefile $(LTLIBRARIES) $(HEADERS)
1084 +installdirs: installdirs-recursive
1086 + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
1088 +install: install-recursive
1089 +install-exec: install-exec-recursive
1090 +install-data: install-data-recursive
1091 +uninstall: uninstall-recursive
1094 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1096 +installcheck: installcheck-recursive
1098 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1099 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1100 + `test -z '$(STRIP)' || \
1101 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1102 +mostlyclean-generic:
1107 + -rm -f $(CONFIG_CLEAN_FILES)
1109 +maintainer-clean-generic:
1110 + @echo "This command is intended for maintainers to use"
1111 + @echo "it deletes files that may require special tools to rebuild."
1112 +clean: clean-recursive
1114 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
1117 +distclean: distclean-recursive
1118 + -rm -rf ./$(DEPDIR)
1120 +distclean-am: clean-am distclean-compile distclean-generic \
1121 + distclean-libtool distclean-tags
1127 +info: info-recursive
1131 +install-data-am: install-includeHEADERS
1133 +install-exec-am: install-libLTLIBRARIES
1135 +install-info: install-info-recursive
1141 +maintainer-clean: maintainer-clean-recursive
1142 + -rm -rf ./$(DEPDIR)
1144 +maintainer-clean-am: distclean-am maintainer-clean-generic
1146 +mostlyclean: mostlyclean-recursive
1148 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1149 + mostlyclean-libtool
1159 +uninstall-am: uninstall-includeHEADERS uninstall-info-am \
1160 + uninstall-libLTLIBRARIES
1162 +uninstall-info: uninstall-info-recursive
1164 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
1165 + clean-generic clean-libLTLIBRARIES clean-libtool \
1166 + clean-recursive ctags ctags-recursive distclean \
1167 + distclean-compile distclean-generic distclean-libtool \
1168 + distclean-recursive distclean-tags distdir dvi dvi-am \
1169 + dvi-recursive info info-am info-recursive install install-am \
1170 + install-data install-data-am install-data-recursive \
1171 + install-exec install-exec-am install-exec-recursive \
1172 + install-includeHEADERS install-info install-info-am \
1173 + install-info-recursive install-libLTLIBRARIES install-man \
1174 + install-recursive install-strip installcheck installcheck-am \
1175 + installdirs installdirs-am installdirs-recursive \
1176 + maintainer-clean maintainer-clean-generic \
1177 + maintainer-clean-recursive mostlyclean mostlyclean-compile \
1178 + mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
1179 + pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
1180 + tags-recursive uninstall uninstall-am uninstall-includeHEADERS \
1181 + uninstall-info-am uninstall-info-recursive \
1182 + uninstall-libLTLIBRARIES uninstall-recursive
1184 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
1185 +# Otherwise a system limit (for SysV at least) may be exceeded.
1187 --- agsync-0.2-pre.orig/depcomp
1188 +++ agsync-0.2-pre/depcomp
1192 +# depcomp - compile a program generating dependencies as side-effects
1193 +# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
1195 +# This program is free software; you can redistribute it and/or modify
1196 +# it under the terms of the GNU General Public License as published by
1197 +# the Free Software Foundation; either version 2, or (at your option)
1198 +# any later version.
1200 +# This program is distributed in the hope that it will be useful,
1201 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1202 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1203 +# GNU General Public License for more details.
1205 +# You should have received a copy of the GNU General Public License
1206 +# along with this program; if not, write to the Free Software
1207 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1210 +# As a special exception to the GNU General Public License, if you
1211 +# distribute this file as part of a program that contains a
1212 +# configuration script generated by Autoconf, you may include it under
1213 +# the same distribution terms that you use for the rest of that program.
1215 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
1217 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
1218 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
1221 +# `libtool' can also be set to `yes' or `no'.
1223 +if test -z "$depfile"; then
1224 + base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
1225 + dir=`echo "$object" | sed 's,/.*$,/,'`
1226 + if test "$dir" = "$object"; then
1229 + # FIXME: should be _deps on DOS.
1230 + depfile="$dir.deps/$base"
1233 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
1235 +rm -f "$tmpdepfile"
1237 +# Some modes work just like other modes, but use different flags. We
1238 +# parameterize here, but still list the modes in the big case below,
1239 +# to make depend.m4 easier to write. Note that we *cannot* use a case
1240 +# here, because this file can only contain one case statement.
1241 +if test "$depmode" = hp; then
1242 + # HP compiler uses -M and no extra arg.
1247 +if test "$depmode" = dashXmstdout; then
1248 + # This is just like dashmstdout with a different argument.
1250 + depmode=dashmstdout
1255 +## gcc 3 implements dependency tracking that does exactly what
1256 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
1257 +## it if -MD -MP comes after the -MF stuff. Hmm.
1258 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
1260 + if test $stat -eq 0; then :
1262 + rm -f "$tmpdepfile"
1265 + mv "$tmpdepfile" "$depfile"
1269 +## There are various ways to get dependency output from gcc. Here's
1270 +## why we pick this rather obscure method:
1271 +## - Don't want to use -MD because we'd like the dependencies to end
1272 +## up in a subdir. Having to rename by hand is ugly.
1273 +## (We might end up doing this anyway to support other compilers.)
1274 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
1275 +## -MM, not -M (despite what the docs say).
1276 +## - Using -M directly means running the compiler twice (even worse
1278 + if test -z "$gccflag"; then
1281 + "$@" -Wp,"$gccflag$tmpdepfile"
1283 + if test $stat -eq 0; then :
1285 + rm -f "$tmpdepfile"
1289 + echo "$object : \\" > "$depfile"
1290 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
1291 +## The second -e expression handles DOS-style file names with drive letters.
1292 + sed -e 's/^[^:]*: / /' \
1293 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
1294 +## This next piece of magic avoids the `deleted header file' problem.
1295 +## The problem is that when a header file which appears in a .P file
1296 +## is deleted, the dependency causes make to die (because there is
1297 +## typically no way to rebuild the header). We avoid this by adding
1298 +## dummy dependencies for each header file. Too bad gcc doesn't do
1299 +## this for us directly.
1301 +' < "$tmpdepfile" |
1302 +## Some versions of gcc put a space before the `:'. On the theory
1303 +## that the space means something, we add a space to the output as
1305 +## Some versions of the HPUX 10.20 sed can't process this invocation
1306 +## correctly. Breaking it into two sed invocations is a workaround.
1307 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
1308 + rm -f "$tmpdepfile"
1312 + # This case exists only to let depend.m4 do its work. It works by
1313 + # looking at the text of this script. This case will never be run,
1314 + # since it is checked for above.
1319 + if test "$libtool" = yes; then
1320 + "$@" "-Wp,-MDupdate,$tmpdepfile"
1322 + "$@" -MDupdate "$tmpdepfile"
1325 + if test $stat -eq 0; then :
1327 + rm -f "$tmpdepfile"
1332 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
1333 + echo "$object : \\" > "$depfile"
1335 + # Clip off the initial element (the dependent). Don't try to be
1336 + # clever and replace this with sed code, as IRIX sed won't handle
1337 + # lines with more than a fixed number of characters (4096 in
1338 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
1339 + # the IRIX cc adds comments like `#:fec' to the end of the
1340 + # dependency line.
1342 +' < "$tmpdepfile" \
1343 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
1348 + # The second pass generates a dummy entry for each header file.
1350 +' < "$tmpdepfile" \
1351 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
1354 + # The sourcefile does not contain any dependencies, so just
1355 + # store a dummy comment line, to avoid errors with the Makefile
1356 + # "include basename.Plo" scheme.
1357 + echo "#dummy" > "$depfile"
1359 + rm -f "$tmpdepfile"
1363 + # The C for AIX Compiler uses -M and outputs the dependencies
1364 + # in a .u file. In older versions, this file always lives in the
1365 + # current directory. Also, the AIX compiler puts `$object:' at the
1366 + # start of each line; $object doesn't have directory information.
1367 + # Version 6 uses the directory in both cases.
1368 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
1369 + tmpdepfile="$stripped.u"
1370 + if test "$libtool" = yes; then
1377 + if test -f "$tmpdepfile"; then :
1379 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
1380 + tmpdepfile="$stripped.u"
1383 + if test $stat -eq 0; then :
1385 + rm -f "$tmpdepfile"
1389 + if test -f "$tmpdepfile"; then
1390 + outname="$stripped.o"
1391 + # Each line is of the form `foo.o: dependent.h'.
1392 + # Do two passes, one to just change these to
1393 + # `$object: dependent.h' and one to simply `dependent.h:'.
1394 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
1395 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
1397 + # The sourcefile does not contain any dependencies, so just
1398 + # store a dummy comment line, to avoid errors with the Makefile
1399 + # "include basename.Plo" scheme.
1400 + echo "#dummy" > "$depfile"
1402 + rm -f "$tmpdepfile"
1406 + # Intel's C compiler understands `-MD -MF file'. However on
1407 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
1408 + # ICC 7.0 will fill foo.d with something like
1409 + # foo.o: sub/foo.c
1410 + # foo.o: sub/foo.h
1411 + # which is wrong. We want:
1412 + # sub/foo.o: sub/foo.c
1413 + # sub/foo.o: sub/foo.h
1416 + # ICC 7.1 will output
1417 + # foo.o: sub/foo.c sub/foo.h
1418 + # and will wrap long lines using \ :
1419 + # foo.o: sub/foo.c ... \
1423 + "$@" -MD -MF "$tmpdepfile"
1425 + if test $stat -eq 0; then :
1427 + rm -f "$tmpdepfile"
1431 + # Each line is of the form `foo.o: dependent.h',
1432 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
1433 + # Do two passes, one to just change these to
1434 + # `$object: dependent.h' and one to simply `dependent.h:'.
1435 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
1436 + # Some versions of the HPUX 10.20 sed can't process this invocation
1437 + # correctly. Breaking it into two sed invocations is a workaround.
1438 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
1439 + sed -e 's/$/ :/' >> "$depfile"
1440 + rm -f "$tmpdepfile"
1444 + # The Tru64 compiler uses -MD to generate dependencies as a side
1445 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
1446 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
1447 + # dependencies in `foo.d' instead, so we check for that too.
1448 + # Subdirectories are respected.
1449 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
1450 + test "x$dir" = "x$object" && dir=
1451 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
1453 + if test "$libtool" = yes; then
1454 + tmpdepfile1="$dir.libs/$base.lo.d"
1455 + tmpdepfile2="$dir.libs/$base.d"
1458 + tmpdepfile1="$dir$base.o.d"
1459 + tmpdepfile2="$dir$base.d"
1464 + if test $stat -eq 0; then :
1466 + rm -f "$tmpdepfile1" "$tmpdepfile2"
1470 + if test -f "$tmpdepfile1"; then
1471 + tmpdepfile="$tmpdepfile1"
1473 + tmpdepfile="$tmpdepfile2"
1475 + if test -f "$tmpdepfile"; then
1476 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
1477 + # That's a tab and a space in the [].
1478 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
1480 + echo "#dummy" > "$depfile"
1482 + rm -f "$tmpdepfile"
1486 + # This comment above is used by automake to tell side-effect
1487 + # dependency tracking mechanisms from slower ones.
1490 + # Important note: in order to support this mode, a compiler *must*
1491 + # always write the preprocessed file to stdout, regardless of -o.
1494 + # Remove the call to Libtool.
1495 + if test "$libtool" = yes; then
1496 + while test $1 != '--mode=compile'; do
1502 + # Remove `-o $object'.
1514 + set fnord "$@" "$arg"
1521 + test -z "$dashmflag" && dashmflag=-M
1522 + # Require at least two characters before searching for `:'
1523 + # in the target name. This is to cope with DOS-style filenames:
1524 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
1526 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
1528 + cat < "$tmpdepfile" > "$depfile"
1530 +' < "$tmpdepfile" | \
1531 +## Some versions of the HPUX 10.20 sed can't process this invocation
1532 +## correctly. Breaking it into two sed invocations is a workaround.
1533 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
1534 + rm -f "$tmpdepfile"
1538 + # This case only exists to satisfy depend.m4. It is never actually
1539 + # run, as this mode is specially recognized in the preamble.
1545 + # Remove any Libtool call
1546 + if test "$libtool" = yes; then
1547 + while test $1 != '--mode=compile'; do
1555 + for arg in "$@"; do
1563 + set fnord "$@" "$arg"; shift ;;
1564 + # Strip any option that makedepend may not understand. Remove
1565 + # the object too, otherwise makedepend will parse it as a source file.
1569 + set fnord "$@" "$arg"; shift ;;
1572 + obj_suffix="`echo $object | sed 's/^.*\././'`"
1573 + touch "$tmpdepfile"
1574 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
1576 + cat < "$tmpdepfile" > "$depfile"
1577 + sed '1,2d' "$tmpdepfile" | tr ' ' '
1579 +## Some versions of the HPUX 10.20 sed can't process this invocation
1580 +## correctly. Breaking it into two sed invocations is a workaround.
1581 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
1582 + rm -f "$tmpdepfile" "$tmpdepfile".bak
1586 + # Important note: in order to support this mode, a compiler *must*
1587 + # always write the preprocessed file to stdout.
1590 + # Remove the call to Libtool.
1591 + if test "$libtool" = yes; then
1592 + while test $1 != '--mode=compile'; do
1598 + # Remove `-o $object'.
1610 + set fnord "$@" "$arg"
1618 + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
1619 + sed '$ s: \\$::' > "$tmpdepfile"
1621 + echo "$object : \\" > "$depfile"
1622 + cat < "$tmpdepfile" >> "$depfile"
1623 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
1624 + rm -f "$tmpdepfile"
1628 + # Important note: in order to support this mode, a compiler *must*
1629 + # always write the preprocessed file to stdout, regardless of -o,
1630 + # because we must use -o when running libtool.
1636 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
1642 + set fnord "$@" "$arg"
1649 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
1651 + echo "$object : \\" > "$depfile"
1652 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
1653 + echo " " >> "$depfile"
1654 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
1655 + rm -f "$tmpdepfile"
1663 + echo "Unknown depmode $depmode" 1>&2
1669 --- agsync-0.2-pre.orig/aclocal.m4
1670 +++ agsync-0.2-pre/aclocal.m4
1672 +# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
1674 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
1675 +# Free Software Foundation, Inc.
1676 +# This file is free software; the Free Software Foundation
1677 +# gives unlimited permission to copy and/or distribute it,
1678 +# with or without modifications, as long as this notice is preserved.
1680 +# This program is distributed in the hope that it will be useful,
1681 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1682 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1683 +# PARTICULAR PURPOSE.
1685 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
1687 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1689 +# This program is free software; you can redistribute it and/or modify
1690 +# it under the terms of the GNU General Public License as published by
1691 +# the Free Software Foundation; either version 2, or (at your option)
1692 +# any later version.
1694 +# This program is distributed in the hope that it will be useful,
1695 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1696 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1697 +# GNU General Public License for more details.
1699 +# You should have received a copy of the GNU General Public License
1700 +# along with this program; if not, write to the Free Software
1701 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1708 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1709 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1711 +# Do all the work for Automake. -*- Autoconf -*-
1713 +# This macro actually does too much some checks are only needed if
1714 +# your package does certain things. But this isn't really a big deal.
1716 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
1717 +# Free Software Foundation, Inc.
1719 +# This program is free software; you can redistribute it and/or modify
1720 +# it under the terms of the GNU General Public License as published by
1721 +# the Free Software Foundation; either version 2, or (at your option)
1722 +# any later version.
1724 +# This program is distributed in the hope that it will be useful,
1725 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1726 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1727 +# GNU General Public License for more details.
1729 +# You should have received a copy of the GNU General Public License
1730 +# along with this program; if not, write to the Free Software
1731 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1738 +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1739 +# the ones we care about.
1740 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1742 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1743 +# AM_INIT_AUTOMAKE([OPTIONS])
1744 +# -----------------------------------------------
1745 +# The call with PACKAGE and VERSION arguments is the old style
1746 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
1747 +# and VERSION should now be passed to AC_INIT and removed from
1748 +# the call to AM_INIT_AUTOMAKE.
1749 +# We support both call styles for the transition. After
1750 +# the next Automake release, Autoconf can make the AC_INIT
1751 +# arguments mandatory, and then we can depend on a new Autoconf
1752 +# release and drop the old call support.
1753 +AC_DEFUN([AM_INIT_AUTOMAKE],
1754 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1755 + AC_REQUIRE([AC_PROG_INSTALL])dnl
1756 +# test to see if srcdir already configured
1757 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
1758 + test -f $srcdir/config.status; then
1759 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1762 +# test whether we have cygpath
1763 +if test -z "$CYGPATH_W"; then
1764 + if (cygpath --version) >/dev/null 2>/dev/null; then
1765 + CYGPATH_W='cygpath -w'
1770 +AC_SUBST([CYGPATH_W])
1772 +# Define the identity of the package.
1773 +dnl Distinguish between old-style and new-style calls.
1775 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1776 + AC_SUBST([PACKAGE], [$1])dnl
1777 + AC_SUBST([VERSION], [$2])],
1778 +[_AM_SET_OPTIONS([$1])dnl
1779 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1780 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1782 +_AM_IF_OPTION([no-define],,
1783 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1784 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1786 +# Some tools Automake needs.
1787 +AC_REQUIRE([AM_SANITY_CHECK])dnl
1788 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
1789 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1790 +AM_MISSING_PROG(AUTOCONF, autoconf)
1791 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1792 +AM_MISSING_PROG(AUTOHEADER, autoheader)
1793 +AM_MISSING_PROG(MAKEINFO, makeinfo)
1794 +AM_MISSING_PROG(AMTAR, tar)
1796 +AM_PROG_INSTALL_STRIP
1797 +# We need awk for the "check" target. The system "awk" is bad on
1799 +AC_REQUIRE([AC_PROG_AWK])dnl
1800 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1801 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1803 +_AM_IF_OPTION([no-dependencies],,
1804 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
1805 + [_AM_DEPENDENCIES(CC)],
1806 + [define([AC_PROG_CC],
1807 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1808 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
1809 + [_AM_DEPENDENCIES(CXX)],
1810 + [define([AC_PROG_CXX],
1811 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1816 +# When config.status generates a header, we must update the stamp-h file.
1817 +# This file resides in the same directory as the config header
1818 +# that is generated. The stamp files are numbered to have different names.
1820 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1821 +# loop where config.status creates the headers, so we can generate
1822 +# our stamp files there.
1823 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1824 +[# Compute $1's index in $config_headers.
1826 +for _am_header in $config_headers :; do
1827 + case $_am_header in
1831 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1834 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1836 +# Copyright 2002 Free Software Foundation, Inc.
1838 +# This program is free software; you can redistribute it and/or modify
1839 +# it under the terms of the GNU General Public License as published by
1840 +# the Free Software Foundation; either version 2, or (at your option)
1841 +# any later version.
1843 +# This program is distributed in the hope that it will be useful,
1844 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1845 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1846 +# GNU General Public License for more details.
1848 +# You should have received a copy of the GNU General Public License
1849 +# along with this program; if not, write to the Free Software
1850 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1852 +# AM_AUTOMAKE_VERSION(VERSION)
1853 +# ----------------------------
1854 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
1855 +# generated from the m4 files accompanying Automake X.Y.
1856 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
1858 +# AM_SET_CURRENT_AUTOMAKE_VERSION
1859 +# -------------------------------
1860 +# Call AM_AUTOMAKE_VERSION so it can be traced.
1861 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1862 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1863 + [AM_AUTOMAKE_VERSION([1.7.9])])
1865 +# Helper functions for option handling. -*- Autoconf -*-
1867 +# Copyright 2001, 2002 Free Software Foundation, Inc.
1869 +# This program is free software; you can redistribute it and/or modify
1870 +# it under the terms of the GNU General Public License as published by
1871 +# the Free Software Foundation; either version 2, or (at your option)
1872 +# any later version.
1874 +# This program is distributed in the hope that it will be useful,
1875 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1876 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1877 +# GNU General Public License for more details.
1879 +# You should have received a copy of the GNU General Public License
1880 +# along with this program; if not, write to the Free Software
1881 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1886 +# _AM_MANGLE_OPTION(NAME)
1887 +# -----------------------
1888 +AC_DEFUN([_AM_MANGLE_OPTION],
1889 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1891 +# _AM_SET_OPTION(NAME)
1892 +# ------------------------------
1893 +# Set option NAME. Presently that only means defining a flag for this option.
1894 +AC_DEFUN([_AM_SET_OPTION],
1895 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1897 +# _AM_SET_OPTIONS(OPTIONS)
1898 +# ----------------------------------
1899 +# OPTIONS is a space-separated list of Automake options.
1900 +AC_DEFUN([_AM_SET_OPTIONS],
1901 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1903 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1904 +# -------------------------------------------
1905 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1906 +AC_DEFUN([_AM_IF_OPTION],
1907 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1910 +# Check to make sure that the build environment is sane.
1913 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1915 +# This program is free software; you can redistribute it and/or modify
1916 +# it under the terms of the GNU General Public License as published by
1917 +# the Free Software Foundation; either version 2, or (at your option)
1918 +# any later version.
1920 +# This program is distributed in the hope that it will be useful,
1921 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1922 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1923 +# GNU General Public License for more details.
1925 +# You should have received a copy of the GNU General Public License
1926 +# along with this program; if not, write to the Free Software
1927 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1934 +AC_DEFUN([AM_SANITY_CHECK],
1935 +[AC_MSG_CHECKING([whether build environment is sane])
1938 +echo timestamp > conftest.file
1939 +# Do `set' in a subshell so we don't clobber the current shell's
1940 +# arguments. Must try -L first in case configure is actually a
1941 +# symlink; some systems play weird games with the mod time of symlinks
1942 +# (eg FreeBSD returns the mod time of the symlink's containing
1945 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1946 + if test "$[*]" = "X"; then
1948 + set X `ls -t $srcdir/configure conftest.file`
1950 + rm -f conftest.file
1951 + if test "$[*]" != "X $srcdir/configure conftest.file" \
1952 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
1954 + # If neither matched, then we have a broken ls. This can happen
1955 + # if, for instance, CONFIG_SHELL is bash and it inherits a
1956 + # broken ls alias from the environment. This has actually
1957 + # happened. Such a system could not be considered "sane".
1958 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1959 +alias in your environment])
1962 + test "$[2]" = conftest.file
1968 + AC_MSG_ERROR([newly created file is older than distributed files!
1969 +Check your system clock])
1971 +AC_MSG_RESULT(yes)])
1976 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
1978 +# This program is free software; you can redistribute it and/or modify
1979 +# it under the terms of the GNU General Public License as published by
1980 +# the Free Software Foundation; either version 2, or (at your option)
1981 +# any later version.
1983 +# This program is distributed in the hope that it will be useful,
1984 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1985 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1986 +# GNU General Public License for more details.
1988 +# You should have received a copy of the GNU General Public License
1989 +# along with this program; if not, write to the Free Software
1990 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1995 +# AM_MISSING_PROG(NAME, PROGRAM)
1996 +# ------------------------------
1997 +AC_DEFUN([AM_MISSING_PROG],
1998 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
1999 +$1=${$1-"${am_missing_run}$2"}
2003 +# AM_MISSING_HAS_RUN
2004 +# ------------------
2005 +# Define MISSING if not defined so far and test if it supports --run.
2006 +# If it does, set am_missing_run to use it, otherwise, to nothing.
2007 +AC_DEFUN([AM_MISSING_HAS_RUN],
2008 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2009 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2010 +# Use eval to expand $SHELL
2011 +if eval "$MISSING --run true"; then
2012 + am_missing_run="$MISSING --run "
2015 + AC_MSG_WARN([`missing' script is too old or missing])
2019 +# AM_AUX_DIR_EXPAND
2021 +# Copyright 2001 Free Software Foundation, Inc.
2023 +# This program is free software; you can redistribute it and/or modify
2024 +# it under the terms of the GNU General Public License as published by
2025 +# the Free Software Foundation; either version 2, or (at your option)
2026 +# any later version.
2028 +# This program is distributed in the hope that it will be useful,
2029 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2030 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2031 +# GNU General Public License for more details.
2033 +# You should have received a copy of the GNU General Public License
2034 +# along with this program; if not, write to the Free Software
2035 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2038 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
2039 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
2040 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
2042 +# Of course, Automake must honor this variable whenever it calls a
2043 +# tool from the auxiliary directory. The problem is that $srcdir (and
2044 +# therefore $ac_aux_dir as well) can be either absolute or relative,
2045 +# depending on how configure is run. This is pretty annoying, since
2046 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
2047 +# source directory, any form will work fine, but in subdirectories a
2048 +# relative path needs to be adjusted first.
2050 +# $ac_aux_dir/missing
2051 +# fails when called from a subdirectory if $ac_aux_dir is relative
2052 +# $top_srcdir/$ac_aux_dir/missing
2053 +# fails if $ac_aux_dir is absolute,
2054 +# fails when called from a subdirectory in a VPATH build with
2055 +# a relative $ac_aux_dir
2057 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
2058 +# are both prefixed by $srcdir. In an in-source build this is usually
2059 +# harmless because $srcdir is `.', but things will broke when you
2060 +# start a VPATH build or use an absolute $srcdir.
2062 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
2063 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
2064 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
2065 +# and then we would define $MISSING as
2066 +# MISSING="\${SHELL} $am_aux_dir/missing"
2067 +# This will work as long as MISSING is not called from configure, because
2068 +# unfortunately $(top_srcdir) has no meaning in configure.
2069 +# However there are other variables, like CC, which are often used in
2070 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
2072 +# Another solution, used here, is to always expand $ac_aux_dir to an
2073 +# absolute PATH. The drawback is that using absolute paths prevent a
2074 +# configured tree to be moved without reconfiguration.
2076 +# Rely on autoconf to set up CDPATH properly.
2079 +AC_DEFUN([AM_AUX_DIR_EXPAND], [
2080 +# expand $ac_aux_dir to an absolute path
2081 +am_aux_dir=`cd $ac_aux_dir && pwd`
2084 +# AM_PROG_INSTALL_SH
2085 +# ------------------
2086 +# Define $install_sh.
2088 +# Copyright 2001 Free Software Foundation, Inc.
2090 +# This program is free software; you can redistribute it and/or modify
2091 +# it under the terms of the GNU General Public License as published by
2092 +# the Free Software Foundation; either version 2, or (at your option)
2093 +# any later version.
2095 +# This program is distributed in the hope that it will be useful,
2096 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2097 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2098 +# GNU General Public License for more details.
2100 +# You should have received a copy of the GNU General Public License
2101 +# along with this program; if not, write to the Free Software
2102 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2105 +AC_DEFUN([AM_PROG_INSTALL_SH],
2106 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2107 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
2108 +AC_SUBST(install_sh)])
2110 +# AM_PROG_INSTALL_STRIP
2112 +# Copyright 2001 Free Software Foundation, Inc.
2114 +# This program is free software; you can redistribute it and/or modify
2115 +# it under the terms of the GNU General Public License as published by
2116 +# the Free Software Foundation; either version 2, or (at your option)
2117 +# any later version.
2119 +# This program is distributed in the hope that it will be useful,
2120 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2121 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2122 +# GNU General Public License for more details.
2124 +# You should have received a copy of the GNU General Public License
2125 +# along with this program; if not, write to the Free Software
2126 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2129 +# One issue with vendor `install' (even GNU) is that you can't
2130 +# specify the program used to strip binaries. This is especially
2131 +# annoying in cross-compiling environments, where the build's strip
2132 +# is unlikely to handle the host's binaries.
2133 +# Fortunately install-sh will honor a STRIPPROG variable, so we
2134 +# always use install-sh in `make install-strip', and initialize
2135 +# STRIPPROG with the value of the STRIP variable (set by the user).
2136 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
2137 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2138 +# Installed binaries are usually stripped using `strip' when the user
2139 +# run `make install-strip'. However `strip' might not be the right
2140 +# tool to use in cross-compilation environments, therefore Automake
2141 +# will honor the `STRIP' environment variable to overrule this program.
2142 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2143 +if test "$cross_compiling" != no; then
2144 + AC_CHECK_TOOL([STRIP], [strip], :)
2146 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2147 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
2150 +# Copyright (C) 2003 Free Software Foundation, Inc.
2152 +# This program is free software; you can redistribute it and/or modify
2153 +# it under the terms of the GNU General Public License as published by
2154 +# the Free Software Foundation; either version 2, or (at your option)
2155 +# any later version.
2157 +# This program is distributed in the hope that it will be useful,
2158 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2159 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2160 +# GNU General Public License for more details.
2162 +# You should have received a copy of the GNU General Public License
2163 +# along with this program; if not, write to the Free Software
2164 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2169 +# Check whether the underlying file-system supports filenames
2170 +# with a leading dot. For instance MS-DOS doesn't.
2171 +AC_DEFUN([AM_SET_LEADING_DOT],
2172 +[rm -rf .tst 2>/dev/null
2173 +mkdir .tst 2>/dev/null
2174 +if test -d .tst; then
2179 +rmdir .tst 2>/dev/null
2180 +AC_SUBST([am__leading_dot])])
2182 +# serial 5 -*- Autoconf -*-
2184 +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
2186 +# This program is free software; you can redistribute it and/or modify
2187 +# it under the terms of the GNU General Public License as published by
2188 +# the Free Software Foundation; either version 2, or (at your option)
2189 +# any later version.
2191 +# This program is distributed in the hope that it will be useful,
2192 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2193 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2194 +# GNU General Public License for more details.
2196 +# You should have received a copy of the GNU General Public License
2197 +# along with this program; if not, write to the Free Software
2198 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2202 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2203 +# written in clear, in which case automake, when reading aclocal.m4,
2204 +# will think it sees a *use*, and therefore will trigger all it's
2205 +# C support machinery. Also note that it means that autoscan, seeing
2206 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
2210 +# _AM_DEPENDENCIES(NAME)
2211 +# ----------------------
2212 +# See how the compiler implements dependency checking.
2213 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
2214 +# We try a few techniques and use that to set a single cache variable.
2216 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
2217 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
2218 +# dependency, and given that the user is not expected to run this macro,
2219 +# just rely on AC_PROG_CC.
2220 +AC_DEFUN([_AM_DEPENDENCIES],
2221 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
2222 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
2223 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
2224 +AC_REQUIRE([AM_DEP_TRACK])dnl
2226 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
2227 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
2228 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
2229 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
2230 + [depcc="$$1" am_compiler_list=])
2232 +AC_CACHE_CHECK([dependency style of $depcc],
2233 + [am_cv_$1_dependencies_compiler_type],
2234 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2235 + # We make a subdir and do the tests there. Otherwise we can end up
2236 + # making bogus files that we don't know about and never remove. For
2237 + # instance it was reported that on HP-UX the gcc test will end up
2238 + # making a dummy file named `D' -- because `-MD' means `put the output
2240 + mkdir conftest.dir
2241 + # Copy depcomp to subdir because otherwise we won't find it if we're
2242 + # using a relative directory.
2243 + cp "$am_depcomp" conftest.dir
2245 + # We will build objects and dependencies in a subdirectory because
2246 + # it helps to detect inapplicable dependency modes. For instance
2247 + # both Tru64's cc and ICC support -MD to output dependencies as a
2248 + # side effect of compilation, but ICC will put the dependencies in
2249 + # the current directory while Tru64 will put them in the object
2253 + am_cv_$1_dependencies_compiler_type=none
2254 + if test "$am_compiler_list" = ""; then
2255 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
2257 + for depmode in $am_compiler_list; do
2258 + # Setup a source with many dependencies, because some compilers
2259 + # like to wrap large dependency lists on column 80 (with \), and
2260 + # we should not choose a depcomp mode which is confused by this.
2262 + # We need to recreate these files for each test, as the compiler may
2263 + # overwrite some of them when testing with obscure command lines.
2264 + # This happens at least with the AIX C compiler.
2265 + : > sub/conftest.c
2266 + for i in 1 2 3 4 5 6; do
2267 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
2268 + : > sub/conftst$i.h
2270 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2274 + # after this tag, mechanisms are not by side-effect, so they'll
2275 + # only be used when explicitly requested
2276 + if test "x$enable_dependency_tracking" = xyes; then
2284 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
2285 + # mode. It turns out that the SunPro C++ compiler does not properly
2286 + # handle `-M -o', and we need to detect this.
2287 + if depmode=$depmode \
2288 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2289 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2290 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2291 + >/dev/null 2>conftest.err &&
2292 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2293 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2294 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2295 + # icc doesn't choke on unknown options, it will just issue warnings
2296 + # (even with -Werror). So we grep stderr for any message
2297 + # that says an option was ignored.
2298 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2299 + am_cv_$1_dependencies_compiler_type=$depmode
2306 + rm -rf conftest.dir
2308 + am_cv_$1_dependencies_compiler_type=none
2311 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
2312 +AM_CONDITIONAL([am__fastdep$1], [
2313 + test "x$enable_dependency_tracking" != xno \
2314 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
2320 +# Choose a directory name for dependency files.
2321 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2322 +AC_DEFUN([AM_SET_DEPDIR],
2323 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2324 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
2330 +AC_DEFUN([AM_DEP_TRACK],
2331 +[AC_ARG_ENABLE(dependency-tracking,
2332 +[ --disable-dependency-tracking Speeds up one-time builds
2333 + --enable-dependency-tracking Do not reject slow dependency extractors])
2334 +if test "x$enable_dependency_tracking" != xno; then
2335 + am_depcomp="$ac_aux_dir/depcomp"
2336 + AMDEPBACKSLASH='\'
2338 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2339 +AC_SUBST([AMDEPBACKSLASH])
2342 +# Generate code to set up dependency tracking. -*- Autoconf -*-
2344 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2346 +# This program is free software; you can redistribute it and/or modify
2347 +# it under the terms of the GNU General Public License as published by
2348 +# the Free Software Foundation; either version 2, or (at your option)
2349 +# any later version.
2351 +# This program is distributed in the hope that it will be useful,
2352 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2353 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2354 +# GNU General Public License for more details.
2356 +# You should have received a copy of the GNU General Public License
2357 +# along with this program; if not, write to the Free Software
2358 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2363 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
2364 +# ------------------------------
2365 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2366 +[for mf in $CONFIG_FILES; do
2367 + # Strip MF so we end up with the name of the file.
2368 + mf=`echo "$mf" | sed -e 's/:.*$//'`
2369 + # Check whether this is an Automake generated Makefile or not.
2370 + # We used to match only the files named `Makefile.in', but
2371 + # some people rename them; so instead we look at the file content.
2372 + # Grep'ing the first line is not enough: some people post-process
2373 + # each Makefile.in and add a new line on top of each file to say so.
2374 + # So let's grep whole file.
2375 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
2376 + dirpart=`AS_DIRNAME("$mf")`
2380 + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
2381 + # Extract the definition of DEP_FILES from the Makefile without
2383 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2384 + test -z "$DEPDIR" && continue
2385 + # When using ansi2knr, U may be empty or an underscore; expand it
2386 + U=`sed -n -e '/^U = / s///p' < "$mf"`
2387 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2388 + # We invoke sed twice because it is the simplest approach to
2389 + # changing $(DEPDIR) to its actual value in the expansion.
2390 + for file in `sed -n -e '
2391 + /^DEP_FILES = .*\\\\$/ {
2400 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2401 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2402 + # Make sure the directory exists.
2403 + test -f "$dirpart/$file" && continue
2404 + fdir=`AS_DIRNAME(["$file"])`
2405 + AS_MKDIR_P([$dirpart/$fdir])
2406 + # echo "creating $dirpart/$file"
2407 + echo '# dummy' > "$dirpart/$file"
2410 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2413 +# AM_OUTPUT_DEPENDENCY_COMMANDS
2414 +# -----------------------------
2415 +# This macro should only be invoked once -- use via AC_REQUIRE.
2417 +# This code is only required when automatic dependency tracking
2418 +# is enabled. FIXME. This creates each `.P' file that we will
2419 +# need in order to bootstrap the dependency handling code.
2420 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
2421 +[AC_CONFIG_COMMANDS([depfiles],
2422 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
2423 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
2426 +# Check to see how 'make' treats includes. -*- Autoconf -*-
2428 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2430 +# This program is free software; you can redistribute it and/or modify
2431 +# it under the terms of the GNU General Public License as published by
2432 +# the Free Software Foundation; either version 2, or (at your option)
2433 +# any later version.
2435 +# This program is distributed in the hope that it will be useful,
2436 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2437 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2438 +# GNU General Public License for more details.
2440 +# You should have received a copy of the GNU General Public License
2441 +# along with this program; if not, write to the Free Software
2442 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2447 +# AM_MAKE_INCLUDE()
2448 +# -----------------
2449 +# Check to see how make treats includes.
2450 +AC_DEFUN([AM_MAKE_INCLUDE],
2451 +[am_make=${MAKE-make}
2452 +cat > confinc << 'END'
2457 +# If we don't find an include directive, just comment out the code.
2458 +AC_MSG_CHECKING([for style of include used by $am_make])
2462 +# First try GNU make style include.
2463 +echo "include confinc" > confmf
2464 +# We grep out `Entering directory' and `Leaving directory'
2465 +# messages which can occur if `w' ends up in MAKEFLAGS.
2466 +# In particular we don't look at `^make:' because GNU make might
2467 +# be invoked under some other name (usually "gmake"), in which
2468 +# case it prints its new name instead of `make'.
2469 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2470 + am__include=include
2474 +# Now try BSD make style include.
2475 +if test "$am__include" = "#"; then
2476 + echo '.include "confinc"' > confmf
2477 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2478 + am__include=.include
2483 +AC_SUBST([am__include])
2484 +AC_SUBST([am__quote])
2485 +AC_MSG_RESULT([$_am_result])
2486 +rm -f confinc confmf
2489 +# AM_CONDITIONAL -*- Autoconf -*-
2491 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
2493 +# This program is free software; you can redistribute it and/or modify
2494 +# it under the terms of the GNU General Public License as published by
2495 +# the Free Software Foundation; either version 2, or (at your option)
2496 +# any later version.
2498 +# This program is distributed in the hope that it will be useful,
2499 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2500 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2501 +# GNU General Public License for more details.
2503 +# You should have received a copy of the GNU General Public License
2504 +# along with this program; if not, write to the Free Software
2505 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2512 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
2513 +# -------------------------------------
2514 +# Define a conditional.
2515 +AC_DEFUN([AM_CONDITIONAL],
2516 +[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
2517 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2518 +AC_SUBST([$1_TRUE])
2519 +AC_SUBST([$1_FALSE])
2527 +AC_CONFIG_COMMANDS_PRE(
2528 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2529 + AC_MSG_ERROR([conditional "$1" was never defined.
2530 +Usually this means the macro was only invoked conditionally.])
2533 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2535 +# serial 47 AC_PROG_LIBTOOL
2536 +# Debian $Rev: 214 $
2539 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2540 +# -----------------------------------------------------------
2541 +# If this macro is not defined by Autoconf, define it here.
2542 +m4_ifdef([AC_PROVIDE_IFELSE],
2544 + [m4_define([AC_PROVIDE_IFELSE],
2545 + [m4_ifdef([AC_PROVIDE_$1],
2551 +AC_DEFUN([AC_PROG_LIBTOOL],
2552 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
2553 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
2554 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
2555 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
2557 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
2559 +dnl And a similar setup for Fortran 77 support
2560 + AC_PROVIDE_IFELSE([AC_PROG_F77],
2562 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
2565 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
2566 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
2567 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
2568 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2570 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2572 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
2574 + [ifdef([AC_PROG_GCJ],
2575 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2576 + ifdef([A][M_PROG_GCJ],
2577 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2578 + ifdef([LT_AC_PROG_GCJ],
2579 + [define([LT_AC_PROG_GCJ],
2580 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
2581 +])])# AC_PROG_LIBTOOL
2586 +AC_DEFUN([_AC_PROG_LIBTOOL],
2587 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
2588 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
2589 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
2590 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
2592 +# This can be used to rebuild libtool when needed
2593 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
2595 +# Always use our own libtool.
2596 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2597 +AC_SUBST(LIBTOOL)dnl
2599 +# Prevent multiple expansion
2600 +define([AC_PROG_LIBTOOL], [])
2601 +])# _AC_PROG_LIBTOOL
2606 +AC_DEFUN([AC_LIBTOOL_SETUP],
2607 +[AC_PREREQ(2.50)dnl
2608 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
2609 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
2610 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
2611 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
2612 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2613 +AC_REQUIRE([AC_PROG_CC])dnl
2614 +AC_REQUIRE([AC_PROG_LD])dnl
2615 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
2616 +AC_REQUIRE([AC_PROG_NM])dnl
2618 +AC_REQUIRE([AC_PROG_LN_S])dnl
2619 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
2620 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2621 +AC_REQUIRE([AC_OBJEXT])dnl
2622 +AC_REQUIRE([AC_EXEEXT])dnl
2625 +AC_LIBTOOL_SYS_MAX_CMD_LEN
2626 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2629 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
2630 +_LT_AC_PROG_ECHO_BACKSLASH
2634 + # AIX sometimes has problems with the GCC collect2 program. For some
2635 + # reason, if we set the COLLECT_NAMES environment variable, the problems
2636 + # vanish in a puff of smoke.
2637 + if test "X${COLLECT_NAMES+set}" != Xset; then
2639 + export COLLECT_NAMES
2644 +# Sed substitution that helps us do robust quoting. It backslashifies
2645 +# metacharacters that are still active within double-quoted strings.
2646 +Xsed='sed -e s/^X//'
2647 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
2649 +# Same as above, but do not quote variable references.
2650 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
2652 +# Sed substitution to delay expansion of an escaped shell variable in a
2653 +# double_quote_subst'ed string.
2654 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2656 +# Sed substitution to avoid accidental globbing in evaled expressions
2657 +no_glob_subst='s/\*/\\\*/g'
2662 +# Global variables:
2663 +default_ofile=libtool
2664 +can_build_shared=yes
2666 +# All known linkers require a `.a' archive for static linking (except M$VC,
2667 +# which needs '.lib').
2669 +ltmain="$ac_aux_dir/ltmain.sh"
2670 +ofile="$default_ofile"
2671 +with_gnu_ld="$lt_cv_prog_gnu_ld"
2673 +AC_CHECK_TOOL(AR, ar, false)
2674 +AC_CHECK_TOOL(RANLIB, ranlib, :)
2675 +AC_CHECK_TOOL(STRIP, strip, :)
2678 +old_CFLAGS="$CFLAGS"
2680 +# Set sane defaults for various variables
2681 +test -z "$AR" && AR=ar
2682 +test -z "$AR_FLAGS" && AR_FLAGS=cru
2683 +test -z "$AS" && AS=as
2684 +test -z "$CC" && CC=cc
2685 +test -z "$LTCC" && LTCC=$CC
2686 +test -z "$DLLTOOL" && DLLTOOL=dlltool
2687 +test -z "$LD" && LD=ld
2688 +test -z "$LN_S" && LN_S="ln -s"
2689 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
2690 +test -z "$NM" && NM=nm
2691 +test -z "$SED" && SED=sed
2692 +test -z "$OBJDUMP" && OBJDUMP=objdump
2693 +test -z "$RANLIB" && RANLIB=:
2694 +test -z "$STRIP" && STRIP=:
2695 +test -z "$ac_objext" && ac_objext=o
2697 +# Determine commands to create old-style static archives.
2698 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
2699 +old_postinstall_cmds='chmod 644 $oldlib'
2700 +old_postuninstall_cmds=
2702 +if test -n "$RANLIB"; then
2705 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
2708 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
2711 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2714 +# Only perform the check for file, if the check method requires it
2715 +case $deplibs_check_method in
2717 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2723 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
2724 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
2725 +enable_win32_dll=yes, enable_win32_dll=no)
2727 +AC_ARG_ENABLE([libtool-lock],
2728 + [AC_HELP_STRING([--disable-libtool-lock],
2729 + [avoid locking (might break parallel builds)])])
2730 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2733 + [AC_HELP_STRING([--with-pic],
2734 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
2735 + [pic_mode="$withval"],
2736 + [pic_mode=default])
2737 +test -z "$pic_mode" && pic_mode=default
2739 +# Use C for the default configuration in the libtool script
2741 +AC_LIBTOOL_LANG_C_CONFIG
2743 +])# AC_LIBTOOL_SETUP
2746 +# _LT_AC_SYS_COMPILER
2747 +# -------------------
2748 +AC_DEFUN([_LT_AC_SYS_COMPILER],
2749 +[AC_REQUIRE([AC_PROG_CC])dnl
2751 +# If no C compiler was specified, use CC.
2754 +# Allow CC to be a program name with arguments.
2756 +])# _LT_AC_SYS_COMPILER
2759 +# _LT_AC_SYS_LIBPATH_AIX
2760 +# ----------------------
2761 +# Links a minimal program and checks the executable
2762 +# for the system default hardcoded library path. In most cases,
2763 +# this is /usr/lib:/lib, but when the MPI compilers are used
2764 +# the location of the communication and MPI libs are included too.
2765 +# If we don't find anything, use the default library path according
2766 +# to the aix ld manual.
2767 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
2768 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2769 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
2771 +# Check for a 64-bit object if we didn't find anything.
2772 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
2774 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2775 +])# _LT_AC_SYS_LIBPATH_AIX
2778 +# _LT_AC_SHELL_INIT(ARG)
2779 +# ----------------------
2780 +AC_DEFUN([_LT_AC_SHELL_INIT],
2781 +[ifdef([AC_DIVERSION_NOTICE],
2782 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2783 + [AC_DIVERT_PUSH(NOTICE)])
2786 +])# _LT_AC_SHELL_INIT
2789 +# _LT_AC_PROG_ECHO_BACKSLASH
2790 +# --------------------------
2791 +# Add some code to the start of the generated configure script which
2792 +# will find an echo command which doesn't interpret backslashes.
2793 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
2794 +[_LT_AC_SHELL_INIT([
2795 +# Check that we are running under the correct shell.
2796 +SHELL=${CONFIG_SHELL-/bin/sh}
2800 + # Remove one level of quotation (which was required for Make).
2801 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2806 +if test "X[$]1" = X--no-reexec; then
2807 + # Discard the --no-reexec flag, and continue.
2809 +elif test "X[$]1" = X--fallback-echo; then
2810 + # Avoid inline document here, it may be left over
2812 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
2813 + # Yippee, $echo works!
2816 + # Restart under the correct shell.
2817 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2820 +if test "X[$]1" = X--fallback-echo; then
2821 + # used as fallback echo
2829 +# The HP-UX ksh and POSIX shell print the target directory to stdout
2830 +# if CDPATH is set.
2831 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
2833 +if test -z "$ECHO"; then
2834 +if test "X${echo_test_string+set}" != Xset; then
2835 +# find a string as large as possible, as long as the shell can cope with it
2836 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2837 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2838 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
2839 + echo_test_string="`eval $cmd`" &&
2840 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2847 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2848 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2849 + test "X$echo_testing_string" = "X$echo_test_string"; then
2852 + # The Solaris, AIX, and Digital Unix default echo programs unquote
2853 + # backslashes. This makes it impossible to quote backslashes using
2854 + # echo "$something" | sed 's/\\/\\\\/g'
2856 + # So, first we look for a working echo in the user's PATH.
2858 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2859 + for dir in $PATH /usr/ucb; do
2860 + IFS="$lt_save_ifs"
2861 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2862 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2863 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2864 + test "X$echo_testing_string" = "X$echo_test_string"; then
2869 + IFS="$lt_save_ifs"
2871 + if test "X$echo" = Xecho; then
2872 + # We didn't find a better echo, so look for alternatives.
2873 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
2874 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
2875 + test "X$echo_testing_string" = "X$echo_test_string"; then
2876 + # This shell has a builtin print -r that does the trick.
2878 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
2879 + test "X$CONFIG_SHELL" != X/bin/ksh; then
2880 + # If we have ksh, try running configure again with it.
2881 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2882 + export ORIGINAL_CONFIG_SHELL
2883 + CONFIG_SHELL=/bin/ksh
2884 + export CONFIG_SHELL
2885 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2887 + # Try using printf.
2888 + echo='printf %s\n'
2889 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2890 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2891 + test "X$echo_testing_string" = "X$echo_test_string"; then
2892 + # Cool, printf works
2894 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2895 + test "X$echo_testing_string" = 'X\t' &&
2896 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2897 + test "X$echo_testing_string" = "X$echo_test_string"; then
2898 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2899 + export CONFIG_SHELL
2900 + SHELL="$CONFIG_SHELL"
2902 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
2903 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2904 + test "X$echo_testing_string" = 'X\t' &&
2905 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2906 + test "X$echo_testing_string" = "X$echo_test_string"; then
2907 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
2909 + # maybe with a smaller string...
2912 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2913 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
2920 + if test "$prev" != 'sed 50q "[$]0"'; then
2921 + echo_test_string=`eval $prev`
2922 + export echo_test_string
2923 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2925 + # Oops. We lost completely, so just stick with echo.
2934 +# Copy echo and quote the copy suitably for passing to libtool from
2935 +# the Makefile, instead of quoting the original, which is used later.
2937 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2938 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2942 +])])# _LT_AC_PROG_ECHO_BACKSLASH
2947 +AC_DEFUN([_LT_AC_LOCK],
2948 +[AC_ARG_ENABLE([libtool-lock],
2949 + [AC_HELP_STRING([--disable-libtool-lock],
2950 + [avoid locking (might break parallel builds)])])
2951 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2953 +# Some flags need to be propagated to the compiler or linker for good
2957 + # Find out which ABI we are using.
2958 + echo 'int i;' > conftest.$ac_ext
2959 + if AC_TRY_EVAL(ac_compile); then
2960 + case `/usr/bin/file conftest.$ac_objext` in
2962 + HPUX_IA64_MODE="32"
2965 + HPUX_IA64_MODE="64"
2972 + # Find out which ABI we are using.
2973 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
2974 + if AC_TRY_EVAL(ac_compile); then
2975 + if test "$lt_cv_prog_gnu_ld" = yes; then
2976 + case `/usr/bin/file conftest.$ac_objext` in
2978 + LD="${LD-ld} -melf32bsmip"
2981 + LD="${LD-ld} -melf32bmipn32"
2984 + LD="${LD-ld} -melf64bmip"
2988 + case `/usr/bin/file conftest.$ac_objext` in
2993 + LD="${LD-ld} -n32"
3004 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3005 + # Find out which ABI we are using.
3006 + echo 'int i;' > conftest.$ac_ext
3007 + if AC_TRY_EVAL(ac_compile); then
3008 + case "`/usr/bin/file conftest.o`" in
3012 + LD="${LD-ld} -m elf_i386"
3014 + ppc64-*linux*|powerpc64-*linux*)
3015 + LD="${LD-ld} -m elf32ppclinux"
3018 + LD="${LD-ld} -m elf_s390"
3021 + LD="${LD-ld} -m elf32_sparc"
3028 + LD="${LD-ld} -m elf_x86_64"
3030 + ppc*-*linux*|powerpc*-*linux*)
3031 + LD="${LD-ld} -m elf64ppc"
3034 + LD="${LD-ld} -m elf64_s390"
3037 + LD="${LD-ld} -m elf64_sparc"
3047 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3048 + SAVE_CFLAGS="$CFLAGS"
3049 + CFLAGS="$CFLAGS -belf"
3050 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3052 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3054 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3055 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3056 + CFLAGS="$SAVE_CFLAGS"
3059 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3060 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
3061 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
3062 + AC_CHECK_TOOL(AS, as, false)
3063 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
3068 +need_locks="$enable_libtool_lock"
3073 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3074 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3075 +# ----------------------------------------------------------------
3076 +# Check whether the given compiler option works
3077 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
3078 +[AC_REQUIRE([LT_AC_PROG_SED])
3079 +AC_CACHE_CHECK([$1], [$2],
3081 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3082 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3083 + lt_compiler_flag="$3"
3084 + # Insert the option either (1) after the last *FLAGS variable, or
3085 + # (2) before a word containing "conftest.", or (3) at the end.
3086 + # Note that $ac_compile itself does not contain backslashes and begins
3087 + # with a dollar sign (not a hyphen), so the echo should work correctly.
3088 + # The option is referenced via a variable to avoid confusing sed.
3089 + lt_compile=`echo "$ac_compile" | $SED \
3090 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
3091 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3092 + -e 's:$: $lt_compiler_flag:'`
3093 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3094 + (eval "$lt_compile" 2>conftest.err)
3096 + cat conftest.err >&AS_MESSAGE_LOG_FD
3097 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3098 + if (exit $ac_status) && test -s "$ac_outfile"; then
3099 + # The compiler can only warn and ignore the option if not recognized
3100 + # So say no if there are warnings
3101 + if test ! -s conftest.err; then
3108 +if test x"[$]$2" = xyes; then
3109 + ifelse([$5], , :, [$5])
3111 + ifelse([$6], , :, [$6])
3113 +])# AC_LIBTOOL_COMPILER_OPTION
3116 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3117 +# [ACTION-SUCCESS], [ACTION-FAILURE])
3118 +# ------------------------------------------------------------
3119 +# Check whether the given compiler option works
3120 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
3121 +[AC_CACHE_CHECK([$1], [$2],
3123 + save_LDFLAGS="$LDFLAGS"
3124 + LDFLAGS="$LDFLAGS $3"
3125 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
3126 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3127 + # The compiler can only warn and ignore the option if not recognized
3128 + # So say no if there are warnings
3129 + if test -s conftest.err; then
3130 + # Append any errors to the config.log.
3131 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
3137 + LDFLAGS="$save_LDFLAGS"
3140 +if test x"[$]$2" = xyes; then
3141 + ifelse([$4], , :, [$4])
3143 + ifelse([$5], , :, [$5])
3145 +])# AC_LIBTOOL_LINKER_OPTION
3148 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
3149 +# --------------------------
3150 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
3151 +[# find the maximum length of command line arguments
3152 +AC_MSG_CHECKING([the maximum length of command line arguments])
3153 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3159 + # On DJGPP, this test can blow up pretty badly due to problems in libc
3160 + # (any single argument exceeding 2000 bytes causes a buffer overrun
3161 + # during glob expansion). Even if it were fixed, the result of this
3162 + # check would be larger than it should be.
3163 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
3167 + # Under GNU Hurd, this test is not required because there is
3168 + # no limit to the length of command line arguments.
3169 + # Libtool will interpret -1 as no limit whatsoever
3170 + lt_cv_sys_max_cmd_len=-1;
3174 + # On Win9x/ME, this test blows up -- it succeeds, but takes
3175 + # about 5 minutes as the teststring grows exponentially.
3176 + # Worse, since 9x/ME are not pre-emptively multitasking,
3177 + # you end up with a "frozen" computer, even though with patience
3178 + # the test eventually succeeds (with a max line length of 256k).
3179 + # Instead, let's just punt: use the minimum linelength reported by
3180 + # all of the supported platforms: 8192 (on NT/2K/XP).
3181 + lt_cv_sys_max_cmd_len=8192;
3185 + # On AmigaOS with pdksh, this test takes hours, literally.
3186 + # So we just punt and use a minimum line length of 8192.
3187 + lt_cv_sys_max_cmd_len=8192;
3191 + # If test is not a shell built-in, we'll probably end up computing a
3192 + # maximum length that is only half of the actual maximum length, but
3194 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
3195 + = "XX$teststring") >/dev/null 2>&1 &&
3196 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
3197 + lt_cv_sys_max_cmd_len=$new_result &&
3198 + test $i != 17 # 1/2 MB should be enough
3201 + teststring=$teststring$teststring
3204 + # Add a significant safety factor because C++ compilers can tack on massive
3205 + # amounts of additional arguments before passing them to the linker.
3206 + # It appears as though 1/2 is a usable value.
3207 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3211 +if test -n $lt_cv_sys_max_cmd_len ; then
3212 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3214 + AC_MSG_RESULT(none)
3216 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
3219 +# _LT_AC_CHECK_DLFCN
3220 +# --------------------
3221 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
3222 +[AC_CHECK_HEADERS(dlfcn.h)dnl
3223 +])# _LT_AC_CHECK_DLFCN
3226 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3227 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3228 +# ------------------------------------------------------------------
3229 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
3230 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3231 +if test "$cross_compiling" = yes; then :
3234 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3235 + lt_status=$lt_dlunknown
3236 + cat > conftest.$ac_ext <<EOF
3237 +[#line __oline__ "configure"
3238 +#include "confdefs.h"
3247 +# define LT_DLGLOBAL RTLD_GLOBAL
3250 +# define LT_DLGLOBAL DL_GLOBAL
3252 +# define LT_DLGLOBAL 0
3256 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3257 + find out it does not work in some platform. */
3258 +#ifndef LT_DLLAZY_OR_NOW
3260 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
3263 +# define LT_DLLAZY_OR_NOW DL_LAZY
3266 +# define LT_DLLAZY_OR_NOW RTLD_NOW
3269 +# define LT_DLLAZY_OR_NOW DL_NOW
3271 +# define LT_DLLAZY_OR_NOW 0
3279 +extern "C" void exit (int);
3282 +void fnord() { int i=42;}
3285 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3286 + int status = $lt_dlunknown;
3290 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3291 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3292 + /* dlclose (self); */
3298 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3299 + (./conftest; exit; ) 2>/dev/null
3301 + case x$lt_status in
3302 + x$lt_dlno_uscore) $1 ;;
3303 + x$lt_dlneed_uscore) $2 ;;
3304 + x$lt_unknown|x*) $3 ;;
3307 + # compilation failed
3312 +])# _LT_AC_TRY_DLOPEN_SELF
3315 +# AC_LIBTOOL_DLOPEN_SELF
3316 +# -------------------
3317 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
3318 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3319 +if test "x$enable_dlopen" != xyes; then
3320 + enable_dlopen=unknown
3321 + enable_dlopen_self=unknown
3322 + enable_dlopen_self_static=unknown
3325 + lt_cv_dlopen_libs=
3329 + lt_cv_dlopen="load_add_on"
3330 + lt_cv_dlopen_libs=
3331 + lt_cv_dlopen_self=yes
3335 + lt_cv_dlopen="LoadLibrary"
3336 + lt_cv_dlopen_libs=
3340 + lt_cv_dlopen="dlopen"
3341 + lt_cv_dlopen_libs=
3345 + # if libdl is installed we need to link against it
3346 + AC_CHECK_LIB([dl], [dlopen],
3347 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3348 + lt_cv_dlopen="dyld"
3349 + lt_cv_dlopen_libs=
3350 + lt_cv_dlopen_self=yes
3355 + AC_CHECK_FUNC([shl_load],
3356 + [lt_cv_dlopen="shl_load"],
3357 + [AC_CHECK_LIB([dld], [shl_load],
3358 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
3359 + [AC_CHECK_FUNC([dlopen],
3360 + [lt_cv_dlopen="dlopen"],
3361 + [AC_CHECK_LIB([dl], [dlopen],
3362 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3363 + [AC_CHECK_LIB([svld], [dlopen],
3364 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3365 + [AC_CHECK_LIB([dld], [dld_link],
3366 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
3375 + if test "x$lt_cv_dlopen" != xno; then
3381 + case $lt_cv_dlopen in
3383 + save_CPPFLAGS="$CPPFLAGS"
3384 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3386 + save_LDFLAGS="$LDFLAGS"
3387 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3390 + LIBS="$lt_cv_dlopen_libs $LIBS"
3392 + AC_CACHE_CHECK([whether a program can dlopen itself],
3393 + lt_cv_dlopen_self, [dnl
3394 + _LT_AC_TRY_DLOPEN_SELF(
3395 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3396 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3399 + if test "x$lt_cv_dlopen_self" = xyes; then
3400 + LDFLAGS="$LDFLAGS $link_static_flag"
3401 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3402 + lt_cv_dlopen_self_static, [dnl
3403 + _LT_AC_TRY_DLOPEN_SELF(
3404 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3405 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3409 + CPPFLAGS="$save_CPPFLAGS"
3410 + LDFLAGS="$save_LDFLAGS"
3415 + case $lt_cv_dlopen_self in
3416 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3417 + *) enable_dlopen_self=unknown ;;
3420 + case $lt_cv_dlopen_self_static in
3421 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3422 + *) enable_dlopen_self_static=unknown ;;
3425 +])# AC_LIBTOOL_DLOPEN_SELF
3428 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
3429 +# ---------------------------------
3430 +# Check to see if options -c and -o are simultaneously supported by compiler
3431 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
3432 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3433 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3434 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3435 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
3436 + $rm -r conftest 2>/dev/null
3440 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3442 + lt_compiler_flag="-o out/conftest2.$ac_objext"
3443 + # Insert the option either (1) after the last *FLAGS variable, or
3444 + # (2) before a word containing "conftest.", or (3) at the end.
3445 + # Note that $ac_compile itself does not contain backslashes and begins
3446 + # with a dollar sign (not a hyphen), so the echo should work correctly.
3447 + lt_compile=`echo "$ac_compile" | $SED \
3448 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
3449 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3450 + -e 's:$: $lt_compiler_flag:'`
3451 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3452 + (eval "$lt_compile" 2>out/conftest.err)
3454 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
3455 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3456 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
3458 + # The compiler can only warn and ignore the option if not recognized
3459 + # So say no if there are warnings
3460 + if test ! -s out/conftest.err; then
3461 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3466 + # SGI C++ compiler will create directory out/ii_files/ for
3467 + # template instantiation
3468 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
3469 + $rm out/* && rmdir out
3474 +])# AC_LIBTOOL_PROG_CC_C_O
3477 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
3478 +# -----------------------------------------
3479 +# Check to see if we can do hard links to lock some files if needed
3480 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
3481 +[AC_REQUIRE([_LT_AC_LOCK])dnl
3483 +hard_links="nottested"
3484 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
3485 + # do not overwrite the value of need_locks provided by the user
3486 + AC_MSG_CHECKING([if we can lock with hard links])
3489 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
3491 + ln conftest.a conftest.b 2>&5 || hard_links=no
3492 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
3493 + AC_MSG_RESULT([$hard_links])
3494 + if test "$hard_links" = no; then
3495 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
3501 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
3504 +# AC_LIBTOOL_OBJDIR
3505 +# -----------------
3506 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
3507 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
3508 +[rm -f .libs 2>/dev/null
3509 +mkdir .libs 2>/dev/null
3510 +if test -d .libs; then
3511 + lt_cv_objdir=.libs
3513 + # MS-DOS does not allow filenames that begin with a dot.
3514 + lt_cv_objdir=_libs
3516 +rmdir .libs 2>/dev/null])
3517 +objdir=$lt_cv_objdir
3518 +])# AC_LIBTOOL_OBJDIR
3521 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
3522 +# ----------------------------------------------
3523 +# Check hardcoding attributes.
3524 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
3525 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
3526 +_LT_AC_TAGVAR(hardcode_action, $1)=
3527 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
3528 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
3529 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
3531 + # We can hardcode non-existant directories.
3532 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
3533 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
3534 + # have to relink, otherwise we might link with an installed library
3535 + # when we should be linking with a yet-to-be-installed one
3536 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
3537 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
3538 + # Linking always hardcodes the temporary library directory.
3539 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
3541 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
3542 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
3545 + # We cannot hardcode anything, or else we can only hardcode existing
3547 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
3549 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
3551 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
3552 + # Fast installation is not supported
3553 + enable_fast_install=no
3554 +elif test "$shlibpath_overrides_runpath" = yes ||
3555 + test "$enable_shared" = no; then
3556 + # Fast installation is not necessary
3557 + enable_fast_install=needless
3559 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
3562 +# AC_LIBTOOL_SYS_LIB_STRIP
3563 +# ------------------------
3564 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
3567 +AC_MSG_CHECKING([whether stripping libraries is possible])
3568 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3569 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3570 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3571 + AC_MSG_RESULT([yes])
3573 +# FIXME - insert some real tests, host_os isn't really good enough
3576 + if test -n "$STRIP" ; then
3577 + striplib="$STRIP -x"
3578 + AC_MSG_RESULT([yes])
3580 + AC_MSG_RESULT([no])
3584 + AC_MSG_RESULT([no])
3588 +])# AC_LIBTOOL_SYS_LIB_STRIP
3591 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3592 +# -----------------------------
3593 +# PORTME Fill in your ld.so characteristics
3594 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
3595 +[AC_MSG_CHECKING([dynamic linker characteristics])
3596 +library_names_spec=
3597 +libname_spec='lib$name'
3601 +postuninstall_cmds=
3605 +shlibpath_overrides_runpath=unknown
3607 +dynamic_linker="$host_os ld.so"
3608 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
3609 +if test "$GCC" = yes; then
3610 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3611 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
3612 + # if the path contains ";" then we assume it to be the separator
3613 + # otherwise default to the standard path separator (i.e. ":") - it is
3614 + # assumed that no part of a normal pathname contains ";" but that should
3615 + # okay in the real world where ";" in dirpaths is itself problematic.
3616 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3618 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3621 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3623 +need_lib_prefix=unknown
3624 +hardcode_into_libs=no
3626 +# when you set need_version to no, make sure it does not cause -set_version
3627 +# flags to be left without arguments
3628 +need_version=unknown
3632 + version_type=linux
3633 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3634 + shlibpath_var=LIBPATH
3636 + # AIX 3 has no versioning support, so we append a major version to the name.
3637 + soname_spec='${libname}${release}${shared_ext}$major'
3641 + version_type=linux
3642 + need_lib_prefix=no
3644 + hardcode_into_libs=yes
3645 + if test "$host_cpu" = ia64; then
3646 + # AIX 5 supports IA64
3647 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
3648 + shlibpath_var=LD_LIBRARY_PATH
3650 + # With GCC up to 2.95.x, collect2 would create an import file
3651 + # for dependence libraries. The import file would start with
3652 + # the line `#! .'. This would cause the generated library to
3653 + # depend on `.', always an invalid library. This was fixed in
3654 + # development snapshots of GCC prior to 3.0.
3656 + aix4 | aix4.[[01]] | aix4.[[01]].*)
3657 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3659 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3662 + can_build_shared=no
3666 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
3667 + # soname into executable. Probably we can add versioning support to
3668 + # collect2, so additional links can be useful in future.
3669 + if test "$aix_use_runtimelinking" = yes; then
3670 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
3671 + # instead of lib<name>.a to let people know that these are not
3672 + # typical AIX shared libraries.
3673 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3675 + # We preserve .a as extension for shared libraries through AIX4.2
3676 + # and later when we are not doing run time linking.
3677 + library_names_spec='${libname}${release}.a $libname.a'
3678 + soname_spec='${libname}${release}${shared_ext}$major'
3680 + shlibpath_var=LIBPATH
3685 + library_names_spec='$libname.ixlibrary $libname.a'
3686 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
3687 + 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'
3691 + library_names_spec='${libname}${shared_ext}'
3692 + dynamic_linker="$host_os ld.so"
3693 + shlibpath_var=LIBRARY_PATH
3697 + version_type=linux
3699 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3700 + soname_spec='${libname}${release}${shared_ext}$major'
3701 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
3702 + shlibpath_var=LD_LIBRARY_PATH
3703 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3704 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3705 + # the default ld.so.conf also contains /usr/contrib/lib and
3706 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3707 + # libtool to hard-code these into programs
3710 +cygwin* | mingw* | pw32*)
3711 + version_type=windows
3712 + shrext_cmds=".dll"
3714 + need_lib_prefix=no
3716 + case $GCC,$host_os in
3717 + yes,cygwin* | yes,mingw* | yes,pw32*)
3718 + library_names_spec='$libname.dll.a'
3719 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
3720 + postinstall_cmds='base_file=`basename \${file}`~
3721 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3722 + dldir=$destdir/`dirname \$dlpath`~
3723 + test -d \$dldir || mkdir -p \$dldir~
3724 + $install_prog $dir/$dlname \$dldir/$dlname'
3725 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3726 + dlpath=$dir/\$dldll~
3728 + shlibpath_overrides_runpath=yes
3732 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3733 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3734 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3737 + # MinGW DLLs use traditional 'lib' prefix
3738 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3739 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3740 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
3741 + # It is most probably a Windows format PATH printed by
3742 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
3743 + # path with ; separators, and with drive letters. We can handle the
3744 + # drive letters (cygwin fileutils understands them), so leave them,
3745 + # especially as we might pass files found there to a mingw objdump,
3746 + # which wouldn't understand a cygwinified path. Ahh.
3747 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3749 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3753 + # pw32 DLLs use 'pw' prefix rather than 'lib'
3754 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3760 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
3763 + dynamic_linker='Win32 ld.exe'
3764 + # FIXME: first we should search . and the directory the executable is in
3765 + shlibpath_var=PATH
3768 +darwin* | rhapsody*)
3769 + dynamic_linker="$host_os dyld"
3770 + version_type=darwin
3771 + need_lib_prefix=no
3773 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3774 + soname_spec='${libname}${release}${major}$shared_ext'
3775 + shlibpath_overrides_runpath=yes
3776 + shlibpath_var=DYLD_LIBRARY_PATH
3777 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
3778 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
3779 + if test "$GCC" = yes; then
3780 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
3782 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
3784 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3788 + version_type=linux
3789 + need_lib_prefix=no
3791 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
3792 + soname_spec='${libname}${release}${shared_ext}$major'
3793 + shlibpath_var=LD_LIBRARY_PATH
3801 + version_type=linux
3802 + need_lib_prefix=no
3804 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3805 + soname_spec='${libname}${release}${shared_ext}$major'
3806 + shlibpath_var=LD_LIBRARY_PATH
3807 + shlibpath_overrides_runpath=no
3808 + hardcode_into_libs=yes
3809 + dynamic_linker='GNU ld.so'
3813 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
3814 + version_type=freebsd-$objformat
3815 + case $version_type in
3817 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3819 + need_lib_prefix=no
3822 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
3826 + shlibpath_var=LD_LIBRARY_PATH
3829 + shlibpath_overrides_runpath=yes
3831 + freebsd3.[01]* | freebsdelf3.[01]*)
3832 + shlibpath_overrides_runpath=yes
3833 + hardcode_into_libs=yes
3836 + shlibpath_overrides_runpath=no
3837 + hardcode_into_libs=yes
3843 + version_type=linux
3844 + need_lib_prefix=no
3846 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3847 + soname_spec='${libname}${release}${shared_ext}$major'
3848 + shlibpath_var=LD_LIBRARY_PATH
3849 + hardcode_into_libs=yes
3852 +hpux9* | hpux10* | hpux11*)
3853 + # Give a soname corresponding to the major version so that dld.sl refuses to
3854 + # link against other versions.
3855 + version_type=sunos
3856 + need_lib_prefix=no
3858 + case "$host_cpu" in
3861 + hardcode_into_libs=yes
3862 + dynamic_linker="$host_os dld.so"
3863 + shlibpath_var=LD_LIBRARY_PATH
3864 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3865 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3866 + soname_spec='${libname}${release}${shared_ext}$major'
3867 + if test "X$HPUX_IA64_MODE" = X32; then
3868 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
3870 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
3872 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3876 + hardcode_into_libs=yes
3877 + dynamic_linker="$host_os dld.sl"
3878 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
3879 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3880 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3881 + soname_spec='${libname}${release}${shared_ext}$major'
3882 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
3883 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3887 + dynamic_linker="$host_os dld.sl"
3888 + shlibpath_var=SHLIB_PATH
3889 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
3890 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3891 + soname_spec='${libname}${release}${shared_ext}$major'
3894 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
3895 + postinstall_cmds='chmod 555 $lib'
3898 +irix5* | irix6* | nonstopux*)
3900 + nonstopux*) version_type=nonstopux ;;
3902 + if test "$lt_cv_prog_gnu_ld" = yes; then
3903 + version_type=linux
3908 + need_lib_prefix=no
3910 + soname_spec='${libname}${release}${shared_ext}$major'
3911 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
3913 + irix5* | nonstopux*)
3914 + libsuff= shlibsuff=
3917 + case $LD in # libtool.m4 will add one of these switches to LD
3918 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
3919 + libsuff= shlibsuff= libmagic=32-bit;;
3920 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
3921 + libsuff=32 shlibsuff=N32 libmagic=N32;;
3922 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
3923 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
3924 + *) libsuff= shlibsuff= libmagic=never-match;;
3928 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
3929 + shlibpath_overrides_runpath=no
3930 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
3931 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
3932 + hardcode_into_libs=yes
3935 +# No shared lib support for Linux oldld, aout, or coff.
3936 +linux*oldld* | linux*aout* | linux*coff*)
3940 +# This must be Linux ELF.
3942 + version_type=linux
3943 + need_lib_prefix=no
3945 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3946 + soname_spec='${libname}${release}${shared_ext}$major'
3947 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
3948 + shlibpath_var=LD_LIBRARY_PATH
3949 + shlibpath_overrides_runpath=no
3950 + # This implies no fast_install, which is unacceptable.
3951 + # Some rework will be needed to allow for fast_install
3952 + # before this can be enabled.
3953 + hardcode_into_libs=yes
3955 + # Append ld.so.conf contents to the search path
3956 + if test -f /etc/ld.so.conf; then
3957 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
3958 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3961 + # We used to test for /lib/ld.so.1 and disable shared libraries on
3962 + # powerpc, because MkLinux only supported shared libraries with the
3963 + # GNU dynamic linker. Since this was broken with cross compilers,
3964 + # most powerpc-linux boxes support dynamic linking these days and
3965 + # people can always --disable-shared, the test was removed, and we
3966 + # assume the GNU/Linux dynamic linker is in use.
3967 + dynamic_linker='GNU/Linux ld.so'
3971 + version_type=linux
3972 + need_lib_prefix=no
3974 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3975 + soname_spec='${libname}${release}${shared_ext}$major'
3976 + shlibpath_var=LD_LIBRARY_PATH
3977 + shlibpath_overrides_runpath=no
3978 + hardcode_into_libs=yes
3979 + dynamic_linker='NetBSD ld.elf_so'
3983 + version_type=linux
3984 + need_lib_prefix=no
3986 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3987 + soname_spec='${libname}${release}${shared_ext}$major'
3988 + shlibpath_var=LD_LIBRARY_PATH
3989 + shlibpath_overrides_runpath=no
3990 + hardcode_into_libs=yes
3991 + dynamic_linker='GNU ld.so'
3995 + version_type=sunos
3996 + need_lib_prefix=no
3998 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3999 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4000 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4001 + dynamic_linker='NetBSD (a.out) ld.so'
4003 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4004 + soname_spec='${libname}${release}${shared_ext}$major'
4005 + dynamic_linker='NetBSD ld.elf_so'
4007 + shlibpath_var=LD_LIBRARY_PATH
4008 + shlibpath_overrides_runpath=yes
4009 + hardcode_into_libs=yes
4013 + version_type=linux
4014 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4015 + shlibpath_var=LD_LIBRARY_PATH
4016 + shlibpath_overrides_runpath=yes
4020 + version_type=linux
4021 + need_lib_prefix=no
4023 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4024 + soname_spec='${libname}${release}${shared_ext}$major'
4025 + shlibpath_var=LD_LIBRARY_PATH
4026 + shlibpath_overrides_runpath=yes
4030 + version_type=sunos
4031 + need_lib_prefix=no
4033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4034 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4035 + shlibpath_var=LD_LIBRARY_PATH
4036 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4038 + openbsd2.[[89]] | openbsd2.[[89]].*)
4039 + shlibpath_overrides_runpath=no
4042 + shlibpath_overrides_runpath=yes
4046 + shlibpath_overrides_runpath=yes
4051 + libname_spec='$name'
4052 + shrext_cmds=".dll"
4053 + need_lib_prefix=no
4054 + library_names_spec='$libname${shared_ext} $libname.a'
4055 + dynamic_linker='OS/2 ld.exe'
4056 + shlibpath_var=LIBPATH
4059 +osf3* | osf4* | osf5*)
4061 + need_lib_prefix=no
4063 + soname_spec='${libname}${release}${shared_ext}$major'
4064 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4065 + shlibpath_var=LD_LIBRARY_PATH
4066 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4067 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4072 + soname_spec='${libname}${release}${shared_ext}$major'
4073 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4074 + shlibpath_var=LD_LIBRARY_PATH
4078 + version_type=linux
4079 + need_lib_prefix=no
4081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4082 + soname_spec='${libname}${release}${shared_ext}$major'
4083 + shlibpath_var=LD_LIBRARY_PATH
4084 + shlibpath_overrides_runpath=yes
4085 + hardcode_into_libs=yes
4086 + # ldd complains unless libraries are executable
4087 + postinstall_cmds='chmod +x $lib'
4091 + version_type=sunos
4092 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4093 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4094 + shlibpath_var=LD_LIBRARY_PATH
4095 + shlibpath_overrides_runpath=yes
4096 + if test "$with_gnu_ld" = yes; then
4097 + need_lib_prefix=no
4102 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4103 + version_type=linux
4104 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4105 + soname_spec='${libname}${release}${shared_ext}$major'
4106 + shlibpath_var=LD_LIBRARY_PATH
4107 + case $host_vendor in
4109 + shlibpath_overrides_runpath=no
4110 + need_lib_prefix=no
4111 + export_dynamic_flag_spec='${wl}-Blargedynsym'
4112 + runpath_var=LD_RUN_PATH
4115 + need_lib_prefix=no
4118 + need_lib_prefix=no
4120 + shlibpath_overrides_runpath=no
4121 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4127 + if test -d /usr/nec ;then
4128 + version_type=linux
4129 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4130 + soname_spec='$libname${shared_ext}.$major'
4131 + shlibpath_var=LD_LIBRARY_PATH
4136 + version_type=linux
4137 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4138 + soname_spec='${libname}${release}${shared_ext}$major'
4139 + shlibpath_var=LD_LIBRARY_PATH
4146 +AC_MSG_RESULT([$dynamic_linker])
4147 +test "$dynamic_linker" = no && can_build_shared=no
4148 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4153 +AC_DEFUN([_LT_AC_TAGCONFIG],
4154 +[AC_ARG_WITH([tags],
4155 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
4156 + [include additional configurations @<:@automatic@:>@])],
4157 + [tagnames="$withval"])
4159 +if test -f "$ltmain" && test -n "$tagnames"; then
4160 + if test ! -f "${ofile}"; then
4161 + AC_MSG_WARN([output file `$ofile' does not exist])
4164 + if test -z "$LTCC"; then
4165 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
4166 + if test -z "$LTCC"; then
4167 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
4169 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
4173 + # Extract list of available tagged configurations in $ofile.
4174 + # Note that this assumes the entire list is on one line.
4175 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
4177 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4178 + for tagname in $tagnames; do
4179 + IFS="$lt_save_ifs"
4180 + # Check whether tagname contains only valid characters
4181 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
4183 + *) AC_MSG_ERROR([invalid tag name: $tagname])
4187 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
4189 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
4192 + # Update the list of available tags.
4193 + if test -n "$tagname"; then
4194 + echo appending configuration tag \"$tagname\" to $ofile
4198 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
4199 + AC_LIBTOOL_LANG_CXX_CONFIG
4206 + if test -n "$F77" && test "X$F77" != "Xno"; then
4207 + AC_LIBTOOL_LANG_F77_CONFIG
4214 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
4215 + AC_LIBTOOL_LANG_GCJ_CONFIG
4222 + AC_LIBTOOL_LANG_RC_CONFIG
4226 + AC_MSG_ERROR([Unsupported tag name: $tagname])
4230 + # Append the new tag name to the list of available tags.
4231 + if test -n "$tagname" ; then
4232 + available_tags="$available_tags $tagname"
4236 + IFS="$lt_save_ifs"
4238 + # Now substitute the updated list of available tags.
4239 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
4240 + mv "${ofile}T" "$ofile"
4244 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
4247 +])# _LT_AC_TAGCONFIG
4250 +# AC_LIBTOOL_DLOPEN
4251 +# -----------------
4252 +# enable checks for dlopen support
4253 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
4254 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
4255 +])# AC_LIBTOOL_DLOPEN
4258 +# AC_LIBTOOL_WIN32_DLL
4259 +# --------------------
4260 +# declare package support for building win32 dll's
4261 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
4262 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
4263 +])# AC_LIBTOOL_WIN32_DLL
4266 +# AC_ENABLE_SHARED([DEFAULT])
4267 +# ---------------------------
4268 +# implement the --enable-shared flag
4269 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4270 +AC_DEFUN([AC_ENABLE_SHARED],
4271 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
4272 +AC_ARG_ENABLE([shared],
4273 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
4274 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
4275 + [p=${PACKAGE-default}
4276 + case $enableval in
4277 + yes) enable_shared=yes ;;
4278 + no) enable_shared=no ;;
4281 + # Look at the argument we got. We use all the common list separators.
4282 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4283 + for pkg in $enableval; do
4284 + IFS="$lt_save_ifs"
4285 + if test "X$pkg" = "X$p"; then
4289 + IFS="$lt_save_ifs"
4292 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
4293 +])# AC_ENABLE_SHARED
4296 +# AC_DISABLE_SHARED
4297 +# -----------------
4298 +#- set the default shared flag to --disable-shared
4299 +AC_DEFUN([AC_DISABLE_SHARED],
4300 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4301 +AC_ENABLE_SHARED(no)
4302 +])# AC_DISABLE_SHARED
4305 +# AC_ENABLE_STATIC([DEFAULT])
4306 +# ---------------------------
4307 +# implement the --enable-static flag
4308 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4309 +AC_DEFUN([AC_ENABLE_STATIC],
4310 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
4311 +AC_ARG_ENABLE([static],
4312 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
4313 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
4314 + [p=${PACKAGE-default}
4315 + case $enableval in
4316 + yes) enable_static=yes ;;
4317 + no) enable_static=no ;;
4320 + # Look at the argument we got. We use all the common list separators.
4321 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4322 + for pkg in $enableval; do
4323 + IFS="$lt_save_ifs"
4324 + if test "X$pkg" = "X$p"; then
4328 + IFS="$lt_save_ifs"
4331 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
4332 +])# AC_ENABLE_STATIC
4335 +# AC_DISABLE_STATIC
4336 +# -----------------
4337 +# set the default static flag to --disable-static
4338 +AC_DEFUN([AC_DISABLE_STATIC],
4339 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4340 +AC_ENABLE_STATIC(no)
4341 +])# AC_DISABLE_STATIC
4344 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
4345 +# ---------------------------------
4346 +# implement the --enable-fast-install flag
4347 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4348 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
4349 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
4350 +AC_ARG_ENABLE([fast-install],
4351 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
4352 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
4353 + [p=${PACKAGE-default}
4354 + case $enableval in
4355 + yes) enable_fast_install=yes ;;
4356 + no) enable_fast_install=no ;;
4358 + enable_fast_install=no
4359 + # Look at the argument we got. We use all the common list separators.
4360 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4361 + for pkg in $enableval; do
4362 + IFS="$lt_save_ifs"
4363 + if test "X$pkg" = "X$p"; then
4364 + enable_fast_install=yes
4367 + IFS="$lt_save_ifs"
4370 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
4371 +])# AC_ENABLE_FAST_INSTALL
4374 +# AC_DISABLE_FAST_INSTALL
4375 +# -----------------------
4376 +# set the default to --disable-fast-install
4377 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
4378 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4379 +AC_ENABLE_FAST_INSTALL(no)
4380 +])# AC_DISABLE_FAST_INSTALL
4383 +# AC_LIBTOOL_PICMODE([MODE])
4384 +# --------------------------
4385 +# implement the --with-pic flag
4386 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
4387 +AC_DEFUN([AC_LIBTOOL_PICMODE],
4388 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4389 +pic_mode=ifelse($#,1,$1,default)
4390 +])# AC_LIBTOOL_PICMODE
4395 +# This is predefined starting with Autoconf 2.54, so this conditional
4396 +# definition can be removed once we require Autoconf 2.54 or later.
4397 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
4398 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
4399 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4400 + then ac_cv_prog_egrep='grep -E'
4401 + else ac_cv_prog_egrep='egrep'
4403 + EGREP=$ac_cv_prog_egrep
4408 +# AC_PATH_TOOL_PREFIX
4409 +# -------------------
4410 +# find a file program which can recognise shared library
4411 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
4412 +[AC_REQUIRE([AC_PROG_EGREP])dnl
4413 +AC_MSG_CHECKING([for $1])
4414 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4415 +[case $MAGIC_CMD in
4416 +[[\\/*] | ?:[\\/]*])
4417 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4420 + lt_save_MAGIC_CMD="$MAGIC_CMD"
4421 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 +dnl $ac_dummy forces splitting on constant user-supplied paths.
4423 +dnl POSIX.2 word splitting is done only on the output of word expansions,
4424 +dnl not every word. This closes a longstanding sh security hole.
4425 + ac_dummy="ifelse([$2], , $PATH, [$2])"
4426 + for ac_dir in $ac_dummy; do
4427 + IFS="$lt_save_ifs"
4428 + test -z "$ac_dir" && ac_dir=.
4429 + if test -f $ac_dir/$1; then
4430 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4431 + if test -n "$file_magic_test_file"; then
4432 + case $deplibs_check_method in
4434 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4435 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4436 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4437 + $EGREP "$file_magic_regex" > /dev/null; then
4442 +*** Warning: the command libtool uses to detect shared libraries,
4443 +*** $file_magic_cmd, produces output that libtool cannot recognize.
4444 +*** The result is that libtool may fail to recognize shared libraries
4445 +*** as such. This will affect the creation of libtool libraries that
4446 +*** depend on shared libraries, but programs linked with such libtool
4447 +*** libraries will work regardless of this problem. Nevertheless, you
4448 +*** may want to report the problem to your system manager and/or to
4449 +*** bug-libtool@gnu.org
4458 + IFS="$lt_save_ifs"
4459 + MAGIC_CMD="$lt_save_MAGIC_CMD"
4462 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4463 +if test -n "$MAGIC_CMD"; then
4464 + AC_MSG_RESULT($MAGIC_CMD)
4468 +])# AC_PATH_TOOL_PREFIX
4473 +# find a file program which can recognise a shared library
4474 +AC_DEFUN([AC_PATH_MAGIC],
4475 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4476 +if test -z "$lt_cv_path_MAGIC_CMD"; then
4477 + if test -n "$ac_tool_prefix"; then
4478 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
4488 +# find the pathname to the GNU or non-GNU linker
4489 +AC_DEFUN([AC_PROG_LD],
4490 +[AC_ARG_WITH([gnu-ld],
4491 + [AC_HELP_STRING([--with-gnu-ld],
4492 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4493 + [test "$withval" = no || with_gnu_ld=yes],
4495 +AC_REQUIRE([LT_AC_PROG_SED])dnl
4496 +AC_REQUIRE([AC_PROG_CC])dnl
4497 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
4498 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4500 +if test "$GCC" = yes; then
4501 + # Check if gcc -print-prog-name=ld gives a path.
4502 + AC_MSG_CHECKING([for ld used by $CC])
4505 + # gcc leaves a trailing carriage return which upsets mingw
4506 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4508 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4511 + # Accept absolute paths.
4512 + [[\\/]]* | ?:[[\\/]]*)
4513 + re_direlt='/[[^/]][[^/]]*/\.\./'
4514 + # Canonicalize the pathname of ld
4515 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4516 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4517 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4519 + test -z "$LD" && LD="$ac_prog"
4522 + # If it fails, then pretend we aren't using GCC.
4526 + # If it is relative, then search for the first ld in PATH.
4527 + with_gnu_ld=unknown
4530 +elif test "$with_gnu_ld" = yes; then
4531 + AC_MSG_CHECKING([for GNU ld])
4533 + AC_MSG_CHECKING([for non-GNU ld])
4535 +AC_CACHE_VAL(lt_cv_path_LD,
4536 +[if test -z "$LD"; then
4537 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4538 + for ac_dir in $PATH; do
4539 + IFS="$lt_save_ifs"
4540 + test -z "$ac_dir" && ac_dir=.
4541 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4542 + lt_cv_path_LD="$ac_dir/$ac_prog"
4543 + # Check to see if the program is GNU ld. I'd rather use --version,
4544 + # but apparently some GNU ld's only accept -v.
4545 + # Break only if it was the GNU/non-GNU ld that we prefer.
4546 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4547 + *GNU* | *'with BFD'*)
4548 + test "$with_gnu_ld" != no && break
4551 + test "$with_gnu_ld" != yes && break
4556 + IFS="$lt_save_ifs"
4558 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
4560 +LD="$lt_cv_path_LD"
4561 +if test -n "$LD"; then
4562 + AC_MSG_RESULT($LD)
4566 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4573 +AC_DEFUN([AC_PROG_LD_GNU],
4574 +[AC_REQUIRE([AC_PROG_EGREP])dnl
4575 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
4576 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
4577 +case `$LD -v 2>&1 </dev/null` in
4578 +*GNU* | *'with BFD'*)
4579 + lt_cv_prog_gnu_ld=yes
4582 + lt_cv_prog_gnu_ld=no
4585 +with_gnu_ld=$lt_cv_prog_gnu_ld
4589 +# AC_PROG_LD_RELOAD_FLAG
4590 +# ----------------------
4591 +# find reload flag for linker
4592 +# -- PORTME Some linkers may need a different reload flag.
4593 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
4594 +[AC_CACHE_CHECK([for $LD option to reload object files],
4595 + lt_cv_ld_reload_flag,
4596 + [lt_cv_ld_reload_flag='-r'])
4597 +reload_flag=$lt_cv_ld_reload_flag
4598 +case $reload_flag in
4600 +*) reload_flag=" $reload_flag" ;;
4602 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
4603 +])# AC_PROG_LD_RELOAD_FLAG
4606 +# AC_DEPLIBS_CHECK_METHOD
4607 +# -----------------------
4608 +# how to check for library dependencies
4609 +# -- PORTME fill in with the dynamic library characteristics
4610 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
4611 +[AC_CACHE_CHECK([how to recognise dependent libraries],
4612 +lt_cv_deplibs_check_method,
4613 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
4614 +lt_cv_file_magic_test_file=
4615 +lt_cv_deplibs_check_method='unknown'
4616 +# Need to set the preceding variable on all platforms that support
4617 +# interlibrary dependencies.
4618 +# 'none' -- dependencies not supported.
4619 +# `unknown' -- same as none, but documents that we really don't know.
4620 +# 'pass_all' -- all dependencies passed with no checks.
4621 +# 'test_compile' -- check by making test program.
4622 +# 'file_magic [[regex]]' -- check by looking for files in library path
4623 +# which responds to the $file_magic_cmd with a given extended regex.
4624 +# If you have `file' or equivalent on your system and you're not sure
4625 +# whether `pass_all' will *always* work, you probably want this one.
4629 + lt_cv_deplibs_check_method=pass_all
4633 + lt_cv_deplibs_check_method=pass_all
4637 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
4638 + lt_cv_file_magic_cmd='/usr/bin/file -L'
4639 + lt_cv_file_magic_test_file=/shlib/libc.so
4643 + # func_win32_libid is a shell function defined in ltmain.sh
4644 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4645 + lt_cv_file_magic_cmd='func_win32_libid'
4649 + # Base MSYS/MinGW do not provide the 'file' command needed by
4650 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4651 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4652 + lt_cv_file_magic_cmd='$OBJDUMP -f'
4655 +darwin* | rhapsody*)
4656 + lt_cv_deplibs_check_method=pass_all
4659 +freebsd* | kfreebsd*-gnu)
4660 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4663 + # Not sure whether the presence of OpenBSD here was a mistake.
4664 + # Let's accept both of them until this is cleared up.
4665 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
4666 + lt_cv_file_magic_cmd=/usr/bin/file
4667 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4671 + lt_cv_deplibs_check_method=pass_all
4676 + lt_cv_deplibs_check_method=pass_all
4679 +hpux10.20* | hpux11*)
4680 + lt_cv_file_magic_cmd=/usr/bin/file
4681 + case "$host_cpu" in
4683 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
4684 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4687 + [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]']
4688 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4691 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
4692 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
4697 +irix5* | irix6* | nonstopux*)
4699 + *-32|*"-32 ") libmagic=32-bit;;
4700 + *-n32|*"-n32 ") libmagic=N32;;
4701 + *-64|*"-64 ") libmagic=64-bit;;
4702 + *) libmagic=never-match;;
4704 + lt_cv_deplibs_check_method=pass_all
4707 +# This must be Linux ELF.
4709 + lt_cv_deplibs_check_method=pass_all
4712 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4713 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4714 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4716 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
4721 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
4722 + lt_cv_file_magic_cmd=/usr/bin/file
4723 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
4727 + lt_cv_deplibs_check_method=unknown
4731 + lt_cv_file_magic_cmd=/usr/bin/file
4732 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4733 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4734 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
4736 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4740 +osf3* | osf4* | osf5*)
4741 + lt_cv_deplibs_check_method=pass_all
4745 + lt_cv_deplibs_check_method=pass_all
4749 + lt_cv_deplibs_check_method=pass_all
4752 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4753 + case $host_vendor in
4755 + 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]]'
4756 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4759 + lt_cv_deplibs_check_method=pass_all
4762 + lt_cv_file_magic_cmd='/bin/file'
4763 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
4766 + lt_cv_file_magic_cmd='/bin/file'
4767 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
4768 + lt_cv_file_magic_test_file=/lib/libc.so
4771 + lt_cv_deplibs_check_method=pass_all
4776 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
4777 + lt_cv_deplibs_check_method=pass_all
4781 +file_magic_cmd=$lt_cv_file_magic_cmd
4782 +deplibs_check_method=$lt_cv_deplibs_check_method
4783 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
4784 +])# AC_DEPLIBS_CHECK_METHOD
4789 +# find the pathname to a BSD-compatible name lister
4790 +AC_DEFUN([AC_PROG_NM],
4791 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
4792 +[if test -n "$NM"; then
4793 + # Let the user override the test.
4794 + lt_cv_path_NM="$NM"
4796 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4797 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4798 + IFS="$lt_save_ifs"
4799 + test -z "$ac_dir" && ac_dir=.
4800 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4801 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4802 + # Check to see if the nm accepts a BSD-compat flag.
4803 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4804 + # nm: unknown option "B" ignored
4805 + # Tru64's nm complains that /dev/null is an invalid object file
4806 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4807 + */dev/null* | *'Invalid file or object type'*)
4808 + lt_cv_path_NM="$tmp_nm -B"
4812 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4814 + lt_cv_path_NM="$tmp_nm -p"
4818 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4819 + continue # so that we can try to find one that supports BSD flags
4825 + IFS="$lt_save_ifs"
4826 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4828 +NM="$lt_cv_path_NM"
4834 +# check for math library
4835 +AC_DEFUN([AC_CHECK_LIBM],
4836 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4839 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4840 + # These system don't have libm, or don't need it
4843 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4844 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
4847 + AC_CHECK_LIB(m, cos, LIBM="-lm")
4853 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
4854 +# -----------------------------------
4855 +# sets LIBLTDL to the link flags for the libltdl convenience library and
4856 +# LTDLINCL to the include flags for the libltdl header and adds
4857 +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
4858 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
4859 +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
4860 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
4861 +# '${top_srcdir}/' (note the single quotes!). If your package is not
4862 +# flat and you're not using automake, define top_builddir and
4863 +# top_srcdir appropriately in the Makefiles.
4864 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
4865 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4866 + case $enable_ltdl_convenience in
4867 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
4868 + "") enable_ltdl_convenience=yes
4869 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
4871 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
4872 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4873 + # For backwards non-gettext consistent compatibility...
4874 + INCLTDL="$LTDLINCL"
4875 +])# AC_LIBLTDL_CONVENIENCE
4878 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
4879 +# -----------------------------------
4880 +# sets LIBLTDL to the link flags for the libltdl installable library and
4881 +# LTDLINCL to the include flags for the libltdl header and adds
4882 +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
4883 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
4884 +# DIRECTORY is not provided and an installed libltdl is not found, it is
4885 +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
4886 +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
4887 +# quotes!). If your package is not flat and you're not using automake,
4888 +# define top_builddir and top_srcdir appropriately in the Makefiles.
4889 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
4890 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
4891 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4892 + AC_CHECK_LIB(ltdl, lt_dlinit,
4893 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
4894 + [if test x"$enable_ltdl_install" = xno; then
4895 + AC_MSG_WARN([libltdl not installed, but installation disabled])
4897 + enable_ltdl_install=yes
4900 + if test x"$enable_ltdl_install" = x"yes"; then
4901 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
4902 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
4903 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4905 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
4909 + # For backwards non-gettext consistent compatibility...
4910 + INCLTDL="$LTDLINCL"
4911 +])# AC_LIBLTDL_INSTALLABLE
4916 +# enable support for C++ libraries
4917 +AC_DEFUN([AC_LIBTOOL_CXX],
4918 +[AC_REQUIRE([_LT_AC_LANG_CXX])
4924 +AC_DEFUN([_LT_AC_LANG_CXX],
4925 +[AC_REQUIRE([AC_PROG_CXX])
4926 +AC_REQUIRE([AC_PROG_CXXCPP])
4927 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
4928 +])# _LT_AC_LANG_CXX
4933 +# enable support for Fortran 77 libraries
4934 +AC_DEFUN([AC_LIBTOOL_F77],
4935 +[AC_REQUIRE([_LT_AC_LANG_F77])
4941 +AC_DEFUN([_LT_AC_LANG_F77],
4942 +[AC_REQUIRE([AC_PROG_F77])
4943 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
4944 +])# _LT_AC_LANG_F77
4949 +# enable support for GCJ libraries
4950 +AC_DEFUN([AC_LIBTOOL_GCJ],
4951 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
4957 +AC_DEFUN([_LT_AC_LANG_GCJ],
4958 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
4959 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
4960 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
4961 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
4962 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
4963 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
4964 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
4965 +])# _LT_AC_LANG_GCJ
4970 +# enable support for Windows resource files
4971 +AC_DEFUN([AC_LIBTOOL_RC],
4972 +[AC_REQUIRE([LT_AC_PROG_RC])
4973 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
4977 +# AC_LIBTOOL_LANG_C_CONFIG
4978 +# ------------------------
4979 +# Ensure that the configuration vars for the C compiler are
4980 +# suitably defined. Those variables are subsequently used by
4981 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4982 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
4983 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
4987 +# Source file extension for C test sources.
4990 +# Object file extension for compiled C test sources.
4992 +_LT_AC_TAGVAR(objext, $1)=$objext
4994 +# Code to be used in simple compile tests
4995 +lt_simple_compile_test_code="int some_variable = 0;\n"
4997 +# Code to be used in simple link tests
4998 +lt_simple_link_test_code='int main(){return(0);}\n'
5000 +_LT_AC_SYS_COMPILER
5003 +# Check for any special shared library compilation flags.
5005 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
5006 +if test "$GCC" = no; then
5009 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
5013 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
5014 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
5015 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
5017 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
5018 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
5024 +# Check to make sure the static flag actually works.
5026 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
5027 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
5028 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
5030 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5033 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
5034 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5035 +AC_LIBTOOL_PROG_CC_C_O($1)
5036 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5037 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5038 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5039 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5040 +AC_LIBTOOL_SYS_LIB_STRIP
5041 +AC_LIBTOOL_DLOPEN_SELF($1)
5043 +# Report which librarie types wil actually be built
5044 +AC_MSG_CHECKING([if libtool supports shared libraries])
5045 +AC_MSG_RESULT([$can_build_shared])
5047 +AC_MSG_CHECKING([whether to build shared libraries])
5048 +test "$can_build_shared" = "no" && enable_shared=no
5050 +# On AIX, shared libraries and static libraries use the same namespace, and
5051 +# are all built from PIC.
5054 + test "$enable_shared" = yes && enable_static=no
5055 + if test -n "$RANLIB"; then
5056 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
5057 + postinstall_cmds='$RANLIB $lib'
5062 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5063 + test "$enable_shared" = yes && enable_static=no
5066 + darwin* | rhapsody*)
5067 + if test "$GCC" = yes; then
5068 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5069 + case "$host_os" in
5070 + rhapsody* | darwin1.[[012]])
5071 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
5073 + *) # Darwin 1.3 on
5074 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5075 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5077 + case ${MACOSX_DEPLOYMENT_TARGET} in
5079 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5082 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
5088 + output_verbose_link_cmd='echo'
5089 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
5090 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5091 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5092 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5093 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5094 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
5095 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5096 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5097 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
5098 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5100 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5104 +AC_MSG_RESULT([$enable_shared])
5106 +AC_MSG_CHECKING([whether to build static libraries])
5107 +# Make sure either enable_shared or enable_static is yes.
5108 +test "$enable_shared" = yes || enable_static=yes
5109 +AC_MSG_RESULT([$enable_static])
5111 +AC_LIBTOOL_CONFIG($1)
5115 +])# AC_LIBTOOL_LANG_C_CONFIG
5118 +# AC_LIBTOOL_LANG_CXX_CONFIG
5119 +# --------------------------
5120 +# Ensure that the configuration vars for the C compiler are
5121 +# suitably defined. Those variables are subsequently used by
5122 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5123 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
5124 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
5126 +AC_REQUIRE([AC_PROG_CXX])
5127 +AC_REQUIRE([AC_PROG_CXXCPP])
5129 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5130 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5131 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
5132 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5133 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5134 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
5135 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5136 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5137 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5138 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5139 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5140 +_LT_AC_TAGVAR(module_cmds, $1)=
5141 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5142 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5143 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5144 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
5145 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5146 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5148 +# Dependencies to place before and after the object being linked:
5149 +_LT_AC_TAGVAR(predep_objects, $1)=
5150 +_LT_AC_TAGVAR(postdep_objects, $1)=
5151 +_LT_AC_TAGVAR(predeps, $1)=
5152 +_LT_AC_TAGVAR(postdeps, $1)=
5153 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
5155 +# Source file extension for C++ test sources.
5158 +# Object file extension for compiled C++ test sources.
5160 +_LT_AC_TAGVAR(objext, $1)=$objext
5162 +# Code to be used in simple compile tests
5163 +lt_simple_compile_test_code="int some_variable = 0;\n"
5165 +# Code to be used in simple link tests
5166 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
5168 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5169 +_LT_AC_SYS_COMPILER
5171 +# Allow CC to be a program name with arguments.
5176 +lt_save_with_gnu_ld=$with_gnu_ld
5177 +lt_save_path_LD=$lt_cv_path_LD
5178 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
5179 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
5181 + unset lt_cv_prog_gnu_ld
5183 +if test -n "${lt_cv_path_LDCXX+set}"; then
5184 + lt_cv_path_LD=$lt_cv_path_LDCXX
5186 + unset lt_cv_path_LD
5188 +test -z "${LDCXX+set}" || LD=$LDCXX
5191 +_LT_AC_TAGVAR(compiler, $1)=$CC
5192 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
5194 +# We don't want -fno-exception wen compiling C++ code, so set the
5195 +# no_builtin_flag separately
5196 +if test "$GXX" = yes; then
5197 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5199 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5202 +if test "$GXX" = yes; then
5203 + # Set up default GNU C++ configuration
5207 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
5208 + # archiving commands below assume that GNU ld is being used.
5209 + if test "$with_gnu_ld" = yes; then
5210 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5211 + _LT_AC_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'
5213 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5214 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5216 + # If archive_cmds runs LD, not CC, wlarc should be empty
5217 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
5218 + # investigate it a little bit more. (MM)
5221 + # ancient GNU ld didn't support --whole-archive et. al.
5222 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
5223 + grep 'no-whole-archive' > /dev/null; then
5224 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5226 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5232 + # A generic and very simple default shared library creation
5233 + # command for GNU C++ for the case where it uses the native
5234 + # linker, instead of GNU ld. If possible, this setting should
5235 + # overridden to take advantage of the native linker features on
5236 + # the platform it is being used on.
5237 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5240 + # Commands to make compiler produce verbose output that lists
5241 + # what "hidden" libraries, object files and flags are used when
5242 + # linking a shared library.
5243 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5251 +# PORTME: fill in a description of your system's C++ link characteristics
5252 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5253 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
5256 + # FIXME: insert proper C++ library support
5257 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5260 + if test "$host_cpu" = ia64; then
5261 + # On IA64, the linker does run time linking by default, so we don't
5262 + # have to do anything special.
5263 + aix_use_runtimelinking=no
5264 + exp_sym_flag='-Bexport'
5267 + aix_use_runtimelinking=no
5269 + # Test if we are trying to use run time linking or normal
5270 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5271 + # need to do runtime linking.
5272 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
5273 + for ld_flag in $LDFLAGS; do
5276 + aix_use_runtimelinking=yes
5283 + exp_sym_flag='-bexport'
5284 + no_entry_flag='-bnoentry'
5287 + # When large executables or shared objects are built, AIX ld can
5288 + # have problems creating the table of contents. If linking a library
5289 + # or program results in "error TOC overflow" add -mminimal-toc to
5290 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5291 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5293 + _LT_AC_TAGVAR(archive_cmds, $1)=''
5294 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5295 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5296 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5298 + if test "$GXX" = yes; then
5299 + case $host_os in aix4.[012]|aix4.[012].*)
5300 + # We only want to do this on AIX 4.2 and lower, the check
5301 + # below for broken collect2 doesn't work under 4.3+
5302 + collect2name=`${CC} -print-prog-name=collect2`
5303 + if test -f "$collect2name" && \
5304 + strings "$collect2name" | grep resolve_lib_name >/dev/null
5306 + # We have reworked collect2
5307 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5309 + # We have old collect2
5310 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5311 + # It fails to find uninstalled libraries when the uninstalled
5312 + # path is not listed in the libpath. Setting hardcode_minus_L
5313 + # to unsupported forces relinking
5314 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5315 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5316 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5319 + shared_flag='-shared'
5322 + if test "$host_cpu" = ia64; then
5323 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5324 + # chokes on -Wl,-G. The following line is correct:
5327 + if test "$aix_use_runtimelinking" = yes; then
5328 + shared_flag='${wl}-G'
5330 + shared_flag='${wl}-bM:SRE'
5335 + # It seems that -bexpall does not export symbols beginning with
5336 + # underscore (_), so it is better to generate a list of symbols to export.
5337 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5338 + if test "$aix_use_runtimelinking" = yes; then
5339 + # Warning - without using the other runtime loading flags (-brtl),
5340 + # -berok will link without error, but may produce a broken library.
5341 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
5342 + # Determine the default libpath from the value encoded in an empty executable.
5343 + _LT_AC_SYS_LIBPATH_AIX
5344 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5346 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5348 + if test "$host_cpu" = ia64; then
5349 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5350 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5351 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5353 + # Determine the default libpath from the value encoded in an empty executable.
5354 + _LT_AC_SYS_LIBPATH_AIX
5355 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5356 + # Warning - without using the other run time loading flags,
5357 + # -berok will link without error, but may produce a broken library.
5358 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5359 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5360 + # -bexpall does not export symbols beginning with underscore (_)
5361 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5362 + # Exported symbols can be pulled into shared objects from archives
5363 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
5364 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5365 + # This is similar to how AIX traditionally builds it's shared libraries.
5366 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5371 + case $cc_basename in
5373 + # FIXME: insert proper C++ library support
5374 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5379 + cygwin* | mingw* | pw32*)
5380 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5381 + # as there is no search path for DLLs.
5382 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5383 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5384 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
5385 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5387 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5388 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5389 + # If the export-symbols file already is a .def file (1st line
5390 + # is EXPORTS), use it as is; otherwise, prepend...
5391 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5392 + cp $export_symbols $output_objdir/$soname.def;
5394 + echo EXPORTS > $output_objdir/$soname.def;
5395 + cat $export_symbols >> $output_objdir/$soname.def;
5397 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5399 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5403 + darwin* | rhapsody*)
5404 + if test "$GXX" = yes; then
5405 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5406 + case "$host_os" in
5407 + rhapsody* | darwin1.[[012]])
5408 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
5410 + *) # Darwin 1.3 on
5411 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5412 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5414 + case ${MACOSX_DEPLOYMENT_TARGET} in
5416 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5419 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
5425 + lt_int_apple_cc_single_mod=no
5426 + output_verbose_link_cmd='echo'
5427 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
5428 + lt_int_apple_cc_single_mod=yes
5430 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5431 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5433 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
5435 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5437 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5438 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5439 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5441 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5443 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5444 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
5445 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5446 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5447 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
5448 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5450 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5455 + case $cc_basename in
5457 + # FIXME: insert proper C++ library support
5458 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5461 + # Green Hills C++ Compiler
5462 + # FIXME: insert proper C++ library support
5463 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5466 + # FIXME: insert proper C++ library support
5467 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5472 + # C++ shared libraries reported to be fairly broken before switch to ELF
5473 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5476 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5478 + freebsd* | kfreebsd*-gnu)
5479 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
5481 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5486 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5487 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5488 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5489 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5490 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5491 + # but as the default
5492 + # location of the library.
5494 + case $cc_basename in
5496 + # FIXME: insert proper C++ library support
5497 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5500 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5501 + # Commands to make compiler produce verbose output that lists
5502 + # what "hidden" libraries, object files and flags are used when
5503 + # linking a shared library.
5505 + # There doesn't appear to be a way to prevent this compiler from
5506 + # explicitly linking system object files so we need to strip them
5507 + # from the output so that they don't get included in the library
5509 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5512 + if test "$GXX" = yes; then
5513 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5515 + # FIXME: insert proper C++ library support
5516 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5522 + if test $with_gnu_ld = no; then
5523 + case "$host_cpu" in
5525 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5526 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5527 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5530 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5533 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5534 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5535 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5539 + case "$host_cpu" in
5541 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
5542 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5545 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
5546 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5547 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5548 + # but as the default
5549 + # location of the library.
5552 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5553 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5554 + # but as the default
5555 + # location of the library.
5559 + case $cc_basename in
5561 + # FIXME: insert proper C++ library support
5562 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5565 + case "$host_cpu" in
5567 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
5570 + _LT_AC_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'
5573 + # Commands to make compiler produce verbose output that lists
5574 + # what "hidden" libraries, object files and flags are used when
5575 + # linking a shared library.
5577 + # There doesn't appear to be a way to prevent this compiler from
5578 + # explicitly linking system object files so we need to strip them
5579 + # from the output so that they don't get included in the library
5581 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5584 + if test "$GXX" = yes; then
5585 + if test $with_gnu_ld = no; then
5586 + case "$host_cpu" in
5588 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
5591 + _LT_AC_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'
5596 + # FIXME: insert proper C++ library support
5597 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5603 + case $cc_basename in
5606 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
5608 + # Archives containing C++ object files must be created using
5609 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
5610 + # necessary to make sure instantiated templates are included
5612 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
5615 + if test "$GXX" = yes; then
5616 + if test "$with_gnu_ld" = no; then
5617 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
5619 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
5622 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5625 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5626 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5629 + case $cc_basename in
5631 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5633 + # KCC will only create a shared library if the output file
5634 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5635 + # to its proper name (with version) after linking.
5636 + _LT_AC_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'
5637 + _LT_AC_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'
5638 + # Commands to make compiler produce verbose output that lists
5639 + # what "hidden" libraries, object files and flags are used when
5640 + # linking a shared library.
5642 + # There doesn't appear to be a way to prevent this compiler from
5643 + # explicitly linking system object files so we need to strip them
5644 + # from the output so that they don't get included in the library
5646 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5648 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
5649 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5651 + # Archives containing C++ object files must be created using
5652 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5653 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5658 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5659 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5660 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5661 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5662 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5663 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5667 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5668 + _LT_AC_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'
5670 + runpath_var=LD_RUN_PATH
5671 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5672 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5674 + # Commands to make compiler produce verbose output that lists
5675 + # what "hidden" libraries, object files and flags are used when
5676 + # linking a shared library.
5678 + # There doesn't appear to be a way to prevent this compiler from
5679 + # explicitly linking system object files so we need to strip them
5680 + # from the output so that they don't get included in the library
5682 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5687 + # FIXME: insert proper C++ library support
5688 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5691 + # FIXME: insert proper C++ library support
5692 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5695 + case $cc_basename in
5697 + # FIXME: insert proper C++ library support
5698 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5701 + # FIXME: insert proper C++ library support
5702 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5706 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5707 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5708 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
5710 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5711 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5712 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5714 + # Workaround some broken pre-1.5 toolchains
5715 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
5718 + case $cc_basename in
5720 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5722 + # KCC will only create a shared library if the output file
5723 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5724 + # to its proper name (with version) after linking.
5725 + _LT_AC_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'
5727 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5728 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5730 + # Archives containing C++ object files must be created using
5731 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5732 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5736 + # Rational C++ 2.4.1
5737 + # FIXME: insert proper C++ library support
5738 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5741 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5742 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
5744 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5745 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5747 + # Commands to make compiler produce verbose output that lists
5748 + # what "hidden" libraries, object files and flags are used when
5749 + # linking a shared library.
5751 + # There doesn't appear to be a way to prevent this compiler from
5752 + # explicitly linking system object files so we need to strip them
5753 + # from the output so that they don't get included in the library
5755 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5758 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5759 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5760 + _LT_AC_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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
5762 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5763 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5765 + # Commands to make compiler produce verbose output that lists
5766 + # what "hidden" libraries, object files and flags are used when
5767 + # linking a shared library.
5768 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5771 + # FIXME: insert proper C++ library support
5772 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5778 + case $cc_basename in
5780 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5782 + # KCC will only create a shared library if the output file
5783 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5784 + # to its proper name (with version) after linking.
5785 + _LT_AC_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'
5787 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5788 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5790 + # Archives containing C++ object files must be created using
5791 + # the KAI C++ compiler.
5792 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
5795 + # Rational C++ 2.4.1
5796 + # FIXME: insert proper C++ library support
5797 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5800 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5801 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
5802 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
5803 + echo "-hidden">> $lib.exp~
5804 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
5807 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5808 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5810 + # Commands to make compiler produce verbose output that lists
5811 + # what "hidden" libraries, object files and flags are used when
5812 + # linking a shared library.
5814 + # There doesn't appear to be a way to prevent this compiler from
5815 + # explicitly linking system object files so we need to strip them
5816 + # from the output so that they don't get included in the library
5818 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5821 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5822 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5823 + _LT_AC_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` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
5825 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5826 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5828 + # Commands to make compiler produce verbose output that lists
5829 + # what "hidden" libraries, object files and flags are used when
5830 + # linking a shared library.
5831 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5834 + # FIXME: insert proper C++ library support
5835 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5841 + # FIXME: insert proper C++ library support
5842 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5845 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5846 + case $cc_basename in
5848 + # FIXME: insert proper C++ library support
5849 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5852 + # FIXME: insert proper C++ library support
5853 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5858 + case $cc_basename in
5861 + # FIXME: insert proper C++ library support
5862 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5866 + # FIXME: insert proper C++ library support
5867 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5870 + # FIXME: insert proper C++ library support
5871 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5876 + case $cc_basename in
5878 + # Sun C++ 4.2, 5.x and Centerline C++
5879 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5880 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5881 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5882 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5884 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5885 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5887 + solaris2.[0-5] | solaris2.[0-5].*) ;;
5889 + # The C++ compiler is used as linker so we must use $wl
5890 + # flag to pass the commands to the underlying system
5892 + # Supported since Solaris 2.6 (maybe 2.5.1?)
5893 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5896 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5898 + # Commands to make compiler produce verbose output that lists
5899 + # what "hidden" libraries, object files and flags are used when
5900 + # linking a shared library.
5902 + # There doesn't appear to be a way to prevent this compiler from
5903 + # explicitly linking system object files so we need to strip them
5904 + # from the output so that they don't get included in the library
5906 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5908 + # Archives containing C++ object files must be created using
5909 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
5910 + # necessary to make sure instantiated templates are included
5912 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5915 + # Green Hills C++ Compiler
5916 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5918 + # The C++ compiler must be used to create the archive.
5919 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
5922 + # GNU C++ compiler with Solaris linker
5923 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5924 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
5925 + if $CC --version | grep -v '^2\.7' > /dev/null; then
5926 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5927 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5928 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5930 + # Commands to make compiler produce verbose output that lists
5931 + # what "hidden" libraries, object files and flags are used when
5932 + # linking a shared library.
5933 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5935 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
5937 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5938 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5939 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5941 + # Commands to make compiler produce verbose output that lists
5942 + # what "hidden" libraries, object files and flags are used when
5943 + # linking a shared library.
5944 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5947 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
5952 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5953 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5956 + case $cc_basename in
5958 + # NonStop-UX NCC 3.20
5959 + # FIXME: insert proper C++ library support
5960 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5963 + # FIXME: insert proper C++ library support
5964 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5969 + # FIXME: insert proper C++ library support
5970 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5973 + # FIXME: insert proper C++ library support
5974 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5977 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5978 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5980 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
5981 +_LT_AC_TAGVAR(LD, $1)="$LD"
5983 +AC_LIBTOOL_POSTDEP_PREDEP($1)
5984 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5985 +AC_LIBTOOL_PROG_CC_C_O($1)
5986 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5987 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5988 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5989 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5990 +AC_LIBTOOL_SYS_LIB_STRIP
5991 +AC_LIBTOOL_DLOPEN_SELF($1)
5993 +AC_LIBTOOL_CONFIG($1)
6000 +with_gnu_ldcxx=$with_gnu_ld
6001 +with_gnu_ld=$lt_save_with_gnu_ld
6002 +lt_cv_path_LDCXX=$lt_cv_path_LD
6003 +lt_cv_path_LD=$lt_save_path_LD
6004 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
6005 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
6006 +])# AC_LIBTOOL_LANG_CXX_CONFIG
6008 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
6009 +# ------------------------
6010 +# Figure out "hidden" library dependencies from verbose
6011 +# compiler output when linking a shared library.
6012 +# Parse the compiler output and extract the necessary
6013 +# objects, libraries and library flags.
6014 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
6015 +dnl we can't use the lt_simple_compile_test_code here,
6016 +dnl because it contains code intended for an executable,
6017 +dnl not a library. It's possible we should let each
6018 +dnl tag define a new lt_????_link_test_code variable,
6019 +dnl but it's only used here...
6020 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
6022 +void foo (void) { a = 0; }
6024 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
6028 + Foo (void) { a = 0; }
6033 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
6041 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
6044 + public void bar (void) {
6050 +dnl Parse the compiler output and extract the necessary
6051 +dnl objects, libraries and library flags.
6052 +if AC_TRY_EVAL(ac_compile); then
6053 + # Parse the compiler output and extract the necessary
6054 + # objects, libraries and library flags.
6056 + # Sentinel used to keep track of whether or not we are before
6057 + # the conftest object file.
6058 + pre_test_object_deps_done=no
6060 + # The `*' in the case matches for architectures that use `case' in
6061 + # $output_verbose_cmd can trigger glob expansion during the loop
6062 + # eval without this substitution.
6063 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
6065 + for p in `eval $output_verbose_link_cmd`; do
6069 + # Some compilers place space between "-{L,R}" and the path.
6070 + # Remove the space.
6071 + if test $p = "-L" \
6072 + || test $p = "-R"; then
6079 + if test "$pre_test_object_deps_done" = no; then
6082 + # Internal compiler library paths should come after those
6083 + # provided the user. The postdeps already come after the
6084 + # user supplied libs so there is no need to process them.
6085 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
6086 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
6088 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
6091 + # The "-l" case would never come before the object being
6092 + # linked, so don't bother handling this case.
6095 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
6096 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
6098 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
6104 + # This assumes that the test object file only shows up
6105 + # once in the compiler output.
6106 + if test "$p" = "conftest.$objext"; then
6107 + pre_test_object_deps_done=yes
6111 + if test "$pre_test_object_deps_done" = no; then
6112 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
6113 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
6115 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
6118 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
6119 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
6121 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
6126 + *) ;; # Ignore the rest.
6134 + echo "libtool.m4: error: problem compiling $1 test program"
6137 +$rm -f confest.$objext
6139 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
6140 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
6142 +])# AC_LIBTOOL_POSTDEP_PREDEP
6144 +# AC_LIBTOOL_LANG_F77_CONFIG
6145 +# ------------------------
6146 +# Ensure that the configuration vars for the C compiler are
6147 +# suitably defined. Those variables are subsequently used by
6148 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6149 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
6150 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
6151 +[AC_REQUIRE([AC_PROG_F77])
6152 +AC_LANG_PUSH(Fortran 77)
6154 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6155 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
6156 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
6157 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
6158 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6159 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
6160 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6161 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6162 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6163 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6164 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
6165 +_LT_AC_TAGVAR(module_cmds, $1)=
6166 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
6167 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
6168 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6169 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
6170 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6171 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6173 +# Source file extension for f77 test sources.
6176 +# Object file extension for compiled f77 test sources.
6178 +_LT_AC_TAGVAR(objext, $1)=$objext
6180 +# Code to be used in simple compile tests
6181 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
6183 +# Code to be used in simple link tests
6184 +lt_simple_link_test_code=" program t\n end\n"
6186 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6187 +_LT_AC_SYS_COMPILER
6189 +# Allow CC to be a program name with arguments.
6193 +_LT_AC_TAGVAR(compiler, $1)=$CC
6194 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6196 +AC_MSG_CHECKING([if libtool supports shared libraries])
6197 +AC_MSG_RESULT([$can_build_shared])
6199 +AC_MSG_CHECKING([whether to build shared libraries])
6200 +test "$can_build_shared" = "no" && enable_shared=no
6202 +# On AIX, shared libraries and static libraries use the same namespace, and
6203 +# are all built from PIC.
6206 + test "$enable_shared" = yes && enable_static=no
6207 + if test -n "$RANLIB"; then
6208 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
6209 + postinstall_cmds='$RANLIB $lib'
6213 + test "$enable_shared" = yes && enable_static=no
6216 +AC_MSG_RESULT([$enable_shared])
6218 +AC_MSG_CHECKING([whether to build static libraries])
6219 +# Make sure either enable_shared or enable_static is yes.
6220 +test "$enable_shared" = yes || enable_static=yes
6221 +AC_MSG_RESULT([$enable_static])
6223 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6225 +_LT_AC_TAGVAR(GCC, $1)="$G77"
6226 +_LT_AC_TAGVAR(LD, $1)="$LD"
6228 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6229 +AC_LIBTOOL_PROG_CC_C_O($1)
6230 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6231 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6232 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6233 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6234 +AC_LIBTOOL_SYS_LIB_STRIP
6237 +AC_LIBTOOL_CONFIG($1)
6241 +])# AC_LIBTOOL_LANG_F77_CONFIG
6244 +# AC_LIBTOOL_LANG_GCJ_CONFIG
6245 +# --------------------------
6246 +# Ensure that the configuration vars for the C compiler are
6247 +# suitably defined. Those variables are subsequently used by
6248 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6249 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
6250 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
6253 +# Source file extension for Java test sources.
6256 +# Object file extension for compiled Java test sources.
6258 +_LT_AC_TAGVAR(objext, $1)=$objext
6260 +# Code to be used in simple compile tests
6261 +lt_simple_compile_test_code="class foo {}\n"
6263 +# Code to be used in simple link tests
6264 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
6266 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6267 +_LT_AC_SYS_COMPILER
6269 +# Allow CC to be a program name with arguments.
6273 +_LT_AC_TAGVAR(compiler, $1)=$CC
6275 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
6276 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6278 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
6279 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6280 +AC_LIBTOOL_PROG_CC_C_O($1)
6281 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6282 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6283 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6284 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6285 +AC_LIBTOOL_SYS_LIB_STRIP
6286 +AC_LIBTOOL_DLOPEN_SELF($1)
6288 +AC_LIBTOOL_CONFIG($1)
6292 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
6295 +# AC_LIBTOOL_LANG_RC_CONFIG
6296 +# --------------------------
6297 +# Ensure that the configuration vars for the Windows resource compiler are
6298 +# suitably defined. Those variables are subsequently used by
6299 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6300 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
6301 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
6304 +# Source file extension for RC test sources.
6307 +# Object file extension for compiled RC test sources.
6309 +_LT_AC_TAGVAR(objext, $1)=$objext
6311 +# Code to be used in simple compile tests
6312 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
6314 +# Code to be used in simple link tests
6315 +lt_simple_link_test_code="$lt_simple_compile_test_code"
6317 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6318 +_LT_AC_SYS_COMPILER
6320 +# Allow CC to be a program name with arguments.
6324 +_LT_AC_TAGVAR(compiler, $1)=$CC
6325 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
6327 +AC_LIBTOOL_CONFIG($1)
6331 +])# AC_LIBTOOL_LANG_RC_CONFIG
6334 +# AC_LIBTOOL_CONFIG([TAGNAME])
6335 +# ----------------------------
6336 +# If TAGNAME is not passed, then create an initial libtool script
6337 +# with a default configuration from the untagged config vars. Otherwise
6338 +# add code to config.status for appending the configuration named by
6339 +# TAGNAME from the matching tagged config vars.
6340 +AC_DEFUN([AC_LIBTOOL_CONFIG],
6341 +[# The else clause should only fire when bootstrapping the
6342 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6343 +# with your package, and you will get complaints that there are
6344 +# no rules to generate ltmain.sh.
6345 +if test -f "$ltmain"; then
6346 + # See if we are running on zsh, and set the options which allow our commands through
6347 + # without removal of \ escapes.
6348 + if test -n "${ZSH_VERSION+set}" ; then
6349 + setopt NO_GLOB_SUBST
6351 + # Now quote all the things that may contain metacharacters while being
6352 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6353 + # variables and quote the copies for generation of the libtool script.
6354 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6356 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6357 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6358 + deplibs_check_method reload_flag reload_cmds need_locks \
6359 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6360 + lt_cv_sys_global_symbol_to_c_name_address \
6361 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6362 + old_postinstall_cmds old_postuninstall_cmds \
6363 + _LT_AC_TAGVAR(compiler, $1) \
6364 + _LT_AC_TAGVAR(CC, $1) \
6365 + _LT_AC_TAGVAR(LD, $1) \
6366 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
6367 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
6368 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
6369 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
6370 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
6371 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
6372 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
6373 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
6374 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
6375 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
6376 + _LT_AC_TAGVAR(predep_objects, $1) \
6377 + _LT_AC_TAGVAR(postdep_objects, $1) \
6378 + _LT_AC_TAGVAR(predeps, $1) \
6379 + _LT_AC_TAGVAR(postdeps, $1) \
6380 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
6381 + _LT_AC_TAGVAR(archive_cmds, $1) \
6382 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
6383 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
6384 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
6385 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
6386 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
6387 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
6388 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
6389 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
6390 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
6391 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
6392 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
6393 + _LT_AC_TAGVAR(module_cmds, $1) \
6394 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
6395 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
6396 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
6397 + _LT_AC_TAGVAR(include_expsyms, $1); do
6400 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
6401 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
6402 + _LT_AC_TAGVAR(archive_cmds, $1) | \
6403 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
6404 + _LT_AC_TAGVAR(module_cmds, $1) | \
6405 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
6406 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
6407 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
6408 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6409 + postinstall_cmds | postuninstall_cmds | \
6410 + old_postinstall_cmds | old_postuninstall_cmds | \
6411 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6412 + # Double-quote double-evaled strings.
6413 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6416 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6422 + *'\[$]0 --fallback-echo"')
6423 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
6428 + [cfgfile="${ofile}T"
6429 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
6431 + AC_MSG_NOTICE([creating $ofile])],
6432 + [cfgfile="$ofile"])
6434 + cat <<__EOF__ >> "$cfgfile"
6438 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6439 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6440 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
6442 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
6443 +# Free Software Foundation, Inc.
6445 +# This file is part of GNU Libtool:
6446 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6448 +# This program is free software; you can redistribute it and/or modify
6449 +# it under the terms of the GNU General Public License as published by
6450 +# the Free Software Foundation; either version 2 of the License, or
6451 +# (at your option) any later version.
6453 +# This program is distributed in the hope that it will be useful, but
6454 +# WITHOUT ANY WARRANTY; without even the implied warranty of
6455 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6456 +# General Public License for more details.
6458 +# You should have received a copy of the GNU General Public License
6459 +# along with this program; if not, write to the Free Software
6460 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6462 +# As a special exception to the GNU General Public License, if you
6463 +# distribute this file as part of a program that contains a
6464 +# configuration script generated by Autoconf, you may include it under
6465 +# the same distribution terms that you use for the rest of that program.
6467 +# A sed program that does not truncate output.
6470 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
6471 +Xsed="$SED -e s/^X//"
6473 +# The HP-UX ksh and POSIX shell print the target directory to stdout
6474 +# if CDPATH is set.
6475 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
6477 +# The names of the tagged configurations supported by this script.
6480 +# ### BEGIN LIBTOOL CONFIG],
6481 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
6483 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6485 +# Shell to use when invoking shell scripts.
6488 +# Whether or not to build shared libraries.
6489 +build_libtool_libs=$enable_shared
6491 +# Whether or not to build static libraries.
6492 +build_old_libs=$enable_static
6494 +# Whether or not to add -lc for building shared libraries.
6495 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
6497 +# Whether or not to disallow shared libs when runtime libs are static
6498 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
6500 +# Whether or not to optimize for fast installation.
6501 +fast_install=$enable_fast_install
6504 +host_alias=$host_alias
6507 +# An echo program that does not interpret backslashes.
6512 +AR_FLAGS=$lt_AR_FLAGS
6517 +# A language-specific compiler.
6518 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
6520 +# Is the compiler the GNU C compiler?
6521 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
6526 +# The linker used to build libraries.
6527 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
6529 +# Whether we need hard or soft links.
6532 +# A BSD-compatible nm program.
6535 +# A symbol stripping program
6538 +# Used to examine libraries when file_magic_cmd begins "file"
6539 +MAGIC_CMD=$MAGIC_CMD
6541 +# Used on cygwin: DLL creation program.
6544 +# Used on cygwin: object dumper.
6547 +# Used on cygwin: assembler.
6550 +# The name of the directory that contains temporary libtool files.
6553 +# How to create reloadable object files.
6554 +reload_flag=$lt_reload_flag
6555 +reload_cmds=$lt_reload_cmds
6557 +# How to pass a linker flag through the compiler.
6558 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6560 +# Object file suffix (normally "o").
6561 +objext="$ac_objext"
6563 +# Old archive suffix (normally "a").
6566 +# Shared library suffix (normally ".so").
6567 +shrext_cmds='$shrext_cmds'
6569 +# Executable file suffix (normally "").
6572 +# Additional compiler flags for building library objects.
6573 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6576 +# What is the maximum length of a command?
6577 +max_cmd_len=$lt_cv_sys_max_cmd_len
6579 +# Does compiler simultaneously support -c and -o options?
6580 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
6582 +# Must we lock files when doing compilation ?
6583 +need_locks=$lt_need_locks
6585 +# Do we need the lib prefix for modules?
6586 +need_lib_prefix=$need_lib_prefix
6588 +# Do we need a version for libraries?
6589 +need_version=$need_version
6591 +# Whether dlopen is supported.
6592 +dlopen_support=$enable_dlopen
6594 +# Whether dlopen of programs is supported.
6595 +dlopen_self=$enable_dlopen_self
6597 +# Whether dlopen of statically linked programs is supported.
6598 +dlopen_self_static=$enable_dlopen_self_static
6600 +# Compiler flag to prevent dynamic linking.
6601 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
6603 +# Compiler flag to turn off builtin functions.
6604 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
6606 +# Compiler flag to allow reflexive dlopens.
6607 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
6609 +# Compiler flag to generate shared objects directly from archives.
6610 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
6612 +# Compiler flag to generate thread-safe objects.
6613 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
6615 +# Library versioning type.
6616 +version_type=$version_type
6618 +# Format of library name prefix.
6619 +libname_spec=$lt_libname_spec
6621 +# List of archive names. First name is the real one, the rest are links.
6622 +# The last name is the one that the linker finds with -lNAME.
6623 +library_names_spec=$lt_library_names_spec
6625 +# The coded name of the library, if different from the real name.
6626 +soname_spec=$lt_soname_spec
6628 +# Commands used to build and install an old-style archive.
6630 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
6631 +old_postinstall_cmds=$lt_old_postinstall_cmds
6632 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6634 +# Create an old-style archive from a shared archive.
6635 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
6637 +# Create a temporary old-style archive to link instead of a shared archive.
6638 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
6640 +# Commands used to build and install a shared archive.
6641 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
6642 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
6643 +postinstall_cmds=$lt_postinstall_cmds
6644 +postuninstall_cmds=$lt_postuninstall_cmds
6646 +# Commands used to build a loadable module (assumed same as above if empty)
6647 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
6648 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
6650 +# Commands to strip libraries.
6651 +old_striplib=$lt_old_striplib
6652 +striplib=$lt_striplib
6654 +# Dependencies to place before the objects being linked to create a
6656 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
6658 +# Dependencies to place after the objects being linked to create a
6660 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
6662 +# Dependencies to place before the objects being linked to create a
6664 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
6666 +# Dependencies to place after the objects being linked to create a
6668 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
6670 +# The library search path used internally by the compiler when linking
6671 +# a shared library.
6672 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
6674 +# Method to check whether dependent libraries are shared objects.
6675 +deplibs_check_method=$lt_deplibs_check_method
6677 +# Command to use when deplibs_check_method == file_magic.
6678 +file_magic_cmd=$lt_file_magic_cmd
6680 +# Flag that allows shared libraries with undefined symbols to be built.
6681 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
6683 +# Flag that forces no undefined symbols.
6684 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
6686 +# Commands used to finish a libtool library installation in a directory.
6687 +finish_cmds=$lt_finish_cmds
6689 +# Same as above, but a single script fragment to be evaled but not shown.
6690 +finish_eval=$lt_finish_eval
6692 +# Take the output of nm and produce a listing of raw symbols and C names.
6693 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6695 +# Transform the output of nm in a proper C declaration
6696 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6698 +# Transform the output of nm in a C name address pair
6699 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6701 +# This is the shared library runtime path variable.
6702 +runpath_var=$runpath_var
6704 +# This is the shared library path variable.
6705 +shlibpath_var=$shlibpath_var
6707 +# Is shlibpath searched before the hard-coded library search path?
6708 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6710 +# How to hardcode a shared library path into an executable.
6711 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
6713 +# Whether we should hardcode library paths into libraries.
6714 +hardcode_into_libs=$hardcode_into_libs
6716 +# Flag to hardcode \$libdir into a binary during linking.
6717 +# This must work even if \$libdir does not exist.
6718 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6720 +# If ld is used when linking, flag to hardcode \$libdir into
6721 +# a binary during linking. This must work even if \$libdir does
6723 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
6725 +# Whether we need a single -rpath flag with a separated argument.
6726 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
6728 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6729 +# resulting binary.
6730 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
6732 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6733 +# resulting binary.
6734 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
6736 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6737 +# the resulting binary.
6738 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
6740 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6741 +# and all subsequent libraries and executables linked against it.
6742 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
6744 +# Variables whose values should be saved in libtool wrapper scripts and
6745 +# restored at relink time.
6746 +variables_saved_for_relink="$variables_saved_for_relink"
6748 +# Whether libtool must link a program against all its dependency libraries.
6749 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
6751 +# Compile-time system search path for libraries
6752 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6754 +# Run-time system search path for libraries
6755 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6757 +# Fix the shell variable \$srcfile for the compiler.
6758 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
6760 +# Set to yes if exported symbols are required.
6761 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
6763 +# The commands to list exported symbols.
6764 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
6766 +# The commands to extract the exported symbol list from a shared archive.
6767 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6769 +# Symbols that should not be listed in the preloaded symbols.
6770 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
6772 +# Symbols that must always be exported.
6773 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
6776 +[# ### END LIBTOOL CONFIG],
6777 +[# ### END LIBTOOL TAG CONFIG: $tagname])
6784 + cat <<\EOF >> "$cfgfile"
6786 +# AIX sometimes has problems with the GCC collect2 program. For some
6787 +# reason, if we set the COLLECT_NAMES environment variable, the problems
6788 +# vanish in a puff of smoke.
6789 +if test "X${COLLECT_NAMES+set}" != Xset; then
6791 + export COLLECT_NAMES
6797 + # We use sed instead of cat because bash on DJGPP gets confused if
6798 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
6799 + # text mode, it properly converts lines to CR/LF. This bash problem
6800 + # is reportedly fixed, but why not run on old versions too?
6801 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6803 + mv -f "$cfgfile" "$ofile" || \
6804 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6808 + # If there is no Makefile yet, we rely on a make rule to execute
6809 + # `config.status --recheck' to rerun these tests and create the
6810 + # libtool script then.
6811 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6812 + if test -f "$ltmain_in"; then
6813 + test -f Makefile && make "$ltmain"
6816 +])# AC_LIBTOOL_CONFIG
6819 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
6820 +# -------------------------------------------
6821 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
6822 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
6824 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6826 +if test "$GCC" = yes; then
6827 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6829 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6830 + lt_cv_prog_compiler_rtti_exceptions,
6831 + [-fno-rtti -fno-exceptions], [],
6832 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6834 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
6837 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6838 +# ---------------------------------
6839 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6840 +[AC_REQUIRE([AC_CANONICAL_HOST])
6841 +AC_REQUIRE([AC_PROG_NM])
6842 +AC_REQUIRE([AC_OBJEXT])
6843 +# Check for command to grab the raw symbol name followed by C symbol from nm.
6844 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6845 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6847 +# These are sane defaults that work on at least a few old systems.
6848 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6850 +# Character class describing NM global symbol codes.
6851 +symcode='[[BCDEGRST]]'
6853 +# Regexp to match symbols that can be accessed directly from C.
6854 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6856 +# Transform the above into a raw symbol and a C symbol.
6857 +symxfrm='\1 \2\3 \3'
6859 +# Transform an extracted symbol line into a proper C declaration
6860 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6862 +# Transform an extracted symbol line into symbol name and symbol address
6863 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6865 +# Define system-specific variables.
6868 + symcode='[[BCDT]]'
6870 +cygwin* | mingw* | pw32*)
6871 + symcode='[[ABCDGISTW]]'
6873 +hpux*) # Its linker distinguishes data from code symbols
6874 + if test "$host_cpu" = ia64; then
6875 + symcode='[[ABCDEGRST]]'
6877 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6878 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6880 +irix* | nonstopux*)
6881 + symcode='[[BCDEGRST]]'
6884 + symcode='[[BCDEGQRST]]'
6887 + symcode='[[BDRT]]'
6890 + symcode='[[DFNSTU]]'
6894 +# Handle CRLF in mingw tool chain
6898 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6902 +# If we're using GNU nm, then use its standard symbol codes.
6903 +case `$NM -V 2>&1` in
6904 +*GNU* | *'with BFD'*)
6905 + symcode='[[ABCDGIRSTW]]' ;;
6908 +# Try without a prefix undercore, then with it.
6909 +for ac_symprfx in "" "_"; do
6911 + # Write the raw and C identifiers.
6912 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6914 + # Check to see that the pipe works correctly.
6918 + cat > conftest.$ac_ext <<EOF
6923 +void nm_test_func(){}
6927 +int main(){nm_test_var='a';nm_test_func();return(0);}
6930 + if AC_TRY_EVAL(ac_compile); then
6931 + # Now try to grab the symbols.
6933 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
6934 + # Try sorting and uniquifying the output.
6935 + if sort "$nlist" | uniq > "$nlist"T; then
6936 + mv -f "$nlist"T "$nlist"
6941 + # Make sure that we snagged all the symbols we need.
6942 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
6943 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
6944 + cat <<EOF > conftest.$ac_ext
6950 + # Now generate the symbol file.
6951 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6953 + cat <<EOF >> conftest.$ac_ext
6954 +#if defined (__STDC__) && __STDC__
6955 +# define lt_ptr_t void *
6957 +# define lt_ptr_t char *
6961 +/* The mapping between symbol names and symbols. */
6966 +lt_preloaded_symbols[[]] =
6969 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6970 + cat <<\EOF >> conftest.$ac_ext
6978 + # Now try linking the two files.
6979 + mv conftest.$ac_objext conftstm.$ac_objext
6980 + lt_save_LIBS="$LIBS"
6981 + lt_save_CFLAGS="$CFLAGS"
6982 + LIBS="conftstm.$ac_objext"
6983 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
6984 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
6987 + LIBS="$lt_save_LIBS"
6988 + CFLAGS="$lt_save_CFLAGS"
6990 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
6993 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
6996 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
6999 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
7000 + cat conftest.$ac_ext >&5
7002 + rm -f conftest* conftst*
7004 + # Do not use the global_symbol_pipe unless it works.
7005 + if test "$pipe_works" = yes; then
7008 + lt_cv_sys_global_symbol_pipe=
7012 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
7013 + lt_cv_sys_global_symbol_to_cdecl=
7015 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7016 + AC_MSG_RESULT(failed)
7020 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
7023 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
7024 +# ---------------------------------------
7025 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
7026 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
7027 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7028 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
7030 +AC_MSG_CHECKING([for $compiler option to produce PIC])
7031 + ifelse([$1],[CXX],[
7032 + # C++ specific cases for pic, static, wl, etc.
7033 + if test "$GXX" = yes; then
7034 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7035 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7039 + # All AIX code is PIC.
7040 + if test "$host_cpu" = ia64; then
7041 + # AIX 5 now supports IA64 processor
7042 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7046 + # FIXME: we need at least 68020 code to build shared libraries, but
7047 + # adding the `-m68020' flag to GCC prevents building anything better,
7049 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7051 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7052 + # PIC is the default for these OSes.
7054 + mingw* | os2* | pw32*)
7055 + # This hack is so that the source file can tell whether it is being
7056 + # built for inclusion in a dll (and should export symbols for example).
7057 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7059 + darwin* | rhapsody*)
7060 + # PIC is the default on this platform
7061 + # Common symbols not allowed in MH_DYLIB files
7062 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7065 + # DJGPP does not support shared libraries at all
7066 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7069 + if test -d /usr/nec; then
7070 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7074 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7075 + # not for PA HP-UX.
7076 + case "$host_cpu" in
7080 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7085 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7091 + # All AIX code is PIC.
7092 + if test "$host_cpu" = ia64; then
7093 + # AIX 5 now supports IA64 processor
7094 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7096 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7100 + case $cc_basename in
7102 + # Green Hills C++ Compiler
7103 + # _LT_AC_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"
7108 + case $cc_basename in
7110 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7113 + # Green Hills C++ Compiler
7114 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7120 + freebsd* | kfreebsd*-gnu)
7121 + # FreeBSD uses GNU C++
7123 + hpux9* | hpux10* | hpux11*)
7124 + case $cc_basename in
7126 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7127 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7128 + if test "$host_cpu" != ia64; then
7129 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7133 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7134 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7135 + case "$host_cpu" in
7140 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7148 + irix5* | irix6* | nonstopux*)
7149 + case $cc_basename in
7151 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7152 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7153 + # CC pic flag -KPIC is the default.
7160 + case $cc_basename in
7162 + # KAI C++ Compiler
7163 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7164 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7168 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7169 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7170 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7174 + # Make sure the PIC flag is empty. It appears that all Alpha
7175 + # Linux and Compaq Tru64 Unix objects are PIC.
7176 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7177 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7188 + case $cc_basename in
7190 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
7196 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7198 + osf3* | osf4* | osf5*)
7199 + case $cc_basename in
7201 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7204 + # Rational C++ 2.4.1
7205 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7208 + # Digital/Compaq C++
7209 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7210 + # Make sure the PIC flag is empty. It appears that all Alpha
7211 + # Linux and Compaq Tru64 Unix objects are PIC.
7212 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7213 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7222 + case $cc_basename in
7224 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7231 + case $cc_basename in
7233 + # Sun C++ 4.2, 5.x and Centerline C++
7234 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7235 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7236 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7239 + # Green Hills C++ Compiler
7240 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7247 + case $cc_basename in
7250 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7251 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7255 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7262 + case $cc_basename in
7264 + # NonStop-UX NCC 3.20
7265 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7276 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7282 + if test "$GCC" = yes; then
7283 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7284 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7288 + # All AIX code is PIC.
7289 + if test "$host_cpu" = ia64; then
7290 + # AIX 5 now supports IA64 processor
7291 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7296 + # FIXME: we need at least 68020 code to build shared libraries, but
7297 + # adding the `-m68020' flag to GCC prevents building anything better,
7299 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7302 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7303 + # PIC is the default for these OSes.
7306 + mingw* | pw32* | os2*)
7307 + # This hack is so that the source file can tell whether it is being
7308 + # built for inclusion in a dll (and should export symbols for example).
7309 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7312 + darwin* | rhapsody*)
7313 + # PIC is the default on this platform
7314 + # Common symbols not allowed in MH_DYLIB files
7315 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7319 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7320 + # on systems that don't support them.
7321 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7326 + if test -d /usr/nec; then
7327 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7332 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7333 + # not for PA HP-UX.
7334 + case "$host_cpu" in
7339 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7345 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7349 + # PORTME Check for flag to pass linker flags through the system compiler.
7352 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7353 + if test "$host_cpu" = ia64; then
7354 + # AIX 5 now supports IA64 processor
7355 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7357 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7361 + mingw* | pw32* | os2*)
7362 + # This hack is so that the source file can tell whether it is being
7363 + # built for inclusion in a dll (and should export symbols for example).
7364 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7367 + hpux9* | hpux10* | hpux11*)
7368 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7369 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7370 + # not for PA HP-UX.
7371 + case "$host_cpu" in
7376 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7379 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7380 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
7383 + irix5* | irix6* | nonstopux*)
7384 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7385 + # PIC (with -KPIC) is the default.
7386 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7390 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7391 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7397 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7398 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7399 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7402 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7403 + # All Alpha code is PIC.
7404 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7409 + osf3* | osf4* | osf5*)
7410 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7411 + # All OSF/1 code is PIC.
7412 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7416 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
7417 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
7421 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7422 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7423 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7427 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7428 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7429 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7432 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7433 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7434 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7435 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7439 + if test -d /usr/nec ;then
7440 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
7441 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7446 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7447 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7451 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7456 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
7459 +# Check to make sure the PIC flag actually works.
7461 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
7462 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
7463 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
7464 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
7465 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
7467 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
7469 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7470 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
7473 + # For platforms which do not support PIC, -DPIC is meaningless:
7475 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7478 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
7484 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
7485 +# ------------------------------------
7486 +# See if the linker supports building shared libraries.
7487 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
7488 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7489 +ifelse([$1],[CXX],[
7490 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7493 + # If we're using GNU nm, then we don't want the "-C" option.
7494 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7495 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7496 + _LT_AC_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'
7498 + _LT_AC_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'
7502 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
7505 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
7508 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7511 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7516 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7517 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7518 + _LT_AC_TAGVAR(archive_cmds, $1)=
7519 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7520 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
7521 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
7522 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7523 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7524 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
7525 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7526 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7527 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7528 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7529 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7530 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7531 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7532 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
7533 + _LT_AC_TAGVAR(module_cmds, $1)=
7534 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
7535 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7536 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7537 + # include_expsyms should be a list of space-separated symbols to be *always*
7538 + # included in the symbol list
7539 + _LT_AC_TAGVAR(include_expsyms, $1)=
7540 + # exclude_expsyms can be an extended regexp of symbols to exclude
7541 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7542 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7543 + # as well as any symbol that contains `d'.
7544 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
7545 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7546 + # platforms (ab)use it in PIC code, but their linkers get confused if
7547 + # the symbol is explicitly referenced. Since portable code cannot
7548 + # rely on this symbol name, it's probably fine to never include it in
7549 + # preloaded symbol tables.
7550 + extract_expsyms_cmds=
7553 + cygwin* | mingw* | pw32*)
7554 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7555 + # When not using gcc, we currently assume that we are using
7556 + # Microsoft Visual C++.
7557 + if test "$GCC" != yes; then
7566 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7567 + if test "$with_gnu_ld" = yes; then
7568 + # If archive_cmds runs LD, not CC, wlarc should be empty
7571 + # See if GNU ld supports shared libraries.
7573 + aix3* | aix4* | aix5*)
7574 + # On AIX/PPC, the GNU linker is very broken
7575 + if test "$host_cpu" != ia64; then
7576 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7579 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7580 +*** to be unable to reliably create shared libraries on AIX.
7581 +*** Therefore, libtool is disabling shared libraries support. If you
7582 +*** really care for shared libraries, you may want to modify your PATH
7583 +*** so that a non-GNU linker is found, and then restart.
7590 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7591 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7592 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7594 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7595 + # that the semantics of dynamic libraries on AmigaOS, at least up
7596 + # to version 4, is to share data among multiple programs linked
7597 + # with the same dynamic library. Since this doesn't match the
7598 + # behavior of shared libraries on other platforms, we can't use
7600 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7604 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7605 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7606 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7607 + # support --undefined. This deserves some investigation. FIXME
7608 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7610 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7614 + cygwin* | mingw* | pw32*)
7615 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7616 + # as there is no search path for DLLs.
7617 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7618 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7619 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7620 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7621 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
7623 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7624 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7625 + # If the export-symbols file already is a .def file (1st line
7626 + # is EXPORTS), use it as is; otherwise, prepend...
7627 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7628 + cp $export_symbols $output_objdir/$soname.def;
7630 + echo EXPORTS > $output_objdir/$soname.def;
7631 + cat $export_symbols >> $output_objdir/$soname.def;
7633 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7639 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7640 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7641 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7644 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7645 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7649 + solaris* | sysv5*)
7650 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7651 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7654 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7655 +*** create shared libraries on Solaris systems. Therefore, libtool
7656 +*** is disabling shared libraries support. We urge you to upgrade GNU
7657 +*** binutils to release 2.9.1 or newer. Another option is to modify
7658 +*** your PATH or compiler configuration so that the native linker is
7659 +*** used, and then restart.
7662 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7663 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7664 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7666 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7671 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7673 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7674 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7678 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7679 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7680 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
7681 + supports_anon_versioning=no
7682 + case `$LD -v 2>/dev/null` in
7683 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
7684 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7685 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7686 + *\ 2.11.*) ;; # other 2.11 versions
7687 + *) supports_anon_versioning=yes ;;
7689 + if test $supports_anon_versioning = yes; then
7690 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7691 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7692 +$echo "local: *; };" >> $output_objdir/$libname.ver~
7693 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7695 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
7697 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7699 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7704 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7705 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7706 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7708 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7713 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
7714 + runpath_var=LD_RUN_PATH
7715 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7716 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7717 + # ancient GNU ld didn't support --whole-archive et. al.
7718 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7719 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7721 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7725 + # PORTME fill in a description of your system's linker (not GNU ld)
7728 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7729 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7730 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7731 + # Note: this linker hardcodes the directories in LIBPATH if there
7732 + # are no directories specified by -L.
7733 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7734 + if test "$GCC" = yes && test -z "$link_static_flag"; then
7735 + # Neither direct hardcoding nor static linking is supported with a
7736 + # broken collect2.
7737 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7742 + if test "$host_cpu" = ia64; then
7743 + # On IA64, the linker does run time linking by default, so we don't
7744 + # have to do anything special.
7745 + aix_use_runtimelinking=no
7746 + exp_sym_flag='-Bexport'
7749 + # If we're using GNU nm, then we don't want the "-C" option.
7750 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7751 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7752 + _LT_AC_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'
7754 + _LT_AC_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'
7756 + aix_use_runtimelinking=no
7758 + # Test if we are trying to use run time linking or normal
7759 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7760 + # need to do runtime linking.
7761 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
7762 + for ld_flag in $LDFLAGS; do
7763 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7764 + aix_use_runtimelinking=yes
7770 + exp_sym_flag='-bexport'
7771 + no_entry_flag='-bnoentry'
7774 + # When large executables or shared objects are built, AIX ld can
7775 + # have problems creating the table of contents. If linking a library
7776 + # or program results in "error TOC overflow" add -mminimal-toc to
7777 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7778 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7780 + _LT_AC_TAGVAR(archive_cmds, $1)=''
7781 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7782 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7783 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7785 + if test "$GCC" = yes; then
7786 + case $host_os in aix4.[012]|aix4.[012].*)
7787 + # We only want to do this on AIX 4.2 and lower, the check
7788 + # below for broken collect2 doesn't work under 4.3+
7789 + collect2name=`${CC} -print-prog-name=collect2`
7790 + if test -f "$collect2name" && \
7791 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7793 + # We have reworked collect2
7794 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7796 + # We have old collect2
7797 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7798 + # It fails to find uninstalled libraries when the uninstalled
7799 + # path is not listed in the libpath. Setting hardcode_minus_L
7800 + # to unsupported forces relinking
7801 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7802 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7803 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7806 + shared_flag='-shared'
7809 + if test "$host_cpu" = ia64; then
7810 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7811 + # chokes on -Wl,-G. The following line is correct:
7814 + if test "$aix_use_runtimelinking" = yes; then
7815 + shared_flag='${wl}-G'
7817 + shared_flag='${wl}-bM:SRE'
7822 + # It seems that -bexpall does not export symbols beginning with
7823 + # underscore (_), so it is better to generate a list of symbols to export.
7824 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7825 + if test "$aix_use_runtimelinking" = yes; then
7826 + # Warning - without using the other runtime loading flags (-brtl),
7827 + # -berok will link without error, but may produce a broken library.
7828 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7829 + # Determine the default libpath from the value encoded in an empty executable.
7830 + _LT_AC_SYS_LIBPATH_AIX
7831 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7832 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7834 + if test "$host_cpu" = ia64; then
7835 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7836 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
7837 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7839 + # Determine the default libpath from the value encoded in an empty executable.
7840 + _LT_AC_SYS_LIBPATH_AIX
7841 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7842 + # Warning - without using the other run time loading flags,
7843 + # -berok will link without error, but may produce a broken library.
7844 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7845 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7846 + # -bexpall does not export symbols beginning with underscore (_)
7847 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7848 + # Exported symbols can be pulled into shared objects from archives
7849 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
7850 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7851 + # This is similar to how AIX traditionally builds it's shared libraries.
7852 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7858 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7859 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7860 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7861 + # see comment about different semantics on the GNU ld section
7862 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7866 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
7869 + cygwin* | mingw* | pw32*)
7870 + # When not using gcc, we currently assume that we are using
7871 + # Microsoft Visual C++.
7872 + # hardcode_libdir_flag_spec is actually meaningless, as there is
7873 + # no search path for DLLs.
7874 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
7875 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7876 + # Tell ltmain to make .lib files, not .a files.
7878 + # Tell ltmain to make .dll files, not .so files.
7879 + shrext_cmds=".dll"
7880 + # FIXME: Setting linknames here is a bad hack.
7881 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7882 + # The linker will automatically build a .lib file if we build a DLL.
7883 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
7884 + # FIXME: Should let the user specify the lib program.
7885 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
7886 + fix_srcfile_path='`cygpath -w "$srcfile"`'
7887 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7890 + darwin* | rhapsody*)
7891 + if test "$GXX" = yes ; then
7892 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7893 + case "$host_os" in
7894 + rhapsody* | darwin1.[[012]])
7895 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
7897 + *) # Darwin 1.3 on
7898 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7899 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
7901 + case ${MACOSX_DEPLOYMENT_TARGET} in
7903 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
7906 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
7912 + lt_int_apple_cc_single_mod=no
7913 + output_verbose_link_cmd='echo'
7914 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7915 + lt_int_apple_cc_single_mod=yes
7917 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7918 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7920 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
7922 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7923 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7924 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7925 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7927 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7929 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7930 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7931 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
7932 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7933 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
7934 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7936 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7941 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7942 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7943 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7947 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7950 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7951 + # support. Future versions do this automatically, but an explicit c++rt0.o
7952 + # does not break anything, and helps significantly (at the cost of a little
7955 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7956 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7957 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7958 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7961 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7963 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7964 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7965 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7966 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7969 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7970 + freebsd* | kfreebsd*-gnu)
7971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7972 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7973 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7974 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7978 + if test "$GCC" = yes; then
7979 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7981 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7983 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7984 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7985 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7987 + # hardcode_minus_L: Not really in the search PATH,
7988 + # but as the default location of the library.
7989 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7990 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7993 + hpux10* | hpux11*)
7994 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7995 + case "$host_cpu" in
7997 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8000 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8004 + case "$host_cpu" in
8006 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8009 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8013 + if test "$with_gnu_ld" = no; then
8014 + case "$host_cpu" in
8016 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8017 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
8018 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8019 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8020 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8023 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8024 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8025 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8027 + # hardcode_minus_L: Not really in the search PATH,
8028 + # but as the default location of the library.
8029 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8032 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8033 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8034 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8035 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8037 + # hardcode_minus_L: Not really in the search PATH,
8038 + # but as the default location of the library.
8039 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8045 + irix5* | irix6* | nonstopux*)
8046 + if test "$GCC" = yes; then
8047 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8049 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8050 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8052 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8053 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8054 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8057 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8058 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8059 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8061 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8063 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8064 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8065 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8069 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8070 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8071 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8072 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8073 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8077 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8078 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8079 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8080 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8081 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8082 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8085 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8086 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8087 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8090 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8091 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8098 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8099 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8100 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8101 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8102 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8106 + if test "$GCC" = yes; then
8107 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8108 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8110 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8111 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8113 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8114 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8117 + osf4* | osf5*) # as osf3* with the addition of -msym flag
8118 + if test "$GCC" = yes; then
8119 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8120 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8121 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8123 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8124 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8125 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8126 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
8128 + # Both c and cxx compiler support -rpath directly
8129 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8131 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8135 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8136 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8137 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8138 + runpath_var=LD_RUN_PATH
8139 + hardcode_runpath_var=yes
8143 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8144 + if test "$GCC" = yes; then
8145 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8146 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8147 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8149 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8150 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8151 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8153 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8154 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8156 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8157 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8158 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
8160 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8164 + if test "x$host_vendor" = xsequent; then
8165 + # Use $CC to link under sequent, because it throws in some extra .o
8166 + # files that make .init and .fini sections work.
8167 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8169 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8171 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8172 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8173 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8174 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8178 + case $host_vendor in
8180 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8181 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
8184 + ## LD is ld it makes a PLAMLIB
8185 + ## CC just makes a GrossModule.
8186 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8187 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
8188 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8191 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8192 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
8195 + runpath_var='LD_RUN_PATH'
8196 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8200 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8201 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8202 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
8206 + if test -d /usr/nec; then
8207 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8208 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8209 + runpath_var=LD_RUN_PATH
8210 + hardcode_runpath_var=yes
8211 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
8216 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8217 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8218 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
8219 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8220 + hardcode_runpath_var=yes
8221 + runpath_var=LD_RUN_PATH
8224 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
8225 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
8226 + if test "$GCC" = yes; then
8227 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8229 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8231 + runpath_var='LD_RUN_PATH'
8232 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8236 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8237 + # $CC -shared without GNU ld will not create a library from C++
8238 + # object files and a static libstdc++, better avoid it by now
8239 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8240 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8241 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8242 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
8243 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8244 + runpath_var='LD_RUN_PATH'
8248 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8249 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8250 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8254 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8259 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8260 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8262 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8263 +if test "$GCC" = yes; then
8264 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8268 +# Do we need to explicitly link libc?
8270 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8272 + # Assume -lc should be added
8273 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8275 + if test "$enable_shared" = yes && test "$GCC" = yes; then
8276 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
8278 + # FIXME: we may have to deal with multi-command sequences.
8281 + # Test whether the compiler implicitly links with -lc since on some
8282 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
8283 + # to ld, don't add -lc before -lgcc.
8284 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8286 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8288 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8291 + libobjs=conftest.$ac_objext
8293 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8299 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8300 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8301 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8303 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8305 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8307 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8309 + cat conftest.err 1>&5
8312 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8318 +])# AC_LIBTOOL_PROG_LD_SHLIBS
8321 +# _LT_AC_FILE_LTDLL_C
8322 +# -------------------
8323 +# Be careful that the start marker always follows a newline.
8324 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
8325 +# /* ltdll.c starts here */
8326 +# #define WIN32_LEAN_AND_MEAN
8327 +# #include <windows.h>
8328 +# #undef WIN32_LEAN_AND_MEAN
8329 +# #include <stdio.h>
8331 +# #ifndef __CYGWIN__
8332 +# # ifdef __CYGWIN32__
8333 +# # define __CYGWIN__ __CYGWIN32__
8337 +# #ifdef __cplusplus
8340 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8341 +# #ifdef __cplusplus
8345 +# #ifdef __CYGWIN__
8346 +# #include <cygwin/cygwin_dll.h>
8347 +# DECLARE_CYGWIN_DLL( DllMain );
8349 +# HINSTANCE __hDllInstance_base;
8352 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8354 +# __hDllInstance_base = hInst;
8357 +# /* ltdll.c ends here */
8358 +])# _LT_AC_FILE_LTDLL_C
8361 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
8362 +# ---------------------------------
8363 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
8367 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
8368 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
8369 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
8370 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
8371 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
8372 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
8373 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
8375 +# This is just to silence aclocal about the macro not being used
8376 +ifelse([AC_DISABLE_FAST_INSTALL])
8378 +AC_DEFUN([LT_AC_PROG_GCJ],
8379 +[AC_CHECK_TOOL(GCJ, gcj, no)
8380 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
8381 + AC_SUBST(GCJFLAGS)
8384 +AC_DEFUN([LT_AC_PROG_RC],
8385 +[AC_CHECK_TOOL(RC, windres, no)
8388 +# NOTE: This macro has been submitted for inclusion into #
8389 +# GNU Autoconf as AC_PROG_SED. When it is available in #
8390 +# a released version of Autoconf we should remove this #
8391 +# macro and use it instead. #
8394 +# Check for a fully-functional sed program, that truncates
8395 +# as few characters as possible. Prefer GNU sed if found.
8396 +AC_DEFUN([LT_AC_PROG_SED],
8397 +[AC_MSG_CHECKING([for a sed that does not truncate output])
8398 +AC_CACHE_VAL(lt_cv_path_SED,
8399 +[# Loop through the user's path and test for sed and gsed.
8400 +# Then use that list of sed's as ones to test for truncation.
8401 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 +for as_dir in $PATH
8405 + test -z "$as_dir" && as_dir=.
8406 + for lt_ac_prog in sed gsed; do
8407 + for ac_exec_ext in '' $ac_executable_extensions; do
8408 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
8409 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8416 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8417 +# along with /bin/sed that truncates output.
8418 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8419 + test ! -f $lt_ac_sed && break
8420 + cat /dev/null > conftest.in
8422 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8423 + # Check for GNU sed and select it if it is found.
8424 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8425 + lt_cv_path_SED=$lt_ac_sed
8429 + cat conftest.in conftest.in >conftest.tmp
8430 + mv conftest.tmp conftest.in
8431 + cp conftest.in conftest.nl
8432 + echo >>conftest.nl
8433 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8434 + cmp -s conftest.out conftest.nl || break
8435 + # 10000 chars as input seems more than enough
8436 + test $lt_ac_count -gt 10 && break
8437 + lt_ac_count=`expr $lt_ac_count + 1`
8438 + if test $lt_ac_count -gt $lt_ac_max; then
8439 + lt_ac_max=$lt_ac_count
8440 + lt_cv_path_SED=$lt_ac_sed
8444 +SED=$lt_cv_path_SED
8446 +AC_MSG_RESULT([$SED])
8449 +# Add --enable-maintainer-mode option to configure.
8450 +# From Jim Meyering
8452 +# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
8454 +# This program is free software; you can redistribute it and/or modify
8455 +# it under the terms of the GNU General Public License as published by
8456 +# the Free Software Foundation; either version 2, or (at your option)
8457 +# any later version.
8459 +# This program is distributed in the hope that it will be useful,
8460 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
8461 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8462 +# GNU General Public License for more details.
8464 +# You should have received a copy of the GNU General Public License
8465 +# along with this program; if not, write to the Free Software
8466 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
8471 +AC_DEFUN([AM_MAINTAINER_MODE],
8472 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
8473 + dnl maintainer-mode is disabled by default
8474 + AC_ARG_ENABLE(maintainer-mode,
8475 +[ --enable-maintainer-mode enable make rules and dependencies not useful
8476 + (and sometimes confusing) to the casual installer],
8477 + USE_MAINTAINER_MODE=$enableval,
8478 + USE_MAINTAINER_MODE=no)
8479 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
8480 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
8481 + MAINT=$MAINTAINER_MODE_TRUE
8482 + AC_SUBST(MAINT)dnl
8486 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
8488 --- agsync-0.2-pre.orig/ltmain.sh
8489 +++ agsync-0.2-pre/ltmain.sh
8491 +# ltmain.sh - Provide generalized library-building support services.
8492 +# NOTE: Changing this file will not affect anything until you rerun configure.
8494 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
8495 +# Free Software Foundation, Inc.
8496 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8498 +# This program is free software; you can redistribute it and/or modify
8499 +# it under the terms of the GNU General Public License as published by
8500 +# the Free Software Foundation; either version 2 of the License, or
8501 +# (at your option) any later version.
8503 +# This program is distributed in the hope that it will be useful, but
8504 +# WITHOUT ANY WARRANTY; without even the implied warranty of
8505 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8506 +# General Public License for more details.
8508 +# You should have received a copy of the GNU General Public License
8509 +# along with this program; if not, write to the Free Software
8510 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8512 +# As a special exception to the GNU General Public License, if you
8513 +# distribute this file as part of a program that contains a
8514 +# configuration script generated by Autoconf, you may include it under
8515 +# the same distribution terms that you use for the rest of that program.
8517 +basename="s,^.*/,,g"
8519 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
8520 +# is ksh but when the shell is invoked as "sh" and the current value of
8521 +# the _XPG environment variable is not equal to 1 (one), the special
8522 +# positional parameter $0, within a function call, is the name of the
8526 +# The name of this program:
8527 +progname=`echo "$progpath" | $SED $basename`
8528 +modename="$progname"
8530 +# Global variables:
8537 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
8540 +# Check that we have a working $echo.
8541 +if test "X$1" = X--no-reexec; then
8542 + # Discard the --no-reexec flag, and continue.
8544 +elif test "X$1" = X--fallback-echo; then
8545 + # Avoid inline document here, it may be left over
8547 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
8548 + # Yippee, $echo works!
8551 + # Restart under the correct shell, and then maybe $echo will work.
8552 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
8555 +if test "X$1" = X--fallback-echo; then
8556 + # used as fallback echo
8561 + exit $EXIT_SUCCESS
8565 +help="Try \`$progname --help' for more information."
8566 +magic="%%%MAGIC variable%%%"
8571 +# Sed substitution that helps us do robust quoting. It backslashifies
8572 +# metacharacters that are still active within double-quoted strings.
8573 +Xsed="${SED}"' -e 1s/^X//'
8574 +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
8575 +# test EBCDIC or ASCII
8576 +case `echo A|tr A '\301'` in
8577 + A) # EBCDIC based system
8578 + SP2NL="tr '\100' '\n'"
8579 + NL2SP="tr '\r\n' '\100\100'"
8581 + *) # Assume ASCII based system
8582 + SP2NL="tr '\040' '\012'"
8583 + NL2SP="tr '\015\012' '\040\040'"
8588 +# Only set LANG and LC_ALL to C if already set.
8589 +# These must not be set unconditionally because not all systems understand
8590 +# e.g. LANG=C (notably SCO).
8591 +# We save the old values to restore during execute mode.
8592 +if test "${LC_ALL+set}" = set; then
8593 + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
8595 +if test "${LANG+set}" = set; then
8596 + save_LANG="$LANG"; LANG=C; export LANG
8599 +# Make sure IFS has a sensible default
8603 +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
8604 + $echo "$modename: not configured to build any kind of library" 1>&2
8605 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
8606 + exit $EXIT_FAILURE
8609 +# Global variables.
8618 +lo2o="s/\\.lo\$/.${objext}/"
8619 +o2lo="s/\\.${objext}\$/.lo/"
8621 +#####################################
8622 +# Shell function definitions:
8623 +# This seems to be the best place for them
8625 +# func_win32_libid arg
8626 +# return the library type of file 'arg'
8628 +# Need a lot of goo to handle *both* DLLs and import libs
8629 +# Has to be a shell function in order to 'eat' the argument
8630 +# that is supplied when $file_magic_command is called.
8631 +func_win32_libid () {
8632 + win32_libid_type="unknown"
8633 + win32_fileres=`file -L $1 2>/dev/null`
8634 + case $win32_fileres in
8635 + *ar\ archive\ import\ library*) # definitely import
8636 + win32_libid_type="x86 archive import"
8638 + *ar\ archive*) # could be an import, or static
8639 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
8640 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
8641 + win32_nmres=`eval $NM -f posix -A $1 | \
8642 + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
8643 + if test "X$win32_nmres" = "Ximport" ; then
8644 + win32_libid_type="x86 archive import"
8646 + win32_libid_type="x86 archive static"
8651 + win32_libid_type="x86 DLL"
8653 + *executable*) # but shell scripts are "executable" too...
8654 + case $win32_fileres in
8655 + *MS\ Windows\ PE\ Intel*)
8656 + win32_libid_type="x86 DLL"
8661 + $echo $win32_libid_type
8665 +# func_infer_tag arg
8666 +# Infer tagged configuration to use if any are available and
8667 +# if one wasn't chosen via the "--tag" command line option.
8668 +# Only attempt this if the compiler in the base compile
8669 +# command doesn't match the default compiler.
8670 +# arg is usually of the form 'gcc ...'
8671 +func_infer_tag () {
8672 + if test -n "$available_tags" && test -z "$tagname"; then
8674 + for arg in $CC; do
8676 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
8680 + CC_quoted="$CC_quoted $arg"
8683 + # Blanks in the command may have been stripped by the calling shell,
8684 + # but not from the CC environment variable when configure was run.
8685 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
8686 + # Blanks at the start of $base_compile will cause this to fail
8687 + # if we don't check for them as well.
8689 + for z in $available_tags; do
8690 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
8691 + # Evaluate the configuration.
8692 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
8694 + for arg in $CC; do
8695 + # Double-quote args containing other shell metacharacters.
8697 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
8701 + CC_quoted="$CC_quoted $arg"
8704 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
8705 + # The compiler in the base compile command matches
8706 + # the one in the tagged configuration.
8707 + # Assume this is the tagged configuration we want.
8714 + # If $tagname still isn't set, then no tagged configuration
8715 + # was found and let the user know that the "--tag" command
8716 + # line option must be used.
8717 + if test -z "$tagname"; then
8718 + $echo "$modename: unable to infer tagged configuration"
8719 + $echo "$modename: specify a tag with \`--tag'" 1>&2
8720 + exit $EXIT_FAILURE
8722 +# $echo "$modename: using $tagname tagged configuration"
8728 +# End of Shell function definitions
8729 +#####################################
8732 +eval std_shrext=\"$shrext_cmds\"
8734 +# Parse our command line options once, thoroughly.
8735 +while test "$#" -gt 0
8741 + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
8745 + # If the previous option needs an argument, assign it.
8746 + if test -n "$prev"; then
8749 + execute_dlfiles="$execute_dlfiles $arg"
8753 + preserve_args="${preserve_args}=$arg"
8755 + # Check whether tagname contains only valid characters
8757 + *[!-_A-Za-z0-9,/]*)
8758 + $echo "$progname: invalid tag name: $tagname" 1>&2
8759 + exit $EXIT_FAILURE
8765 + # Don't test for the "default" C tag, as we know, it's there, but
8766 + # not specially marked.
8769 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
8770 + taglist="$taglist $tagname"
8771 + # Evaluate the configuration.
8772 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
8774 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
8780 + eval "$prev=\$arg"
8789 + # Have we seen a non-optional argument yet?
8796 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
8798 + $echo "Copyright (C) 2003 Free Software Foundation, Inc."
8799 + $echo "This is free software; see the source for copying conditions. There is NO"
8800 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8801 + exit $EXIT_SUCCESS
8805 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
8806 + # Now print the configurations for the tags.
8807 + for tagname in $taglist; do
8808 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
8810 + exit $EXIT_SUCCESS
8814 + $echo "$progname: enabling shell trace mode"
8816 + preserve_args="$preserve_args $arg"
8824 + $echo "host: $host"
8825 + if test "$build_libtool_libs" = yes; then
8826 + $echo "enable shared libraries"
8828 + $echo "disable shared libraries"
8830 + if test "$build_old_libs" = yes; then
8831 + $echo "enable static libraries"
8833 + $echo "disable static libraries"
8835 + exit $EXIT_SUCCESS
8838 + --finish) mode="finish" ;;
8840 + --mode) prevopt="--mode" prev=mode ;;
8841 + --mode=*) mode="$optarg" ;;
8843 + --preserve-dup-deps) duplicate_deps="yes" ;;
8845 + --quiet | --silent)
8847 + preserve_args="$preserve_args $arg"
8850 + --tag) prevopt="--tag" prev=tag ;;
8852 + set tag "$optarg" ${1+"$@"}
8855 + preserve_args="$preserve_args --tag"
8860 + prev=execute_dlfiles
8864 + $echo "$modename: unrecognized option \`$arg'" 1>&2
8865 + $echo "$help" 1>&2
8866 + exit $EXIT_FAILURE
8876 +if test -n "$prevopt"; then
8877 + $echo "$modename: option \`$prevopt' requires an argument" 1>&2
8878 + $echo "$help" 1>&2
8879 + exit $EXIT_FAILURE
8882 +# If this variable is set in any of the actions, the command in it
8883 +# will be execed at the end. This prevents here-documents from being
8884 +# left over by shells.
8887 +if test -z "$show_help"; then
8889 + # Infer the operation mode.
8890 + if test -z "$mode"; then
8891 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
8892 + $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
8894 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
8906 + *db | *dbx | *strace | *truss)
8916 + # If we have no mode, but dlfiles were specified, then do execute mode.
8917 + test -n "$execute_dlfiles" && mode=execute
8919 + # Just use the default operation mode.
8920 + if test -z "$mode"; then
8921 + if test -n "$nonopt"; then
8922 + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
8924 + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
8931 + # Only execute mode is allowed to have -dlopen flags.
8932 + if test -n "$execute_dlfiles" && test "$mode" != execute; then
8933 + $echo "$modename: unrecognized option \`-dlopen'" 1>&2
8934 + $echo "$help" 1>&2
8935 + exit $EXIT_FAILURE
8938 + # Change the help message to a mode-specific one.
8939 + generic_help="$help"
8940 + help="Try \`$modename --help --mode=$mode' for more information."
8942 + # These modes are in order of execution frequency so that they run quickly.
8944 + # libtool compile mode
8946 + modename="$modename: compile"
8947 + # Get the compilation command and the source file.
8949 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
8958 + case "$arg_mode" in
8960 + # do not "continue". Instead, add this to base_compile
8972 + # Accept any command-line options.
8975 + if test -n "$libobj" ; then
8976 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
8977 + exit $EXIT_FAILURE
8983 + -static | -prefer-pic | -prefer-non-pic)
8984 + later="$later $arg"
8994 + arg_mode=arg # the next one goes into the "base_compile" arg list
8995 + continue # The current "srcfile" will either be retained or
8996 + ;; # replaced later. I would guess that would be a bug.
8999 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
9001 + save_ifs="$IFS"; IFS=','
9002 + for arg in $args; do
9005 + # Double-quote args containing other shell metacharacters.
9006 + # Many Bourne shells cannot handle close brackets correctly
9007 + # in scan sets, so we specify it separately.
9009 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9013 + lastarg="$lastarg $arg"
9016 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
9018 + # Add the arguments to base_compile.
9019 + base_compile="$base_compile $lastarg"
9024 + # Accept the current argument as the source file.
9025 + # The previous "srcfile" becomes the current argument.
9027 + lastarg="$srcfile"
9032 + esac # case $arg_mode
9034 + # Aesthetically quote the previous argument.
9035 + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
9038 + # Double-quote args containing other shell metacharacters.
9039 + # Many Bourne shells cannot handle close brackets correctly
9040 + # in scan sets, so we specify it separately.
9041 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9042 + lastarg="\"$lastarg\""
9046 + base_compile="$base_compile $lastarg"
9051 + $echo "$modename: you must specify an argument for -Xcompile"
9052 + exit $EXIT_FAILURE
9055 + $echo "$modename: you must specify a target with \`-o'" 1>&2
9056 + exit $EXIT_FAILURE
9059 + # Get the name of the library object.
9060 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
9064 + # Recognize several different file suffixes.
9065 + # If the user specifies -o file.o, it is replaced with file.lo
9066 + xform='[cCFSifmso]'
9068 + *.ada) xform=ada ;;
9069 + *.adb) xform=adb ;;
9070 + *.ads) xform=ads ;;
9071 + *.asm) xform=asm ;;
9072 + *.c++) xform=c++ ;;
9075 + *.class) xform=class ;;
9076 + *.cpp) xform=cpp ;;
9077 + *.cxx) xform=cxx ;;
9078 + *.f90) xform=f90 ;;
9079 + *.for) xform=for ;;
9080 + *.java) xform=java ;;
9083 + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
9086 + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
9088 + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
9089 + exit $EXIT_FAILURE
9093 + func_infer_tag $base_compile
9095 + for arg in $later; do
9098 + build_old_libs=yes
9114 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
9115 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
9116 + if test "X$xdir" = "X$obj"; then
9121 + lobj=${xdir}$objdir/$objname
9123 + if test -z "$base_compile"; then
9124 + $echo "$modename: you must specify a compilation command" 1>&2
9125 + $echo "$help" 1>&2
9126 + exit $EXIT_FAILURE
9129 + # Delete any leftover library objects.
9130 + if test "$build_old_libs" = yes; then
9131 + removelist="$obj $lobj $libobj ${libobj}T"
9133 + removelist="$lobj $libobj ${libobj}T"
9136 + $run $rm $removelist
9137 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
9139 + # On Cygwin there's no "real" PIC flag so we must build both object types
9141 + cygwin* | mingw* | pw32* | os2*)
9145 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
9146 + # non-PIC code in shared libraries is not supported
9150 + # Calculate the filename of the output object if compiler does
9151 + # not support -o with -c
9152 + if test "$compiler_c_o" = no; then
9153 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
9154 + lockfile="$output_obj.lock"
9155 + removelist="$removelist $output_obj $lockfile"
9156 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
9163 + # Lock this critical section if it is needed
9164 + # We use this script file to make the link, it avoids creating a new file
9165 + if test "$need_locks" = yes; then
9166 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
9167 + $show "Waiting for $lockfile to be removed"
9170 + elif test "$need_locks" = warn; then
9171 + if test -f "$lockfile"; then
9173 +*** ERROR, $lockfile exists and contains:
9174 +`cat $lockfile 2>/dev/null`
9176 +This indicates that another process is trying to use the same
9177 +temporary object file, and libtool could not work around it because
9178 +your compiler does not support \`-c' and \`-o' together. If you
9179 +repeat this compilation, it may succeed, by chance, but you had better
9180 +avoid parallel builds (make -j) in this platform, or get a better
9183 + $run $rm $removelist
9184 + exit $EXIT_FAILURE
9186 + $echo $srcfile > "$lockfile"
9189 + if test -n "$fix_srcfile_path"; then
9190 + eval srcfile=\"$fix_srcfile_path\"
9193 + $run $rm "$libobj" "${libobj}T"
9195 + # Create a libtool object file (analogous to a ".la" file),
9196 + # but don't create it if we're doing a dry run.
9197 + test -z "$run" && cat > ${libobj}T <<EOF
9198 +# $libobj - a libtool object file
9199 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
9201 +# Please DO NOT delete this file!
9202 +# It is necessary for linking the library.
9204 +# Name of the PIC object.
9207 + # Only build a PIC object if we are building libtool libraries.
9208 + if test "$build_libtool_libs" = yes; then
9209 + # Without this assignment, base_compile gets emptied.
9210 + fbsd_hideous_sh_bug=$base_compile
9212 + if test "$pic_mode" != no; then
9213 + command="$base_compile $srcfile $pic_flag"
9215 + # Don't build PIC code
9216 + command="$base_compile $srcfile"
9219 + if test ! -d "${xdir}$objdir"; then
9220 + $show "$mkdir ${xdir}$objdir"
9221 + $run $mkdir ${xdir}$objdir
9223 + if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
9228 + if test -z "$output_obj"; then
9229 + # Place PIC objects in $objdir
9230 + command="$command -o $lobj"
9233 + $run $rm "$lobj" "$output_obj"
9236 + if $run eval "$command"; then :
9238 + test -n "$output_obj" && $run $rm $removelist
9239 + exit $EXIT_FAILURE
9242 + if test "$need_locks" = warn &&
9243 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
9245 +*** ERROR, $lockfile contains:
9246 +`cat $lockfile 2>/dev/null`
9248 +but it should contain:
9251 +This indicates that another process is trying to use the same
9252 +temporary object file, and libtool could not work around it because
9253 +your compiler does not support \`-c' and \`-o' together. If you
9254 +repeat this compilation, it may succeed, by chance, but you had better
9255 +avoid parallel builds (make -j) in this platform, or get a better
9258 + $run $rm $removelist
9259 + exit $EXIT_FAILURE
9262 + # Just move the object if needed, then go on to compile the next one
9263 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
9264 + $show "$mv $output_obj $lobj"
9265 + if $run $mv $output_obj $lobj; then :
9268 + $run $rm $removelist
9273 + # Append the name of the PIC object to the libtool object file.
9274 + test -z "$run" && cat >> ${libobj}T <<EOF
9275 +pic_object='$objdir/$objname'
9279 + # Allow error messages only from the first compilation.
9280 + if test "$suppress_opt" = yes; then
9281 + suppress_output=' >/dev/null 2>&1'
9284 + # No PIC object so indicate it doesn't exist in the libtool
9286 + test -z "$run" && cat >> ${libobj}T <<EOF
9292 + # Only build a position-dependent object if we build old libraries.
9293 + if test "$build_old_libs" = yes; then
9294 + if test "$pic_mode" != yes; then
9295 + # Don't build PIC code
9296 + command="$base_compile $srcfile"
9298 + command="$base_compile $srcfile $pic_flag"
9300 + if test "$compiler_c_o" = yes; then
9301 + command="$command -o $obj"
9304 + # Suppress compiler output if we already did a PIC compilation.
9305 + command="$command$suppress_output"
9306 + $run $rm "$obj" "$output_obj"
9308 + if $run eval "$command"; then :
9310 + $run $rm $removelist
9311 + exit $EXIT_FAILURE
9314 + if test "$need_locks" = warn &&
9315 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
9317 +*** ERROR, $lockfile contains:
9318 +`cat $lockfile 2>/dev/null`
9320 +but it should contain:
9323 +This indicates that another process is trying to use the same
9324 +temporary object file, and libtool could not work around it because
9325 +your compiler does not support \`-c' and \`-o' together. If you
9326 +repeat this compilation, it may succeed, by chance, but you had better
9327 +avoid parallel builds (make -j) in this platform, or get a better
9330 + $run $rm $removelist
9331 + exit $EXIT_FAILURE
9334 + # Just move the object if needed
9335 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
9336 + $show "$mv $output_obj $obj"
9337 + if $run $mv $output_obj $obj; then :
9340 + $run $rm $removelist
9345 + # Append the name of the non-PIC object the libtool object file.
9346 + # Only append if the libtool object file exists.
9347 + test -z "$run" && cat >> ${libobj}T <<EOF
9348 +# Name of the non-PIC object.
9349 +non_pic_object='$objname'
9353 + # Append the name of the non-PIC object the libtool object file.
9354 + # Only append if the libtool object file exists.
9355 + test -z "$run" && cat >> ${libobj}T <<EOF
9356 +# Name of the non-PIC object.
9357 +non_pic_object=none
9362 + $run $mv "${libobj}T" "${libobj}"
9364 + # Unlock the critical section if it was locked
9365 + if test "$need_locks" != no; then
9366 + $run $rm "$lockfile"
9369 + exit $EXIT_SUCCESS
9372 + # libtool link mode
9374 + modename="$modename: link"
9376 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
9377 + # It is impossible to link a dll without this setting, and
9378 + # we shouldn't force the makefile maintainer to figure out
9379 + # which system we are compiling for in order to pass an extra
9380 + # flag for every libtool invocation.
9381 + # allow_undefined=no
9383 + # FIXME: Unfortunately, there are problems with the above when trying
9384 + # to make a dll which has undefined symbols, in which case not
9385 + # even a static library is built. For now, we need to specify
9386 + # -no-undefined on the libtool link line when we can be certain
9387 + # that all symbols are satisfied, otherwise we get a static library.
9388 + allow_undefined=yes
9391 + allow_undefined=yes
9394 + libtool_args="$nonopt"
9395 + base_compile="$nonopt $@"
9396 + compile_command="$nonopt"
9397 + finalize_command="$nonopt"
9401 + compile_shlibpath=
9402 + finalize_shlibpath=
9410 + lib_search_path=`pwd`
9419 + export_symbols_regex=
9427 + precious_files_regex=
9428 + prefer_static_libs=no
9441 + func_infer_tag $base_compile
9443 + # We need to know -static, to get the right output filenames.
9447 + -all-static | -static)
9448 + if test "X$arg" = "X-all-static"; then
9449 + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
9450 + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
9452 + if test -n "$link_static_flag"; then
9453 + dlopen_self=$dlopen_self_static
9456 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
9457 + dlopen_self=$dlopen_self_static
9460 + build_libtool_libs=no
9461 + build_old_libs=yes
9462 + prefer_static_libs=yes
9468 + # See if our shared archives depend on static archives.
9469 + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
9471 + # Go through the arguments, transforming them on the way.
9472 + while test "$#" -gt 0; do
9476 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9477 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
9481 + libtool_args="$libtool_args $qarg"
9483 + # If the previous option needs an argument, assign it.
9484 + if test -n "$prev"; then
9487 + compile_command="$compile_command @OUTPUT@"
9488 + finalize_command="$finalize_command @OUTPUT@"
9493 + dlfiles|dlprefiles)
9494 + if test "$preload" = no; then
9495 + # Add the symbol object into the linking commands.
9496 + compile_command="$compile_command @SYMFILE@"
9497 + finalize_command="$finalize_command @SYMFILE@"
9501 + *.la | *.lo) ;; # We handle these cases below.
9503 + if test "$dlself" = no; then
9505 + export_dynamic=yes
9511 + if test "$prev" = dlprefiles; then
9513 + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
9517 + export_dynamic=yes
9523 + if test "$prev" = dlfiles; then
9524 + dlfiles="$dlfiles $arg"
9526 + dlprefiles="$dlprefiles $arg"
9534 + export_symbols="$arg"
9535 + if test ! -f "$arg"; then
9536 + $echo "$modename: symbol file \`$arg' does not exist"
9537 + exit $EXIT_FAILURE
9543 + export_symbols_regex="$arg"
9548 + inst_prefix_dir="$arg"
9553 + precious_files_regex="$arg"
9563 + if test -f "$arg"; then
9566 + for fil in `cat $save_arg`
9568 +# moreargs="$moreargs $fil"
9570 + # A libtool-controlled object.
9572 + # Check to see that this really is a libtool object.
9573 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
9577 + # Read the .lo file
9578 + # If there is no directory component, then add one.
9580 + */* | *\\*) . $arg ;;
9584 + if test -z "$pic_object" || \
9585 + test -z "$non_pic_object" ||
9586 + test "$pic_object" = none && \
9587 + test "$non_pic_object" = none; then
9588 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
9589 + exit $EXIT_FAILURE
9592 + # Extract subdirectory from the argument.
9593 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
9594 + if test "X$xdir" = "X$arg"; then
9600 + if test "$pic_object" != none; then
9601 + # Prepend the subdirectory the object is found in.
9602 + pic_object="$xdir$pic_object"
9604 + if test "$prev" = dlfiles; then
9605 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
9606 + dlfiles="$dlfiles $pic_object"
9610 + # If libtool objects are unsupported, then we need to preload.
9615 + # CHECK ME: I think I busted this. -Ossama
9616 + if test "$prev" = dlprefiles; then
9617 + # Preload the old-style object.
9618 + dlprefiles="$dlprefiles $pic_object"
9623 + libobjs="$libobjs $pic_object"
9628 + if test "$non_pic_object" != none; then
9629 + # Prepend the subdirectory the object is found in.
9630 + non_pic_object="$xdir$non_pic_object"
9632 + # A standard non-PIC object
9633 + non_pic_objects="$non_pic_objects $non_pic_object"
9634 + if test -z "$pic_object" || test "$pic_object" = none ; then
9635 + arg="$non_pic_object"
9639 + # Only an error if not doing a dry-run.
9640 + if test -z "$run"; then
9641 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
9642 + exit $EXIT_FAILURE
9646 + # Extract subdirectory from the argument.
9647 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
9648 + if test "X$xdir" = "X$arg"; then
9654 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
9655 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
9656 + libobjs="$libobjs $pic_object"
9657 + non_pic_objects="$non_pic_objects $non_pic_object"
9662 + $echo "$modename: link input file \`$save_arg' does not exist"
9663 + exit $EXIT_FAILURE
9670 + # We need an absolute path.
9672 + [\\/]* | [A-Za-z]:[\\/]*) ;;
9674 + $echo "$modename: only absolute run-paths are allowed" 1>&2
9675 + exit $EXIT_FAILURE
9678 + if test "$prev" = rpath; then
9681 + *) rpath="$rpath $arg" ;;
9684 + case "$xrpath " in
9686 + *) xrpath="$xrpath $arg" ;;
9693 + compiler_flags="$compiler_flags $qarg"
9695 + compile_command="$compile_command $qarg"
9696 + finalize_command="$finalize_command $qarg"
9700 + linker_flags="$linker_flags $qarg"
9701 + compiler_flags="$compiler_flags $wl$qarg"
9703 + compile_command="$compile_command $wl$qarg"
9704 + finalize_command="$finalize_command $wl$qarg"
9708 + linker_flags="$linker_flags $qarg"
9709 + compiler_flags="$compiler_flags $qarg"
9711 + compile_command="$compile_command $qarg"
9712 + finalize_command="$finalize_command $qarg"
9716 + shrext_cmds="$arg"
9721 + eval "$prev=\"\$arg\""
9726 + fi # test -n "$prev"
9732 + if test -n "$link_static_flag"; then
9733 + compile_command="$compile_command $link_static_flag"
9734 + finalize_command="$finalize_command $link_static_flag"
9740 + # FIXME: remove this flag sometime in the future.
9741 + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
9761 + export_dynamic=yes
9765 + -export-symbols | -export-symbols-regex)
9766 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
9767 + $echo "$modename: more than one -exported-symbols argument is not allowed"
9768 + exit $EXIT_FAILURE
9770 + if test "X$arg" = "X-export-symbols"; then
9773 + prev=expsyms_regex
9783 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
9784 + # so, if we see these flags be careful not to treat them like -L
9786 + case $with_gcc/$host in
9787 + no/*-*-irix* | /*-*-irix*)
9788 + compile_command="$compile_command $arg"
9789 + finalize_command="$finalize_command $arg"
9796 + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
9797 + # We need an absolute path.
9799 + [\\/]* | [A-Za-z]:[\\/]*) ;;
9801 + absdir=`cd "$dir" && pwd`
9802 + if test -z "$absdir"; then
9803 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
9804 + exit $EXIT_FAILURE
9809 + case "$deplibs " in
9812 + deplibs="$deplibs -L$dir"
9813 + lib_search_path="$lib_search_path $dir"
9817 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
9818 + case :$dllsearchpath: in
9820 + *) dllsearchpath="$dllsearchpath:$dir";;
9828 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
9830 + *-*-cygwin* | *-*-pw32* | *-*-beos*)
9831 + # These systems don't actually have a C or math library (as such)
9834 + *-*-mingw* | *-*-os2*)
9835 + # These systems don't actually have a C library (as such)
9836 + test "X$arg" = "X-lc" && continue
9838 + *-*-openbsd* | *-*-freebsd*)
9839 + # Do not include libc due to us having libc/libc_r.
9840 + test "X$arg" = "X-lc" && continue
9842 + *-*-rhapsody* | *-*-darwin1.[012])
9843 + # Rhapsody C and math libraries are in the System framework
9844 + deplibs="$deplibs -framework System"
9847 + elif test "X$arg" = "X-lc_r"; then
9849 + *-*-openbsd* | *-*-freebsd*)
9850 + # Do not include libc_r directly, use -pthread flag.
9855 + deplibs="$deplibs $arg"
9859 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
9860 + deplibs="$deplibs $arg"
9869 + # gcc -m* arguments should be passed to the linker via $compiler_flags
9870 + # in order to pass architecture information to the linker
9871 + # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
9872 + # but this is not reliable with gcc because gcc may use -mfoo to
9873 + # select a different linker, different libraries, etc, while
9874 + # -Wl,-mfoo simply passes -mfoo to the linker.
9876 + # Unknown arguments in both finalize_command and compile_command need
9877 + # to be aesthetically quoted because they are evaled later.
9878 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9880 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9884 + compile_command="$compile_command $arg"
9885 + finalize_command="$finalize_command $arg"
9886 + if test "$with_gcc" = "yes" ; then
9887 + compiler_flags="$compiler_flags $arg"
9904 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
9905 + # The PATH hackery in wrapper scripts is required on Windows
9906 + # in order for the loader to find any dlls it needs.
9907 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
9908 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
9911 + *) no_install=yes ;;
9917 + allow_undefined=no
9926 + -o) prev=output ;;
9928 + -precious-files-regex)
9929 + prev=precious_regex
9949 + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
9950 + # We need an absolute path.
9952 + [\\/]* | [A-Za-z]:[\\/]*) ;;
9954 + $echo "$modename: only absolute run-paths are allowed" 1>&2
9955 + exit $EXIT_FAILURE
9958 + case "$xrpath " in
9960 + *) xrpath="$xrpath $dir" ;;
9966 + # The effects of -static are defined in a previous loop.
9967 + # We used to do the same as -all-static on platforms that
9968 + # didn't have a PIC flag, but the assumption that the effects
9969 + # would be equivalent was wrong. It would break on at least
9970 + # Digital Unix and AIX.
9990 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
9992 + save_ifs="$IFS"; IFS=','
9993 + for flag in $args; do
9996 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
10000 + arg="$arg $wl$flag"
10001 + compiler_flags="$compiler_flags $flag"
10004 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
10008 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
10010 + save_ifs="$IFS"; IFS=','
10011 + for flag in $args; do
10014 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
10018 + arg="$arg $wl$flag"
10019 + compiler_flags="$compiler_flags $wl$flag"
10020 + linker_flags="$linker_flags $flag"
10023 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
10041 + # Some other compiler flag.
10043 + # Unknown arguments in both finalize_command and compile_command need
10044 + # to be aesthetically quoted because they are evaled later.
10045 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
10047 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
10054 + # A standard object.
10055 + objs="$objs $arg"
10059 + # A libtool-controlled object.
10061 + # Check to see that this really is a libtool object.
10062 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
10066 + # Read the .lo file
10067 + # If there is no directory component, then add one.
10069 + */* | *\\*) . $arg ;;
10073 + if test -z "$pic_object" || \
10074 + test -z "$non_pic_object" ||
10075 + test "$pic_object" = none && \
10076 + test "$non_pic_object" = none; then
10077 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
10078 + exit $EXIT_FAILURE
10081 + # Extract subdirectory from the argument.
10082 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
10083 + if test "X$xdir" = "X$arg"; then
10089 + if test "$pic_object" != none; then
10090 + # Prepend the subdirectory the object is found in.
10091 + pic_object="$xdir$pic_object"
10093 + if test "$prev" = dlfiles; then
10094 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
10095 + dlfiles="$dlfiles $pic_object"
10099 + # If libtool objects are unsupported, then we need to preload.
10104 + # CHECK ME: I think I busted this. -Ossama
10105 + if test "$prev" = dlprefiles; then
10106 + # Preload the old-style object.
10107 + dlprefiles="$dlprefiles $pic_object"
10112 + libobjs="$libobjs $pic_object"
10113 + arg="$pic_object"
10116 + # Non-PIC object.
10117 + if test "$non_pic_object" != none; then
10118 + # Prepend the subdirectory the object is found in.
10119 + non_pic_object="$xdir$non_pic_object"
10121 + # A standard non-PIC object
10122 + non_pic_objects="$non_pic_objects $non_pic_object"
10123 + if test -z "$pic_object" || test "$pic_object" = none ; then
10124 + arg="$non_pic_object"
10128 + # Only an error if not doing a dry-run.
10129 + if test -z "$run"; then
10130 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
10131 + exit $EXIT_FAILURE
10135 + # Extract subdirectory from the argument.
10136 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
10137 + if test "X$xdir" = "X$arg"; then
10143 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
10144 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
10145 + libobjs="$libobjs $pic_object"
10146 + non_pic_objects="$non_pic_objects $non_pic_object"
10153 + deplibs="$deplibs $arg"
10154 + old_deplibs="$old_deplibs $arg"
10159 + # A libtool-controlled library.
10161 + if test "$prev" = dlfiles; then
10162 + # This library was specified with -dlopen.
10163 + dlfiles="$dlfiles $arg"
10165 + elif test "$prev" = dlprefiles; then
10166 + # The library was specified with -dlpreopen.
10167 + dlprefiles="$dlprefiles $arg"
10170 + deplibs="$deplibs $arg"
10175 + # Some other compiler argument.
10177 + # Unknown arguments in both finalize_command and compile_command need
10178 + # to be aesthetically quoted because they are evaled later.
10179 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
10181 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
10188 + # Now actually substitute the argument into the commands.
10189 + if test -n "$arg"; then
10190 + compile_command="$compile_command $arg"
10191 + finalize_command="$finalize_command $arg"
10193 + done # argument parsing loop
10195 + if test -n "$prev"; then
10196 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
10197 + $echo "$help" 1>&2
10198 + exit $EXIT_FAILURE
10201 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
10202 + eval arg=\"$export_dynamic_flag_spec\"
10203 + compile_command="$compile_command $arg"
10204 + finalize_command="$finalize_command $arg"
10208 + # calculate the name of the file, without its directory
10209 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
10210 + libobjs_save="$libobjs"
10212 + if test -n "$shlibpath_var"; then
10213 + # get the directories listed in $shlibpath_var
10214 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
10216 + shlib_search_path=
10218 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
10219 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
10221 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
10222 + if test "X$output_objdir" = "X$output"; then
10223 + output_objdir="$objdir"
10225 + output_objdir="$output_objdir/$objdir"
10227 + # Create the object directory.
10228 + if test ! -d "$output_objdir"; then
10229 + $show "$mkdir $output_objdir"
10230 + $run $mkdir $output_objdir
10232 + if test "$status" -ne 0 && test ! -d "$output_objdir"; then
10237 + # Determine the type of output
10240 + $echo "$modename: you must specify an output file" 1>&2
10241 + $echo "$help" 1>&2
10242 + exit $EXIT_FAILURE
10244 + *.$libext) linkmode=oldlib ;;
10245 + *.lo | *.$objext) linkmode=obj ;;
10246 + *.la) linkmode=lib ;;
10247 + *) linkmode=prog ;; # Anything else should be a program.
10251 + *cygwin* | *mingw* | *pw32*)
10252 + # don't eliminate duplications in $postdeps and $predeps
10253 + duplicate_compiler_generated_deps=yes
10256 + duplicate_compiler_generated_deps=$duplicate_deps
10262 + # Find all interdependent deplibs by searching for libraries
10263 + # that are linked more than once (e.g. -la -lb -la)
10264 + for deplib in $deplibs; do
10265 + if test "X$duplicate_deps" = "Xyes" ; then
10267 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
10270 + libs="$libs $deplib"
10273 + if test "$linkmode" = lib; then
10274 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
10276 + # Compute libraries that are listed more than once in $predeps
10277 + # $postdeps and mark them as special (i.e., whose duplicates are
10278 + # not to be eliminated).
10280 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
10281 + for pre_post_dep in $predeps $postdeps; do
10282 + case "$pre_post_deps " in
10283 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
10285 + pre_post_deps="$pre_post_deps $pre_post_dep"
10292 + newdependency_libs=
10293 + newlib_search_path=
10294 + need_relink=no # whether we're linking any uninstalled libtool libraries
10295 + notinst_deplibs= # not-installed libtool libraries
10296 + notinst_path= # paths that contain not-installed libtool libraries
10297 + case $linkmode in
10299 + passes="conv link"
10300 + for file in $dlfiles $dlprefiles; do
10304 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
10305 + exit $EXIT_FAILURE
10312 + finalize_deplibs=
10316 + passes="conv scan dlopen dlpreopen link"
10321 + for pass in $passes; do
10322 + if test "$linkmode,$pass" = "lib,link" ||
10323 + test "$linkmode,$pass" = "prog,scan"; then
10327 + if test "$linkmode" = prog; then
10329 + dlopen) libs="$dlfiles" ;;
10330 + dlpreopen) libs="$dlprefiles" ;;
10332 + libs="$deplibs %DEPLIBS%"
10333 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
10337 + if test "$pass" = dlopen; then
10338 + # Collect dlpreopened libraries
10339 + save_deplibs="$deplibs"
10342 + for deplib in $libs; do
10346 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
10347 + if test "$linkmode,$pass" = "prog,link"; then
10348 + compile_deplibs="$deplib $compile_deplibs"
10349 + finalize_deplibs="$deplib $finalize_deplibs"
10351 + deplibs="$deplib $deplibs"
10356 + if test "$linkmode" != lib && test "$linkmode" != prog; then
10357 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
10360 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
10361 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
10362 + for search_ext in .la $std_shrext .so .a; do
10363 + # Search the libtool library
10364 + lib="$searchdir/lib${name}${search_ext}"
10365 + if test -f "$lib"; then
10366 + if test "$search_ext" = ".la"; then
10375 + if test "$found" != yes; then
10376 + # deplib doesn't seem to be a libtool library
10377 + if test "$linkmode,$pass" = "prog,link"; then
10378 + compile_deplibs="$deplib $compile_deplibs"
10379 + finalize_deplibs="$deplib $finalize_deplibs"
10381 + deplibs="$deplib $deplibs"
10382 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
10385 + else # deplib is a libtool library
10386 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
10387 + # We need to do some special things here, and not later.
10388 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
10389 + case " $predeps $postdeps " in
10391 + if (${SED} -e '2q' $lib |
10392 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
10396 + */* | *\\*) . $lib ;;
10399 + for l in $old_library $library_names; do
10402 + if test "X$ll" = "X$old_library" ; then # only static version available
10404 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
10405 + test "X$ladir" = "X$lib" && ladir="."
10406 + lib=$ladir/$old_library
10407 + if test "$linkmode,$pass" = "prog,link"; then
10408 + compile_deplibs="$deplib $compile_deplibs"
10409 + finalize_deplibs="$deplib $finalize_deplibs"
10411 + deplibs="$deplib $deplibs"
10412 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
10424 + case $linkmode in
10426 + deplibs="$deplib $deplibs"
10427 + test "$pass" = conv && continue
10428 + newdependency_libs="$deplib $newdependency_libs"
10429 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
10432 + if test "$pass" = conv; then
10433 + deplibs="$deplib $deplibs"
10436 + if test "$pass" = scan; then
10437 + deplibs="$deplib $deplibs"
10439 + compile_deplibs="$deplib $compile_deplibs"
10440 + finalize_deplibs="$deplib $finalize_deplibs"
10442 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
10445 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
10451 + if test "$pass" = link; then
10452 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
10453 + # Make sure the xrpath contains only unique directories.
10454 + case "$xrpath " in
10456 + *) xrpath="$xrpath $dir" ;;
10459 + deplibs="$deplib $deplibs"
10462 + *.la) lib="$deplib" ;;
10464 + if test "$pass" = conv; then
10465 + deplibs="$deplib $deplibs"
10468 + case $linkmode in
10470 + if test "$deplibs_check_method" != pass_all; then
10472 + $echo "*** Warning: Trying to link with static lib archive $deplib."
10473 + $echo "*** I have the capability to make that library automatically link in when"
10474 + $echo "*** you link to this library. But I can only do this if you have a"
10475 + $echo "*** shared version of the library, which you do not appear to have"
10476 + $echo "*** because the file extensions .$libext of this argument makes me believe"
10477 + $echo "*** that it is just a static archive that I should not used here."
10480 + $echo "*** Warning: Linking the shared library $output against the"
10481 + $echo "*** static library $deplib is not portable!"
10482 + deplibs="$deplib $deplibs"
10487 + if test "$pass" != link; then
10488 + deplibs="$deplib $deplibs"
10490 + compile_deplibs="$deplib $compile_deplibs"
10491 + finalize_deplibs="$deplib $finalize_deplibs"
10497 + *.lo | *.$objext)
10498 + if test "$pass" = conv; then
10499 + deplibs="$deplib $deplibs"
10500 + elif test "$linkmode" = prog; then
10501 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
10502 + # If there is no dlopen support or we're linking statically,
10503 + # we need to preload.
10504 + newdlprefiles="$newdlprefiles $deplib"
10505 + compile_deplibs="$deplib $compile_deplibs"
10506 + finalize_deplibs="$deplib $finalize_deplibs"
10508 + newdlfiles="$newdlfiles $deplib"
10517 + esac # case $deplib
10518 + if test "$found" = yes || test -f "$lib"; then :
10520 + $echo "$modename: cannot find the library \`$lib'" 1>&2
10521 + exit $EXIT_FAILURE
10524 + # Check to see that this really is a libtool archive.
10525 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
10527 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
10528 + exit $EXIT_FAILURE
10531 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
10532 + test "X$ladir" = "X$lib" && ladir="."
10540 + # If the library was installed with an old release of libtool,
10541 + # it will not redefine variables installed, or shouldnotlink
10545 + # Read the .la file
10547 + */* | *\\*) . $lib ;;
10551 + if test "$linkmode,$pass" = "lib,link" ||
10552 + test "$linkmode,$pass" = "prog,scan" ||
10553 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
10554 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
10555 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
10558 + if test "$pass" = conv; then
10559 + # Only check for convenience libraries
10560 + deplibs="$lib $deplibs"
10561 + if test -z "$libdir"; then
10562 + if test -z "$old_library"; then
10563 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
10564 + exit $EXIT_FAILURE
10566 + # It is a libtool convenience library, so add in its objects.
10567 + convenience="$convenience $ladir/$objdir/$old_library"
10568 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
10570 + for deplib in $dependency_libs; do
10571 + deplibs="$deplib $deplibs"
10572 + if test "X$duplicate_deps" = "Xyes" ; then
10573 + case "$tmp_libs " in
10574 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
10577 + tmp_libs="$tmp_libs $deplib"
10579 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
10580 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
10581 + exit $EXIT_FAILURE
10584 + fi # $pass = conv
10587 + # Get the name of the library we link against.
10589 + for l in $old_library $library_names; do
10592 + if test -z "$linklib"; then
10593 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
10594 + exit $EXIT_FAILURE
10597 + # This library was specified with -dlopen.
10598 + if test "$pass" = dlopen; then
10599 + if test -z "$libdir"; then
10600 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
10601 + exit $EXIT_FAILURE
10603 + if test -z "$dlname" ||
10604 + test "$dlopen_support" != yes ||
10605 + test "$build_libtool_libs" = no; then
10606 + # If there is no dlname, no dlopen support or we're linking
10607 + # statically, we need to preload. We also need to preload any
10608 + # dependent libraries so libltdl's deplib preloader doesn't
10609 + # bomb out in the load deplibs phase.
10610 + dlprefiles="$dlprefiles $lib $dependency_libs"
10612 + newdlfiles="$newdlfiles $lib"
10615 + fi # $pass = dlopen
10617 + # We need an absolute path.
10619 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
10621 + abs_ladir=`cd "$ladir" && pwd`
10622 + if test -z "$abs_ladir"; then
10623 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
10624 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
10625 + abs_ladir="$ladir"
10629 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
10631 + # Find the relevant object directory and library name.
10632 + if test "X$installed" = Xyes; then
10633 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
10634 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
10636 + absdir="$abs_ladir"
10637 + libdir="$abs_ladir"
10643 + dir="$ladir/$objdir"
10644 + absdir="$abs_ladir/$objdir"
10645 + # Remove this search path later
10646 + notinst_path="$notinst_path $abs_ladir"
10647 + fi # $installed = yes
10648 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
10650 + # This library was specified with -dlpreopen.
10651 + if test "$pass" = dlpreopen; then
10652 + if test -z "$libdir"; then
10653 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
10654 + exit $EXIT_FAILURE
10656 + # Prefer using a static library (so that no silly _DYNAMIC symbols
10657 + # are required to link).
10658 + if test -n "$old_library"; then
10659 + newdlprefiles="$newdlprefiles $dir/$old_library"
10660 + # Otherwise, use the dlname, so that lt_dlopen finds it.
10661 + elif test -n "$dlname"; then
10662 + newdlprefiles="$newdlprefiles $dir/$dlname"
10664 + newdlprefiles="$newdlprefiles $dir/$linklib"
10666 + fi # $pass = dlpreopen
10668 + if test -z "$libdir"; then
10669 + # Link the convenience library
10670 + if test "$linkmode" = lib; then
10671 + deplibs="$dir/$old_library $deplibs"
10672 + elif test "$linkmode,$pass" = "prog,link"; then
10673 + compile_deplibs="$dir/$old_library $compile_deplibs"
10674 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
10676 + deplibs="$lib $deplibs" # used for prog,scan pass
10682 + if test "$linkmode" = prog && test "$pass" != link; then
10683 + newlib_search_path="$newlib_search_path $ladir"
10684 + deplibs="$lib $deplibs"
10686 + linkalldeplibs=no
10687 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
10688 + test "$build_libtool_libs" = no; then
10689 + linkalldeplibs=yes
10693 + for deplib in $dependency_libs; do
10695 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
10697 + # Need to link against all dependency_libs?
10698 + if test "$linkalldeplibs" = yes; then
10699 + deplibs="$deplib $deplibs"
10701 + # Need to hardcode shared library paths
10702 + # or/and link against static libraries
10703 + newdependency_libs="$deplib $newdependency_libs"
10705 + if test "X$duplicate_deps" = "Xyes" ; then
10706 + case "$tmp_libs " in
10707 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
10710 + tmp_libs="$tmp_libs $deplib"
10711 + done # for deplib
10713 + fi # $linkmode = prog...
10715 + if test "$linkmode,$pass" = "prog,link"; then
10716 + if test -n "$library_names" &&
10717 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
10718 + # We need to hardcode the library path
10719 + if test -n "$shlibpath_var"; then
10720 + # Make sure the rpath contains only unique directories.
10721 + case "$temp_rpath " in
10723 + *" $absdir "*) ;;
10724 + *) temp_rpath="$temp_rpath $dir" ;;
10728 + # Hardcode the library path.
10729 + # Skip directories that are in the system default run-time
10731 + case " $sys_lib_dlsearch_path " in
10732 + *" $absdir "*) ;;
10734 + case "$compile_rpath " in
10735 + *" $absdir "*) ;;
10736 + *) compile_rpath="$compile_rpath $absdir"
10740 + case " $sys_lib_dlsearch_path " in
10741 + *" $libdir "*) ;;
10743 + case "$finalize_rpath " in
10744 + *" $libdir "*) ;;
10745 + *) finalize_rpath="$finalize_rpath $libdir"
10749 + fi # $linkmode,$pass = prog,link...
10751 + if test "$alldeplibs" = yes &&
10752 + { test "$deplibs_check_method" = pass_all ||
10753 + { test "$build_libtool_libs" = yes &&
10754 + test -n "$library_names"; }; }; then
10755 + # We only need to search for static libraries
10760 + link_static=no # Whether the deplib will be linked statically
10761 + if test -n "$library_names" &&
10762 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
10763 + if test "$installed" = no; then
10764 + notinst_deplibs="$notinst_deplibs $lib"
10767 + # This is a shared library
10769 + # Warn about portability, can't link against -module's on
10770 + # some systems (darwin)
10771 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
10773 + if test "$linkmode" = prog; then
10774 + $echo "*** Warning: Linking the executable $output against the loadable module"
10776 + $echo "*** Warning: Linking the shared library $output against the loadable module"
10778 + $echo "*** $linklib is not portable!"
10780 + if test "$linkmode" = lib &&
10781 + test "$hardcode_into_libs" = yes; then
10782 + # Hardcode the library path.
10783 + # Skip directories that are in the system default run-time
10785 + case " $sys_lib_dlsearch_path " in
10786 + *" $absdir "*) ;;
10788 + case "$compile_rpath " in
10789 + *" $absdir "*) ;;
10790 + *) compile_rpath="$compile_rpath $absdir"
10794 + case " $sys_lib_dlsearch_path " in
10795 + *" $libdir "*) ;;
10797 + case "$finalize_rpath " in
10798 + *" $libdir "*) ;;
10799 + *) finalize_rpath="$finalize_rpath $libdir"
10805 + if test -n "$old_archive_from_expsyms_cmds"; then
10806 + # figure out the soname
10807 + set dummy $library_names
10810 + libname=`eval \\$echo \"$libname_spec\"`
10811 + # use dlname if we got it. it's perfectly good, no?
10812 + if test -n "$dlname"; then
10814 + elif test -n "$soname_spec"; then
10817 + *cygwin* | mingw*)
10818 + major=`expr $current - $age`
10819 + versuffix="-$major"
10822 + eval soname=\"$soname_spec\"
10824 + soname="$realname"
10827 + # Make a new name for the extract_expsyms_cmds to use
10829 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
10830 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
10832 + # If the library has no export list, then create one now
10833 + if test -f "$output_objdir/$soname-def"; then :
10835 + $show "extracting exported symbol list from \`$soname'"
10836 + save_ifs="$IFS"; IFS='~'
10837 + cmds=$extract_expsyms_cmds
10838 + for cmd in $cmds; do
10840 + eval cmd=\"$cmd\"
10842 + $run eval "$cmd" || exit $?
10848 + if test -f "$output_objdir/$newlib"; then :; else
10849 + $show "generating import library for \`$soname'"
10850 + save_ifs="$IFS"; IFS='~'
10851 + cmds=$old_archive_from_expsyms_cmds
10852 + for cmd in $cmds; do
10854 + eval cmd=\"$cmd\"
10856 + $run eval "$cmd" || exit $?
10860 + # make sure the library variables are pointing to the new library
10861 + dir=$output_objdir
10863 + fi # test -n "$old_archive_from_expsyms_cmds"
10865 + if test "$linkmode" = prog || test "$mode" != relink; then
10870 + case $hardcode_action in
10871 + immediate | unsupported)
10872 + if test "$hardcode_direct" = no; then
10873 + add="$dir/$linklib"
10875 + *-*-sco3.2v5* ) add_dir="-L$dir" ;;
10877 + # if the lib is a module then we can not link against
10878 + # it, someone is ignoring the new warnings I added
10879 + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
10880 + $echo "** Warning, lib $linklib is a module, not a shared library"
10881 + if test -z "$old_library" ; then
10883 + $echo "** And there doesn't seem to be a static archive available"
10884 + $echo "** The link will probably fail, sorry"
10886 + add="$dir/$old_library"
10890 + elif test "$hardcode_minus_L" = no; then
10892 + *-*-sunos*) add_shlibpath="$dir" ;;
10896 + elif test "$hardcode_shlibpath_var" = no; then
10897 + add_shlibpath="$dir"
10904 + if test "$hardcode_direct" = yes; then
10905 + add="$dir/$linklib"
10906 + elif test "$hardcode_minus_L" = yes; then
10908 + # Try looking first in the location we're being installed to.
10909 + if test -n "$inst_prefix_dir"; then
10910 + case "$libdir" in
10912 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
10917 + elif test "$hardcode_shlibpath_var" = yes; then
10918 + add_shlibpath="$dir"
10924 + *) lib_linked=no ;;
10927 + if test "$lib_linked" != yes; then
10928 + $echo "$modename: configuration error: unsupported hardcode properties"
10929 + exit $EXIT_FAILURE
10932 + if test -n "$add_shlibpath"; then
10933 + case :$compile_shlibpath: in
10934 + *":$add_shlibpath:"*) ;;
10935 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
10938 + if test "$linkmode" = prog; then
10939 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
10940 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
10942 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
10943 + test -n "$add" && deplibs="$add $deplibs"
10944 + if test "$hardcode_direct" != yes && \
10945 + test "$hardcode_minus_L" != yes && \
10946 + test "$hardcode_shlibpath_var" = yes; then
10947 + case :$finalize_shlibpath: in
10948 + *":$libdir:"*) ;;
10949 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
10955 + if test "$linkmode" = prog || test "$mode" = relink; then
10959 + # Finalize command for both is simple: just hardcode it.
10960 + if test "$hardcode_direct" = yes; then
10961 + add="$libdir/$linklib"
10962 + elif test "$hardcode_minus_L" = yes; then
10963 + add_dir="-L$libdir"
10965 + elif test "$hardcode_shlibpath_var" = yes; then
10966 + case :$finalize_shlibpath: in
10967 + *":$libdir:"*) ;;
10968 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
10971 + elif test "$hardcode_automatic" = yes; then
10972 + if test -n "$inst_prefix_dir" &&
10973 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
10974 + add="$inst_prefix_dir$libdir/$linklib"
10976 + add="$libdir/$linklib"
10979 + # We cannot seem to hardcode it, guess we'll fake it.
10980 + add_dir="-L$libdir"
10981 + # Try looking first in the location we're being installed to.
10982 + if test -n "$inst_prefix_dir"; then
10983 + case "$libdir" in
10985 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
10992 + if test "$linkmode" = prog; then
10993 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
10994 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
10996 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
10997 + test -n "$add" && deplibs="$add $deplibs"
11000 + elif test "$linkmode" = prog; then
11001 + # Here we assume that one of hardcode_direct or hardcode_minus_L
11002 + # is not unsupported. This is valid on all known static and
11003 + # shared platforms.
11004 + if test "$hardcode_direct" != unsupported; then
11005 + test -n "$old_library" && linklib="$old_library"
11006 + compile_deplibs="$dir/$linklib $compile_deplibs"
11007 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
11009 + compile_deplibs="-l$name -L$dir $compile_deplibs"
11010 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
11012 + elif test "$build_libtool_libs" = yes; then
11013 + # Not a shared library
11014 + if test "$deplibs_check_method" != pass_all; then
11015 + # We're trying link a shared library against a static one
11016 + # but the system doesn't support it.
11018 + # Just print a warning and add the library to dependency_libs so
11019 + # that the program can be linked against the static library.
11021 + $echo "*** Warning: This system can not link to static lib archive $lib."
11022 + $echo "*** I have the capability to make that library automatically link in when"
11023 + $echo "*** you link to this library. But I can only do this if you have a"
11024 + $echo "*** shared version of the library, which you do not appear to have."
11025 + if test "$module" = yes; then
11026 + $echo "*** But as you try to build a module library, libtool will still create "
11027 + $echo "*** a static module, that should work as long as the dlopening application"
11028 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
11029 + if test -z "$global_symbol_pipe"; then
11031 + $echo "*** However, this would only work if libtool was able to extract symbol"
11032 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
11033 + $echo "*** not find such a program. So, this module is probably useless."
11034 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
11036 + if test "$build_old_libs" = no; then
11037 + build_libtool_libs=module
11038 + build_old_libs=yes
11040 + build_libtool_libs=no
11044 + convenience="$convenience $dir/$old_library"
11045 + old_convenience="$old_convenience $dir/$old_library"
11046 + deplibs="$dir/$old_library $deplibs"
11049 + fi # link shared/static library?
11051 + if test "$linkmode" = lib; then
11052 + if test -n "$dependency_libs" &&
11053 + { test "$hardcode_into_libs" != yes ||
11054 + test "$build_old_libs" = yes ||
11055 + test "$link_static" = yes; }; then
11056 + # Extract -R from dependency_libs
11058 + for libdir in $dependency_libs; do
11060 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
11061 + case " $xrpath " in
11062 + *" $temp_xrpath "*) ;;
11063 + *) xrpath="$xrpath $temp_xrpath";;
11065 + *) temp_deplibs="$temp_deplibs $libdir";;
11068 + dependency_libs="$temp_deplibs"
11071 + newlib_search_path="$newlib_search_path $absdir"
11072 + # Link against this library
11073 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
11074 + # ... and its dependency_libs
11076 + for deplib in $dependency_libs; do
11077 + newdependency_libs="$deplib $newdependency_libs"
11078 + if test "X$duplicate_deps" = "Xyes" ; then
11079 + case "$tmp_libs " in
11080 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
11083 + tmp_libs="$tmp_libs $deplib"
11086 + if test "$link_all_deplibs" != no; then
11087 + # Add the search paths of all dependency libraries
11088 + for deplib in $dependency_libs; do
11090 + -L*) path="$deplib" ;;
11092 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
11093 + test "X$dir" = "X$deplib" && dir="."
11094 + # We need an absolute path.
11096 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
11098 + absdir=`cd "$dir" && pwd`
11099 + if test -z "$absdir"; then
11100 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
11105 + if grep "^installed=no" $deplib > /dev/null; then
11106 + path="$absdir/$objdir"
11108 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
11109 + if test -z "$libdir"; then
11110 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
11111 + exit $EXIT_FAILURE
11113 + if test "$absdir" != "$libdir"; then
11114 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
11121 + # we do not want to link against static libs,
11122 + # but need to link against shared
11123 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
11124 + if test -n "$deplibrary_names" ; then
11125 + for tmp in $deplibrary_names ; do
11128 + if test -f "$path/$depdepl" ; then
11129 + depdepl="$path/$depdepl"
11131 + # do not add paths which are already there
11132 + case " $newlib_search_path " in
11134 + *) newlib_search_path="$newlib_search_path $path";;
11147 + # Again, we only want to link against shared libraries
11148 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
11149 + for tmp in $newlib_search_path ; do
11150 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
11151 + eval depdepl="$tmp/lib$tmp_libs.dylib"
11162 + case " $deplibs " in
11163 + *" $depdepl "*) ;;
11164 + *) deplibs="$depdepl $deplibs" ;;
11166 + case " $deplibs " in
11168 + *) deplibs="$deplibs $path" ;;
11171 + fi # link_all_deplibs != no
11172 + fi # linkmode = lib
11173 + done # for deplib in $libs
11174 + dependency_libs="$newdependency_libs"
11175 + if test "$pass" = dlpreopen; then
11176 + # Link the dlpreopened libraries before other libraries
11177 + for deplib in $save_deplibs; do
11178 + deplibs="$deplib $deplibs"
11181 + if test "$pass" != dlopen; then
11182 + if test "$pass" != conv; then
11183 + # Make sure lib_search_path contains only unique directories.
11185 + for dir in $newlib_search_path; do
11186 + case "$lib_search_path " in
11188 + *) lib_search_path="$lib_search_path $dir" ;;
11191 + newlib_search_path=
11194 + if test "$linkmode,$pass" != "prog,link"; then
11197 + vars="compile_deplibs finalize_deplibs"
11199 + for var in $vars dependency_libs; do
11200 + # Add libraries to $var in reverse order
11201 + eval tmp_libs=\"\$$var\"
11203 + for deplib in $tmp_libs; do
11204 + # FIXME: Pedantically, this is the right thing to do, so
11205 + # that some nasty dependency loop isn't accidentally
11207 + #new_libs="$deplib $new_libs"
11208 + # Pragmatically, this seems to cause very few problems in
11211 + -L*) new_libs="$deplib $new_libs" ;;
11214 + # And here is the reason: when a library appears more
11215 + # than once as an explicit dependence of a library, or
11216 + # is implicitly linked in more than once by the
11217 + # compiler, it is considered special, and multiple
11218 + # occurrences thereof are not removed. Compare this
11219 + # with having the same library being listed as a
11220 + # dependency of multiple other libraries: in this case,
11221 + # we know (pedantically, we assume) the library does not
11222 + # need to be listed more than once, so we keep only the
11223 + # last copy. This is not always right, but it is rare
11224 + # enough that we require users that really mean to play
11225 + # such unportable linking tricks to link the library
11226 + # using -Wl,-lname, so that libtool does not consider it
11227 + # for duplicate removal.
11228 + case " $specialdeplibs " in
11229 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
11231 + case " $new_libs " in
11232 + *" $deplib "*) ;;
11233 + *) new_libs="$deplib $new_libs" ;;
11241 + for deplib in $new_libs; do
11244 + case " $tmp_libs " in
11245 + *" $deplib "*) ;;
11246 + *) tmp_libs="$tmp_libs $deplib" ;;
11249 + *) tmp_libs="$tmp_libs $deplib" ;;
11252 + eval $var=\"$tmp_libs\"
11255 + # Last step: remove runtime libs from dependency_libs
11256 + # (they stay in deplibs)
11258 + for i in $dependency_libs ; do
11259 + case " $predeps $postdeps $compiler_lib_search_path " in
11264 + if test -n "$i" ; then
11265 + tmp_libs="$tmp_libs $i"
11268 + dependency_libs=$tmp_libs
11270 + if test "$linkmode" = prog; then
11271 + dlfiles="$newdlfiles"
11272 + dlprefiles="$newdlprefiles"
11275 + case $linkmode in
11277 + if test -n "$deplibs"; then
11278 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
11281 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
11282 + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
11285 + if test -n "$rpath"; then
11286 + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
11289 + if test -n "$xrpath"; then
11290 + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
11293 + if test -n "$vinfo"; then
11294 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
11297 + if test -n "$release"; then
11298 + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
11301 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
11302 + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
11305 + # Now set the variables for building old libraries.
11306 + build_libtool_libs=no
11307 + oldlibs="$output"
11308 + objs="$objs$old_deplibs"
11312 + # Make sure we only generate libraries of the form `libNAME.la'.
11313 + case $outputname in
11315 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
11316 + eval shared_ext=\"$shrext_cmds\"
11317 + eval libname=\"$libname_spec\"
11320 + if test "$module" = no; then
11321 + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
11322 + $echo "$help" 1>&2
11323 + exit $EXIT_FAILURE
11325 + if test "$need_lib_prefix" != no; then
11326 + # Add the "lib" prefix for modules if required
11327 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
11328 + eval shared_ext=\"$shrext_cmds\"
11329 + eval libname=\"$libname_spec\"
11331 + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
11336 + if test -n "$objs"; then
11337 + if test "$deplibs_check_method" != pass_all; then
11338 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
11339 + exit $EXIT_FAILURE
11342 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
11343 + $echo "*** objects $objs is not portable!"
11344 + libobjs="$libobjs $objs"
11348 + if test "$dlself" != no; then
11349 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
11353 + if test "$#" -gt 2; then
11354 + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
11356 + install_libdir="$2"
11359 + if test -z "$rpath"; then
11360 + if test "$build_libtool_libs" = yes; then
11361 + # Building a libtool convenience library.
11362 + # Some compilers have problems with a `.al' extension so
11363 + # convenience libraries should have the same extension an
11364 + # archive normally would.
11365 + oldlibs="$output_objdir/$libname.$libext $oldlibs"
11366 + build_libtool_libs=convenience
11367 + build_old_libs=yes
11370 + if test -n "$vinfo"; then
11371 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
11374 + if test -n "$release"; then
11375 + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
11379 + # Parse the version information argument.
11380 + save_ifs="$IFS"; IFS=':'
11381 + set dummy $vinfo 0 0 0
11384 + if test -n "$8"; then
11385 + $echo "$modename: too many parameters to \`-version-info'" 1>&2
11386 + $echo "$help" 1>&2
11387 + exit $EXIT_FAILURE
11390 + # convert absolute version numbers to libtool ages
11391 + # this retains compatibility with .la files and attempts
11392 + # to make the code below a bit more comprehensible
11394 + case $vinfo_number in
11396 + number_major="$2"
11397 + number_minor="$3"
11398 + number_revision="$4"
11400 + # There are really only two kinds -- those that
11401 + # use the current revision as the major version
11402 + # and those that subtract age and use age as
11403 + # a minor version. But, then there is irix
11404 + # which has an extra 1 added just for fun
11406 + case $version_type in
11407 + darwin|linux|osf|windows)
11408 + current=`expr $number_major + $number_minor`
11409 + age="$number_minor"
11410 + revision="$number_revision"
11412 + freebsd-aout|freebsd-elf|sunos)
11413 + current="$number_major"
11414 + revision="$number_minor"
11418 + current=`expr $number_major + $number_minor - 1`
11419 + age="$number_minor"
11420 + revision="$number_minor"
11423 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
11424 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
11425 + exit $EXIT_FAILURE
11436 + # Check that each of the things are valid numbers.
11438 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
11440 + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
11441 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
11442 + exit $EXIT_FAILURE
11446 + case $revision in
11447 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
11449 + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
11450 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
11451 + exit $EXIT_FAILURE
11456 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
11458 + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
11459 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
11460 + exit $EXIT_FAILURE
11464 + if test "$age" -gt "$current"; then
11465 + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
11466 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
11467 + exit $EXIT_FAILURE
11470 + # Calculate the version variables.
11474 + case $version_type in
11478 + # Like Linux, but with the current version available in
11479 + # verstring for coding it into the library header
11480 + major=.`expr $current - $age`
11481 + versuffix="$major.$age.$revision"
11482 + # Darwin ld doesn't like 0 for these options...
11483 + minor_current=`expr $current + 1`
11484 + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
11488 + major=".$current"
11489 + versuffix=".$current.$revision";
11493 + major=".$current"
11494 + versuffix=".$current";
11497 + irix | nonstopux)
11498 + major=`expr $current - $age + 1`
11500 + case $version_type in
11501 + nonstopux) verstring_prefix=nonstopux ;;
11502 + *) verstring_prefix=sgi ;;
11504 + verstring="$verstring_prefix$major.$revision"
11506 + # Add in all the interfaces that we are compatible with.
11508 + while test "$loop" -ne 0; do
11509 + iface=`expr $revision - $loop`
11510 + loop=`expr $loop - 1`
11511 + verstring="$verstring_prefix$major.$iface:$verstring"
11514 + # Before this point, $major must not contain `.'.
11516 + versuffix="$major.$revision"
11520 + major=.`expr $current - $age`
11521 + versuffix="$major.$age.$revision"
11525 + major=.`expr $current - $age`
11526 + versuffix=".$current.$age.$revision"
11527 + verstring="$current.$age.$revision"
11529 + # Add in all the interfaces that we are compatible with.
11531 + while test "$loop" -ne 0; do
11532 + iface=`expr $current - $loop`
11533 + loop=`expr $loop - 1`
11534 + verstring="$verstring:${iface}.0"
11537 + # Make executables depend on our current version.
11538 + verstring="$verstring:${current}.0"
11542 + major=".$current"
11543 + versuffix=".$current.$revision"
11547 + # Use '-' rather than '.', since we only want one
11548 + # extension on DOS 8.3 filesystems.
11549 + major=`expr $current - $age`
11550 + versuffix="-$major"
11554 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
11555 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
11556 + exit $EXIT_FAILURE
11560 + # Clear the version info if we defaulted, and they specified a release.
11561 + if test -z "$vinfo" && test -n "$release"; then
11563 + case $version_type in
11565 + # we can't check for "0.0" in archive_cmds due to quoting
11566 + # problems, so we reset it completely
11573 + if test "$need_version" = no; then
11580 + # Remove version info from name if versioning should be avoided
11581 + if test "$avoid_version" = yes && test "$need_version" = no; then
11587 + # Check to see if the archive will have undefined symbols.
11588 + if test "$allow_undefined" = yes; then
11589 + if test "$allow_undefined_flag" = unsupported; then
11590 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
11591 + build_libtool_libs=no
11592 + build_old_libs=yes
11595 + # Don't allow undefined symbols.
11596 + allow_undefined_flag="$no_undefined_flag"
11600 + if test "$mode" != relink; then
11601 + # Remove our outputs, but don't remove object files since they
11602 + # may have been created when compiling PIC objects.
11604 + tempremovelist=`$echo "$output_objdir/*"`
11605 + for p in $tempremovelist; do
11609 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
11610 + if test "X$precious_files_regex" != "X"; then
11611 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
11616 + removelist="$removelist $p"
11621 + if test -n "$removelist"; then
11622 + $show "${rm}r $removelist"
11623 + $run ${rm}r $removelist
11627 + # Now set the variables for building old libraries.
11628 + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
11629 + oldlibs="$oldlibs $output_objdir/$libname.$libext"
11631 + # Transform .lo files to .o files.
11632 + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
11635 + # Eliminate all temporary directories.
11636 + for path in $notinst_path; do
11637 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
11638 + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
11639 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
11642 + if test -n "$xrpath"; then
11643 + # If the user specified any rpath flags, then add them.
11645 + for libdir in $xrpath; do
11646 + temp_xrpath="$temp_xrpath -R$libdir"
11647 + case "$finalize_rpath " in
11648 + *" $libdir "*) ;;
11649 + *) finalize_rpath="$finalize_rpath $libdir" ;;
11652 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
11653 + dependency_libs="$temp_xrpath $dependency_libs"
11657 + # Make sure dlfiles contains only unique files that won't be dlpreopened
11658 + old_dlfiles="$dlfiles"
11660 + for lib in $old_dlfiles; do
11661 + case " $dlprefiles $dlfiles " in
11663 + *) dlfiles="$dlfiles $lib" ;;
11667 + # Make sure dlprefiles contains only unique files
11668 + old_dlprefiles="$dlprefiles"
11670 + for lib in $old_dlprefiles; do
11671 + case "$dlprefiles " in
11673 + *) dlprefiles="$dlprefiles $lib" ;;
11677 + if test "$build_libtool_libs" = yes; then
11678 + if test -n "$rpath"; then
11680 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
11681 + # these systems don't actually have a c library (as such)!
11683 + *-*-rhapsody* | *-*-darwin1.[012])
11684 + # Rhapsody C library is in the System framework
11685 + deplibs="$deplibs -framework System"
11688 + # Don't link with libc until the a.out ld.so is fixed.
11690 + *-*-openbsd* | *-*-freebsd*)
11691 + # Do not include libc due to us having libc/libc_r.
11692 + test "X$arg" = "X-lc" && continue
11695 + # Add libc to deplibs on all other systems if necessary.
11696 + if test "$build_libtool_need_lc" = "yes"; then
11697 + deplibs="$deplibs -lc"
11703 + # Transform deplibs into only deplibs that can be linked in shared.
11705 + libname_save=$libname
11706 + release_save=$release
11707 + versuffix_save=$versuffix
11708 + major_save=$major
11709 + # I'm not sure if I'm treating the release correctly. I think
11710 + # release should show up in the -l (ie -lgmp5) so we don't want to
11711 + # add it in twice. Is that correct?
11717 + case $deplibs_check_method in
11719 + # Don't check for shared/static. Everything works.
11720 + # This might be a little naive. We might want to check
11721 + # whether the library exists or not. But this is on
11722 + # osf3 & osf4 and I'm not really sure... Just
11723 + # implementing what was already the behavior.
11724 + newdeplibs=$deplibs
11727 + # This code stresses the "libraries are programs" paradigm to its
11728 + # limits. Maybe even breaks it. We compile a program, linking it
11729 + # against the deplibs as a proxy for the library. Then we can check
11730 + # whether they linked in statically or dynamically with ldd.
11732 + cat > conftest.c <<EOF
11733 + int main() { return 0; }
11736 + $LTCC -o conftest conftest.c $deplibs
11737 + if test "$?" -eq 0 ; then
11738 + ldd_output=`ldd conftest`
11739 + for i in $deplibs; do
11740 + name="`expr $i : '-l\(.*\)'`"
11741 + # If $name is empty we are operating on a -L argument.
11742 + if test "$name" != "" && test "$name" -ne "0"; then
11743 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
11744 + case " $predeps $postdeps " in
11746 + newdeplibs="$newdeplibs $i"
11751 + if test -n "$i" ; then
11752 + libname=`eval \\$echo \"$libname_spec\"`
11753 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
11754 + set dummy $deplib_matches
11756 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
11757 + newdeplibs="$newdeplibs $i"
11761 + $echo "*** Warning: dynamic linker does not accept needed library $i."
11762 + $echo "*** I have the capability to make that library automatically link in when"
11763 + $echo "*** you link to this library. But I can only do this if you have a"
11764 + $echo "*** shared version of the library, which I believe you do not have"
11765 + $echo "*** because a test_compile did reveal that the linker did not use it for"
11766 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
11770 + newdeplibs="$newdeplibs $i"
11774 + # Error occurred in the first compile. Let's try to salvage
11775 + # the situation: Compile a separate program for each library.
11776 + for i in $deplibs; do
11777 + name="`expr $i : '-l\(.*\)'`"
11778 + # If $name is empty we are operating on a -L argument.
11779 + if test "$name" != "" && test "$name" != "0"; then
11781 + $LTCC -o conftest conftest.c $i
11783 + if test "$?" -eq 0 ; then
11784 + ldd_output=`ldd conftest`
11785 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
11786 + case " $predeps $postdeps " in
11788 + newdeplibs="$newdeplibs $i"
11793 + if test -n "$i" ; then
11794 + libname=`eval \\$echo \"$libname_spec\"`
11795 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
11796 + set dummy $deplib_matches
11798 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
11799 + newdeplibs="$newdeplibs $i"
11803 + $echo "*** Warning: dynamic linker does not accept needed library $i."
11804 + $echo "*** I have the capability to make that library automatically link in when"
11805 + $echo "*** you link to this library. But I can only do this if you have a"
11806 + $echo "*** shared version of the library, which you do not appear to have"
11807 + $echo "*** because a test_compile did reveal that the linker did not use this one"
11808 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
11814 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
11815 + $echo "*** make it link in! You will probably need to install it or some"
11816 + $echo "*** library that it depends on before this library will be fully"
11817 + $echo "*** functional. Installing it before continuing would be even better."
11820 + newdeplibs="$newdeplibs $i"
11826 + set dummy $deplibs_check_method
11827 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
11828 + for a_deplib in $deplibs; do
11829 + name="`expr $a_deplib : '-l\(.*\)'`"
11830 + # If $name is empty we are operating on a -L argument.
11831 + if test "$name" != "" && test "$name" != "0"; then
11832 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
11833 + case " $predeps $postdeps " in
11835 + newdeplibs="$newdeplibs $a_deplib"
11840 + if test -n "$a_deplib" ; then
11841 + libname=`eval \\$echo \"$libname_spec\"`
11842 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
11843 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
11844 + for potent_lib in $potential_libs; do
11845 + # Follow soft links.
11846 + if ls -lLd "$potent_lib" 2>/dev/null \
11847 + | grep " -> " >/dev/null; then
11850 + # The statement above tries to avoid entering an
11851 + # endless loop below, in case of cyclic links.
11852 + # We might still enter an endless loop, since a link
11853 + # loop can be closed while we follow links,
11855 + potlib="$potent_lib"
11856 + while test -h "$potlib" 2>/dev/null; do
11857 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
11858 + case $potliblink in
11859 + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
11860 + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
11863 + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
11865 + | $EGREP "$file_magic_regex" > /dev/null; then
11866 + newdeplibs="$newdeplibs $a_deplib"
11873 + if test -n "$a_deplib" ; then
11876 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
11877 + $echo "*** I have the capability to make that library automatically link in when"
11878 + $echo "*** you link to this library. But I can only do this if you have a"
11879 + $echo "*** shared version of the library, which you do not appear to have"
11880 + $echo "*** because I did check the linker path looking for a file starting"
11881 + if test -z "$potlib" ; then
11882 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
11884 + $echo "*** with $libname and none of the candidates passed a file format test"
11885 + $echo "*** using a file magic. Last file checked: $potlib"
11889 + # Add a -L argument.
11890 + newdeplibs="$newdeplibs $a_deplib"
11892 + done # Gone through all deplibs.
11895 + set dummy $deplibs_check_method
11896 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
11897 + for a_deplib in $deplibs; do
11898 + name="`expr $a_deplib : '-l\(.*\)'`"
11899 + # If $name is empty we are operating on a -L argument.
11900 + if test -n "$name" && test "$name" != "0"; then
11901 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
11902 + case " $predeps $postdeps " in
11904 + newdeplibs="$newdeplibs $a_deplib"
11909 + if test -n "$a_deplib" ; then
11910 + libname=`eval \\$echo \"$libname_spec\"`
11911 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
11912 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
11913 + for potent_lib in $potential_libs; do
11914 + potlib="$potent_lib" # see symlink-check above in file_magic test
11915 + if eval $echo \"$potent_lib\" 2>/dev/null \
11917 + | $EGREP "$match_pattern_regex" > /dev/null; then
11918 + newdeplibs="$newdeplibs $a_deplib"
11925 + if test -n "$a_deplib" ; then
11928 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
11929 + $echo "*** I have the capability to make that library automatically link in when"
11930 + $echo "*** you link to this library. But I can only do this if you have a"
11931 + $echo "*** shared version of the library, which you do not appear to have"
11932 + $echo "*** because I did check the linker path looking for a file starting"
11933 + if test -z "$potlib" ; then
11934 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
11936 + $echo "*** with $libname and none of the candidates passed a file format test"
11937 + $echo "*** using a regex pattern. Last file checked: $potlib"
11941 + # Add a -L argument.
11942 + newdeplibs="$newdeplibs $a_deplib"
11944 + done # Gone through all deplibs.
11946 + none | unknown | *)
11948 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
11949 + -e 's/ -[LR][^ ]*//g'`
11950 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
11951 + for i in $predeps $postdeps ; do
11952 + # can't use Xsed below, because $i might contain '/'
11953 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
11956 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
11957 + | grep . >/dev/null; then
11959 + if test "X$deplibs_check_method" = "Xnone"; then
11960 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
11962 + $echo "*** Warning: inter-library dependencies are not known to be supported."
11964 + $echo "*** All declared inter-library dependencies are being dropped."
11969 + versuffix=$versuffix_save
11970 + major=$major_save
11971 + release=$release_save
11972 + libname=$libname_save
11976 + *-*-rhapsody* | *-*-darwin1.[012])
11977 + # On Rhapsody replace the C library is the System framework
11978 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
11982 + if test "$droppeddeps" = yes; then
11983 + if test "$module" = yes; then
11985 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
11986 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
11987 + $echo "*** a static module, that should work as long as the dlopening"
11988 + $echo "*** application is linked with the -dlopen flag."
11989 + if test -z "$global_symbol_pipe"; then
11991 + $echo "*** However, this would only work if libtool was able to extract symbol"
11992 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
11993 + $echo "*** not find such a program. So, this module is probably useless."
11994 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
11996 + if test "$build_old_libs" = no; then
11997 + oldlibs="$output_objdir/$libname.$libext"
11998 + build_libtool_libs=module
11999 + build_old_libs=yes
12001 + build_libtool_libs=no
12004 + $echo "*** The inter-library dependencies that have been dropped here will be"
12005 + $echo "*** automatically added whenever a program is linked with this library"
12006 + $echo "*** or is declared to -dlopen it."
12008 + if test "$allow_undefined" = no; then
12010 + $echo "*** Since this library must not contain undefined symbols,"
12011 + $echo "*** because either the platform does not support them or"
12012 + $echo "*** it was explicitly requested with -no-undefined,"
12013 + $echo "*** libtool will only create a static version of it."
12014 + if test "$build_old_libs" = no; then
12015 + oldlibs="$output_objdir/$libname.$libext"
12016 + build_libtool_libs=module
12017 + build_old_libs=yes
12019 + build_libtool_libs=no
12024 + # Done checking deplibs!
12025 + deplibs=$newdeplibs
12028 + # All the library-specific variables (install_libdir is set above).
12033 + # Test again, we may have decided not to build it any more
12034 + if test "$build_libtool_libs" = yes; then
12035 + if test "$hardcode_into_libs" = yes; then
12036 + # Hardcode the library paths
12037 + hardcode_libdirs=
12039 + rpath="$finalize_rpath"
12040 + test "$mode" != relink && rpath="$compile_rpath$rpath"
12041 + for libdir in $rpath; do
12042 + if test -n "$hardcode_libdir_flag_spec"; then
12043 + if test -n "$hardcode_libdir_separator"; then
12044 + if test -z "$hardcode_libdirs"; then
12045 + hardcode_libdirs="$libdir"
12047 + # Just accumulate the unique libdirs.
12048 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
12049 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
12052 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
12057 + eval flag=\"$hardcode_libdir_flag_spec\"
12058 + dep_rpath="$dep_rpath $flag"
12060 + elif test -n "$runpath_var"; then
12061 + case "$perm_rpath " in
12062 + *" $libdir "*) ;;
12063 + *) perm_rpath="$perm_rpath $libdir" ;;
12067 + # Substitute the hardcoded libdirs into the rpath.
12068 + if test -n "$hardcode_libdir_separator" &&
12069 + test -n "$hardcode_libdirs"; then
12070 + libdir="$hardcode_libdirs"
12071 + if test -n "$hardcode_libdir_flag_spec_ld"; then
12072 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
12074 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
12077 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
12078 + # We should set the runpath_var.
12080 + for dir in $perm_rpath; do
12081 + rpath="$rpath$dir:"
12083 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
12085 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
12088 + shlibpath="$finalize_shlibpath"
12089 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
12090 + if test -n "$shlibpath"; then
12091 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
12094 + # Get the real and link names of the library.
12095 + eval shared_ext=\"$shrext_cmds\"
12096 + eval library_names=\"$library_names_spec\"
12097 + set dummy $library_names
12101 + if test -n "$soname_spec"; then
12102 + eval soname=\"$soname_spec\"
12104 + soname="$realname"
12106 + if test -z "$dlname"; then
12110 + lib="$output_objdir/$realname"
12113 + linknames="$linknames $link"
12116 + # Use standard objects if they are pic
12117 + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
12119 + # Prepare the list of exported symbols
12120 + if test -z "$export_symbols"; then
12121 + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
12122 + $show "generating symbol list for \`$libname.la'"
12123 + export_symbols="$output_objdir/$libname.exp"
12124 + $run $rm $export_symbols
12125 + cmds=$export_symbols_cmds
12126 + save_ifs="$IFS"; IFS='~'
12127 + for cmd in $cmds; do
12129 + eval cmd=\"$cmd\"
12130 + if len=`expr "X$cmd" : ".*"` &&
12131 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
12133 + $run eval "$cmd" || exit $?
12134 + skipped_export=false
12136 + # The command line is too long to execute in one step.
12137 + $show "using reloadable object file for export list..."
12142 + if test -n "$export_symbols_regex"; then
12143 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
12144 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
12145 + $show "$mv \"${export_symbols}T\" \"$export_symbols\""
12146 + $run eval '$mv "${export_symbols}T" "$export_symbols"'
12151 + if test -n "$export_symbols" && test -n "$include_expsyms"; then
12152 + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
12156 + for test_deplib in $deplibs; do
12157 + case " $convenience " in
12158 + *" $test_deplib "*) ;;
12160 + tmp_deplibs="$tmp_deplibs $test_deplib"
12164 + deplibs="$tmp_deplibs"
12166 + if test -n "$convenience"; then
12167 + if test -n "$whole_archive_flag_spec"; then
12168 + save_libobjs=$libobjs
12169 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
12171 + gentop="$output_objdir/${outputname}x"
12172 + $show "${rm}r $gentop"
12173 + $run ${rm}r "$gentop"
12174 + $show "$mkdir $gentop"
12175 + $run $mkdir "$gentop"
12177 + if test "$status" -ne 0 && test ! -d "$gentop"; then
12180 + generated="$generated $gentop"
12182 + for xlib in $convenience; do
12183 + # Extract the objects.
12185 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
12186 + *) xabs=`pwd`"/$xlib" ;;
12188 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
12189 + xdir="$gentop/$xlib"
12191 + $show "${rm}r $xdir"
12192 + $run ${rm}r "$xdir"
12193 + $show "$mkdir $xdir"
12194 + $run $mkdir "$xdir"
12196 + if test "$status" -ne 0 && test ! -d "$xdir"; then
12199 + # We will extract separately just the conflicting names and we will no
12200 + # longer touch any unique names. It is faster to leave these extract
12201 + # automatically by $AR in one run.
12202 + $show "(cd $xdir && $AR x $xabs)"
12203 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
12204 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
12207 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
12208 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
12209 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
12212 + while test "$i" -le "$count"
12214 + # Put our $i before any first dot (extension)
12215 + # Never overwrite any file
12217 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
12219 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
12221 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
12222 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
12228 + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
12233 + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
12234 + eval flag=\"$thread_safe_flag_spec\"
12235 + linker_flags="$linker_flags $flag"
12238 + # Make a backup of the uninstalled library when relinking
12239 + if test "$mode" = relink; then
12240 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
12243 + # Do each of the archive commands.
12244 + if test "$module" = yes && test -n "$module_cmds" ; then
12245 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
12246 + eval test_cmds=\"$module_expsym_cmds\"
12247 + cmds=$module_expsym_cmds
12249 + eval test_cmds=\"$module_cmds\"
12250 + cmds=$module_cmds
12253 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
12254 + eval test_cmds=\"$archive_expsym_cmds\"
12255 + cmds=$archive_expsym_cmds
12257 + eval test_cmds=\"$archive_cmds\"
12258 + cmds=$archive_cmds
12262 + if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
12263 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
12266 + # The command line is too long to link in one step, link piecewise.
12267 + $echo "creating reloadable object files..."
12269 + # Save the value of $output and $libobjs because we want to
12270 + # use them later. If we have whole_archive_flag_spec, we
12271 + # want to use save_libobjs as it was before
12272 + # whole_archive_flag_spec was expanded, because we can't
12273 + # assume the linker understands whole_archive_flag_spec.
12274 + # This may have to be revisited, in case too many
12275 + # convenience libraries get linked in and end up exceeding
12277 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
12278 + save_libobjs=$libobjs
12280 + save_output=$output
12282 + # Clear the reloadable object creation command queue and
12283 + # initialize k to one.
12290 + output=$output_objdir/$save_output-${k}.$objext
12291 + # Loop over the list of objects to be linked.
12292 + for obj in $save_libobjs
12294 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
12295 + if test "X$objlist" = X ||
12296 + { len=`expr "X$test_cmds" : ".*"` &&
12297 + test "$len" -le "$max_cmd_len"; }; then
12298 + objlist="$objlist $obj"
12300 + # The command $test_cmds is almost too long, add a
12301 + # command to the queue.
12302 + if test "$k" -eq 1 ; then
12303 + # The first file doesn't have a previous command to add.
12304 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
12306 + # All subsequent reloadable object files will link in
12307 + # the last one created.
12308 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
12310 + last_robj=$output_objdir/$save_output-${k}.$objext
12312 + output=$output_objdir/$save_output-${k}.$objext
12317 + # Handle the remaining objects by creating one last
12318 + # reloadable object file. All subsequent reloadable object
12319 + # files will link in the last one created.
12320 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
12321 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
12323 + if ${skipped_export-false}; then
12324 + $show "generating symbol list for \`$libname.la'"
12325 + export_symbols="$output_objdir/$libname.exp"
12326 + $run $rm $export_symbols
12328 + # Append the command to create the export file.
12329 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
12332 + # Set up a command to remove the reloadale object files
12333 + # after they are used.
12335 + while test "$i" -lt "$k"
12338 + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
12341 + $echo "creating a temporary reloadable object file: $output"
12343 + # Loop through the commands generated above and execute them.
12344 + save_ifs="$IFS"; IFS='~'
12345 + for cmd in $concat_cmds; do
12348 + $run eval "$cmd" || exit $?
12353 + # Restore the value of output.
12354 + output=$save_output
12356 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
12357 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
12359 + # Expand the library linking commands again to reset the
12360 + # value of $libobjs for piecewise linking.
12362 + # Do each of the archive commands.
12363 + if test "$module" = yes && test -n "$module_cmds" ; then
12364 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
12365 + cmds=$module_expsym_cmds
12367 + cmds=$module_cmds
12370 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
12371 + cmds=$archive_expsym_cmds
12373 + cmds=$archive_cmds
12377 + # Append the command to remove the reloadable object files
12378 + # to the just-reset $cmds.
12379 + eval cmds=\"\$cmds~\$rm $delfiles\"
12381 + save_ifs="$IFS"; IFS='~'
12382 + for cmd in $cmds; do
12384 + eval cmd=\"$cmd\"
12386 + $run eval "$cmd" || exit $?
12390 + # Restore the uninstalled library and exit
12391 + if test "$mode" = relink; then
12392 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
12393 + exit $EXIT_SUCCESS
12396 + # Create links to the real library.
12397 + for linkname in $linknames; do
12398 + if test "$realname" != "$linkname"; then
12399 + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
12400 + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
12404 + # If -module or -export-dynamic was specified, set the dlname.
12405 + if test "$module" = yes || test "$export_dynamic" = yes; then
12406 + # On all known operating systems, these are identical.
12413 + if test -n "$deplibs"; then
12414 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
12417 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
12418 + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
12421 + if test -n "$rpath"; then
12422 + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
12425 + if test -n "$xrpath"; then
12426 + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
12429 + if test -n "$vinfo"; then
12430 + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
12433 + if test -n "$release"; then
12434 + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
12439 + if test -n "$objs$old_deplibs"; then
12440 + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
12441 + exit $EXIT_FAILURE
12444 + obj=`$echo "X$output" | $Xsed -e "$lo2o"`
12452 + # Delete the old objects.
12453 + $run $rm $obj $libobj
12455 + # Objects from convenience libraries. This assumes
12456 + # single-version convenience libraries. Whenever we create
12457 + # different ones for PIC/non-PIC, this we'll have to duplicate
12458 + # the extraction.
12459 + reload_conv_objs=
12461 + # reload_cmds runs $LD directly, so let us get rid of
12462 + # -Wl from whole_archive_flag_spec
12465 + if test -n "$convenience"; then
12466 + if test -n "$whole_archive_flag_spec"; then
12467 + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
12469 + gentop="$output_objdir/${obj}x"
12470 + $show "${rm}r $gentop"
12471 + $run ${rm}r "$gentop"
12472 + $show "$mkdir $gentop"
12473 + $run $mkdir "$gentop"
12475 + if test "$status" -ne 0 && test ! -d "$gentop"; then
12478 + generated="$generated $gentop"
12480 + for xlib in $convenience; do
12481 + # Extract the objects.
12483 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
12484 + *) xabs=`pwd`"/$xlib" ;;
12486 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
12487 + xdir="$gentop/$xlib"
12489 + $show "${rm}r $xdir"
12490 + $run ${rm}r "$xdir"
12491 + $show "$mkdir $xdir"
12492 + $run $mkdir "$xdir"
12494 + if test "$status" -ne 0 && test ! -d "$xdir"; then
12497 + # We will extract separately just the conflicting names and we will no
12498 + # longer touch any unique names. It is faster to leave these extract
12499 + # automatically by $AR in one run.
12500 + $show "(cd $xdir && $AR x $xabs)"
12501 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
12502 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
12505 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
12506 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
12507 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
12510 + while test "$i" -le "$count"
12512 + # Put our $i before any first dot (extension)
12513 + # Never overwrite any file
12515 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
12517 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
12519 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
12520 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
12526 + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
12531 + # Create the old-style object.
12532 + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
12535 + cmds=$reload_cmds
12536 + save_ifs="$IFS"; IFS='~'
12537 + for cmd in $cmds; do
12539 + eval cmd=\"$cmd\"
12541 + $run eval "$cmd" || exit $?
12545 + # Exit if we aren't doing a library object file.
12546 + if test -z "$libobj"; then
12547 + if test -n "$gentop"; then
12548 + $show "${rm}r $gentop"
12549 + $run ${rm}r $gentop
12552 + exit $EXIT_SUCCESS
12555 + if test "$build_libtool_libs" != yes; then
12556 + if test -n "$gentop"; then
12557 + $show "${rm}r $gentop"
12558 + $run ${rm}r $gentop
12561 + # Create an invalid libtool object if no PIC, so that we don't
12562 + # accidentally link it into a program.
12563 + # $show "echo timestamp > $libobj"
12564 + # $run eval "echo timestamp > $libobj" || exit $?
12565 + exit $EXIT_SUCCESS
12568 + if test -n "$pic_flag" || test "$pic_mode" != default; then
12569 + # Only do commands if we really have different PIC objects.
12570 + reload_objs="$libobjs $reload_conv_objs"
12572 + cmds=$reload_cmds
12573 + save_ifs="$IFS"; IFS='~'
12574 + for cmd in $cmds; do
12576 + eval cmd=\"$cmd\"
12578 + $run eval "$cmd" || exit $?
12583 + if test -n "$gentop"; then
12584 + $show "${rm}r $gentop"
12585 + $run ${rm}r $gentop
12588 + exit $EXIT_SUCCESS
12593 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
12595 + if test -n "$vinfo"; then
12596 + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
12599 + if test -n "$release"; then
12600 + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
12603 + if test "$preload" = yes; then
12604 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
12605 + test "$dlopen_self_static" = unknown; then
12606 + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
12611 + *-*-rhapsody* | *-*-darwin1.[012])
12612 + # On Rhapsody replace the C library is the System framework
12613 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
12614 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
12620 + # Don't allow lazy linking, it breaks C++ global constructors
12621 + if test "$tagname" = CXX ; then
12622 + compile_command="$compile_command ${wl}-bind_at_load"
12623 + finalize_command="$finalize_command ${wl}-bind_at_load"
12628 + compile_command="$compile_command $compile_deplibs"
12629 + finalize_command="$finalize_command $finalize_deplibs"
12631 + if test -n "$rpath$xrpath"; then
12632 + # If the user specified any rpath flags, then add them.
12633 + for libdir in $rpath $xrpath; do
12634 + # This is the magic to use -rpath.
12635 + case "$finalize_rpath " in
12636 + *" $libdir "*) ;;
12637 + *) finalize_rpath="$finalize_rpath $libdir" ;;
12642 + # Now hardcode the library paths
12644 + hardcode_libdirs=
12645 + for libdir in $compile_rpath $finalize_rpath; do
12646 + if test -n "$hardcode_libdir_flag_spec"; then
12647 + if test -n "$hardcode_libdir_separator"; then
12648 + if test -z "$hardcode_libdirs"; then
12649 + hardcode_libdirs="$libdir"
12651 + # Just accumulate the unique libdirs.
12652 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
12653 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
12656 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
12661 + eval flag=\"$hardcode_libdir_flag_spec\"
12662 + rpath="$rpath $flag"
12664 + elif test -n "$runpath_var"; then
12665 + case "$perm_rpath " in
12666 + *" $libdir "*) ;;
12667 + *) perm_rpath="$perm_rpath $libdir" ;;
12671 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
12672 + case :$dllsearchpath: in
12673 + *":$libdir:"*) ;;
12674 + *) dllsearchpath="$dllsearchpath:$libdir";;
12679 + # Substitute the hardcoded libdirs into the rpath.
12680 + if test -n "$hardcode_libdir_separator" &&
12681 + test -n "$hardcode_libdirs"; then
12682 + libdir="$hardcode_libdirs"
12683 + eval rpath=\" $hardcode_libdir_flag_spec\"
12685 + compile_rpath="$rpath"
12688 + hardcode_libdirs=
12689 + for libdir in $finalize_rpath; do
12690 + if test -n "$hardcode_libdir_flag_spec"; then
12691 + if test -n "$hardcode_libdir_separator"; then
12692 + if test -z "$hardcode_libdirs"; then
12693 + hardcode_libdirs="$libdir"
12695 + # Just accumulate the unique libdirs.
12696 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
12697 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
12700 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
12705 + eval flag=\"$hardcode_libdir_flag_spec\"
12706 + rpath="$rpath $flag"
12708 + elif test -n "$runpath_var"; then
12709 + case "$finalize_perm_rpath " in
12710 + *" $libdir "*) ;;
12711 + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
12715 + # Substitute the hardcoded libdirs into the rpath.
12716 + if test -n "$hardcode_libdir_separator" &&
12717 + test -n "$hardcode_libdirs"; then
12718 + libdir="$hardcode_libdirs"
12719 + eval rpath=\" $hardcode_libdir_flag_spec\"
12721 + finalize_rpath="$rpath"
12723 + if test -n "$libobjs" && test "$build_old_libs" = yes; then
12724 + # Transform all the library objects into standard objects.
12725 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
12726 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
12730 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
12731 + if test -n "$NM" && test -n "$global_symbol_pipe"; then
12732 + dlsyms="${outputname}S.c"
12734 + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
12738 + if test -n "$dlsyms"; then
12742 + # Discover the nlist of each of the dlfiles.
12743 + nlist="$output_objdir/${outputname}.nm"
12745 + $show "$rm $nlist ${nlist}S ${nlist}T"
12746 + $run $rm "$nlist" "${nlist}S" "${nlist}T"
12748 + # Parse the name list into a source file.
12749 + $show "creating $output_objdir/$dlsyms"
12751 + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
12752 +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
12753 +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
12755 +#ifdef __cplusplus
12759 +/* Prevent the only kind of declaration conflicts we can make. */
12760 +#define lt_preloaded_symbols some_other_symbol
12762 +/* External symbol declarations for the compiler. */\
12765 + if test "$dlself" = yes; then
12766 + $show "generating symbol list for \`$output'"
12768 + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
12770 + # Add our own program objects to the symbol list.
12771 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
12772 + for arg in $progfiles; do
12773 + $show "extracting global C symbols from \`$arg'"
12774 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
12777 + if test -n "$exclude_expsyms"; then
12778 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
12779 + $run eval '$mv "$nlist"T "$nlist"'
12782 + if test -n "$export_symbols_regex"; then
12783 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
12784 + $run eval '$mv "$nlist"T "$nlist"'
12787 + # Prepare the list of exported symbols
12788 + if test -z "$export_symbols"; then
12789 + export_symbols="$output_objdir/$output.exp"
12790 + $run $rm $export_symbols
12791 + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
12793 + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
12794 + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
12795 + $run eval 'mv "$nlist"T "$nlist"'
12799 + for arg in $dlprefiles; do
12800 + $show "extracting global C symbols from \`$arg'"
12801 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
12802 + $run eval '$echo ": $name " >> "$nlist"'
12803 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
12806 + if test -z "$run"; then
12807 + # Make sure we have at least an empty file.
12808 + test -f "$nlist" || : > "$nlist"
12810 + if test -n "$exclude_expsyms"; then
12811 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
12812 + $mv "$nlist"T "$nlist"
12815 + # Try sorting and uniquifying the output.
12816 + if grep -v "^: " < "$nlist" |
12817 + if sort -k 3 </dev/null >/dev/null 2>&1; then
12822 + uniq > "$nlist"S; then
12825 + grep -v "^: " < "$nlist" > "$nlist"S
12828 + if test -f "$nlist"S; then
12829 + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
12831 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
12834 + $echo >> "$output_objdir/$dlsyms" "\
12836 +#undef lt_preloaded_symbols
12838 +#if defined (__STDC__) && __STDC__
12839 +# define lt_ptr void *
12841 +# define lt_ptr char *
12845 +/* The mapping between symbol names and symbols. */
12847 + const char *name;
12850 +lt_preloaded_symbols[] =
12854 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
12856 + $echo >> "$output_objdir/$dlsyms" "\
12860 +/* This works around a problem in FreeBSD linker */
12861 +#ifdef FREEBSD_WORKAROUND
12862 +static const void *lt_preloaded_setup() {
12863 + return lt_preloaded_symbols;
12867 +#ifdef __cplusplus
12873 + pic_flag_for_symtable=
12875 + # compiling the symbol table file with pic_flag works around
12876 + # a FreeBSD bug that causes programs to crash when -lm is
12877 + # linked before any other PIC object. But we must not use
12878 + # pic_flag when linking with -static. The problem exists in
12879 + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
12880 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
12881 + case "$compile_command " in
12882 + *" -static "*) ;;
12883 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
12886 + case "$compile_command " in
12887 + *" -static "*) ;;
12888 + *) pic_flag_for_symtable=" $pic_flag";;
12892 + # Now compile the dynamic symbol file.
12893 + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
12894 + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
12896 + # Clean up the generated files.
12897 + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
12898 + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
12900 + # Transform the symbol file into the correct name.
12901 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
12902 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
12905 + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
12906 + exit $EXIT_FAILURE
12910 + # We keep going just in case the user didn't refer to
12911 + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
12912 + # really was required.
12914 + # Nullify the symbol file.
12915 + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
12916 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
12919 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
12920 + # Replace the output file specification.
12921 + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
12922 + link_command="$compile_command$compile_rpath"
12924 + # We have no uninstalled library dependencies, so finalize right now.
12925 + $show "$link_command"
12926 + $run eval "$link_command"
12929 + # Delete the generated files.
12930 + if test -n "$dlsyms"; then
12931 + $show "$rm $output_objdir/${outputname}S.${objext}"
12932 + $run $rm "$output_objdir/${outputname}S.${objext}"
12938 + if test -n "$shlibpath_var"; then
12939 + # We should set the shlibpath_var
12941 + for dir in $temp_rpath; do
12943 + [\\/]* | [A-Za-z]:[\\/]*)
12945 + rpath="$rpath$dir:"
12948 + # Relative path: add a thisdir entry.
12949 + rpath="$rpath\$thisdir/$dir:"
12953 + temp_rpath="$rpath"
12956 + if test -n "$compile_shlibpath$finalize_shlibpath"; then
12957 + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
12959 + if test -n "$finalize_shlibpath"; then
12960 + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
12965 + if test -n "$runpath_var"; then
12966 + if test -n "$perm_rpath"; then
12967 + # We should set the runpath_var.
12969 + for dir in $perm_rpath; do
12970 + rpath="$rpath$dir:"
12972 + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
12974 + if test -n "$finalize_perm_rpath"; then
12975 + # We should set the runpath_var.
12977 + for dir in $finalize_perm_rpath; do
12978 + rpath="$rpath$dir:"
12980 + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
12984 + if test "$no_install" = yes; then
12985 + # We don't need to create a wrapper script.
12986 + link_command="$compile_var$compile_command$compile_rpath"
12987 + # Replace the output file specification.
12988 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
12989 + # Delete the old output file.
12991 + # Link the executable and exit
12992 + $show "$link_command"
12993 + $run eval "$link_command" || exit $?
12994 + exit $EXIT_SUCCESS
12997 + if test "$hardcode_action" = relink; then
12998 + # Fast installation is not supported
12999 + link_command="$compile_var$compile_command$compile_rpath"
13000 + relink_command="$finalize_var$finalize_command$finalize_rpath"
13002 + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
13003 + $echo "$modename: \`$output' will be relinked during installation" 1>&2
13005 + if test "$fast_install" != no; then
13006 + link_command="$finalize_var$compile_command$finalize_rpath"
13007 + if test "$fast_install" = yes; then
13008 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
13010 + # fast_install is set to needless
13014 + link_command="$compile_var$compile_command$compile_rpath"
13015 + relink_command="$finalize_var$finalize_command$finalize_rpath"
13019 + # Replace the output file specification.
13020 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
13022 + # Delete the old output files.
13023 + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
13025 + $show "$link_command"
13026 + $run eval "$link_command" || exit $?
13028 + # Now create the wrapper script.
13029 + $show "creating $output"
13031 + # Quote the relink command for shipping.
13032 + if test -n "$relink_command"; then
13033 + # Preserve any variables that may affect compiler behavior
13034 + for var in $variables_saved_for_relink; do
13035 + if eval test -z \"\${$var+set}\"; then
13036 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
13037 + elif eval var_value=\$$var; test -z "$var_value"; then
13038 + relink_command="$var=; export $var; $relink_command"
13040 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
13041 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
13044 + relink_command="(cd `pwd`; $relink_command)"
13045 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
13048 + # Quote $echo for shipping.
13049 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
13050 + case $progpath in
13051 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
13052 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
13054 + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
13056 + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
13059 + # Only actually do things if our run command is non-null.
13060 + if test -z "$run"; then
13061 + # win32 will think the script is a binary if it has
13062 + # a .exe suffix, so we strip it off here.
13064 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
13066 + # test for cygwin because mv fails w/o .exe extensions
13070 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
13074 + *cygwin* | *mingw* )
13075 + cwrappersource=`$echo ${objdir}/lt-${output}.c`
13076 + cwrapper=`$echo ${output}.exe`
13077 + $rm $cwrappersource $cwrapper
13078 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
13080 + cat > $cwrappersource <<EOF
13082 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
13083 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
13085 + The $output program cannot be directly executed until all the libtool
13086 + libraries that it depends on are installed.
13088 + This wrapper executable should never be moved out of the build directory.
13089 + If it is, it will not operate correctly.
13091 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
13092 + but could eventually absorb all of the scripts functionality and
13093 + exec $objdir/$outputname directly.
13096 + cat >> $cwrappersource<<"EOF"
13097 +#include <stdio.h>
13098 +#include <stdlib.h>
13099 +#include <unistd.h>
13100 +#include <malloc.h>
13101 +#include <stdarg.h>
13102 +#include <assert.h>
13104 +#if defined(PATH_MAX)
13105 +# define LT_PATHMAX PATH_MAX
13106 +#elif defined(MAXPATHLEN)
13107 +# define LT_PATHMAX MAXPATHLEN
13109 +# define LT_PATHMAX 1024
13112 +#ifndef DIR_SEPARATOR
13113 +#define DIR_SEPARATOR '/'
13116 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
13117 + defined (__OS2__)
13118 +#define HAVE_DOS_BASED_FILE_SYSTEM
13119 +#ifndef DIR_SEPARATOR_2
13120 +#define DIR_SEPARATOR_2 '\\'
13124 +#ifndef DIR_SEPARATOR_2
13125 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
13126 +#else /* DIR_SEPARATOR_2 */
13127 +# define IS_DIR_SEPARATOR(ch) \
13128 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
13129 +#endif /* DIR_SEPARATOR_2 */
13131 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
13132 +#define XFREE(stale) do { \
13133 + if (stale) { free ((void *) stale); stale = 0; } \
13136 +const char *program_name = NULL;
13138 +void * xmalloc (size_t num);
13139 +char * xstrdup (const char *string);
13140 +char * basename (const char *name);
13141 +char * fnqualify(const char *path);
13142 +char * strendzap(char *str, const char *pat);
13143 +void lt_fatal (const char *message, ...);
13146 +main (int argc, char *argv[])
13151 + program_name = (char *) xstrdup ((char *) basename (argv[0]));
13152 + newargz = XMALLOC(char *, argc+2);
13155 + cat >> $cwrappersource <<EOF
13156 + newargz[0] = "$SHELL";
13159 + cat >> $cwrappersource <<"EOF"
13160 + newargz[1] = fnqualify(argv[0]);
13161 + /* we know the script has the same name, without the .exe */
13162 + /* so make sure newargz[1] doesn't end in .exe */
13163 + strendzap(newargz[1],".exe");
13164 + for (i = 1; i < argc; i++)
13165 + newargz[i+1] = xstrdup(argv[i]);
13166 + newargz[argc+1] = NULL;
13169 + cat >> $cwrappersource <<EOF
13170 + execv("$SHELL",newargz);
13173 + cat >> $cwrappersource <<"EOF"
13177 +xmalloc (size_t num)
13179 + void * p = (void *) malloc (num);
13181 + lt_fatal ("Memory exhausted");
13187 +xstrdup (const char *string)
13189 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
13194 +basename (const char *name)
13196 + const char *base;
13198 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
13199 + /* Skip over the disk name in MSDOS pathnames. */
13200 + if (isalpha (name[0]) && name[1] == ':')
13204 + for (base = name; *name; name++)
13205 + if (IS_DIR_SEPARATOR (*name))
13207 + return (char *) base;
13211 +fnqualify(const char *path)
13215 + char tmp[LT_PATHMAX + 1];
13217 + assert(path != NULL);
13219 + /* Is it qualified already? */
13220 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
13221 + if (isalpha (path[0]) && path[1] == ':')
13222 + return xstrdup (path);
13224 + if (IS_DIR_SEPARATOR (path[0]))
13225 + return xstrdup (path);
13227 + /* prepend the current directory */
13228 + /* doesn't handle '~' */
13229 + if (getcwd (tmp, LT_PATHMAX) == NULL)
13230 + lt_fatal ("getcwd failed");
13231 + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
13232 + p = XMALLOC(char, size);
13233 + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
13238 +strendzap(char *str, const char *pat)
13240 + size_t len, patlen;
13242 + assert(str != NULL);
13243 + assert(pat != NULL);
13245 + len = strlen(str);
13246 + patlen = strlen(pat);
13248 + if (patlen <= len)
13250 + str += len - patlen;
13251 + if (strcmp(str, pat) == 0)
13258 +lt_error_core (int exit_status, const char * mode,
13259 + const char * message, va_list ap)
13261 + fprintf (stderr, "%s: %s: ", program_name, mode);
13262 + vfprintf (stderr, message, ap);
13263 + fprintf (stderr, ".\n");
13265 + if (exit_status >= 0)
13266 + exit (exit_status);
13270 +lt_fatal (const char *message, ...)
13273 + va_start (ap, message);
13274 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
13278 + # we should really use a build-platform specific compiler
13279 + # here, but OTOH, the wrappers (shell script and this C one)
13280 + # are only useful if you want to execute the "real" binary.
13281 + # Since the "real" binary is built for $host, then this
13282 + # wrapper might as well be built for $host, too.
13283 + $run $LTCC -s -o $cwrapper $cwrappersource
13287 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
13289 + $echo > $output "\
13292 +# $output - temporary wrapper script for $objdir/$outputname
13293 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
13295 +# The $output program cannot be directly executed until all the libtool
13296 +# libraries that it depends on are installed.
13298 +# This wrapper script should never be moved out of the build directory.
13299 +# If it is, it will not operate correctly.
13301 +# Sed substitution that helps us do robust quoting. It backslashifies
13302 +# metacharacters that are still active within double-quoted strings.
13303 +Xsed='${SED} -e 1s/^X//'
13304 +sed_quote_subst='$sed_quote_subst'
13306 +# The HP-UX ksh and POSIX shell print the target directory to stdout
13307 +# if CDPATH is set.
13308 +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
13310 +relink_command=\"$relink_command\"
13312 +# This environment variable determines our operation mode.
13313 +if test \"\$libtool_install_magic\" = \"$magic\"; then
13314 + # install mode needs the following variable:
13315 + notinst_deplibs='$notinst_deplibs'
13317 + # When we are sourced in execute mode, \$file and \$echo are already set.
13318 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
13321 + # Make sure echo works.
13322 + if test \"X\$1\" = X--no-reexec; then
13323 + # Discard the --no-reexec flag, and continue.
13325 + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
13326 + # Yippee, \$echo works!
13329 + # Restart under the correct shell, and then maybe \$echo will work.
13330 + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
13334 + $echo >> $output "\
13336 + # Find the directory that this script lives in.
13337 + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
13338 + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
13340 + # Follow symbolic links until we get to the real thisdir.
13341 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
13342 + while test -n \"\$file\"; do
13343 + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
13345 + # If there was a directory component, then change thisdir.
13346 + if test \"x\$destdir\" != \"x\$file\"; then
13347 + case \"\$destdir\" in
13348 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
13349 + *) thisdir=\"\$thisdir/\$destdir\" ;;
13353 + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
13354 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
13357 + # Try to get the absolute directory name.
13358 + absdir=\`cd \"\$thisdir\" && pwd\`
13359 + test -n \"\$absdir\" && thisdir=\"\$absdir\"
13362 + if test "$fast_install" = yes; then
13363 + $echo >> $output "\
13364 + program=lt-'$outputname'$exeext
13365 + progdir=\"\$thisdir/$objdir\"
13367 + if test ! -f \"\$progdir/\$program\" || \\
13368 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
13369 + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
13371 + file=\"\$\$-\$program\"
13373 + if test ! -d \"\$progdir\"; then
13374 + $mkdir \"\$progdir\"
13376 + $rm \"\$progdir/\$file\"
13379 + $echo >> $output "\
13381 + # relink executable if necessary
13382 + if test -n \"\$relink_command\"; then
13383 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
13385 + $echo \"\$relink_command_output\" >&2
13386 + $rm \"\$progdir/\$file\"
13387 + exit $EXIT_FAILURE
13391 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
13392 + { $rm \"\$progdir/\$program\";
13393 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
13394 + $rm \"\$progdir/\$file\"
13397 + $echo >> $output "\
13398 + program='$outputname'
13399 + progdir=\"\$thisdir/$objdir\"
13403 + $echo >> $output "\
13405 + if test -f \"\$progdir/\$program\"; then"
13407 + # Export our shlibpath_var if we have one.
13408 + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
13409 + $echo >> $output "\
13410 + # Add our own library path to $shlibpath_var
13411 + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
13413 + # Some systems cannot cope with colon-terminated $shlibpath_var
13414 + # The second colon is a workaround for a bug in BeOS R4 sed
13415 + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
13417 + export $shlibpath_var
13421 + # fixup the dll searchpath if we need to.
13422 + if test -n "$dllsearchpath"; then
13423 + $echo >> $output "\
13424 + # Add the dll search path components to the executable PATH
13425 + PATH=$dllsearchpath:\$PATH
13429 + $echo >> $output "\
13430 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
13431 + # Run the actual program with our arguments.
13434 + # Backslashes separate directories on plain windows
13435 + *-*-mingw | *-*-os2*)
13436 + $echo >> $output "\
13437 + exec \$progdir\\\\\$program \${1+\"\$@\"}
13442 + $echo >> $output "\
13443 + exec \$progdir/\$program \${1+\"\$@\"}
13447 + $echo >> $output "\
13448 + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
13449 + exit $EXIT_FAILURE
13452 + # The program doesn't exist.
13453 + \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
13454 + \$echo \"This script is just a wrapper for \$program.\" 1>&2
13455 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
13456 + exit $EXIT_FAILURE
13462 + exit $EXIT_SUCCESS
13466 + # See if we need to build an old-fashioned archive.
13467 + for oldlib in $oldlibs; do
13469 + if test "$build_libtool_libs" = convenience; then
13470 + oldobjs="$libobjs_save"
13471 + addlibs="$convenience"
13472 + build_libtool_libs=no
13474 + if test "$build_libtool_libs" = module; then
13475 + oldobjs="$libobjs_save"
13476 + build_libtool_libs=no
13478 + oldobjs="$old_deplibs $non_pic_objects"
13480 + addlibs="$old_convenience"
13483 + if test -n "$addlibs"; then
13484 + gentop="$output_objdir/${outputname}x"
13485 + $show "${rm}r $gentop"
13486 + $run ${rm}r "$gentop"
13487 + $show "$mkdir $gentop"
13488 + $run $mkdir "$gentop"
13490 + if test "$status" -ne 0 && test ! -d "$gentop"; then
13493 + generated="$generated $gentop"
13495 + # Add in members from convenience archives.
13496 + for xlib in $addlibs; do
13497 + # Extract the objects.
13499 + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
13500 + *) xabs=`pwd`"/$xlib" ;;
13502 + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
13503 + xdir="$gentop/$xlib"
13505 + $show "${rm}r $xdir"
13506 + $run ${rm}r "$xdir"
13507 + $show "$mkdir $xdir"
13508 + $run $mkdir "$xdir"
13510 + if test "$status" -ne 0 && test ! -d "$xdir"; then
13513 + # We will extract separately just the conflicting names and we will no
13514 + # longer touch any unique names. It is faster to leave these extract
13515 + # automatically by $AR in one run.
13516 + $show "(cd $xdir && $AR x $xabs)"
13517 + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
13518 + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
13521 + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
13522 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
13523 + $AR t "$xabs" | sort | uniq -cd | while read -r count name
13526 + while test "$i" -le "$count"
13528 + # Put our $i before any first dot (extension)
13529 + # Never overwrite any file
13531 + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
13533 + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
13535 + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
13536 + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
13542 + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
13546 + # Do each command in the archive commands.
13547 + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
13548 + cmds=$old_archive_from_new_cmds
13550 + eval cmds=\"$old_archive_cmds\"
13552 + if len=`expr "X$cmds" : ".*"` &&
13553 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
13554 + cmds=$old_archive_cmds
13556 + # the command line is too long to link in one step, link in parts
13557 + $echo "using piecewise archive linking..."
13558 + save_RANLIB=$RANLIB
13562 + save_oldobjs=$oldobjs
13563 + # GNU ar 2.10+ was changed to match POSIX; thus no paths are
13564 + # encoded into archives. This makes 'ar r' malfunction in
13565 + # this piecewise linking case whenever conflicting object
13566 + # names appear in distinct ar calls; check, warn and compensate.
13567 + if (for obj in $save_oldobjs
13569 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
13570 + done | sort | sort -uc >/dev/null 2>&1); then
13573 + $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
13574 + $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
13577 + # Is there a better way of finding the last object in the list?
13578 + for obj in $save_oldobjs
13582 + for obj in $save_oldobjs
13584 + oldobjs="$objlist $obj"
13585 + objlist="$objlist $obj"
13586 + eval test_cmds=\"$old_archive_cmds\"
13587 + if len=`expr "X$test_cmds" : ".*"` &&
13588 + test "$len" -le "$max_cmd_len"; then
13591 + # the above command should be used before it gets too long
13593 + if test "$obj" = "$last_oldobj" ; then
13594 + RANLIB=$save_RANLIB
13596 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
13597 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
13601 + RANLIB=$save_RANLIB
13603 + if test "X$oldobjs" = "X" ; then
13604 + eval cmds=\"\$concat_cmds\"
13606 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
13610 + save_ifs="$IFS"; IFS='~'
13611 + for cmd in $cmds; do
13612 + eval cmd=\"$cmd\"
13615 + $run eval "$cmd" || exit $?
13620 + if test -n "$generated"; then
13621 + $show "${rm}r$generated"
13622 + $run ${rm}r$generated
13625 + # Now create the libtool archive.
13629 + test "$build_old_libs" = yes && old_library="$libname.$libext"
13630 + $show "creating $output"
13632 + # Preserve any variables that may affect compiler behavior
13633 + for var in $variables_saved_for_relink; do
13634 + if eval test -z \"\${$var+set}\"; then
13635 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
13636 + elif eval var_value=\$$var; test -z "$var_value"; then
13637 + relink_command="$var=; export $var; $relink_command"
13639 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
13640 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
13643 + # Quote the link command for shipping.
13644 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
13645 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
13646 + if test "$hardcode_automatic" = yes ; then
13651 + # Only create the output if not a dry run.
13652 + if test -z "$run"; then
13653 + for installed in no yes; do
13654 + if test "$installed" = yes; then
13655 + if test -z "$install_libdir"; then
13658 + output="$output_objdir/$outputname"i
13659 + # Replace all uninstalled libtool libraries with the installed ones
13660 + newdependency_libs=
13661 + for deplib in $dependency_libs; do
13664 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
13665 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
13666 + if test -z "$libdir"; then
13667 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
13668 + exit $EXIT_FAILURE
13670 + newdependency_libs="$newdependency_libs $libdir/$name"
13672 + *) newdependency_libs="$newdependency_libs $deplib" ;;
13675 + dependency_libs="$newdependency_libs"
13677 + for lib in $dlfiles; do
13678 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
13679 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
13680 + if test -z "$libdir"; then
13681 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
13682 + exit $EXIT_FAILURE
13684 + newdlfiles="$newdlfiles $libdir/$name"
13686 + dlfiles="$newdlfiles"
13688 + for lib in $dlprefiles; do
13689 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
13690 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
13691 + if test -z "$libdir"; then
13692 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
13693 + exit $EXIT_FAILURE
13695 + newdlprefiles="$newdlprefiles $libdir/$name"
13697 + dlprefiles="$newdlprefiles"
13700 + for lib in $dlfiles; do
13702 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
13703 + *) abs=`pwd`"/$lib" ;;
13705 + newdlfiles="$newdlfiles $abs"
13707 + dlfiles="$newdlfiles"
13709 + for lib in $dlprefiles; do
13711 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
13712 + *) abs=`pwd`"/$lib" ;;
13714 + newdlprefiles="$newdlprefiles $abs"
13716 + dlprefiles="$newdlprefiles"
13719 + # place dlname in correct position for cygwin
13721 + case $host,$output,$installed,$module,$dlname in
13722 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
13724 + $echo > $output "\
13725 +# $outputname - a libtool library file
13726 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
13728 +# Please DO NOT delete this file!
13729 +# It is necessary for linking the library.
13731 +# The name that we can dlopen(3).
13734 +# Names of this library.
13735 +library_names='$library_names'
13737 +# The name of the static archive.
13738 +old_library='$old_library'
13740 +# Libraries that this one depends upon.
13741 +dependency_libs='$dependency_libs'
13743 +# Version information for $libname.
13746 +revision=$revision
13748 +# Is this an already installed library?
13749 +installed=$installed
13751 +# Should we warn about portability when linking against -modules?
13752 +shouldnotlink=$module
13754 +# Files to dlopen/dlpreopen
13756 +dlpreopen='$dlprefiles'
13758 +# Directory that this library needs to be installed in:
13759 +libdir='$install_libdir'"
13760 + if test "$installed" = no && test "$need_relink" = yes; then
13761 + $echo >> $output "\
13762 +relink_command=\"$relink_command\""
13767 + # Do a symbolic link so that the libtool archive can be found in
13768 + # LD_LIBRARY_PATH before the program is installed.
13769 + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
13770 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
13773 + exit $EXIT_SUCCESS
13776 + # libtool install mode
13778 + modename="$modename: install"
13780 + # There may be an optional sh(1) argument at the beginning of
13781 + # install_prog (especially on Windows NT).
13782 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
13783 + # Allow the use of GNU shtool's install command.
13784 + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
13785 + # Aesthetically quote it.
13786 + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
13788 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
13792 + install_prog="$arg "
13800 + # The real first argument should be the name of the installation program.
13801 + # Aesthetically quote it.
13802 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
13804 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
13808 + install_prog="$install_prog$arg"
13810 + # We need to accept at least all the BSD install flags.
13820 + if test -n "$dest"; then
13821 + files="$files $dest"
13839 + # If the previous option needed an argument, then skip it.
13840 + if test -n "$prev"; then
13849 + # Aesthetically quote the argument.
13850 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
13852 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
13856 + install_prog="$install_prog $arg"
13859 + if test -z "$install_prog"; then
13860 + $echo "$modename: you must specify an install program" 1>&2
13861 + $echo "$help" 1>&2
13862 + exit $EXIT_FAILURE
13865 + if test -n "$prev"; then
13866 + $echo "$modename: the \`$prev' option requires an argument" 1>&2
13867 + $echo "$help" 1>&2
13868 + exit $EXIT_FAILURE
13871 + if test -z "$files"; then
13872 + if test -z "$dest"; then
13873 + $echo "$modename: no file or destination specified" 1>&2
13875 + $echo "$modename: you must specify a destination" 1>&2
13877 + $echo "$help" 1>&2
13878 + exit $EXIT_FAILURE
13881 + # Strip any trailing slash from the destination.
13882 + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
13884 + # Check to see that the destination is a directory.
13885 + test -d "$dest" && isdir=yes
13886 + if test "$isdir" = yes; then
13890 + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
13891 + test "X$destdir" = "X$dest" && destdir=.
13892 + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
13894 + # Not a directory, so check to see that there is only one file specified.
13896 + if test "$#" -gt 2; then
13897 + $echo "$modename: \`$dest' is not a directory" 1>&2
13898 + $echo "$help" 1>&2
13899 + exit $EXIT_FAILURE
13903 + [\\/]* | [A-Za-z]:[\\/]*) ;;
13905 + for file in $files; do
13909 + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
13910 + $echo "$help" 1>&2
13911 + exit $EXIT_FAILURE
13918 + # This variable tells wrapper scripts just to set variables rather
13919 + # than running their programs.
13920 + libtool_install_magic="$magic"
13925 + for file in $files; do
13927 + # Do each installation.
13930 + # Do the static libraries later.
13931 + staticlibs="$staticlibs $file"
13935 + # Check to see that this really is a libtool archive.
13936 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
13938 + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
13939 + $echo "$help" 1>&2
13940 + exit $EXIT_FAILURE
13946 + # If there is no directory component, then add one.
13948 + */* | *\\*) . $file ;;
13952 + # Add the libdir to current_libdirs if it is the destination.
13953 + if test "X$destdir" = "X$libdir"; then
13954 + case "$current_libdirs " in
13955 + *" $libdir "*) ;;
13956 + *) current_libdirs="$current_libdirs $libdir" ;;
13959 + # Note the libdir as a future libdir.
13960 + case "$future_libdirs " in
13961 + *" $libdir "*) ;;
13962 + *) future_libdirs="$future_libdirs $libdir" ;;
13966 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
13967 + test "X$dir" = "X$file/" && dir=
13968 + dir="$dir$objdir"
13970 + if test -n "$relink_command"; then
13971 + # Determine the prefix the user has applied to our future dir.
13972 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
13974 + # Don't allow the user to place us outside of our expected
13975 + # location b/c this prevents finding dependent libraries that
13976 + # are installed to the same prefix.
13977 + # At present, this check doesn't affect windows .dll's that
13978 + # are installed into $libdir/../bin (currently, that works fine)
13979 + # but it's something to keep an eye on.
13980 + if test "$inst_prefix_dir" = "$destdir"; then
13981 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
13982 + exit $EXIT_FAILURE
13985 + if test -n "$inst_prefix_dir"; then
13986 + # Stick the inst_prefix_dir data into the link command.
13987 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
13989 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
13992 + $echo "$modename: warning: relinking \`$file'" 1>&2
13993 + $show "$relink_command"
13994 + if $run eval "$relink_command"; then :
13996 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
13997 + exit $EXIT_FAILURE
14001 + # See the names of the shared library.
14002 + set dummy $library_names
14003 + if test -n "$2"; then
14008 + srcname="$realname"
14009 + test -n "$relink_command" && srcname="$realname"T
14011 + # Install the shared library and build the symlinks.
14012 + $show "$install_prog $dir/$srcname $destdir/$realname"
14013 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
14014 + if test -n "$stripme" && test -n "$striplib"; then
14015 + $show "$striplib $destdir/$realname"
14016 + $run eval "$striplib $destdir/$realname" || exit $?
14019 + if test "$#" -gt 0; then
14020 + # Delete the old symlinks, and create new ones.
14023 + if test "$linkname" != "$realname"; then
14024 + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
14025 + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
14030 + # Do each command in the postinstall commands.
14031 + lib="$destdir/$realname"
14032 + cmds=$postinstall_cmds
14033 + save_ifs="$IFS"; IFS='~'
14034 + for cmd in $cmds; do
14036 + eval cmd=\"$cmd\"
14038 + $run eval "$cmd" || exit $?
14043 + # Install the pseudo-library for information purposes.
14044 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
14045 + instname="$dir/$name"i
14046 + $show "$install_prog $instname $destdir/$name"
14047 + $run eval "$install_prog $instname $destdir/$name" || exit $?
14049 + # Maybe install the static library, too.
14050 + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
14054 + # Install (i.e. copy) a libtool object.
14056 + # Figure out destination file name, if it wasn't already specified.
14057 + if test -n "$destname"; then
14058 + destfile="$destdir/$destname"
14060 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
14061 + destfile="$destdir/$destfile"
14064 + # Deduce the name of the destination old-style object file.
14065 + case $destfile in
14067 + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
14070 + staticdest="$destfile"
14074 + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
14075 + $echo "$help" 1>&2
14076 + exit $EXIT_FAILURE
14080 + # Install the libtool object if requested.
14081 + if test -n "$destfile"; then
14082 + $show "$install_prog $file $destfile"
14083 + $run eval "$install_prog $file $destfile" || exit $?
14086 + # Install the old object if enabled.
14087 + if test "$build_old_libs" = yes; then
14088 + # Deduce the name of the old-style object file.
14089 + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
14091 + $show "$install_prog $staticobj $staticdest"
14092 + $run eval "$install_prog \$staticobj \$staticdest" || exit $?
14094 + exit $EXIT_SUCCESS
14098 + # Figure out destination file name, if it wasn't already specified.
14099 + if test -n "$destname"; then
14100 + destfile="$destdir/$destname"
14102 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
14103 + destfile="$destdir/$destfile"
14106 + # If the file is missing, and there is a .exe on the end, strip it
14107 + # because it is most likely a libtool script we actually want to
14112 + if test ! -f "$file"; then
14113 + file=`$echo $file|${SED} 's,.exe$,,'`
14114 + stripped_ext=".exe"
14119 + # Do a test to see if this is really a libtool program.
14121 + *cygwin*|*mingw*)
14122 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
14128 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
14132 + # To insure that "foo" is sourced, and not "foo.exe",
14133 + # finese the cygwin/MSYS system by explicitly sourcing "foo."
14134 + # which disallows the automatic-append-.exe behavior.
14136 + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
14137 + *) wrapperdot=${wrapper} ;;
14139 + # If there is no directory component, then add one.
14141 + */* | *\\*) . ${wrapperdot} ;;
14142 + *) . ./${wrapperdot} ;;
14145 + # Check the variables that should have been set.
14146 + if test -z "$notinst_deplibs"; then
14147 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
14148 + exit $EXIT_FAILURE
14152 + for lib in $notinst_deplibs; do
14153 + # Check to see that each library is installed.
14155 + if test -f "$lib"; then
14156 + # If there is no directory component, then add one.
14158 + */* | *\\*) . $lib ;;
14162 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
14163 + if test -n "$libdir" && test ! -f "$libfile"; then
14164 + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
14170 + # To insure that "foo" is sourced, and not "foo.exe",
14171 + # finese the cygwin/MSYS system by explicitly sourcing "foo."
14172 + # which disallows the automatic-append-.exe behavior.
14174 + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
14175 + *) wrapperdot=${wrapper} ;;
14177 + # If there is no directory component, then add one.
14179 + */* | *\\*) . ${wrapperdot} ;;
14180 + *) . ./${wrapperdot} ;;
14184 + if test "$fast_install" = no && test -n "$relink_command"; then
14185 + if test "$finalize" = yes && test -z "$run"; then
14187 + test -n "$TMPDIR" && tmpdir="$TMPDIR"
14188 + tmpdir="$tmpdir/libtool-$$"
14189 + save_umask=`umask`
14191 + if $mkdir "$tmpdir"; then
14192 + umask $save_umask
14194 + umask $save_umask
14195 + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
14198 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
14199 + outputname="$tmpdir/$file"
14200 + # Replace the output file specification.
14201 + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
14203 + $show "$relink_command"
14204 + if $run eval "$relink_command"; then :
14206 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
14210 + file="$outputname"
14212 + $echo "$modename: warning: cannot relink \`$file'" 1>&2
14215 + # Install the binary that we compiled earlier.
14216 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
14220 + # remove .exe since cygwin /usr/bin/install will append another
14222 + case $install_prog,$host in
14223 + */usr/bin/install*,*cygwin*)
14224 + case $file:$destfile in
14229 + destfile=$destfile.exe
14232 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
14237 + $show "$install_prog$stripme $file $destfile"
14238 + $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
14239 + test -n "$outputname" && ${rm}r "$tmpdir"
14244 + for file in $staticlibs; do
14245 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
14247 + # Set up the ranlib parameters.
14248 + oldlib="$destdir/$name"
14250 + $show "$install_prog $file $oldlib"
14251 + $run eval "$install_prog \$file \$oldlib" || exit $?
14253 + if test -n "$stripme" && test -n "$old_striplib"; then
14254 + $show "$old_striplib $oldlib"
14255 + $run eval "$old_striplib $oldlib" || exit $?
14258 + # Do each command in the postinstall commands.
14259 + cmds=$old_postinstall_cmds
14260 + save_ifs="$IFS"; IFS='~'
14261 + for cmd in $cmds; do
14263 + eval cmd=\"$cmd\"
14265 + $run eval "$cmd" || exit $?
14270 + if test -n "$future_libdirs"; then
14271 + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
14274 + if test -n "$current_libdirs"; then
14275 + # Maybe just do a dry run.
14276 + test -n "$run" && current_libdirs=" -n$current_libdirs"
14277 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
14279 + exit $EXIT_SUCCESS
14283 + # libtool finish mode
14285 + modename="$modename: finish"
14286 + libdirs="$nonopt"
14289 + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
14292 + libdirs="$libdirs $dir"
14295 + for libdir in $libdirs; do
14296 + if test -n "$finish_cmds"; then
14297 + # Do each command in the finish commands.
14298 + cmds=$finish_cmds
14299 + save_ifs="$IFS"; IFS='~'
14300 + for cmd in $cmds; do
14302 + eval cmd=\"$cmd\"
14304 + $run eval "$cmd" || admincmds="$admincmds
14309 + if test -n "$finish_eval"; then
14310 + # Do the single finish_eval.
14311 + eval cmds=\"$finish_eval\"
14312 + $run eval "$cmds" || admincmds="$admincmds
14318 + # Exit here if they wanted silent mode.
14319 + test "$show" = : && exit $EXIT_SUCCESS
14321 + $echo "----------------------------------------------------------------------"
14322 + $echo "Libraries have been installed in:"
14323 + for libdir in $libdirs; do
14327 + $echo "If you ever happen to want to link against installed libraries"
14328 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
14329 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
14330 + $echo "flag during linking and do at least one of the following:"
14331 + if test -n "$shlibpath_var"; then
14332 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
14333 + $echo " during execution"
14335 + if test -n "$runpath_var"; then
14336 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
14337 + $echo " during linking"
14339 + if test -n "$hardcode_libdir_flag_spec"; then
14341 + eval flag=\"$hardcode_libdir_flag_spec\"
14343 + $echo " - use the \`$flag' linker flag"
14345 + if test -n "$admincmds"; then
14346 + $echo " - have your system administrator run these commands:$admincmds"
14348 + if test -f /etc/ld.so.conf; then
14349 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
14352 + $echo "See any operating system documentation about shared libraries for"
14353 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
14354 + $echo "----------------------------------------------------------------------"
14355 + exit $EXIT_SUCCESS
14358 + # libtool execute mode
14360 + modename="$modename: execute"
14362 + # The first argument is the command name.
14364 + if test -z "$cmd"; then
14365 + $echo "$modename: you must specify a COMMAND" 1>&2
14367 + exit $EXIT_FAILURE
14370 + # Handle -dlopen flags immediately.
14371 + for file in $execute_dlfiles; do
14372 + if test ! -f "$file"; then
14373 + $echo "$modename: \`$file' is not a file" 1>&2
14374 + $echo "$help" 1>&2
14375 + exit $EXIT_FAILURE
14381 + # Check to see that this really is a libtool archive.
14382 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
14384 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
14385 + $echo "$help" 1>&2
14386 + exit $EXIT_FAILURE
14389 + # Read the libtool library.
14393 + # If there is no directory component, then add one.
14395 + */* | *\\*) . $file ;;
14399 + # Skip this library if it cannot be dlopened.
14400 + if test -z "$dlname"; then
14401 + # Warn if it was a shared library.
14402 + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
14406 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
14407 + test "X$dir" = "X$file" && dir=.
14409 + if test -f "$dir/$objdir/$dlname"; then
14410 + dir="$dir/$objdir"
14412 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
14413 + exit $EXIT_FAILURE
14418 + # Just add the directory containing the .lo file.
14419 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
14420 + test "X$dir" = "X$file" && dir=.
14424 + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
14429 + # Get the absolute pathname.
14430 + absdir=`cd "$dir" && pwd`
14431 + test -n "$absdir" && dir="$absdir"
14433 + # Now add the directory to shlibpath_var.
14434 + if eval "test -z \"\$$shlibpath_var\""; then
14435 + eval "$shlibpath_var=\"\$dir\""
14437 + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
14441 + # This variable tells wrapper scripts just to set shlibpath_var
14442 + # rather than running their programs.
14443 + libtool_execute_magic="$magic"
14445 + # Check if any of the arguments is a wrapper script.
14452 + # Do a test to see if this is really a libtool program.
14453 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14454 + # If there is no directory component, then add one.
14456 + */* | *\\*) . $file ;;
14460 + # Transform arg to wrapped name.
14461 + file="$progdir/$program"
14465 + # Quote arguments (to preserve shell metacharacters).
14466 + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
14467 + args="$args \"$file\""
14470 + if test -z "$run"; then
14471 + if test -n "$shlibpath_var"; then
14472 + # Export the shlibpath_var.
14473 + eval "export $shlibpath_var"
14476 + # Restore saved environment variables
14477 + if test "${save_LC_ALL+set}" = set; then
14478 + LC_ALL="$save_LC_ALL"; export LC_ALL
14480 + if test "${save_LANG+set}" = set; then
14481 + LANG="$save_LANG"; export LANG
14484 + # Now prepare to actually exec the command.
14485 + exec_cmd="\$cmd$args"
14487 + # Display what would be done.
14488 + if test -n "$shlibpath_var"; then
14489 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
14490 + $echo "export $shlibpath_var"
14492 + $echo "$cmd$args"
14493 + exit $EXIT_SUCCESS
14497 + # libtool clean and uninstall mode
14498 + clean | uninstall)
14499 + modename="$modename: $mode"
14505 + # This variable tells wrapper scripts just to set variables rather
14506 + # than running their programs.
14507 + libtool_install_magic="$magic"
14512 + -f) rm="$rm $arg"; rmforce=yes ;;
14513 + -*) rm="$rm $arg" ;;
14514 + *) files="$files $arg" ;;
14518 + if test -z "$rm"; then
14519 + $echo "$modename: you must specify an RM program" 1>&2
14520 + $echo "$help" 1>&2
14521 + exit $EXIT_FAILURE
14526 + origobjdir="$objdir"
14527 + for file in $files; do
14528 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
14529 + if test "X$dir" = "X$file"; then
14531 + objdir="$origobjdir"
14533 + objdir="$dir/$origobjdir"
14535 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
14536 + test "$mode" = uninstall && objdir="$dir"
14538 + # Remember objdir for removal later, being careful to avoid duplicates
14539 + if test "$mode" = clean; then
14540 + case " $rmdirs " in
14541 + *" $objdir "*) ;;
14542 + *) rmdirs="$rmdirs $objdir" ;;
14546 + # Don't error if the file doesn't exist and rm -f was used.
14547 + if (test -L "$file") >/dev/null 2>&1 \
14548 + || (test -h "$file") >/dev/null 2>&1 \
14549 + || test -f "$file"; then
14551 + elif test -d "$file"; then
14554 + elif test "$rmforce" = yes; then
14562 + # Possibly a libtool archive, so verify it.
14563 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14566 + # Delete the libtool libraries and symlinks.
14567 + for n in $library_names; do
14568 + rmfiles="$rmfiles $objdir/$n"
14570 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
14571 + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
14573 + if test "$mode" = uninstall; then
14574 + if test -n "$library_names"; then
14575 + # Do each command in the postuninstall commands.
14576 + cmds=$postuninstall_cmds
14577 + save_ifs="$IFS"; IFS='~'
14578 + for cmd in $cmds; do
14580 + eval cmd=\"$cmd\"
14583 + if test "$?" -ne 0 && test "$rmforce" != yes; then
14590 + if test -n "$old_library"; then
14591 + # Do each command in the old_postuninstall commands.
14592 + cmds=$old_postuninstall_cmds
14593 + save_ifs="$IFS"; IFS='~'
14594 + for cmd in $cmds; do
14596 + eval cmd=\"$cmd\"
14599 + if test "$?" -ne 0 && test "$rmforce" != yes; then
14605 + # FIXME: should reinstall the best remaining shared library.
14611 + # Possibly a libtool object, so verify it.
14612 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14614 + # Read the .lo file
14617 + # Add PIC object to the list of files to remove.
14618 + if test -n "$pic_object" \
14619 + && test "$pic_object" != none; then
14620 + rmfiles="$rmfiles $dir/$pic_object"
14623 + # Add non-PIC object to the list of files to remove.
14624 + if test -n "$non_pic_object" \
14625 + && test "$non_pic_object" != none; then
14626 + rmfiles="$rmfiles $dir/$non_pic_object"
14632 + if test "$mode" = clean ; then
14636 + file=`$echo $file|${SED} 's,.exe$,,'`
14637 + noexename=`$echo $name|${SED} 's,.exe$,,'`
14638 + # $file with .exe has already been added to rmfiles,
14639 + # add $file without .exe
14640 + rmfiles="$rmfiles $file"
14643 + # Do a test to see if this is a libtool program.
14644 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14646 + . $dir/$noexename
14648 + # note $name still contains .exe if it was in $file originally
14649 + # as does the version of $file that was added into $rmfiles
14650 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
14651 + if test "$fast_install" = yes && test -n "$relink_command"; then
14652 + rmfiles="$rmfiles $objdir/lt-$name"
14654 + if test "X$noexename" != "X$name" ; then
14655 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
14661 + $show "$rm $rmfiles"
14662 + $run $rm $rmfiles || exit_status=1
14664 + objdir="$origobjdir"
14666 + # Try to remove the ${objdir}s in the directories where we deleted files
14667 + for dir in $rmdirs; do
14668 + if test -d "$dir"; then
14669 + $show "rmdir $dir"
14670 + $run rmdir $dir >/dev/null 2>&1
14674 + exit $exit_status
14678 + $echo "$modename: you must specify a MODE" 1>&2
14679 + $echo "$generic_help" 1>&2
14680 + exit $EXIT_FAILURE
14684 + if test -z "$exec_cmd"; then
14685 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
14686 + $echo "$generic_help" 1>&2
14687 + exit $EXIT_FAILURE
14689 +fi # test -z "$show_help"
14691 +if test -n "$exec_cmd"; then
14692 + eval exec $exec_cmd
14693 + exit $EXIT_FAILURE
14696 +# We need to display help for each of the modes.
14699 +"Usage: $modename [OPTION]... [MODE-ARG]...
14701 +Provide generalized library-building support services.
14703 + --config show all configuration variables
14704 + --debug enable verbose shell tracing
14705 +-n, --dry-run display commands without modifying any files
14706 + --features display basic configuration information and exit
14707 + --finish same as \`--mode=finish'
14708 + --help display this help message and exit
14709 + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
14710 + --quiet same as \`--silent'
14711 + --silent don't print informational messages
14712 + --tag=TAG use configuration variables from tag TAG
14713 + --version print version information
14715 +MODE must be one of the following:
14717 + clean remove files from the build directory
14718 + compile compile a source file into a libtool object
14719 + execute automatically set library path, then run a program
14720 + finish complete the installation of libtool libraries
14721 + install install libraries or executables
14722 + link create a library or an executable
14723 + uninstall remove libraries from an installed directory
14725 +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
14726 +a more detailed description of MODE.
14728 +Report bugs to <bug-libtool@gnu.org>."
14729 + exit $EXIT_SUCCESS
14734 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
14736 +Remove files from the build directory.
14738 +RM is the name of the program to use to delete files associated with each FILE
14739 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
14742 +If FILE is a libtool library, object or program, all the files associated
14743 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
14748 +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
14750 +Compile a source file into a libtool library object.
14752 +This mode accepts the following additional options:
14754 + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
14755 + -prefer-pic try to building PIC objects only
14756 + -prefer-non-pic try to building non-PIC objects only
14757 + -static always build a \`.o' file suitable for static linking
14759 +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
14760 +from the given SOURCEFILE.
14762 +The output file name is determined by removing the directory component from
14763 +SOURCEFILE, then substituting the C source code suffix \`.c' with the
14764 +library object suffix, \`.lo'."
14769 +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
14771 +Automatically set library path, then run a program.
14773 +This mode accepts the following additional options:
14775 + -dlopen FILE add the directory containing FILE to the library path
14777 +This mode sets the library path environment variable according to \`-dlopen'
14780 +If any of the ARGS are libtool executable wrappers, then they are translated
14781 +into their corresponding uninstalled binary, and any of their required library
14782 +directories are added to the library path.
14784 +Then, COMMAND is executed, with ARGS as arguments."
14789 +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
14791 +Complete the installation of libtool libraries.
14793 +Each LIBDIR is a directory that contains libtool libraries.
14795 +The commands that this mode executes may require superuser privileges. Use
14796 +the \`--dry-run' option if you just want to see what would be executed."
14801 +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
14803 +Install executables or libraries.
14805 +INSTALL-COMMAND is the installation command. The first component should be
14806 +either the \`install' or \`cp' program.
14808 +The rest of the components are interpreted as arguments to that command (only
14809 +BSD-compatible install options are recognized)."
14814 +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
14816 +Link object files or libraries together to form another library, or to
14817 +create an executable program.
14819 +LINK-COMMAND is a command using the C compiler that you would use to create
14820 +a program from several object files.
14822 +The following components of LINK-COMMAND are treated specially:
14824 + -all-static do not do any dynamic linking at all
14825 + -avoid-version do not add a version suffix if possible
14826 + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
14827 + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
14828 + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
14829 + -export-symbols SYMFILE
14830 + try to export only the symbols listed in SYMFILE
14831 + -export-symbols-regex REGEX
14832 + try to export only the symbols matching REGEX
14833 + -LLIBDIR search LIBDIR for required installed libraries
14834 + -lNAME OUTPUT-FILE requires the installed library libNAME
14835 + -module build a library that can dlopened
14836 + -no-fast-install disable the fast-install mode
14837 + -no-install link a not-installable executable
14838 + -no-undefined declare that a library does not refer to external symbols
14839 + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
14840 + -objectlist FILE Use a list of object files found in FILE to specify objects
14841 + -precious-files-regex REGEX
14842 + don't remove output files matching REGEX
14843 + -release RELEASE specify package release information
14844 + -rpath LIBDIR the created library will eventually be installed in LIBDIR
14845 + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
14846 + -static do not do any dynamic linking of libtool libraries
14847 + -version-info CURRENT[:REVISION[:AGE]]
14848 + specify library version info [each variable defaults to 0]
14850 +All other options (arguments beginning with \`-') are ignored.
14852 +Every other argument is treated as a filename. Files ending in \`.la' are
14853 +treated as uninstalled libtool libraries, other files are standard or library
14856 +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
14857 +only library objects (\`.lo' files) may be specified, and \`-rpath' is
14858 +required, except when creating a convenience library.
14860 +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
14861 +using \`ar' and \`ranlib', or on Windows using \`lib'.
14863 +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
14864 +is created, otherwise an executable program is created."
14869 +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
14871 +Remove libraries from an installation directory.
14873 +RM is the name of the program to use to delete files associated with each FILE
14874 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
14877 +If FILE is a libtool library, all the files associated with it are deleted.
14878 +Otherwise, only FILE itself is deleted using RM."
14882 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
14883 + $echo "$help" 1>&2
14884 + exit $EXIT_FAILURE
14889 +$echo "Try \`$modename --help' for more information about other modes."
14891 +exit $EXIT_SUCCESS
14893 +# The TAGs below are defined such that we never get into a situation
14894 +# in which we disable both kinds of libraries. Given conflicting
14895 +# choices, we go for a static library, that is the most portable,
14896 +# since we can't tell whether shared libraries were disabled because
14897 +# the user asked for that or because the platform doesn't support
14898 +# them. This is particularly important on AIX, because we don't
14899 +# support having both static and shared libraries enabled at the same
14900 +# time on that platform, so we default to a shared-only configuration.
14901 +# If a disable-shared tag is given, we'll fallback to a static-only
14902 +# configuration. But we'll never go from static-only to shared-only.
14904 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
14905 +build_libtool_libs=no
14906 +build_old_libs=yes
14907 +# ### END LIBTOOL TAG CONFIG: disable-shared
14909 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
14910 +build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
14911 +# ### END LIBTOOL TAG CONFIG: disable-static
14913 +# Local Variables:
14914 +# mode:shell-script
14915 +# sh-indentation:2
14917 --- agsync-0.2-pre.orig/agsync.1
14918 +++ agsync-0.2-pre/agsync.1
14922 +agsync \(em mediates a AvantGo session between an AvantGo server and an
14923 +Pocket PC connected via SynCE.
14926 +\fBagsync\fR [\fB-v\fP] [\fB-q\fP] [\fB-p \fIhost:port\fR\fP] [\fB-u \fIusername:pass\fR\fP] [\fB-s \fIhost:port\fR\fP]
14929 +This manual page documents briefly the
14930 +The \fBagsync\fR command is used to start
14931 +and control a AvantGo synchronizing session between an AvantGo server
14932 +and and Pocket PC. The Pocket PC has to be connected to the desktop via
14935 +This manual page was written for the \fBDebian\fP distribution
14936 +because the original program does not have a manual page.
14937 +Instead, it has documentation in the GNU \fBInfo\fP format; see below.
14939 +\fBagsync\fR is a program that...
14943 +options is included below.
14944 +.IP "\fB-v\fP " 10
14945 +Be verbose. Print even more information as default.
14946 +.IP "\fB-q\fP " 10
14947 +Be quiet. Don't print anything.
14948 +.IP "\fB-p host:port\fP " 10
14949 +Hostname or IP-adderess and portnumber of the HTTP-proxy.
14950 +.IP "\fB-u username:pass\fP " 10
14951 +Username and password to login into the AvantGo server.
14952 +.IP "\fB-s host:port\fP " 10
14953 +Hostname or IP-adress and portnumber of a Socks proxy.
14956 +This manual page was written by Volker Christian voc@users.sourceforge.net for
14957 +the \fBDebian\fP system (but may be used by others). Permission is
14958 +granted to copy, distribute and/or modify this document under
14959 +the terms of the GNU Free Documentation
14960 +License, Version 1.1 or any later version published by the Free
14961 +Software Foundation; with no Invariant Sections, no Front-Cover
14962 +Texts and no Back-Cover Texts.
14963 +.\" created by instant / docbook-to-man, Thu 22 Sep 2005, 20:34
14964 --- agsync-0.2-pre.orig/configure
14965 +++ agsync-0.2-pre/configure
14966 @@ -0,0 +1,21004 @@
14968 +# Guess values for system-dependent variables and create Makefiles.
14969 +# Generated by GNU Autoconf 2.59.
14971 +# Copyright (C) 2003 Free Software Foundation, Inc.
14972 +# This configure script is free software; the Free Software Foundation
14973 +# gives unlimited permission to copy, distribute and modify it.
14974 +## --------------------- ##
14975 +## M4sh Initialization. ##
14976 +## --------------------- ##
14978 +# Be Bourne compatible
14979 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14982 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14983 + # is contrary to our usage. Disable this feature.
14984 + alias -g '${1+"$@"}'='"$@"'
14985 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14988 +DUALCASE=1; export DUALCASE # for MKS sh
14990 +# Support unset when possible.
14991 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14998 +# Work around bugs in pre-3.0 UWIN ksh.
14999 +$as_unset ENV MAIL MAILPATH
15006 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15007 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15008 + LC_TELEPHONE LC_TIME
15010 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15011 + eval $as_var=C; export $as_var
15013 + $as_unset $as_var
15017 +# Required to use basename.
15018 +if expr a : '\(a\)' >/dev/null 2>&1; then
15024 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15025 + as_basename=basename
15027 + as_basename=false
15031 +# Name of the executable.
15032 +as_me=`$as_basename "$0" ||
15033 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15034 + X"$0" : 'X\(//\)$' \| \
15035 + X"$0" : 'X\(/\)$' \| \
15036 + . : '\(.\)' 2>/dev/null ||
15038 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15039 + /^X\/\(\/\/\)$/{ s//\1/; q; }
15040 + /^X\/\(\/\).*/{ s//\1/; q; }
15044 +# PATH needs CR, and LINENO needs CR and PATH.
15045 +# Avoid depending upon Character Ranges.
15046 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15047 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15048 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15049 +as_cr_digits='0123456789'
15050 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15052 +# The user is always right.
15053 +if test "${PATH_SEPARATOR+set}" != set; then
15054 + echo "#! /bin/sh" >conf$$.sh
15055 + echo "exit 0" >>conf$$.sh
15056 + chmod +x conf$$.sh
15057 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15058 + PATH_SEPARATOR=';'
15066 + as_lineno_1=$LINENO
15067 + as_lineno_2=$LINENO
15068 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15069 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15070 + test "x$as_lineno_3" = "x$as_lineno_2" || {
15071 + # Find who we are. Look in the path if we contain no path at all
15072 + # relative or not.
15074 + *[\\/]* ) as_myself=$0 ;;
15075 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15076 +for as_dir in $PATH
15079 + test -z "$as_dir" && as_dir=.
15080 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15085 + # We did not find ourselves, most probably we were run as `sh COMMAND'
15086 + # in which case we are not to be found in the path.
15087 + if test "x$as_myself" = x; then
15090 + if test ! -f "$as_myself"; then
15091 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
15092 + { (exit 1); exit 1; }; }
15094 + case $CONFIG_SHELL in
15096 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15097 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15100 + test -z "$as_dir" && as_dir=.
15101 + for as_base in sh bash ksh sh5; do
15104 + if ("$as_dir/$as_base" -c '
15105 + as_lineno_1=$LINENO
15106 + as_lineno_2=$LINENO
15107 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15108 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15109 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15110 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15111 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15112 + CONFIG_SHELL=$as_dir/$as_base
15113 + export CONFIG_SHELL
15114 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15122 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15123 + # uniformly replaced by the line number. The first 'sed' inserts a
15124 + # line-number line before each line; the second 'sed' does the real
15125 + # work. The second script uses 'N' to pair each line-number line
15126 + # with the numbered line, and appends trailing '-' during
15127 + # substitution so that $LINENO is not a special case at line end.
15128 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15129 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15130 + sed '=' <$as_myself |
15135 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15138 + s,^['$as_cr_digits']*\n,,
15139 + ' >$as_me.lineno &&
15140 + chmod +x $as_me.lineno ||
15141 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15142 + { (exit 1); exit 1; }; }
15144 + # Don't try to exec as it changes $[0], causing all sort of problems
15145 + # (the dirname of $[0] is not the place where we might find the
15146 + # original and so on. Autoconf is especially sensible to this).
15147 + . ./$as_me.lineno
15148 + # Exit status is that of the last command.
15153 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15154 + *c*,-n*) ECHO_N= ECHO_C='
15156 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15157 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15160 +if expr a : '\(a\)' >/dev/null 2>&1; then
15166 +rm -f conf$$ conf$$.exe conf$$.file
15168 +if ln -s conf$$.file conf$$ 2>/dev/null; then
15169 + # We could just check for DJGPP; but this test a) works b) is more generic
15170 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15171 + if test -f conf$$.exe; then
15172 + # Don't use ln at all; we don't have any links
15177 +elif ln conf$$.file conf$$ 2>/dev/null; then
15182 +rm -f conf$$ conf$$.exe conf$$.file
15184 +if mkdir -p . 2>/dev/null; then
15187 + test -d ./-p && rmdir ./-p
15191 +as_executable_p="test -f"
15193 +# Sed expression to map a string onto a valid CPP name.
15194 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15196 +# Sed expression to map a string onto a valid variable name.
15197 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15201 +# We need space, tab and new line, in precisely that order.
15211 +# Check that we are running under the correct shell.
15212 +SHELL=${CONFIG_SHELL-/bin/sh}
15215 +X*--fallback-echo)
15216 + # Remove one level of quotation (which was required for Make).
15217 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
15222 +if test "X$1" = X--no-reexec; then
15223 + # Discard the --no-reexec flag, and continue.
15225 +elif test "X$1" = X--fallback-echo; then
15226 + # Avoid inline document here, it may be left over
15228 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
15229 + # Yippee, $echo works!
15232 + # Restart under the correct shell.
15233 + exec $SHELL "$0" --no-reexec ${1+"$@"}
15236 +if test "X$1" = X--fallback-echo; then
15237 + # used as fallback echo
15245 +# The HP-UX ksh and POSIX shell print the target directory to stdout
15246 +# if CDPATH is set.
15247 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
15249 +if test -z "$ECHO"; then
15250 +if test "X${echo_test_string+set}" != Xset; then
15251 +# find a string as large as possible, as long as the shell can cope with it
15252 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
15253 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
15254 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
15255 + echo_test_string="`eval $cmd`" &&
15256 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
15263 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15264 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15265 + test "X$echo_testing_string" = "X$echo_test_string"; then
15268 + # The Solaris, AIX, and Digital Unix default echo programs unquote
15269 + # backslashes. This makes it impossible to quote backslashes using
15270 + # echo "$something" | sed 's/\\/\\\\/g'
15272 + # So, first we look for a working echo in the user's PATH.
15274 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15275 + for dir in $PATH /usr/ucb; do
15276 + IFS="$lt_save_ifs"
15277 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
15278 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
15279 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
15280 + test "X$echo_testing_string" = "X$echo_test_string"; then
15285 + IFS="$lt_save_ifs"
15287 + if test "X$echo" = Xecho; then
15288 + # We didn't find a better echo, so look for alternatives.
15289 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
15290 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
15291 + test "X$echo_testing_string" = "X$echo_test_string"; then
15292 + # This shell has a builtin print -r that does the trick.
15294 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
15295 + test "X$CONFIG_SHELL" != X/bin/ksh; then
15296 + # If we have ksh, try running configure again with it.
15297 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15298 + export ORIGINAL_CONFIG_SHELL
15299 + CONFIG_SHELL=/bin/ksh
15300 + export CONFIG_SHELL
15301 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
15303 + # Try using printf.
15304 + echo='printf %s\n'
15305 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15306 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15307 + test "X$echo_testing_string" = "X$echo_test_string"; then
15308 + # Cool, printf works
15310 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
15311 + test "X$echo_testing_string" = 'X\t' &&
15312 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15313 + test "X$echo_testing_string" = "X$echo_test_string"; then
15314 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
15315 + export CONFIG_SHELL
15316 + SHELL="$CONFIG_SHELL"
15318 + echo="$CONFIG_SHELL $0 --fallback-echo"
15319 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
15320 + test "X$echo_testing_string" = 'X\t' &&
15321 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15322 + test "X$echo_testing_string" = "X$echo_test_string"; then
15323 + echo="$CONFIG_SHELL $0 --fallback-echo"
15325 + # maybe with a smaller string...
15328 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
15329 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
15336 + if test "$prev" != 'sed 50q "$0"'; then
15337 + echo_test_string=`eval $prev`
15338 + export echo_test_string
15339 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
15341 + # Oops. We lost completely, so just stick with echo.
15350 +# Copy echo and quote the copy suitably for passing to libtool from
15351 +# the Makefile, instead of quoting the original, which is used later.
15353 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
15354 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
15360 +tagnames=${tagnames+${tagnames},}CXX
15362 +tagnames=${tagnames+${tagnames},}F77
15364 +# Name of the host.
15365 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
15366 +# so uname gets run too.
15367 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
15372 +# Initializations.
15374 +ac_default_prefix=/usr/local
15375 +ac_config_libobj_dir=.
15376 +cross_compiling=no
15380 +SHELL=${CONFIG_SHELL-/bin/sh}
15382 +# Maximum number of lines to put in a shell here document.
15383 +# This variable seems obsolete. It should probably be removed, and
15384 +# only ac_max_sed_lines should be used.
15385 +: ${ac_max_here_lines=38}
15387 +# Identity of this package.
15392 +PACKAGE_BUGREPORT=
15394 +ac_unique_file="configure.in"
15395 +# Factoring default headers for most tests.
15396 +ac_includes_default="\
15397 +#include <stdio.h>
15398 +#if HAVE_SYS_TYPES_H
15399 +# include <sys/types.h>
15401 +#if HAVE_SYS_STAT_H
15402 +# include <sys/stat.h>
15405 +# include <stdlib.h>
15406 +# include <stddef.h>
15408 +# if HAVE_STDLIB_H
15409 +# include <stdlib.h>
15413 +# if !STDC_HEADERS && HAVE_MEMORY_H
15414 +# include <memory.h>
15416 +# include <string.h>
15418 +#if HAVE_STRINGS_H
15419 +# include <strings.h>
15421 +#if HAVE_INTTYPES_H
15422 +# include <inttypes.h>
15424 +# if HAVE_STDINT_H
15425 +# include <stdint.h>
15429 +# include <unistd.h>
15432 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS'
15435 +# Initialize some variables set by options.
15437 +ac_init_version=false
15438 +# The variables have the same names as the options, with
15439 +# dashes changed to underlines.
15440 +cache_file=/dev/null
15445 +program_prefix=NONE
15446 +program_suffix=NONE
15447 +program_transform_name=s,x,x,
15455 +# Installation directory options.
15456 +# These are left unexpanded so users can "make install exec_prefix=/foo"
15457 +# and all the variables that are supposed to be based on exec_prefix
15458 +# by default will actually change.
15459 +# Use braces instead of parens because sh, perl, etc. also accept them.
15460 +bindir='${exec_prefix}/bin'
15461 +sbindir='${exec_prefix}/sbin'
15462 +libexecdir='${exec_prefix}/libexec'
15463 +datadir='${prefix}/share'
15464 +sysconfdir='${prefix}/etc'
15465 +sharedstatedir='${prefix}/com'
15466 +localstatedir='${prefix}/var'
15467 +libdir='${exec_prefix}/lib'
15468 +includedir='${prefix}/include'
15469 +oldincludedir='/usr/include'
15470 +infodir='${prefix}/info'
15471 +mandir='${prefix}/man'
15476 + # If the previous option needs an argument, assign it.
15477 + if test -n "$ac_prev"; then
15478 + eval "$ac_prev=\$ac_option"
15483 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
15485 + # Accept the important Cygnus configure options, so we can diagnose typos.
15487 + case $ac_option in
15489 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
15490 + ac_prev=bindir ;;
15491 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
15492 + bindir=$ac_optarg ;;
15494 + -build | --build | --buil | --bui | --bu)
15495 + ac_prev=build_alias ;;
15496 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
15497 + build_alias=$ac_optarg ;;
15499 + -cache-file | --cache-file | --cache-fil | --cache-fi \
15500 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15501 + ac_prev=cache_file ;;
15502 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15503 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15504 + cache_file=$ac_optarg ;;
15506 + --config-cache | -C)
15507 + cache_file=config.cache ;;
15509 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
15510 + ac_prev=datadir ;;
15511 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
15513 + datadir=$ac_optarg ;;
15515 + -disable-* | --disable-*)
15516 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
15517 + # Reject names that are not valid shell variable names.
15518 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15519 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
15520 + { (exit 1); exit 1; }; }
15521 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
15522 + eval "enable_$ac_feature=no" ;;
15524 + -enable-* | --enable-*)
15525 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
15526 + # Reject names that are not valid shell variable names.
15527 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15528 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
15529 + { (exit 1); exit 1; }; }
15530 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
15531 + case $ac_option in
15532 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
15533 + *) ac_optarg=yes ;;
15535 + eval "enable_$ac_feature='$ac_optarg'" ;;
15537 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
15538 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
15539 + | --exec | --exe | --ex)
15540 + ac_prev=exec_prefix ;;
15541 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
15542 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
15543 + | --exec=* | --exe=* | --ex=*)
15544 + exec_prefix=$ac_optarg ;;
15546 + -gas | --gas | --ga | --g)
15547 + # Obsolete; use --with-gas.
15550 + -help | --help | --hel | --he | -h)
15551 + ac_init_help=long ;;
15552 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
15553 + ac_init_help=recursive ;;
15554 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
15555 + ac_init_help=short ;;
15557 + -host | --host | --hos | --ho)
15558 + ac_prev=host_alias ;;
15559 + -host=* | --host=* | --hos=* | --ho=*)
15560 + host_alias=$ac_optarg ;;
15562 + -includedir | --includedir | --includedi | --included | --include \
15563 + | --includ | --inclu | --incl | --inc)
15564 + ac_prev=includedir ;;
15565 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
15566 + | --includ=* | --inclu=* | --incl=* | --inc=*)
15567 + includedir=$ac_optarg ;;
15569 + -infodir | --infodir | --infodi | --infod | --info | --inf)
15570 + ac_prev=infodir ;;
15571 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
15572 + infodir=$ac_optarg ;;
15574 + -libdir | --libdir | --libdi | --libd)
15575 + ac_prev=libdir ;;
15576 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
15577 + libdir=$ac_optarg ;;
15579 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
15580 + | --libexe | --libex | --libe)
15581 + ac_prev=libexecdir ;;
15582 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
15583 + | --libexe=* | --libex=* | --libe=*)
15584 + libexecdir=$ac_optarg ;;
15586 + -localstatedir | --localstatedir | --localstatedi | --localstated \
15587 + | --localstate | --localstat | --localsta | --localst \
15588 + | --locals | --local | --loca | --loc | --lo)
15589 + ac_prev=localstatedir ;;
15590 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
15591 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
15592 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
15593 + localstatedir=$ac_optarg ;;
15595 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
15596 + ac_prev=mandir ;;
15597 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
15598 + mandir=$ac_optarg ;;
15600 + -nfp | --nfp | --nf)
15601 + # Obsolete; use --without-fp.
15604 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
15605 + | --no-cr | --no-c | -n)
15608 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
15609 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
15610 + no_recursion=yes ;;
15612 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
15613 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
15614 + | --oldin | --oldi | --old | --ol | --o)
15615 + ac_prev=oldincludedir ;;
15616 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
15617 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
15618 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
15619 + oldincludedir=$ac_optarg ;;
15621 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15622 + ac_prev=prefix ;;
15623 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15624 + prefix=$ac_optarg ;;
15626 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
15627 + | --program-pre | --program-pr | --program-p)
15628 + ac_prev=program_prefix ;;
15629 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
15630 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
15631 + program_prefix=$ac_optarg ;;
15633 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
15634 + | --program-suf | --program-su | --program-s)
15635 + ac_prev=program_suffix ;;
15636 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
15637 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
15638 + program_suffix=$ac_optarg ;;
15640 + -program-transform-name | --program-transform-name \
15641 + | --program-transform-nam | --program-transform-na \
15642 + | --program-transform-n | --program-transform- \
15643 + | --program-transform | --program-transfor \
15644 + | --program-transfo | --program-transf \
15645 + | --program-trans | --program-tran \
15646 + | --progr-tra | --program-tr | --program-t)
15647 + ac_prev=program_transform_name ;;
15648 + -program-transform-name=* | --program-transform-name=* \
15649 + | --program-transform-nam=* | --program-transform-na=* \
15650 + | --program-transform-n=* | --program-transform-=* \
15651 + | --program-transform=* | --program-transfor=* \
15652 + | --program-transfo=* | --program-transf=* \
15653 + | --program-trans=* | --program-tran=* \
15654 + | --progr-tra=* | --program-tr=* | --program-t=*)
15655 + program_transform_name=$ac_optarg ;;
15657 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15658 + | -silent | --silent | --silen | --sile | --sil)
15661 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
15662 + ac_prev=sbindir ;;
15663 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
15664 + | --sbi=* | --sb=*)
15665 + sbindir=$ac_optarg ;;
15667 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
15668 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
15669 + | --sharedst | --shareds | --shared | --share | --shar \
15671 + ac_prev=sharedstatedir ;;
15672 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
15673 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
15674 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
15675 + | --sha=* | --sh=*)
15676 + sharedstatedir=$ac_optarg ;;
15678 + -site | --site | --sit)
15680 + -site=* | --site=* | --sit=*)
15681 + site=$ac_optarg ;;
15683 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15684 + ac_prev=srcdir ;;
15685 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15686 + srcdir=$ac_optarg ;;
15688 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
15689 + | --syscon | --sysco | --sysc | --sys | --sy)
15690 + ac_prev=sysconfdir ;;
15691 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
15692 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
15693 + sysconfdir=$ac_optarg ;;
15695 + -target | --target | --targe | --targ | --tar | --ta | --t)
15696 + ac_prev=target_alias ;;
15697 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
15698 + target_alias=$ac_optarg ;;
15700 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
15703 + -version | --version | --versio | --versi | --vers | -V)
15704 + ac_init_version=: ;;
15706 + -with-* | --with-*)
15707 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
15708 + # Reject names that are not valid shell variable names.
15709 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15710 + { echo "$as_me: error: invalid package name: $ac_package" >&2
15711 + { (exit 1); exit 1; }; }
15712 + ac_package=`echo $ac_package| sed 's/-/_/g'`
15713 + case $ac_option in
15714 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
15715 + *) ac_optarg=yes ;;
15717 + eval "with_$ac_package='$ac_optarg'" ;;
15719 + -without-* | --without-*)
15720 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
15721 + # Reject names that are not valid shell variable names.
15722 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15723 + { echo "$as_me: error: invalid package name: $ac_package" >&2
15724 + { (exit 1); exit 1; }; }
15725 + ac_package=`echo $ac_package | sed 's/-/_/g'`
15726 + eval "with_$ac_package=no" ;;
15729 + # Obsolete; use --with-x.
15732 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
15733 + | --x-incl | --x-inc | --x-in | --x-i)
15734 + ac_prev=x_includes ;;
15735 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
15736 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
15737 + x_includes=$ac_optarg ;;
15739 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
15740 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
15741 + ac_prev=x_libraries ;;
15742 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
15743 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
15744 + x_libraries=$ac_optarg ;;
15746 + -*) { echo "$as_me: error: unrecognized option: $ac_option
15747 +Try \`$0 --help' for more information." >&2
15748 + { (exit 1); exit 1; }; }
15752 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
15753 + # Reject names that are not valid shell variable names.
15754 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
15755 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
15756 + { (exit 1); exit 1; }; }
15757 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
15758 + eval "$ac_envvar='$ac_optarg'"
15759 + export $ac_envvar ;;
15762 + # FIXME: should be removed in autoconf 3.0.
15763 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
15764 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
15765 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
15766 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
15772 +if test -n "$ac_prev"; then
15773 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
15774 + { echo "$as_me: error: missing argument to $ac_option" >&2
15775 + { (exit 1); exit 1; }; }
15778 +# Be sure to have absolute paths.
15779 +for ac_var in exec_prefix prefix
15781 + eval ac_val=$`echo $ac_var`
15783 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
15784 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
15785 + { (exit 1); exit 1; }; };;
15789 +# Be sure to have absolute paths.
15790 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
15791 + localstatedir libdir includedir oldincludedir infodir mandir
15793 + eval ac_val=$`echo $ac_var`
15795 + [\\/$]* | ?:[\\/]* ) ;;
15796 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
15797 + { (exit 1); exit 1; }; };;
15801 +# There might be people who depend on the old broken behavior: `$host'
15802 +# used to hold the argument of --host etc.
15803 +# FIXME: To remove some day.
15804 +build=$build_alias
15806 +target=$target_alias
15808 +# FIXME: To remove some day.
15809 +if test "x$host_alias" != x; then
15810 + if test "x$build_alias" = x; then
15811 + cross_compiling=maybe
15812 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
15813 + If a cross compiler is detected then cross compile mode will be used." >&2
15814 + elif test "x$build_alias" != "x$host_alias"; then
15815 + cross_compiling=yes
15820 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
15822 +test "$silent" = yes && exec 6>/dev/null
15825 +# Find the source files, if location was not specified.
15826 +if test -z "$srcdir"; then
15827 + ac_srcdir_defaulted=yes
15828 + # Try the directory containing this script, then its parent.
15829 + ac_confdir=`(dirname "$0") 2>/dev/null ||
15830 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15831 + X"$0" : 'X\(//\)[^/]' \| \
15832 + X"$0" : 'X\(//\)$' \| \
15833 + X"$0" : 'X\(/\)' \| \
15834 + . : '\(.\)' 2>/dev/null ||
15836 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15837 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15838 + /^X\(\/\/\)$/{ s//\1/; q; }
15839 + /^X\(\/\).*/{ s//\1/; q; }
15841 + srcdir=$ac_confdir
15842 + if test ! -r $srcdir/$ac_unique_file; then
15846 + ac_srcdir_defaulted=no
15848 +if test ! -r $srcdir/$ac_unique_file; then
15849 + if test "$ac_srcdir_defaulted" = yes; then
15850 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
15851 + { (exit 1); exit 1; }; }
15853 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
15854 + { (exit 1); exit 1; }; }
15857 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
15858 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
15859 + { (exit 1); exit 1; }; }
15860 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
15861 +ac_env_build_alias_set=${build_alias+set}
15862 +ac_env_build_alias_value=$build_alias
15863 +ac_cv_env_build_alias_set=${build_alias+set}
15864 +ac_cv_env_build_alias_value=$build_alias
15865 +ac_env_host_alias_set=${host_alias+set}
15866 +ac_env_host_alias_value=$host_alias
15867 +ac_cv_env_host_alias_set=${host_alias+set}
15868 +ac_cv_env_host_alias_value=$host_alias
15869 +ac_env_target_alias_set=${target_alias+set}
15870 +ac_env_target_alias_value=$target_alias
15871 +ac_cv_env_target_alias_set=${target_alias+set}
15872 +ac_cv_env_target_alias_value=$target_alias
15873 +ac_env_CC_set=${CC+set}
15874 +ac_env_CC_value=$CC
15875 +ac_cv_env_CC_set=${CC+set}
15876 +ac_cv_env_CC_value=$CC
15877 +ac_env_CFLAGS_set=${CFLAGS+set}
15878 +ac_env_CFLAGS_value=$CFLAGS
15879 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
15880 +ac_cv_env_CFLAGS_value=$CFLAGS
15881 +ac_env_LDFLAGS_set=${LDFLAGS+set}
15882 +ac_env_LDFLAGS_value=$LDFLAGS
15883 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
15884 +ac_cv_env_LDFLAGS_value=$LDFLAGS
15885 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
15886 +ac_env_CPPFLAGS_value=$CPPFLAGS
15887 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
15888 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
15889 +ac_env_CPP_set=${CPP+set}
15890 +ac_env_CPP_value=$CPP
15891 +ac_cv_env_CPP_set=${CPP+set}
15892 +ac_cv_env_CPP_value=$CPP
15893 +ac_env_CXX_set=${CXX+set}
15894 +ac_env_CXX_value=$CXX
15895 +ac_cv_env_CXX_set=${CXX+set}
15896 +ac_cv_env_CXX_value=$CXX
15897 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
15898 +ac_env_CXXFLAGS_value=$CXXFLAGS
15899 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
15900 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
15901 +ac_env_CXXCPP_set=${CXXCPP+set}
15902 +ac_env_CXXCPP_value=$CXXCPP
15903 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
15904 +ac_cv_env_CXXCPP_value=$CXXCPP
15905 +ac_env_F77_set=${F77+set}
15906 +ac_env_F77_value=$F77
15907 +ac_cv_env_F77_set=${F77+set}
15908 +ac_cv_env_F77_value=$F77
15909 +ac_env_FFLAGS_set=${FFLAGS+set}
15910 +ac_env_FFLAGS_value=$FFLAGS
15911 +ac_cv_env_FFLAGS_set=${FFLAGS+set}
15912 +ac_cv_env_FFLAGS_value=$FFLAGS
15915 +# Report the --help message.
15917 +if test "$ac_init_help" = "long"; then
15918 + # Omit some internal or obsolete options to make the list less imposing.
15919 + # This message is too long to be a string in the A/UX 3.1 sh.
15921 +\`configure' configures this package to adapt to many kinds of systems.
15923 +Usage: $0 [OPTION]... [VAR=VALUE]...
15925 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
15926 +VAR=VALUE. See below for descriptions of some of the useful variables.
15928 +Defaults for the options are specified in brackets.
15931 + -h, --help display this help and exit
15932 + --help=short display options specific to this package
15933 + --help=recursive display the short help of all the included packages
15934 + -V, --version display version information and exit
15935 + -q, --quiet, --silent do not print \`checking...' messages
15936 + --cache-file=FILE cache test results in FILE [disabled]
15937 + -C, --config-cache alias for \`--cache-file=config.cache'
15938 + -n, --no-create do not create output files
15939 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
15944 +Installation directories:
15945 + --prefix=PREFIX install architecture-independent files in PREFIX
15946 + [$ac_default_prefix]
15947 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
15950 +By default, \`make install' will install all the files in
15951 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
15952 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
15953 +for instance \`--prefix=\$HOME'.
15955 +For better control, use the options below.
15957 +Fine tuning of the installation directories:
15958 + --bindir=DIR user executables [EPREFIX/bin]
15959 + --sbindir=DIR system admin executables [EPREFIX/sbin]
15960 + --libexecdir=DIR program executables [EPREFIX/libexec]
15961 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
15962 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
15963 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
15964 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
15965 + --libdir=DIR object code libraries [EPREFIX/lib]
15966 + --includedir=DIR C header files [PREFIX/include]
15967 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
15968 + --infodir=DIR info documentation [PREFIX/info]
15969 + --mandir=DIR man documentation [PREFIX/man]
15975 + --program-prefix=PREFIX prepend PREFIX to installed program names
15976 + --program-suffix=SUFFIX append SUFFIX to installed program names
15977 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
15980 + --build=BUILD configure for building on BUILD [guessed]
15981 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
15985 +if test -n "$ac_init_help"; then
15989 +Optional Features:
15990 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
15991 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
15992 + --disable-dependency-tracking Speeds up one-time builds
15993 + --enable-dependency-tracking Do not reject slow dependency extractors
15994 + --enable-shared[=PKGS]
15995 + build shared libraries [default=yes]
15996 + --enable-static[=PKGS]
15997 + build static libraries [default=yes]
15998 + --enable-fast-install[=PKGS]
15999 + optimize for fast installation [default=yes]
16000 + --disable-libtool-lock avoid locking (might break parallel builds)
16001 + --enable-maintainer-mode enable make rules and dependencies not useful
16002 + (and sometimes confusing) to the casual installer
16004 +Optional Packages:
16005 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
16006 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
16007 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
16008 + --with-pic try to use only PIC/non-PIC objects [default=use
16010 + --with-tags[=TAGS]
16011 + include additional configurations [automatic]
16012 + --with-libsynce=DIR Search for libsynce in DIR/include and DIR/lib
16013 + --with-libsynce-include=DIR
16014 + Search for libsynce header files in DIR
16015 + --with-libsynce-lib=DIR Search for libsynce library files in DIR
16016 + --with-librapi2=DIR Search for librapi2 in DIR/include and DIR/lib
16017 + --with-librapi2-include=DIR
16018 + Search for librapi2 header files in DIR
16019 + --with-librapi2-lib=DIR Search for librapi2 library files in DIR
16021 +Some influential environment variables:
16022 + CC C compiler command
16023 + CFLAGS C compiler flags
16024 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
16025 + nonstandard directory <lib dir>
16026 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
16027 + headers in a nonstandard directory <include dir>
16028 + CPP C preprocessor
16029 + CXX C++ compiler command
16030 + CXXFLAGS C++ compiler flags
16031 + CXXCPP C++ preprocessor
16032 + F77 Fortran 77 compiler command
16033 + FFLAGS Fortran 77 compiler flags
16035 +Use these variables to override the choices made by `configure' or to help
16036 +it to find libraries and programs with nonstandard names/locations.
16041 +if test "$ac_init_help" = "recursive"; then
16042 + # If there are subdirs, report their specific --help.
16044 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
16045 + test -d $ac_dir || continue
16048 +if test "$ac_dir" != .; then
16049 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16050 + # A "../" for each directory in $ac_dir_suffix.
16051 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16053 + ac_dir_suffix= ac_top_builddir=
16057 + .) # No --srcdir option. We are building in place.
16059 + if test -z "$ac_top_builddir"; then
16062 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16064 + [\\/]* | ?:[\\/]* ) # Absolute path.
16065 + ac_srcdir=$srcdir$ac_dir_suffix;
16066 + ac_top_srcdir=$srcdir ;;
16067 + *) # Relative path.
16068 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16069 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
16072 +# Do not use `cd foo && pwd` to compute absolute paths, because
16073 +# the directories may not exist.
16075 +.) ac_abs_builddir="$ac_dir";;
16077 + case "$ac_dir" in
16078 + .) ac_abs_builddir=`pwd`;;
16079 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16080 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
16083 +case $ac_abs_builddir in
16084 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
16086 + case ${ac_top_builddir}. in
16087 + .) ac_abs_top_builddir=$ac_abs_builddir;;
16088 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16089 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16092 +case $ac_abs_builddir in
16093 +.) ac_abs_srcdir=$ac_srcdir;;
16095 + case $ac_srcdir in
16096 + .) ac_abs_srcdir=$ac_abs_builddir;;
16097 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16098 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16101 +case $ac_abs_builddir in
16102 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
16104 + case $ac_top_srcdir in
16105 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
16106 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16107 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16112 + # Check for guested configure; otherwise get Cygnus style configure.
16113 + if test -f $ac_srcdir/configure.gnu; then
16115 + $SHELL $ac_srcdir/configure.gnu --help=recursive
16116 + elif test -f $ac_srcdir/configure; then
16118 + $SHELL $ac_srcdir/configure --help=recursive
16119 + elif test -f $ac_srcdir/configure.ac ||
16120 + test -f $ac_srcdir/configure.in; then
16122 + $ac_configure --help
16124 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
16130 +test -n "$ac_init_help" && exit 0
16131 +if $ac_init_version; then
16134 +Copyright (C) 2003 Free Software Foundation, Inc.
16135 +This configure script is free software; the Free Software Foundation
16136 +gives unlimited permission to copy, distribute and modify it.
16142 +This file contains any messages produced by compilers while
16143 +running configure, to aid debugging if configure makes a mistake.
16145 +It was created by $as_me, which was
16146 +generated by GNU Autoconf 2.59. Invocation command line was
16157 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
16158 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
16159 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
16160 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
16161 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
16163 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
16164 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
16166 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
16167 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
16168 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
16169 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
16170 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
16171 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
16172 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
16176 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16177 +for as_dir in $PATH
16180 + test -z "$as_dir" && as_dir=.
16181 + echo "PATH: $as_dir"
16196 +# Keep a trace of the command line.
16197 +# Strip out --no-create and --no-recursion so they do not pile up.
16198 +# Strip out --silent because we don't want to record it for future runs.
16199 +# Also quote any args containing shell meta-characters.
16200 +# Make two passes to allow for proper duplicate-argument suppression.
16201 +ac_configure_args=
16202 +ac_configure_args0=
16203 +ac_configure_args1=
16205 +ac_must_keep_next=false
16206 +for ac_pass in 1 2
16211 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
16212 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16213 + | -silent | --silent | --silen | --sile | --sil)
16215 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
16216 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16219 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
16221 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
16222 + if test $ac_must_keep_next = true; then
16223 + ac_must_keep_next=false # Got value, back to normal.
16226 + *=* | --config-cache | -C | -disable-* | --disable-* \
16227 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
16228 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
16229 + | -with-* | --with-* | -without-* | --without-* | --x)
16230 + case "$ac_configure_args0 " in
16231 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
16234 + -* ) ac_must_keep_next=true ;;
16237 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
16238 + # Get rid of the leading space.
16244 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
16245 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
16247 +# When interrupted or exit'd, cleanup temporary files, and complete
16248 +# config.log. We remove comments because anyway the quotes in there
16249 +# would cause problems or look ugly.
16250 +# WARNING: Be sure not to use single quotes in there, as some shells,
16251 +# such as our DU 5.0 friend, will then `close' the trap.
16252 +trap 'exit_status=$?
16253 + # Save into config.log some information that might help in debugging.
16258 +## ---------------- ##
16259 +## Cache variables. ##
16260 +## ---------------- ##
16263 + # The following way of writing the cache mishandles newlines in values,
16266 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
16269 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
16270 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
16274 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16281 +## ----------------- ##
16282 +## Output variables. ##
16283 +## ----------------- ##
16286 + for ac_var in $ac_subst_vars
16288 + eval ac_val=$`echo $ac_var`
16289 + echo "$ac_var='"'"'$ac_val'"'"'"
16293 + if test -n "$ac_subst_files"; then
16295 +## ------------- ##
16296 +## Output files. ##
16297 +## ------------- ##
16300 + for ac_var in $ac_subst_files
16302 + eval ac_val=$`echo $ac_var`
16303 + echo "$ac_var='"'"'$ac_val'"'"'"
16308 + if test -s confdefs.h; then
16315 + sed "/^$/d" confdefs.h | sort
16318 + test "$ac_signal" != 0 &&
16319 + echo "$as_me: caught signal $ac_signal"
16320 + echo "$as_me: exit $exit_status"
16322 + rm -f core *.core &&
16323 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
16324 + exit $exit_status
16326 +for ac_signal in 1 2 13 15; do
16327 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
16331 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
16332 +rm -rf conftest* confdefs.h
16333 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
16336 +# Predefined preprocessor variables.
16338 +cat >>confdefs.h <<_ACEOF
16339 +#define PACKAGE_NAME "$PACKAGE_NAME"
16343 +cat >>confdefs.h <<_ACEOF
16344 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16348 +cat >>confdefs.h <<_ACEOF
16349 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
16353 +cat >>confdefs.h <<_ACEOF
16354 +#define PACKAGE_STRING "$PACKAGE_STRING"
16358 +cat >>confdefs.h <<_ACEOF
16359 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16363 +# Let the site file select an alternate cache file if it wants to.
16364 +# Prefer explicitly selected file to automatically selected ones.
16365 +if test -z "$CONFIG_SITE"; then
16366 + if test "x$prefix" != xNONE; then
16367 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
16369 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
16372 +for ac_site_file in $CONFIG_SITE; do
16373 + if test -r "$ac_site_file"; then
16374 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
16375 +echo "$as_me: loading site script $ac_site_file" >&6;}
16376 + sed 's/^/| /' "$ac_site_file" >&5
16377 + . "$ac_site_file"
16381 +if test -r "$cache_file"; then
16382 + # Some versions of bash will fail to source /dev/null (special
16383 + # files actually), so we avoid doing that.
16384 + if test -f "$cache_file"; then
16385 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
16386 +echo "$as_me: loading cache $cache_file" >&6;}
16387 + case $cache_file in
16388 + [\\/]* | ?:[\\/]* ) . $cache_file;;
16389 + *) . ./$cache_file;;
16393 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
16394 +echo "$as_me: creating cache $cache_file" >&6;}
16398 +# Check that the precious variables saved in the cache have kept the same
16400 +ac_cache_corrupted=false
16401 +for ac_var in `(set) 2>&1 |
16402 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
16403 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
16404 + eval ac_new_set=\$ac_env_${ac_var}_set
16405 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
16406 + eval ac_new_val="\$ac_env_${ac_var}_value"
16407 + case $ac_old_set,$ac_new_set in
16409 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
16410 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16411 + ac_cache_corrupted=: ;;
16413 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
16414 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16415 + ac_cache_corrupted=: ;;
16418 + if test "x$ac_old_val" != "x$ac_new_val"; then
16419 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
16420 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
16421 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
16422 +echo "$as_me: former value: $ac_old_val" >&2;}
16423 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
16424 +echo "$as_me: current value: $ac_new_val" >&2;}
16425 + ac_cache_corrupted=:
16428 + # Pass precious variables to config.status.
16429 + if test "$ac_new_set" = set; then
16430 + case $ac_new_val in
16431 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
16432 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
16433 + *) ac_arg=$ac_var=$ac_new_val ;;
16435 + case " $ac_configure_args " in
16436 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
16437 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
16441 +if $ac_cache_corrupted; then
16442 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
16443 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
16444 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
16445 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
16446 + { (exit 1); exit 1; }; }
16450 +ac_cpp='$CPP $CPPFLAGS'
16451 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16452 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16453 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474 + ac_config_headers="$ac_config_headers config.h"
16476 +am__api_version="1.7"
16478 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
16479 + if test -f $ac_dir/install-sh; then
16480 + ac_aux_dir=$ac_dir
16481 + ac_install_sh="$ac_aux_dir/install-sh -c"
16483 + elif test -f $ac_dir/install.sh; then
16484 + ac_aux_dir=$ac_dir
16485 + ac_install_sh="$ac_aux_dir/install.sh -c"
16487 + elif test -f $ac_dir/shtool; then
16488 + ac_aux_dir=$ac_dir
16489 + ac_install_sh="$ac_aux_dir/shtool install -c"
16493 +if test -z "$ac_aux_dir"; then
16494 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
16495 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
16496 + { (exit 1); exit 1; }; }
16498 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
16499 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
16500 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
16502 +# Find a good install program. We prefer a C program (faster),
16503 +# so one script is as good as another. But avoid the broken or
16504 +# incompatible versions:
16505 +# SysV /etc/install, /usr/sbin/install
16506 +# SunOS /usr/etc/install
16507 +# IRIX /sbin/install
16508 +# AIX /bin/install
16509 +# AmigaOS /C/install, which installs bootblocks on floppy discs
16510 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16511 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
16512 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16513 +# OS/2's system install, which has a completely different semantic
16514 +# ./install, which can be erroneously created by make from ./install.sh.
16515 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16516 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
16517 +if test -z "$INSTALL"; then
16518 +if test "${ac_cv_path_install+set}" = set; then
16519 + echo $ECHO_N "(cached) $ECHO_C" >&6
16521 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16522 +for as_dir in $PATH
16525 + test -z "$as_dir" && as_dir=.
16526 + # Account for people who put trailing slashes in PATH elements.
16528 + ./ | .// | /cC/* | \
16529 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16530 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16533 + # OSF1 and SCO ODT 3.0 have their own names for install.
16534 + # Don't use installbsd from OSF since it installs stuff as root
16536 + for ac_prog in ginstall scoinst install; do
16537 + for ac_exec_ext in '' $ac_executable_extensions; do
16538 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
16539 + if test $ac_prog = install &&
16540 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16541 + # AIX install. It has an incompatible calling convention.
16543 + elif test $ac_prog = install &&
16544 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16545 + # program-specific install script used by HP pwplus--don't use.
16548 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16560 + if test "${ac_cv_path_install+set}" = set; then
16561 + INSTALL=$ac_cv_path_install
16563 + # As a last resort, use the slow shell script. We don't cache a
16564 + # path for INSTALL within a source directory, because that will
16565 + # break other packages using the cache if that directory is
16566 + # removed, or if the path is relative.
16567 + INSTALL=$ac_install_sh
16570 +echo "$as_me:$LINENO: result: $INSTALL" >&5
16571 +echo "${ECHO_T}$INSTALL" >&6
16573 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16574 +# It thinks the first close brace ends the variable substitution.
16575 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16577 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16579 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16581 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
16582 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
16585 +echo timestamp > conftest.file
16586 +# Do `set' in a subshell so we don't clobber the current shell's
16587 +# arguments. Must try -L first in case configure is actually a
16588 +# symlink; some systems play weird games with the mod time of symlinks
16589 +# (eg FreeBSD returns the mod time of the symlink's containing
16592 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
16593 + if test "$*" = "X"; then
16594 + # -L didn't work.
16595 + set X `ls -t $srcdir/configure conftest.file`
16597 + rm -f conftest.file
16598 + if test "$*" != "X $srcdir/configure conftest.file" \
16599 + && test "$*" != "X conftest.file $srcdir/configure"; then
16601 + # If neither matched, then we have a broken ls. This can happen
16602 + # if, for instance, CONFIG_SHELL is bash and it inherits a
16603 + # broken ls alias from the environment. This has actually
16604 + # happened. Such a system could not be considered "sane".
16605 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
16606 +alias in your environment" >&5
16607 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
16608 +alias in your environment" >&2;}
16609 + { (exit 1); exit 1; }; }
16612 + test "$2" = conftest.file
16618 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
16619 +Check your system clock" >&5
16620 +echo "$as_me: error: newly created file is older than distributed files!
16621 +Check your system clock" >&2;}
16622 + { (exit 1); exit 1; }; }
16624 +echo "$as_me:$LINENO: result: yes" >&5
16625 +echo "${ECHO_T}yes" >&6
16626 +test "$program_prefix" != NONE &&
16627 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
16628 +# Use a double $ so make ignores it.
16629 +test "$program_suffix" != NONE &&
16630 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16631 +# Double any \ or $. echo might interpret backslashes.
16632 +# By default was `s,x,x', remove it if useless.
16633 +cat <<\_ACEOF >conftest.sed
16634 +s/[\\$]/&&/g;s/;s,x,x,$//
16636 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16640 +# expand $ac_aux_dir to an absolute path
16641 +am_aux_dir=`cd $ac_aux_dir && pwd`
16643 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
16644 +# Use eval to expand $SHELL
16645 +if eval "$MISSING --run true"; then
16646 + am_missing_run="$MISSING --run "
16649 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
16650 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
16653 +for ac_prog in gawk mawk nawk awk
16655 + # Extract the first word of "$ac_prog", so it can be a program name with args.
16656 +set dummy $ac_prog; ac_word=$2
16657 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16658 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16659 +if test "${ac_cv_prog_AWK+set}" = set; then
16660 + echo $ECHO_N "(cached) $ECHO_C" >&6
16662 + if test -n "$AWK"; then
16663 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
16665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16666 +for as_dir in $PATH
16669 + test -z "$as_dir" && as_dir=.
16670 + for ac_exec_ext in '' $ac_executable_extensions; do
16671 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16672 + ac_cv_prog_AWK="$ac_prog"
16673 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16681 +AWK=$ac_cv_prog_AWK
16682 +if test -n "$AWK"; then
16683 + echo "$as_me:$LINENO: result: $AWK" >&5
16684 +echo "${ECHO_T}$AWK" >&6
16686 + echo "$as_me:$LINENO: result: no" >&5
16687 +echo "${ECHO_T}no" >&6
16690 + test -n "$AWK" && break
16693 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16694 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
16695 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
16696 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
16697 + echo $ECHO_N "(cached) $ECHO_C" >&6
16699 + cat >conftest.make <<\_ACEOF
16701 + @echo 'ac_maketemp="$(MAKE)"'
16703 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
16704 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
16705 +if test -n "$ac_maketemp"; then
16706 + eval ac_cv_prog_make_${ac_make}_set=yes
16708 + eval ac_cv_prog_make_${ac_make}_set=no
16710 +rm -f conftest.make
16712 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
16713 + echo "$as_me:$LINENO: result: yes" >&5
16714 +echo "${ECHO_T}yes" >&6
16717 + echo "$as_me:$LINENO: result: no" >&5
16718 +echo "${ECHO_T}no" >&6
16719 + SET_MAKE="MAKE=${MAKE-make}"
16722 +rm -rf .tst 2>/dev/null
16723 +mkdir .tst 2>/dev/null
16724 +if test -d .tst; then
16725 + am__leading_dot=.
16727 + am__leading_dot=_
16729 +rmdir .tst 2>/dev/null
16731 + # test to see if srcdir already configured
16732 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
16733 + test -f $srcdir/config.status; then
16734 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
16735 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
16736 + { (exit 1); exit 1; }; }
16739 +# test whether we have cygpath
16740 +if test -z "$CYGPATH_W"; then
16741 + if (cygpath --version) >/dev/null 2>/dev/null; then
16742 + CYGPATH_W='cygpath -w'
16749 +# Define the identity of the package.
16754 +cat >>confdefs.h <<_ACEOF
16755 +#define PACKAGE "$PACKAGE"
16759 +cat >>confdefs.h <<_ACEOF
16760 +#define VERSION "$VERSION"
16763 +# Some tools Automake needs.
16765 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
16768 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
16771 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
16774 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
16777 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
16780 +AMTAR=${AMTAR-"${am_missing_run}tar"}
16782 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
16784 +# Installed binaries are usually stripped using `strip' when the user
16785 +# run `make install-strip'. However `strip' might not be the right
16786 +# tool to use in cross-compilation environments, therefore Automake
16787 +# will honor the `STRIP' environment variable to overrule this program.
16788 +if test "$cross_compiling" != no; then
16789 + if test -n "$ac_tool_prefix"; then
16790 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16791 +set dummy ${ac_tool_prefix}strip; ac_word=$2
16792 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16794 +if test "${ac_cv_prog_STRIP+set}" = set; then
16795 + echo $ECHO_N "(cached) $ECHO_C" >&6
16797 + if test -n "$STRIP"; then
16798 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16800 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16801 +for as_dir in $PATH
16804 + test -z "$as_dir" && as_dir=.
16805 + for ac_exec_ext in '' $ac_executable_extensions; do
16806 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16807 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16808 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 +STRIP=$ac_cv_prog_STRIP
16817 +if test -n "$STRIP"; then
16818 + echo "$as_me:$LINENO: result: $STRIP" >&5
16819 +echo "${ECHO_T}$STRIP" >&6
16821 + echo "$as_me:$LINENO: result: no" >&5
16822 +echo "${ECHO_T}no" >&6
16826 +if test -z "$ac_cv_prog_STRIP"; then
16827 + ac_ct_STRIP=$STRIP
16828 + # Extract the first word of "strip", so it can be a program name with args.
16829 +set dummy strip; ac_word=$2
16830 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16831 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16832 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16833 + echo $ECHO_N "(cached) $ECHO_C" >&6
16835 + if test -n "$ac_ct_STRIP"; then
16836 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16838 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16839 +for as_dir in $PATH
16842 + test -z "$as_dir" && as_dir=.
16843 + for ac_exec_ext in '' $ac_executable_extensions; do
16844 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16845 + ac_cv_prog_ac_ct_STRIP="strip"
16846 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16852 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16855 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16856 +if test -n "$ac_ct_STRIP"; then
16857 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16858 +echo "${ECHO_T}$ac_ct_STRIP" >&6
16860 + echo "$as_me:$LINENO: result: no" >&5
16861 +echo "${ECHO_T}no" >&6
16864 + STRIP=$ac_ct_STRIP
16866 + STRIP="$ac_cv_prog_STRIP"
16870 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
16872 +# We need awk for the "check" target. The system "awk" is bad on
16879 +ac_cpp='$CPP $CPPFLAGS'
16880 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16881 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16882 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
16885 +ac_cpp='$CPP $CPPFLAGS'
16886 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16887 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16888 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
16889 +if test -n "$ac_tool_prefix"; then
16890 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16891 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
16892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16894 +if test "${ac_cv_prog_CC+set}" = set; then
16895 + echo $ECHO_N "(cached) $ECHO_C" >&6
16897 + if test -n "$CC"; then
16898 + ac_cv_prog_CC="$CC" # Let the user override the test.
16900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16901 +for as_dir in $PATH
16904 + test -z "$as_dir" && as_dir=.
16905 + for ac_exec_ext in '' $ac_executable_extensions; do
16906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16907 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
16908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16917 +if test -n "$CC"; then
16918 + echo "$as_me:$LINENO: result: $CC" >&5
16919 +echo "${ECHO_T}$CC" >&6
16921 + echo "$as_me:$LINENO: result: no" >&5
16922 +echo "${ECHO_T}no" >&6
16926 +if test -z "$ac_cv_prog_CC"; then
16928 + # Extract the first word of "gcc", so it can be a program name with args.
16929 +set dummy gcc; ac_word=$2
16930 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16931 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16932 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16933 + echo $ECHO_N "(cached) $ECHO_C" >&6
16935 + if test -n "$ac_ct_CC"; then
16936 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16938 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16939 +for as_dir in $PATH
16942 + test -z "$as_dir" && as_dir=.
16943 + for ac_exec_ext in '' $ac_executable_extensions; do
16944 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16945 + ac_cv_prog_ac_ct_CC="gcc"
16946 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16954 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
16955 +if test -n "$ac_ct_CC"; then
16956 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16957 +echo "${ECHO_T}$ac_ct_CC" >&6
16959 + echo "$as_me:$LINENO: result: no" >&5
16960 +echo "${ECHO_T}no" >&6
16965 + CC="$ac_cv_prog_CC"
16968 +if test -z "$CC"; then
16969 + if test -n "$ac_tool_prefix"; then
16970 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16971 +set dummy ${ac_tool_prefix}cc; ac_word=$2
16972 +echo "$as_me:$LINENO: checking for $ac_word" >&5
16973 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16974 +if test "${ac_cv_prog_CC+set}" = set; then
16975 + echo $ECHO_N "(cached) $ECHO_C" >&6
16977 + if test -n "$CC"; then
16978 + ac_cv_prog_CC="$CC" # Let the user override the test.
16980 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16981 +for as_dir in $PATH
16984 + test -z "$as_dir" && as_dir=.
16985 + for ac_exec_ext in '' $ac_executable_extensions; do
16986 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16987 + ac_cv_prog_CC="${ac_tool_prefix}cc"
16988 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16997 +if test -n "$CC"; then
16998 + echo "$as_me:$LINENO: result: $CC" >&5
16999 +echo "${ECHO_T}$CC" >&6
17001 + echo "$as_me:$LINENO: result: no" >&5
17002 +echo "${ECHO_T}no" >&6
17006 +if test -z "$ac_cv_prog_CC"; then
17008 + # Extract the first word of "cc", so it can be a program name with args.
17009 +set dummy cc; ac_word=$2
17010 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17011 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17012 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17013 + echo $ECHO_N "(cached) $ECHO_C" >&6
17015 + if test -n "$ac_ct_CC"; then
17016 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17018 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17019 +for as_dir in $PATH
17022 + test -z "$as_dir" && as_dir=.
17023 + for ac_exec_ext in '' $ac_executable_extensions; do
17024 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17025 + ac_cv_prog_ac_ct_CC="cc"
17026 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17034 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
17035 +if test -n "$ac_ct_CC"; then
17036 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
17037 +echo "${ECHO_T}$ac_ct_CC" >&6
17039 + echo "$as_me:$LINENO: result: no" >&5
17040 +echo "${ECHO_T}no" >&6
17045 + CC="$ac_cv_prog_CC"
17049 +if test -z "$CC"; then
17050 + # Extract the first word of "cc", so it can be a program name with args.
17051 +set dummy cc; ac_word=$2
17052 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17054 +if test "${ac_cv_prog_CC+set}" = set; then
17055 + echo $ECHO_N "(cached) $ECHO_C" >&6
17057 + if test -n "$CC"; then
17058 + ac_cv_prog_CC="$CC" # Let the user override the test.
17060 + ac_prog_rejected=no
17061 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17062 +for as_dir in $PATH
17065 + test -z "$as_dir" && as_dir=.
17066 + for ac_exec_ext in '' $ac_executable_extensions; do
17067 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17068 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17069 + ac_prog_rejected=yes
17072 + ac_cv_prog_CC="cc"
17073 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17079 +if test $ac_prog_rejected = yes; then
17080 + # We found a bogon in the path, so make sure we never use it.
17081 + set dummy $ac_cv_prog_CC
17083 + if test $# != 0; then
17084 + # We chose a different compiler from the bogus one.
17085 + # However, it has the same basename, so the bogon will be chosen
17086 + # first if we set CC to just the basename; use the full file name.
17088 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17094 +if test -n "$CC"; then
17095 + echo "$as_me:$LINENO: result: $CC" >&5
17096 +echo "${ECHO_T}$CC" >&6
17098 + echo "$as_me:$LINENO: result: no" >&5
17099 +echo "${ECHO_T}no" >&6
17103 +if test -z "$CC"; then
17104 + if test -n "$ac_tool_prefix"; then
17105 + for ac_prog in cl
17107 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17108 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17109 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17110 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17111 +if test "${ac_cv_prog_CC+set}" = set; then
17112 + echo $ECHO_N "(cached) $ECHO_C" >&6
17114 + if test -n "$CC"; then
17115 + ac_cv_prog_CC="$CC" # Let the user override the test.
17117 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17118 +for as_dir in $PATH
17121 + test -z "$as_dir" && as_dir=.
17122 + for ac_exec_ext in '' $ac_executable_extensions; do
17123 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17124 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17125 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17134 +if test -n "$CC"; then
17135 + echo "$as_me:$LINENO: result: $CC" >&5
17136 +echo "${ECHO_T}$CC" >&6
17138 + echo "$as_me:$LINENO: result: no" >&5
17139 +echo "${ECHO_T}no" >&6
17142 + test -n "$CC" && break
17145 +if test -z "$CC"; then
17147 + for ac_prog in cl
17149 + # Extract the first word of "$ac_prog", so it can be a program name with args.
17150 +set dummy $ac_prog; ac_word=$2
17151 +echo "$as_me:$LINENO: checking for $ac_word" >&5
17152 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17153 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17154 + echo $ECHO_N "(cached) $ECHO_C" >&6
17156 + if test -n "$ac_ct_CC"; then
17157 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17159 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17160 +for as_dir in $PATH
17163 + test -z "$as_dir" && as_dir=.
17164 + for ac_exec_ext in '' $ac_executable_extensions; do
17165 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17166 + ac_cv_prog_ac_ct_CC="$ac_prog"
17167 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17175 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
17176 +if test -n "$ac_ct_CC"; then
17177 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
17178 +echo "${ECHO_T}$ac_ct_CC" >&6
17180 + echo "$as_me:$LINENO: result: no" >&5
17181 +echo "${ECHO_T}no" >&6
17184 + test -n "$ac_ct_CC" && break
17193 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17194 +See \`config.log' for more details." >&5
17195 +echo "$as_me: error: no acceptable C compiler found in \$PATH
17196 +See \`config.log' for more details." >&2;}
17197 + { (exit 1); exit 1; }; }
17199 +# Provide some information about the compiler.
17200 +echo "$as_me:$LINENO:" \
17201 + "checking for C compiler version" >&5
17202 +ac_compiler=`set X $ac_compile; echo $2`
17203 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
17204 + (eval $ac_compiler --version </dev/null >&5) 2>&5
17206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 + (exit $ac_status); }
17208 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
17209 + (eval $ac_compiler -v </dev/null >&5) 2>&5
17211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 + (exit $ac_status); }
17213 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
17214 + (eval $ac_compiler -V </dev/null >&5) 2>&5
17216 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 + (exit $ac_status); }
17219 +cat >conftest.$ac_ext <<_ACEOF
17222 +cat confdefs.h >>conftest.$ac_ext
17223 +cat >>conftest.$ac_ext <<_ACEOF
17224 +/* end confdefs.h. */
17234 +ac_clean_files_save=$ac_clean_files
17235 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
17236 +# Try to create an executable without -o first, disregard a.out.
17237 +# It will help us diagnose broken compilers, and finding out an intuition
17239 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17240 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
17241 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17242 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
17243 + (eval $ac_link_default) 2>&5
17245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 + (exit $ac_status); }; then
17247 + # Find the output, starting from the most likely. This scheme is
17248 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
17251 +# Be careful to initialize this variable, since it used to be cached.
17252 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
17254 +# b.out is created by i960 compilers.
17255 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
17257 + test -f "$ac_file" || continue
17259 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
17261 + conftest.$ac_ext )
17262 + # This is the source file.
17265 + # We found the default executable, but exeext='' is most
17266 + # certainly right.
17269 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17270 + # FIXME: I believe we export ac_cv_exeext for Libtool,
17271 + # but it would be cool to find out if it's true. Does anybody
17272 + # maintain Libtool? --akim.
17273 + export ac_cv_exeext
17280 + echo "$as_me: failed program was:" >&5
17281 +sed 's/^/| /' conftest.$ac_ext >&5
17283 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
17284 +See \`config.log' for more details." >&5
17285 +echo "$as_me: error: C compiler cannot create executables
17286 +See \`config.log' for more details." >&2;}
17287 + { (exit 77); exit 77; }; }
17290 +ac_exeext=$ac_cv_exeext
17291 +echo "$as_me:$LINENO: result: $ac_file" >&5
17292 +echo "${ECHO_T}$ac_file" >&6
17294 +# Check the compiler produces executables we can run. If not, either
17295 +# the compiler is broken, or we cross compile.
17296 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17297 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
17298 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17299 +# If not cross compiling, check that we can run a simple program.
17300 +if test "$cross_compiling" != yes; then
17301 + if { ac_try='./$ac_file'
17302 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 + (eval $ac_try) 2>&5
17305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 + (exit $ac_status); }; }; then
17307 + cross_compiling=no
17309 + if test "$cross_compiling" = maybe; then
17310 + cross_compiling=yes
17312 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17313 +If you meant to cross compile, use \`--host'.
17314 +See \`config.log' for more details." >&5
17315 +echo "$as_me: error: cannot run C compiled programs.
17316 +If you meant to cross compile, use \`--host'.
17317 +See \`config.log' for more details." >&2;}
17318 + { (exit 1); exit 1; }; }
17322 +echo "$as_me:$LINENO: result: yes" >&5
17323 +echo "${ECHO_T}yes" >&6
17325 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
17326 +ac_clean_files=$ac_clean_files_save
17327 +# Check the compiler produces executables we can run. If not, either
17328 +# the compiler is broken, or we cross compile.
17329 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17330 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
17331 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
17332 +echo "${ECHO_T}$cross_compiling" >&6
17334 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
17335 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
17336 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17337 + (eval $ac_link) 2>&5
17339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 + (exit $ac_status); }; then
17341 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
17342 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17343 +# work properly (i.e., refer to `conftest.exe'), while it won't with
17345 +for ac_file in conftest.exe conftest conftest.*; do
17346 + test -f "$ac_file" || continue
17348 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
17349 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17350 + export ac_cv_exeext
17356 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17357 +See \`config.log' for more details." >&5
17358 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17359 +See \`config.log' for more details." >&2;}
17360 + { (exit 1); exit 1; }; }
17363 +rm -f conftest$ac_cv_exeext
17364 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17365 +echo "${ECHO_T}$ac_cv_exeext" >&6
17367 +rm -f conftest.$ac_ext
17368 +EXEEXT=$ac_cv_exeext
17370 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
17371 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
17372 +if test "${ac_cv_objext+set}" = set; then
17373 + echo $ECHO_N "(cached) $ECHO_C" >&6
17375 + cat >conftest.$ac_ext <<_ACEOF
17378 +cat confdefs.h >>conftest.$ac_ext
17379 +cat >>conftest.$ac_ext <<_ACEOF
17380 +/* end confdefs.h. */
17390 +rm -f conftest.o conftest.obj
17391 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 + (eval $ac_compile) 2>&5
17394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 + (exit $ac_status); }; then
17396 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
17398 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
17399 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17404 + echo "$as_me: failed program was:" >&5
17405 +sed 's/^/| /' conftest.$ac_ext >&5
17407 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17408 +See \`config.log' for more details." >&5
17409 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
17410 +See \`config.log' for more details." >&2;}
17411 + { (exit 1); exit 1; }; }
17414 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
17416 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17417 +echo "${ECHO_T}$ac_cv_objext" >&6
17418 +OBJEXT=$ac_cv_objext
17420 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17421 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
17422 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
17423 + echo $ECHO_N "(cached) $ECHO_C" >&6
17425 + cat >conftest.$ac_ext <<_ACEOF
17428 +cat confdefs.h >>conftest.$ac_ext
17429 +cat >>conftest.$ac_ext <<_ACEOF
17430 +/* end confdefs.h. */
17443 +rm -f conftest.$ac_objext
17444 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17445 + (eval $ac_compile) 2>conftest.er1
17447 + grep -v '^ *+' conftest.er1 >conftest.err
17448 + rm -f conftest.er1
17449 + cat conftest.err >&5
17450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 + (exit $ac_status); } &&
17452 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17453 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 + (eval $ac_try) 2>&5
17456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 + (exit $ac_status); }; } &&
17458 + { ac_try='test -s conftest.$ac_objext'
17459 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 + (eval $ac_try) 2>&5
17462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 + (exit $ac_status); }; }; then
17464 + ac_compiler_gnu=yes
17466 + echo "$as_me: failed program was:" >&5
17467 +sed 's/^/| /' conftest.$ac_ext >&5
17469 +ac_compiler_gnu=no
17471 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17472 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
17475 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17476 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
17477 +GCC=`test $ac_compiler_gnu = yes && echo yes`
17478 +ac_test_CFLAGS=${CFLAGS+set}
17479 +ac_save_CFLAGS=$CFLAGS
17481 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17482 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
17483 +if test "${ac_cv_prog_cc_g+set}" = set; then
17484 + echo $ECHO_N "(cached) $ECHO_C" >&6
17486 + cat >conftest.$ac_ext <<_ACEOF
17489 +cat confdefs.h >>conftest.$ac_ext
17490 +cat >>conftest.$ac_ext <<_ACEOF
17491 +/* end confdefs.h. */
17501 +rm -f conftest.$ac_objext
17502 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17503 + (eval $ac_compile) 2>conftest.er1
17505 + grep -v '^ *+' conftest.er1 >conftest.err
17506 + rm -f conftest.er1
17507 + cat conftest.err >&5
17508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 + (exit $ac_status); } &&
17510 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17511 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 + (eval $ac_try) 2>&5
17514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 + (exit $ac_status); }; } &&
17516 + { ac_try='test -s conftest.$ac_objext'
17517 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 + (eval $ac_try) 2>&5
17520 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 + (exit $ac_status); }; }; then
17522 + ac_cv_prog_cc_g=yes
17524 + echo "$as_me: failed program was:" >&5
17525 +sed 's/^/| /' conftest.$ac_ext >&5
17527 +ac_cv_prog_cc_g=no
17529 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17531 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17532 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17533 +if test "$ac_test_CFLAGS" = set; then
17534 + CFLAGS=$ac_save_CFLAGS
17535 +elif test $ac_cv_prog_cc_g = yes; then
17536 + if test "$GCC" = yes; then
17542 + if test "$GCC" = yes; then
17548 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
17549 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
17550 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
17551 + echo $ECHO_N "(cached) $ECHO_C" >&6
17553 + ac_cv_prog_cc_stdc=no
17555 +cat >conftest.$ac_ext <<_ACEOF
17558 +cat confdefs.h >>conftest.$ac_ext
17559 +cat >>conftest.$ac_ext <<_ACEOF
17560 +/* end confdefs.h. */
17561 +#include <stdarg.h>
17562 +#include <stdio.h>
17563 +#include <sys/types.h>
17564 +#include <sys/stat.h>
17565 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17566 +struct buf { int x; };
17567 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
17568 +static char *e (p, i)
17574 +static char *f (char * (*g) (char **, int), char **p, ...)
17579 + s = g (p, va_arg (v,int));
17584 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17585 + function prototypes and stuff, but not '\xHH' hex character constants.
17586 + These don't provoke an error unfortunately, instead are silently treated
17587 + as 'x'. The following induces an error, until -std1 is added to get
17588 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17589 + array size at least. It's necessary to write '\x00'==0 to get something
17590 + that's true only with -std1. */
17591 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17593 +int test (int i, double x);
17594 +struct s1 {int (*f) (int a);};
17595 +struct s2 {int (*f) (double a);};
17596 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17602 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17607 +# Don't try gcc -ansi; that turns off useful extensions and
17608 +# breaks some systems' header files.
17609 +# AIX -qlanglvl=ansi
17610 +# Ultrix and OSF/1 -std1
17611 +# HP-UX 10.20 and later -Ae
17612 +# HP-UX older versions -Aa -D_HPUX_SOURCE
17613 +# SVR4 -Xc -D__EXTENSIONS__
17614 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17616 + CC="$ac_save_CC $ac_arg"
17617 + rm -f conftest.$ac_objext
17618 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 + (eval $ac_compile) 2>conftest.er1
17621 + grep -v '^ *+' conftest.er1 >conftest.err
17622 + rm -f conftest.er1
17623 + cat conftest.err >&5
17624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 + (exit $ac_status); } &&
17626 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17627 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 + (eval $ac_try) 2>&5
17630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 + (exit $ac_status); }; } &&
17632 + { ac_try='test -s conftest.$ac_objext'
17633 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 + (eval $ac_try) 2>&5
17636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 + (exit $ac_status); }; }; then
17638 + ac_cv_prog_cc_stdc=$ac_arg
17641 + echo "$as_me: failed program was:" >&5
17642 +sed 's/^/| /' conftest.$ac_ext >&5
17645 +rm -f conftest.err conftest.$ac_objext
17647 +rm -f conftest.$ac_ext conftest.$ac_objext
17652 +case "x$ac_cv_prog_cc_stdc" in
17654 + echo "$as_me:$LINENO: result: none needed" >&5
17655 +echo "${ECHO_T}none needed" >&6 ;;
17657 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
17658 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
17659 + CC="$CC $ac_cv_prog_cc_stdc" ;;
17662 +# Some people use a C++ compiler to compile C. Since we use `exit',
17663 +# in C++ we need to declare it. In case someone uses the same compiler
17664 +# for both compiling C and C++ we need to have the C++ compiler decide
17665 +# the declaration of exit, since it's the most demanding environment.
17666 +cat >conftest.$ac_ext <<_ACEOF
17667 +#ifndef __cplusplus
17671 +rm -f conftest.$ac_objext
17672 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17673 + (eval $ac_compile) 2>conftest.er1
17675 + grep -v '^ *+' conftest.er1 >conftest.err
17676 + rm -f conftest.er1
17677 + cat conftest.err >&5
17678 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 + (exit $ac_status); } &&
17680 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17681 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 + (eval $ac_try) 2>&5
17684 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 + (exit $ac_status); }; } &&
17686 + { ac_try='test -s conftest.$ac_objext'
17687 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 + (eval $ac_try) 2>&5
17690 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 + (exit $ac_status); }; }; then
17692 + for ac_declaration in \
17694 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
17695 + 'extern "C" void std::exit (int); using std::exit;' \
17696 + 'extern "C" void exit (int) throw ();' \
17697 + 'extern "C" void exit (int);' \
17698 + 'void exit (int);'
17700 + cat >conftest.$ac_ext <<_ACEOF
17703 +cat confdefs.h >>conftest.$ac_ext
17704 +cat >>conftest.$ac_ext <<_ACEOF
17705 +/* end confdefs.h. */
17707 +#include <stdlib.h>
17716 +rm -f conftest.$ac_objext
17717 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 + (eval $ac_compile) 2>conftest.er1
17720 + grep -v '^ *+' conftest.er1 >conftest.err
17721 + rm -f conftest.er1
17722 + cat conftest.err >&5
17723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 + (exit $ac_status); } &&
17725 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17726 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 + (eval $ac_try) 2>&5
17729 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 + (exit $ac_status); }; } &&
17731 + { ac_try='test -s conftest.$ac_objext'
17732 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 + (eval $ac_try) 2>&5
17735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 + (exit $ac_status); }; }; then
17739 + echo "$as_me: failed program was:" >&5
17740 +sed 's/^/| /' conftest.$ac_ext >&5
17744 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17745 + cat >conftest.$ac_ext <<_ACEOF
17748 +cat confdefs.h >>conftest.$ac_ext
17749 +cat >>conftest.$ac_ext <<_ACEOF
17750 +/* end confdefs.h. */
17760 +rm -f conftest.$ac_objext
17761 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 + (eval $ac_compile) 2>conftest.er1
17764 + grep -v '^ *+' conftest.er1 >conftest.err
17765 + rm -f conftest.er1
17766 + cat conftest.err >&5
17767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 + (exit $ac_status); } &&
17769 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17770 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 + (eval $ac_try) 2>&5
17773 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 + (exit $ac_status); }; } &&
17775 + { ac_try='test -s conftest.$ac_objext'
17776 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 + (eval $ac_try) 2>&5
17779 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 + (exit $ac_status); }; }; then
17783 + echo "$as_me: failed program was:" >&5
17784 +sed 's/^/| /' conftest.$ac_ext >&5
17787 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17790 +if test -n "$ac_declaration"; then
17791 + echo '#ifdef __cplusplus' >>confdefs.h
17792 + echo $ac_declaration >>confdefs.h
17793 + echo '#endif' >>confdefs.h
17797 + echo "$as_me: failed program was:" >&5
17798 +sed 's/^/| /' conftest.$ac_ext >&5
17801 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17803 +ac_cpp='$CPP $CPPFLAGS'
17804 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17805 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17806 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
17807 +DEPDIR="${am__leading_dot}deps"
17809 + ac_config_commands="$ac_config_commands depfiles"
17812 +am_make=${MAKE-make}
17813 +cat > confinc << 'END'
17818 +# If we don't find an include directive, just comment out the code.
17819 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
17820 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
17824 +# First try GNU make style include.
17825 +echo "include confinc" > confmf
17826 +# We grep out `Entering directory' and `Leaving directory'
17827 +# messages which can occur if `w' ends up in MAKEFLAGS.
17828 +# In particular we don't look at `^make:' because GNU make might
17829 +# be invoked under some other name (usually "gmake"), in which
17830 +# case it prints its new name instead of `make'.
17831 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
17832 + am__include=include
17836 +# Now try BSD make style include.
17837 +if test "$am__include" = "#"; then
17838 + echo '.include "confinc"' > confmf
17839 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
17840 + am__include=.include
17847 +echo "$as_me:$LINENO: result: $_am_result" >&5
17848 +echo "${ECHO_T}$_am_result" >&6
17849 +rm -f confinc confmf
17851 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
17852 +if test "${enable_dependency_tracking+set}" = set; then
17853 + enableval="$enable_dependency_tracking"
17856 +if test "x$enable_dependency_tracking" != xno; then
17857 + am_depcomp="$ac_aux_dir/depcomp"
17858 + AMDEPBACKSLASH='\'
17862 +if test "x$enable_dependency_tracking" != xno; then
17873 +depcc="$CC" am_compiler_list=
17875 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
17876 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
17877 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
17878 + echo $ECHO_N "(cached) $ECHO_C" >&6
17880 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17881 + # We make a subdir and do the tests there. Otherwise we can end up
17882 + # making bogus files that we don't know about and never remove. For
17883 + # instance it was reported that on HP-UX the gcc test will end up
17884 + # making a dummy file named `D' -- because `-MD' means `put the output
17886 + mkdir conftest.dir
17887 + # Copy depcomp to subdir because otherwise we won't find it if we're
17888 + # using a relative directory.
17889 + cp "$am_depcomp" conftest.dir
17891 + # We will build objects and dependencies in a subdirectory because
17892 + # it helps to detect inapplicable dependency modes. For instance
17893 + # both Tru64's cc and ICC support -MD to output dependencies as a
17894 + # side effect of compilation, but ICC will put the dependencies in
17895 + # the current directory while Tru64 will put them in the object
17899 + am_cv_CC_dependencies_compiler_type=none
17900 + if test "$am_compiler_list" = ""; then
17901 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17903 + for depmode in $am_compiler_list; do
17904 + # Setup a source with many dependencies, because some compilers
17905 + # like to wrap large dependency lists on column 80 (with \), and
17906 + # we should not choose a depcomp mode which is confused by this.
17908 + # We need to recreate these files for each test, as the compiler may
17909 + # overwrite some of them when testing with obscure command lines.
17910 + # This happens at least with the AIX C compiler.
17911 + : > sub/conftest.c
17912 + for i in 1 2 3 4 5 6; do
17913 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
17914 + : > sub/conftst$i.h
17916 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17920 + # after this tag, mechanisms are not by side-effect, so they'll
17921 + # only be used when explicitly requested
17922 + if test "x$enable_dependency_tracking" = xyes; then
17930 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
17931 + # mode. It turns out that the SunPro C++ compiler does not properly
17932 + # handle `-M -o', and we need to detect this.
17933 + if depmode=$depmode \
17934 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
17935 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17936 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
17937 + >/dev/null 2>conftest.err &&
17938 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17939 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
17940 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17941 + # icc doesn't choke on unknown options, it will just issue warnings
17942 + # (even with -Werror). So we grep stderr for any message
17943 + # that says an option was ignored.
17944 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
17945 + am_cv_CC_dependencies_compiler_type=$depmode
17952 + rm -rf conftest.dir
17954 + am_cv_CC_dependencies_compiler_type=none
17958 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
17959 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
17960 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17965 + test "x$enable_dependency_tracking" != xno \
17966 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17967 + am__fastdepCC_TRUE=
17968 + am__fastdepCC_FALSE='#'
17970 + am__fastdepCC_TRUE='#'
17971 + am__fastdepCC_FALSE=
17975 +# Check whether --enable-shared or --disable-shared was given.
17976 +if test "${enable_shared+set}" = set; then
17977 + enableval="$enable_shared"
17978 + p=${PACKAGE-default}
17979 + case $enableval in
17980 + yes) enable_shared=yes ;;
17981 + no) enable_shared=no ;;
17984 + # Look at the argument we got. We use all the common list separators.
17985 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17986 + for pkg in $enableval; do
17987 + IFS="$lt_save_ifs"
17988 + if test "X$pkg" = "X$p"; then
17989 + enable_shared=yes
17992 + IFS="$lt_save_ifs"
17996 + enable_shared=yes
17999 +# Check whether --enable-static or --disable-static was given.
18000 +if test "${enable_static+set}" = set; then
18001 + enableval="$enable_static"
18002 + p=${PACKAGE-default}
18003 + case $enableval in
18004 + yes) enable_static=yes ;;
18005 + no) enable_static=no ;;
18008 + # Look at the argument we got. We use all the common list separators.
18009 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18010 + for pkg in $enableval; do
18011 + IFS="$lt_save_ifs"
18012 + if test "X$pkg" = "X$p"; then
18013 + enable_static=yes
18016 + IFS="$lt_save_ifs"
18020 + enable_static=yes
18023 +# Check whether --enable-fast-install or --disable-fast-install was given.
18024 +if test "${enable_fast_install+set}" = set; then
18025 + enableval="$enable_fast_install"
18026 + p=${PACKAGE-default}
18027 + case $enableval in
18028 + yes) enable_fast_install=yes ;;
18029 + no) enable_fast_install=no ;;
18031 + enable_fast_install=no
18032 + # Look at the argument we got. We use all the common list separators.
18033 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18034 + for pkg in $enableval; do
18035 + IFS="$lt_save_ifs"
18036 + if test "X$pkg" = "X$p"; then
18037 + enable_fast_install=yes
18040 + IFS="$lt_save_ifs"
18044 + enable_fast_install=yes
18047 +# Make sure we can run config.sub.
18048 +$ac_config_sub sun4 >/dev/null 2>&1 ||
18049 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
18050 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
18051 + { (exit 1); exit 1; }; }
18053 +echo "$as_me:$LINENO: checking build system type" >&5
18054 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
18055 +if test "${ac_cv_build+set}" = set; then
18056 + echo $ECHO_N "(cached) $ECHO_C" >&6
18058 + ac_cv_build_alias=$build_alias
18059 +test -z "$ac_cv_build_alias" &&
18060 + ac_cv_build_alias=`$ac_config_guess`
18061 +test -z "$ac_cv_build_alias" &&
18062 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
18063 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
18064 + { (exit 1); exit 1; }; }
18065 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
18066 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
18067 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
18068 + { (exit 1); exit 1; }; }
18071 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
18072 +echo "${ECHO_T}$ac_cv_build" >&6
18073 +build=$ac_cv_build
18074 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
18075 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
18076 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
18079 +echo "$as_me:$LINENO: checking host system type" >&5
18080 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
18081 +if test "${ac_cv_host+set}" = set; then
18082 + echo $ECHO_N "(cached) $ECHO_C" >&6
18084 + ac_cv_host_alias=$host_alias
18085 +test -z "$ac_cv_host_alias" &&
18086 + ac_cv_host_alias=$ac_cv_build_alias
18087 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
18088 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
18089 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
18090 + { (exit 1); exit 1; }; }
18093 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
18094 +echo "${ECHO_T}$ac_cv_host" >&6
18096 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
18097 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
18098 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
18101 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
18102 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
18103 +if test "${lt_cv_path_SED+set}" = set; then
18104 + echo $ECHO_N "(cached) $ECHO_C" >&6
18106 + # Loop through the user's path and test for sed and gsed.
18107 +# Then use that list of sed's as ones to test for truncation.
18108 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18109 +for as_dir in $PATH
18112 + test -z "$as_dir" && as_dir=.
18113 + for lt_ac_prog in sed gsed; do
18114 + for ac_exec_ext in '' $ac_executable_extensions; do
18115 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
18116 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
18123 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
18124 +# along with /bin/sed that truncates output.
18125 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
18126 + test ! -f $lt_ac_sed && break
18127 + cat /dev/null > conftest.in
18129 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
18130 + # Check for GNU sed and select it if it is found.
18131 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
18132 + lt_cv_path_SED=$lt_ac_sed
18136 + cat conftest.in conftest.in >conftest.tmp
18137 + mv conftest.tmp conftest.in
18138 + cp conftest.in conftest.nl
18139 + echo >>conftest.nl
18140 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
18141 + cmp -s conftest.out conftest.nl || break
18142 + # 10000 chars as input seems more than enough
18143 + test $lt_ac_count -gt 10 && break
18144 + lt_ac_count=`expr $lt_ac_count + 1`
18145 + if test $lt_ac_count -gt $lt_ac_max; then
18146 + lt_ac_max=$lt_ac_count
18147 + lt_cv_path_SED=$lt_ac_sed
18151 +SED=$lt_cv_path_SED
18155 +echo "$as_me:$LINENO: result: $SED" >&5
18156 +echo "${ECHO_T}$SED" >&6
18158 +echo "$as_me:$LINENO: checking for egrep" >&5
18159 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
18160 +if test "${ac_cv_prog_egrep+set}" = set; then
18161 + echo $ECHO_N "(cached) $ECHO_C" >&6
18163 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
18164 + then ac_cv_prog_egrep='grep -E'
18165 + else ac_cv_prog_egrep='egrep'
18168 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
18169 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
18170 + EGREP=$ac_cv_prog_egrep
18174 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
18175 +if test "${with_gnu_ld+set}" = set; then
18176 + withval="$with_gnu_ld"
18177 + test "$withval" = no || with_gnu_ld=yes
18182 +if test "$GCC" = yes; then
18183 + # Check if gcc -print-prog-name=ld gives a path.
18184 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18185 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18188 + # gcc leaves a trailing carriage return which upsets mingw
18189 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18191 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18194 + # Accept absolute paths.
18195 + [\\/]* | ?:[\\/]*)
18196 + re_direlt='/[^/][^/]*/\.\./'
18197 + # Canonicalize the pathname of ld
18198 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18199 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18200 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18202 + test -z "$LD" && LD="$ac_prog"
18205 + # If it fails, then pretend we aren't using GCC.
18209 + # If it is relative, then search for the first ld in PATH.
18210 + with_gnu_ld=unknown
18213 +elif test "$with_gnu_ld" = yes; then
18214 + echo "$as_me:$LINENO: checking for GNU ld" >&5
18215 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18217 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18218 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18220 +if test "${lt_cv_path_LD+set}" = set; then
18221 + echo $ECHO_N "(cached) $ECHO_C" >&6
18223 + if test -z "$LD"; then
18224 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18225 + for ac_dir in $PATH; do
18226 + IFS="$lt_save_ifs"
18227 + test -z "$ac_dir" && ac_dir=.
18228 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18229 + lt_cv_path_LD="$ac_dir/$ac_prog"
18230 + # Check to see if the program is GNU ld. I'd rather use --version,
18231 + # but apparently some GNU ld's only accept -v.
18232 + # Break only if it was the GNU/non-GNU ld that we prefer.
18233 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18234 + *GNU* | *'with BFD'*)
18235 + test "$with_gnu_ld" != no && break
18238 + test "$with_gnu_ld" != yes && break
18243 + IFS="$lt_save_ifs"
18245 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
18249 +LD="$lt_cv_path_LD"
18250 +if test -n "$LD"; then
18251 + echo "$as_me:$LINENO: result: $LD" >&5
18252 +echo "${ECHO_T}$LD" >&6
18254 + echo "$as_me:$LINENO: result: no" >&5
18255 +echo "${ECHO_T}no" >&6
18257 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18258 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18259 + { (exit 1); exit 1; }; }
18260 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18261 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18262 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
18263 + echo $ECHO_N "(cached) $ECHO_C" >&6
18265 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18266 +case `$LD -v 2>&1 </dev/null` in
18267 +*GNU* | *'with BFD'*)
18268 + lt_cv_prog_gnu_ld=yes
18271 + lt_cv_prog_gnu_ld=no
18275 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18276 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18277 +with_gnu_ld=$lt_cv_prog_gnu_ld
18280 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
18281 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
18282 +if test "${lt_cv_ld_reload_flag+set}" = set; then
18283 + echo $ECHO_N "(cached) $ECHO_C" >&6
18285 + lt_cv_ld_reload_flag='-r'
18287 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
18288 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
18289 +reload_flag=$lt_cv_ld_reload_flag
18290 +case $reload_flag in
18292 +*) reload_flag=" $reload_flag" ;;
18294 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
18296 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
18297 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
18298 +if test "${lt_cv_path_NM+set}" = set; then
18299 + echo $ECHO_N "(cached) $ECHO_C" >&6
18301 + if test -n "$NM"; then
18302 + # Let the user override the test.
18303 + lt_cv_path_NM="$NM"
18305 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18306 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
18307 + IFS="$lt_save_ifs"
18308 + test -z "$ac_dir" && ac_dir=.
18309 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
18310 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
18311 + # Check to see if the nm accepts a BSD-compat flag.
18312 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
18313 + # nm: unknown option "B" ignored
18314 + # Tru64's nm complains that /dev/null is an invalid object file
18315 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
18316 + */dev/null* | *'Invalid file or object type'*)
18317 + lt_cv_path_NM="$tmp_nm -B"
18321 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
18323 + lt_cv_path_NM="$tmp_nm -p"
18327 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
18328 + continue # so that we can try to find one that supports BSD flags
18334 + IFS="$lt_save_ifs"
18335 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
18338 +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
18339 +echo "${ECHO_T}$lt_cv_path_NM" >&6
18340 +NM="$lt_cv_path_NM"
18342 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
18343 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18345 +if test "$LN_S" = "ln -s"; then
18346 + echo "$as_me:$LINENO: result: yes" >&5
18347 +echo "${ECHO_T}yes" >&6
18349 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18350 +echo "${ECHO_T}no, using $LN_S" >&6
18353 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
18354 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
18355 +if test "${lt_cv_deplibs_check_method+set}" = set; then
18356 + echo $ECHO_N "(cached) $ECHO_C" >&6
18358 + lt_cv_file_magic_cmd='$MAGIC_CMD'
18359 +lt_cv_file_magic_test_file=
18360 +lt_cv_deplibs_check_method='unknown'
18361 +# Need to set the preceding variable on all platforms that support
18362 +# interlibrary dependencies.
18363 +# 'none' -- dependencies not supported.
18364 +# `unknown' -- same as none, but documents that we really don't know.
18365 +# 'pass_all' -- all dependencies passed with no checks.
18366 +# 'test_compile' -- check by making test program.
18367 +# 'file_magic [[regex]]' -- check by looking for files in library path
18368 +# which responds to the $file_magic_cmd with a given extended regex.
18369 +# If you have `file' or equivalent on your system and you're not sure
18370 +# whether `pass_all' will *always* work, you probably want this one.
18374 + lt_cv_deplibs_check_method=pass_all
18378 + lt_cv_deplibs_check_method=pass_all
18382 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
18383 + lt_cv_file_magic_cmd='/usr/bin/file -L'
18384 + lt_cv_file_magic_test_file=/shlib/libc.so
18388 + # func_win32_libid is a shell function defined in ltmain.sh
18389 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
18390 + lt_cv_file_magic_cmd='func_win32_libid'
18394 + # Base MSYS/MinGW do not provide the 'file' command needed by
18395 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
18396 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
18397 + lt_cv_file_magic_cmd='$OBJDUMP -f'
18400 +darwin* | rhapsody*)
18401 + lt_cv_deplibs_check_method=pass_all
18404 +freebsd* | kfreebsd*-gnu)
18405 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
18406 + case $host_cpu in
18408 + # Not sure whether the presence of OpenBSD here was a mistake.
18409 + # Let's accept both of them until this is cleared up.
18410 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
18411 + lt_cv_file_magic_cmd=/usr/bin/file
18412 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
18416 + lt_cv_deplibs_check_method=pass_all
18421 + lt_cv_deplibs_check_method=pass_all
18424 +hpux10.20* | hpux11*)
18425 + lt_cv_file_magic_cmd=/usr/bin/file
18426 + case "$host_cpu" in
18428 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
18429 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
18432 + 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]'
18433 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
18436 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
18437 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
18442 +irix5* | irix6* | nonstopux*)
18444 + *-32|*"-32 ") libmagic=32-bit;;
18445 + *-n32|*"-n32 ") libmagic=N32;;
18446 + *-64|*"-64 ") libmagic=64-bit;;
18447 + *) libmagic=never-match;;
18449 + lt_cv_deplibs_check_method=pass_all
18452 +# This must be Linux ELF.
18454 + lt_cv_deplibs_check_method=pass_all
18457 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
18458 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
18459 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
18461 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
18466 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
18467 + lt_cv_file_magic_cmd=/usr/bin/file
18468 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
18472 + lt_cv_deplibs_check_method=unknown
18476 + lt_cv_file_magic_cmd=/usr/bin/file
18477 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
18478 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18479 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
18481 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
18485 +osf3* | osf4* | osf5*)
18486 + lt_cv_deplibs_check_method=pass_all
18490 + lt_cv_deplibs_check_method=pass_all
18494 + lt_cv_deplibs_check_method=pass_all
18497 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18498 + case $host_vendor in
18500 + 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]'
18501 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
18504 + lt_cv_deplibs_check_method=pass_all
18507 + lt_cv_file_magic_cmd='/bin/file'
18508 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
18511 + lt_cv_file_magic_cmd='/bin/file'
18512 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
18513 + lt_cv_file_magic_test_file=/lib/libc.so
18516 + lt_cv_deplibs_check_method=pass_all
18521 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
18522 + lt_cv_deplibs_check_method=pass_all
18527 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
18528 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
18529 +file_magic_cmd=$lt_cv_file_magic_cmd
18530 +deplibs_check_method=$lt_cv_deplibs_check_method
18531 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
18536 +# If no C compiler was specified, use CC.
18537 +LTCC=${LTCC-"$CC"}
18539 +# Allow CC to be a program name with arguments.
18543 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
18544 +if test "${enable_libtool_lock+set}" = set; then
18545 + enableval="$enable_libtool_lock"
18548 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
18550 +# Some flags need to be propagated to the compiler or linker for good
18551 +# libtool support.
18554 + # Find out which ABI we are using.
18555 + echo 'int i;' > conftest.$ac_ext
18556 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 + (eval $ac_compile) 2>&5
18559 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 + (exit $ac_status); }; then
18561 + case `/usr/bin/file conftest.$ac_objext` in
18563 + HPUX_IA64_MODE="32"
18566 + HPUX_IA64_MODE="64"
18573 + # Find out which ABI we are using.
18574 + echo '#line 3608 "configure"' > conftest.$ac_ext
18575 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18576 + (eval $ac_compile) 2>&5
18578 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 + (exit $ac_status); }; then
18580 + if test "$lt_cv_prog_gnu_ld" = yes; then
18581 + case `/usr/bin/file conftest.$ac_objext` in
18583 + LD="${LD-ld} -melf32bsmip"
18586 + LD="${LD-ld} -melf32bmipn32"
18589 + LD="${LD-ld} -melf64bmip"
18593 + case `/usr/bin/file conftest.$ac_objext` in
18595 + LD="${LD-ld} -32"
18598 + LD="${LD-ld} -n32"
18601 + LD="${LD-ld} -64"
18609 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
18610 + # Find out which ABI we are using.
18611 + echo 'int i;' > conftest.$ac_ext
18612 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 + (eval $ac_compile) 2>&5
18615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 + (exit $ac_status); }; then
18617 + case "`/usr/bin/file conftest.o`" in
18621 + LD="${LD-ld} -m elf_i386"
18623 + ppc64-*linux*|powerpc64-*linux*)
18624 + LD="${LD-ld} -m elf32ppclinux"
18627 + LD="${LD-ld} -m elf_s390"
18630 + LD="${LD-ld} -m elf32_sparc"
18637 + LD="${LD-ld} -m elf_x86_64"
18639 + ppc*-*linux*|powerpc*-*linux*)
18640 + LD="${LD-ld} -m elf64ppc"
18643 + LD="${LD-ld} -m elf64_s390"
18646 + LD="${LD-ld} -m elf64_sparc"
18656 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
18657 + SAVE_CFLAGS="$CFLAGS"
18658 + CFLAGS="$CFLAGS -belf"
18659 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
18660 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
18661 +if test "${lt_cv_cc_needs_belf+set}" = set; then
18662 + echo $ECHO_N "(cached) $ECHO_C" >&6
18665 +ac_cpp='$CPP $CPPFLAGS'
18666 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18670 + cat >conftest.$ac_ext <<_ACEOF
18673 +cat confdefs.h >>conftest.$ac_ext
18674 +cat >>conftest.$ac_ext <<_ACEOF
18675 +/* end confdefs.h. */
18685 +rm -f conftest.$ac_objext conftest$ac_exeext
18686 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18687 + (eval $ac_link) 2>conftest.er1
18689 + grep -v '^ *+' conftest.er1 >conftest.err
18690 + rm -f conftest.er1
18691 + cat conftest.err >&5
18692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 + (exit $ac_status); } &&
18694 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18695 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 + (eval $ac_try) 2>&5
18698 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 + (exit $ac_status); }; } &&
18700 + { ac_try='test -s conftest$ac_exeext'
18701 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 + (eval $ac_try) 2>&5
18704 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 + (exit $ac_status); }; }; then
18706 + lt_cv_cc_needs_belf=yes
18708 + echo "$as_me: failed program was:" >&5
18709 +sed 's/^/| /' conftest.$ac_ext >&5
18711 +lt_cv_cc_needs_belf=no
18713 +rm -f conftest.err conftest.$ac_objext \
18714 + conftest$ac_exeext conftest.$ac_ext
18716 +ac_cpp='$CPP $CPPFLAGS'
18717 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18722 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
18723 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
18724 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
18725 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
18726 + CFLAGS="$SAVE_CFLAGS"
18732 +need_locks="$enable_libtool_lock"
18736 +ac_cpp='$CPP $CPPFLAGS'
18737 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18740 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18741 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
18742 +# On Suns, sometimes $CPP names a directory.
18743 +if test -n "$CPP" && test -d "$CPP"; then
18746 +if test -z "$CPP"; then
18747 + if test "${ac_cv_prog_CPP+set}" = set; then
18748 + echo $ECHO_N "(cached) $ECHO_C" >&6
18750 + # Double quotes because CPP needs to be expanded
18751 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18753 + ac_preproc_ok=false
18754 +for ac_c_preproc_warn_flag in '' yes
18756 + # Use a header file that comes with gcc, so configuring glibc
18757 + # with a fresh cross-compiler works.
18758 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18759 + # <limits.h> exists even on freestanding compilers.
18760 + # On the NeXT, cc -E runs the code through the compiler's parser,
18761 + # not just through cpp. "Syntax error" is here to catch this case.
18762 + cat >conftest.$ac_ext <<_ACEOF
18765 +cat confdefs.h >>conftest.$ac_ext
18766 +cat >>conftest.$ac_ext <<_ACEOF
18767 +/* end confdefs.h. */
18769 +# include <limits.h>
18771 +# include <assert.h>
18775 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18776 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18778 + grep -v '^ *+' conftest.er1 >conftest.err
18779 + rm -f conftest.er1
18780 + cat conftest.err >&5
18781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 + (exit $ac_status); } >/dev/null; then
18783 + if test -s conftest.err; then
18784 + ac_cpp_err=$ac_c_preproc_warn_flag
18785 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18792 +if test -z "$ac_cpp_err"; then
18795 + echo "$as_me: failed program was:" >&5
18796 +sed 's/^/| /' conftest.$ac_ext >&5
18798 + # Broken: fails on valid input.
18801 +rm -f conftest.err conftest.$ac_ext
18803 + # OK, works on sane cases. Now check whether non-existent headers
18804 + # can be detected and how.
18805 + cat >conftest.$ac_ext <<_ACEOF
18808 +cat confdefs.h >>conftest.$ac_ext
18809 +cat >>conftest.$ac_ext <<_ACEOF
18810 +/* end confdefs.h. */
18811 +#include <ac_nonexistent.h>
18813 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18814 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18816 + grep -v '^ *+' conftest.er1 >conftest.err
18817 + rm -f conftest.er1
18818 + cat conftest.err >&5
18819 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 + (exit $ac_status); } >/dev/null; then
18821 + if test -s conftest.err; then
18822 + ac_cpp_err=$ac_c_preproc_warn_flag
18823 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18830 +if test -z "$ac_cpp_err"; then
18831 + # Broken: success on invalid input.
18834 + echo "$as_me: failed program was:" >&5
18835 +sed 's/^/| /' conftest.$ac_ext >&5
18837 + # Passes both tests.
18841 +rm -f conftest.err conftest.$ac_ext
18844 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18845 +rm -f conftest.err conftest.$ac_ext
18846 +if $ac_preproc_ok; then
18851 + ac_cv_prog_CPP=$CPP
18854 + CPP=$ac_cv_prog_CPP
18856 + ac_cv_prog_CPP=$CPP
18858 +echo "$as_me:$LINENO: result: $CPP" >&5
18859 +echo "${ECHO_T}$CPP" >&6
18860 +ac_preproc_ok=false
18861 +for ac_c_preproc_warn_flag in '' yes
18863 + # Use a header file that comes with gcc, so configuring glibc
18864 + # with a fresh cross-compiler works.
18865 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18866 + # <limits.h> exists even on freestanding compilers.
18867 + # On the NeXT, cc -E runs the code through the compiler's parser,
18868 + # not just through cpp. "Syntax error" is here to catch this case.
18869 + cat >conftest.$ac_ext <<_ACEOF
18872 +cat confdefs.h >>conftest.$ac_ext
18873 +cat >>conftest.$ac_ext <<_ACEOF
18874 +/* end confdefs.h. */
18876 +# include <limits.h>
18878 +# include <assert.h>
18882 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18883 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18885 + grep -v '^ *+' conftest.er1 >conftest.err
18886 + rm -f conftest.er1
18887 + cat conftest.err >&5
18888 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 + (exit $ac_status); } >/dev/null; then
18890 + if test -s conftest.err; then
18891 + ac_cpp_err=$ac_c_preproc_warn_flag
18892 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18899 +if test -z "$ac_cpp_err"; then
18902 + echo "$as_me: failed program was:" >&5
18903 +sed 's/^/| /' conftest.$ac_ext >&5
18905 + # Broken: fails on valid input.
18908 +rm -f conftest.err conftest.$ac_ext
18910 + # OK, works on sane cases. Now check whether non-existent headers
18911 + # can be detected and how.
18912 + cat >conftest.$ac_ext <<_ACEOF
18915 +cat confdefs.h >>conftest.$ac_ext
18916 +cat >>conftest.$ac_ext <<_ACEOF
18917 +/* end confdefs.h. */
18918 +#include <ac_nonexistent.h>
18920 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18921 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18923 + grep -v '^ *+' conftest.er1 >conftest.err
18924 + rm -f conftest.er1
18925 + cat conftest.err >&5
18926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 + (exit $ac_status); } >/dev/null; then
18928 + if test -s conftest.err; then
18929 + ac_cpp_err=$ac_c_preproc_warn_flag
18930 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18937 +if test -z "$ac_cpp_err"; then
18938 + # Broken: success on invalid input.
18941 + echo "$as_me: failed program was:" >&5
18942 +sed 's/^/| /' conftest.$ac_ext >&5
18944 + # Passes both tests.
18948 +rm -f conftest.err conftest.$ac_ext
18951 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18952 +rm -f conftest.err conftest.$ac_ext
18953 +if $ac_preproc_ok; then
18956 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18957 +See \`config.log' for more details." >&5
18958 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18959 +See \`config.log' for more details." >&2;}
18960 + { (exit 1); exit 1; }; }
18964 +ac_cpp='$CPP $CPPFLAGS'
18965 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18970 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18971 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18972 +if test "${ac_cv_header_stdc+set}" = set; then
18973 + echo $ECHO_N "(cached) $ECHO_C" >&6
18975 + cat >conftest.$ac_ext <<_ACEOF
18978 +cat confdefs.h >>conftest.$ac_ext
18979 +cat >>conftest.$ac_ext <<_ACEOF
18980 +/* end confdefs.h. */
18981 +#include <stdlib.h>
18982 +#include <stdarg.h>
18983 +#include <string.h>
18984 +#include <float.h>
18994 +rm -f conftest.$ac_objext
18995 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18996 + (eval $ac_compile) 2>conftest.er1
18998 + grep -v '^ *+' conftest.er1 >conftest.err
18999 + rm -f conftest.er1
19000 + cat conftest.err >&5
19001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 + (exit $ac_status); } &&
19003 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19004 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 + (eval $ac_try) 2>&5
19007 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 + (exit $ac_status); }; } &&
19009 + { ac_try='test -s conftest.$ac_objext'
19010 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19011 + (eval $ac_try) 2>&5
19013 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 + (exit $ac_status); }; }; then
19015 + ac_cv_header_stdc=yes
19017 + echo "$as_me: failed program was:" >&5
19018 +sed 's/^/| /' conftest.$ac_ext >&5
19020 +ac_cv_header_stdc=no
19022 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19024 +if test $ac_cv_header_stdc = yes; then
19025 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19026 + cat >conftest.$ac_ext <<_ACEOF
19029 +cat confdefs.h >>conftest.$ac_ext
19030 +cat >>conftest.$ac_ext <<_ACEOF
19031 +/* end confdefs.h. */
19032 +#include <string.h>
19035 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19036 + $EGREP "memchr" >/dev/null 2>&1; then
19039 + ac_cv_header_stdc=no
19045 +if test $ac_cv_header_stdc = yes; then
19046 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19047 + cat >conftest.$ac_ext <<_ACEOF
19050 +cat confdefs.h >>conftest.$ac_ext
19051 +cat >>conftest.$ac_ext <<_ACEOF
19052 +/* end confdefs.h. */
19053 +#include <stdlib.h>
19056 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19057 + $EGREP "free" >/dev/null 2>&1; then
19060 + ac_cv_header_stdc=no
19066 +if test $ac_cv_header_stdc = yes; then
19067 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19068 + if test "$cross_compiling" = yes; then
19071 + cat >conftest.$ac_ext <<_ACEOF
19074 +cat confdefs.h >>conftest.$ac_ext
19075 +cat >>conftest.$ac_ext <<_ACEOF
19076 +/* end confdefs.h. */
19077 +#include <ctype.h>
19078 +#if ((' ' & 0x0FF) == 0x020)
19079 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19080 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19082 +# define ISLOWER(c) \
19083 + (('a' <= (c) && (c) <= 'i') \
19084 + || ('j' <= (c) && (c) <= 'r') \
19085 + || ('s' <= (c) && (c) <= 'z'))
19086 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19089 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19094 + for (i = 0; i < 256; i++)
19095 + if (XOR (islower (i), ISLOWER (i))
19096 + || toupper (i) != TOUPPER (i))
19101 +rm -f conftest$ac_exeext
19102 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19103 + (eval $ac_link) 2>&5
19105 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19107 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 + (eval $ac_try) 2>&5
19110 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 + (exit $ac_status); }; }; then
19114 + echo "$as_me: program exited with status $ac_status" >&5
19115 +echo "$as_me: failed program was:" >&5
19116 +sed 's/^/| /' conftest.$ac_ext >&5
19118 +( exit $ac_status )
19119 +ac_cv_header_stdc=no
19121 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19125 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19126 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
19127 +if test $ac_cv_header_stdc = yes; then
19129 +cat >>confdefs.h <<\_ACEOF
19130 +#define STDC_HEADERS 1
19135 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
19145 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19146 + inttypes.h stdint.h unistd.h
19148 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19149 +echo "$as_me:$LINENO: checking for $ac_header" >&5
19150 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19151 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19152 + echo $ECHO_N "(cached) $ECHO_C" >&6
19154 + cat >conftest.$ac_ext <<_ACEOF
19157 +cat confdefs.h >>conftest.$ac_ext
19158 +cat >>conftest.$ac_ext <<_ACEOF
19159 +/* end confdefs.h. */
19160 +$ac_includes_default
19162 +#include <$ac_header>
19164 +rm -f conftest.$ac_objext
19165 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19166 + (eval $ac_compile) 2>conftest.er1
19168 + grep -v '^ *+' conftest.er1 >conftest.err
19169 + rm -f conftest.er1
19170 + cat conftest.err >&5
19171 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 + (exit $ac_status); } &&
19173 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19174 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 + (eval $ac_try) 2>&5
19177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 + (exit $ac_status); }; } &&
19179 + { ac_try='test -s conftest.$ac_objext'
19180 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 + (eval $ac_try) 2>&5
19183 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 + (exit $ac_status); }; }; then
19185 + eval "$as_ac_Header=yes"
19187 + echo "$as_me: failed program was:" >&5
19188 +sed 's/^/| /' conftest.$ac_ext >&5
19190 +eval "$as_ac_Header=no"
19192 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19194 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19195 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19196 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
19197 + cat >>confdefs.h <<_ACEOF
19198 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19207 +for ac_header in dlfcn.h
19209 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19210 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19211 + echo "$as_me:$LINENO: checking for $ac_header" >&5
19212 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19213 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19214 + echo $ECHO_N "(cached) $ECHO_C" >&6
19216 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19217 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19219 + # Is the header compilable?
19220 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
19221 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19222 +cat >conftest.$ac_ext <<_ACEOF
19225 +cat confdefs.h >>conftest.$ac_ext
19226 +cat >>conftest.$ac_ext <<_ACEOF
19227 +/* end confdefs.h. */
19228 +$ac_includes_default
19229 +#include <$ac_header>
19231 +rm -f conftest.$ac_objext
19232 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 + (eval $ac_compile) 2>conftest.er1
19235 + grep -v '^ *+' conftest.er1 >conftest.err
19236 + rm -f conftest.er1
19237 + cat conftest.err >&5
19238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 + (exit $ac_status); } &&
19240 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19241 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 + (eval $ac_try) 2>&5
19244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 + (exit $ac_status); }; } &&
19246 + { ac_try='test -s conftest.$ac_objext'
19247 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 + (eval $ac_try) 2>&5
19250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 + (exit $ac_status); }; }; then
19252 + ac_header_compiler=yes
19254 + echo "$as_me: failed program was:" >&5
19255 +sed 's/^/| /' conftest.$ac_ext >&5
19257 +ac_header_compiler=no
19259 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19260 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19261 +echo "${ECHO_T}$ac_header_compiler" >&6
19263 +# Is the header present?
19264 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
19265 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19266 +cat >conftest.$ac_ext <<_ACEOF
19269 +cat confdefs.h >>conftest.$ac_ext
19270 +cat >>conftest.$ac_ext <<_ACEOF
19271 +/* end confdefs.h. */
19272 +#include <$ac_header>
19274 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19275 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19277 + grep -v '^ *+' conftest.er1 >conftest.err
19278 + rm -f conftest.er1
19279 + cat conftest.err >&5
19280 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 + (exit $ac_status); } >/dev/null; then
19282 + if test -s conftest.err; then
19283 + ac_cpp_err=$ac_c_preproc_warn_flag
19284 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19291 +if test -z "$ac_cpp_err"; then
19292 + ac_header_preproc=yes
19294 + echo "$as_me: failed program was:" >&5
19295 +sed 's/^/| /' conftest.$ac_ext >&5
19297 + ac_header_preproc=no
19299 +rm -f conftest.err conftest.$ac_ext
19300 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19301 +echo "${ECHO_T}$ac_header_preproc" >&6
19303 +# So? What about this header?
19304 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19306 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19307 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19308 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19309 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19310 + ac_header_preproc=yes
19313 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19314 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19315 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19316 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19317 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19318 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19319 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19320 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19321 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19322 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19323 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19324 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19327 +## ------------------------------------------ ##
19328 +## Report this to the AC_PACKAGE_NAME lists. ##
19329 +## ------------------------------------------ ##
19332 + sed "s/^/$as_me: WARNING: /" >&2
19335 +echo "$as_me:$LINENO: checking for $ac_header" >&5
19336 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19337 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19338 + echo $ECHO_N "(cached) $ECHO_C" >&6
19340 + eval "$as_ac_Header=\$ac_header_preproc"
19342 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19343 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19346 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
19347 + cat >>confdefs.h <<_ACEOF
19348 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19356 +ac_cpp='$CXXCPP $CPPFLAGS'
19357 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19360 +if test -n "$ac_tool_prefix"; then
19361 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19363 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19364 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19365 +echo "$as_me:$LINENO: checking for $ac_word" >&5
19366 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19367 +if test "${ac_cv_prog_CXX+set}" = set; then
19368 + echo $ECHO_N "(cached) $ECHO_C" >&6
19370 + if test -n "$CXX"; then
19371 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
19373 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19374 +for as_dir in $PATH
19377 + test -z "$as_dir" && as_dir=.
19378 + for ac_exec_ext in '' $ac_executable_extensions; do
19379 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19380 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19381 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19389 +CXX=$ac_cv_prog_CXX
19390 +if test -n "$CXX"; then
19391 + echo "$as_me:$LINENO: result: $CXX" >&5
19392 +echo "${ECHO_T}$CXX" >&6
19394 + echo "$as_me:$LINENO: result: no" >&5
19395 +echo "${ECHO_T}no" >&6
19398 + test -n "$CXX" && break
19401 +if test -z "$CXX"; then
19403 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
19405 + # Extract the first word of "$ac_prog", so it can be a program name with args.
19406 +set dummy $ac_prog; ac_word=$2
19407 +echo "$as_me:$LINENO: checking for $ac_word" >&5
19408 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19409 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19410 + echo $ECHO_N "(cached) $ECHO_C" >&6
19412 + if test -n "$ac_ct_CXX"; then
19413 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19415 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19416 +for as_dir in $PATH
19419 + test -z "$as_dir" && as_dir=.
19420 + for ac_exec_ext in '' $ac_executable_extensions; do
19421 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19422 + ac_cv_prog_ac_ct_CXX="$ac_prog"
19423 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19431 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19432 +if test -n "$ac_ct_CXX"; then
19433 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19434 +echo "${ECHO_T}$ac_ct_CXX" >&6
19436 + echo "$as_me:$LINENO: result: no" >&5
19437 +echo "${ECHO_T}no" >&6
19440 + test -n "$ac_ct_CXX" && break
19442 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19448 +# Provide some information about the compiler.
19449 +echo "$as_me:$LINENO:" \
19450 + "checking for C++ compiler version" >&5
19451 +ac_compiler=`set X $ac_compile; echo $2`
19452 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19453 + (eval $ac_compiler --version </dev/null >&5) 2>&5
19455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 + (exit $ac_status); }
19457 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19458 + (eval $ac_compiler -v </dev/null >&5) 2>&5
19460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 + (exit $ac_status); }
19462 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19463 + (eval $ac_compiler -V </dev/null >&5) 2>&5
19465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 + (exit $ac_status); }
19468 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19469 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
19470 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19471 + echo $ECHO_N "(cached) $ECHO_C" >&6
19473 + cat >conftest.$ac_ext <<_ACEOF
19476 +cat confdefs.h >>conftest.$ac_ext
19477 +cat >>conftest.$ac_ext <<_ACEOF
19478 +/* end confdefs.h. */
19491 +rm -f conftest.$ac_objext
19492 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19493 + (eval $ac_compile) 2>conftest.er1
19495 + grep -v '^ *+' conftest.er1 >conftest.err
19496 + rm -f conftest.er1
19497 + cat conftest.err >&5
19498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 + (exit $ac_status); } &&
19500 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19501 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 + (eval $ac_try) 2>&5
19504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 + (exit $ac_status); }; } &&
19506 + { ac_try='test -s conftest.$ac_objext'
19507 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 + (eval $ac_try) 2>&5
19510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 + (exit $ac_status); }; }; then
19512 + ac_compiler_gnu=yes
19514 + echo "$as_me: failed program was:" >&5
19515 +sed 's/^/| /' conftest.$ac_ext >&5
19517 +ac_compiler_gnu=no
19519 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19520 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19523 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19524 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
19525 +GXX=`test $ac_compiler_gnu = yes && echo yes`
19526 +ac_test_CXXFLAGS=${CXXFLAGS+set}
19527 +ac_save_CXXFLAGS=$CXXFLAGS
19529 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19530 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
19531 +if test "${ac_cv_prog_cxx_g+set}" = set; then
19532 + echo $ECHO_N "(cached) $ECHO_C" >&6
19534 + cat >conftest.$ac_ext <<_ACEOF
19537 +cat confdefs.h >>conftest.$ac_ext
19538 +cat >>conftest.$ac_ext <<_ACEOF
19539 +/* end confdefs.h. */
19549 +rm -f conftest.$ac_objext
19550 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551 + (eval $ac_compile) 2>conftest.er1
19553 + grep -v '^ *+' conftest.er1 >conftest.err
19554 + rm -f conftest.er1
19555 + cat conftest.err >&5
19556 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 + (exit $ac_status); } &&
19558 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19559 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 + (eval $ac_try) 2>&5
19562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 + (exit $ac_status); }; } &&
19564 + { ac_try='test -s conftest.$ac_objext'
19565 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 + (eval $ac_try) 2>&5
19568 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 + (exit $ac_status); }; }; then
19570 + ac_cv_prog_cxx_g=yes
19572 + echo "$as_me: failed program was:" >&5
19573 +sed 's/^/| /' conftest.$ac_ext >&5
19575 +ac_cv_prog_cxx_g=no
19577 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19579 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19580 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
19581 +if test "$ac_test_CXXFLAGS" = set; then
19582 + CXXFLAGS=$ac_save_CXXFLAGS
19583 +elif test $ac_cv_prog_cxx_g = yes; then
19584 + if test "$GXX" = yes; then
19585 + CXXFLAGS="-g -O2"
19590 + if test "$GXX" = yes; then
19596 +for ac_declaration in \
19598 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
19599 + 'extern "C" void std::exit (int); using std::exit;' \
19600 + 'extern "C" void exit (int) throw ();' \
19601 + 'extern "C" void exit (int);' \
19602 + 'void exit (int);'
19604 + cat >conftest.$ac_ext <<_ACEOF
19607 +cat confdefs.h >>conftest.$ac_ext
19608 +cat >>conftest.$ac_ext <<_ACEOF
19609 +/* end confdefs.h. */
19611 +#include <stdlib.h>
19620 +rm -f conftest.$ac_objext
19621 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19622 + (eval $ac_compile) 2>conftest.er1
19624 + grep -v '^ *+' conftest.er1 >conftest.err
19625 + rm -f conftest.er1
19626 + cat conftest.err >&5
19627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 + (exit $ac_status); } &&
19629 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19630 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 + (eval $ac_try) 2>&5
19633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 + (exit $ac_status); }; } &&
19635 + { ac_try='test -s conftest.$ac_objext'
19636 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 + (eval $ac_try) 2>&5
19639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 + (exit $ac_status); }; }; then
19643 + echo "$as_me: failed program was:" >&5
19644 +sed 's/^/| /' conftest.$ac_ext >&5
19648 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19649 + cat >conftest.$ac_ext <<_ACEOF
19652 +cat confdefs.h >>conftest.$ac_ext
19653 +cat >>conftest.$ac_ext <<_ACEOF
19654 +/* end confdefs.h. */
19664 +rm -f conftest.$ac_objext
19665 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666 + (eval $ac_compile) 2>conftest.er1
19668 + grep -v '^ *+' conftest.er1 >conftest.err
19669 + rm -f conftest.er1
19670 + cat conftest.err >&5
19671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 + (exit $ac_status); } &&
19673 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19674 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 + (eval $ac_try) 2>&5
19677 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 + (exit $ac_status); }; } &&
19679 + { ac_try='test -s conftest.$ac_objext'
19680 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 + (eval $ac_try) 2>&5
19683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 + (exit $ac_status); }; }; then
19687 + echo "$as_me: failed program was:" >&5
19688 +sed 's/^/| /' conftest.$ac_ext >&5
19691 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19694 +if test -n "$ac_declaration"; then
19695 + echo '#ifdef __cplusplus' >>confdefs.h
19696 + echo $ac_declaration >>confdefs.h
19697 + echo '#endif' >>confdefs.h
19701 +ac_cpp='$CXXCPP $CPPFLAGS'
19702 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19706 +depcc="$CXX" am_compiler_list=
19708 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19709 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
19710 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19711 + echo $ECHO_N "(cached) $ECHO_C" >&6
19713 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19714 + # We make a subdir and do the tests there. Otherwise we can end up
19715 + # making bogus files that we don't know about and never remove. For
19716 + # instance it was reported that on HP-UX the gcc test will end up
19717 + # making a dummy file named `D' -- because `-MD' means `put the output
19719 + mkdir conftest.dir
19720 + # Copy depcomp to subdir because otherwise we won't find it if we're
19721 + # using a relative directory.
19722 + cp "$am_depcomp" conftest.dir
19724 + # We will build objects and dependencies in a subdirectory because
19725 + # it helps to detect inapplicable dependency modes. For instance
19726 + # both Tru64's cc and ICC support -MD to output dependencies as a
19727 + # side effect of compilation, but ICC will put the dependencies in
19728 + # the current directory while Tru64 will put them in the object
19732 + am_cv_CXX_dependencies_compiler_type=none
19733 + if test "$am_compiler_list" = ""; then
19734 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19736 + for depmode in $am_compiler_list; do
19737 + # Setup a source with many dependencies, because some compilers
19738 + # like to wrap large dependency lists on column 80 (with \), and
19739 + # we should not choose a depcomp mode which is confused by this.
19741 + # We need to recreate these files for each test, as the compiler may
19742 + # overwrite some of them when testing with obscure command lines.
19743 + # This happens at least with the AIX C compiler.
19744 + : > sub/conftest.c
19745 + for i in 1 2 3 4 5 6; do
19746 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
19747 + : > sub/conftst$i.h
19749 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19753 + # after this tag, mechanisms are not by side-effect, so they'll
19754 + # only be used when explicitly requested
19755 + if test "x$enable_dependency_tracking" = xyes; then
19763 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
19764 + # mode. It turns out that the SunPro C++ compiler does not properly
19765 + # handle `-M -o', and we need to detect this.
19766 + if depmode=$depmode \
19767 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
19768 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19769 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
19770 + >/dev/null 2>conftest.err &&
19771 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19772 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
19773 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19774 + # icc doesn't choke on unknown options, it will just issue warnings
19775 + # (even with -Werror). So we grep stderr for any message
19776 + # that says an option was ignored.
19777 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
19778 + am_cv_CXX_dependencies_compiler_type=$depmode
19785 + rm -rf conftest.dir
19787 + am_cv_CXX_dependencies_compiler_type=none
19791 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19792 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
19793 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19798 + test "x$enable_dependency_tracking" != xno \
19799 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
19800 + am__fastdepCXX_TRUE=
19801 + am__fastdepCXX_FALSE='#'
19803 + am__fastdepCXX_TRUE='#'
19804 + am__fastdepCXX_FALSE=
19809 +ac_cpp='$CXXCPP $CPPFLAGS'
19810 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19811 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19812 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19813 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19814 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19815 +if test -z "$CXXCPP"; then
19816 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
19817 + echo $ECHO_N "(cached) $ECHO_C" >&6
19819 + # Double quotes because CXXCPP needs to be expanded
19820 + for CXXCPP in "$CXX -E" "/lib/cpp"
19822 + ac_preproc_ok=false
19823 +for ac_cxx_preproc_warn_flag in '' yes
19825 + # Use a header file that comes with gcc, so configuring glibc
19826 + # with a fresh cross-compiler works.
19827 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19828 + # <limits.h> exists even on freestanding compilers.
19829 + # On the NeXT, cc -E runs the code through the compiler's parser,
19830 + # not just through cpp. "Syntax error" is here to catch this case.
19831 + cat >conftest.$ac_ext <<_ACEOF
19834 +cat confdefs.h >>conftest.$ac_ext
19835 +cat >>conftest.$ac_ext <<_ACEOF
19836 +/* end confdefs.h. */
19838 +# include <limits.h>
19840 +# include <assert.h>
19844 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19845 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19847 + grep -v '^ *+' conftest.er1 >conftest.err
19848 + rm -f conftest.er1
19849 + cat conftest.err >&5
19850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 + (exit $ac_status); } >/dev/null; then
19852 + if test -s conftest.err; then
19853 + ac_cpp_err=$ac_cxx_preproc_warn_flag
19854 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19861 +if test -z "$ac_cpp_err"; then
19864 + echo "$as_me: failed program was:" >&5
19865 +sed 's/^/| /' conftest.$ac_ext >&5
19867 + # Broken: fails on valid input.
19870 +rm -f conftest.err conftest.$ac_ext
19872 + # OK, works on sane cases. Now check whether non-existent headers
19873 + # can be detected and how.
19874 + cat >conftest.$ac_ext <<_ACEOF
19877 +cat confdefs.h >>conftest.$ac_ext
19878 +cat >>conftest.$ac_ext <<_ACEOF
19879 +/* end confdefs.h. */
19880 +#include <ac_nonexistent.h>
19882 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19883 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19885 + grep -v '^ *+' conftest.er1 >conftest.err
19886 + rm -f conftest.er1
19887 + cat conftest.err >&5
19888 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 + (exit $ac_status); } >/dev/null; then
19890 + if test -s conftest.err; then
19891 + ac_cpp_err=$ac_cxx_preproc_warn_flag
19892 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19899 +if test -z "$ac_cpp_err"; then
19900 + # Broken: success on invalid input.
19903 + echo "$as_me: failed program was:" >&5
19904 +sed 's/^/| /' conftest.$ac_ext >&5
19906 + # Passes both tests.
19910 +rm -f conftest.err conftest.$ac_ext
19913 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19914 +rm -f conftest.err conftest.$ac_ext
19915 +if $ac_preproc_ok; then
19920 + ac_cv_prog_CXXCPP=$CXXCPP
19923 + CXXCPP=$ac_cv_prog_CXXCPP
19925 + ac_cv_prog_CXXCPP=$CXXCPP
19927 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
19928 +echo "${ECHO_T}$CXXCPP" >&6
19929 +ac_preproc_ok=false
19930 +for ac_cxx_preproc_warn_flag in '' yes
19932 + # Use a header file that comes with gcc, so configuring glibc
19933 + # with a fresh cross-compiler works.
19934 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19935 + # <limits.h> exists even on freestanding compilers.
19936 + # On the NeXT, cc -E runs the code through the compiler's parser,
19937 + # not just through cpp. "Syntax error" is here to catch this case.
19938 + cat >conftest.$ac_ext <<_ACEOF
19941 +cat confdefs.h >>conftest.$ac_ext
19942 +cat >>conftest.$ac_ext <<_ACEOF
19943 +/* end confdefs.h. */
19945 +# include <limits.h>
19947 +# include <assert.h>
19951 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19952 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19954 + grep -v '^ *+' conftest.er1 >conftest.err
19955 + rm -f conftest.er1
19956 + cat conftest.err >&5
19957 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 + (exit $ac_status); } >/dev/null; then
19959 + if test -s conftest.err; then
19960 + ac_cpp_err=$ac_cxx_preproc_warn_flag
19961 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19968 +if test -z "$ac_cpp_err"; then
19971 + echo "$as_me: failed program was:" >&5
19972 +sed 's/^/| /' conftest.$ac_ext >&5
19974 + # Broken: fails on valid input.
19977 +rm -f conftest.err conftest.$ac_ext
19979 + # OK, works on sane cases. Now check whether non-existent headers
19980 + # can be detected and how.
19981 + cat >conftest.$ac_ext <<_ACEOF
19984 +cat confdefs.h >>conftest.$ac_ext
19985 +cat >>conftest.$ac_ext <<_ACEOF
19986 +/* end confdefs.h. */
19987 +#include <ac_nonexistent.h>
19989 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19990 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19992 + grep -v '^ *+' conftest.er1 >conftest.err
19993 + rm -f conftest.er1
19994 + cat conftest.err >&5
19995 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 + (exit $ac_status); } >/dev/null; then
19997 + if test -s conftest.err; then
19998 + ac_cpp_err=$ac_cxx_preproc_warn_flag
19999 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20006 +if test -z "$ac_cpp_err"; then
20007 + # Broken: success on invalid input.
20010 + echo "$as_me: failed program was:" >&5
20011 +sed 's/^/| /' conftest.$ac_ext >&5
20013 + # Passes both tests.
20017 +rm -f conftest.err conftest.$ac_ext
20020 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20021 +rm -f conftest.err conftest.$ac_ext
20022 +if $ac_preproc_ok; then
20025 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20026 +See \`config.log' for more details." >&5
20027 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20028 +See \`config.log' for more details." >&2;}
20029 + { (exit 1); exit 1; }; }
20033 +ac_cpp='$CXXCPP $CPPFLAGS'
20034 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20035 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20036 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20040 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20041 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20042 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20043 +if test -n "$ac_tool_prefix"; then
20044 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
20046 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20047 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20048 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20049 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20050 +if test "${ac_cv_prog_F77+set}" = set; then
20051 + echo $ECHO_N "(cached) $ECHO_C" >&6
20053 + if test -n "$F77"; then
20054 + ac_cv_prog_F77="$F77" # Let the user override the test.
20056 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20057 +for as_dir in $PATH
20060 + test -z "$as_dir" && as_dir=.
20061 + for ac_exec_ext in '' $ac_executable_extensions; do
20062 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20063 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
20064 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20072 +F77=$ac_cv_prog_F77
20073 +if test -n "$F77"; then
20074 + echo "$as_me:$LINENO: result: $F77" >&5
20075 +echo "${ECHO_T}$F77" >&6
20077 + echo "$as_me:$LINENO: result: no" >&5
20078 +echo "${ECHO_T}no" >&6
20081 + test -n "$F77" && break
20084 +if test -z "$F77"; then
20086 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
20088 + # Extract the first word of "$ac_prog", so it can be a program name with args.
20089 +set dummy $ac_prog; ac_word=$2
20090 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20091 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20092 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
20093 + echo $ECHO_N "(cached) $ECHO_C" >&6
20095 + if test -n "$ac_ct_F77"; then
20096 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
20098 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20099 +for as_dir in $PATH
20102 + test -z "$as_dir" && as_dir=.
20103 + for ac_exec_ext in '' $ac_executable_extensions; do
20104 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20105 + ac_cv_prog_ac_ct_F77="$ac_prog"
20106 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20114 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
20115 +if test -n "$ac_ct_F77"; then
20116 + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
20117 +echo "${ECHO_T}$ac_ct_F77" >&6
20119 + echo "$as_me:$LINENO: result: no" >&5
20120 +echo "${ECHO_T}no" >&6
20123 + test -n "$ac_ct_F77" && break
20130 +# Provide some information about the compiler.
20131 +echo "$as_me:5165:" \
20132 + "checking for Fortran 77 compiler version" >&5
20133 +ac_compiler=`set X $ac_compile; echo $2`
20134 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
20135 + (eval $ac_compiler --version </dev/null >&5) 2>&5
20137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 + (exit $ac_status); }
20139 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
20140 + (eval $ac_compiler -v </dev/null >&5) 2>&5
20142 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 + (exit $ac_status); }
20144 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
20145 + (eval $ac_compiler -V </dev/null >&5) 2>&5
20147 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 + (exit $ac_status); }
20151 +# If we don't use `.F' as extension, the preprocessor is not run on the
20152 +# input file. (Note that this only needs to work for GNU compilers.)
20153 +ac_save_ext=$ac_ext
20155 +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
20156 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
20157 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
20158 + echo $ECHO_N "(cached) $ECHO_C" >&6
20160 + cat >conftest.$ac_ext <<_ACEOF
20168 +rm -f conftest.$ac_objext
20169 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20170 + (eval $ac_compile) 2>conftest.er1
20172 + grep -v '^ *+' conftest.er1 >conftest.err
20173 + rm -f conftest.er1
20174 + cat conftest.err >&5
20175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 + (exit $ac_status); } &&
20177 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
20178 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 + (eval $ac_try) 2>&5
20181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 + (exit $ac_status); }; } &&
20183 + { ac_try='test -s conftest.$ac_objext'
20184 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 + (eval $ac_try) 2>&5
20187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 + (exit $ac_status); }; }; then
20189 + ac_compiler_gnu=yes
20191 + echo "$as_me: failed program was:" >&5
20192 +sed 's/^/| /' conftest.$ac_ext >&5
20194 +ac_compiler_gnu=no
20196 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20197 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
20200 +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
20201 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
20202 +ac_ext=$ac_save_ext
20203 +ac_test_FFLAGS=${FFLAGS+set}
20204 +ac_save_FFLAGS=$FFLAGS
20206 +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
20207 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
20208 +if test "${ac_cv_prog_f77_g+set}" = set; then
20209 + echo $ECHO_N "(cached) $ECHO_C" >&6
20212 +cat >conftest.$ac_ext <<_ACEOF
20217 +rm -f conftest.$ac_objext
20218 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20219 + (eval $ac_compile) 2>conftest.er1
20221 + grep -v '^ *+' conftest.er1 >conftest.err
20222 + rm -f conftest.er1
20223 + cat conftest.err >&5
20224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 + (exit $ac_status); } &&
20226 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
20227 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 + (eval $ac_try) 2>&5
20230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 + (exit $ac_status); }; } &&
20232 + { ac_try='test -s conftest.$ac_objext'
20233 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 + (eval $ac_try) 2>&5
20236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 + (exit $ac_status); }; }; then
20238 + ac_cv_prog_f77_g=yes
20240 + echo "$as_me: failed program was:" >&5
20241 +sed 's/^/| /' conftest.$ac_ext >&5
20243 +ac_cv_prog_f77_g=no
20245 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20248 +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
20249 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
20250 +if test "$ac_test_FFLAGS" = set; then
20251 + FFLAGS=$ac_save_FFLAGS
20252 +elif test $ac_cv_prog_f77_g = yes; then
20253 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
20259 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
20266 +G77=`test $ac_compiler_gnu = yes && echo yes`
20268 +ac_cpp='$CPP $CPPFLAGS'
20269 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20270 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20271 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
20275 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
20277 +# find the maximum length of command line arguments
20278 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
20279 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
20280 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
20281 + echo $ECHO_N "(cached) $ECHO_C" >&6
20284 + teststring="ABCD"
20286 + case $build_os in
20288 + # On DJGPP, this test can blow up pretty badly due to problems in libc
20289 + # (any single argument exceeding 2000 bytes causes a buffer overrun
20290 + # during glob expansion). Even if it were fixed, the result of this
20291 + # check would be larger than it should be.
20292 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
20296 + # Under GNU Hurd, this test is not required because there is
20297 + # no limit to the length of command line arguments.
20298 + # Libtool will interpret -1 as no limit whatsoever
20299 + lt_cv_sys_max_cmd_len=-1;
20302 + cygwin* | mingw*)
20303 + # On Win9x/ME, this test blows up -- it succeeds, but takes
20304 + # about 5 minutes as the teststring grows exponentially.
20305 + # Worse, since 9x/ME are not pre-emptively multitasking,
20306 + # you end up with a "frozen" computer, even though with patience
20307 + # the test eventually succeeds (with a max line length of 256k).
20308 + # Instead, let's just punt: use the minimum linelength reported by
20309 + # all of the supported platforms: 8192 (on NT/2K/XP).
20310 + lt_cv_sys_max_cmd_len=8192;
20314 + # On AmigaOS with pdksh, this test takes hours, literally.
20315 + # So we just punt and use a minimum line length of 8192.
20316 + lt_cv_sys_max_cmd_len=8192;
20320 + # If test is not a shell built-in, we'll probably end up computing a
20321 + # maximum length that is only half of the actual maximum length, but
20323 + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
20324 + = "XX$teststring") >/dev/null 2>&1 &&
20325 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
20326 + lt_cv_sys_max_cmd_len=$new_result &&
20327 + test $i != 17 # 1/2 MB should be enough
20330 + teststring=$teststring$teststring
20333 + # Add a significant safety factor because C++ compilers can tack on massive
20334 + # amounts of additional arguments before passing them to the linker.
20335 + # It appears as though 1/2 is a usable value.
20336 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
20342 +if test -n $lt_cv_sys_max_cmd_len ; then
20343 + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
20344 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
20346 + echo "$as_me:$LINENO: result: none" >&5
20347 +echo "${ECHO_T}none" >&6
20353 +# Check for command to grab the raw symbol name followed by C symbol from nm.
20354 +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
20355 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
20356 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
20357 + echo $ECHO_N "(cached) $ECHO_C" >&6
20360 +# These are sane defaults that work on at least a few old systems.
20361 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
20363 +# Character class describing NM global symbol codes.
20364 +symcode='[BCDEGRST]'
20366 +# Regexp to match symbols that can be accessed directly from C.
20367 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
20369 +# Transform the above into a raw symbol and a C symbol.
20370 +symxfrm='\1 \2\3 \3'
20372 +# Transform an extracted symbol line into a proper C declaration
20373 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
20375 +# Transform an extracted symbol line into symbol name and symbol address
20376 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
20378 +# Define system-specific variables.
20383 +cygwin* | mingw* | pw32*)
20384 + symcode='[ABCDGISTW]'
20386 +hpux*) # Its linker distinguishes data from code symbols
20387 + if test "$host_cpu" = ia64; then
20388 + symcode='[ABCDEGRST]'
20390 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
20391 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
20393 +irix* | nonstopux*)
20394 + symcode='[BCDEGRST]'
20397 + symcode='[BCDEGQRST]'
20399 +solaris* | sysv5*)
20403 + symcode='[DFNSTU]'
20407 +# Handle CRLF in mingw tool chain
20411 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
20415 +# If we're using GNU nm, then use its standard symbol codes.
20416 +case `$NM -V 2>&1` in
20417 +*GNU* | *'with BFD'*)
20418 + symcode='[ABCDGIRSTW]' ;;
20421 +# Try without a prefix undercore, then with it.
20422 +for ac_symprfx in "" "_"; do
20424 + # Write the raw and C identifiers.
20425 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
20427 + # Check to see that the pipe works correctly.
20431 + cat > conftest.$ac_ext <<EOF
20432 +#ifdef __cplusplus
20436 +void nm_test_func(){}
20437 +#ifdef __cplusplus
20440 +int main(){nm_test_var='a';nm_test_func();return(0);}
20443 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20444 + (eval $ac_compile) 2>&5
20446 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 + (exit $ac_status); }; then
20448 + # Now try to grab the symbols.
20449 + nlist=conftest.nm
20450 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
20451 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
20453 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 + (exit $ac_status); } && test -s "$nlist"; then
20455 + # Try sorting and uniquifying the output.
20456 + if sort "$nlist" | uniq > "$nlist"T; then
20457 + mv -f "$nlist"T "$nlist"
20462 + # Make sure that we snagged all the symbols we need.
20463 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
20464 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
20465 + cat <<EOF > conftest.$ac_ext
20466 +#ifdef __cplusplus
20471 + # Now generate the symbol file.
20472 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
20474 + cat <<EOF >> conftest.$ac_ext
20475 +#if defined (__STDC__) && __STDC__
20476 +# define lt_ptr_t void *
20478 +# define lt_ptr_t char *
20482 +/* The mapping between symbol names and symbols. */
20484 + const char *name;
20485 + lt_ptr_t address;
20487 +lt_preloaded_symbols[] =
20490 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
20491 + cat <<\EOF >> conftest.$ac_ext
20492 + {0, (lt_ptr_t) 0}
20495 +#ifdef __cplusplus
20499 + # Now try linking the two files.
20500 + mv conftest.$ac_objext conftstm.$ac_objext
20501 + lt_save_LIBS="$LIBS"
20502 + lt_save_CFLAGS="$CFLAGS"
20503 + LIBS="conftstm.$ac_objext"
20504 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
20505 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20506 + (eval $ac_link) 2>&5
20508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
20512 + LIBS="$lt_save_LIBS"
20513 + CFLAGS="$lt_save_CFLAGS"
20515 + echo "cannot find nm_test_func in $nlist" >&5
20518 + echo "cannot find nm_test_var in $nlist" >&5
20521 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
20524 + echo "$progname: failed program was:" >&5
20525 + cat conftest.$ac_ext >&5
20527 + rm -f conftest* conftst*
20529 + # Do not use the global_symbol_pipe unless it works.
20530 + if test "$pipe_works" = yes; then
20533 + lt_cv_sys_global_symbol_pipe=
20539 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
20540 + lt_cv_sys_global_symbol_to_cdecl=
20542 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
20543 + echo "$as_me:$LINENO: result: failed" >&5
20544 +echo "${ECHO_T}failed" >&6
20546 + echo "$as_me:$LINENO: result: ok" >&5
20547 +echo "${ECHO_T}ok" >&6
20550 +echo "$as_me:$LINENO: checking for objdir" >&5
20551 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
20552 +if test "${lt_cv_objdir+set}" = set; then
20553 + echo $ECHO_N "(cached) $ECHO_C" >&6
20555 + rm -f .libs 2>/dev/null
20556 +mkdir .libs 2>/dev/null
20557 +if test -d .libs; then
20558 + lt_cv_objdir=.libs
20560 + # MS-DOS does not allow filenames that begin with a dot.
20561 + lt_cv_objdir=_libs
20563 +rmdir .libs 2>/dev/null
20565 +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
20566 +echo "${ECHO_T}$lt_cv_objdir" >&6
20567 +objdir=$lt_cv_objdir
20575 + # AIX sometimes has problems with the GCC collect2 program. For some
20576 + # reason, if we set the COLLECT_NAMES environment variable, the problems
20577 + # vanish in a puff of smoke.
20578 + if test "X${COLLECT_NAMES+set}" != Xset; then
20580 + export COLLECT_NAMES
20585 +# Sed substitution that helps us do robust quoting. It backslashifies
20586 +# metacharacters that are still active within double-quoted strings.
20587 +Xsed='sed -e s/^X//'
20588 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
20590 +# Same as above, but do not quote variable references.
20591 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
20593 +# Sed substitution to delay expansion of an escaped shell variable in a
20594 +# double_quote_subst'ed string.
20595 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
20597 +# Sed substitution to avoid accidental globbing in evaled expressions
20598 +no_glob_subst='s/\*/\\\*/g'
20603 +# Global variables:
20604 +default_ofile=libtool
20605 +can_build_shared=yes
20607 +# All known linkers require a `.a' archive for static linking (except M$VC,
20608 +# which needs '.lib').
20610 +ltmain="$ac_aux_dir/ltmain.sh"
20611 +ofile="$default_ofile"
20612 +with_gnu_ld="$lt_cv_prog_gnu_ld"
20614 +if test -n "$ac_tool_prefix"; then
20615 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20616 +set dummy ${ac_tool_prefix}ar; ac_word=$2
20617 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20618 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20619 +if test "${ac_cv_prog_AR+set}" = set; then
20620 + echo $ECHO_N "(cached) $ECHO_C" >&6
20622 + if test -n "$AR"; then
20623 + ac_cv_prog_AR="$AR" # Let the user override the test.
20625 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20626 +for as_dir in $PATH
20629 + test -z "$as_dir" && as_dir=.
20630 + for ac_exec_ext in '' $ac_executable_extensions; do
20631 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20632 + ac_cv_prog_AR="${ac_tool_prefix}ar"
20633 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20642 +if test -n "$AR"; then
20643 + echo "$as_me:$LINENO: result: $AR" >&5
20644 +echo "${ECHO_T}$AR" >&6
20646 + echo "$as_me:$LINENO: result: no" >&5
20647 +echo "${ECHO_T}no" >&6
20651 +if test -z "$ac_cv_prog_AR"; then
20653 + # Extract the first word of "ar", so it can be a program name with args.
20654 +set dummy ar; ac_word=$2
20655 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20656 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20657 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20658 + echo $ECHO_N "(cached) $ECHO_C" >&6
20660 + if test -n "$ac_ct_AR"; then
20661 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20663 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20664 +for as_dir in $PATH
20667 + test -z "$as_dir" && as_dir=.
20668 + for ac_exec_ext in '' $ac_executable_extensions; do
20669 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20670 + ac_cv_prog_ac_ct_AR="ar"
20671 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20677 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
20680 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
20681 +if test -n "$ac_ct_AR"; then
20682 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20683 +echo "${ECHO_T}$ac_ct_AR" >&6
20685 + echo "$as_me:$LINENO: result: no" >&5
20686 +echo "${ECHO_T}no" >&6
20691 + AR="$ac_cv_prog_AR"
20694 +if test -n "$ac_tool_prefix"; then
20695 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
20696 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
20697 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20698 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20699 +if test "${ac_cv_prog_RANLIB+set}" = set; then
20700 + echo $ECHO_N "(cached) $ECHO_C" >&6
20702 + if test -n "$RANLIB"; then
20703 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
20705 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20706 +for as_dir in $PATH
20709 + test -z "$as_dir" && as_dir=.
20710 + for ac_exec_ext in '' $ac_executable_extensions; do
20711 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20712 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
20713 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20721 +RANLIB=$ac_cv_prog_RANLIB
20722 +if test -n "$RANLIB"; then
20723 + echo "$as_me:$LINENO: result: $RANLIB" >&5
20724 +echo "${ECHO_T}$RANLIB" >&6
20726 + echo "$as_me:$LINENO: result: no" >&5
20727 +echo "${ECHO_T}no" >&6
20731 +if test -z "$ac_cv_prog_RANLIB"; then
20732 + ac_ct_RANLIB=$RANLIB
20733 + # Extract the first word of "ranlib", so it can be a program name with args.
20734 +set dummy ranlib; ac_word=$2
20735 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20736 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20737 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
20738 + echo $ECHO_N "(cached) $ECHO_C" >&6
20740 + if test -n "$ac_ct_RANLIB"; then
20741 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
20743 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20744 +for as_dir in $PATH
20747 + test -z "$as_dir" && as_dir=.
20748 + for ac_exec_ext in '' $ac_executable_extensions; do
20749 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20750 + ac_cv_prog_ac_ct_RANLIB="ranlib"
20751 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20757 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
20760 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
20761 +if test -n "$ac_ct_RANLIB"; then
20762 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
20763 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
20765 + echo "$as_me:$LINENO: result: no" >&5
20766 +echo "${ECHO_T}no" >&6
20769 + RANLIB=$ac_ct_RANLIB
20771 + RANLIB="$ac_cv_prog_RANLIB"
20774 +if test -n "$ac_tool_prefix"; then
20775 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20776 +set dummy ${ac_tool_prefix}strip; ac_word=$2
20777 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20778 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20779 +if test "${ac_cv_prog_STRIP+set}" = set; then
20780 + echo $ECHO_N "(cached) $ECHO_C" >&6
20782 + if test -n "$STRIP"; then
20783 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
20785 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20786 +for as_dir in $PATH
20789 + test -z "$as_dir" && as_dir=.
20790 + for ac_exec_ext in '' $ac_executable_extensions; do
20791 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20792 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
20793 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20801 +STRIP=$ac_cv_prog_STRIP
20802 +if test -n "$STRIP"; then
20803 + echo "$as_me:$LINENO: result: $STRIP" >&5
20804 +echo "${ECHO_T}$STRIP" >&6
20806 + echo "$as_me:$LINENO: result: no" >&5
20807 +echo "${ECHO_T}no" >&6
20811 +if test -z "$ac_cv_prog_STRIP"; then
20812 + ac_ct_STRIP=$STRIP
20813 + # Extract the first word of "strip", so it can be a program name with args.
20814 +set dummy strip; ac_word=$2
20815 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20816 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20817 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
20818 + echo $ECHO_N "(cached) $ECHO_C" >&6
20820 + if test -n "$ac_ct_STRIP"; then
20821 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
20823 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20824 +for as_dir in $PATH
20827 + test -z "$as_dir" && as_dir=.
20828 + for ac_exec_ext in '' $ac_executable_extensions; do
20829 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20830 + ac_cv_prog_ac_ct_STRIP="strip"
20831 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20837 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
20840 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20841 +if test -n "$ac_ct_STRIP"; then
20842 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
20843 +echo "${ECHO_T}$ac_ct_STRIP" >&6
20845 + echo "$as_me:$LINENO: result: no" >&5
20846 +echo "${ECHO_T}no" >&6
20849 + STRIP=$ac_ct_STRIP
20851 + STRIP="$ac_cv_prog_STRIP"
20856 +old_CFLAGS="$CFLAGS"
20858 +# Set sane defaults for various variables
20859 +test -z "$AR" && AR=ar
20860 +test -z "$AR_FLAGS" && AR_FLAGS=cru
20861 +test -z "$AS" && AS=as
20862 +test -z "$CC" && CC=cc
20863 +test -z "$LTCC" && LTCC=$CC
20864 +test -z "$DLLTOOL" && DLLTOOL=dlltool
20865 +test -z "$LD" && LD=ld
20866 +test -z "$LN_S" && LN_S="ln -s"
20867 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
20868 +test -z "$NM" && NM=nm
20869 +test -z "$SED" && SED=sed
20870 +test -z "$OBJDUMP" && OBJDUMP=objdump
20871 +test -z "$RANLIB" && RANLIB=:
20872 +test -z "$STRIP" && STRIP=:
20873 +test -z "$ac_objext" && ac_objext=o
20875 +# Determine commands to create old-style static archives.
20876 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
20877 +old_postinstall_cmds='chmod 644 $oldlib'
20878 +old_postuninstall_cmds=
20880 +if test -n "$RANLIB"; then
20883 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
20886 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
20889 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
20892 +# Only perform the check for file, if the check method requires it
20893 +case $deplibs_check_method in
20895 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
20896 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
20897 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
20898 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
20899 + echo $ECHO_N "(cached) $ECHO_C" >&6
20901 + case $MAGIC_CMD in
20902 +[\\/*] | ?:[\\/]*)
20903 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
20906 + lt_save_MAGIC_CMD="$MAGIC_CMD"
20907 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20908 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
20909 + for ac_dir in $ac_dummy; do
20910 + IFS="$lt_save_ifs"
20911 + test -z "$ac_dir" && ac_dir=.
20912 + if test -f $ac_dir/${ac_tool_prefix}file; then
20913 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
20914 + if test -n "$file_magic_test_file"; then
20915 + case $deplibs_check_method in
20917 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
20918 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
20919 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
20920 + $EGREP "$file_magic_regex" > /dev/null; then
20925 +*** Warning: the command libtool uses to detect shared libraries,
20926 +*** $file_magic_cmd, produces output that libtool cannot recognize.
20927 +*** The result is that libtool may fail to recognize shared libraries
20928 +*** as such. This will affect the creation of libtool libraries that
20929 +*** depend on shared libraries, but programs linked with such libtool
20930 +*** libraries will work regardless of this problem. Nevertheless, you
20931 +*** may want to report the problem to your system manager and/or to
20932 +*** bug-libtool@gnu.org
20941 + IFS="$lt_save_ifs"
20942 + MAGIC_CMD="$lt_save_MAGIC_CMD"
20947 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
20948 +if test -n "$MAGIC_CMD"; then
20949 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
20950 +echo "${ECHO_T}$MAGIC_CMD" >&6
20952 + echo "$as_me:$LINENO: result: no" >&5
20953 +echo "${ECHO_T}no" >&6
20956 +if test -z "$lt_cv_path_MAGIC_CMD"; then
20957 + if test -n "$ac_tool_prefix"; then
20958 + echo "$as_me:$LINENO: checking for file" >&5
20959 +echo $ECHO_N "checking for file... $ECHO_C" >&6
20960 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
20961 + echo $ECHO_N "(cached) $ECHO_C" >&6
20963 + case $MAGIC_CMD in
20964 +[\\/*] | ?:[\\/]*)
20965 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
20968 + lt_save_MAGIC_CMD="$MAGIC_CMD"
20969 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20970 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
20971 + for ac_dir in $ac_dummy; do
20972 + IFS="$lt_save_ifs"
20973 + test -z "$ac_dir" && ac_dir=.
20974 + if test -f $ac_dir/file; then
20975 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
20976 + if test -n "$file_magic_test_file"; then
20977 + case $deplibs_check_method in
20979 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
20980 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
20981 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
20982 + $EGREP "$file_magic_regex" > /dev/null; then
20987 +*** Warning: the command libtool uses to detect shared libraries,
20988 +*** $file_magic_cmd, produces output that libtool cannot recognize.
20989 +*** The result is that libtool may fail to recognize shared libraries
20990 +*** as such. This will affect the creation of libtool libraries that
20991 +*** depend on shared libraries, but programs linked with such libtool
20992 +*** libraries will work regardless of this problem. Nevertheless, you
20993 +*** may want to report the problem to your system manager and/or to
20994 +*** bug-libtool@gnu.org
21003 + IFS="$lt_save_ifs"
21004 + MAGIC_CMD="$lt_save_MAGIC_CMD"
21009 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
21010 +if test -n "$MAGIC_CMD"; then
21011 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
21012 +echo "${ECHO_T}$MAGIC_CMD" >&6
21014 + echo "$as_me:$LINENO: result: no" >&5
21015 +echo "${ECHO_T}no" >&6
21028 +enable_win32_dll=no
21030 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
21031 +if test "${enable_libtool_lock+set}" = set; then
21032 + enableval="$enable_libtool_lock"
21035 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
21038 +# Check whether --with-pic or --without-pic was given.
21039 +if test "${with_pic+set}" = set; then
21040 + withval="$with_pic"
21041 + pic_mode="$withval"
21045 +test -z "$pic_mode" && pic_mode=default
21047 +# Use C for the default configuration in the libtool script
21051 +ac_cpp='$CPP $CPPFLAGS'
21052 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21057 +# Source file extension for C test sources.
21060 +# Object file extension for compiled C test sources.
21064 +# Code to be used in simple compile tests
21065 +lt_simple_compile_test_code="int some_variable = 0;\n"
21067 +# Code to be used in simple link tests
21068 +lt_simple_link_test_code='int main(){return(0);}\n'
21071 +# If no C compiler was specified, use CC.
21072 +LTCC=${LTCC-"$CC"}
21074 +# Allow CC to be a program name with arguments.
21079 +# Check for any special shared library compilation flags.
21082 +if test "$GCC" = no; then
21085 + lt_prog_cc_shlib='-belf'
21089 +if test -n "$lt_prog_cc_shlib"; then
21090 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
21091 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
21092 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
21094 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
21095 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
21096 + lt_cv_prog_cc_can_build_shared=no
21102 +# Check to make sure the static flag actually works.
21104 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
21105 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
21106 +if test "${lt_prog_compiler_static_works+set}" = set; then
21107 + echo $ECHO_N "(cached) $ECHO_C" >&6
21109 + lt_prog_compiler_static_works=no
21110 + save_LDFLAGS="$LDFLAGS"
21111 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
21112 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
21113 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21114 + # The compiler can only warn and ignore the option if not recognized
21115 + # So say no if there are warnings
21116 + if test -s conftest.err; then
21117 + # Append any errors to the config.log.
21118 + cat conftest.err 1>&5
21120 + lt_prog_compiler_static_works=yes
21124 + LDFLAGS="$save_LDFLAGS"
21127 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
21128 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
21130 +if test x"$lt_prog_compiler_static_works" = xyes; then
21133 + lt_prog_compiler_static=
21139 +lt_prog_compiler_no_builtin_flag=
21141 +if test "$GCC" = yes; then
21142 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
21145 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
21146 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
21147 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
21148 + echo $ECHO_N "(cached) $ECHO_C" >&6
21150 + lt_cv_prog_compiler_rtti_exceptions=no
21151 + ac_outfile=conftest.$ac_objext
21152 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21153 + lt_compiler_flag="-fno-rtti -fno-exceptions"
21154 + # Insert the option either (1) after the last *FLAGS variable, or
21155 + # (2) before a word containing "conftest.", or (3) at the end.
21156 + # Note that $ac_compile itself does not contain backslashes and begins
21157 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21158 + # The option is referenced via a variable to avoid confusing sed.
21159 + lt_compile=`echo "$ac_compile" | $SED \
21160 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21161 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21162 + -e 's:$: $lt_compiler_flag:'`
21163 + (eval echo "\"\$as_me:6197: $lt_compile\"" >&5)
21164 + (eval "$lt_compile" 2>conftest.err)
21166 + cat conftest.err >&5
21167 + echo "$as_me:6201: \$? = $ac_status" >&5
21168 + if (exit $ac_status) && test -s "$ac_outfile"; then
21169 + # The compiler can only warn and ignore the option if not recognized
21170 + # So say no if there are warnings
21171 + if test ! -s conftest.err; then
21172 + lt_cv_prog_compiler_rtti_exceptions=yes
21178 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
21179 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
21181 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
21182 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
21189 +lt_prog_compiler_wl=
21190 +lt_prog_compiler_pic=
21191 +lt_prog_compiler_static=
21193 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21194 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21196 + if test "$GCC" = yes; then
21197 + lt_prog_compiler_wl='-Wl,'
21198 + lt_prog_compiler_static='-static'
21202 + # All AIX code is PIC.
21203 + if test "$host_cpu" = ia64; then
21204 + # AIX 5 now supports IA64 processor
21205 + lt_prog_compiler_static='-Bstatic'
21210 + # FIXME: we need at least 68020 code to build shared libraries, but
21211 + # adding the `-m68020' flag to GCC prevents building anything better,
21212 + # like `-m68040'.
21213 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
21216 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21217 + # PIC is the default for these OSes.
21220 + mingw* | pw32* | os2*)
21221 + # This hack is so that the source file can tell whether it is being
21222 + # built for inclusion in a dll (and should export symbols for example).
21223 + lt_prog_compiler_pic='-DDLL_EXPORT'
21226 + darwin* | rhapsody*)
21227 + # PIC is the default on this platform
21228 + # Common symbols not allowed in MH_DYLIB files
21229 + lt_prog_compiler_pic='-fno-common'
21233 + # Just because we use GCC doesn't mean we suddenly get shared libraries
21234 + # on systems that don't support them.
21235 + lt_prog_compiler_can_build_shared=no
21240 + if test -d /usr/nec; then
21241 + lt_prog_compiler_pic=-Kconform_pic
21246 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21247 + # not for PA HP-UX.
21248 + case "$host_cpu" in
21253 + lt_prog_compiler_pic='-fPIC'
21259 + lt_prog_compiler_pic='-fPIC'
21263 + # PORTME Check for flag to pass linker flags through the system compiler.
21266 + lt_prog_compiler_wl='-Wl,'
21267 + if test "$host_cpu" = ia64; then
21268 + # AIX 5 now supports IA64 processor
21269 + lt_prog_compiler_static='-Bstatic'
21271 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
21275 + mingw* | pw32* | os2*)
21276 + # This hack is so that the source file can tell whether it is being
21277 + # built for inclusion in a dll (and should export symbols for example).
21278 + lt_prog_compiler_pic='-DDLL_EXPORT'
21281 + hpux9* | hpux10* | hpux11*)
21282 + lt_prog_compiler_wl='-Wl,'
21283 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21284 + # not for PA HP-UX.
21285 + case "$host_cpu" in
21290 + lt_prog_compiler_pic='+Z'
21293 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
21294 + lt_prog_compiler_static='${wl}-a ${wl}archive'
21297 + irix5* | irix6* | nonstopux*)
21298 + lt_prog_compiler_wl='-Wl,'
21299 + # PIC (with -KPIC) is the default.
21300 + lt_prog_compiler_static='-non_shared'
21304 + lt_prog_compiler_pic='-KPIC'
21305 + lt_prog_compiler_static='-Bstatic'
21311 + lt_prog_compiler_wl='-Wl,'
21312 + lt_prog_compiler_pic='-KPIC'
21313 + lt_prog_compiler_static='-static'
21316 + lt_prog_compiler_wl='-Wl,'
21317 + # All Alpha code is PIC.
21318 + lt_prog_compiler_static='-non_shared'
21323 + osf3* | osf4* | osf5*)
21324 + lt_prog_compiler_wl='-Wl,'
21325 + # All OSF/1 code is PIC.
21326 + lt_prog_compiler_static='-non_shared'
21330 + lt_prog_compiler_pic='-Kpic'
21331 + lt_prog_compiler_static='-dn'
21335 + lt_prog_compiler_wl='-Wl,'
21336 + lt_prog_compiler_pic='-KPIC'
21337 + lt_prog_compiler_static='-Bstatic'
21341 + lt_prog_compiler_wl='-Qoption ld '
21342 + lt_prog_compiler_pic='-PIC'
21343 + lt_prog_compiler_static='-Bstatic'
21346 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21347 + lt_prog_compiler_wl='-Wl,'
21348 + lt_prog_compiler_pic='-KPIC'
21349 + lt_prog_compiler_static='-Bstatic'
21353 + if test -d /usr/nec ;then
21354 + lt_prog_compiler_pic='-Kconform_pic'
21355 + lt_prog_compiler_static='-Bstatic'
21360 + lt_prog_compiler_pic='-pic'
21361 + lt_prog_compiler_static='-Bstatic'
21365 + lt_prog_compiler_can_build_shared=no
21370 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
21371 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6
21374 +# Check to make sure the PIC flag actually works.
21376 +if test -n "$lt_prog_compiler_pic"; then
21378 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
21379 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
21380 +if test "${lt_prog_compiler_pic_works+set}" = set; then
21381 + echo $ECHO_N "(cached) $ECHO_C" >&6
21383 + lt_prog_compiler_pic_works=no
21384 + ac_outfile=conftest.$ac_objext
21385 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21386 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
21387 + # Insert the option either (1) after the last *FLAGS variable, or
21388 + # (2) before a word containing "conftest.", or (3) at the end.
21389 + # Note that $ac_compile itself does not contain backslashes and begins
21390 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21391 + # The option is referenced via a variable to avoid confusing sed.
21392 + lt_compile=`echo "$ac_compile" | $SED \
21393 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21394 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21395 + -e 's:$: $lt_compiler_flag:'`
21396 + (eval echo "\"\$as_me:6430: $lt_compile\"" >&5)
21397 + (eval "$lt_compile" 2>conftest.err)
21399 + cat conftest.err >&5
21400 + echo "$as_me:6434: \$? = $ac_status" >&5
21401 + if (exit $ac_status) && test -s "$ac_outfile"; then
21402 + # The compiler can only warn and ignore the option if not recognized
21403 + # So say no if there are warnings
21404 + if test ! -s conftest.err; then
21405 + lt_prog_compiler_pic_works=yes
21411 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
21412 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
21414 +if test x"$lt_prog_compiler_pic_works" = xyes; then
21415 + case $lt_prog_compiler_pic in
21417 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
21420 + lt_prog_compiler_pic=
21421 + lt_prog_compiler_can_build_shared=no
21425 +case "$host_os" in
21426 + # For platforms which do not support PIC, -DPIC is meaningless:
21428 + lt_prog_compiler_pic=
21431 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
21435 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21436 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21437 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
21438 + echo $ECHO_N "(cached) $ECHO_C" >&6
21440 + lt_cv_prog_compiler_c_o=no
21441 + $rm -r conftest 2>/dev/null
21445 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21447 + lt_compiler_flag="-o out/conftest2.$ac_objext"
21448 + # Insert the option either (1) after the last *FLAGS variable, or
21449 + # (2) before a word containing "conftest.", or (3) at the end.
21450 + # Note that $ac_compile itself does not contain backslashes and begins
21451 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21452 + lt_compile=`echo "$ac_compile" | $SED \
21453 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21454 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21455 + -e 's:$: $lt_compiler_flag:'`
21456 + (eval echo "\"\$as_me:6490: $lt_compile\"" >&5)
21457 + (eval "$lt_compile" 2>out/conftest.err)
21459 + cat out/conftest.err >&5
21460 + echo "$as_me:6494: \$? = $ac_status" >&5
21461 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
21463 + # The compiler can only warn and ignore the option if not recognized
21464 + # So say no if there are warnings
21465 + if test ! -s out/conftest.err; then
21466 + lt_cv_prog_compiler_c_o=yes
21471 + # SGI C++ compiler will create directory out/ii_files/ for
21472 + # template instantiation
21473 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21474 + $rm out/* && rmdir out
21480 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
21481 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
21484 +hard_links="nottested"
21485 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
21486 + # do not overwrite the value of need_locks provided by the user
21487 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21488 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21491 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21493 + ln conftest.a conftest.b 2>&5 || hard_links=no
21494 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21495 + echo "$as_me:$LINENO: result: $hard_links" >&5
21496 +echo "${ECHO_T}$hard_links" >&6
21497 + if test "$hard_links" = no; then
21498 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21499 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21506 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21507 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21510 + allow_undefined_flag=
21511 + enable_shared_with_static_runtimes=no
21513 + archive_expsym_cmds=
21514 + old_archive_From_new_cmds=
21515 + old_archive_from_expsyms_cmds=
21516 + export_dynamic_flag_spec=
21517 + whole_archive_flag_spec=
21518 + thread_safe_flag_spec=
21519 + hardcode_libdir_flag_spec=
21520 + hardcode_libdir_flag_spec_ld=
21521 + hardcode_libdir_separator=
21522 + hardcode_direct=no
21523 + hardcode_minus_L=no
21524 + hardcode_shlibpath_var=unsupported
21525 + link_all_deplibs=unknown
21526 + hardcode_automatic=no
21528 + module_expsym_cmds=
21529 + always_export_symbols=no
21530 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21531 + # include_expsyms should be a list of space-separated symbols to be *always*
21532 + # included in the symbol list
21534 + # exclude_expsyms can be an extended regexp of symbols to exclude
21535 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
21536 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21537 + # as well as any symbol that contains `d'.
21538 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
21539 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21540 + # platforms (ab)use it in PIC code, but their linkers get confused if
21541 + # the symbol is explicitly referenced. Since portable code cannot
21542 + # rely on this symbol name, it's probably fine to never include it in
21543 + # preloaded symbol tables.
21544 + extract_expsyms_cmds=
21547 + cygwin* | mingw* | pw32*)
21548 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
21549 + # When not using gcc, we currently assume that we are using
21550 + # Microsoft Visual C++.
21551 + if test "$GCC" != yes; then
21561 + if test "$with_gnu_ld" = yes; then
21562 + # If archive_cmds runs LD, not CC, wlarc should be empty
21565 + # See if GNU ld supports shared libraries.
21567 + aix3* | aix4* | aix5*)
21568 + # On AIX/PPC, the GNU linker is very broken
21569 + if test "$host_cpu" != ia64; then
21573 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21574 +*** to be unable to reliably create shared libraries on AIX.
21575 +*** Therefore, libtool is disabling shared libraries support. If you
21576 +*** really care for shared libraries, you may want to modify your PATH
21577 +*** so that a non-GNU linker is found, and then restart.
21584 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21585 + hardcode_libdir_flag_spec='-L$libdir'
21586 + hardcode_minus_L=yes
21588 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21589 + # that the semantics of dynamic libraries on AmigaOS, at least up
21590 + # to version 4, is to share data among multiple programs linked
21591 + # with the same dynamic library. Since this doesn't match the
21592 + # behavior of shared libraries on other platforms, we can't use
21598 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21599 + allow_undefined_flag=unsupported
21600 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21601 + # support --undefined. This deserves some investigation. FIXME
21602 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21608 + cygwin* | mingw* | pw32*)
21609 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
21610 + # as there is no search path for DLLs.
21611 + hardcode_libdir_flag_spec='-L$libdir'
21612 + allow_undefined_flag=unsupported
21613 + always_export_symbols=no
21614 + enable_shared_with_static_runtimes=yes
21615 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21617 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21618 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21619 + # If the export-symbols file already is a .def file (1st line
21620 + # is EXPORTS), use it as is; otherwise, prepend...
21621 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21622 + cp $export_symbols $output_objdir/$soname.def;
21624 + echo EXPORTS > $output_objdir/$soname.def;
21625 + cat $export_symbols >> $output_objdir/$soname.def;
21627 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21633 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
21634 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21635 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21638 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21639 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21643 + solaris* | sysv5*)
21644 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21648 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
21649 +*** create shared libraries on Solaris systems. Therefore, libtool
21650 +*** is disabling shared libraries support. We urge you to upgrade GNU
21651 +*** binutils to release 2.9.1 or newer. Another option is to modify
21652 +*** your PATH or compiler configuration so that the native linker is
21653 +*** used, and then restart.
21656 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21657 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21658 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21665 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21667 + hardcode_direct=yes
21668 + hardcode_shlibpath_var=no
21672 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21673 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21674 + archive_cmds="$tmp_archive_cmds"
21675 + supports_anon_versioning=no
21676 + case `$LD -v 2>/dev/null` in
21677 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21678 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21679 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21680 + *\ 2.11.*) ;; # other 2.11 versions
21681 + *) supports_anon_versioning=yes ;;
21683 + if test $supports_anon_versioning = yes; then
21684 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
21685 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21686 +$echo "local: *; };" >> $output_objdir/$libname.ver~
21687 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21689 + archive_expsym_cmds="$tmp_archive_cmds"
21691 + link_all_deplibs=no
21698 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21699 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21700 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21707 + if test "$ld_shlibs" = yes; then
21708 + runpath_var=LD_RUN_PATH
21709 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
21710 + export_dynamic_flag_spec='${wl}--export-dynamic'
21711 + # ancient GNU ld didn't support --whole-archive et. al.
21712 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21713 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21715 + whole_archive_flag_spec=
21719 + # PORTME fill in a description of your system's linker (not GNU ld)
21722 + allow_undefined_flag=unsupported
21723 + always_export_symbols=yes
21724 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
21725 + # Note: this linker hardcodes the directories in LIBPATH if there
21726 + # are no directories specified by -L.
21727 + hardcode_minus_L=yes
21728 + if test "$GCC" = yes && test -z "$link_static_flag"; then
21729 + # Neither direct hardcoding nor static linking is supported with a
21730 + # broken collect2.
21731 + hardcode_direct=unsupported
21736 + if test "$host_cpu" = ia64; then
21737 + # On IA64, the linker does run time linking by default, so we don't
21738 + # have to do anything special.
21739 + aix_use_runtimelinking=no
21740 + exp_sym_flag='-Bexport'
21743 + # If we're using GNU nm, then we don't want the "-C" option.
21744 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
21745 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21746 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21748 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21750 + aix_use_runtimelinking=no
21752 + # Test if we are trying to use run time linking or normal
21753 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21754 + # need to do runtime linking.
21755 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21756 + for ld_flag in $LDFLAGS; do
21757 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21758 + aix_use_runtimelinking=yes
21764 + exp_sym_flag='-bexport'
21765 + no_entry_flag='-bnoentry'
21768 + # When large executables or shared objects are built, AIX ld can
21769 + # have problems creating the table of contents. If linking a library
21770 + # or program results in "error TOC overflow" add -mminimal-toc to
21771 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21772 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21775 + hardcode_direct=yes
21776 + hardcode_libdir_separator=':'
21777 + link_all_deplibs=yes
21779 + if test "$GCC" = yes; then
21780 + case $host_os in aix4.012|aix4.012.*)
21781 + # We only want to do this on AIX 4.2 and lower, the check
21782 + # below for broken collect2 doesn't work under 4.3+
21783 + collect2name=`${CC} -print-prog-name=collect2`
21784 + if test -f "$collect2name" && \
21785 + strings "$collect2name" | grep resolve_lib_name >/dev/null
21787 + # We have reworked collect2
21788 + hardcode_direct=yes
21790 + # We have old collect2
21791 + hardcode_direct=unsupported
21792 + # It fails to find uninstalled libraries when the uninstalled
21793 + # path is not listed in the libpath. Setting hardcode_minus_L
21794 + # to unsupported forces relinking
21795 + hardcode_minus_L=yes
21796 + hardcode_libdir_flag_spec='-L$libdir'
21797 + hardcode_libdir_separator=
21800 + shared_flag='-shared'
21803 + if test "$host_cpu" = ia64; then
21804 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21805 + # chokes on -Wl,-G. The following line is correct:
21808 + if test "$aix_use_runtimelinking" = yes; then
21809 + shared_flag='${wl}-G'
21811 + shared_flag='${wl}-bM:SRE'
21816 + # It seems that -bexpall does not export symbols beginning with
21817 + # underscore (_), so it is better to generate a list of symbols to export.
21818 + always_export_symbols=yes
21819 + if test "$aix_use_runtimelinking" = yes; then
21820 + # Warning - without using the other runtime loading flags (-brtl),
21821 + # -berok will link without error, but may produce a broken library.
21822 + allow_undefined_flag='-berok'
21823 + # Determine the default libpath from the value encoded in an empty executable.
21824 + cat >conftest.$ac_ext <<_ACEOF
21827 +cat confdefs.h >>conftest.$ac_ext
21828 +cat >>conftest.$ac_ext <<_ACEOF
21829 +/* end confdefs.h. */
21839 +rm -f conftest.$ac_objext conftest$ac_exeext
21840 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 + (eval $ac_link) 2>conftest.er1
21843 + grep -v '^ *+' conftest.er1 >conftest.err
21844 + rm -f conftest.er1
21845 + cat conftest.err >&5
21846 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 + (exit $ac_status); } &&
21848 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21849 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 + (eval $ac_try) 2>&5
21852 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 + (exit $ac_status); }; } &&
21854 + { ac_try='test -s conftest$ac_exeext'
21855 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 + (eval $ac_try) 2>&5
21858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 + (exit $ac_status); }; }; then
21861 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21863 +# Check for a 64-bit object if we didn't find anything.
21864 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21867 + echo "$as_me: failed program was:" >&5
21868 +sed 's/^/| /' conftest.$ac_ext >&5
21871 +rm -f conftest.err conftest.$ac_objext \
21872 + conftest$ac_exeext conftest.$ac_ext
21873 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21875 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21876 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21878 + if test "$host_cpu" = ia64; then
21879 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
21880 + allow_undefined_flag="-z nodefs"
21881 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
21883 + # Determine the default libpath from the value encoded in an empty executable.
21884 + cat >conftest.$ac_ext <<_ACEOF
21887 +cat confdefs.h >>conftest.$ac_ext
21888 +cat >>conftest.$ac_ext <<_ACEOF
21889 +/* end confdefs.h. */
21899 +rm -f conftest.$ac_objext conftest$ac_exeext
21900 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21901 + (eval $ac_link) 2>conftest.er1
21903 + grep -v '^ *+' conftest.er1 >conftest.err
21904 + rm -f conftest.er1
21905 + cat conftest.err >&5
21906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 + (exit $ac_status); } &&
21908 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21909 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 + (eval $ac_try) 2>&5
21912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 + (exit $ac_status); }; } &&
21914 + { ac_try='test -s conftest$ac_exeext'
21915 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 + (eval $ac_try) 2>&5
21918 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 + (exit $ac_status); }; }; then
21921 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21923 +# Check for a 64-bit object if we didn't find anything.
21924 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21927 + echo "$as_me: failed program was:" >&5
21928 +sed 's/^/| /' conftest.$ac_ext >&5
21931 +rm -f conftest.err conftest.$ac_objext \
21932 + conftest$ac_exeext conftest.$ac_ext
21933 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21935 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21936 + # Warning - without using the other run time loading flags,
21937 + # -berok will link without error, but may produce a broken library.
21938 + no_undefined_flag=' ${wl}-bernotok'
21939 + allow_undefined_flag=' ${wl}-berok'
21940 + # -bexpall does not export symbols beginning with underscore (_)
21941 + always_export_symbols=yes
21942 + # Exported symbols can be pulled into shared objects from archives
21943 + whole_archive_flag_spec=' '
21944 + archive_cmds_need_lc=yes
21945 + # This is similar to how AIX traditionally builds it's shared libraries.
21946 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21952 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21953 + hardcode_libdir_flag_spec='-L$libdir'
21954 + hardcode_minus_L=yes
21955 + # see comment about different semantics on the GNU ld section
21960 + export_dynamic_flag_spec=-rdynamic
21963 + cygwin* | mingw* | pw32*)
21964 + # When not using gcc, we currently assume that we are using
21965 + # Microsoft Visual C++.
21966 + # hardcode_libdir_flag_spec is actually meaningless, as there is
21967 + # no search path for DLLs.
21968 + hardcode_libdir_flag_spec=' '
21969 + allow_undefined_flag=unsupported
21970 + # Tell ltmain to make .lib files, not .a files.
21972 + # Tell ltmain to make .dll files, not .so files.
21973 + shrext_cmds=".dll"
21974 + # FIXME: Setting linknames here is a bad hack.
21975 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21976 + # The linker will automatically build a .lib file if we build a DLL.
21977 + old_archive_From_new_cmds='true'
21978 + # FIXME: Should let the user specify the lib program.
21979 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
21980 + fix_srcfile_path='`cygpath -w "$srcfile"`'
21981 + enable_shared_with_static_runtimes=yes
21984 + darwin* | rhapsody*)
21985 + if test "$GXX" = yes ; then
21986 + archive_cmds_need_lc=no
21987 + case "$host_os" in
21988 + rhapsody* | darwin1.[012])
21989 + allow_undefined_flag='-undefined suppress'
21991 + *) # Darwin 1.3 on
21992 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21993 + allow_undefined_flag='-flat_namespace -undefined suppress'
21995 + case ${MACOSX_DEPLOYMENT_TARGET} in
21997 + allow_undefined_flag='-flat_namespace -undefined suppress'
22000 + allow_undefined_flag='-undefined dynamic_lookup'
22006 + lt_int_apple_cc_single_mod=no
22007 + output_verbose_link_cmd='echo'
22008 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
22009 + lt_int_apple_cc_single_mod=yes
22011 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22012 + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22014 + archive_cmds='$CC -r ${wl}-bind_at_load -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'
22016 + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22017 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
22018 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
22019 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22021 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22023 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22024 + hardcode_direct=no
22025 + hardcode_automatic=yes
22026 + hardcode_shlibpath_var=unsupported
22027 + whole_archive_flag_spec='-all_load $convenience'
22028 + link_all_deplibs=yes
22035 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22036 + hardcode_libdir_flag_spec='-L$libdir'
22037 + hardcode_shlibpath_var=no
22044 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22045 + # support. Future versions do this automatically, but an explicit c++rt0.o
22046 + # does not break anything, and helps significantly (at the cost of a little
22049 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22050 + hardcode_libdir_flag_spec='-R$libdir'
22051 + hardcode_direct=yes
22052 + hardcode_shlibpath_var=no
22055 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22057 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22058 + hardcode_direct=yes
22059 + hardcode_minus_L=yes
22060 + hardcode_shlibpath_var=no
22063 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22064 + freebsd* | kfreebsd*-gnu)
22065 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22066 + hardcode_libdir_flag_spec='-R$libdir'
22067 + hardcode_direct=yes
22068 + hardcode_shlibpath_var=no
22072 + if test "$GCC" = yes; then
22073 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22075 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22077 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
22078 + hardcode_libdir_separator=:
22079 + hardcode_direct=yes
22081 + # hardcode_minus_L: Not really in the search PATH,
22082 + # but as the default location of the library.
22083 + hardcode_minus_L=yes
22084 + export_dynamic_flag_spec='${wl}-E'
22087 + hpux10* | hpux11*)
22088 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22089 + case "$host_cpu" in
22091 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22094 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22098 + case "$host_cpu" in
22100 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
22103 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22107 + if test "$with_gnu_ld" = no; then
22108 + case "$host_cpu" in
22110 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
22111 + hardcode_libdir_flag_spec_ld='+b $libdir'
22112 + hardcode_libdir_separator=:
22113 + hardcode_direct=no
22114 + hardcode_shlibpath_var=no
22117 + hardcode_libdir_flag_spec='-L$libdir'
22118 + hardcode_direct=no
22119 + hardcode_shlibpath_var=no
22121 + # hardcode_minus_L: Not really in the search PATH,
22122 + # but as the default location of the library.
22123 + hardcode_minus_L=yes
22126 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
22127 + hardcode_libdir_separator=:
22128 + hardcode_direct=yes
22129 + export_dynamic_flag_spec='${wl}-E'
22131 + # hardcode_minus_L: Not really in the search PATH,
22132 + # but as the default location of the library.
22133 + hardcode_minus_L=yes
22139 + irix5* | irix6* | nonstopux*)
22140 + if test "$GCC" = yes; then
22141 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22143 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22144 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
22146 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22147 + hardcode_libdir_separator=:
22148 + link_all_deplibs=yes
22151 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
22152 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22153 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22155 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22157 + hardcode_libdir_flag_spec='-R$libdir'
22158 + hardcode_direct=yes
22159 + hardcode_shlibpath_var=no
22163 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22164 + hardcode_direct=yes
22165 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22166 + hardcode_libdir_separator=:
22167 + hardcode_shlibpath_var=no
22171 + hardcode_direct=yes
22172 + hardcode_shlibpath_var=no
22173 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22174 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22175 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
22176 + export_dynamic_flag_spec='${wl}-E'
22179 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22180 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22181 + hardcode_libdir_flag_spec='-R$libdir'
22184 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22185 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
22192 + hardcode_libdir_flag_spec='-L$libdir'
22193 + hardcode_minus_L=yes
22194 + allow_undefined_flag=unsupported
22195 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
22196 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22200 + if test "$GCC" = yes; then
22201 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
22202 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22204 + allow_undefined_flag=' -expect_unresolved \*'
22205 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22207 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22208 + hardcode_libdir_separator=:
22211 + osf4* | osf5*) # as osf3* with the addition of -msym flag
22212 + if test "$GCC" = yes; then
22213 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
22214 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22215 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22217 + allow_undefined_flag=' -expect_unresolved \*'
22218 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22219 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22220 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
22222 + # Both c and cxx compiler support -rpath directly
22223 + hardcode_libdir_flag_spec='-rpath $libdir'
22225 + hardcode_libdir_separator=:
22229 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22230 + hardcode_shlibpath_var=no
22231 + export_dynamic_flag_spec='${wl}-Bexport'
22232 + runpath_var=LD_RUN_PATH
22233 + hardcode_runpath_var=yes
22237 + no_undefined_flag=' -z text'
22238 + if test "$GCC" = yes; then
22239 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22240 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22241 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22243 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22244 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22245 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22247 + hardcode_libdir_flag_spec='-R$libdir'
22248 + hardcode_shlibpath_var=no
22250 + solaris2.[0-5] | solaris2.[0-5].*) ;;
22251 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
22252 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
22254 + link_all_deplibs=yes
22258 + if test "x$host_vendor" = xsequent; then
22259 + # Use $CC to link under sequent, because it throws in some extra .o
22260 + # files that make .init and .fini sections work.
22261 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22263 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22265 + hardcode_libdir_flag_spec='-L$libdir'
22266 + hardcode_direct=yes
22267 + hardcode_minus_L=yes
22268 + hardcode_shlibpath_var=no
22272 + case $host_vendor in
22274 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22275 + hardcode_direct=yes # is this really true???
22278 + ## LD is ld it makes a PLAMLIB
22279 + ## CC just makes a GrossModule.
22280 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22281 + reload_cmds='$CC -r -o $output$reload_objs'
22282 + hardcode_direct=no
22285 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22286 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
22289 + runpath_var='LD_RUN_PATH'
22290 + hardcode_shlibpath_var=no
22294 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22295 + hardcode_shlibpath_var=no
22296 + export_dynamic_flag_spec='-Bexport'
22300 + if test -d /usr/nec; then
22301 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22302 + hardcode_shlibpath_var=no
22303 + runpath_var=LD_RUN_PATH
22304 + hardcode_runpath_var=yes
22310 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22311 + hardcode_direct=yes
22312 + hardcode_minus_L=no
22313 + hardcode_shlibpath_var=no
22314 + hardcode_runpath_var=yes
22315 + runpath_var=LD_RUN_PATH
22318 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
22319 + no_undefined_flag='${wl}-z ${wl}text'
22320 + if test "$GCC" = yes; then
22321 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22323 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22325 + runpath_var='LD_RUN_PATH'
22326 + hardcode_shlibpath_var=no
22330 + no_undefined_flag=' -z text'
22331 + # $CC -shared without GNU ld will not create a library from C++
22332 + # object files and a static libstdc++, better avoid it by now
22333 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22334 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22335 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22336 + hardcode_libdir_flag_spec=
22337 + hardcode_shlibpath_var=no
22338 + runpath_var='LD_RUN_PATH'
22342 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22343 + hardcode_libdir_flag_spec='-L$libdir'
22344 + hardcode_shlibpath_var=no
22353 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
22354 +echo "${ECHO_T}$ld_shlibs" >&6
22355 +test "$ld_shlibs" = no && can_build_shared=no
22357 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22358 +if test "$GCC" = yes; then
22359 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22363 +# Do we need to explicitly link libc?
22365 +case "x$archive_cmds_need_lc" in
22367 + # Assume -lc should be added
22368 + archive_cmds_need_lc=yes
22370 + if test "$enable_shared" = yes && test "$GCC" = yes; then
22371 + case $archive_cmds in
22373 + # FIXME: we may have to deal with multi-command sequences.
22376 + # Test whether the compiler implicitly links with -lc since on some
22377 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
22378 + # to ld, don't add -lc before -lgcc.
22379 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22380 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
22382 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22384 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 + (eval $ac_compile) 2>&5
22387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 + (exit $ac_status); } 2>conftest.err; then
22391 + libobjs=conftest.$ac_objext
22393 + wl=$lt_prog_compiler_wl
22394 + compiler_flags=-v
22399 + lt_save_allow_undefined_flag=$allow_undefined_flag
22400 + allow_undefined_flag=
22401 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22402 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22404 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 + (exit $ac_status); }
22407 + archive_cmds_need_lc=no
22409 + archive_cmds_need_lc=yes
22411 + allow_undefined_flag=$lt_save_allow_undefined_flag
22413 + cat conftest.err 1>&5
22416 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
22417 +echo "${ECHO_T}$archive_cmds_need_lc" >&6
22424 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22425 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
22426 +library_names_spec=
22427 +libname_spec='lib$name'
22431 +postuninstall_cmds=
22435 +shlibpath_overrides_runpath=unknown
22437 +dynamic_linker="$host_os ld.so"
22438 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
22439 +if test "$GCC" = yes; then
22440 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22441 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22442 + # if the path contains ";" then we assume it to be the separator
22443 + # otherwise default to the standard path separator (i.e. ":") - it is
22444 + # assumed that no part of a normal pathname contains ";" but that should
22445 + # okay in the real world where ";" in dirpaths is itself problematic.
22446 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22448 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22451 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22453 +need_lib_prefix=unknown
22454 +hardcode_into_libs=no
22456 +# when you set need_version to no, make sure it does not cause -set_version
22457 +# flags to be left without arguments
22458 +need_version=unknown
22462 + version_type=linux
22463 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22464 + shlibpath_var=LIBPATH
22466 + # AIX 3 has no versioning support, so we append a major version to the name.
22467 + soname_spec='${libname}${release}${shared_ext}$major'
22471 + version_type=linux
22472 + need_lib_prefix=no
22474 + hardcode_into_libs=yes
22475 + if test "$host_cpu" = ia64; then
22476 + # AIX 5 supports IA64
22477 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22478 + shlibpath_var=LD_LIBRARY_PATH
22480 + # With GCC up to 2.95.x, collect2 would create an import file
22481 + # for dependence libraries. The import file would start with
22482 + # the line `#! .'. This would cause the generated library to
22483 + # depend on `.', always an invalid library. This was fixed in
22484 + # development snapshots of GCC prior to 3.0.
22486 + aix4 | aix4.[01] | aix4.[01].*)
22487 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22489 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22492 + can_build_shared=no
22496 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22497 + # soname into executable. Probably we can add versioning support to
22498 + # collect2, so additional links can be useful in future.
22499 + if test "$aix_use_runtimelinking" = yes; then
22500 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22501 + # instead of lib<name>.a to let people know that these are not
22502 + # typical AIX shared libraries.
22503 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22505 + # We preserve .a as extension for shared libraries through AIX4.2
22506 + # and later when we are not doing run time linking.
22507 + library_names_spec='${libname}${release}.a $libname.a'
22508 + soname_spec='${libname}${release}${shared_ext}$major'
22510 + shlibpath_var=LIBPATH
22515 + library_names_spec='$libname.ixlibrary $libname.a'
22516 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
22517 + 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'
22521 + library_names_spec='${libname}${shared_ext}'
22522 + dynamic_linker="$host_os ld.so"
22523 + shlibpath_var=LIBRARY_PATH
22527 + version_type=linux
22529 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22530 + soname_spec='${libname}${release}${shared_ext}$major'
22531 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22532 + shlibpath_var=LD_LIBRARY_PATH
22533 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22534 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22535 + # the default ld.so.conf also contains /usr/contrib/lib and
22536 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22537 + # libtool to hard-code these into programs
22540 +cygwin* | mingw* | pw32*)
22541 + version_type=windows
22542 + shrext_cmds=".dll"
22544 + need_lib_prefix=no
22546 + case $GCC,$host_os in
22547 + yes,cygwin* | yes,mingw* | yes,pw32*)
22548 + library_names_spec='$libname.dll.a'
22549 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
22550 + postinstall_cmds='base_file=`basename \${file}`~
22551 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22552 + dldir=$destdir/`dirname \$dlpath`~
22553 + test -d \$dldir || mkdir -p \$dldir~
22554 + $install_prog $dir/$dlname \$dldir/$dlname'
22555 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22556 + dlpath=$dir/\$dldll~
22558 + shlibpath_overrides_runpath=yes
22562 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22563 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22564 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22567 + # MinGW DLLs use traditional 'lib' prefix
22568 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22569 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22570 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22571 + # It is most probably a Windows format PATH printed by
22572 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
22573 + # path with ; separators, and with drive letters. We can handle the
22574 + # drive letters (cygwin fileutils understands them), so leave them,
22575 + # especially as we might pass files found there to a mingw objdump,
22576 + # which wouldn't understand a cygwinified path. Ahh.
22577 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22579 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22583 + # pw32 DLLs use 'pw' prefix rather than 'lib'
22584 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
22590 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22593 + dynamic_linker='Win32 ld.exe'
22594 + # FIXME: first we should search . and the directory the executable is in
22595 + shlibpath_var=PATH
22598 +darwin* | rhapsody*)
22599 + dynamic_linker="$host_os dyld"
22600 + version_type=darwin
22601 + need_lib_prefix=no
22603 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22604 + soname_spec='${libname}${release}${major}$shared_ext'
22605 + shlibpath_overrides_runpath=yes
22606 + shlibpath_var=DYLD_LIBRARY_PATH
22607 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
22608 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22609 + if test "$GCC" = yes; then
22610 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
22612 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22614 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22618 + version_type=linux
22619 + need_lib_prefix=no
22621 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22622 + soname_spec='${libname}${release}${shared_ext}$major'
22623 + shlibpath_var=LD_LIBRARY_PATH
22627 + dynamic_linker=no
22631 + version_type=linux
22632 + need_lib_prefix=no
22634 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22635 + soname_spec='${libname}${release}${shared_ext}$major'
22636 + shlibpath_var=LD_LIBRARY_PATH
22637 + shlibpath_overrides_runpath=no
22638 + hardcode_into_libs=yes
22639 + dynamic_linker='GNU ld.so'
22643 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
22644 + version_type=freebsd-$objformat
22645 + case $version_type in
22647 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22649 + need_lib_prefix=no
22652 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22656 + shlibpath_var=LD_LIBRARY_PATH
22659 + shlibpath_overrides_runpath=yes
22661 + freebsd3.01* | freebsdelf3.01*)
22662 + shlibpath_overrides_runpath=yes
22663 + hardcode_into_libs=yes
22666 + shlibpath_overrides_runpath=no
22667 + hardcode_into_libs=yes
22673 + version_type=linux
22674 + need_lib_prefix=no
22676 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22677 + soname_spec='${libname}${release}${shared_ext}$major'
22678 + shlibpath_var=LD_LIBRARY_PATH
22679 + hardcode_into_libs=yes
22682 +hpux9* | hpux10* | hpux11*)
22683 + # Give a soname corresponding to the major version so that dld.sl refuses to
22684 + # link against other versions.
22685 + version_type=sunos
22686 + need_lib_prefix=no
22688 + case "$host_cpu" in
22690 + shrext_cmds='.so'
22691 + hardcode_into_libs=yes
22692 + dynamic_linker="$host_os dld.so"
22693 + shlibpath_var=LD_LIBRARY_PATH
22694 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22695 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22696 + soname_spec='${libname}${release}${shared_ext}$major'
22697 + if test "X$HPUX_IA64_MODE" = X32; then
22698 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22700 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22702 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22705 + shrext_cmds='.sl'
22706 + hardcode_into_libs=yes
22707 + dynamic_linker="$host_os dld.sl"
22708 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22709 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22710 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22711 + soname_spec='${libname}${release}${shared_ext}$major'
22712 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22713 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22716 + shrext_cmds='.sl'
22717 + dynamic_linker="$host_os dld.sl"
22718 + shlibpath_var=SHLIB_PATH
22719 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22720 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22721 + soname_spec='${libname}${release}${shared_ext}$major'
22724 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
22725 + postinstall_cmds='chmod 555 $lib'
22728 +irix5* | irix6* | nonstopux*)
22730 + nonstopux*) version_type=nonstopux ;;
22732 + if test "$lt_cv_prog_gnu_ld" = yes; then
22733 + version_type=linux
22735 + version_type=irix
22738 + need_lib_prefix=no
22740 + soname_spec='${libname}${release}${shared_ext}$major'
22741 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22743 + irix5* | nonstopux*)
22744 + libsuff= shlibsuff=
22747 + case $LD in # libtool.m4 will add one of these switches to LD
22748 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22749 + libsuff= shlibsuff= libmagic=32-bit;;
22750 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22751 + libsuff=32 shlibsuff=N32 libmagic=N32;;
22752 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22753 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
22754 + *) libsuff= shlibsuff= libmagic=never-match;;
22758 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22759 + shlibpath_overrides_runpath=no
22760 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22761 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22762 + hardcode_into_libs=yes
22765 +# No shared lib support for Linux oldld, aout, or coff.
22766 +linux*oldld* | linux*aout* | linux*coff*)
22767 + dynamic_linker=no
22770 +# This must be Linux ELF.
22772 + version_type=linux
22773 + need_lib_prefix=no
22775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22776 + soname_spec='${libname}${release}${shared_ext}$major'
22777 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22778 + shlibpath_var=LD_LIBRARY_PATH
22779 + shlibpath_overrides_runpath=no
22780 + # This implies no fast_install, which is unacceptable.
22781 + # Some rework will be needed to allow for fast_install
22782 + # before this can be enabled.
22783 + hardcode_into_libs=yes
22785 + # Append ld.so.conf contents to the search path
22786 + if test -f /etc/ld.so.conf; then
22787 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22788 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22791 + # We used to test for /lib/ld.so.1 and disable shared libraries on
22792 + # powerpc, because MkLinux only supported shared libraries with the
22793 + # GNU dynamic linker. Since this was broken with cross compilers,
22794 + # most powerpc-linux boxes support dynamic linking these days and
22795 + # people can always --disable-shared, the test was removed, and we
22796 + # assume the GNU/Linux dynamic linker is in use.
22797 + dynamic_linker='GNU/Linux ld.so'
22801 + version_type=linux
22802 + need_lib_prefix=no
22804 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22805 + soname_spec='${libname}${release}${shared_ext}$major'
22806 + shlibpath_var=LD_LIBRARY_PATH
22807 + shlibpath_overrides_runpath=no
22808 + hardcode_into_libs=yes
22809 + dynamic_linker='NetBSD ld.elf_so'
22813 + version_type=linux
22814 + need_lib_prefix=no
22816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22817 + soname_spec='${libname}${release}${shared_ext}$major'
22818 + shlibpath_var=LD_LIBRARY_PATH
22819 + shlibpath_overrides_runpath=no
22820 + hardcode_into_libs=yes
22821 + dynamic_linker='GNU ld.so'
22825 + version_type=sunos
22826 + need_lib_prefix=no
22828 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22829 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22830 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22831 + dynamic_linker='NetBSD (a.out) ld.so'
22833 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22834 + soname_spec='${libname}${release}${shared_ext}$major'
22835 + dynamic_linker='NetBSD ld.elf_so'
22837 + shlibpath_var=LD_LIBRARY_PATH
22838 + shlibpath_overrides_runpath=yes
22839 + hardcode_into_libs=yes
22843 + version_type=linux
22844 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22845 + shlibpath_var=LD_LIBRARY_PATH
22846 + shlibpath_overrides_runpath=yes
22850 + version_type=linux
22851 + need_lib_prefix=no
22853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22854 + soname_spec='${libname}${release}${shared_ext}$major'
22855 + shlibpath_var=LD_LIBRARY_PATH
22856 + shlibpath_overrides_runpath=yes
22860 + version_type=sunos
22861 + need_lib_prefix=no
22863 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22864 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22865 + shlibpath_var=LD_LIBRARY_PATH
22866 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22868 + openbsd2.[89] | openbsd2.[89].*)
22869 + shlibpath_overrides_runpath=no
22872 + shlibpath_overrides_runpath=yes
22876 + shlibpath_overrides_runpath=yes
22881 + libname_spec='$name'
22882 + shrext_cmds=".dll"
22883 + need_lib_prefix=no
22884 + library_names_spec='$libname${shared_ext} $libname.a'
22885 + dynamic_linker='OS/2 ld.exe'
22886 + shlibpath_var=LIBPATH
22889 +osf3* | osf4* | osf5*)
22891 + need_lib_prefix=no
22893 + soname_spec='${libname}${release}${shared_ext}$major'
22894 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22895 + shlibpath_var=LD_LIBRARY_PATH
22896 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22897 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22902 + soname_spec='${libname}${release}${shared_ext}$major'
22903 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22904 + shlibpath_var=LD_LIBRARY_PATH
22908 + version_type=linux
22909 + need_lib_prefix=no
22911 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22912 + soname_spec='${libname}${release}${shared_ext}$major'
22913 + shlibpath_var=LD_LIBRARY_PATH
22914 + shlibpath_overrides_runpath=yes
22915 + hardcode_into_libs=yes
22916 + # ldd complains unless libraries are executable
22917 + postinstall_cmds='chmod +x $lib'
22921 + version_type=sunos
22922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22923 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22924 + shlibpath_var=LD_LIBRARY_PATH
22925 + shlibpath_overrides_runpath=yes
22926 + if test "$with_gnu_ld" = yes; then
22927 + need_lib_prefix=no
22932 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22933 + version_type=linux
22934 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22935 + soname_spec='${libname}${release}${shared_ext}$major'
22936 + shlibpath_var=LD_LIBRARY_PATH
22937 + case $host_vendor in
22939 + shlibpath_overrides_runpath=no
22940 + need_lib_prefix=no
22941 + export_dynamic_flag_spec='${wl}-Blargedynsym'
22942 + runpath_var=LD_RUN_PATH
22945 + need_lib_prefix=no
22948 + need_lib_prefix=no
22950 + shlibpath_overrides_runpath=no
22951 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22957 + if test -d /usr/nec ;then
22958 + version_type=linux
22959 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22960 + soname_spec='$libname${shared_ext}.$major'
22961 + shlibpath_var=LD_LIBRARY_PATH
22966 + version_type=linux
22967 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22968 + soname_spec='${libname}${release}${shared_ext}$major'
22969 + shlibpath_var=LD_LIBRARY_PATH
22973 + dynamic_linker=no
22976 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22977 +echo "${ECHO_T}$dynamic_linker" >&6
22978 +test "$dynamic_linker" = no && can_build_shared=no
22980 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22981 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22983 +if test -n "$hardcode_libdir_flag_spec" || \
22984 + test -n "$runpath_var " || \
22985 + test "X$hardcode_automatic"="Xyes" ; then
22987 + # We can hardcode non-existant directories.
22988 + if test "$hardcode_direct" != no &&
22989 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
22990 + # have to relink, otherwise we might link with an installed library
22991 + # when we should be linking with a yet-to-be-installed one
22992 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
22993 + test "$hardcode_minus_L" != no; then
22994 + # Linking always hardcodes the temporary library directory.
22995 + hardcode_action=relink
22997 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
22998 + hardcode_action=immediate
23001 + # We cannot hardcode anything, or else we can only hardcode existing
23003 + hardcode_action=unsupported
23005 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
23006 +echo "${ECHO_T}$hardcode_action" >&6
23008 +if test "$hardcode_action" = relink; then
23009 + # Fast installation is not supported
23010 + enable_fast_install=no
23011 +elif test "$shlibpath_overrides_runpath" = yes ||
23012 + test "$enable_shared" = no; then
23013 + # Fast installation is not necessary
23014 + enable_fast_install=needless
23019 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
23020 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
23021 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
23022 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
23023 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
23024 + echo "$as_me:$LINENO: result: yes" >&5
23025 +echo "${ECHO_T}yes" >&6
23027 +# FIXME - insert some real tests, host_os isn't really good enough
23030 + if test -n "$STRIP" ; then
23031 + striplib="$STRIP -x"
23032 + echo "$as_me:$LINENO: result: yes" >&5
23033 +echo "${ECHO_T}yes" >&6
23035 + echo "$as_me:$LINENO: result: no" >&5
23036 +echo "${ECHO_T}no" >&6
23040 + echo "$as_me:$LINENO: result: no" >&5
23041 +echo "${ECHO_T}no" >&6
23046 +if test "x$enable_dlopen" != xyes; then
23047 + enable_dlopen=unknown
23048 + enable_dlopen_self=unknown
23049 + enable_dlopen_self_static=unknown
23052 + lt_cv_dlopen_libs=
23056 + lt_cv_dlopen="load_add_on"
23057 + lt_cv_dlopen_libs=
23058 + lt_cv_dlopen_self=yes
23062 + lt_cv_dlopen="LoadLibrary"
23063 + lt_cv_dlopen_libs=
23067 + lt_cv_dlopen="dlopen"
23068 + lt_cv_dlopen_libs=
23072 + # if libdl is installed we need to link against it
23073 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23074 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23075 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23076 + echo $ECHO_N "(cached) $ECHO_C" >&6
23078 + ac_check_lib_save_LIBS=$LIBS
23080 +cat >conftest.$ac_ext <<_ACEOF
23083 +cat confdefs.h >>conftest.$ac_ext
23084 +cat >>conftest.$ac_ext <<_ACEOF
23085 +/* end confdefs.h. */
23087 +/* Override any gcc2 internal prototype to avoid an error. */
23088 +#ifdef __cplusplus
23091 +/* We use char because int might match the return type of a gcc2
23092 + builtin and then its argument prototype would still apply. */
23102 +rm -f conftest.$ac_objext conftest$ac_exeext
23103 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23104 + (eval $ac_link) 2>conftest.er1
23106 + grep -v '^ *+' conftest.er1 >conftest.err
23107 + rm -f conftest.er1
23108 + cat conftest.err >&5
23109 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 + (exit $ac_status); } &&
23111 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23112 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23113 + (eval $ac_try) 2>&5
23115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116 + (exit $ac_status); }; } &&
23117 + { ac_try='test -s conftest$ac_exeext'
23118 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23119 + (eval $ac_try) 2>&5
23121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 + (exit $ac_status); }; }; then
23123 + ac_cv_lib_dl_dlopen=yes
23125 + echo "$as_me: failed program was:" >&5
23126 +sed 's/^/| /' conftest.$ac_ext >&5
23128 +ac_cv_lib_dl_dlopen=no
23130 +rm -f conftest.err conftest.$ac_objext \
23131 + conftest$ac_exeext conftest.$ac_ext
23132 +LIBS=$ac_check_lib_save_LIBS
23134 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23135 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23136 +if test $ac_cv_lib_dl_dlopen = yes; then
23137 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23140 + lt_cv_dlopen="dyld"
23141 + lt_cv_dlopen_libs=
23142 + lt_cv_dlopen_self=yes
23149 + echo "$as_me:$LINENO: checking for shl_load" >&5
23150 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
23151 +if test "${ac_cv_func_shl_load+set}" = set; then
23152 + echo $ECHO_N "(cached) $ECHO_C" >&6
23154 + cat >conftest.$ac_ext <<_ACEOF
23157 +cat confdefs.h >>conftest.$ac_ext
23158 +cat >>conftest.$ac_ext <<_ACEOF
23159 +/* end confdefs.h. */
23160 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
23161 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
23162 +#define shl_load innocuous_shl_load
23164 +/* System header to define __stub macros and hopefully few prototypes,
23165 + which can conflict with char shl_load (); below.
23166 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23167 + <limits.h> exists even on freestanding compilers. */
23170 +# include <limits.h>
23172 +# include <assert.h>
23177 +/* Override any gcc2 internal prototype to avoid an error. */
23178 +#ifdef __cplusplus
23182 +/* We use char because int might match the return type of a gcc2
23183 + builtin and then its argument prototype would still apply. */
23185 +/* The GNU C library defines this for functions which it implements
23186 + to always fail with ENOSYS. Some functions are actually named
23187 + something starting with __ and the normal name is an alias. */
23188 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
23191 +char (*f) () = shl_load;
23193 +#ifdef __cplusplus
23200 +return f != shl_load;
23205 +rm -f conftest.$ac_objext conftest$ac_exeext
23206 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23207 + (eval $ac_link) 2>conftest.er1
23209 + grep -v '^ *+' conftest.er1 >conftest.err
23210 + rm -f conftest.er1
23211 + cat conftest.err >&5
23212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 + (exit $ac_status); } &&
23214 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 + (eval $ac_try) 2>&5
23218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 + (exit $ac_status); }; } &&
23220 + { ac_try='test -s conftest$ac_exeext'
23221 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 + (eval $ac_try) 2>&5
23224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 + (exit $ac_status); }; }; then
23226 + ac_cv_func_shl_load=yes
23228 + echo "$as_me: failed program was:" >&5
23229 +sed 's/^/| /' conftest.$ac_ext >&5
23231 +ac_cv_func_shl_load=no
23233 +rm -f conftest.err conftest.$ac_objext \
23234 + conftest$ac_exeext conftest.$ac_ext
23236 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
23237 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
23238 +if test $ac_cv_func_shl_load = yes; then
23239 + lt_cv_dlopen="shl_load"
23241 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
23242 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
23243 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
23244 + echo $ECHO_N "(cached) $ECHO_C" >&6
23246 + ac_check_lib_save_LIBS=$LIBS
23247 +LIBS="-ldld $LIBS"
23248 +cat >conftest.$ac_ext <<_ACEOF
23251 +cat confdefs.h >>conftest.$ac_ext
23252 +cat >>conftest.$ac_ext <<_ACEOF
23253 +/* end confdefs.h. */
23255 +/* Override any gcc2 internal prototype to avoid an error. */
23256 +#ifdef __cplusplus
23259 +/* We use char because int might match the return type of a gcc2
23260 + builtin and then its argument prototype would still apply. */
23270 +rm -f conftest.$ac_objext conftest$ac_exeext
23271 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 + (eval $ac_link) 2>conftest.er1
23274 + grep -v '^ *+' conftest.er1 >conftest.err
23275 + rm -f conftest.er1
23276 + cat conftest.err >&5
23277 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 + (exit $ac_status); } &&
23279 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23280 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23281 + (eval $ac_try) 2>&5
23283 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 + (exit $ac_status); }; } &&
23285 + { ac_try='test -s conftest$ac_exeext'
23286 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 + (eval $ac_try) 2>&5
23289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 + (exit $ac_status); }; }; then
23291 + ac_cv_lib_dld_shl_load=yes
23293 + echo "$as_me: failed program was:" >&5
23294 +sed 's/^/| /' conftest.$ac_ext >&5
23296 +ac_cv_lib_dld_shl_load=no
23298 +rm -f conftest.err conftest.$ac_objext \
23299 + conftest$ac_exeext conftest.$ac_ext
23300 +LIBS=$ac_check_lib_save_LIBS
23302 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
23303 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
23304 +if test $ac_cv_lib_dld_shl_load = yes; then
23305 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
23307 + echo "$as_me:$LINENO: checking for dlopen" >&5
23308 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
23309 +if test "${ac_cv_func_dlopen+set}" = set; then
23310 + echo $ECHO_N "(cached) $ECHO_C" >&6
23312 + cat >conftest.$ac_ext <<_ACEOF
23315 +cat confdefs.h >>conftest.$ac_ext
23316 +cat >>conftest.$ac_ext <<_ACEOF
23317 +/* end confdefs.h. */
23318 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
23319 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
23320 +#define dlopen innocuous_dlopen
23322 +/* System header to define __stub macros and hopefully few prototypes,
23323 + which can conflict with char dlopen (); below.
23324 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23325 + <limits.h> exists even on freestanding compilers. */
23328 +# include <limits.h>
23330 +# include <assert.h>
23335 +/* Override any gcc2 internal prototype to avoid an error. */
23336 +#ifdef __cplusplus
23340 +/* We use char because int might match the return type of a gcc2
23341 + builtin and then its argument prototype would still apply. */
23343 +/* The GNU C library defines this for functions which it implements
23344 + to always fail with ENOSYS. Some functions are actually named
23345 + something starting with __ and the normal name is an alias. */
23346 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
23349 +char (*f) () = dlopen;
23351 +#ifdef __cplusplus
23358 +return f != dlopen;
23363 +rm -f conftest.$ac_objext conftest$ac_exeext
23364 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23365 + (eval $ac_link) 2>conftest.er1
23367 + grep -v '^ *+' conftest.er1 >conftest.err
23368 + rm -f conftest.er1
23369 + cat conftest.err >&5
23370 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 + (exit $ac_status); } &&
23372 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23373 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 + (eval $ac_try) 2>&5
23376 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 + (exit $ac_status); }; } &&
23378 + { ac_try='test -s conftest$ac_exeext'
23379 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 + (eval $ac_try) 2>&5
23382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 + (exit $ac_status); }; }; then
23384 + ac_cv_func_dlopen=yes
23386 + echo "$as_me: failed program was:" >&5
23387 +sed 's/^/| /' conftest.$ac_ext >&5
23389 +ac_cv_func_dlopen=no
23391 +rm -f conftest.err conftest.$ac_objext \
23392 + conftest$ac_exeext conftest.$ac_ext
23394 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
23395 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
23396 +if test $ac_cv_func_dlopen = yes; then
23397 + lt_cv_dlopen="dlopen"
23399 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23400 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23401 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23402 + echo $ECHO_N "(cached) $ECHO_C" >&6
23404 + ac_check_lib_save_LIBS=$LIBS
23406 +cat >conftest.$ac_ext <<_ACEOF
23409 +cat confdefs.h >>conftest.$ac_ext
23410 +cat >>conftest.$ac_ext <<_ACEOF
23411 +/* end confdefs.h. */
23413 +/* Override any gcc2 internal prototype to avoid an error. */
23414 +#ifdef __cplusplus
23417 +/* We use char because int might match the return type of a gcc2
23418 + builtin and then its argument prototype would still apply. */
23428 +rm -f conftest.$ac_objext conftest$ac_exeext
23429 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23430 + (eval $ac_link) 2>conftest.er1
23432 + grep -v '^ *+' conftest.er1 >conftest.err
23433 + rm -f conftest.er1
23434 + cat conftest.err >&5
23435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 + (exit $ac_status); } &&
23437 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23438 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 + (eval $ac_try) 2>&5
23441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 + (exit $ac_status); }; } &&
23443 + { ac_try='test -s conftest$ac_exeext'
23444 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23445 + (eval $ac_try) 2>&5
23447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 + (exit $ac_status); }; }; then
23449 + ac_cv_lib_dl_dlopen=yes
23451 + echo "$as_me: failed program was:" >&5
23452 +sed 's/^/| /' conftest.$ac_ext >&5
23454 +ac_cv_lib_dl_dlopen=no
23456 +rm -f conftest.err conftest.$ac_objext \
23457 + conftest$ac_exeext conftest.$ac_ext
23458 +LIBS=$ac_check_lib_save_LIBS
23460 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23461 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23462 +if test $ac_cv_lib_dl_dlopen = yes; then
23463 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23465 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
23466 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
23467 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
23468 + echo $ECHO_N "(cached) $ECHO_C" >&6
23470 + ac_check_lib_save_LIBS=$LIBS
23471 +LIBS="-lsvld $LIBS"
23472 +cat >conftest.$ac_ext <<_ACEOF
23475 +cat confdefs.h >>conftest.$ac_ext
23476 +cat >>conftest.$ac_ext <<_ACEOF
23477 +/* end confdefs.h. */
23479 +/* Override any gcc2 internal prototype to avoid an error. */
23480 +#ifdef __cplusplus
23483 +/* We use char because int might match the return type of a gcc2
23484 + builtin and then its argument prototype would still apply. */
23494 +rm -f conftest.$ac_objext conftest$ac_exeext
23495 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23496 + (eval $ac_link) 2>conftest.er1
23498 + grep -v '^ *+' conftest.er1 >conftest.err
23499 + rm -f conftest.er1
23500 + cat conftest.err >&5
23501 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 + (exit $ac_status); } &&
23503 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23504 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 + (eval $ac_try) 2>&5
23507 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 + (exit $ac_status); }; } &&
23509 + { ac_try='test -s conftest$ac_exeext'
23510 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23511 + (eval $ac_try) 2>&5
23513 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 + (exit $ac_status); }; }; then
23515 + ac_cv_lib_svld_dlopen=yes
23517 + echo "$as_me: failed program was:" >&5
23518 +sed 's/^/| /' conftest.$ac_ext >&5
23520 +ac_cv_lib_svld_dlopen=no
23522 +rm -f conftest.err conftest.$ac_objext \
23523 + conftest$ac_exeext conftest.$ac_ext
23524 +LIBS=$ac_check_lib_save_LIBS
23526 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
23527 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
23528 +if test $ac_cv_lib_svld_dlopen = yes; then
23529 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
23531 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
23532 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
23533 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
23534 + echo $ECHO_N "(cached) $ECHO_C" >&6
23536 + ac_check_lib_save_LIBS=$LIBS
23537 +LIBS="-ldld $LIBS"
23538 +cat >conftest.$ac_ext <<_ACEOF
23541 +cat confdefs.h >>conftest.$ac_ext
23542 +cat >>conftest.$ac_ext <<_ACEOF
23543 +/* end confdefs.h. */
23545 +/* Override any gcc2 internal prototype to avoid an error. */
23546 +#ifdef __cplusplus
23549 +/* We use char because int might match the return type of a gcc2
23550 + builtin and then its argument prototype would still apply. */
23560 +rm -f conftest.$ac_objext conftest$ac_exeext
23561 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 + (eval $ac_link) 2>conftest.er1
23564 + grep -v '^ *+' conftest.er1 >conftest.err
23565 + rm -f conftest.er1
23566 + cat conftest.err >&5
23567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 + (exit $ac_status); } &&
23569 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 + (eval $ac_try) 2>&5
23573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 + (exit $ac_status); }; } &&
23575 + { ac_try='test -s conftest$ac_exeext'
23576 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 + (eval $ac_try) 2>&5
23579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 + (exit $ac_status); }; }; then
23581 + ac_cv_lib_dld_dld_link=yes
23583 + echo "$as_me: failed program was:" >&5
23584 +sed 's/^/| /' conftest.$ac_ext >&5
23586 +ac_cv_lib_dld_dld_link=no
23588 +rm -f conftest.err conftest.$ac_objext \
23589 + conftest$ac_exeext conftest.$ac_ext
23590 +LIBS=$ac_check_lib_save_LIBS
23592 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
23593 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
23594 +if test $ac_cv_lib_dld_dld_link = yes; then
23595 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
23616 + if test "x$lt_cv_dlopen" != xno; then
23617 + enable_dlopen=yes
23622 + case $lt_cv_dlopen in
23624 + save_CPPFLAGS="$CPPFLAGS"
23625 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
23627 + save_LDFLAGS="$LDFLAGS"
23628 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
23630 + save_LIBS="$LIBS"
23631 + LIBS="$lt_cv_dlopen_libs $LIBS"
23633 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
23634 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
23635 +if test "${lt_cv_dlopen_self+set}" = set; then
23636 + echo $ECHO_N "(cached) $ECHO_C" >&6
23638 + if test "$cross_compiling" = yes; then :
23639 + lt_cv_dlopen_self=cross
23641 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23642 + lt_status=$lt_dlunknown
23643 + cat > conftest.$ac_ext <<EOF
23644 +#line 8678 "configure"
23645 +#include "confdefs.h"
23648 +#include <dlfcn.h>
23651 +#include <stdio.h>
23653 +#ifdef RTLD_GLOBAL
23654 +# define LT_DLGLOBAL RTLD_GLOBAL
23657 +# define LT_DLGLOBAL DL_GLOBAL
23659 +# define LT_DLGLOBAL 0
23663 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23664 + find out it does not work in some platform. */
23665 +#ifndef LT_DLLAZY_OR_NOW
23667 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
23670 +# define LT_DLLAZY_OR_NOW DL_LAZY
23673 +# define LT_DLLAZY_OR_NOW RTLD_NOW
23676 +# define LT_DLLAZY_OR_NOW DL_NOW
23678 +# define LT_DLLAZY_OR_NOW 0
23685 +#ifdef __cplusplus
23686 +extern "C" void exit (int);
23689 +void fnord() { int i=42;}
23692 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23693 + int status = $lt_dlunknown;
23697 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23698 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23699 + /* dlclose (self); */
23705 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23706 + (eval $ac_link) 2>&5
23708 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23710 + (./conftest; exit; ) 2>/dev/null
23712 + case x$lt_status in
23713 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
23714 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
23715 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
23718 + # compilation failed
23719 + lt_cv_dlopen_self=no
23726 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
23727 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
23729 + if test "x$lt_cv_dlopen_self" = xyes; then
23730 + LDFLAGS="$LDFLAGS $link_static_flag"
23731 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
23732 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
23733 +if test "${lt_cv_dlopen_self_static+set}" = set; then
23734 + echo $ECHO_N "(cached) $ECHO_C" >&6
23736 + if test "$cross_compiling" = yes; then :
23737 + lt_cv_dlopen_self_static=cross
23739 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23740 + lt_status=$lt_dlunknown
23741 + cat > conftest.$ac_ext <<EOF
23742 +#line 8776 "configure"
23743 +#include "confdefs.h"
23746 +#include <dlfcn.h>
23749 +#include <stdio.h>
23751 +#ifdef RTLD_GLOBAL
23752 +# define LT_DLGLOBAL RTLD_GLOBAL
23755 +# define LT_DLGLOBAL DL_GLOBAL
23757 +# define LT_DLGLOBAL 0
23761 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23762 + find out it does not work in some platform. */
23763 +#ifndef LT_DLLAZY_OR_NOW
23765 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
23768 +# define LT_DLLAZY_OR_NOW DL_LAZY
23771 +# define LT_DLLAZY_OR_NOW RTLD_NOW
23774 +# define LT_DLLAZY_OR_NOW DL_NOW
23776 +# define LT_DLLAZY_OR_NOW 0
23783 +#ifdef __cplusplus
23784 +extern "C" void exit (int);
23787 +void fnord() { int i=42;}
23790 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23791 + int status = $lt_dlunknown;
23795 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23796 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23797 + /* dlclose (self); */
23803 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23804 + (eval $ac_link) 2>&5
23806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23808 + (./conftest; exit; ) 2>/dev/null
23810 + case x$lt_status in
23811 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23812 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23813 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
23816 + # compilation failed
23817 + lt_cv_dlopen_self_static=no
23824 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23825 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23828 + CPPFLAGS="$save_CPPFLAGS"
23829 + LDFLAGS="$save_LDFLAGS"
23830 + LIBS="$save_LIBS"
23834 + case $lt_cv_dlopen_self in
23835 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
23836 + *) enable_dlopen_self=unknown ;;
23839 + case $lt_cv_dlopen_self_static in
23840 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
23841 + *) enable_dlopen_self_static=unknown ;;
23846 +# Report which librarie types wil actually be built
23847 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23848 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
23849 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
23850 +echo "${ECHO_T}$can_build_shared" >&6
23852 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23853 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
23854 +test "$can_build_shared" = "no" && enable_shared=no
23856 +# On AIX, shared libraries and static libraries use the same namespace, and
23857 +# are all built from PIC.
23858 +case "$host_os" in
23860 + test "$enable_shared" = yes && enable_static=no
23861 + if test -n "$RANLIB"; then
23862 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
23863 + postinstall_cmds='$RANLIB $lib'
23868 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23869 + test "$enable_shared" = yes && enable_static=no
23872 + darwin* | rhapsody*)
23873 + if test "$GCC" = yes; then
23874 + archive_cmds_need_lc=no
23875 + case "$host_os" in
23876 + rhapsody* | darwin1.[012])
23877 + allow_undefined_flag='-undefined suppress'
23879 + *) # Darwin 1.3 on
23880 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23881 + allow_undefined_flag='-flat_namespace -undefined suppress'
23883 + case ${MACOSX_DEPLOYMENT_TARGET} in
23885 + allow_undefined_flag='-flat_namespace -undefined suppress'
23888 + allow_undefined_flag='-undefined dynamic_lookup'
23894 + output_verbose_link_cmd='echo'
23895 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
23896 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23897 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
23898 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
23899 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
23900 + hardcode_direct=no
23901 + hardcode_automatic=yes
23902 + hardcode_shlibpath_var=unsupported
23903 + whole_archive_flag_spec='-all_load $convenience'
23904 + link_all_deplibs=yes
23910 +echo "$as_me:$LINENO: result: $enable_shared" >&5
23911 +echo "${ECHO_T}$enable_shared" >&6
23913 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23914 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
23915 +# Make sure either enable_shared or enable_static is yes.
23916 +test "$enable_shared" = yes || enable_static=yes
23917 +echo "$as_me:$LINENO: result: $enable_static" >&5
23918 +echo "${ECHO_T}$enable_static" >&6
23920 +# The else clause should only fire when bootstrapping the
23921 +# libtool distribution, otherwise you forgot to ship ltmain.sh
23922 +# with your package, and you will get complaints that there are
23923 +# no rules to generate ltmain.sh.
23924 +if test -f "$ltmain"; then
23925 + # See if we are running on zsh, and set the options which allow our commands through
23926 + # without removal of \ escapes.
23927 + if test -n "${ZSH_VERSION+set}" ; then
23928 + setopt NO_GLOB_SUBST
23930 + # Now quote all the things that may contain metacharacters while being
23931 + # careful not to overquote the AC_SUBSTed values. We take copies of the
23932 + # variables and quote the copies for generation of the libtool script.
23933 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23934 + SED SHELL STRIP \
23935 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23936 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23937 + deplibs_check_method reload_flag reload_cmds need_locks \
23938 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23939 + lt_cv_sys_global_symbol_to_c_name_address \
23940 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23941 + old_postinstall_cmds old_postuninstall_cmds \
23945 + lt_prog_compiler_wl \
23946 + lt_prog_compiler_pic \
23947 + lt_prog_compiler_static \
23948 + lt_prog_compiler_no_builtin_flag \
23949 + export_dynamic_flag_spec \
23950 + thread_safe_flag_spec \
23951 + whole_archive_flag_spec \
23952 + enable_shared_with_static_runtimes \
23953 + old_archive_cmds \
23954 + old_archive_from_new_cmds \
23956 + postdep_objects \
23959 + compiler_lib_search_path \
23961 + archive_expsym_cmds \
23962 + postinstall_cmds \
23963 + postuninstall_cmds \
23964 + old_archive_from_expsyms_cmds \
23965 + allow_undefined_flag \
23966 + no_undefined_flag \
23967 + export_symbols_cmds \
23968 + hardcode_libdir_flag_spec \
23969 + hardcode_libdir_flag_spec_ld \
23970 + hardcode_libdir_separator \
23971 + hardcode_automatic \
23973 + module_expsym_cmds \
23974 + lt_cv_prog_compiler_c_o \
23975 + exclude_expsyms \
23976 + include_expsyms; do
23979 + old_archive_cmds | \
23980 + old_archive_from_new_cmds | \
23982 + archive_expsym_cmds | \
23984 + module_expsym_cmds | \
23985 + old_archive_from_expsyms_cmds | \
23986 + export_symbols_cmds | \
23987 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
23988 + postinstall_cmds | postuninstall_cmds | \
23989 + old_postinstall_cmds | old_postuninstall_cmds | \
23990 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23991 + # Double-quote double-evaled strings.
23992 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23995 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24001 + *'\$0 --fallback-echo"')
24002 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24006 +cfgfile="${ofile}T"
24007 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
24008 + $rm -f "$cfgfile"
24009 + { echo "$as_me:$LINENO: creating $ofile" >&5
24010 +echo "$as_me: creating $ofile" >&6;}
24012 + cat <<__EOF__ >> "$cfgfile"
24015 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24016 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
24017 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
24019 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
24020 +# Free Software Foundation, Inc.
24022 +# This file is part of GNU Libtool:
24023 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
24025 +# This program is free software; you can redistribute it and/or modify
24026 +# it under the terms of the GNU General Public License as published by
24027 +# the Free Software Foundation; either version 2 of the License, or
24028 +# (at your option) any later version.
24030 +# This program is distributed in the hope that it will be useful, but
24031 +# WITHOUT ANY WARRANTY; without even the implied warranty of
24032 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24033 +# General Public License for more details.
24035 +# You should have received a copy of the GNU General Public License
24036 +# along with this program; if not, write to the Free Software
24037 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24039 +# As a special exception to the GNU General Public License, if you
24040 +# distribute this file as part of a program that contains a
24041 +# configuration script generated by Autoconf, you may include it under
24042 +# the same distribution terms that you use for the rest of that program.
24044 +# A sed program that does not truncate output.
24047 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
24048 +Xsed="$SED -e s/^X//"
24050 +# The HP-UX ksh and POSIX shell print the target directory to stdout
24051 +# if CDPATH is set.
24052 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
24054 +# The names of the tagged configurations supported by this script.
24057 +# ### BEGIN LIBTOOL CONFIG
24059 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24061 +# Shell to use when invoking shell scripts.
24064 +# Whether or not to build shared libraries.
24065 +build_libtool_libs=$enable_shared
24067 +# Whether or not to build static libraries.
24068 +build_old_libs=$enable_static
24070 +# Whether or not to add -lc for building shared libraries.
24071 +build_libtool_need_lc=$archive_cmds_need_lc
24073 +# Whether or not to disallow shared libs when runtime libs are static
24074 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24076 +# Whether or not to optimize for fast installation.
24077 +fast_install=$enable_fast_install
24079 +# The host system.
24080 +host_alias=$host_alias
24083 +# An echo program that does not interpret backslashes.
24088 +AR_FLAGS=$lt_AR_FLAGS
24093 +# A language-specific compiler.
24096 +# Is the compiler the GNU C compiler?
24102 +# The linker used to build libraries.
24105 +# Whether we need hard or soft links.
24108 +# A BSD-compatible nm program.
24111 +# A symbol stripping program
24114 +# Used to examine libraries when file_magic_cmd begins "file"
24115 +MAGIC_CMD=$MAGIC_CMD
24117 +# Used on cygwin: DLL creation program.
24118 +DLLTOOL="$DLLTOOL"
24120 +# Used on cygwin: object dumper.
24121 +OBJDUMP="$OBJDUMP"
24123 +# Used on cygwin: assembler.
24126 +# The name of the directory that contains temporary libtool files.
24129 +# How to create reloadable object files.
24130 +reload_flag=$lt_reload_flag
24131 +reload_cmds=$lt_reload_cmds
24133 +# How to pass a linker flag through the compiler.
24134 +wl=$lt_lt_prog_compiler_wl
24136 +# Object file suffix (normally "o").
24137 +objext="$ac_objext"
24139 +# Old archive suffix (normally "a").
24142 +# Shared library suffix (normally ".so").
24143 +shrext_cmds='$shrext_cmds'
24145 +# Executable file suffix (normally "").
24148 +# Additional compiler flags for building library objects.
24149 +pic_flag=$lt_lt_prog_compiler_pic
24150 +pic_mode=$pic_mode
24152 +# What is the maximum length of a command?
24153 +max_cmd_len=$lt_cv_sys_max_cmd_len
24155 +# Does compiler simultaneously support -c and -o options?
24156 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24158 +# Must we lock files when doing compilation ?
24159 +need_locks=$lt_need_locks
24161 +# Do we need the lib prefix for modules?
24162 +need_lib_prefix=$need_lib_prefix
24164 +# Do we need a version for libraries?
24165 +need_version=$need_version
24167 +# Whether dlopen is supported.
24168 +dlopen_support=$enable_dlopen
24170 +# Whether dlopen of programs is supported.
24171 +dlopen_self=$enable_dlopen_self
24173 +# Whether dlopen of statically linked programs is supported.
24174 +dlopen_self_static=$enable_dlopen_self_static
24176 +# Compiler flag to prevent dynamic linking.
24177 +link_static_flag=$lt_lt_prog_compiler_static
24179 +# Compiler flag to turn off builtin functions.
24180 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24182 +# Compiler flag to allow reflexive dlopens.
24183 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24185 +# Compiler flag to generate shared objects directly from archives.
24186 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
24188 +# Compiler flag to generate thread-safe objects.
24189 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
24191 +# Library versioning type.
24192 +version_type=$version_type
24194 +# Format of library name prefix.
24195 +libname_spec=$lt_libname_spec
24197 +# List of archive names. First name is the real one, the rest are links.
24198 +# The last name is the one that the linker finds with -lNAME.
24199 +library_names_spec=$lt_library_names_spec
24201 +# The coded name of the library, if different from the real name.
24202 +soname_spec=$lt_soname_spec
24204 +# Commands used to build and install an old-style archive.
24206 +old_archive_cmds=$lt_old_archive_cmds
24207 +old_postinstall_cmds=$lt_old_postinstall_cmds
24208 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
24210 +# Create an old-style archive from a shared archive.
24211 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24213 +# Create a temporary old-style archive to link instead of a shared archive.
24214 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24216 +# Commands used to build and install a shared archive.
24217 +archive_cmds=$lt_archive_cmds
24218 +archive_expsym_cmds=$lt_archive_expsym_cmds
24219 +postinstall_cmds=$lt_postinstall_cmds
24220 +postuninstall_cmds=$lt_postuninstall_cmds
24222 +# Commands used to build a loadable module (assumed same as above if empty)
24223 +module_cmds=$lt_module_cmds
24224 +module_expsym_cmds=$lt_module_expsym_cmds
24226 +# Commands to strip libraries.
24227 +old_striplib=$lt_old_striplib
24228 +striplib=$lt_striplib
24230 +# Dependencies to place before the objects being linked to create a
24232 +predep_objects=$lt_predep_objects
24234 +# Dependencies to place after the objects being linked to create a
24236 +postdep_objects=$lt_postdep_objects
24238 +# Dependencies to place before the objects being linked to create a
24240 +predeps=$lt_predeps
24242 +# Dependencies to place after the objects being linked to create a
24244 +postdeps=$lt_postdeps
24246 +# The library search path used internally by the compiler when linking
24247 +# a shared library.
24248 +compiler_lib_search_path=$lt_compiler_lib_search_path
24250 +# Method to check whether dependent libraries are shared objects.
24251 +deplibs_check_method=$lt_deplibs_check_method
24253 +# Command to use when deplibs_check_method == file_magic.
24254 +file_magic_cmd=$lt_file_magic_cmd
24256 +# Flag that allows shared libraries with undefined symbols to be built.
24257 +allow_undefined_flag=$lt_allow_undefined_flag
24259 +# Flag that forces no undefined symbols.
24260 +no_undefined_flag=$lt_no_undefined_flag
24262 +# Commands used to finish a libtool library installation in a directory.
24263 +finish_cmds=$lt_finish_cmds
24265 +# Same as above, but a single script fragment to be evaled but not shown.
24266 +finish_eval=$lt_finish_eval
24268 +# Take the output of nm and produce a listing of raw symbols and C names.
24269 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24271 +# Transform the output of nm in a proper C declaration
24272 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24274 +# Transform the output of nm in a C name address pair
24275 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24277 +# This is the shared library runtime path variable.
24278 +runpath_var=$runpath_var
24280 +# This is the shared library path variable.
24281 +shlibpath_var=$shlibpath_var
24283 +# Is shlibpath searched before the hard-coded library search path?
24284 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24286 +# How to hardcode a shared library path into an executable.
24287 +hardcode_action=$hardcode_action
24289 +# Whether we should hardcode library paths into libraries.
24290 +hardcode_into_libs=$hardcode_into_libs
24292 +# Flag to hardcode \$libdir into a binary during linking.
24293 +# This must work even if \$libdir does not exist.
24294 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24296 +# If ld is used when linking, flag to hardcode \$libdir into
24297 +# a binary during linking. This must work even if \$libdir does
24299 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24301 +# Whether we need a single -rpath flag with a separated argument.
24302 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
24304 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24305 +# resulting binary.
24306 +hardcode_direct=$hardcode_direct
24308 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24309 +# resulting binary.
24310 +hardcode_minus_L=$hardcode_minus_L
24312 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24313 +# the resulting binary.
24314 +hardcode_shlibpath_var=$hardcode_shlibpath_var
24316 +# Set to yes if building a shared library automatically hardcodes DIR into the library
24317 +# and all subsequent libraries and executables linked against it.
24318 +hardcode_automatic=$hardcode_automatic
24320 +# Variables whose values should be saved in libtool wrapper scripts and
24321 +# restored at relink time.
24322 +variables_saved_for_relink="$variables_saved_for_relink"
24324 +# Whether libtool must link a program against all its dependency libraries.
24325 +link_all_deplibs=$link_all_deplibs
24327 +# Compile-time system search path for libraries
24328 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24330 +# Run-time system search path for libraries
24331 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24333 +# Fix the shell variable \$srcfile for the compiler.
24334 +fix_srcfile_path="$fix_srcfile_path"
24336 +# Set to yes if exported symbols are required.
24337 +always_export_symbols=$always_export_symbols
24339 +# The commands to list exported symbols.
24340 +export_symbols_cmds=$lt_export_symbols_cmds
24342 +# The commands to extract the exported symbol list from a shared archive.
24343 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
24345 +# Symbols that should not be listed in the preloaded symbols.
24346 +exclude_expsyms=$lt_exclude_expsyms
24348 +# Symbols that must always be exported.
24349 +include_expsyms=$lt_include_expsyms
24351 +# ### END LIBTOOL CONFIG
24358 + cat <<\EOF >> "$cfgfile"
24360 +# AIX sometimes has problems with the GCC collect2 program. For some
24361 +# reason, if we set the COLLECT_NAMES environment variable, the problems
24362 +# vanish in a puff of smoke.
24363 +if test "X${COLLECT_NAMES+set}" != Xset; then
24365 + export COLLECT_NAMES
24371 + # We use sed instead of cat because bash on DJGPP gets confused if
24372 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
24373 + # text mode, it properly converts lines to CR/LF. This bash problem
24374 + # is reportedly fixed, but why not run on old versions too?
24375 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
24377 + mv -f "$cfgfile" "$ofile" || \
24378 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24379 + chmod +x "$ofile"
24382 + # If there is no Makefile yet, we rely on a make rule to execute
24383 + # `config.status --recheck' to rerun these tests and create the
24384 + # libtool script then.
24385 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24386 + if test -f "$ltmain_in"; then
24387 + test -f Makefile && make "$ltmain"
24393 +ac_cpp='$CPP $CPPFLAGS'
24394 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
24401 +# Check whether --with-tags or --without-tags was given.
24402 +if test "${with_tags+set}" = set; then
24403 + withval="$with_tags"
24404 + tagnames="$withval"
24407 +if test -f "$ltmain" && test -n "$tagnames"; then
24408 + if test ! -f "${ofile}"; then
24409 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
24410 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
24413 + if test -z "$LTCC"; then
24414 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
24415 + if test -z "$LTCC"; then
24416 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
24417 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
24419 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
24420 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
24424 + # Extract list of available tagged configurations in $ofile.
24425 + # Note that this assumes the entire list is on one line.
24426 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
24428 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
24429 + for tagname in $tagnames; do
24430 + IFS="$lt_save_ifs"
24431 + # Check whether tagname contains only valid characters
24432 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
24434 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
24435 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
24436 + { (exit 1); exit 1; }; }
24440 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
24442 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
24443 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
24444 + { (exit 1); exit 1; }; }
24447 + # Update the list of available tags.
24448 + if test -n "$tagname"; then
24449 + echo appending configuration tag \"$tagname\" to $ofile
24453 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
24455 +ac_cpp='$CXXCPP $CPPFLAGS'
24456 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463 +archive_cmds_need_lc_CXX=no
24464 +allow_undefined_flag_CXX=
24465 +always_export_symbols_CXX=no
24466 +archive_expsym_cmds_CXX=
24467 +export_dynamic_flag_spec_CXX=
24468 +hardcode_direct_CXX=no
24469 +hardcode_libdir_flag_spec_CXX=
24470 +hardcode_libdir_flag_spec_ld_CXX=
24471 +hardcode_libdir_separator_CXX=
24472 +hardcode_minus_L_CXX=no
24473 +hardcode_automatic_CXX=no
24475 +module_expsym_cmds_CXX=
24476 +link_all_deplibs_CXX=unknown
24477 +old_archive_cmds_CXX=$old_archive_cmds
24478 +no_undefined_flag_CXX=
24479 +whole_archive_flag_spec_CXX=
24480 +enable_shared_with_static_runtimes_CXX=no
24482 +# Dependencies to place before and after the object being linked:
24483 +predep_objects_CXX=
24484 +postdep_objects_CXX=
24487 +compiler_lib_search_path_CXX=
24489 +# Source file extension for C++ test sources.
24492 +# Object file extension for compiled C++ test sources.
24494 +objext_CXX=$objext
24496 +# Code to be used in simple compile tests
24497 +lt_simple_compile_test_code="int some_variable = 0;\n"
24499 +# Code to be used in simple link tests
24500 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
24502 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
24504 +# If no C compiler was specified, use CC.
24505 +LTCC=${LTCC-"$CC"}
24507 +# Allow CC to be a program name with arguments.
24511 +# Allow CC to be a program name with arguments.
24516 +lt_save_with_gnu_ld=$with_gnu_ld
24517 +lt_save_path_LD=$lt_cv_path_LD
24518 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
24519 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
24521 + unset lt_cv_prog_gnu_ld
24523 +if test -n "${lt_cv_path_LDCXX+set}"; then
24524 + lt_cv_path_LD=$lt_cv_path_LDCXX
24526 + unset lt_cv_path_LD
24528 +test -z "${LDCXX+set}" || LD=$LDCXX
24532 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
24534 +# We don't want -fno-exception wen compiling C++ code, so set the
24535 +# no_builtin_flag separately
24536 +if test "$GXX" = yes; then
24537 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
24539 + lt_prog_compiler_no_builtin_flag_CXX=
24542 +if test "$GXX" = yes; then
24543 + # Set up default GNU C++ configuration
24546 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
24547 +if test "${with_gnu_ld+set}" = set; then
24548 + withval="$with_gnu_ld"
24549 + test "$withval" = no || with_gnu_ld=yes
24554 +if test "$GCC" = yes; then
24555 + # Check if gcc -print-prog-name=ld gives a path.
24556 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
24557 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
24560 + # gcc leaves a trailing carriage return which upsets mingw
24561 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
24563 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
24566 + # Accept absolute paths.
24567 + [\\/]* | ?:[\\/]*)
24568 + re_direlt='/[^/][^/]*/\.\./'
24569 + # Canonicalize the pathname of ld
24570 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
24571 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
24572 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
24574 + test -z "$LD" && LD="$ac_prog"
24577 + # If it fails, then pretend we aren't using GCC.
24581 + # If it is relative, then search for the first ld in PATH.
24582 + with_gnu_ld=unknown
24585 +elif test "$with_gnu_ld" = yes; then
24586 + echo "$as_me:$LINENO: checking for GNU ld" >&5
24587 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
24589 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
24590 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
24592 +if test "${lt_cv_path_LD+set}" = set; then
24593 + echo $ECHO_N "(cached) $ECHO_C" >&6
24595 + if test -z "$LD"; then
24596 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
24597 + for ac_dir in $PATH; do
24598 + IFS="$lt_save_ifs"
24599 + test -z "$ac_dir" && ac_dir=.
24600 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
24601 + lt_cv_path_LD="$ac_dir/$ac_prog"
24602 + # Check to see if the program is GNU ld. I'd rather use --version,
24603 + # but apparently some GNU ld's only accept -v.
24604 + # Break only if it was the GNU/non-GNU ld that we prefer.
24605 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
24606 + *GNU* | *'with BFD'*)
24607 + test "$with_gnu_ld" != no && break
24610 + test "$with_gnu_ld" != yes && break
24615 + IFS="$lt_save_ifs"
24617 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
24621 +LD="$lt_cv_path_LD"
24622 +if test -n "$LD"; then
24623 + echo "$as_me:$LINENO: result: $LD" >&5
24624 +echo "${ECHO_T}$LD" >&6
24626 + echo "$as_me:$LINENO: result: no" >&5
24627 +echo "${ECHO_T}no" >&6
24629 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
24630 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
24631 + { (exit 1); exit 1; }; }
24632 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
24633 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
24634 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
24635 + echo $ECHO_N "(cached) $ECHO_C" >&6
24637 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
24638 +case `$LD -v 2>&1 </dev/null` in
24639 +*GNU* | *'with BFD'*)
24640 + lt_cv_prog_gnu_ld=yes
24643 + lt_cv_prog_gnu_ld=no
24647 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
24648 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
24649 +with_gnu_ld=$lt_cv_prog_gnu_ld
24653 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
24654 + # archiving commands below assume that GNU ld is being used.
24655 + if test "$with_gnu_ld" = yes; then
24656 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
24657 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24659 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
24660 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
24662 + # If archive_cmds runs LD, not CC, wlarc should be empty
24663 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
24664 + # investigate it a little bit more. (MM)
24667 + # ancient GNU ld didn't support --whole-archive et. al.
24668 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
24669 + grep 'no-whole-archive' > /dev/null; then
24670 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24672 + whole_archive_flag_spec_CXX=
24678 + # A generic and very simple default shared library creation
24679 + # command for GNU C++ for the case where it uses the native
24680 + # linker, instead of GNU ld. If possible, this setting should
24681 + # overridden to take advantage of the native linker features on
24682 + # the platform it is being used on.
24683 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
24686 + # Commands to make compiler produce verbose output that lists
24687 + # what "hidden" libraries, object files and flags are used when
24688 + # linking a shared library.
24689 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
24697 +# PORTME: fill in a description of your system's C++ link characteristics
24698 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24699 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
24703 + # FIXME: insert proper C++ library support
24707 + if test "$host_cpu" = ia64; then
24708 + # On IA64, the linker does run time linking by default, so we don't
24709 + # have to do anything special.
24710 + aix_use_runtimelinking=no
24711 + exp_sym_flag='-Bexport'
24714 + aix_use_runtimelinking=no
24716 + # Test if we are trying to use run time linking or normal
24717 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24718 + # need to do runtime linking.
24719 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24720 + for ld_flag in $LDFLAGS; do
24723 + aix_use_runtimelinking=yes
24730 + exp_sym_flag='-bexport'
24731 + no_entry_flag='-bnoentry'
24734 + # When large executables or shared objects are built, AIX ld can
24735 + # have problems creating the table of contents. If linking a library
24736 + # or program results in "error TOC overflow" add -mminimal-toc to
24737 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24738 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24740 + archive_cmds_CXX=''
24741 + hardcode_direct_CXX=yes
24742 + hardcode_libdir_separator_CXX=':'
24743 + link_all_deplibs_CXX=yes
24745 + if test "$GXX" = yes; then
24746 + case $host_os in aix4.012|aix4.012.*)
24747 + # We only want to do this on AIX 4.2 and lower, the check
24748 + # below for broken collect2 doesn't work under 4.3+
24749 + collect2name=`${CC} -print-prog-name=collect2`
24750 + if test -f "$collect2name" && \
24751 + strings "$collect2name" | grep resolve_lib_name >/dev/null
24753 + # We have reworked collect2
24754 + hardcode_direct_CXX=yes
24756 + # We have old collect2
24757 + hardcode_direct_CXX=unsupported
24758 + # It fails to find uninstalled libraries when the uninstalled
24759 + # path is not listed in the libpath. Setting hardcode_minus_L
24760 + # to unsupported forces relinking
24761 + hardcode_minus_L_CXX=yes
24762 + hardcode_libdir_flag_spec_CXX='-L$libdir'
24763 + hardcode_libdir_separator_CXX=
24766 + shared_flag='-shared'
24769 + if test "$host_cpu" = ia64; then
24770 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24771 + # chokes on -Wl,-G. The following line is correct:
24774 + if test "$aix_use_runtimelinking" = yes; then
24775 + shared_flag='${wl}-G'
24777 + shared_flag='${wl}-bM:SRE'
24782 + # It seems that -bexpall does not export symbols beginning with
24783 + # underscore (_), so it is better to generate a list of symbols to export.
24784 + always_export_symbols_CXX=yes
24785 + if test "$aix_use_runtimelinking" = yes; then
24786 + # Warning - without using the other runtime loading flags (-brtl),
24787 + # -berok will link without error, but may produce a broken library.
24788 + allow_undefined_flag_CXX='-berok'
24789 + # Determine the default libpath from the value encoded in an empty executable.
24790 + cat >conftest.$ac_ext <<_ACEOF
24793 +cat confdefs.h >>conftest.$ac_ext
24794 +cat >>conftest.$ac_ext <<_ACEOF
24795 +/* end confdefs.h. */
24805 +rm -f conftest.$ac_objext conftest$ac_exeext
24806 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24807 + (eval $ac_link) 2>conftest.er1
24809 + grep -v '^ *+' conftest.er1 >conftest.err
24810 + rm -f conftest.er1
24811 + cat conftest.err >&5
24812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 + (exit $ac_status); } &&
24814 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24815 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 + (eval $ac_try) 2>&5
24818 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 + (exit $ac_status); }; } &&
24820 + { ac_try='test -s conftest$ac_exeext'
24821 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24822 + (eval $ac_try) 2>&5
24824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 + (exit $ac_status); }; }; then
24827 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24829 +# Check for a 64-bit object if we didn't find anything.
24830 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24833 + echo "$as_me: failed program was:" >&5
24834 +sed 's/^/| /' conftest.$ac_ext >&5
24837 +rm -f conftest.err conftest.$ac_objext \
24838 + conftest$ac_exeext conftest.$ac_ext
24839 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24841 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
24843 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24845 + if test "$host_cpu" = ia64; then
24846 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
24847 + allow_undefined_flag_CXX="-z nodefs"
24848 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
24850 + # Determine the default libpath from the value encoded in an empty executable.
24851 + cat >conftest.$ac_ext <<_ACEOF
24854 +cat confdefs.h >>conftest.$ac_ext
24855 +cat >>conftest.$ac_ext <<_ACEOF
24856 +/* end confdefs.h. */
24866 +rm -f conftest.$ac_objext conftest$ac_exeext
24867 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24868 + (eval $ac_link) 2>conftest.er1
24870 + grep -v '^ *+' conftest.er1 >conftest.err
24871 + rm -f conftest.er1
24872 + cat conftest.err >&5
24873 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 + (exit $ac_status); } &&
24875 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24876 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24877 + (eval $ac_try) 2>&5
24879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 + (exit $ac_status); }; } &&
24881 + { ac_try='test -s conftest$ac_exeext'
24882 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 + (eval $ac_try) 2>&5
24885 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 + (exit $ac_status); }; }; then
24888 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24890 +# Check for a 64-bit object if we didn't find anything.
24891 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24894 + echo "$as_me: failed program was:" >&5
24895 +sed 's/^/| /' conftest.$ac_ext >&5
24898 +rm -f conftest.err conftest.$ac_objext \
24899 + conftest$ac_exeext conftest.$ac_ext
24900 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24902 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
24903 + # Warning - without using the other run time loading flags,
24904 + # -berok will link without error, but may produce a broken library.
24905 + no_undefined_flag_CXX=' ${wl}-bernotok'
24906 + allow_undefined_flag_CXX=' ${wl}-berok'
24907 + # -bexpall does not export symbols beginning with underscore (_)
24908 + always_export_symbols_CXX=yes
24909 + # Exported symbols can be pulled into shared objects from archives
24910 + whole_archive_flag_spec_CXX=' '
24911 + archive_cmds_need_lc_CXX=yes
24912 + # This is similar to how AIX traditionally builds it's shared libraries.
24913 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24918 + case $cc_basename in
24920 + # FIXME: insert proper C++ library support
24926 + cygwin* | mingw* | pw32*)
24927 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
24928 + # as there is no search path for DLLs.
24929 + hardcode_libdir_flag_spec_CXX='-L$libdir'
24930 + allow_undefined_flag_CXX=unsupported
24931 + always_export_symbols_CXX=no
24932 + enable_shared_with_static_runtimes_CXX=yes
24934 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24935 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
24936 + # If the export-symbols file already is a .def file (1st line
24937 + # is EXPORTS), use it as is; otherwise, prepend...
24938 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24939 + cp $export_symbols $output_objdir/$soname.def;
24941 + echo EXPORTS > $output_objdir/$soname.def;
24942 + cat $export_symbols >> $output_objdir/$soname.def;
24944 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
24950 + darwin* | rhapsody*)
24951 + if test "$GXX" = yes; then
24952 + archive_cmds_need_lc_CXX=no
24953 + case "$host_os" in
24954 + rhapsody* | darwin1.[012])
24955 + allow_undefined_flag_CXX='-undefined suppress'
24957 + *) # Darwin 1.3 on
24958 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24959 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
24961 + case ${MACOSX_DEPLOYMENT_TARGET} in
24963 + allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
24966 + allow_undefined_flag_CXX='-undefined dynamic_lookup'
24972 + lt_int_apple_cc_single_mod=no
24973 + output_verbose_link_cmd='echo'
24974 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
24975 + lt_int_apple_cc_single_mod=yes
24977 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24978 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24980 + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
24982 + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24984 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
24985 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24986 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24988 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24990 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24991 + hardcode_direct_CXX=no
24992 + hardcode_automatic_CXX=yes
24993 + hardcode_shlibpath_var_CXX=unsupported
24994 + whole_archive_flag_spec_CXX='-all_load $convenience'
24995 + link_all_deplibs_CXX=yes
25002 + case $cc_basename in
25004 + # FIXME: insert proper C++ library support
25008 + # Green Hills C++ Compiler
25009 + # FIXME: insert proper C++ library support
25013 + # FIXME: insert proper C++ library support
25019 + # C++ shared libraries reported to be fairly broken before switch to ELF
25023 + archive_cmds_need_lc_CXX=no
25025 + freebsd* | kfreebsd*-gnu)
25026 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
25028 + ld_shlibs_CXX=yes
25033 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
25034 + hardcode_libdir_separator_CXX=:
25035 + export_dynamic_flag_spec_CXX='${wl}-E'
25036 + hardcode_direct_CXX=yes
25037 + hardcode_minus_L_CXX=yes # Not in the search PATH,
25038 + # but as the default
25039 + # location of the library.
25041 + case $cc_basename in
25043 + # FIXME: insert proper C++ library support
25047 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25048 + # Commands to make compiler produce verbose output that lists
25049 + # what "hidden" libraries, object files and flags are used when
25050 + # linking a shared library.
25052 + # There doesn't appear to be a way to prevent this compiler from
25053 + # explicitly linking system object files so we need to strip them
25054 + # from the output so that they don't get included in the library
25056 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25059 + if test "$GXX" = yes; then
25060 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25062 + # FIXME: insert proper C++ library support
25069 + if test $with_gnu_ld = no; then
25070 + case "$host_cpu" in
25072 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
25073 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
25074 + hardcode_libdir_separator_CXX=:
25077 + hardcode_libdir_flag_spec_CXX='-L$libdir'
25080 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
25081 + hardcode_libdir_separator_CXX=:
25082 + export_dynamic_flag_spec_CXX='${wl}-E'
25086 + case "$host_cpu" in
25088 + hardcode_direct_CXX=no
25089 + hardcode_shlibpath_var_CXX=no
25092 + hardcode_direct_CXX=no
25093 + hardcode_shlibpath_var_CXX=no
25094 + hardcode_minus_L_CXX=yes # Not in the search PATH,
25095 + # but as the default
25096 + # location of the library.
25099 + hardcode_direct_CXX=yes
25100 + hardcode_minus_L_CXX=yes # Not in the search PATH,
25101 + # but as the default
25102 + # location of the library.
25106 + case $cc_basename in
25108 + # FIXME: insert proper C++ library support
25112 + case "$host_cpu" in
25114 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
25117 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25120 + # Commands to make compiler produce verbose output that lists
25121 + # what "hidden" libraries, object files and flags are used when
25122 + # linking a shared library.
25124 + # There doesn't appear to be a way to prevent this compiler from
25125 + # explicitly linking system object files so we need to strip them
25126 + # from the output so that they don't get included in the library
25128 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25131 + if test "$GXX" = yes; then
25132 + if test $with_gnu_ld = no; then
25133 + case "$host_cpu" in
25135 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
25138 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25143 + # FIXME: insert proper C++ library support
25150 + case $cc_basename in
25153 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
25155 + # Archives containing C++ object files must be created using
25156 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
25157 + # necessary to make sure instantiated templates are included
25158 + # in the archive.
25159 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
25162 + if test "$GXX" = yes; then
25163 + if test "$with_gnu_ld" = no; then
25164 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
25166 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
25169 + link_all_deplibs_CXX=yes
25172 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
25173 + hardcode_libdir_separator_CXX=:
25176 + case $cc_basename in
25178 + # Kuck and Associates, Inc. (KAI) C++ Compiler
25180 + # KCC will only create a shared library if the output file
25181 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
25182 + # to its proper name (with version) after linking.
25183 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
25184 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
25185 + # Commands to make compiler produce verbose output that lists
25186 + # what "hidden" libraries, object files and flags are used when
25187 + # linking a shared library.
25189 + # There doesn't appear to be a way to prevent this compiler from
25190 + # explicitly linking system object files so we need to strip them
25191 + # from the output so that they don't get included in the library
25193 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25195 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
25196 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
25198 + # Archives containing C++ object files must be created using
25199 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
25200 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
25205 + archive_cmds_need_lc_CXX=no
25206 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
25207 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25208 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
25209 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
25210 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
25214 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
25215 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
25217 + runpath_var=LD_RUN_PATH
25218 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
25219 + hardcode_libdir_separator_CXX=:
25221 + # Commands to make compiler produce verbose output that lists
25222 + # what "hidden" libraries, object files and flags are used when
25223 + # linking a shared library.
25225 + # There doesn't appear to be a way to prevent this compiler from
25226 + # explicitly linking system object files so we need to strip them
25227 + # from the output so that they don't get included in the library
25229 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25234 + # FIXME: insert proper C++ library support
25238 + # FIXME: insert proper C++ library support
25242 + case $cc_basename in
25244 + # FIXME: insert proper C++ library support
25248 + # FIXME: insert proper C++ library support
25253 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
25254 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25255 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
25257 + hardcode_libdir_flag_spec_CXX='-R$libdir'
25258 + hardcode_direct_CXX=yes
25259 + hardcode_shlibpath_var_CXX=no
25261 + # Workaround some broken pre-1.5 toolchains
25262 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
25265 + case $cc_basename in
25267 + # Kuck and Associates, Inc. (KAI) C++ Compiler
25269 + # KCC will only create a shared library if the output file
25270 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
25271 + # to its proper name (with version) after linking.
25272 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
25274 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
25275 + hardcode_libdir_separator_CXX=:
25277 + # Archives containing C++ object files must be created using
25278 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
25279 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
25283 + # Rational C++ 2.4.1
25284 + # FIXME: insert proper C++ library support
25288 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
25289 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
25291 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
25292 + hardcode_libdir_separator_CXX=:
25294 + # Commands to make compiler produce verbose output that lists
25295 + # what "hidden" libraries, object files and flags are used when
25296 + # linking a shared library.
25298 + # There doesn't appear to be a way to prevent this compiler from
25299 + # explicitly linking system object files so we need to strip them
25300 + # from the output so that they don't get included in the library
25302 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25305 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
25306 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
25307 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
25309 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
25310 + hardcode_libdir_separator_CXX=:
25312 + # Commands to make compiler produce verbose output that lists
25313 + # what "hidden" libraries, object files and flags are used when
25314 + # linking a shared library.
25315 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
25318 + # FIXME: insert proper C++ library support
25325 + case $cc_basename in
25327 + # Kuck and Associates, Inc. (KAI) C++ Compiler
25329 + # KCC will only create a shared library if the output file
25330 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
25331 + # to its proper name (with version) after linking.
25332 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
25334 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
25335 + hardcode_libdir_separator_CXX=:
25337 + # Archives containing C++ object files must be created using
25338 + # the KAI C++ compiler.
25339 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
25342 + # Rational C++ 2.4.1
25343 + # FIXME: insert proper C++ library support
25347 + allow_undefined_flag_CXX=' -expect_unresolved \*'
25348 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
25349 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
25350 + echo "-hidden">> $lib.exp~
25351 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
25354 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
25355 + hardcode_libdir_separator_CXX=:
25357 + # Commands to make compiler produce verbose output that lists
25358 + # what "hidden" libraries, object files and flags are used when
25359 + # linking a shared library.
25361 + # There doesn't appear to be a way to prevent this compiler from
25362 + # explicitly linking system object files so we need to strip them
25363 + # from the output so that they don't get included in the library
25365 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25368 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
25369 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
25370 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
25372 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
25373 + hardcode_libdir_separator_CXX=:
25375 + # Commands to make compiler produce verbose output that lists
25376 + # what "hidden" libraries, object files and flags are used when
25377 + # linking a shared library.
25378 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
25381 + # FIXME: insert proper C++ library support
25388 + # FIXME: insert proper C++ library support
25392 + archive_cmds_need_lc_CXX=no
25393 + case $cc_basename in
25395 + # FIXME: insert proper C++ library support
25399 + # FIXME: insert proper C++ library support
25405 + case $cc_basename in
25408 + # FIXME: insert proper C++ library support
25413 + # FIXME: insert proper C++ library support
25417 + # FIXME: insert proper C++ library support
25423 + case $cc_basename in
25425 + # Sun C++ 4.2, 5.x and Centerline C++
25426 + no_undefined_flag_CXX=' -zdefs'
25427 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25428 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25429 + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
25431 + hardcode_libdir_flag_spec_CXX='-R$libdir'
25432 + hardcode_shlibpath_var_CXX=no
25434 + solaris2.0-5 | solaris2.0-5.*) ;;
25436 + # The C++ compiler is used as linker so we must use $wl
25437 + # flag to pass the commands to the underlying system
25439 + # Supported since Solaris 2.6 (maybe 2.5.1?)
25440 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
25443 + link_all_deplibs_CXX=yes
25445 + # Commands to make compiler produce verbose output that lists
25446 + # what "hidden" libraries, object files and flags are used when
25447 + # linking a shared library.
25449 + # There doesn't appear to be a way to prevent this compiler from
25450 + # explicitly linking system object files so we need to strip them
25451 + # from the output so that they don't get included in the library
25453 + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
25455 + # Archives containing C++ object files must be created using
25456 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
25457 + # necessary to make sure instantiated templates are included
25458 + # in the archive.
25459 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
25462 + # Green Hills C++ Compiler
25463 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25465 + # The C++ compiler must be used to create the archive.
25466 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
25469 + # GNU C++ compiler with Solaris linker
25470 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
25471 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
25472 + if $CC --version | grep -v '^2\.7' > /dev/null; then
25473 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25474 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25475 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
25477 + # Commands to make compiler produce verbose output that lists
25478 + # what "hidden" libraries, object files and flags are used when
25479 + # linking a shared library.
25480 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
25482 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
25484 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25485 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25486 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
25488 + # Commands to make compiler produce verbose output that lists
25489 + # what "hidden" libraries, object files and flags are used when
25490 + # linking a shared library.
25491 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
25494 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
25499 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
25500 + archive_cmds_need_lc_CXX=no
25503 + case $cc_basename in
25505 + # NonStop-UX NCC 3.20
25506 + # FIXME: insert proper C++ library support
25510 + # FIXME: insert proper C++ library support
25516 + # FIXME: insert proper C++ library support
25520 + # FIXME: insert proper C++ library support
25524 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
25525 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
25526 +test "$ld_shlibs_CXX" = no && can_build_shared=no
25532 +cat > conftest.$ac_ext <<EOF
25536 + Foo (void) { a = 0; }
25542 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25543 + (eval $ac_compile) 2>&5
25545 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 + (exit $ac_status); }; then
25547 + # Parse the compiler output and extract the necessary
25548 + # objects, libraries and library flags.
25550 + # Sentinel used to keep track of whether or not we are before
25551 + # the conftest object file.
25552 + pre_test_object_deps_done=no
25554 + # The `*' in the case matches for architectures that use `case' in
25555 + # $output_verbose_cmd can trigger glob expansion during the loop
25556 + # eval without this substitution.
25557 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
25559 + for p in `eval $output_verbose_link_cmd`; do
25563 + # Some compilers place space between "-{L,R}" and the path.
25564 + # Remove the space.
25565 + if test $p = "-L" \
25566 + || test $p = "-R"; then
25573 + if test "$pre_test_object_deps_done" = no; then
25576 + # Internal compiler library paths should come after those
25577 + # provided the user. The postdeps already come after the
25578 + # user supplied libs so there is no need to process them.
25579 + if test -z "$compiler_lib_search_path_CXX"; then
25580 + compiler_lib_search_path_CXX="${prev}${p}"
25582 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
25585 + # The "-l" case would never come before the object being
25586 + # linked, so don't bother handling this case.
25589 + if test -z "$postdeps_CXX"; then
25590 + postdeps_CXX="${prev}${p}"
25592 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
25598 + # This assumes that the test object file only shows up
25599 + # once in the compiler output.
25600 + if test "$p" = "conftest.$objext"; then
25601 + pre_test_object_deps_done=yes
25605 + if test "$pre_test_object_deps_done" = no; then
25606 + if test -z "$predep_objects_CXX"; then
25607 + predep_objects_CXX="$p"
25609 + predep_objects_CXX="$predep_objects_CXX $p"
25612 + if test -z "$postdep_objects_CXX"; then
25613 + postdep_objects_CXX="$p"
25615 + postdep_objects_CXX="$postdep_objects_CXX $p"
25620 + *) ;; # Ignore the rest.
25626 + rm -f a.out a.exe
25628 + echo "libtool.m4: error: problem compiling CXX test program"
25631 +$rm -f confest.$objext
25633 +case " $postdeps_CXX " in
25634 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
25637 +lt_prog_compiler_wl_CXX=
25638 +lt_prog_compiler_pic_CXX=
25639 +lt_prog_compiler_static_CXX=
25641 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25642 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25644 + # C++ specific cases for pic, static, wl, etc.
25645 + if test "$GXX" = yes; then
25646 + lt_prog_compiler_wl_CXX='-Wl,'
25647 + lt_prog_compiler_static_CXX='-static'
25651 + # All AIX code is PIC.
25652 + if test "$host_cpu" = ia64; then
25653 + # AIX 5 now supports IA64 processor
25654 + lt_prog_compiler_static_CXX='-Bstatic'
25658 + # FIXME: we need at least 68020 code to build shared libraries, but
25659 + # adding the `-m68020' flag to GCC prevents building anything better,
25660 + # like `-m68040'.
25661 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
25663 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25664 + # PIC is the default for these OSes.
25666 + mingw* | os2* | pw32*)
25667 + # This hack is so that the source file can tell whether it is being
25668 + # built for inclusion in a dll (and should export symbols for example).
25669 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
25671 + darwin* | rhapsody*)
25672 + # PIC is the default on this platform
25673 + # Common symbols not allowed in MH_DYLIB files
25674 + lt_prog_compiler_pic_CXX='-fno-common'
25677 + # DJGPP does not support shared libraries at all
25678 + lt_prog_compiler_pic_CXX=
25681 + if test -d /usr/nec; then
25682 + lt_prog_compiler_pic_CXX=-Kconform_pic
25686 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25687 + # not for PA HP-UX.
25688 + case "$host_cpu" in
25692 + lt_prog_compiler_pic_CXX='-fPIC'
25697 + lt_prog_compiler_pic_CXX='-fPIC'
25703 + # All AIX code is PIC.
25704 + if test "$host_cpu" = ia64; then
25705 + # AIX 5 now supports IA64 processor
25706 + lt_prog_compiler_static_CXX='-Bstatic'
25708 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
25712 + case $cc_basename in
25714 + # Green Hills C++ Compiler
25715 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
25720 + case $cc_basename in
25722 + lt_prog_compiler_pic_CXX='-KPIC'
25725 + # Green Hills C++ Compiler
25726 + lt_prog_compiler_pic_CXX='-pic'
25732 + freebsd* | kfreebsd*-gnu)
25733 + # FreeBSD uses GNU C++
25735 + hpux9* | hpux10* | hpux11*)
25736 + case $cc_basename in
25738 + lt_prog_compiler_wl_CXX='-Wl,'
25739 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
25740 + if test "$host_cpu" != ia64; then
25741 + lt_prog_compiler_pic_CXX='+Z'
25745 + lt_prog_compiler_wl_CXX='-Wl,'
25746 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
25747 + case "$host_cpu" in
25752 + lt_prog_compiler_pic_CXX='+Z'
25760 + irix5* | irix6* | nonstopux*)
25761 + case $cc_basename in
25763 + lt_prog_compiler_wl_CXX='-Wl,'
25764 + lt_prog_compiler_static_CXX='-non_shared'
25765 + # CC pic flag -KPIC is the default.
25772 + case $cc_basename in
25774 + # KAI C++ Compiler
25775 + lt_prog_compiler_wl_CXX='--backend -Wl,'
25776 + lt_prog_compiler_pic_CXX='-fPIC'
25780 + lt_prog_compiler_wl_CXX='-Wl,'
25781 + lt_prog_compiler_pic_CXX='-KPIC'
25782 + lt_prog_compiler_static_CXX='-static'
25786 + # Make sure the PIC flag is empty. It appears that all Alpha
25787 + # Linux and Compaq Tru64 Unix objects are PIC.
25788 + lt_prog_compiler_pic_CXX=
25789 + lt_prog_compiler_static_CXX='-non_shared'
25800 + case $cc_basename in
25802 + lt_prog_compiler_pic_CXX='-W c,exportall'
25808 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
25810 + osf3* | osf4* | osf5*)
25811 + case $cc_basename in
25813 + lt_prog_compiler_wl_CXX='--backend -Wl,'
25816 + # Rational C++ 2.4.1
25817 + lt_prog_compiler_pic_CXX='-pic'
25820 + # Digital/Compaq C++
25821 + lt_prog_compiler_wl_CXX='-Wl,'
25822 + # Make sure the PIC flag is empty. It appears that all Alpha
25823 + # Linux and Compaq Tru64 Unix objects are PIC.
25824 + lt_prog_compiler_pic_CXX=
25825 + lt_prog_compiler_static_CXX='-non_shared'
25834 + case $cc_basename in
25836 + lt_prog_compiler_pic_CXX='-fPIC'
25843 + case $cc_basename in
25845 + # Sun C++ 4.2, 5.x and Centerline C++
25846 + lt_prog_compiler_pic_CXX='-KPIC'
25847 + lt_prog_compiler_static_CXX='-Bstatic'
25848 + lt_prog_compiler_wl_CXX='-Qoption ld '
25851 + # Green Hills C++ Compiler
25852 + lt_prog_compiler_pic_CXX='-PIC'
25859 + case $cc_basename in
25862 + lt_prog_compiler_pic_CXX='-pic'
25863 + lt_prog_compiler_static_CXX='-Bstatic'
25867 + lt_prog_compiler_pic_CXX='-pic'
25874 + case $cc_basename in
25876 + # NonStop-UX NCC 3.20
25877 + lt_prog_compiler_pic_CXX='-KPIC'
25888 + lt_prog_compiler_can_build_shared_CXX=no
25893 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
25894 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
25897 +# Check to make sure the PIC flag actually works.
25899 +if test -n "$lt_prog_compiler_pic_CXX"; then
25901 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
25902 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
25903 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
25904 + echo $ECHO_N "(cached) $ECHO_C" >&6
25906 + lt_prog_compiler_pic_works_CXX=no
25907 + ac_outfile=conftest.$ac_objext
25908 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25909 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
25910 + # Insert the option either (1) after the last *FLAGS variable, or
25911 + # (2) before a word containing "conftest.", or (3) at the end.
25912 + # Note that $ac_compile itself does not contain backslashes and begins
25913 + # with a dollar sign (not a hyphen), so the echo should work correctly.
25914 + # The option is referenced via a variable to avoid confusing sed.
25915 + lt_compile=`echo "$ac_compile" | $SED \
25916 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25917 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25918 + -e 's:$: $lt_compiler_flag:'`
25919 + (eval echo "\"\$as_me:10953: $lt_compile\"" >&5)
25920 + (eval "$lt_compile" 2>conftest.err)
25922 + cat conftest.err >&5
25923 + echo "$as_me:10957: \$? = $ac_status" >&5
25924 + if (exit $ac_status) && test -s "$ac_outfile"; then
25925 + # The compiler can only warn and ignore the option if not recognized
25926 + # So say no if there are warnings
25927 + if test ! -s conftest.err; then
25928 + lt_prog_compiler_pic_works_CXX=yes
25934 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
25935 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
25937 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
25938 + case $lt_prog_compiler_pic_CXX in
25940 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
25943 + lt_prog_compiler_pic_CXX=
25944 + lt_prog_compiler_can_build_shared_CXX=no
25948 +case "$host_os" in
25949 + # For platforms which do not support PIC, -DPIC is meaningless:
25951 + lt_prog_compiler_pic_CXX=
25954 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
25958 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25959 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
25960 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
25961 + echo $ECHO_N "(cached) $ECHO_C" >&6
25963 + lt_cv_prog_compiler_c_o_CXX=no
25964 + $rm -r conftest 2>/dev/null
25968 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25970 + lt_compiler_flag="-o out/conftest2.$ac_objext"
25971 + # Insert the option either (1) after the last *FLAGS variable, or
25972 + # (2) before a word containing "conftest.", or (3) at the end.
25973 + # Note that $ac_compile itself does not contain backslashes and begins
25974 + # with a dollar sign (not a hyphen), so the echo should work correctly.
25975 + lt_compile=`echo "$ac_compile" | $SED \
25976 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25977 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25978 + -e 's:$: $lt_compiler_flag:'`
25979 + (eval echo "\"\$as_me:11013: $lt_compile\"" >&5)
25980 + (eval "$lt_compile" 2>out/conftest.err)
25982 + cat out/conftest.err >&5
25983 + echo "$as_me:11017: \$? = $ac_status" >&5
25984 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
25986 + # The compiler can only warn and ignore the option if not recognized
25987 + # So say no if there are warnings
25988 + if test ! -s out/conftest.err; then
25989 + lt_cv_prog_compiler_c_o_CXX=yes
25994 + # SGI C++ compiler will create directory out/ii_files/ for
25995 + # template instantiation
25996 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
25997 + $rm out/* && rmdir out
26003 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
26004 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
26007 +hard_links="nottested"
26008 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
26009 + # do not overwrite the value of need_locks provided by the user
26010 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
26011 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
26014 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
26016 + ln conftest.a conftest.b 2>&5 || hard_links=no
26017 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
26018 + echo "$as_me:$LINENO: result: $hard_links" >&5
26019 +echo "${ECHO_T}$hard_links" >&6
26020 + if test "$hard_links" = no; then
26021 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
26022 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
26029 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
26030 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
26032 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
26035 + # If we're using GNU nm, then we don't want the "-C" option.
26036 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
26037 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
26038 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26040 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
26044 + export_symbols_cmds_CXX="$ltdll_cmds"
26046 + cygwin* | mingw*)
26047 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
26050 + link_all_deplibs_CXX=no
26053 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
26057 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
26058 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
26059 +test "$ld_shlibs_CXX" = no && can_build_shared=no
26061 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26062 +if test "$GCC" = yes; then
26063 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26067 +# Do we need to explicitly link libc?
26069 +case "x$archive_cmds_need_lc_CXX" in
26071 + # Assume -lc should be added
26072 + archive_cmds_need_lc_CXX=yes
26074 + if test "$enable_shared" = yes && test "$GCC" = yes; then
26075 + case $archive_cmds_CXX in
26077 + # FIXME: we may have to deal with multi-command sequences.
26080 + # Test whether the compiler implicitly links with -lc since on some
26081 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
26082 + # to ld, don't add -lc before -lgcc.
26083 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26084 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
26086 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26088 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089 + (eval $ac_compile) 2>&5
26091 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 + (exit $ac_status); } 2>conftest.err; then
26095 + libobjs=conftest.$ac_objext
26097 + wl=$lt_prog_compiler_wl_CXX
26098 + compiler_flags=-v
26103 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
26104 + allow_undefined_flag_CXX=
26105 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
26106 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
26108 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 + (exit $ac_status); }
26111 + archive_cmds_need_lc_CXX=no
26113 + archive_cmds_need_lc_CXX=yes
26115 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
26117 + cat conftest.err 1>&5
26120 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
26121 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
26128 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26129 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
26130 +library_names_spec=
26131 +libname_spec='lib$name'
26135 +postuninstall_cmds=
26139 +shlibpath_overrides_runpath=unknown
26141 +dynamic_linker="$host_os ld.so"
26142 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
26143 +if test "$GCC" = yes; then
26144 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26145 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
26146 + # if the path contains ";" then we assume it to be the separator
26147 + # otherwise default to the standard path separator (i.e. ":") - it is
26148 + # assumed that no part of a normal pathname contains ";" but that should
26149 + # okay in the real world where ";" in dirpaths is itself problematic.
26150 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26152 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26155 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
26157 +need_lib_prefix=unknown
26158 +hardcode_into_libs=no
26160 +# when you set need_version to no, make sure it does not cause -set_version
26161 +# flags to be left without arguments
26162 +need_version=unknown
26166 + version_type=linux
26167 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
26168 + shlibpath_var=LIBPATH
26170 + # AIX 3 has no versioning support, so we append a major version to the name.
26171 + soname_spec='${libname}${release}${shared_ext}$major'
26175 + version_type=linux
26176 + need_lib_prefix=no
26178 + hardcode_into_libs=yes
26179 + if test "$host_cpu" = ia64; then
26180 + # AIX 5 supports IA64
26181 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
26182 + shlibpath_var=LD_LIBRARY_PATH
26184 + # With GCC up to 2.95.x, collect2 would create an import file
26185 + # for dependence libraries. The import file would start with
26186 + # the line `#! .'. This would cause the generated library to
26187 + # depend on `.', always an invalid library. This was fixed in
26188 + # development snapshots of GCC prior to 3.0.
26190 + aix4 | aix4.[01] | aix4.[01].*)
26191 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
26193 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
26196 + can_build_shared=no
26200 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
26201 + # soname into executable. Probably we can add versioning support to
26202 + # collect2, so additional links can be useful in future.
26203 + if test "$aix_use_runtimelinking" = yes; then
26204 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
26205 + # instead of lib<name>.a to let people know that these are not
26206 + # typical AIX shared libraries.
26207 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26209 + # We preserve .a as extension for shared libraries through AIX4.2
26210 + # and later when we are not doing run time linking.
26211 + library_names_spec='${libname}${release}.a $libname.a'
26212 + soname_spec='${libname}${release}${shared_ext}$major'
26214 + shlibpath_var=LIBPATH
26219 + library_names_spec='$libname.ixlibrary $libname.a'
26220 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
26221 + 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'
26225 + library_names_spec='${libname}${shared_ext}'
26226 + dynamic_linker="$host_os ld.so"
26227 + shlibpath_var=LIBRARY_PATH
26231 + version_type=linux
26233 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26234 + soname_spec='${libname}${release}${shared_ext}$major'
26235 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
26236 + shlibpath_var=LD_LIBRARY_PATH
26237 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
26238 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
26239 + # the default ld.so.conf also contains /usr/contrib/lib and
26240 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
26241 + # libtool to hard-code these into programs
26244 +cygwin* | mingw* | pw32*)
26245 + version_type=windows
26246 + shrext_cmds=".dll"
26248 + need_lib_prefix=no
26250 + case $GCC,$host_os in
26251 + yes,cygwin* | yes,mingw* | yes,pw32*)
26252 + library_names_spec='$libname.dll.a'
26253 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
26254 + postinstall_cmds='base_file=`basename \${file}`~
26255 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
26256 + dldir=$destdir/`dirname \$dlpath`~
26257 + test -d \$dldir || mkdir -p \$dldir~
26258 + $install_prog $dir/$dlname \$dldir/$dlname'
26259 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26260 + dlpath=$dir/\$dldll~
26262 + shlibpath_overrides_runpath=yes
26266 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
26267 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26268 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
26271 + # MinGW DLLs use traditional 'lib' prefix
26272 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26273 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26274 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
26275 + # It is most probably a Windows format PATH printed by
26276 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
26277 + # path with ; separators, and with drive letters. We can handle the
26278 + # drive letters (cygwin fileutils understands them), so leave them,
26279 + # especially as we might pass files found there to a mingw objdump,
26280 + # which wouldn't understand a cygwinified path. Ahh.
26281 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26283 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26287 + # pw32 DLLs use 'pw' prefix rather than 'lib'
26288 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
26294 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
26297 + dynamic_linker='Win32 ld.exe'
26298 + # FIXME: first we should search . and the directory the executable is in
26299 + shlibpath_var=PATH
26302 +darwin* | rhapsody*)
26303 + dynamic_linker="$host_os dyld"
26304 + version_type=darwin
26305 + need_lib_prefix=no
26307 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
26308 + soname_spec='${libname}${release}${major}$shared_ext'
26309 + shlibpath_overrides_runpath=yes
26310 + shlibpath_var=DYLD_LIBRARY_PATH
26311 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
26312 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26313 + if test "$GCC" = yes; then
26314 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
26316 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26318 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26322 + version_type=linux
26323 + need_lib_prefix=no
26325 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
26326 + soname_spec='${libname}${release}${shared_ext}$major'
26327 + shlibpath_var=LD_LIBRARY_PATH
26331 + dynamic_linker=no
26335 + version_type=linux
26336 + need_lib_prefix=no
26338 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26339 + soname_spec='${libname}${release}${shared_ext}$major'
26340 + shlibpath_var=LD_LIBRARY_PATH
26341 + shlibpath_overrides_runpath=no
26342 + hardcode_into_libs=yes
26343 + dynamic_linker='GNU ld.so'
26347 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
26348 + version_type=freebsd-$objformat
26349 + case $version_type in
26351 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26353 + need_lib_prefix=no
26356 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
26360 + shlibpath_var=LD_LIBRARY_PATH
26363 + shlibpath_overrides_runpath=yes
26365 + freebsd3.01* | freebsdelf3.01*)
26366 + shlibpath_overrides_runpath=yes
26367 + hardcode_into_libs=yes
26370 + shlibpath_overrides_runpath=no
26371 + hardcode_into_libs=yes
26377 + version_type=linux
26378 + need_lib_prefix=no
26380 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
26381 + soname_spec='${libname}${release}${shared_ext}$major'
26382 + shlibpath_var=LD_LIBRARY_PATH
26383 + hardcode_into_libs=yes
26386 +hpux9* | hpux10* | hpux11*)
26387 + # Give a soname corresponding to the major version so that dld.sl refuses to
26388 + # link against other versions.
26389 + version_type=sunos
26390 + need_lib_prefix=no
26392 + case "$host_cpu" in
26394 + shrext_cmds='.so'
26395 + hardcode_into_libs=yes
26396 + dynamic_linker="$host_os dld.so"
26397 + shlibpath_var=LD_LIBRARY_PATH
26398 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26399 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26400 + soname_spec='${libname}${release}${shared_ext}$major'
26401 + if test "X$HPUX_IA64_MODE" = X32; then
26402 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
26404 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
26406 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26409 + shrext_cmds='.sl'
26410 + hardcode_into_libs=yes
26411 + dynamic_linker="$host_os dld.sl"
26412 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
26413 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26414 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26415 + soname_spec='${libname}${release}${shared_ext}$major'
26416 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
26417 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26420 + shrext_cmds='.sl'
26421 + dynamic_linker="$host_os dld.sl"
26422 + shlibpath_var=SHLIB_PATH
26423 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
26424 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26425 + soname_spec='${libname}${release}${shared_ext}$major'
26428 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
26429 + postinstall_cmds='chmod 555 $lib'
26432 +irix5* | irix6* | nonstopux*)
26434 + nonstopux*) version_type=nonstopux ;;
26436 + if test "$lt_cv_prog_gnu_ld" = yes; then
26437 + version_type=linux
26439 + version_type=irix
26442 + need_lib_prefix=no
26444 + soname_spec='${libname}${release}${shared_ext}$major'
26445 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26447 + irix5* | nonstopux*)
26448 + libsuff= shlibsuff=
26451 + case $LD in # libtool.m4 will add one of these switches to LD
26452 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
26453 + libsuff= shlibsuff= libmagic=32-bit;;
26454 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
26455 + libsuff=32 shlibsuff=N32 libmagic=N32;;
26456 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
26457 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
26458 + *) libsuff= shlibsuff= libmagic=never-match;;
26462 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
26463 + shlibpath_overrides_runpath=no
26464 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26465 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
26466 + hardcode_into_libs=yes
26469 +# No shared lib support for Linux oldld, aout, or coff.
26470 +linux*oldld* | linux*aout* | linux*coff*)
26471 + dynamic_linker=no
26474 +# This must be Linux ELF.
26476 + version_type=linux
26477 + need_lib_prefix=no
26479 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26480 + soname_spec='${libname}${release}${shared_ext}$major'
26481 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26482 + shlibpath_var=LD_LIBRARY_PATH
26483 + shlibpath_overrides_runpath=no
26484 + # This implies no fast_install, which is unacceptable.
26485 + # Some rework will be needed to allow for fast_install
26486 + # before this can be enabled.
26487 + hardcode_into_libs=yes
26489 + # Append ld.so.conf contents to the search path
26490 + if test -f /etc/ld.so.conf; then
26491 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
26492 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26495 + # We used to test for /lib/ld.so.1 and disable shared libraries on
26496 + # powerpc, because MkLinux only supported shared libraries with the
26497 + # GNU dynamic linker. Since this was broken with cross compilers,
26498 + # most powerpc-linux boxes support dynamic linking these days and
26499 + # people can always --disable-shared, the test was removed, and we
26500 + # assume the GNU/Linux dynamic linker is in use.
26501 + dynamic_linker='GNU/Linux ld.so'
26505 + version_type=linux
26506 + need_lib_prefix=no
26508 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26509 + soname_spec='${libname}${release}${shared_ext}$major'
26510 + shlibpath_var=LD_LIBRARY_PATH
26511 + shlibpath_overrides_runpath=no
26512 + hardcode_into_libs=yes
26513 + dynamic_linker='NetBSD ld.elf_so'
26517 + version_type=linux
26518 + need_lib_prefix=no
26520 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26521 + soname_spec='${libname}${release}${shared_ext}$major'
26522 + shlibpath_var=LD_LIBRARY_PATH
26523 + shlibpath_overrides_runpath=no
26524 + hardcode_into_libs=yes
26525 + dynamic_linker='GNU ld.so'
26529 + version_type=sunos
26530 + need_lib_prefix=no
26532 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26533 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26534 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26535 + dynamic_linker='NetBSD (a.out) ld.so'
26537 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26538 + soname_spec='${libname}${release}${shared_ext}$major'
26539 + dynamic_linker='NetBSD ld.elf_so'
26541 + shlibpath_var=LD_LIBRARY_PATH
26542 + shlibpath_overrides_runpath=yes
26543 + hardcode_into_libs=yes
26547 + version_type=linux
26548 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26549 + shlibpath_var=LD_LIBRARY_PATH
26550 + shlibpath_overrides_runpath=yes
26554 + version_type=linux
26555 + need_lib_prefix=no
26557 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26558 + soname_spec='${libname}${release}${shared_ext}$major'
26559 + shlibpath_var=LD_LIBRARY_PATH
26560 + shlibpath_overrides_runpath=yes
26564 + version_type=sunos
26565 + need_lib_prefix=no
26567 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26568 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26569 + shlibpath_var=LD_LIBRARY_PATH
26570 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26572 + openbsd2.[89] | openbsd2.[89].*)
26573 + shlibpath_overrides_runpath=no
26576 + shlibpath_overrides_runpath=yes
26580 + shlibpath_overrides_runpath=yes
26585 + libname_spec='$name'
26586 + shrext_cmds=".dll"
26587 + need_lib_prefix=no
26588 + library_names_spec='$libname${shared_ext} $libname.a'
26589 + dynamic_linker='OS/2 ld.exe'
26590 + shlibpath_var=LIBPATH
26593 +osf3* | osf4* | osf5*)
26595 + need_lib_prefix=no
26597 + soname_spec='${libname}${release}${shared_ext}$major'
26598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26599 + shlibpath_var=LD_LIBRARY_PATH
26600 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26601 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26606 + soname_spec='${libname}${release}${shared_ext}$major'
26607 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26608 + shlibpath_var=LD_LIBRARY_PATH
26612 + version_type=linux
26613 + need_lib_prefix=no
26615 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26616 + soname_spec='${libname}${release}${shared_ext}$major'
26617 + shlibpath_var=LD_LIBRARY_PATH
26618 + shlibpath_overrides_runpath=yes
26619 + hardcode_into_libs=yes
26620 + # ldd complains unless libraries are executable
26621 + postinstall_cmds='chmod +x $lib'
26625 + version_type=sunos
26626 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26627 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26628 + shlibpath_var=LD_LIBRARY_PATH
26629 + shlibpath_overrides_runpath=yes
26630 + if test "$with_gnu_ld" = yes; then
26631 + need_lib_prefix=no
26636 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26637 + version_type=linux
26638 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26639 + soname_spec='${libname}${release}${shared_ext}$major'
26640 + shlibpath_var=LD_LIBRARY_PATH
26641 + case $host_vendor in
26643 + shlibpath_overrides_runpath=no
26644 + need_lib_prefix=no
26645 + export_dynamic_flag_spec='${wl}-Blargedynsym'
26646 + runpath_var=LD_RUN_PATH
26649 + need_lib_prefix=no
26652 + need_lib_prefix=no
26654 + shlibpath_overrides_runpath=no
26655 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26661 + if test -d /usr/nec ;then
26662 + version_type=linux
26663 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26664 + soname_spec='$libname${shared_ext}.$major'
26665 + shlibpath_var=LD_LIBRARY_PATH
26670 + version_type=linux
26671 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26672 + soname_spec='${libname}${release}${shared_ext}$major'
26673 + shlibpath_var=LD_LIBRARY_PATH
26677 + dynamic_linker=no
26680 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26681 +echo "${ECHO_T}$dynamic_linker" >&6
26682 +test "$dynamic_linker" = no && can_build_shared=no
26684 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26685 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
26686 +hardcode_action_CXX=
26687 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
26688 + test -n "$runpath_var CXX" || \
26689 + test "X$hardcode_automatic_CXX"="Xyes" ; then
26691 + # We can hardcode non-existant directories.
26692 + if test "$hardcode_direct_CXX" != no &&
26693 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
26694 + # have to relink, otherwise we might link with an installed library
26695 + # when we should be linking with a yet-to-be-installed one
26696 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
26697 + test "$hardcode_minus_L_CXX" != no; then
26698 + # Linking always hardcodes the temporary library directory.
26699 + hardcode_action_CXX=relink
26701 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
26702 + hardcode_action_CXX=immediate
26705 + # We cannot hardcode anything, or else we can only hardcode existing
26707 + hardcode_action_CXX=unsupported
26709 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
26710 +echo "${ECHO_T}$hardcode_action_CXX" >&6
26712 +if test "$hardcode_action_CXX" = relink; then
26713 + # Fast installation is not supported
26714 + enable_fast_install=no
26715 +elif test "$shlibpath_overrides_runpath" = yes ||
26716 + test "$enable_shared" = no; then
26717 + # Fast installation is not necessary
26718 + enable_fast_install=needless
26723 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
26724 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
26725 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
26726 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
26727 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
26728 + echo "$as_me:$LINENO: result: yes" >&5
26729 +echo "${ECHO_T}yes" >&6
26731 +# FIXME - insert some real tests, host_os isn't really good enough
26734 + if test -n "$STRIP" ; then
26735 + striplib="$STRIP -x"
26736 + echo "$as_me:$LINENO: result: yes" >&5
26737 +echo "${ECHO_T}yes" >&6
26739 + echo "$as_me:$LINENO: result: no" >&5
26740 +echo "${ECHO_T}no" >&6
26744 + echo "$as_me:$LINENO: result: no" >&5
26745 +echo "${ECHO_T}no" >&6
26750 +if test "x$enable_dlopen" != xyes; then
26751 + enable_dlopen=unknown
26752 + enable_dlopen_self=unknown
26753 + enable_dlopen_self_static=unknown
26756 + lt_cv_dlopen_libs=
26760 + lt_cv_dlopen="load_add_on"
26761 + lt_cv_dlopen_libs=
26762 + lt_cv_dlopen_self=yes
26766 + lt_cv_dlopen="LoadLibrary"
26767 + lt_cv_dlopen_libs=
26771 + lt_cv_dlopen="dlopen"
26772 + lt_cv_dlopen_libs=
26776 + # if libdl is installed we need to link against it
26777 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26778 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26779 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26780 + echo $ECHO_N "(cached) $ECHO_C" >&6
26782 + ac_check_lib_save_LIBS=$LIBS
26784 +cat >conftest.$ac_ext <<_ACEOF
26787 +cat confdefs.h >>conftest.$ac_ext
26788 +cat >>conftest.$ac_ext <<_ACEOF
26789 +/* end confdefs.h. */
26791 +/* Override any gcc2 internal prototype to avoid an error. */
26792 +#ifdef __cplusplus
26795 +/* We use char because int might match the return type of a gcc2
26796 + builtin and then its argument prototype would still apply. */
26806 +rm -f conftest.$ac_objext conftest$ac_exeext
26807 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26808 + (eval $ac_link) 2>conftest.er1
26810 + grep -v '^ *+' conftest.er1 >conftest.err
26811 + rm -f conftest.er1
26812 + cat conftest.err >&5
26813 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 + (exit $ac_status); } &&
26815 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26816 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817 + (eval $ac_try) 2>&5
26819 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 + (exit $ac_status); }; } &&
26821 + { ac_try='test -s conftest$ac_exeext'
26822 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 + (eval $ac_try) 2>&5
26825 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 + (exit $ac_status); }; }; then
26827 + ac_cv_lib_dl_dlopen=yes
26829 + echo "$as_me: failed program was:" >&5
26830 +sed 's/^/| /' conftest.$ac_ext >&5
26832 +ac_cv_lib_dl_dlopen=no
26834 +rm -f conftest.err conftest.$ac_objext \
26835 + conftest$ac_exeext conftest.$ac_ext
26836 +LIBS=$ac_check_lib_save_LIBS
26838 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26839 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26840 +if test $ac_cv_lib_dl_dlopen = yes; then
26841 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
26844 + lt_cv_dlopen="dyld"
26845 + lt_cv_dlopen_libs=
26846 + lt_cv_dlopen_self=yes
26853 + echo "$as_me:$LINENO: checking for shl_load" >&5
26854 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
26855 +if test "${ac_cv_func_shl_load+set}" = set; then
26856 + echo $ECHO_N "(cached) $ECHO_C" >&6
26858 + cat >conftest.$ac_ext <<_ACEOF
26861 +cat confdefs.h >>conftest.$ac_ext
26862 +cat >>conftest.$ac_ext <<_ACEOF
26863 +/* end confdefs.h. */
26864 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
26865 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
26866 +#define shl_load innocuous_shl_load
26868 +/* System header to define __stub macros and hopefully few prototypes,
26869 + which can conflict with char shl_load (); below.
26870 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26871 + <limits.h> exists even on freestanding compilers. */
26874 +# include <limits.h>
26876 +# include <assert.h>
26881 +/* Override any gcc2 internal prototype to avoid an error. */
26882 +#ifdef __cplusplus
26886 +/* We use char because int might match the return type of a gcc2
26887 + builtin and then its argument prototype would still apply. */
26889 +/* The GNU C library defines this for functions which it implements
26890 + to always fail with ENOSYS. Some functions are actually named
26891 + something starting with __ and the normal name is an alias. */
26892 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
26895 +char (*f) () = shl_load;
26897 +#ifdef __cplusplus
26904 +return f != shl_load;
26909 +rm -f conftest.$ac_objext conftest$ac_exeext
26910 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26911 + (eval $ac_link) 2>conftest.er1
26913 + grep -v '^ *+' conftest.er1 >conftest.err
26914 + rm -f conftest.er1
26915 + cat conftest.err >&5
26916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 + (exit $ac_status); } &&
26918 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26920 + (eval $ac_try) 2>&5
26922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 + (exit $ac_status); }; } &&
26924 + { ac_try='test -s conftest$ac_exeext'
26925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 + (eval $ac_try) 2>&5
26928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 + (exit $ac_status); }; }; then
26930 + ac_cv_func_shl_load=yes
26932 + echo "$as_me: failed program was:" >&5
26933 +sed 's/^/| /' conftest.$ac_ext >&5
26935 +ac_cv_func_shl_load=no
26937 +rm -f conftest.err conftest.$ac_objext \
26938 + conftest$ac_exeext conftest.$ac_ext
26940 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
26941 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
26942 +if test $ac_cv_func_shl_load = yes; then
26943 + lt_cv_dlopen="shl_load"
26945 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
26946 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
26947 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
26948 + echo $ECHO_N "(cached) $ECHO_C" >&6
26950 + ac_check_lib_save_LIBS=$LIBS
26951 +LIBS="-ldld $LIBS"
26952 +cat >conftest.$ac_ext <<_ACEOF
26955 +cat confdefs.h >>conftest.$ac_ext
26956 +cat >>conftest.$ac_ext <<_ACEOF
26957 +/* end confdefs.h. */
26959 +/* Override any gcc2 internal prototype to avoid an error. */
26960 +#ifdef __cplusplus
26963 +/* We use char because int might match the return type of a gcc2
26964 + builtin and then its argument prototype would still apply. */
26974 +rm -f conftest.$ac_objext conftest$ac_exeext
26975 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26976 + (eval $ac_link) 2>conftest.er1
26978 + grep -v '^ *+' conftest.er1 >conftest.err
26979 + rm -f conftest.er1
26980 + cat conftest.err >&5
26981 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 + (exit $ac_status); } &&
26983 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26984 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 + (eval $ac_try) 2>&5
26987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 + (exit $ac_status); }; } &&
26989 + { ac_try='test -s conftest$ac_exeext'
26990 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991 + (eval $ac_try) 2>&5
26993 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 + (exit $ac_status); }; }; then
26995 + ac_cv_lib_dld_shl_load=yes
26997 + echo "$as_me: failed program was:" >&5
26998 +sed 's/^/| /' conftest.$ac_ext >&5
27000 +ac_cv_lib_dld_shl_load=no
27002 +rm -f conftest.err conftest.$ac_objext \
27003 + conftest$ac_exeext conftest.$ac_ext
27004 +LIBS=$ac_check_lib_save_LIBS
27006 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27007 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
27008 +if test $ac_cv_lib_dld_shl_load = yes; then
27009 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
27011 + echo "$as_me:$LINENO: checking for dlopen" >&5
27012 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
27013 +if test "${ac_cv_func_dlopen+set}" = set; then
27014 + echo $ECHO_N "(cached) $ECHO_C" >&6
27016 + cat >conftest.$ac_ext <<_ACEOF
27019 +cat confdefs.h >>conftest.$ac_ext
27020 +cat >>conftest.$ac_ext <<_ACEOF
27021 +/* end confdefs.h. */
27022 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27023 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
27024 +#define dlopen innocuous_dlopen
27026 +/* System header to define __stub macros and hopefully few prototypes,
27027 + which can conflict with char dlopen (); below.
27028 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27029 + <limits.h> exists even on freestanding compilers. */
27032 +# include <limits.h>
27034 +# include <assert.h>
27039 +/* Override any gcc2 internal prototype to avoid an error. */
27040 +#ifdef __cplusplus
27044 +/* We use char because int might match the return type of a gcc2
27045 + builtin and then its argument prototype would still apply. */
27047 +/* The GNU C library defines this for functions which it implements
27048 + to always fail with ENOSYS. Some functions are actually named
27049 + something starting with __ and the normal name is an alias. */
27050 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
27053 +char (*f) () = dlopen;
27055 +#ifdef __cplusplus
27062 +return f != dlopen;
27067 +rm -f conftest.$ac_objext conftest$ac_exeext
27068 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 + (eval $ac_link) 2>conftest.er1
27071 + grep -v '^ *+' conftest.er1 >conftest.err
27072 + rm -f conftest.er1
27073 + cat conftest.err >&5
27074 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 + (exit $ac_status); } &&
27076 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27077 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 + (eval $ac_try) 2>&5
27080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 + (exit $ac_status); }; } &&
27082 + { ac_try='test -s conftest$ac_exeext'
27083 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 + (eval $ac_try) 2>&5
27086 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 + (exit $ac_status); }; }; then
27088 + ac_cv_func_dlopen=yes
27090 + echo "$as_me: failed program was:" >&5
27091 +sed 's/^/| /' conftest.$ac_ext >&5
27093 +ac_cv_func_dlopen=no
27095 +rm -f conftest.err conftest.$ac_objext \
27096 + conftest$ac_exeext conftest.$ac_ext
27098 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
27099 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
27100 +if test $ac_cv_func_dlopen = yes; then
27101 + lt_cv_dlopen="dlopen"
27103 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27104 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27105 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27106 + echo $ECHO_N "(cached) $ECHO_C" >&6
27108 + ac_check_lib_save_LIBS=$LIBS
27110 +cat >conftest.$ac_ext <<_ACEOF
27113 +cat confdefs.h >>conftest.$ac_ext
27114 +cat >>conftest.$ac_ext <<_ACEOF
27115 +/* end confdefs.h. */
27117 +/* Override any gcc2 internal prototype to avoid an error. */
27118 +#ifdef __cplusplus
27121 +/* We use char because int might match the return type of a gcc2
27122 + builtin and then its argument prototype would still apply. */
27132 +rm -f conftest.$ac_objext conftest$ac_exeext
27133 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27134 + (eval $ac_link) 2>conftest.er1
27136 + grep -v '^ *+' conftest.er1 >conftest.err
27137 + rm -f conftest.er1
27138 + cat conftest.err >&5
27139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 + (exit $ac_status); } &&
27141 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 + (eval $ac_try) 2>&5
27145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 + (exit $ac_status); }; } &&
27147 + { ac_try='test -s conftest$ac_exeext'
27148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 + (eval $ac_try) 2>&5
27151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 + (exit $ac_status); }; }; then
27153 + ac_cv_lib_dl_dlopen=yes
27155 + echo "$as_me: failed program was:" >&5
27156 +sed 's/^/| /' conftest.$ac_ext >&5
27158 +ac_cv_lib_dl_dlopen=no
27160 +rm -f conftest.err conftest.$ac_objext \
27161 + conftest$ac_exeext conftest.$ac_ext
27162 +LIBS=$ac_check_lib_save_LIBS
27164 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27165 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27166 +if test $ac_cv_lib_dl_dlopen = yes; then
27167 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27169 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
27170 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
27171 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
27172 + echo $ECHO_N "(cached) $ECHO_C" >&6
27174 + ac_check_lib_save_LIBS=$LIBS
27175 +LIBS="-lsvld $LIBS"
27176 +cat >conftest.$ac_ext <<_ACEOF
27179 +cat confdefs.h >>conftest.$ac_ext
27180 +cat >>conftest.$ac_ext <<_ACEOF
27181 +/* end confdefs.h. */
27183 +/* Override any gcc2 internal prototype to avoid an error. */
27184 +#ifdef __cplusplus
27187 +/* We use char because int might match the return type of a gcc2
27188 + builtin and then its argument prototype would still apply. */
27198 +rm -f conftest.$ac_objext conftest$ac_exeext
27199 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27200 + (eval $ac_link) 2>conftest.er1
27202 + grep -v '^ *+' conftest.er1 >conftest.err
27203 + rm -f conftest.er1
27204 + cat conftest.err >&5
27205 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 + (exit $ac_status); } &&
27207 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27208 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 + (eval $ac_try) 2>&5
27211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 + (exit $ac_status); }; } &&
27213 + { ac_try='test -s conftest$ac_exeext'
27214 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 + (eval $ac_try) 2>&5
27217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 + (exit $ac_status); }; }; then
27219 + ac_cv_lib_svld_dlopen=yes
27221 + echo "$as_me: failed program was:" >&5
27222 +sed 's/^/| /' conftest.$ac_ext >&5
27224 +ac_cv_lib_svld_dlopen=no
27226 +rm -f conftest.err conftest.$ac_objext \
27227 + conftest$ac_exeext conftest.$ac_ext
27228 +LIBS=$ac_check_lib_save_LIBS
27230 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
27231 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
27232 +if test $ac_cv_lib_svld_dlopen = yes; then
27233 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
27235 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
27236 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
27237 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
27238 + echo $ECHO_N "(cached) $ECHO_C" >&6
27240 + ac_check_lib_save_LIBS=$LIBS
27241 +LIBS="-ldld $LIBS"
27242 +cat >conftest.$ac_ext <<_ACEOF
27245 +cat confdefs.h >>conftest.$ac_ext
27246 +cat >>conftest.$ac_ext <<_ACEOF
27247 +/* end confdefs.h. */
27249 +/* Override any gcc2 internal prototype to avoid an error. */
27250 +#ifdef __cplusplus
27253 +/* We use char because int might match the return type of a gcc2
27254 + builtin and then its argument prototype would still apply. */
27264 +rm -f conftest.$ac_objext conftest$ac_exeext
27265 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27266 + (eval $ac_link) 2>conftest.er1
27268 + grep -v '^ *+' conftest.er1 >conftest.err
27269 + rm -f conftest.er1
27270 + cat conftest.err >&5
27271 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 + (exit $ac_status); } &&
27273 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27274 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 + (eval $ac_try) 2>&5
27277 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 + (exit $ac_status); }; } &&
27279 + { ac_try='test -s conftest$ac_exeext'
27280 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 + (eval $ac_try) 2>&5
27283 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 + (exit $ac_status); }; }; then
27285 + ac_cv_lib_dld_dld_link=yes
27287 + echo "$as_me: failed program was:" >&5
27288 +sed 's/^/| /' conftest.$ac_ext >&5
27290 +ac_cv_lib_dld_dld_link=no
27292 +rm -f conftest.err conftest.$ac_objext \
27293 + conftest$ac_exeext conftest.$ac_ext
27294 +LIBS=$ac_check_lib_save_LIBS
27296 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
27297 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
27298 +if test $ac_cv_lib_dld_dld_link = yes; then
27299 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
27320 + if test "x$lt_cv_dlopen" != xno; then
27321 + enable_dlopen=yes
27326 + case $lt_cv_dlopen in
27328 + save_CPPFLAGS="$CPPFLAGS"
27329 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
27331 + save_LDFLAGS="$LDFLAGS"
27332 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
27334 + save_LIBS="$LIBS"
27335 + LIBS="$lt_cv_dlopen_libs $LIBS"
27337 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
27338 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
27339 +if test "${lt_cv_dlopen_self+set}" = set; then
27340 + echo $ECHO_N "(cached) $ECHO_C" >&6
27342 + if test "$cross_compiling" = yes; then :
27343 + lt_cv_dlopen_self=cross
27345 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27346 + lt_status=$lt_dlunknown
27347 + cat > conftest.$ac_ext <<EOF
27348 +#line 12382 "configure"
27349 +#include "confdefs.h"
27352 +#include <dlfcn.h>
27355 +#include <stdio.h>
27357 +#ifdef RTLD_GLOBAL
27358 +# define LT_DLGLOBAL RTLD_GLOBAL
27361 +# define LT_DLGLOBAL DL_GLOBAL
27363 +# define LT_DLGLOBAL 0
27367 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27368 + find out it does not work in some platform. */
27369 +#ifndef LT_DLLAZY_OR_NOW
27371 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
27374 +# define LT_DLLAZY_OR_NOW DL_LAZY
27377 +# define LT_DLLAZY_OR_NOW RTLD_NOW
27380 +# define LT_DLLAZY_OR_NOW DL_NOW
27382 +# define LT_DLLAZY_OR_NOW 0
27389 +#ifdef __cplusplus
27390 +extern "C" void exit (int);
27393 +void fnord() { int i=42;}
27396 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27397 + int status = $lt_dlunknown;
27401 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27402 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27403 + /* dlclose (self); */
27409 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27410 + (eval $ac_link) 2>&5
27412 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27414 + (./conftest; exit; ) 2>/dev/null
27416 + case x$lt_status in
27417 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27418 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27419 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27422 + # compilation failed
27423 + lt_cv_dlopen_self=no
27430 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27431 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27433 + if test "x$lt_cv_dlopen_self" = xyes; then
27434 + LDFLAGS="$LDFLAGS $link_static_flag"
27435 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27436 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27437 +if test "${lt_cv_dlopen_self_static+set}" = set; then
27438 + echo $ECHO_N "(cached) $ECHO_C" >&6
27440 + if test "$cross_compiling" = yes; then :
27441 + lt_cv_dlopen_self_static=cross
27443 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27444 + lt_status=$lt_dlunknown
27445 + cat > conftest.$ac_ext <<EOF
27446 +#line 12480 "configure"
27447 +#include "confdefs.h"
27450 +#include <dlfcn.h>
27453 +#include <stdio.h>
27455 +#ifdef RTLD_GLOBAL
27456 +# define LT_DLGLOBAL RTLD_GLOBAL
27459 +# define LT_DLGLOBAL DL_GLOBAL
27461 +# define LT_DLGLOBAL 0
27465 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27466 + find out it does not work in some platform. */
27467 +#ifndef LT_DLLAZY_OR_NOW
27469 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
27472 +# define LT_DLLAZY_OR_NOW DL_LAZY
27475 +# define LT_DLLAZY_OR_NOW RTLD_NOW
27478 +# define LT_DLLAZY_OR_NOW DL_NOW
27480 +# define LT_DLLAZY_OR_NOW 0
27487 +#ifdef __cplusplus
27488 +extern "C" void exit (int);
27491 +void fnord() { int i=42;}
27494 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27495 + int status = $lt_dlunknown;
27499 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27500 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27501 + /* dlclose (self); */
27507 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27508 + (eval $ac_link) 2>&5
27510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27512 + (./conftest; exit; ) 2>/dev/null
27514 + case x$lt_status in
27515 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27516 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27517 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27520 + # compilation failed
27521 + lt_cv_dlopen_self_static=no
27528 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27529 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27532 + CPPFLAGS="$save_CPPFLAGS"
27533 + LDFLAGS="$save_LDFLAGS"
27534 + LIBS="$save_LIBS"
27538 + case $lt_cv_dlopen_self in
27539 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27540 + *) enable_dlopen_self=unknown ;;
27543 + case $lt_cv_dlopen_self_static in
27544 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27545 + *) enable_dlopen_self_static=unknown ;;
27550 +# The else clause should only fire when bootstrapping the
27551 +# libtool distribution, otherwise you forgot to ship ltmain.sh
27552 +# with your package, and you will get complaints that there are
27553 +# no rules to generate ltmain.sh.
27554 +if test -f "$ltmain"; then
27555 + # See if we are running on zsh, and set the options which allow our commands through
27556 + # without removal of \ escapes.
27557 + if test -n "${ZSH_VERSION+set}" ; then
27558 + setopt NO_GLOB_SUBST
27560 + # Now quote all the things that may contain metacharacters while being
27561 + # careful not to overquote the AC_SUBSTed values. We take copies of the
27562 + # variables and quote the copies for generation of the libtool script.
27563 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27564 + SED SHELL STRIP \
27565 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27566 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27567 + deplibs_check_method reload_flag reload_cmds need_locks \
27568 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
27569 + lt_cv_sys_global_symbol_to_c_name_address \
27570 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
27571 + old_postinstall_cmds old_postuninstall_cmds \
27575 + lt_prog_compiler_wl_CXX \
27576 + lt_prog_compiler_pic_CXX \
27577 + lt_prog_compiler_static_CXX \
27578 + lt_prog_compiler_no_builtin_flag_CXX \
27579 + export_dynamic_flag_spec_CXX \
27580 + thread_safe_flag_spec_CXX \
27581 + whole_archive_flag_spec_CXX \
27582 + enable_shared_with_static_runtimes_CXX \
27583 + old_archive_cmds_CXX \
27584 + old_archive_from_new_cmds_CXX \
27585 + predep_objects_CXX \
27586 + postdep_objects_CXX \
27589 + compiler_lib_search_path_CXX \
27590 + archive_cmds_CXX \
27591 + archive_expsym_cmds_CXX \
27592 + postinstall_cmds_CXX \
27593 + postuninstall_cmds_CXX \
27594 + old_archive_from_expsyms_cmds_CXX \
27595 + allow_undefined_flag_CXX \
27596 + no_undefined_flag_CXX \
27597 + export_symbols_cmds_CXX \
27598 + hardcode_libdir_flag_spec_CXX \
27599 + hardcode_libdir_flag_spec_ld_CXX \
27600 + hardcode_libdir_separator_CXX \
27601 + hardcode_automatic_CXX \
27602 + module_cmds_CXX \
27603 + module_expsym_cmds_CXX \
27604 + lt_cv_prog_compiler_c_o_CXX \
27605 + exclude_expsyms_CXX \
27606 + include_expsyms_CXX; do
27609 + old_archive_cmds_CXX | \
27610 + old_archive_from_new_cmds_CXX | \
27611 + archive_cmds_CXX | \
27612 + archive_expsym_cmds_CXX | \
27613 + module_cmds_CXX | \
27614 + module_expsym_cmds_CXX | \
27615 + old_archive_from_expsyms_cmds_CXX | \
27616 + export_symbols_cmds_CXX | \
27617 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
27618 + postinstall_cmds | postuninstall_cmds | \
27619 + old_postinstall_cmds | old_postuninstall_cmds | \
27620 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27621 + # Double-quote double-evaled strings.
27622 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
27625 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
27631 + *'\$0 --fallback-echo"')
27632 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
27638 + cat <<__EOF__ >> "$cfgfile"
27639 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
27641 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27643 +# Shell to use when invoking shell scripts.
27646 +# Whether or not to build shared libraries.
27647 +build_libtool_libs=$enable_shared
27649 +# Whether or not to build static libraries.
27650 +build_old_libs=$enable_static
27652 +# Whether or not to add -lc for building shared libraries.
27653 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
27655 +# Whether or not to disallow shared libs when runtime libs are static
27656 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27658 +# Whether or not to optimize for fast installation.
27659 +fast_install=$enable_fast_install
27661 +# The host system.
27662 +host_alias=$host_alias
27665 +# An echo program that does not interpret backslashes.
27670 +AR_FLAGS=$lt_AR_FLAGS
27675 +# A language-specific compiler.
27676 +CC=$lt_compiler_CXX
27678 +# Is the compiler the GNU C compiler?
27684 +# The linker used to build libraries.
27687 +# Whether we need hard or soft links.
27690 +# A BSD-compatible nm program.
27693 +# A symbol stripping program
27696 +# Used to examine libraries when file_magic_cmd begins "file"
27697 +MAGIC_CMD=$MAGIC_CMD
27699 +# Used on cygwin: DLL creation program.
27700 +DLLTOOL="$DLLTOOL"
27702 +# Used on cygwin: object dumper.
27703 +OBJDUMP="$OBJDUMP"
27705 +# Used on cygwin: assembler.
27708 +# The name of the directory that contains temporary libtool files.
27711 +# How to create reloadable object files.
27712 +reload_flag=$lt_reload_flag
27713 +reload_cmds=$lt_reload_cmds
27715 +# How to pass a linker flag through the compiler.
27716 +wl=$lt_lt_prog_compiler_wl_CXX
27718 +# Object file suffix (normally "o").
27719 +objext="$ac_objext"
27721 +# Old archive suffix (normally "a").
27724 +# Shared library suffix (normally ".so").
27725 +shrext_cmds='$shrext_cmds'
27727 +# Executable file suffix (normally "").
27730 +# Additional compiler flags for building library objects.
27731 +pic_flag=$lt_lt_prog_compiler_pic_CXX
27732 +pic_mode=$pic_mode
27734 +# What is the maximum length of a command?
27735 +max_cmd_len=$lt_cv_sys_max_cmd_len
27737 +# Does compiler simultaneously support -c and -o options?
27738 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27740 +# Must we lock files when doing compilation ?
27741 +need_locks=$lt_need_locks
27743 +# Do we need the lib prefix for modules?
27744 +need_lib_prefix=$need_lib_prefix
27746 +# Do we need a version for libraries?
27747 +need_version=$need_version
27749 +# Whether dlopen is supported.
27750 +dlopen_support=$enable_dlopen
27752 +# Whether dlopen of programs is supported.
27753 +dlopen_self=$enable_dlopen_self
27755 +# Whether dlopen of statically linked programs is supported.
27756 +dlopen_self_static=$enable_dlopen_self_static
27758 +# Compiler flag to prevent dynamic linking.
27759 +link_static_flag=$lt_lt_prog_compiler_static_CXX
27761 +# Compiler flag to turn off builtin functions.
27762 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27764 +# Compiler flag to allow reflexive dlopens.
27765 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27767 +# Compiler flag to generate shared objects directly from archives.
27768 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27770 +# Compiler flag to generate thread-safe objects.
27771 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
27773 +# Library versioning type.
27774 +version_type=$version_type
27776 +# Format of library name prefix.
27777 +libname_spec=$lt_libname_spec
27779 +# List of archive names. First name is the real one, the rest are links.
27780 +# The last name is the one that the linker finds with -lNAME.
27781 +library_names_spec=$lt_library_names_spec
27783 +# The coded name of the library, if different from the real name.
27784 +soname_spec=$lt_soname_spec
27786 +# Commands used to build and install an old-style archive.
27788 +old_archive_cmds=$lt_old_archive_cmds_CXX
27789 +old_postinstall_cmds=$lt_old_postinstall_cmds
27790 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
27792 +# Create an old-style archive from a shared archive.
27793 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27795 +# Create a temporary old-style archive to link instead of a shared archive.
27796 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27798 +# Commands used to build and install a shared archive.
27799 +archive_cmds=$lt_archive_cmds_CXX
27800 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27801 +postinstall_cmds=$lt_postinstall_cmds
27802 +postuninstall_cmds=$lt_postuninstall_cmds
27804 +# Commands used to build a loadable module (assumed same as above if empty)
27805 +module_cmds=$lt_module_cmds_CXX
27806 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
27808 +# Commands to strip libraries.
27809 +old_striplib=$lt_old_striplib
27810 +striplib=$lt_striplib
27812 +# Dependencies to place before the objects being linked to create a
27814 +predep_objects=$lt_predep_objects_CXX
27816 +# Dependencies to place after the objects being linked to create a
27818 +postdep_objects=$lt_postdep_objects_CXX
27820 +# Dependencies to place before the objects being linked to create a
27822 +predeps=$lt_predeps_CXX
27824 +# Dependencies to place after the objects being linked to create a
27826 +postdeps=$lt_postdeps_CXX
27828 +# The library search path used internally by the compiler when linking
27829 +# a shared library.
27830 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27832 +# Method to check whether dependent libraries are shared objects.
27833 +deplibs_check_method=$lt_deplibs_check_method
27835 +# Command to use when deplibs_check_method == file_magic.
27836 +file_magic_cmd=$lt_file_magic_cmd
27838 +# Flag that allows shared libraries with undefined symbols to be built.
27839 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
27841 +# Flag that forces no undefined symbols.
27842 +no_undefined_flag=$lt_no_undefined_flag_CXX
27844 +# Commands used to finish a libtool library installation in a directory.
27845 +finish_cmds=$lt_finish_cmds
27847 +# Same as above, but a single script fragment to be evaled but not shown.
27848 +finish_eval=$lt_finish_eval
27850 +# Take the output of nm and produce a listing of raw symbols and C names.
27851 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27853 +# Transform the output of nm in a proper C declaration
27854 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27856 +# Transform the output of nm in a C name address pair
27857 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27859 +# This is the shared library runtime path variable.
27860 +runpath_var=$runpath_var
27862 +# This is the shared library path variable.
27863 +shlibpath_var=$shlibpath_var
27865 +# Is shlibpath searched before the hard-coded library search path?
27866 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27868 +# How to hardcode a shared library path into an executable.
27869 +hardcode_action=$hardcode_action_CXX
27871 +# Whether we should hardcode library paths into libraries.
27872 +hardcode_into_libs=$hardcode_into_libs
27874 +# Flag to hardcode \$libdir into a binary during linking.
27875 +# This must work even if \$libdir does not exist.
27876 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27878 +# If ld is used when linking, flag to hardcode \$libdir into
27879 +# a binary during linking. This must work even if \$libdir does
27881 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27883 +# Whether we need a single -rpath flag with a separated argument.
27884 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27886 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27887 +# resulting binary.
27888 +hardcode_direct=$hardcode_direct_CXX
27890 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27891 +# resulting binary.
27892 +hardcode_minus_L=$hardcode_minus_L_CXX
27894 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27895 +# the resulting binary.
27896 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27898 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27899 +# and all subsequent libraries and executables linked against it.
27900 +hardcode_automatic=$hardcode_automatic_CXX
27902 +# Variables whose values should be saved in libtool wrapper scripts and
27903 +# restored at relink time.
27904 +variables_saved_for_relink="$variables_saved_for_relink"
27906 +# Whether libtool must link a program against all its dependency libraries.
27907 +link_all_deplibs=$link_all_deplibs_CXX
27909 +# Compile-time system search path for libraries
27910 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27912 +# Run-time system search path for libraries
27913 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27915 +# Fix the shell variable \$srcfile for the compiler.
27916 +fix_srcfile_path="$fix_srcfile_path_CXX"
27918 +# Set to yes if exported symbols are required.
27919 +always_export_symbols=$always_export_symbols_CXX
27921 +# The commands to list exported symbols.
27922 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
27924 +# The commands to extract the exported symbol list from a shared archive.
27925 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27927 +# Symbols that should not be listed in the preloaded symbols.
27928 +exclude_expsyms=$lt_exclude_expsyms_CXX
27930 +# Symbols that must always be exported.
27931 +include_expsyms=$lt_include_expsyms_CXX
27933 +# ### END LIBTOOL TAG CONFIG: $tagname
27939 + # If there is no Makefile yet, we rely on a make rule to execute
27940 + # `config.status --recheck' to rerun these tests and create the
27941 + # libtool script then.
27942 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27943 + if test -f "$ltmain_in"; then
27944 + test -f Makefile && make "$ltmain"
27950 +ac_cpp='$CPP $CPPFLAGS'
27951 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27952 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27953 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27959 +with_gnu_ldcxx=$with_gnu_ld
27960 +with_gnu_ld=$lt_save_with_gnu_ld
27961 +lt_cv_path_LDCXX=$lt_cv_path_LD
27962 +lt_cv_path_LD=$lt_save_path_LD
27963 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
27964 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
27972 + if test -n "$F77" && test "X$F77" != "Xno"; then
27975 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
27976 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27977 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
27980 +archive_cmds_need_lc_F77=no
27981 +allow_undefined_flag_F77=
27982 +always_export_symbols_F77=no
27983 +archive_expsym_cmds_F77=
27984 +export_dynamic_flag_spec_F77=
27985 +hardcode_direct_F77=no
27986 +hardcode_libdir_flag_spec_F77=
27987 +hardcode_libdir_flag_spec_ld_F77=
27988 +hardcode_libdir_separator_F77=
27989 +hardcode_minus_L_F77=no
27990 +hardcode_automatic_F77=no
27992 +module_expsym_cmds_F77=
27993 +link_all_deplibs_F77=unknown
27994 +old_archive_cmds_F77=$old_archive_cmds
27995 +no_undefined_flag_F77=
27996 +whole_archive_flag_spec_F77=
27997 +enable_shared_with_static_runtimes_F77=no
27999 +# Source file extension for f77 test sources.
28002 +# Object file extension for compiled f77 test sources.
28004 +objext_F77=$objext
28006 +# Code to be used in simple compile tests
28007 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
28009 +# Code to be used in simple link tests
28010 +lt_simple_link_test_code=" program t\n end\n"
28012 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
28014 +# If no C compiler was specified, use CC.
28015 +LTCC=${LTCC-"$CC"}
28017 +# Allow CC to be a program name with arguments.
28021 +# Allow CC to be a program name with arguments.
28026 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
28028 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
28029 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
28030 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
28031 +echo "${ECHO_T}$can_build_shared" >&6
28033 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
28034 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
28035 +test "$can_build_shared" = "no" && enable_shared=no
28037 +# On AIX, shared libraries and static libraries use the same namespace, and
28038 +# are all built from PIC.
28039 +case "$host_os" in
28041 + test "$enable_shared" = yes && enable_static=no
28042 + if test -n "$RANLIB"; then
28043 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
28044 + postinstall_cmds='$RANLIB $lib'
28048 + test "$enable_shared" = yes && enable_static=no
28051 +echo "$as_me:$LINENO: result: $enable_shared" >&5
28052 +echo "${ECHO_T}$enable_shared" >&6
28054 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
28055 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
28056 +# Make sure either enable_shared or enable_static is yes.
28057 +test "$enable_shared" = yes || enable_static=yes
28058 +echo "$as_me:$LINENO: result: $enable_static" >&5
28059 +echo "${ECHO_T}$enable_static" >&6
28061 +test "$ld_shlibs_F77" = no && can_build_shared=no
28066 +lt_prog_compiler_wl_F77=
28067 +lt_prog_compiler_pic_F77=
28068 +lt_prog_compiler_static_F77=
28070 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
28071 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
28073 + if test "$GCC" = yes; then
28074 + lt_prog_compiler_wl_F77='-Wl,'
28075 + lt_prog_compiler_static_F77='-static'
28079 + # All AIX code is PIC.
28080 + if test "$host_cpu" = ia64; then
28081 + # AIX 5 now supports IA64 processor
28082 + lt_prog_compiler_static_F77='-Bstatic'
28087 + # FIXME: we need at least 68020 code to build shared libraries, but
28088 + # adding the `-m68020' flag to GCC prevents building anything better,
28089 + # like `-m68040'.
28090 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
28093 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
28094 + # PIC is the default for these OSes.
28097 + mingw* | pw32* | os2*)
28098 + # This hack is so that the source file can tell whether it is being
28099 + # built for inclusion in a dll (and should export symbols for example).
28100 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
28103 + darwin* | rhapsody*)
28104 + # PIC is the default on this platform
28105 + # Common symbols not allowed in MH_DYLIB files
28106 + lt_prog_compiler_pic_F77='-fno-common'
28110 + # Just because we use GCC doesn't mean we suddenly get shared libraries
28111 + # on systems that don't support them.
28112 + lt_prog_compiler_can_build_shared_F77=no
28117 + if test -d /usr/nec; then
28118 + lt_prog_compiler_pic_F77=-Kconform_pic
28123 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
28124 + # not for PA HP-UX.
28125 + case "$host_cpu" in
28130 + lt_prog_compiler_pic_F77='-fPIC'
28136 + lt_prog_compiler_pic_F77='-fPIC'
28140 + # PORTME Check for flag to pass linker flags through the system compiler.
28143 + lt_prog_compiler_wl_F77='-Wl,'
28144 + if test "$host_cpu" = ia64; then
28145 + # AIX 5 now supports IA64 processor
28146 + lt_prog_compiler_static_F77='-Bstatic'
28148 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
28152 + mingw* | pw32* | os2*)
28153 + # This hack is so that the source file can tell whether it is being
28154 + # built for inclusion in a dll (and should export symbols for example).
28155 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
28158 + hpux9* | hpux10* | hpux11*)
28159 + lt_prog_compiler_wl_F77='-Wl,'
28160 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
28161 + # not for PA HP-UX.
28162 + case "$host_cpu" in
28167 + lt_prog_compiler_pic_F77='+Z'
28170 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
28171 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
28174 + irix5* | irix6* | nonstopux*)
28175 + lt_prog_compiler_wl_F77='-Wl,'
28176 + # PIC (with -KPIC) is the default.
28177 + lt_prog_compiler_static_F77='-non_shared'
28181 + lt_prog_compiler_pic_F77='-KPIC'
28182 + lt_prog_compiler_static_F77='-Bstatic'
28188 + lt_prog_compiler_wl_F77='-Wl,'
28189 + lt_prog_compiler_pic_F77='-KPIC'
28190 + lt_prog_compiler_static_F77='-static'
28193 + lt_prog_compiler_wl_F77='-Wl,'
28194 + # All Alpha code is PIC.
28195 + lt_prog_compiler_static_F77='-non_shared'
28200 + osf3* | osf4* | osf5*)
28201 + lt_prog_compiler_wl_F77='-Wl,'
28202 + # All OSF/1 code is PIC.
28203 + lt_prog_compiler_static_F77='-non_shared'
28207 + lt_prog_compiler_pic_F77='-Kpic'
28208 + lt_prog_compiler_static_F77='-dn'
28212 + lt_prog_compiler_wl_F77='-Wl,'
28213 + lt_prog_compiler_pic_F77='-KPIC'
28214 + lt_prog_compiler_static_F77='-Bstatic'
28218 + lt_prog_compiler_wl_F77='-Qoption ld '
28219 + lt_prog_compiler_pic_F77='-PIC'
28220 + lt_prog_compiler_static_F77='-Bstatic'
28223 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28224 + lt_prog_compiler_wl_F77='-Wl,'
28225 + lt_prog_compiler_pic_F77='-KPIC'
28226 + lt_prog_compiler_static_F77='-Bstatic'
28230 + if test -d /usr/nec ;then
28231 + lt_prog_compiler_pic_F77='-Kconform_pic'
28232 + lt_prog_compiler_static_F77='-Bstatic'
28237 + lt_prog_compiler_pic_F77='-pic'
28238 + lt_prog_compiler_static_F77='-Bstatic'
28242 + lt_prog_compiler_can_build_shared_F77=no
28247 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
28248 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
28251 +# Check to make sure the PIC flag actually works.
28253 +if test -n "$lt_prog_compiler_pic_F77"; then
28255 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
28256 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
28257 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
28258 + echo $ECHO_N "(cached) $ECHO_C" >&6
28260 + lt_prog_compiler_pic_works_F77=no
28261 + ac_outfile=conftest.$ac_objext
28262 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28263 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
28264 + # Insert the option either (1) after the last *FLAGS variable, or
28265 + # (2) before a word containing "conftest.", or (3) at the end.
28266 + # Note that $ac_compile itself does not contain backslashes and begins
28267 + # with a dollar sign (not a hyphen), so the echo should work correctly.
28268 + # The option is referenced via a variable to avoid confusing sed.
28269 + lt_compile=`echo "$ac_compile" | $SED \
28270 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
28271 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
28272 + -e 's:$: $lt_compiler_flag:'`
28273 + (eval echo "\"\$as_me:13307: $lt_compile\"" >&5)
28274 + (eval "$lt_compile" 2>conftest.err)
28276 + cat conftest.err >&5
28277 + echo "$as_me:13311: \$? = $ac_status" >&5
28278 + if (exit $ac_status) && test -s "$ac_outfile"; then
28279 + # The compiler can only warn and ignore the option if not recognized
28280 + # So say no if there are warnings
28281 + if test ! -s conftest.err; then
28282 + lt_prog_compiler_pic_works_F77=yes
28288 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
28289 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
28291 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
28292 + case $lt_prog_compiler_pic_F77 in
28294 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
28297 + lt_prog_compiler_pic_F77=
28298 + lt_prog_compiler_can_build_shared_F77=no
28302 +case "$host_os" in
28303 + # For platforms which do not support PIC, -DPIC is meaningless:
28305 + lt_prog_compiler_pic_F77=
28308 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
28312 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
28313 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
28314 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
28315 + echo $ECHO_N "(cached) $ECHO_C" >&6
28317 + lt_cv_prog_compiler_c_o_F77=no
28318 + $rm -r conftest 2>/dev/null
28322 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28324 + lt_compiler_flag="-o out/conftest2.$ac_objext"
28325 + # Insert the option either (1) after the last *FLAGS variable, or
28326 + # (2) before a word containing "conftest.", or (3) at the end.
28327 + # Note that $ac_compile itself does not contain backslashes and begins
28328 + # with a dollar sign (not a hyphen), so the echo should work correctly.
28329 + lt_compile=`echo "$ac_compile" | $SED \
28330 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
28331 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
28332 + -e 's:$: $lt_compiler_flag:'`
28333 + (eval echo "\"\$as_me:13367: $lt_compile\"" >&5)
28334 + (eval "$lt_compile" 2>out/conftest.err)
28336 + cat out/conftest.err >&5
28337 + echo "$as_me:13371: \$? = $ac_status" >&5
28338 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
28340 + # The compiler can only warn and ignore the option if not recognized
28341 + # So say no if there are warnings
28342 + if test ! -s out/conftest.err; then
28343 + lt_cv_prog_compiler_c_o_F77=yes
28348 + # SGI C++ compiler will create directory out/ii_files/ for
28349 + # template instantiation
28350 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
28351 + $rm out/* && rmdir out
28357 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
28358 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
28361 +hard_links="nottested"
28362 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
28363 + # do not overwrite the value of need_locks provided by the user
28364 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
28365 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
28368 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
28370 + ln conftest.a conftest.b 2>&5 || hard_links=no
28371 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
28372 + echo "$as_me:$LINENO: result: $hard_links" >&5
28373 +echo "${ECHO_T}$hard_links" >&6
28374 + if test "$hard_links" = no; then
28375 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
28376 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
28383 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
28384 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
28387 + allow_undefined_flag_F77=
28388 + enable_shared_with_static_runtimes_F77=no
28389 + archive_cmds_F77=
28390 + archive_expsym_cmds_F77=
28391 + old_archive_From_new_cmds_F77=
28392 + old_archive_from_expsyms_cmds_F77=
28393 + export_dynamic_flag_spec_F77=
28394 + whole_archive_flag_spec_F77=
28395 + thread_safe_flag_spec_F77=
28396 + hardcode_libdir_flag_spec_F77=
28397 + hardcode_libdir_flag_spec_ld_F77=
28398 + hardcode_libdir_separator_F77=
28399 + hardcode_direct_F77=no
28400 + hardcode_minus_L_F77=no
28401 + hardcode_shlibpath_var_F77=unsupported
28402 + link_all_deplibs_F77=unknown
28403 + hardcode_automatic_F77=no
28405 + module_expsym_cmds_F77=
28406 + always_export_symbols_F77=no
28407 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
28408 + # include_expsyms should be a list of space-separated symbols to be *always*
28409 + # included in the symbol list
28410 + include_expsyms_F77=
28411 + # exclude_expsyms can be an extended regexp of symbols to exclude
28412 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
28413 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
28414 + # as well as any symbol that contains `d'.
28415 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
28416 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
28417 + # platforms (ab)use it in PIC code, but their linkers get confused if
28418 + # the symbol is explicitly referenced. Since portable code cannot
28419 + # rely on this symbol name, it's probably fine to never include it in
28420 + # preloaded symbol tables.
28421 + extract_expsyms_cmds=
28424 + cygwin* | mingw* | pw32*)
28425 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
28426 + # When not using gcc, we currently assume that we are using
28427 + # Microsoft Visual C++.
28428 + if test "$GCC" != yes; then
28437 + ld_shlibs_F77=yes
28438 + if test "$with_gnu_ld" = yes; then
28439 + # If archive_cmds runs LD, not CC, wlarc should be empty
28442 + # See if GNU ld supports shared libraries.
28444 + aix3* | aix4* | aix5*)
28445 + # On AIX/PPC, the GNU linker is very broken
28446 + if test "$host_cpu" != ia64; then
28450 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
28451 +*** to be unable to reliably create shared libraries on AIX.
28452 +*** Therefore, libtool is disabling shared libraries support. If you
28453 +*** really care for shared libraries, you may want to modify your PATH
28454 +*** so that a non-GNU linker is found, and then restart.
28461 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
28462 + hardcode_libdir_flag_spec_F77='-L$libdir'
28463 + hardcode_minus_L_F77=yes
28465 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
28466 + # that the semantics of dynamic libraries on AmigaOS, at least up
28467 + # to version 4, is to share data among multiple programs linked
28468 + # with the same dynamic library. Since this doesn't match the
28469 + # behavior of shared libraries on other platforms, we can't use
28475 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28476 + allow_undefined_flag_F77=unsupported
28477 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
28478 + # support --undefined. This deserves some investigation. FIXME
28479 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28485 + cygwin* | mingw* | pw32*)
28486 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
28487 + # as there is no search path for DLLs.
28488 + hardcode_libdir_flag_spec_F77='-L$libdir'
28489 + allow_undefined_flag_F77=unsupported
28490 + always_export_symbols_F77=no
28491 + enable_shared_with_static_runtimes_F77=yes
28492 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
28494 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
28495 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28496 + # If the export-symbols file already is a .def file (1st line
28497 + # is EXPORTS), use it as is; otherwise, prepend...
28498 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
28499 + cp $export_symbols $output_objdir/$soname.def;
28501 + echo EXPORTS > $output_objdir/$soname.def;
28502 + cat $export_symbols >> $output_objdir/$soname.def;
28504 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
28510 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
28511 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28512 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
28515 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28516 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28520 + solaris* | sysv5*)
28521 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
28525 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
28526 +*** create shared libraries on Solaris systems. Therefore, libtool
28527 +*** is disabling shared libraries support. We urge you to upgrade GNU
28528 +*** binutils to release 2.9.1 or newer. Another option is to modify
28529 +*** your PATH or compiler configuration so that the native linker is
28530 +*** used, and then restart.
28533 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28534 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28535 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28542 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28544 + hardcode_direct_F77=yes
28545 + hardcode_shlibpath_var_F77=no
28549 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28550 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28551 + archive_cmds_F77="$tmp_archive_cmds"
28552 + supports_anon_versioning=no
28553 + case `$LD -v 2>/dev/null` in
28554 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
28555 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
28556 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
28557 + *\ 2.11.*) ;; # other 2.11 versions
28558 + *) supports_anon_versioning=yes ;;
28560 + if test $supports_anon_versioning = yes; then
28561 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
28562 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
28563 +$echo "local: *; };" >> $output_objdir/$libname.ver~
28564 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
28566 + archive_expsym_cmds_F77="$tmp_archive_cmds"
28568 + link_all_deplibs_F77=no
28575 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28576 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28577 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28584 + if test "$ld_shlibs_F77" = yes; then
28585 + runpath_var=LD_RUN_PATH
28586 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
28587 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
28588 + # ancient GNU ld didn't support --whole-archive et. al.
28589 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
28590 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
28592 + whole_archive_flag_spec_F77=
28596 + # PORTME fill in a description of your system's linker (not GNU ld)
28599 + allow_undefined_flag_F77=unsupported
28600 + always_export_symbols_F77=yes
28601 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
28602 + # Note: this linker hardcodes the directories in LIBPATH if there
28603 + # are no directories specified by -L.
28604 + hardcode_minus_L_F77=yes
28605 + if test "$GCC" = yes && test -z "$link_static_flag"; then
28606 + # Neither direct hardcoding nor static linking is supported with a
28607 + # broken collect2.
28608 + hardcode_direct_F77=unsupported
28613 + if test "$host_cpu" = ia64; then
28614 + # On IA64, the linker does run time linking by default, so we don't
28615 + # have to do anything special.
28616 + aix_use_runtimelinking=no
28617 + exp_sym_flag='-Bexport'
28620 + # If we're using GNU nm, then we don't want the "-C" option.
28621 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
28622 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
28623 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
28625 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
28627 + aix_use_runtimelinking=no
28629 + # Test if we are trying to use run time linking or normal
28630 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
28631 + # need to do runtime linking.
28632 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
28633 + for ld_flag in $LDFLAGS; do
28634 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
28635 + aix_use_runtimelinking=yes
28641 + exp_sym_flag='-bexport'
28642 + no_entry_flag='-bnoentry'
28645 + # When large executables or shared objects are built, AIX ld can
28646 + # have problems creating the table of contents. If linking a library
28647 + # or program results in "error TOC overflow" add -mminimal-toc to
28648 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
28649 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
28651 + archive_cmds_F77=''
28652 + hardcode_direct_F77=yes
28653 + hardcode_libdir_separator_F77=':'
28654 + link_all_deplibs_F77=yes
28656 + if test "$GCC" = yes; then
28657 + case $host_os in aix4.012|aix4.012.*)
28658 + # We only want to do this on AIX 4.2 and lower, the check
28659 + # below for broken collect2 doesn't work under 4.3+
28660 + collect2name=`${CC} -print-prog-name=collect2`
28661 + if test -f "$collect2name" && \
28662 + strings "$collect2name" | grep resolve_lib_name >/dev/null
28664 + # We have reworked collect2
28665 + hardcode_direct_F77=yes
28667 + # We have old collect2
28668 + hardcode_direct_F77=unsupported
28669 + # It fails to find uninstalled libraries when the uninstalled
28670 + # path is not listed in the libpath. Setting hardcode_minus_L
28671 + # to unsupported forces relinking
28672 + hardcode_minus_L_F77=yes
28673 + hardcode_libdir_flag_spec_F77='-L$libdir'
28674 + hardcode_libdir_separator_F77=
28677 + shared_flag='-shared'
28680 + if test "$host_cpu" = ia64; then
28681 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
28682 + # chokes on -Wl,-G. The following line is correct:
28685 + if test "$aix_use_runtimelinking" = yes; then
28686 + shared_flag='${wl}-G'
28688 + shared_flag='${wl}-bM:SRE'
28693 + # It seems that -bexpall does not export symbols beginning with
28694 + # underscore (_), so it is better to generate a list of symbols to export.
28695 + always_export_symbols_F77=yes
28696 + if test "$aix_use_runtimelinking" = yes; then
28697 + # Warning - without using the other runtime loading flags (-brtl),
28698 + # -berok will link without error, but may produce a broken library.
28699 + allow_undefined_flag_F77='-berok'
28700 + # Determine the default libpath from the value encoded in an empty executable.
28701 + cat >conftest.$ac_ext <<_ACEOF
28706 +rm -f conftest.$ac_objext conftest$ac_exeext
28707 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 + (eval $ac_link) 2>conftest.er1
28710 + grep -v '^ *+' conftest.er1 >conftest.err
28711 + rm -f conftest.er1
28712 + cat conftest.err >&5
28713 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 + (exit $ac_status); } &&
28715 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
28716 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28717 + (eval $ac_try) 2>&5
28719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 + (exit $ac_status); }; } &&
28721 + { ac_try='test -s conftest$ac_exeext'
28722 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 + (eval $ac_try) 2>&5
28725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 + (exit $ac_status); }; }; then
28728 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28730 +# Check for a 64-bit object if we didn't find anything.
28731 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28734 + echo "$as_me: failed program was:" >&5
28735 +sed 's/^/| /' conftest.$ac_ext >&5
28738 +rm -f conftest.err conftest.$ac_objext \
28739 + conftest$ac_exeext conftest.$ac_ext
28740 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
28742 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
28743 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
28745 + if test "$host_cpu" = ia64; then
28746 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
28747 + allow_undefined_flag_F77="-z nodefs"
28748 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
28750 + # Determine the default libpath from the value encoded in an empty executable.
28751 + cat >conftest.$ac_ext <<_ACEOF
28756 +rm -f conftest.$ac_objext conftest$ac_exeext
28757 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28758 + (eval $ac_link) 2>conftest.er1
28760 + grep -v '^ *+' conftest.er1 >conftest.err
28761 + rm -f conftest.er1
28762 + cat conftest.err >&5
28763 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 + (exit $ac_status); } &&
28765 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
28766 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 + (eval $ac_try) 2>&5
28769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 + (exit $ac_status); }; } &&
28771 + { ac_try='test -s conftest$ac_exeext'
28772 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 + (eval $ac_try) 2>&5
28775 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 + (exit $ac_status); }; }; then
28778 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28780 +# Check for a 64-bit object if we didn't find anything.
28781 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
28784 + echo "$as_me: failed program was:" >&5
28785 +sed 's/^/| /' conftest.$ac_ext >&5
28788 +rm -f conftest.err conftest.$ac_objext \
28789 + conftest$ac_exeext conftest.$ac_ext
28790 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
28792 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
28793 + # Warning - without using the other run time loading flags,
28794 + # -berok will link without error, but may produce a broken library.
28795 + no_undefined_flag_F77=' ${wl}-bernotok'
28796 + allow_undefined_flag_F77=' ${wl}-berok'
28797 + # -bexpall does not export symbols beginning with underscore (_)
28798 + always_export_symbols_F77=yes
28799 + # Exported symbols can be pulled into shared objects from archives
28800 + whole_archive_flag_spec_F77=' '
28801 + archive_cmds_need_lc_F77=yes
28802 + # This is similar to how AIX traditionally builds it's shared libraries.
28803 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
28809 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
28810 + hardcode_libdir_flag_spec_F77='-L$libdir'
28811 + hardcode_minus_L_F77=yes
28812 + # see comment about different semantics on the GNU ld section
28817 + export_dynamic_flag_spec_F77=-rdynamic
28820 + cygwin* | mingw* | pw32*)
28821 + # When not using gcc, we currently assume that we are using
28822 + # Microsoft Visual C++.
28823 + # hardcode_libdir_flag_spec is actually meaningless, as there is
28824 + # no search path for DLLs.
28825 + hardcode_libdir_flag_spec_F77=' '
28826 + allow_undefined_flag_F77=unsupported
28827 + # Tell ltmain to make .lib files, not .a files.
28829 + # Tell ltmain to make .dll files, not .so files.
28830 + shrext_cmds=".dll"
28831 + # FIXME: Setting linknames here is a bad hack.
28832 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
28833 + # The linker will automatically build a .lib file if we build a DLL.
28834 + old_archive_From_new_cmds_F77='true'
28835 + # FIXME: Should let the user specify the lib program.
28836 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
28837 + fix_srcfile_path='`cygpath -w "$srcfile"`'
28838 + enable_shared_with_static_runtimes_F77=yes
28841 + darwin* | rhapsody*)
28842 + if test "$GXX" = yes ; then
28843 + archive_cmds_need_lc_F77=no
28844 + case "$host_os" in
28845 + rhapsody* | darwin1.[012])
28846 + allow_undefined_flag_F77='-undefined suppress'
28848 + *) # Darwin 1.3 on
28849 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
28850 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
28852 + case ${MACOSX_DEPLOYMENT_TARGET} in
28854 + allow_undefined_flag_F77='-flat_namespace -undefined suppress'
28857 + allow_undefined_flag_F77='-undefined dynamic_lookup'
28863 + lt_int_apple_cc_single_mod=no
28864 + output_verbose_link_cmd='echo'
28865 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
28866 + lt_int_apple_cc_single_mod=yes
28868 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28869 + archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
28871 + archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
28873 + module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
28874 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
28875 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
28876 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28878 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28880 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
28881 + hardcode_direct_F77=no
28882 + hardcode_automatic_F77=yes
28883 + hardcode_shlibpath_var_F77=unsupported
28884 + whole_archive_flag_spec_F77='-all_load $convenience'
28885 + link_all_deplibs_F77=yes
28892 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28893 + hardcode_libdir_flag_spec_F77='-L$libdir'
28894 + hardcode_shlibpath_var_F77=no
28901 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
28902 + # support. Future versions do this automatically, but an explicit c++rt0.o
28903 + # does not break anything, and helps significantly (at the cost of a little
28906 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
28907 + hardcode_libdir_flag_spec_F77='-R$libdir'
28908 + hardcode_direct_F77=yes
28909 + hardcode_shlibpath_var_F77=no
28912 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
28914 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28915 + hardcode_direct_F77=yes
28916 + hardcode_minus_L_F77=yes
28917 + hardcode_shlibpath_var_F77=no
28920 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
28921 + freebsd* | kfreebsd*-gnu)
28922 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
28923 + hardcode_libdir_flag_spec_F77='-R$libdir'
28924 + hardcode_direct_F77=yes
28925 + hardcode_shlibpath_var_F77=no
28929 + if test "$GCC" = yes; then
28930 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28932 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
28934 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
28935 + hardcode_libdir_separator_F77=:
28936 + hardcode_direct_F77=yes
28938 + # hardcode_minus_L: Not really in the search PATH,
28939 + # but as the default location of the library.
28940 + hardcode_minus_L_F77=yes
28941 + export_dynamic_flag_spec_F77='${wl}-E'
28944 + hpux10* | hpux11*)
28945 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
28946 + case "$host_cpu" in
28948 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28951 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28955 + case "$host_cpu" in
28957 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
28960 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28964 + if test "$with_gnu_ld" = no; then
28965 + case "$host_cpu" in
28967 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
28968 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
28969 + hardcode_libdir_separator_F77=:
28970 + hardcode_direct_F77=no
28971 + hardcode_shlibpath_var_F77=no
28974 + hardcode_libdir_flag_spec_F77='-L$libdir'
28975 + hardcode_direct_F77=no
28976 + hardcode_shlibpath_var_F77=no
28978 + # hardcode_minus_L: Not really in the search PATH,
28979 + # but as the default location of the library.
28980 + hardcode_minus_L_F77=yes
28983 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
28984 + hardcode_libdir_separator_F77=:
28985 + hardcode_direct_F77=yes
28986 + export_dynamic_flag_spec_F77='${wl}-E'
28988 + # hardcode_minus_L: Not really in the search PATH,
28989 + # but as the default location of the library.
28990 + hardcode_minus_L_F77=yes
28996 + irix5* | irix6* | nonstopux*)
28997 + if test "$GCC" = yes; then
28998 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29000 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29001 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
29003 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
29004 + hardcode_libdir_separator_F77=:
29005 + link_all_deplibs_F77=yes
29008 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
29009 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
29010 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
29012 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
29014 + hardcode_libdir_flag_spec_F77='-R$libdir'
29015 + hardcode_direct_F77=yes
29016 + hardcode_shlibpath_var_F77=no
29020 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29021 + hardcode_direct_F77=yes
29022 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
29023 + hardcode_libdir_separator_F77=:
29024 + hardcode_shlibpath_var_F77=no
29028 + hardcode_direct_F77=yes
29029 + hardcode_shlibpath_var_F77=no
29030 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
29031 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
29032 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
29033 + export_dynamic_flag_spec_F77='${wl}-E'
29036 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
29037 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
29038 + hardcode_libdir_flag_spec_F77='-R$libdir'
29041 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
29042 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
29049 + hardcode_libdir_flag_spec_F77='-L$libdir'
29050 + hardcode_minus_L_F77=yes
29051 + allow_undefined_flag_F77=unsupported
29052 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
29053 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
29057 + if test "$GCC" = yes; then
29058 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
29059 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29061 + allow_undefined_flag_F77=' -expect_unresolved \*'
29062 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29064 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
29065 + hardcode_libdir_separator_F77=:
29068 + osf4* | osf5*) # as osf3* with the addition of -msym flag
29069 + if test "$GCC" = yes; then
29070 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
29071 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29072 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
29074 + allow_undefined_flag_F77=' -expect_unresolved \*'
29075 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29076 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
29077 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
29079 + # Both c and cxx compiler support -rpath directly
29080 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
29082 + hardcode_libdir_separator_F77=:
29086 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29087 + hardcode_shlibpath_var_F77=no
29088 + export_dynamic_flag_spec_F77='${wl}-Bexport'
29089 + runpath_var=LD_RUN_PATH
29090 + hardcode_runpath_var=yes
29094 + no_undefined_flag_F77=' -z text'
29095 + if test "$GCC" = yes; then
29096 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29097 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29098 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
29100 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
29101 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29102 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
29104 + hardcode_libdir_flag_spec_F77='-R$libdir'
29105 + hardcode_shlibpath_var_F77=no
29107 + solaris2.[0-5] | solaris2.[0-5].*) ;;
29108 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
29109 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
29111 + link_all_deplibs_F77=yes
29115 + if test "x$host_vendor" = xsequent; then
29116 + # Use $CC to link under sequent, because it throws in some extra .o
29117 + # files that make .init and .fini sections work.
29118 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
29120 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
29122 + hardcode_libdir_flag_spec_F77='-L$libdir'
29123 + hardcode_direct_F77=yes
29124 + hardcode_minus_L_F77=yes
29125 + hardcode_shlibpath_var_F77=no
29129 + case $host_vendor in
29131 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29132 + hardcode_direct_F77=yes # is this really true???
29135 + ## LD is ld it makes a PLAMLIB
29136 + ## CC just makes a GrossModule.
29137 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
29138 + reload_cmds_F77='$CC -r -o $output$reload_objs'
29139 + hardcode_direct_F77=no
29142 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29143 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
29146 + runpath_var='LD_RUN_PATH'
29147 + hardcode_shlibpath_var_F77=no
29151 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29152 + hardcode_shlibpath_var_F77=no
29153 + export_dynamic_flag_spec_F77='-Bexport'
29157 + if test -d /usr/nec; then
29158 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29159 + hardcode_shlibpath_var_F77=no
29160 + runpath_var=LD_RUN_PATH
29161 + hardcode_runpath_var=yes
29162 + ld_shlibs_F77=yes
29167 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
29168 + hardcode_direct_F77=yes
29169 + hardcode_minus_L_F77=no
29170 + hardcode_shlibpath_var_F77=no
29171 + hardcode_runpath_var=yes
29172 + runpath_var=LD_RUN_PATH
29175 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
29176 + no_undefined_flag_F77='${wl}-z ${wl}text'
29177 + if test "$GCC" = yes; then
29178 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29180 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29182 + runpath_var='LD_RUN_PATH'
29183 + hardcode_shlibpath_var_F77=no
29187 + no_undefined_flag_F77=' -z text'
29188 + # $CC -shared without GNU ld will not create a library from C++
29189 + # object files and a static libstdc++, better avoid it by now
29190 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
29191 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29192 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
29193 + hardcode_libdir_flag_spec_F77=
29194 + hardcode_shlibpath_var_F77=no
29195 + runpath_var='LD_RUN_PATH'
29199 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29200 + hardcode_libdir_flag_spec_F77='-L$libdir'
29201 + hardcode_shlibpath_var_F77=no
29210 +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
29211 +echo "${ECHO_T}$ld_shlibs_F77" >&6
29212 +test "$ld_shlibs_F77" = no && can_build_shared=no
29214 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
29215 +if test "$GCC" = yes; then
29216 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
29220 +# Do we need to explicitly link libc?
29222 +case "x$archive_cmds_need_lc_F77" in
29224 + # Assume -lc should be added
29225 + archive_cmds_need_lc_F77=yes
29227 + if test "$enable_shared" = yes && test "$GCC" = yes; then
29228 + case $archive_cmds_F77 in
29230 + # FIXME: we may have to deal with multi-command sequences.
29233 + # Test whether the compiler implicitly links with -lc since on some
29234 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
29235 + # to ld, don't add -lc before -lgcc.
29236 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
29237 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
29239 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
29241 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29242 + (eval $ac_compile) 2>&5
29244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 + (exit $ac_status); } 2>conftest.err; then
29248 + libobjs=conftest.$ac_objext
29250 + wl=$lt_prog_compiler_wl_F77
29251 + compiler_flags=-v
29256 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
29257 + allow_undefined_flag_F77=
29258 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
29259 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
29261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 + (exit $ac_status); }
29264 + archive_cmds_need_lc_F77=no
29266 + archive_cmds_need_lc_F77=yes
29268 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
29270 + cat conftest.err 1>&5
29273 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
29274 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
29281 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
29282 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
29283 +library_names_spec=
29284 +libname_spec='lib$name'
29288 +postuninstall_cmds=
29292 +shlibpath_overrides_runpath=unknown
29294 +dynamic_linker="$host_os ld.so"
29295 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
29296 +if test "$GCC" = yes; then
29297 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
29298 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
29299 + # if the path contains ";" then we assume it to be the separator
29300 + # otherwise default to the standard path separator (i.e. ":") - it is
29301 + # assumed that no part of a normal pathname contains ";" but that should
29302 + # okay in the real world where ";" in dirpaths is itself problematic.
29303 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
29305 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
29308 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
29310 +need_lib_prefix=unknown
29311 +hardcode_into_libs=no
29313 +# when you set need_version to no, make sure it does not cause -set_version
29314 +# flags to be left without arguments
29315 +need_version=unknown
29319 + version_type=linux
29320 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
29321 + shlibpath_var=LIBPATH
29323 + # AIX 3 has no versioning support, so we append a major version to the name.
29324 + soname_spec='${libname}${release}${shared_ext}$major'
29328 + version_type=linux
29329 + need_lib_prefix=no
29331 + hardcode_into_libs=yes
29332 + if test "$host_cpu" = ia64; then
29333 + # AIX 5 supports IA64
29334 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
29335 + shlibpath_var=LD_LIBRARY_PATH
29337 + # With GCC up to 2.95.x, collect2 would create an import file
29338 + # for dependence libraries. The import file would start with
29339 + # the line `#! .'. This would cause the generated library to
29340 + # depend on `.', always an invalid library. This was fixed in
29341 + # development snapshots of GCC prior to 3.0.
29343 + aix4 | aix4.[01] | aix4.[01].*)
29344 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
29346 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
29349 + can_build_shared=no
29353 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
29354 + # soname into executable. Probably we can add versioning support to
29355 + # collect2, so additional links can be useful in future.
29356 + if test "$aix_use_runtimelinking" = yes; then
29357 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
29358 + # instead of lib<name>.a to let people know that these are not
29359 + # typical AIX shared libraries.
29360 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29362 + # We preserve .a as extension for shared libraries through AIX4.2
29363 + # and later when we are not doing run time linking.
29364 + library_names_spec='${libname}${release}.a $libname.a'
29365 + soname_spec='${libname}${release}${shared_ext}$major'
29367 + shlibpath_var=LIBPATH
29372 + library_names_spec='$libname.ixlibrary $libname.a'
29373 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
29374 + 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'
29378 + library_names_spec='${libname}${shared_ext}'
29379 + dynamic_linker="$host_os ld.so"
29380 + shlibpath_var=LIBRARY_PATH
29384 + version_type=linux
29386 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29387 + soname_spec='${libname}${release}${shared_ext}$major'
29388 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
29389 + shlibpath_var=LD_LIBRARY_PATH
29390 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
29391 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
29392 + # the default ld.so.conf also contains /usr/contrib/lib and
29393 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
29394 + # libtool to hard-code these into programs
29397 +cygwin* | mingw* | pw32*)
29398 + version_type=windows
29399 + shrext_cmds=".dll"
29401 + need_lib_prefix=no
29403 + case $GCC,$host_os in
29404 + yes,cygwin* | yes,mingw* | yes,pw32*)
29405 + library_names_spec='$libname.dll.a'
29406 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
29407 + postinstall_cmds='base_file=`basename \${file}`~
29408 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
29409 + dldir=$destdir/`dirname \$dlpath`~
29410 + test -d \$dldir || mkdir -p \$dldir~
29411 + $install_prog $dir/$dlname \$dldir/$dlname'
29412 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
29413 + dlpath=$dir/\$dldll~
29415 + shlibpath_overrides_runpath=yes
29419 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
29420 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
29421 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
29424 + # MinGW DLLs use traditional 'lib' prefix
29425 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
29426 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
29427 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
29428 + # It is most probably a Windows format PATH printed by
29429 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
29430 + # path with ; separators, and with drive letters. We can handle the
29431 + # drive letters (cygwin fileutils understands them), so leave them,
29432 + # especially as we might pass files found there to a mingw objdump,
29433 + # which wouldn't understand a cygwinified path. Ahh.
29434 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
29436 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
29440 + # pw32 DLLs use 'pw' prefix rather than 'lib'
29441 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
29447 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
29450 + dynamic_linker='Win32 ld.exe'
29451 + # FIXME: first we should search . and the directory the executable is in
29452 + shlibpath_var=PATH
29455 +darwin* | rhapsody*)
29456 + dynamic_linker="$host_os dyld"
29457 + version_type=darwin
29458 + need_lib_prefix=no
29460 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
29461 + soname_spec='${libname}${release}${major}$shared_ext'
29462 + shlibpath_overrides_runpath=yes
29463 + shlibpath_var=DYLD_LIBRARY_PATH
29464 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
29465 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
29466 + if test "$GCC" = yes; then
29467 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
29469 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
29471 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
29475 + version_type=linux
29476 + need_lib_prefix=no
29478 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
29479 + soname_spec='${libname}${release}${shared_ext}$major'
29480 + shlibpath_var=LD_LIBRARY_PATH
29484 + dynamic_linker=no
29488 + version_type=linux
29489 + need_lib_prefix=no
29491 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
29492 + soname_spec='${libname}${release}${shared_ext}$major'
29493 + shlibpath_var=LD_LIBRARY_PATH
29494 + shlibpath_overrides_runpath=no
29495 + hardcode_into_libs=yes
29496 + dynamic_linker='GNU ld.so'
29500 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
29501 + version_type=freebsd-$objformat
29502 + case $version_type in
29504 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
29506 + need_lib_prefix=no
29509 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
29513 + shlibpath_var=LD_LIBRARY_PATH
29516 + shlibpath_overrides_runpath=yes
29518 + freebsd3.01* | freebsdelf3.01*)
29519 + shlibpath_overrides_runpath=yes
29520 + hardcode_into_libs=yes
29523 + shlibpath_overrides_runpath=no
29524 + hardcode_into_libs=yes
29530 + version_type=linux
29531 + need_lib_prefix=no
29533 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
29534 + soname_spec='${libname}${release}${shared_ext}$major'
29535 + shlibpath_var=LD_LIBRARY_PATH
29536 + hardcode_into_libs=yes
29539 +hpux9* | hpux10* | hpux11*)
29540 + # Give a soname corresponding to the major version so that dld.sl refuses to
29541 + # link against other versions.
29542 + version_type=sunos
29543 + need_lib_prefix=no
29545 + case "$host_cpu" in
29547 + shrext_cmds='.so'
29548 + hardcode_into_libs=yes
29549 + dynamic_linker="$host_os dld.so"
29550 + shlibpath_var=LD_LIBRARY_PATH
29551 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
29552 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29553 + soname_spec='${libname}${release}${shared_ext}$major'
29554 + if test "X$HPUX_IA64_MODE" = X32; then
29555 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
29557 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
29559 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
29562 + shrext_cmds='.sl'
29563 + hardcode_into_libs=yes
29564 + dynamic_linker="$host_os dld.sl"
29565 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
29566 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
29567 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29568 + soname_spec='${libname}${release}${shared_ext}$major'
29569 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
29570 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
29573 + shrext_cmds='.sl'
29574 + dynamic_linker="$host_os dld.sl"
29575 + shlibpath_var=SHLIB_PATH
29576 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
29577 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29578 + soname_spec='${libname}${release}${shared_ext}$major'
29581 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
29582 + postinstall_cmds='chmod 555 $lib'
29585 +irix5* | irix6* | nonstopux*)
29587 + nonstopux*) version_type=nonstopux ;;
29589 + if test "$lt_cv_prog_gnu_ld" = yes; then
29590 + version_type=linux
29592 + version_type=irix
29595 + need_lib_prefix=no
29597 + soname_spec='${libname}${release}${shared_ext}$major'
29598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
29600 + irix5* | nonstopux*)
29601 + libsuff= shlibsuff=
29604 + case $LD in # libtool.m4 will add one of these switches to LD
29605 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
29606 + libsuff= shlibsuff= libmagic=32-bit;;
29607 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
29608 + libsuff=32 shlibsuff=N32 libmagic=N32;;
29609 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
29610 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
29611 + *) libsuff= shlibsuff= libmagic=never-match;;
29615 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
29616 + shlibpath_overrides_runpath=no
29617 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
29618 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
29619 + hardcode_into_libs=yes
29622 +# No shared lib support for Linux oldld, aout, or coff.
29623 +linux*oldld* | linux*aout* | linux*coff*)
29624 + dynamic_linker=no
29627 +# This must be Linux ELF.
29629 + version_type=linux
29630 + need_lib_prefix=no
29632 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29633 + soname_spec='${libname}${release}${shared_ext}$major'
29634 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
29635 + shlibpath_var=LD_LIBRARY_PATH
29636 + shlibpath_overrides_runpath=no
29637 + # This implies no fast_install, which is unacceptable.
29638 + # Some rework will be needed to allow for fast_install
29639 + # before this can be enabled.
29640 + hardcode_into_libs=yes
29642 + # Append ld.so.conf contents to the search path
29643 + if test -f /etc/ld.so.conf; then
29644 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
29645 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
29648 + # We used to test for /lib/ld.so.1 and disable shared libraries on
29649 + # powerpc, because MkLinux only supported shared libraries with the
29650 + # GNU dynamic linker. Since this was broken with cross compilers,
29651 + # most powerpc-linux boxes support dynamic linking these days and
29652 + # people can always --disable-shared, the test was removed, and we
29653 + # assume the GNU/Linux dynamic linker is in use.
29654 + dynamic_linker='GNU/Linux ld.so'
29658 + version_type=linux
29659 + need_lib_prefix=no
29661 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
29662 + soname_spec='${libname}${release}${shared_ext}$major'
29663 + shlibpath_var=LD_LIBRARY_PATH
29664 + shlibpath_overrides_runpath=no
29665 + hardcode_into_libs=yes
29666 + dynamic_linker='NetBSD ld.elf_so'
29670 + version_type=linux
29671 + need_lib_prefix=no
29673 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
29674 + soname_spec='${libname}${release}${shared_ext}$major'
29675 + shlibpath_var=LD_LIBRARY_PATH
29676 + shlibpath_overrides_runpath=no
29677 + hardcode_into_libs=yes
29678 + dynamic_linker='GNU ld.so'
29682 + version_type=sunos
29683 + need_lib_prefix=no
29685 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
29686 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
29687 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
29688 + dynamic_linker='NetBSD (a.out) ld.so'
29690 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
29691 + soname_spec='${libname}${release}${shared_ext}$major'
29692 + dynamic_linker='NetBSD ld.elf_so'
29694 + shlibpath_var=LD_LIBRARY_PATH
29695 + shlibpath_overrides_runpath=yes
29696 + hardcode_into_libs=yes
29700 + version_type=linux
29701 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29702 + shlibpath_var=LD_LIBRARY_PATH
29703 + shlibpath_overrides_runpath=yes
29707 + version_type=linux
29708 + need_lib_prefix=no
29710 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29711 + soname_spec='${libname}${release}${shared_ext}$major'
29712 + shlibpath_var=LD_LIBRARY_PATH
29713 + shlibpath_overrides_runpath=yes
29717 + version_type=sunos
29718 + need_lib_prefix=no
29720 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
29721 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
29722 + shlibpath_var=LD_LIBRARY_PATH
29723 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
29725 + openbsd2.[89] | openbsd2.[89].*)
29726 + shlibpath_overrides_runpath=no
29729 + shlibpath_overrides_runpath=yes
29733 + shlibpath_overrides_runpath=yes
29738 + libname_spec='$name'
29739 + shrext_cmds=".dll"
29740 + need_lib_prefix=no
29741 + library_names_spec='$libname${shared_ext} $libname.a'
29742 + dynamic_linker='OS/2 ld.exe'
29743 + shlibpath_var=LIBPATH
29746 +osf3* | osf4* | osf5*)
29748 + need_lib_prefix=no
29750 + soname_spec='${libname}${release}${shared_ext}$major'
29751 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29752 + shlibpath_var=LD_LIBRARY_PATH
29753 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
29754 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
29759 + soname_spec='${libname}${release}${shared_ext}$major'
29760 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29761 + shlibpath_var=LD_LIBRARY_PATH
29765 + version_type=linux
29766 + need_lib_prefix=no
29768 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29769 + soname_spec='${libname}${release}${shared_ext}$major'
29770 + shlibpath_var=LD_LIBRARY_PATH
29771 + shlibpath_overrides_runpath=yes
29772 + hardcode_into_libs=yes
29773 + # ldd complains unless libraries are executable
29774 + postinstall_cmds='chmod +x $lib'
29778 + version_type=sunos
29779 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
29780 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
29781 + shlibpath_var=LD_LIBRARY_PATH
29782 + shlibpath_overrides_runpath=yes
29783 + if test "$with_gnu_ld" = yes; then
29784 + need_lib_prefix=no
29789 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
29790 + version_type=linux
29791 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29792 + soname_spec='${libname}${release}${shared_ext}$major'
29793 + shlibpath_var=LD_LIBRARY_PATH
29794 + case $host_vendor in
29796 + shlibpath_overrides_runpath=no
29797 + need_lib_prefix=no
29798 + export_dynamic_flag_spec='${wl}-Blargedynsym'
29799 + runpath_var=LD_RUN_PATH
29802 + need_lib_prefix=no
29805 + need_lib_prefix=no
29807 + shlibpath_overrides_runpath=no
29808 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
29814 + if test -d /usr/nec ;then
29815 + version_type=linux
29816 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
29817 + soname_spec='$libname${shared_ext}.$major'
29818 + shlibpath_var=LD_LIBRARY_PATH
29823 + version_type=linux
29824 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29825 + soname_spec='${libname}${release}${shared_ext}$major'
29826 + shlibpath_var=LD_LIBRARY_PATH
29830 + dynamic_linker=no
29833 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
29834 +echo "${ECHO_T}$dynamic_linker" >&6
29835 +test "$dynamic_linker" = no && can_build_shared=no
29837 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
29838 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
29839 +hardcode_action_F77=
29840 +if test -n "$hardcode_libdir_flag_spec_F77" || \
29841 + test -n "$runpath_var F77" || \
29842 + test "X$hardcode_automatic_F77"="Xyes" ; then
29844 + # We can hardcode non-existant directories.
29845 + if test "$hardcode_direct_F77" != no &&
29846 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
29847 + # have to relink, otherwise we might link with an installed library
29848 + # when we should be linking with a yet-to-be-installed one
29849 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
29850 + test "$hardcode_minus_L_F77" != no; then
29851 + # Linking always hardcodes the temporary library directory.
29852 + hardcode_action_F77=relink
29854 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
29855 + hardcode_action_F77=immediate
29858 + # We cannot hardcode anything, or else we can only hardcode existing
29860 + hardcode_action_F77=unsupported
29862 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
29863 +echo "${ECHO_T}$hardcode_action_F77" >&6
29865 +if test "$hardcode_action_F77" = relink; then
29866 + # Fast installation is not supported
29867 + enable_fast_install=no
29868 +elif test "$shlibpath_overrides_runpath" = yes ||
29869 + test "$enable_shared" = no; then
29870 + # Fast installation is not necessary
29871 + enable_fast_install=needless
29876 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
29877 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
29878 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
29879 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
29880 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
29881 + echo "$as_me:$LINENO: result: yes" >&5
29882 +echo "${ECHO_T}yes" >&6
29884 +# FIXME - insert some real tests, host_os isn't really good enough
29887 + if test -n "$STRIP" ; then
29888 + striplib="$STRIP -x"
29889 + echo "$as_me:$LINENO: result: yes" >&5
29890 +echo "${ECHO_T}yes" >&6
29892 + echo "$as_me:$LINENO: result: no" >&5
29893 +echo "${ECHO_T}no" >&6
29897 + echo "$as_me:$LINENO: result: no" >&5
29898 +echo "${ECHO_T}no" >&6
29905 +# The else clause should only fire when bootstrapping the
29906 +# libtool distribution, otherwise you forgot to ship ltmain.sh
29907 +# with your package, and you will get complaints that there are
29908 +# no rules to generate ltmain.sh.
29909 +if test -f "$ltmain"; then
29910 + # See if we are running on zsh, and set the options which allow our commands through
29911 + # without removal of \ escapes.
29912 + if test -n "${ZSH_VERSION+set}" ; then
29913 + setopt NO_GLOB_SUBST
29915 + # Now quote all the things that may contain metacharacters while being
29916 + # careful not to overquote the AC_SUBSTed values. We take copies of the
29917 + # variables and quote the copies for generation of the libtool script.
29918 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
29919 + SED SHELL STRIP \
29920 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
29921 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
29922 + deplibs_check_method reload_flag reload_cmds need_locks \
29923 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
29924 + lt_cv_sys_global_symbol_to_c_name_address \
29925 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
29926 + old_postinstall_cmds old_postuninstall_cmds \
29930 + lt_prog_compiler_wl_F77 \
29931 + lt_prog_compiler_pic_F77 \
29932 + lt_prog_compiler_static_F77 \
29933 + lt_prog_compiler_no_builtin_flag_F77 \
29934 + export_dynamic_flag_spec_F77 \
29935 + thread_safe_flag_spec_F77 \
29936 + whole_archive_flag_spec_F77 \
29937 + enable_shared_with_static_runtimes_F77 \
29938 + old_archive_cmds_F77 \
29939 + old_archive_from_new_cmds_F77 \
29940 + predep_objects_F77 \
29941 + postdep_objects_F77 \
29944 + compiler_lib_search_path_F77 \
29945 + archive_cmds_F77 \
29946 + archive_expsym_cmds_F77 \
29947 + postinstall_cmds_F77 \
29948 + postuninstall_cmds_F77 \
29949 + old_archive_from_expsyms_cmds_F77 \
29950 + allow_undefined_flag_F77 \
29951 + no_undefined_flag_F77 \
29952 + export_symbols_cmds_F77 \
29953 + hardcode_libdir_flag_spec_F77 \
29954 + hardcode_libdir_flag_spec_ld_F77 \
29955 + hardcode_libdir_separator_F77 \
29956 + hardcode_automatic_F77 \
29957 + module_cmds_F77 \
29958 + module_expsym_cmds_F77 \
29959 + lt_cv_prog_compiler_c_o_F77 \
29960 + exclude_expsyms_F77 \
29961 + include_expsyms_F77; do
29964 + old_archive_cmds_F77 | \
29965 + old_archive_from_new_cmds_F77 | \
29966 + archive_cmds_F77 | \
29967 + archive_expsym_cmds_F77 | \
29968 + module_cmds_F77 | \
29969 + module_expsym_cmds_F77 | \
29970 + old_archive_from_expsyms_cmds_F77 | \
29971 + export_symbols_cmds_F77 | \
29972 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
29973 + postinstall_cmds | postuninstall_cmds | \
29974 + old_postinstall_cmds | old_postuninstall_cmds | \
29975 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
29976 + # Double-quote double-evaled strings.
29977 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
29980 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
29986 + *'\$0 --fallback-echo"')
29987 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
29993 + cat <<__EOF__ >> "$cfgfile"
29994 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
29996 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29998 +# Shell to use when invoking shell scripts.
30001 +# Whether or not to build shared libraries.
30002 +build_libtool_libs=$enable_shared
30004 +# Whether or not to build static libraries.
30005 +build_old_libs=$enable_static
30007 +# Whether or not to add -lc for building shared libraries.
30008 +build_libtool_need_lc=$archive_cmds_need_lc_F77
30010 +# Whether or not to disallow shared libs when runtime libs are static
30011 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
30013 +# Whether or not to optimize for fast installation.
30014 +fast_install=$enable_fast_install
30016 +# The host system.
30017 +host_alias=$host_alias
30020 +# An echo program that does not interpret backslashes.
30025 +AR_FLAGS=$lt_AR_FLAGS
30030 +# A language-specific compiler.
30031 +CC=$lt_compiler_F77
30033 +# Is the compiler the GNU C compiler?
30039 +# The linker used to build libraries.
30042 +# Whether we need hard or soft links.
30045 +# A BSD-compatible nm program.
30048 +# A symbol stripping program
30051 +# Used to examine libraries when file_magic_cmd begins "file"
30052 +MAGIC_CMD=$MAGIC_CMD
30054 +# Used on cygwin: DLL creation program.
30055 +DLLTOOL="$DLLTOOL"
30057 +# Used on cygwin: object dumper.
30058 +OBJDUMP="$OBJDUMP"
30060 +# Used on cygwin: assembler.
30063 +# The name of the directory that contains temporary libtool files.
30066 +# How to create reloadable object files.
30067 +reload_flag=$lt_reload_flag
30068 +reload_cmds=$lt_reload_cmds
30070 +# How to pass a linker flag through the compiler.
30071 +wl=$lt_lt_prog_compiler_wl_F77
30073 +# Object file suffix (normally "o").
30074 +objext="$ac_objext"
30076 +# Old archive suffix (normally "a").
30079 +# Shared library suffix (normally ".so").
30080 +shrext_cmds='$shrext_cmds'
30082 +# Executable file suffix (normally "").
30085 +# Additional compiler flags for building library objects.
30086 +pic_flag=$lt_lt_prog_compiler_pic_F77
30087 +pic_mode=$pic_mode
30089 +# What is the maximum length of a command?
30090 +max_cmd_len=$lt_cv_sys_max_cmd_len
30092 +# Does compiler simultaneously support -c and -o options?
30093 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
30095 +# Must we lock files when doing compilation ?
30096 +need_locks=$lt_need_locks
30098 +# Do we need the lib prefix for modules?
30099 +need_lib_prefix=$need_lib_prefix
30101 +# Do we need a version for libraries?
30102 +need_version=$need_version
30104 +# Whether dlopen is supported.
30105 +dlopen_support=$enable_dlopen
30107 +# Whether dlopen of programs is supported.
30108 +dlopen_self=$enable_dlopen_self
30110 +# Whether dlopen of statically linked programs is supported.
30111 +dlopen_self_static=$enable_dlopen_self_static
30113 +# Compiler flag to prevent dynamic linking.
30114 +link_static_flag=$lt_lt_prog_compiler_static_F77
30116 +# Compiler flag to turn off builtin functions.
30117 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
30119 +# Compiler flag to allow reflexive dlopens.
30120 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
30122 +# Compiler flag to generate shared objects directly from archives.
30123 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
30125 +# Compiler flag to generate thread-safe objects.
30126 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
30128 +# Library versioning type.
30129 +version_type=$version_type
30131 +# Format of library name prefix.
30132 +libname_spec=$lt_libname_spec
30134 +# List of archive names. First name is the real one, the rest are links.
30135 +# The last name is the one that the linker finds with -lNAME.
30136 +library_names_spec=$lt_library_names_spec
30138 +# The coded name of the library, if different from the real name.
30139 +soname_spec=$lt_soname_spec
30141 +# Commands used to build and install an old-style archive.
30143 +old_archive_cmds=$lt_old_archive_cmds_F77
30144 +old_postinstall_cmds=$lt_old_postinstall_cmds
30145 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
30147 +# Create an old-style archive from a shared archive.
30148 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
30150 +# Create a temporary old-style archive to link instead of a shared archive.
30151 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
30153 +# Commands used to build and install a shared archive.
30154 +archive_cmds=$lt_archive_cmds_F77
30155 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
30156 +postinstall_cmds=$lt_postinstall_cmds
30157 +postuninstall_cmds=$lt_postuninstall_cmds
30159 +# Commands used to build a loadable module (assumed same as above if empty)
30160 +module_cmds=$lt_module_cmds_F77
30161 +module_expsym_cmds=$lt_module_expsym_cmds_F77
30163 +# Commands to strip libraries.
30164 +old_striplib=$lt_old_striplib
30165 +striplib=$lt_striplib
30167 +# Dependencies to place before the objects being linked to create a
30169 +predep_objects=$lt_predep_objects_F77
30171 +# Dependencies to place after the objects being linked to create a
30173 +postdep_objects=$lt_postdep_objects_F77
30175 +# Dependencies to place before the objects being linked to create a
30177 +predeps=$lt_predeps_F77
30179 +# Dependencies to place after the objects being linked to create a
30181 +postdeps=$lt_postdeps_F77
30183 +# The library search path used internally by the compiler when linking
30184 +# a shared library.
30185 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
30187 +# Method to check whether dependent libraries are shared objects.
30188 +deplibs_check_method=$lt_deplibs_check_method
30190 +# Command to use when deplibs_check_method == file_magic.
30191 +file_magic_cmd=$lt_file_magic_cmd
30193 +# Flag that allows shared libraries with undefined symbols to be built.
30194 +allow_undefined_flag=$lt_allow_undefined_flag_F77
30196 +# Flag that forces no undefined symbols.
30197 +no_undefined_flag=$lt_no_undefined_flag_F77
30199 +# Commands used to finish a libtool library installation in a directory.
30200 +finish_cmds=$lt_finish_cmds
30202 +# Same as above, but a single script fragment to be evaled but not shown.
30203 +finish_eval=$lt_finish_eval
30205 +# Take the output of nm and produce a listing of raw symbols and C names.
30206 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30208 +# Transform the output of nm in a proper C declaration
30209 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30211 +# Transform the output of nm in a C name address pair
30212 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30214 +# This is the shared library runtime path variable.
30215 +runpath_var=$runpath_var
30217 +# This is the shared library path variable.
30218 +shlibpath_var=$shlibpath_var
30220 +# Is shlibpath searched before the hard-coded library search path?
30221 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30223 +# How to hardcode a shared library path into an executable.
30224 +hardcode_action=$hardcode_action_F77
30226 +# Whether we should hardcode library paths into libraries.
30227 +hardcode_into_libs=$hardcode_into_libs
30229 +# Flag to hardcode \$libdir into a binary during linking.
30230 +# This must work even if \$libdir does not exist.
30231 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
30233 +# If ld is used when linking, flag to hardcode \$libdir into
30234 +# a binary during linking. This must work even if \$libdir does
30236 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
30238 +# Whether we need a single -rpath flag with a separated argument.
30239 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
30241 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
30242 +# resulting binary.
30243 +hardcode_direct=$hardcode_direct_F77
30245 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
30246 +# resulting binary.
30247 +hardcode_minus_L=$hardcode_minus_L_F77
30249 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
30250 +# the resulting binary.
30251 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
30253 +# Set to yes if building a shared library automatically hardcodes DIR into the library
30254 +# and all subsequent libraries and executables linked against it.
30255 +hardcode_automatic=$hardcode_automatic_F77
30257 +# Variables whose values should be saved in libtool wrapper scripts and
30258 +# restored at relink time.
30259 +variables_saved_for_relink="$variables_saved_for_relink"
30261 +# Whether libtool must link a program against all its dependency libraries.
30262 +link_all_deplibs=$link_all_deplibs_F77
30264 +# Compile-time system search path for libraries
30265 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30267 +# Run-time system search path for libraries
30268 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30270 +# Fix the shell variable \$srcfile for the compiler.
30271 +fix_srcfile_path="$fix_srcfile_path_F77"
30273 +# Set to yes if exported symbols are required.
30274 +always_export_symbols=$always_export_symbols_F77
30276 +# The commands to list exported symbols.
30277 +export_symbols_cmds=$lt_export_symbols_cmds_F77
30279 +# The commands to extract the exported symbol list from a shared archive.
30280 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
30282 +# Symbols that should not be listed in the preloaded symbols.
30283 +exclude_expsyms=$lt_exclude_expsyms_F77
30285 +# Symbols that must always be exported.
30286 +include_expsyms=$lt_include_expsyms_F77
30288 +# ### END LIBTOOL TAG CONFIG: $tagname
30294 + # If there is no Makefile yet, we rely on a make rule to execute
30295 + # `config.status --recheck' to rerun these tests and create the
30296 + # libtool script then.
30297 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
30298 + if test -f "$ltmain_in"; then
30299 + test -f Makefile && make "$ltmain"
30305 +ac_cpp='$CPP $CPPFLAGS'
30306 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
30318 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
30322 +# Source file extension for Java test sources.
30325 +# Object file extension for compiled Java test sources.
30327 +objext_GCJ=$objext
30329 +# Code to be used in simple compile tests
30330 +lt_simple_compile_test_code="class foo {}\n"
30332 +# Code to be used in simple link tests
30333 +lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
30335 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
30337 +# If no C compiler was specified, use CC.
30338 +LTCC=${LTCC-"$CC"}
30340 +# Allow CC to be a program name with arguments.
30344 +# Allow CC to be a program name with arguments.
30350 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
30351 +archive_cmds_need_lc_GCJ=no
30354 +lt_prog_compiler_no_builtin_flag_GCJ=
30356 +if test "$GCC" = yes; then
30357 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
30360 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
30361 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
30362 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
30363 + echo $ECHO_N "(cached) $ECHO_C" >&6
30365 + lt_cv_prog_compiler_rtti_exceptions=no
30366 + ac_outfile=conftest.$ac_objext
30367 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
30368 + lt_compiler_flag="-fno-rtti -fno-exceptions"
30369 + # Insert the option either (1) after the last *FLAGS variable, or
30370 + # (2) before a word containing "conftest.", or (3) at the end.
30371 + # Note that $ac_compile itself does not contain backslashes and begins
30372 + # with a dollar sign (not a hyphen), so the echo should work correctly.
30373 + # The option is referenced via a variable to avoid confusing sed.
30374 + lt_compile=`echo "$ac_compile" | $SED \
30375 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
30376 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
30377 + -e 's:$: $lt_compiler_flag:'`
30378 + (eval echo "\"\$as_me:15412: $lt_compile\"" >&5)
30379 + (eval "$lt_compile" 2>conftest.err)
30381 + cat conftest.err >&5
30382 + echo "$as_me:15416: \$? = $ac_status" >&5
30383 + if (exit $ac_status) && test -s "$ac_outfile"; then
30384 + # The compiler can only warn and ignore the option if not recognized
30385 + # So say no if there are warnings
30386 + if test ! -s conftest.err; then
30387 + lt_cv_prog_compiler_rtti_exceptions=yes
30393 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
30394 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
30396 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
30397 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
30404 +lt_prog_compiler_wl_GCJ=
30405 +lt_prog_compiler_pic_GCJ=
30406 +lt_prog_compiler_static_GCJ=
30408 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
30409 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
30411 + if test "$GCC" = yes; then
30412 + lt_prog_compiler_wl_GCJ='-Wl,'
30413 + lt_prog_compiler_static_GCJ='-static'
30417 + # All AIX code is PIC.
30418 + if test "$host_cpu" = ia64; then
30419 + # AIX 5 now supports IA64 processor
30420 + lt_prog_compiler_static_GCJ='-Bstatic'
30425 + # FIXME: we need at least 68020 code to build shared libraries, but
30426 + # adding the `-m68020' flag to GCC prevents building anything better,
30427 + # like `-m68040'.
30428 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
30431 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
30432 + # PIC is the default for these OSes.
30435 + mingw* | pw32* | os2*)
30436 + # This hack is so that the source file can tell whether it is being
30437 + # built for inclusion in a dll (and should export symbols for example).
30438 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
30441 + darwin* | rhapsody*)
30442 + # PIC is the default on this platform
30443 + # Common symbols not allowed in MH_DYLIB files
30444 + lt_prog_compiler_pic_GCJ='-fno-common'
30448 + # Just because we use GCC doesn't mean we suddenly get shared libraries
30449 + # on systems that don't support them.
30450 + lt_prog_compiler_can_build_shared_GCJ=no
30455 + if test -d /usr/nec; then
30456 + lt_prog_compiler_pic_GCJ=-Kconform_pic
30461 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
30462 + # not for PA HP-UX.
30463 + case "$host_cpu" in
30468 + lt_prog_compiler_pic_GCJ='-fPIC'
30474 + lt_prog_compiler_pic_GCJ='-fPIC'
30478 + # PORTME Check for flag to pass linker flags through the system compiler.
30481 + lt_prog_compiler_wl_GCJ='-Wl,'
30482 + if test "$host_cpu" = ia64; then
30483 + # AIX 5 now supports IA64 processor
30484 + lt_prog_compiler_static_GCJ='-Bstatic'
30486 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
30490 + mingw* | pw32* | os2*)
30491 + # This hack is so that the source file can tell whether it is being
30492 + # built for inclusion in a dll (and should export symbols for example).
30493 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
30496 + hpux9* | hpux10* | hpux11*)
30497 + lt_prog_compiler_wl_GCJ='-Wl,'
30498 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
30499 + # not for PA HP-UX.
30500 + case "$host_cpu" in
30505 + lt_prog_compiler_pic_GCJ='+Z'
30508 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
30509 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
30512 + irix5* | irix6* | nonstopux*)
30513 + lt_prog_compiler_wl_GCJ='-Wl,'
30514 + # PIC (with -KPIC) is the default.
30515 + lt_prog_compiler_static_GCJ='-non_shared'
30519 + lt_prog_compiler_pic_GCJ='-KPIC'
30520 + lt_prog_compiler_static_GCJ='-Bstatic'
30526 + lt_prog_compiler_wl_GCJ='-Wl,'
30527 + lt_prog_compiler_pic_GCJ='-KPIC'
30528 + lt_prog_compiler_static_GCJ='-static'
30531 + lt_prog_compiler_wl_GCJ='-Wl,'
30532 + # All Alpha code is PIC.
30533 + lt_prog_compiler_static_GCJ='-non_shared'
30538 + osf3* | osf4* | osf5*)
30539 + lt_prog_compiler_wl_GCJ='-Wl,'
30540 + # All OSF/1 code is PIC.
30541 + lt_prog_compiler_static_GCJ='-non_shared'
30545 + lt_prog_compiler_pic_GCJ='-Kpic'
30546 + lt_prog_compiler_static_GCJ='-dn'
30550 + lt_prog_compiler_wl_GCJ='-Wl,'
30551 + lt_prog_compiler_pic_GCJ='-KPIC'
30552 + lt_prog_compiler_static_GCJ='-Bstatic'
30556 + lt_prog_compiler_wl_GCJ='-Qoption ld '
30557 + lt_prog_compiler_pic_GCJ='-PIC'
30558 + lt_prog_compiler_static_GCJ='-Bstatic'
30561 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
30562 + lt_prog_compiler_wl_GCJ='-Wl,'
30563 + lt_prog_compiler_pic_GCJ='-KPIC'
30564 + lt_prog_compiler_static_GCJ='-Bstatic'
30568 + if test -d /usr/nec ;then
30569 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
30570 + lt_prog_compiler_static_GCJ='-Bstatic'
30575 + lt_prog_compiler_pic_GCJ='-pic'
30576 + lt_prog_compiler_static_GCJ='-Bstatic'
30580 + lt_prog_compiler_can_build_shared_GCJ=no
30585 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
30586 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
30589 +# Check to make sure the PIC flag actually works.
30591 +if test -n "$lt_prog_compiler_pic_GCJ"; then
30593 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
30594 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
30595 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
30596 + echo $ECHO_N "(cached) $ECHO_C" >&6
30598 + lt_prog_compiler_pic_works_GCJ=no
30599 + ac_outfile=conftest.$ac_objext
30600 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
30601 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
30602 + # Insert the option either (1) after the last *FLAGS variable, or
30603 + # (2) before a word containing "conftest.", or (3) at the end.
30604 + # Note that $ac_compile itself does not contain backslashes and begins
30605 + # with a dollar sign (not a hyphen), so the echo should work correctly.
30606 + # The option is referenced via a variable to avoid confusing sed.
30607 + lt_compile=`echo "$ac_compile" | $SED \
30608 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
30609 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
30610 + -e 's:$: $lt_compiler_flag:'`
30611 + (eval echo "\"\$as_me:15645: $lt_compile\"" >&5)
30612 + (eval "$lt_compile" 2>conftest.err)
30614 + cat conftest.err >&5
30615 + echo "$as_me:15649: \$? = $ac_status" >&5
30616 + if (exit $ac_status) && test -s "$ac_outfile"; then
30617 + # The compiler can only warn and ignore the option if not recognized
30618 + # So say no if there are warnings
30619 + if test ! -s conftest.err; then
30620 + lt_prog_compiler_pic_works_GCJ=yes
30626 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
30627 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
30629 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
30630 + case $lt_prog_compiler_pic_GCJ in
30632 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
30635 + lt_prog_compiler_pic_GCJ=
30636 + lt_prog_compiler_can_build_shared_GCJ=no
30640 +case "$host_os" in
30641 + # For platforms which do not support PIC, -DPIC is meaningless:
30643 + lt_prog_compiler_pic_GCJ=
30646 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
30650 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
30651 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
30652 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
30653 + echo $ECHO_N "(cached) $ECHO_C" >&6
30655 + lt_cv_prog_compiler_c_o_GCJ=no
30656 + $rm -r conftest 2>/dev/null
30660 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
30662 + lt_compiler_flag="-o out/conftest2.$ac_objext"
30663 + # Insert the option either (1) after the last *FLAGS variable, or
30664 + # (2) before a word containing "conftest.", or (3) at the end.
30665 + # Note that $ac_compile itself does not contain backslashes and begins
30666 + # with a dollar sign (not a hyphen), so the echo should work correctly.
30667 + lt_compile=`echo "$ac_compile" | $SED \
30668 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
30669 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
30670 + -e 's:$: $lt_compiler_flag:'`
30671 + (eval echo "\"\$as_me:15705: $lt_compile\"" >&5)
30672 + (eval "$lt_compile" 2>out/conftest.err)
30674 + cat out/conftest.err >&5
30675 + echo "$as_me:15709: \$? = $ac_status" >&5
30676 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
30678 + # The compiler can only warn and ignore the option if not recognized
30679 + # So say no if there are warnings
30680 + if test ! -s out/conftest.err; then
30681 + lt_cv_prog_compiler_c_o_GCJ=yes
30686 + # SGI C++ compiler will create directory out/ii_files/ for
30687 + # template instantiation
30688 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
30689 + $rm out/* && rmdir out
30695 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
30696 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
30699 +hard_links="nottested"
30700 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
30701 + # do not overwrite the value of need_locks provided by the user
30702 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
30703 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
30706 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
30708 + ln conftest.a conftest.b 2>&5 || hard_links=no
30709 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
30710 + echo "$as_me:$LINENO: result: $hard_links" >&5
30711 +echo "${ECHO_T}$hard_links" >&6
30712 + if test "$hard_links" = no; then
30713 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
30714 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
30721 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
30722 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
30725 + allow_undefined_flag_GCJ=
30726 + enable_shared_with_static_runtimes_GCJ=no
30727 + archive_cmds_GCJ=
30728 + archive_expsym_cmds_GCJ=
30729 + old_archive_From_new_cmds_GCJ=
30730 + old_archive_from_expsyms_cmds_GCJ=
30731 + export_dynamic_flag_spec_GCJ=
30732 + whole_archive_flag_spec_GCJ=
30733 + thread_safe_flag_spec_GCJ=
30734 + hardcode_libdir_flag_spec_GCJ=
30735 + hardcode_libdir_flag_spec_ld_GCJ=
30736 + hardcode_libdir_separator_GCJ=
30737 + hardcode_direct_GCJ=no
30738 + hardcode_minus_L_GCJ=no
30739 + hardcode_shlibpath_var_GCJ=unsupported
30740 + link_all_deplibs_GCJ=unknown
30741 + hardcode_automatic_GCJ=no
30743 + module_expsym_cmds_GCJ=
30744 + always_export_symbols_GCJ=no
30745 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
30746 + # include_expsyms should be a list of space-separated symbols to be *always*
30747 + # included in the symbol list
30748 + include_expsyms_GCJ=
30749 + # exclude_expsyms can be an extended regexp of symbols to exclude
30750 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
30751 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
30752 + # as well as any symbol that contains `d'.
30753 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
30754 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
30755 + # platforms (ab)use it in PIC code, but their linkers get confused if
30756 + # the symbol is explicitly referenced. Since portable code cannot
30757 + # rely on this symbol name, it's probably fine to never include it in
30758 + # preloaded symbol tables.
30759 + extract_expsyms_cmds=
30762 + cygwin* | mingw* | pw32*)
30763 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
30764 + # When not using gcc, we currently assume that we are using
30765 + # Microsoft Visual C++.
30766 + if test "$GCC" != yes; then
30775 + ld_shlibs_GCJ=yes
30776 + if test "$with_gnu_ld" = yes; then
30777 + # If archive_cmds runs LD, not CC, wlarc should be empty
30780 + # See if GNU ld supports shared libraries.
30782 + aix3* | aix4* | aix5*)
30783 + # On AIX/PPC, the GNU linker is very broken
30784 + if test "$host_cpu" != ia64; then
30788 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
30789 +*** to be unable to reliably create shared libraries on AIX.
30790 +*** Therefore, libtool is disabling shared libraries support. If you
30791 +*** really care for shared libraries, you may want to modify your PATH
30792 +*** so that a non-GNU linker is found, and then restart.
30799 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
30800 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
30801 + hardcode_minus_L_GCJ=yes
30803 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
30804 + # that the semantics of dynamic libraries on AmigaOS, at least up
30805 + # to version 4, is to share data among multiple programs linked
30806 + # with the same dynamic library. Since this doesn't match the
30807 + # behavior of shared libraries on other platforms, we can't use
30813 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
30814 + allow_undefined_flag_GCJ=unsupported
30815 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
30816 + # support --undefined. This deserves some investigation. FIXME
30817 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30823 + cygwin* | mingw* | pw32*)
30824 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
30825 + # as there is no search path for DLLs.
30826 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
30827 + allow_undefined_flag_GCJ=unsupported
30828 + always_export_symbols_GCJ=no
30829 + enable_shared_with_static_runtimes_GCJ=yes
30830 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
30832 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
30833 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
30834 + # If the export-symbols file already is a .def file (1st line
30835 + # is EXPORTS), use it as is; otherwise, prepend...
30836 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
30837 + cp $export_symbols $output_objdir/$soname.def;
30839 + echo EXPORTS > $output_objdir/$soname.def;
30840 + cat $export_symbols >> $output_objdir/$soname.def;
30842 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
30848 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
30849 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
30850 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
30853 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30854 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
30858 + solaris* | sysv5*)
30859 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
30863 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
30864 +*** create shared libraries on Solaris systems. Therefore, libtool
30865 +*** is disabling shared libraries support. We urge you to upgrade GNU
30866 +*** binutils to release 2.9.1 or newer. Another option is to modify
30867 +*** your PATH or compiler configuration so that the native linker is
30868 +*** used, and then restart.
30871 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
30872 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30873 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
30880 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
30882 + hardcode_direct_GCJ=yes
30883 + hardcode_shlibpath_var_GCJ=no
30887 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
30888 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30889 + archive_cmds_GCJ="$tmp_archive_cmds"
30890 + supports_anon_versioning=no
30891 + case `$LD -v 2>/dev/null` in
30892 + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
30893 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
30894 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
30895 + *\ 2.11.*) ;; # other 2.11 versions
30896 + *) supports_anon_versioning=yes ;;
30898 + if test $supports_anon_versioning = yes; then
30899 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
30900 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
30901 +$echo "local: *; };" >> $output_objdir/$libname.ver~
30902 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
30904 + archive_expsym_cmds_GCJ="$tmp_archive_cmds"
30906 + link_all_deplibs_GCJ=no
30913 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
30914 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
30915 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
30922 + if test "$ld_shlibs_GCJ" = yes; then
30923 + runpath_var=LD_RUN_PATH
30924 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
30925 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
30926 + # ancient GNU ld didn't support --whole-archive et. al.
30927 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
30928 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
30930 + whole_archive_flag_spec_GCJ=
30934 + # PORTME fill in a description of your system's linker (not GNU ld)
30937 + allow_undefined_flag_GCJ=unsupported
30938 + always_export_symbols_GCJ=yes
30939 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
30940 + # Note: this linker hardcodes the directories in LIBPATH if there
30941 + # are no directories specified by -L.
30942 + hardcode_minus_L_GCJ=yes
30943 + if test "$GCC" = yes && test -z "$link_static_flag"; then
30944 + # Neither direct hardcoding nor static linking is supported with a
30945 + # broken collect2.
30946 + hardcode_direct_GCJ=unsupported
30951 + if test "$host_cpu" = ia64; then
30952 + # On IA64, the linker does run time linking by default, so we don't
30953 + # have to do anything special.
30954 + aix_use_runtimelinking=no
30955 + exp_sym_flag='-Bexport'
30958 + # If we're using GNU nm, then we don't want the "-C" option.
30959 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
30960 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
30961 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
30963 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
30965 + aix_use_runtimelinking=no
30967 + # Test if we are trying to use run time linking or normal
30968 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
30969 + # need to do runtime linking.
30970 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
30971 + for ld_flag in $LDFLAGS; do
30972 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
30973 + aix_use_runtimelinking=yes
30979 + exp_sym_flag='-bexport'
30980 + no_entry_flag='-bnoentry'
30983 + # When large executables or shared objects are built, AIX ld can
30984 + # have problems creating the table of contents. If linking a library
30985 + # or program results in "error TOC overflow" add -mminimal-toc to
30986 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
30987 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
30989 + archive_cmds_GCJ=''
30990 + hardcode_direct_GCJ=yes
30991 + hardcode_libdir_separator_GCJ=':'
30992 + link_all_deplibs_GCJ=yes
30994 + if test "$GCC" = yes; then
30995 + case $host_os in aix4.012|aix4.012.*)
30996 + # We only want to do this on AIX 4.2 and lower, the check
30997 + # below for broken collect2 doesn't work under 4.3+
30998 + collect2name=`${CC} -print-prog-name=collect2`
30999 + if test -f "$collect2name" && \
31000 + strings "$collect2name" | grep resolve_lib_name >/dev/null
31002 + # We have reworked collect2
31003 + hardcode_direct_GCJ=yes
31005 + # We have old collect2
31006 + hardcode_direct_GCJ=unsupported
31007 + # It fails to find uninstalled libraries when the uninstalled
31008 + # path is not listed in the libpath. Setting hardcode_minus_L
31009 + # to unsupported forces relinking
31010 + hardcode_minus_L_GCJ=yes
31011 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31012 + hardcode_libdir_separator_GCJ=
31015 + shared_flag='-shared'
31018 + if test "$host_cpu" = ia64; then
31019 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
31020 + # chokes on -Wl,-G. The following line is correct:
31023 + if test "$aix_use_runtimelinking" = yes; then
31024 + shared_flag='${wl}-G'
31026 + shared_flag='${wl}-bM:SRE'
31031 + # It seems that -bexpall does not export symbols beginning with
31032 + # underscore (_), so it is better to generate a list of symbols to export.
31033 + always_export_symbols_GCJ=yes
31034 + if test "$aix_use_runtimelinking" = yes; then
31035 + # Warning - without using the other runtime loading flags (-brtl),
31036 + # -berok will link without error, but may produce a broken library.
31037 + allow_undefined_flag_GCJ='-berok'
31038 + # Determine the default libpath from the value encoded in an empty executable.
31039 + cat >conftest.$ac_ext <<_ACEOF
31042 +cat confdefs.h >>conftest.$ac_ext
31043 +cat >>conftest.$ac_ext <<_ACEOF
31044 +/* end confdefs.h. */
31054 +rm -f conftest.$ac_objext conftest$ac_exeext
31055 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31056 + (eval $ac_link) 2>conftest.er1
31058 + grep -v '^ *+' conftest.er1 >conftest.err
31059 + rm -f conftest.er1
31060 + cat conftest.err >&5
31061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 + (exit $ac_status); } &&
31063 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31064 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 + (eval $ac_try) 2>&5
31067 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 + (exit $ac_status); }; } &&
31069 + { ac_try='test -s conftest$ac_exeext'
31070 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 + (eval $ac_try) 2>&5
31073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 + (exit $ac_status); }; }; then
31076 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
31078 +# Check for a 64-bit object if we didn't find anything.
31079 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
31082 + echo "$as_me: failed program was:" >&5
31083 +sed 's/^/| /' conftest.$ac_ext >&5
31086 +rm -f conftest.err conftest.$ac_objext \
31087 + conftest$ac_exeext conftest.$ac_ext
31088 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31090 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
31091 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
31093 + if test "$host_cpu" = ia64; then
31094 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
31095 + allow_undefined_flag_GCJ="-z nodefs"
31096 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
31098 + # Determine the default libpath from the value encoded in an empty executable.
31099 + cat >conftest.$ac_ext <<_ACEOF
31102 +cat confdefs.h >>conftest.$ac_ext
31103 +cat >>conftest.$ac_ext <<_ACEOF
31104 +/* end confdefs.h. */
31114 +rm -f conftest.$ac_objext conftest$ac_exeext
31115 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116 + (eval $ac_link) 2>conftest.er1
31118 + grep -v '^ *+' conftest.er1 >conftest.err
31119 + rm -f conftest.er1
31120 + cat conftest.err >&5
31121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 + (exit $ac_status); } &&
31123 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31124 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 + (eval $ac_try) 2>&5
31127 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 + (exit $ac_status); }; } &&
31129 + { ac_try='test -s conftest$ac_exeext'
31130 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 + (eval $ac_try) 2>&5
31133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 + (exit $ac_status); }; }; then
31136 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
31138 +# Check for a 64-bit object if we didn't find anything.
31139 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
31142 + echo "$as_me: failed program was:" >&5
31143 +sed 's/^/| /' conftest.$ac_ext >&5
31146 +rm -f conftest.err conftest.$ac_objext \
31147 + conftest$ac_exeext conftest.$ac_ext
31148 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31150 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
31151 + # Warning - without using the other run time loading flags,
31152 + # -berok will link without error, but may produce a broken library.
31153 + no_undefined_flag_GCJ=' ${wl}-bernotok'
31154 + allow_undefined_flag_GCJ=' ${wl}-berok'
31155 + # -bexpall does not export symbols beginning with underscore (_)
31156 + always_export_symbols_GCJ=yes
31157 + # Exported symbols can be pulled into shared objects from archives
31158 + whole_archive_flag_spec_GCJ=' '
31159 + archive_cmds_need_lc_GCJ=yes
31160 + # This is similar to how AIX traditionally builds it's shared libraries.
31161 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
31167 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
31168 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31169 + hardcode_minus_L_GCJ=yes
31170 + # see comment about different semantics on the GNU ld section
31175 + export_dynamic_flag_spec_GCJ=-rdynamic
31178 + cygwin* | mingw* | pw32*)
31179 + # When not using gcc, we currently assume that we are using
31180 + # Microsoft Visual C++.
31181 + # hardcode_libdir_flag_spec is actually meaningless, as there is
31182 + # no search path for DLLs.
31183 + hardcode_libdir_flag_spec_GCJ=' '
31184 + allow_undefined_flag_GCJ=unsupported
31185 + # Tell ltmain to make .lib files, not .a files.
31187 + # Tell ltmain to make .dll files, not .so files.
31188 + shrext_cmds=".dll"
31189 + # FIXME: Setting linknames here is a bad hack.
31190 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
31191 + # The linker will automatically build a .lib file if we build a DLL.
31192 + old_archive_From_new_cmds_GCJ='true'
31193 + # FIXME: Should let the user specify the lib program.
31194 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
31195 + fix_srcfile_path='`cygpath -w "$srcfile"`'
31196 + enable_shared_with_static_runtimes_GCJ=yes
31199 + darwin* | rhapsody*)
31200 + if test "$GXX" = yes ; then
31201 + archive_cmds_need_lc_GCJ=no
31202 + case "$host_os" in
31203 + rhapsody* | darwin1.[012])
31204 + allow_undefined_flag_GCJ='-undefined suppress'
31206 + *) # Darwin 1.3 on
31207 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
31208 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
31210 + case ${MACOSX_DEPLOYMENT_TARGET} in
31212 + allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
31215 + allow_undefined_flag_GCJ='-undefined dynamic_lookup'
31221 + lt_int_apple_cc_single_mod=no
31222 + output_verbose_link_cmd='echo'
31223 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
31224 + lt_int_apple_cc_single_mod=yes
31226 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
31227 + archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
31229 + archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
31231 + module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
31232 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
31233 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
31234 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
31236 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
31238 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
31239 + hardcode_direct_GCJ=no
31240 + hardcode_automatic_GCJ=yes
31241 + hardcode_shlibpath_var_GCJ=unsupported
31242 + whole_archive_flag_spec_GCJ='-all_load $convenience'
31243 + link_all_deplibs_GCJ=yes
31250 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31251 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31252 + hardcode_shlibpath_var_GCJ=no
31259 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
31260 + # support. Future versions do this automatically, but an explicit c++rt0.o
31261 + # does not break anything, and helps significantly (at the cost of a little
31264 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
31265 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
31266 + hardcode_direct_GCJ=yes
31267 + hardcode_shlibpath_var_GCJ=no
31270 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
31272 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
31273 + hardcode_direct_GCJ=yes
31274 + hardcode_minus_L_GCJ=yes
31275 + hardcode_shlibpath_var_GCJ=no
31278 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
31279 + freebsd* | kfreebsd*-gnu)
31280 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
31281 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
31282 + hardcode_direct_GCJ=yes
31283 + hardcode_shlibpath_var_GCJ=no
31287 + if test "$GCC" = yes; then
31288 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
31290 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
31292 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
31293 + hardcode_libdir_separator_GCJ=:
31294 + hardcode_direct_GCJ=yes
31296 + # hardcode_minus_L: Not really in the search PATH,
31297 + # but as the default location of the library.
31298 + hardcode_minus_L_GCJ=yes
31299 + export_dynamic_flag_spec_GCJ='${wl}-E'
31302 + hpux10* | hpux11*)
31303 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
31304 + case "$host_cpu" in
31306 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
31309 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
31313 + case "$host_cpu" in
31315 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
31318 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
31322 + if test "$with_gnu_ld" = no; then
31323 + case "$host_cpu" in
31325 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
31326 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
31327 + hardcode_libdir_separator_GCJ=:
31328 + hardcode_direct_GCJ=no
31329 + hardcode_shlibpath_var_GCJ=no
31332 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31333 + hardcode_direct_GCJ=no
31334 + hardcode_shlibpath_var_GCJ=no
31336 + # hardcode_minus_L: Not really in the search PATH,
31337 + # but as the default location of the library.
31338 + hardcode_minus_L_GCJ=yes
31341 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
31342 + hardcode_libdir_separator_GCJ=:
31343 + hardcode_direct_GCJ=yes
31344 + export_dynamic_flag_spec_GCJ='${wl}-E'
31346 + # hardcode_minus_L: Not really in the search PATH,
31347 + # but as the default location of the library.
31348 + hardcode_minus_L_GCJ=yes
31354 + irix5* | irix6* | nonstopux*)
31355 + if test "$GCC" = yes; then
31356 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
31358 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
31359 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
31361 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
31362 + hardcode_libdir_separator_GCJ=:
31363 + link_all_deplibs_GCJ=yes
31366 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
31367 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
31368 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
31370 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
31372 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
31373 + hardcode_direct_GCJ=yes
31374 + hardcode_shlibpath_var_GCJ=no
31378 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31379 + hardcode_direct_GCJ=yes
31380 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
31381 + hardcode_libdir_separator_GCJ=:
31382 + hardcode_shlibpath_var_GCJ=no
31386 + hardcode_direct_GCJ=yes
31387 + hardcode_shlibpath_var_GCJ=no
31388 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
31389 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
31390 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
31391 + export_dynamic_flag_spec_GCJ='${wl}-E'
31394 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
31395 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
31396 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
31399 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
31400 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
31407 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31408 + hardcode_minus_L_GCJ=yes
31409 + allow_undefined_flag_GCJ=unsupported
31410 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
31411 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
31415 + if test "$GCC" = yes; then
31416 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
31417 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
31419 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
31420 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
31422 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
31423 + hardcode_libdir_separator_GCJ=:
31426 + osf4* | osf5*) # as osf3* with the addition of -msym flag
31427 + if test "$GCC" = yes; then
31428 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
31429 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
31430 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
31432 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
31433 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
31434 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
31435 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
31437 + # Both c and cxx compiler support -rpath directly
31438 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
31440 + hardcode_libdir_separator_GCJ=:
31444 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31445 + hardcode_shlibpath_var_GCJ=no
31446 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
31447 + runpath_var=LD_RUN_PATH
31448 + hardcode_runpath_var=yes
31452 + no_undefined_flag_GCJ=' -z text'
31453 + if test "$GCC" = yes; then
31454 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
31455 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
31456 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
31458 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
31459 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
31460 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
31462 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
31463 + hardcode_shlibpath_var_GCJ=no
31465 + solaris2.[0-5] | solaris2.[0-5].*) ;;
31466 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
31467 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
31469 + link_all_deplibs_GCJ=yes
31473 + if test "x$host_vendor" = xsequent; then
31474 + # Use $CC to link under sequent, because it throws in some extra .o
31475 + # files that make .init and .fini sections work.
31476 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
31478 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
31480 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31481 + hardcode_direct_GCJ=yes
31482 + hardcode_minus_L_GCJ=yes
31483 + hardcode_shlibpath_var_GCJ=no
31487 + case $host_vendor in
31489 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31490 + hardcode_direct_GCJ=yes # is this really true???
31493 + ## LD is ld it makes a PLAMLIB
31494 + ## CC just makes a GrossModule.
31495 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
31496 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
31497 + hardcode_direct_GCJ=no
31500 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31501 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
31504 + runpath_var='LD_RUN_PATH'
31505 + hardcode_shlibpath_var_GCJ=no
31509 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31510 + hardcode_shlibpath_var_GCJ=no
31511 + export_dynamic_flag_spec_GCJ='-Bexport'
31515 + if test -d /usr/nec; then
31516 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31517 + hardcode_shlibpath_var_GCJ=no
31518 + runpath_var=LD_RUN_PATH
31519 + hardcode_runpath_var=yes
31520 + ld_shlibs_GCJ=yes
31525 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
31526 + hardcode_direct_GCJ=yes
31527 + hardcode_minus_L_GCJ=no
31528 + hardcode_shlibpath_var_GCJ=no
31529 + hardcode_runpath_var=yes
31530 + runpath_var=LD_RUN_PATH
31533 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
31534 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
31535 + if test "$GCC" = yes; then
31536 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
31538 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
31540 + runpath_var='LD_RUN_PATH'
31541 + hardcode_shlibpath_var_GCJ=no
31545 + no_undefined_flag_GCJ=' -z text'
31546 + # $CC -shared without GNU ld will not create a library from C++
31547 + # object files and a static libstdc++, better avoid it by now
31548 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
31549 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
31550 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
31551 + hardcode_libdir_flag_spec_GCJ=
31552 + hardcode_shlibpath_var_GCJ=no
31553 + runpath_var='LD_RUN_PATH'
31557 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
31558 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
31559 + hardcode_shlibpath_var_GCJ=no
31568 +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
31569 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6
31570 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
31572 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
31573 +if test "$GCC" = yes; then
31574 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
31578 +# Do we need to explicitly link libc?
31580 +case "x$archive_cmds_need_lc_GCJ" in
31582 + # Assume -lc should be added
31583 + archive_cmds_need_lc_GCJ=yes
31585 + if test "$enable_shared" = yes && test "$GCC" = yes; then
31586 + case $archive_cmds_GCJ in
31588 + # FIXME: we may have to deal with multi-command sequences.
31591 + # Test whether the compiler implicitly links with -lc since on some
31592 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
31593 + # to ld, don't add -lc before -lgcc.
31594 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
31595 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
31597 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
31599 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31600 + (eval $ac_compile) 2>&5
31602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 + (exit $ac_status); } 2>conftest.err; then
31606 + libobjs=conftest.$ac_objext
31608 + wl=$lt_prog_compiler_wl_GCJ
31609 + compiler_flags=-v
31614 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
31615 + allow_undefined_flag_GCJ=
31616 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
31617 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
31619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 + (exit $ac_status); }
31622 + archive_cmds_need_lc_GCJ=no
31624 + archive_cmds_need_lc_GCJ=yes
31626 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
31628 + cat conftest.err 1>&5
31631 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
31632 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
31639 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
31640 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
31641 +library_names_spec=
31642 +libname_spec='lib$name'
31646 +postuninstall_cmds=
31650 +shlibpath_overrides_runpath=unknown
31652 +dynamic_linker="$host_os ld.so"
31653 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
31654 +if test "$GCC" = yes; then
31655 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
31656 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
31657 + # if the path contains ";" then we assume it to be the separator
31658 + # otherwise default to the standard path separator (i.e. ":") - it is
31659 + # assumed that no part of a normal pathname contains ";" but that should
31660 + # okay in the real world where ";" in dirpaths is itself problematic.
31661 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
31663 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
31666 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
31668 +need_lib_prefix=unknown
31669 +hardcode_into_libs=no
31671 +# when you set need_version to no, make sure it does not cause -set_version
31672 +# flags to be left without arguments
31673 +need_version=unknown
31677 + version_type=linux
31678 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
31679 + shlibpath_var=LIBPATH
31681 + # AIX 3 has no versioning support, so we append a major version to the name.
31682 + soname_spec='${libname}${release}${shared_ext}$major'
31686 + version_type=linux
31687 + need_lib_prefix=no
31689 + hardcode_into_libs=yes
31690 + if test "$host_cpu" = ia64; then
31691 + # AIX 5 supports IA64
31692 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
31693 + shlibpath_var=LD_LIBRARY_PATH
31695 + # With GCC up to 2.95.x, collect2 would create an import file
31696 + # for dependence libraries. The import file would start with
31697 + # the line `#! .'. This would cause the generated library to
31698 + # depend on `.', always an invalid library. This was fixed in
31699 + # development snapshots of GCC prior to 3.0.
31701 + aix4 | aix4.[01] | aix4.[01].*)
31702 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
31704 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
31707 + can_build_shared=no
31711 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
31712 + # soname into executable. Probably we can add versioning support to
31713 + # collect2, so additional links can be useful in future.
31714 + if test "$aix_use_runtimelinking" = yes; then
31715 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
31716 + # instead of lib<name>.a to let people know that these are not
31717 + # typical AIX shared libraries.
31718 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31720 + # We preserve .a as extension for shared libraries through AIX4.2
31721 + # and later when we are not doing run time linking.
31722 + library_names_spec='${libname}${release}.a $libname.a'
31723 + soname_spec='${libname}${release}${shared_ext}$major'
31725 + shlibpath_var=LIBPATH
31730 + library_names_spec='$libname.ixlibrary $libname.a'
31731 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
31732 + 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'
31736 + library_names_spec='${libname}${shared_ext}'
31737 + dynamic_linker="$host_os ld.so"
31738 + shlibpath_var=LIBRARY_PATH
31742 + version_type=linux
31744 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31745 + soname_spec='${libname}${release}${shared_ext}$major'
31746 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
31747 + shlibpath_var=LD_LIBRARY_PATH
31748 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
31749 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
31750 + # the default ld.so.conf also contains /usr/contrib/lib and
31751 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
31752 + # libtool to hard-code these into programs
31755 +cygwin* | mingw* | pw32*)
31756 + version_type=windows
31757 + shrext_cmds=".dll"
31759 + need_lib_prefix=no
31761 + case $GCC,$host_os in
31762 + yes,cygwin* | yes,mingw* | yes,pw32*)
31763 + library_names_spec='$libname.dll.a'
31764 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
31765 + postinstall_cmds='base_file=`basename \${file}`~
31766 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
31767 + dldir=$destdir/`dirname \$dlpath`~
31768 + test -d \$dldir || mkdir -p \$dldir~
31769 + $install_prog $dir/$dlname \$dldir/$dlname'
31770 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
31771 + dlpath=$dir/\$dldll~
31773 + shlibpath_overrides_runpath=yes
31777 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
31778 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
31779 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
31782 + # MinGW DLLs use traditional 'lib' prefix
31783 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
31784 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
31785 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
31786 + # It is most probably a Windows format PATH printed by
31787 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
31788 + # path with ; separators, and with drive letters. We can handle the
31789 + # drive letters (cygwin fileutils understands them), so leave them,
31790 + # especially as we might pass files found there to a mingw objdump,
31791 + # which wouldn't understand a cygwinified path. Ahh.
31792 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
31794 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
31798 + # pw32 DLLs use 'pw' prefix rather than 'lib'
31799 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
31805 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
31808 + dynamic_linker='Win32 ld.exe'
31809 + # FIXME: first we should search . and the directory the executable is in
31810 + shlibpath_var=PATH
31813 +darwin* | rhapsody*)
31814 + dynamic_linker="$host_os dyld"
31815 + version_type=darwin
31816 + need_lib_prefix=no
31818 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
31819 + soname_spec='${libname}${release}${major}$shared_ext'
31820 + shlibpath_overrides_runpath=yes
31821 + shlibpath_var=DYLD_LIBRARY_PATH
31822 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
31823 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
31824 + if test "$GCC" = yes; then
31825 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
31827 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
31829 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
31833 + version_type=linux
31834 + need_lib_prefix=no
31836 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
31837 + soname_spec='${libname}${release}${shared_ext}$major'
31838 + shlibpath_var=LD_LIBRARY_PATH
31842 + dynamic_linker=no
31846 + version_type=linux
31847 + need_lib_prefix=no
31849 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
31850 + soname_spec='${libname}${release}${shared_ext}$major'
31851 + shlibpath_var=LD_LIBRARY_PATH
31852 + shlibpath_overrides_runpath=no
31853 + hardcode_into_libs=yes
31854 + dynamic_linker='GNU ld.so'
31858 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
31859 + version_type=freebsd-$objformat
31860 + case $version_type in
31862 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
31864 + need_lib_prefix=no
31867 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
31871 + shlibpath_var=LD_LIBRARY_PATH
31874 + shlibpath_overrides_runpath=yes
31876 + freebsd3.01* | freebsdelf3.01*)
31877 + shlibpath_overrides_runpath=yes
31878 + hardcode_into_libs=yes
31881 + shlibpath_overrides_runpath=no
31882 + hardcode_into_libs=yes
31888 + version_type=linux
31889 + need_lib_prefix=no
31891 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
31892 + soname_spec='${libname}${release}${shared_ext}$major'
31893 + shlibpath_var=LD_LIBRARY_PATH
31894 + hardcode_into_libs=yes
31897 +hpux9* | hpux10* | hpux11*)
31898 + # Give a soname corresponding to the major version so that dld.sl refuses to
31899 + # link against other versions.
31900 + version_type=sunos
31901 + need_lib_prefix=no
31903 + case "$host_cpu" in
31905 + shrext_cmds='.so'
31906 + hardcode_into_libs=yes
31907 + dynamic_linker="$host_os dld.so"
31908 + shlibpath_var=LD_LIBRARY_PATH
31909 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
31910 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31911 + soname_spec='${libname}${release}${shared_ext}$major'
31912 + if test "X$HPUX_IA64_MODE" = X32; then
31913 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
31915 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
31917 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
31920 + shrext_cmds='.sl'
31921 + hardcode_into_libs=yes
31922 + dynamic_linker="$host_os dld.sl"
31923 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
31924 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
31925 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31926 + soname_spec='${libname}${release}${shared_ext}$major'
31927 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
31928 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
31931 + shrext_cmds='.sl'
31932 + dynamic_linker="$host_os dld.sl"
31933 + shlibpath_var=SHLIB_PATH
31934 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
31935 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31936 + soname_spec='${libname}${release}${shared_ext}$major'
31939 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
31940 + postinstall_cmds='chmod 555 $lib'
31943 +irix5* | irix6* | nonstopux*)
31945 + nonstopux*) version_type=nonstopux ;;
31947 + if test "$lt_cv_prog_gnu_ld" = yes; then
31948 + version_type=linux
31950 + version_type=irix
31953 + need_lib_prefix=no
31955 + soname_spec='${libname}${release}${shared_ext}$major'
31956 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
31958 + irix5* | nonstopux*)
31959 + libsuff= shlibsuff=
31962 + case $LD in # libtool.m4 will add one of these switches to LD
31963 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
31964 + libsuff= shlibsuff= libmagic=32-bit;;
31965 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
31966 + libsuff=32 shlibsuff=N32 libmagic=N32;;
31967 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
31968 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
31969 + *) libsuff= shlibsuff= libmagic=never-match;;
31973 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
31974 + shlibpath_overrides_runpath=no
31975 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
31976 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
31977 + hardcode_into_libs=yes
31980 +# No shared lib support for Linux oldld, aout, or coff.
31981 +linux*oldld* | linux*aout* | linux*coff*)
31982 + dynamic_linker=no
31985 +# This must be Linux ELF.
31987 + version_type=linux
31988 + need_lib_prefix=no
31990 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
31991 + soname_spec='${libname}${release}${shared_ext}$major'
31992 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
31993 + shlibpath_var=LD_LIBRARY_PATH
31994 + shlibpath_overrides_runpath=no
31995 + # This implies no fast_install, which is unacceptable.
31996 + # Some rework will be needed to allow for fast_install
31997 + # before this can be enabled.
31998 + hardcode_into_libs=yes
32000 + # Append ld.so.conf contents to the search path
32001 + if test -f /etc/ld.so.conf; then
32002 + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
32003 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
32006 + # We used to test for /lib/ld.so.1 and disable shared libraries on
32007 + # powerpc, because MkLinux only supported shared libraries with the
32008 + # GNU dynamic linker. Since this was broken with cross compilers,
32009 + # most powerpc-linux boxes support dynamic linking these days and
32010 + # people can always --disable-shared, the test was removed, and we
32011 + # assume the GNU/Linux dynamic linker is in use.
32012 + dynamic_linker='GNU/Linux ld.so'
32016 + version_type=linux
32017 + need_lib_prefix=no
32019 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
32020 + soname_spec='${libname}${release}${shared_ext}$major'
32021 + shlibpath_var=LD_LIBRARY_PATH
32022 + shlibpath_overrides_runpath=no
32023 + hardcode_into_libs=yes
32024 + dynamic_linker='NetBSD ld.elf_so'
32028 + version_type=linux
32029 + need_lib_prefix=no
32031 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
32032 + soname_spec='${libname}${release}${shared_ext}$major'
32033 + shlibpath_var=LD_LIBRARY_PATH
32034 + shlibpath_overrides_runpath=no
32035 + hardcode_into_libs=yes
32036 + dynamic_linker='GNU ld.so'
32040 + version_type=sunos
32041 + need_lib_prefix=no
32043 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
32044 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
32045 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
32046 + dynamic_linker='NetBSD (a.out) ld.so'
32048 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
32049 + soname_spec='${libname}${release}${shared_ext}$major'
32050 + dynamic_linker='NetBSD ld.elf_so'
32052 + shlibpath_var=LD_LIBRARY_PATH
32053 + shlibpath_overrides_runpath=yes
32054 + hardcode_into_libs=yes
32058 + version_type=linux
32059 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32060 + shlibpath_var=LD_LIBRARY_PATH
32061 + shlibpath_overrides_runpath=yes
32065 + version_type=linux
32066 + need_lib_prefix=no
32068 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32069 + soname_spec='${libname}${release}${shared_ext}$major'
32070 + shlibpath_var=LD_LIBRARY_PATH
32071 + shlibpath_overrides_runpath=yes
32075 + version_type=sunos
32076 + need_lib_prefix=no
32078 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
32079 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
32080 + shlibpath_var=LD_LIBRARY_PATH
32081 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
32083 + openbsd2.[89] | openbsd2.[89].*)
32084 + shlibpath_overrides_runpath=no
32087 + shlibpath_overrides_runpath=yes
32091 + shlibpath_overrides_runpath=yes
32096 + libname_spec='$name'
32097 + shrext_cmds=".dll"
32098 + need_lib_prefix=no
32099 + library_names_spec='$libname${shared_ext} $libname.a'
32100 + dynamic_linker='OS/2 ld.exe'
32101 + shlibpath_var=LIBPATH
32104 +osf3* | osf4* | osf5*)
32106 + need_lib_prefix=no
32108 + soname_spec='${libname}${release}${shared_ext}$major'
32109 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32110 + shlibpath_var=LD_LIBRARY_PATH
32111 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
32112 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
32117 + soname_spec='${libname}${release}${shared_ext}$major'
32118 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32119 + shlibpath_var=LD_LIBRARY_PATH
32123 + version_type=linux
32124 + need_lib_prefix=no
32126 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32127 + soname_spec='${libname}${release}${shared_ext}$major'
32128 + shlibpath_var=LD_LIBRARY_PATH
32129 + shlibpath_overrides_runpath=yes
32130 + hardcode_into_libs=yes
32131 + # ldd complains unless libraries are executable
32132 + postinstall_cmds='chmod +x $lib'
32136 + version_type=sunos
32137 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
32138 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
32139 + shlibpath_var=LD_LIBRARY_PATH
32140 + shlibpath_overrides_runpath=yes
32141 + if test "$with_gnu_ld" = yes; then
32142 + need_lib_prefix=no
32147 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
32148 + version_type=linux
32149 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32150 + soname_spec='${libname}${release}${shared_ext}$major'
32151 + shlibpath_var=LD_LIBRARY_PATH
32152 + case $host_vendor in
32154 + shlibpath_overrides_runpath=no
32155 + need_lib_prefix=no
32156 + export_dynamic_flag_spec='${wl}-Blargedynsym'
32157 + runpath_var=LD_RUN_PATH
32160 + need_lib_prefix=no
32163 + need_lib_prefix=no
32165 + shlibpath_overrides_runpath=no
32166 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
32172 + if test -d /usr/nec ;then
32173 + version_type=linux
32174 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
32175 + soname_spec='$libname${shared_ext}.$major'
32176 + shlibpath_var=LD_LIBRARY_PATH
32181 + version_type=linux
32182 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
32183 + soname_spec='${libname}${release}${shared_ext}$major'
32184 + shlibpath_var=LD_LIBRARY_PATH
32188 + dynamic_linker=no
32191 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
32192 +echo "${ECHO_T}$dynamic_linker" >&6
32193 +test "$dynamic_linker" = no && can_build_shared=no
32195 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
32196 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
32197 +hardcode_action_GCJ=
32198 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
32199 + test -n "$runpath_var GCJ" || \
32200 + test "X$hardcode_automatic_GCJ"="Xyes" ; then
32202 + # We can hardcode non-existant directories.
32203 + if test "$hardcode_direct_GCJ" != no &&
32204 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
32205 + # have to relink, otherwise we might link with an installed library
32206 + # when we should be linking with a yet-to-be-installed one
32207 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
32208 + test "$hardcode_minus_L_GCJ" != no; then
32209 + # Linking always hardcodes the temporary library directory.
32210 + hardcode_action_GCJ=relink
32212 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
32213 + hardcode_action_GCJ=immediate
32216 + # We cannot hardcode anything, or else we can only hardcode existing
32218 + hardcode_action_GCJ=unsupported
32220 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
32221 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
32223 +if test "$hardcode_action_GCJ" = relink; then
32224 + # Fast installation is not supported
32225 + enable_fast_install=no
32226 +elif test "$shlibpath_overrides_runpath" = yes ||
32227 + test "$enable_shared" = no; then
32228 + # Fast installation is not necessary
32229 + enable_fast_install=needless
32234 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
32235 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
32236 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
32237 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
32238 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
32239 + echo "$as_me:$LINENO: result: yes" >&5
32240 +echo "${ECHO_T}yes" >&6
32242 +# FIXME - insert some real tests, host_os isn't really good enough
32245 + if test -n "$STRIP" ; then
32246 + striplib="$STRIP -x"
32247 + echo "$as_me:$LINENO: result: yes" >&5
32248 +echo "${ECHO_T}yes" >&6
32250 + echo "$as_me:$LINENO: result: no" >&5
32251 +echo "${ECHO_T}no" >&6
32255 + echo "$as_me:$LINENO: result: no" >&5
32256 +echo "${ECHO_T}no" >&6
32261 +if test "x$enable_dlopen" != xyes; then
32262 + enable_dlopen=unknown
32263 + enable_dlopen_self=unknown
32264 + enable_dlopen_self_static=unknown
32267 + lt_cv_dlopen_libs=
32271 + lt_cv_dlopen="load_add_on"
32272 + lt_cv_dlopen_libs=
32273 + lt_cv_dlopen_self=yes
32277 + lt_cv_dlopen="LoadLibrary"
32278 + lt_cv_dlopen_libs=
32282 + lt_cv_dlopen="dlopen"
32283 + lt_cv_dlopen_libs=
32287 + # if libdl is installed we need to link against it
32288 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32289 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32290 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32291 + echo $ECHO_N "(cached) $ECHO_C" >&6
32293 + ac_check_lib_save_LIBS=$LIBS
32295 +cat >conftest.$ac_ext <<_ACEOF
32298 +cat confdefs.h >>conftest.$ac_ext
32299 +cat >>conftest.$ac_ext <<_ACEOF
32300 +/* end confdefs.h. */
32302 +/* Override any gcc2 internal prototype to avoid an error. */
32303 +#ifdef __cplusplus
32306 +/* We use char because int might match the return type of a gcc2
32307 + builtin and then its argument prototype would still apply. */
32317 +rm -f conftest.$ac_objext conftest$ac_exeext
32318 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32319 + (eval $ac_link) 2>conftest.er1
32321 + grep -v '^ *+' conftest.er1 >conftest.err
32322 + rm -f conftest.er1
32323 + cat conftest.err >&5
32324 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 + (exit $ac_status); } &&
32326 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32327 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 + (eval $ac_try) 2>&5
32330 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 + (exit $ac_status); }; } &&
32332 + { ac_try='test -s conftest$ac_exeext'
32333 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 + (eval $ac_try) 2>&5
32336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 + (exit $ac_status); }; }; then
32338 + ac_cv_lib_dl_dlopen=yes
32340 + echo "$as_me: failed program was:" >&5
32341 +sed 's/^/| /' conftest.$ac_ext >&5
32343 +ac_cv_lib_dl_dlopen=no
32345 +rm -f conftest.err conftest.$ac_objext \
32346 + conftest$ac_exeext conftest.$ac_ext
32347 +LIBS=$ac_check_lib_save_LIBS
32349 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32350 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32351 +if test $ac_cv_lib_dl_dlopen = yes; then
32352 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
32355 + lt_cv_dlopen="dyld"
32356 + lt_cv_dlopen_libs=
32357 + lt_cv_dlopen_self=yes
32364 + echo "$as_me:$LINENO: checking for shl_load" >&5
32365 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
32366 +if test "${ac_cv_func_shl_load+set}" = set; then
32367 + echo $ECHO_N "(cached) $ECHO_C" >&6
32369 + cat >conftest.$ac_ext <<_ACEOF
32372 +cat confdefs.h >>conftest.$ac_ext
32373 +cat >>conftest.$ac_ext <<_ACEOF
32374 +/* end confdefs.h. */
32375 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
32376 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32377 +#define shl_load innocuous_shl_load
32379 +/* System header to define __stub macros and hopefully few prototypes,
32380 + which can conflict with char shl_load (); below.
32381 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32382 + <limits.h> exists even on freestanding compilers. */
32385 +# include <limits.h>
32387 +# include <assert.h>
32392 +/* Override any gcc2 internal prototype to avoid an error. */
32393 +#ifdef __cplusplus
32397 +/* We use char because int might match the return type of a gcc2
32398 + builtin and then its argument prototype would still apply. */
32400 +/* The GNU C library defines this for functions which it implements
32401 + to always fail with ENOSYS. Some functions are actually named
32402 + something starting with __ and the normal name is an alias. */
32403 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
32406 +char (*f) () = shl_load;
32408 +#ifdef __cplusplus
32415 +return f != shl_load;
32420 +rm -f conftest.$ac_objext conftest$ac_exeext
32421 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32422 + (eval $ac_link) 2>conftest.er1
32424 + grep -v '^ *+' conftest.er1 >conftest.err
32425 + rm -f conftest.er1
32426 + cat conftest.err >&5
32427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 + (exit $ac_status); } &&
32429 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32431 + (eval $ac_try) 2>&5
32433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 + (exit $ac_status); }; } &&
32435 + { ac_try='test -s conftest$ac_exeext'
32436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437 + (eval $ac_try) 2>&5
32439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 + (exit $ac_status); }; }; then
32441 + ac_cv_func_shl_load=yes
32443 + echo "$as_me: failed program was:" >&5
32444 +sed 's/^/| /' conftest.$ac_ext >&5
32446 +ac_cv_func_shl_load=no
32448 +rm -f conftest.err conftest.$ac_objext \
32449 + conftest$ac_exeext conftest.$ac_ext
32451 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
32452 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
32453 +if test $ac_cv_func_shl_load = yes; then
32454 + lt_cv_dlopen="shl_load"
32456 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
32457 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
32458 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
32459 + echo $ECHO_N "(cached) $ECHO_C" >&6
32461 + ac_check_lib_save_LIBS=$LIBS
32462 +LIBS="-ldld $LIBS"
32463 +cat >conftest.$ac_ext <<_ACEOF
32466 +cat confdefs.h >>conftest.$ac_ext
32467 +cat >>conftest.$ac_ext <<_ACEOF
32468 +/* end confdefs.h. */
32470 +/* Override any gcc2 internal prototype to avoid an error. */
32471 +#ifdef __cplusplus
32474 +/* We use char because int might match the return type of a gcc2
32475 + builtin and then its argument prototype would still apply. */
32485 +rm -f conftest.$ac_objext conftest$ac_exeext
32486 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32487 + (eval $ac_link) 2>conftest.er1
32489 + grep -v '^ *+' conftest.er1 >conftest.err
32490 + rm -f conftest.er1
32491 + cat conftest.err >&5
32492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 + (exit $ac_status); } &&
32494 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32495 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32496 + (eval $ac_try) 2>&5
32498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 + (exit $ac_status); }; } &&
32500 + { ac_try='test -s conftest$ac_exeext'
32501 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 + (eval $ac_try) 2>&5
32504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 + (exit $ac_status); }; }; then
32506 + ac_cv_lib_dld_shl_load=yes
32508 + echo "$as_me: failed program was:" >&5
32509 +sed 's/^/| /' conftest.$ac_ext >&5
32511 +ac_cv_lib_dld_shl_load=no
32513 +rm -f conftest.err conftest.$ac_objext \
32514 + conftest$ac_exeext conftest.$ac_ext
32515 +LIBS=$ac_check_lib_save_LIBS
32517 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
32518 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
32519 +if test $ac_cv_lib_dld_shl_load = yes; then
32520 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
32522 + echo "$as_me:$LINENO: checking for dlopen" >&5
32523 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
32524 +if test "${ac_cv_func_dlopen+set}" = set; then
32525 + echo $ECHO_N "(cached) $ECHO_C" >&6
32527 + cat >conftest.$ac_ext <<_ACEOF
32530 +cat confdefs.h >>conftest.$ac_ext
32531 +cat >>conftest.$ac_ext <<_ACEOF
32532 +/* end confdefs.h. */
32533 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
32534 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32535 +#define dlopen innocuous_dlopen
32537 +/* System header to define __stub macros and hopefully few prototypes,
32538 + which can conflict with char dlopen (); below.
32539 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32540 + <limits.h> exists even on freestanding compilers. */
32543 +# include <limits.h>
32545 +# include <assert.h>
32550 +/* Override any gcc2 internal prototype to avoid an error. */
32551 +#ifdef __cplusplus
32555 +/* We use char because int might match the return type of a gcc2
32556 + builtin and then its argument prototype would still apply. */
32558 +/* The GNU C library defines this for functions which it implements
32559 + to always fail with ENOSYS. Some functions are actually named
32560 + something starting with __ and the normal name is an alias. */
32561 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
32564 +char (*f) () = dlopen;
32566 +#ifdef __cplusplus
32573 +return f != dlopen;
32578 +rm -f conftest.$ac_objext conftest$ac_exeext
32579 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32580 + (eval $ac_link) 2>conftest.er1
32582 + grep -v '^ *+' conftest.er1 >conftest.err
32583 + rm -f conftest.er1
32584 + cat conftest.err >&5
32585 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 + (exit $ac_status); } &&
32587 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 + (eval $ac_try) 2>&5
32591 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 + (exit $ac_status); }; } &&
32593 + { ac_try='test -s conftest$ac_exeext'
32594 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 + (eval $ac_try) 2>&5
32597 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 + (exit $ac_status); }; }; then
32599 + ac_cv_func_dlopen=yes
32601 + echo "$as_me: failed program was:" >&5
32602 +sed 's/^/| /' conftest.$ac_ext >&5
32604 +ac_cv_func_dlopen=no
32606 +rm -f conftest.err conftest.$ac_objext \
32607 + conftest$ac_exeext conftest.$ac_ext
32609 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
32610 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
32611 +if test $ac_cv_func_dlopen = yes; then
32612 + lt_cv_dlopen="dlopen"
32614 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32615 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32616 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32617 + echo $ECHO_N "(cached) $ECHO_C" >&6
32619 + ac_check_lib_save_LIBS=$LIBS
32621 +cat >conftest.$ac_ext <<_ACEOF
32624 +cat confdefs.h >>conftest.$ac_ext
32625 +cat >>conftest.$ac_ext <<_ACEOF
32626 +/* end confdefs.h. */
32628 +/* Override any gcc2 internal prototype to avoid an error. */
32629 +#ifdef __cplusplus
32632 +/* We use char because int might match the return type of a gcc2
32633 + builtin and then its argument prototype would still apply. */
32643 +rm -f conftest.$ac_objext conftest$ac_exeext
32644 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32645 + (eval $ac_link) 2>conftest.er1
32647 + grep -v '^ *+' conftest.er1 >conftest.err
32648 + rm -f conftest.er1
32649 + cat conftest.err >&5
32650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 + (exit $ac_status); } &&
32652 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32653 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 + (eval $ac_try) 2>&5
32656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 + (exit $ac_status); }; } &&
32658 + { ac_try='test -s conftest$ac_exeext'
32659 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 + (eval $ac_try) 2>&5
32662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 + (exit $ac_status); }; }; then
32664 + ac_cv_lib_dl_dlopen=yes
32666 + echo "$as_me: failed program was:" >&5
32667 +sed 's/^/| /' conftest.$ac_ext >&5
32669 +ac_cv_lib_dl_dlopen=no
32671 +rm -f conftest.err conftest.$ac_objext \
32672 + conftest$ac_exeext conftest.$ac_ext
32673 +LIBS=$ac_check_lib_save_LIBS
32675 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32676 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32677 +if test $ac_cv_lib_dl_dlopen = yes; then
32678 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
32680 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
32681 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
32682 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
32683 + echo $ECHO_N "(cached) $ECHO_C" >&6
32685 + ac_check_lib_save_LIBS=$LIBS
32686 +LIBS="-lsvld $LIBS"
32687 +cat >conftest.$ac_ext <<_ACEOF
32690 +cat confdefs.h >>conftest.$ac_ext
32691 +cat >>conftest.$ac_ext <<_ACEOF
32692 +/* end confdefs.h. */
32694 +/* Override any gcc2 internal prototype to avoid an error. */
32695 +#ifdef __cplusplus
32698 +/* We use char because int might match the return type of a gcc2
32699 + builtin and then its argument prototype would still apply. */
32709 +rm -f conftest.$ac_objext conftest$ac_exeext
32710 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32711 + (eval $ac_link) 2>conftest.er1
32713 + grep -v '^ *+' conftest.er1 >conftest.err
32714 + rm -f conftest.er1
32715 + cat conftest.err >&5
32716 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 + (exit $ac_status); } &&
32718 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32719 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 + (eval $ac_try) 2>&5
32722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 + (exit $ac_status); }; } &&
32724 + { ac_try='test -s conftest$ac_exeext'
32725 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 + (eval $ac_try) 2>&5
32728 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 + (exit $ac_status); }; }; then
32730 + ac_cv_lib_svld_dlopen=yes
32732 + echo "$as_me: failed program was:" >&5
32733 +sed 's/^/| /' conftest.$ac_ext >&5
32735 +ac_cv_lib_svld_dlopen=no
32737 +rm -f conftest.err conftest.$ac_objext \
32738 + conftest$ac_exeext conftest.$ac_ext
32739 +LIBS=$ac_check_lib_save_LIBS
32741 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
32742 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
32743 +if test $ac_cv_lib_svld_dlopen = yes; then
32744 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
32746 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
32747 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
32748 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
32749 + echo $ECHO_N "(cached) $ECHO_C" >&6
32751 + ac_check_lib_save_LIBS=$LIBS
32752 +LIBS="-ldld $LIBS"
32753 +cat >conftest.$ac_ext <<_ACEOF
32756 +cat confdefs.h >>conftest.$ac_ext
32757 +cat >>conftest.$ac_ext <<_ACEOF
32758 +/* end confdefs.h. */
32760 +/* Override any gcc2 internal prototype to avoid an error. */
32761 +#ifdef __cplusplus
32764 +/* We use char because int might match the return type of a gcc2
32765 + builtin and then its argument prototype would still apply. */
32775 +rm -f conftest.$ac_objext conftest$ac_exeext
32776 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32777 + (eval $ac_link) 2>conftest.er1
32779 + grep -v '^ *+' conftest.er1 >conftest.err
32780 + rm -f conftest.er1
32781 + cat conftest.err >&5
32782 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 + (exit $ac_status); } &&
32784 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32785 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32786 + (eval $ac_try) 2>&5
32788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 + (exit $ac_status); }; } &&
32790 + { ac_try='test -s conftest$ac_exeext'
32791 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 + (eval $ac_try) 2>&5
32794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 + (exit $ac_status); }; }; then
32796 + ac_cv_lib_dld_dld_link=yes
32798 + echo "$as_me: failed program was:" >&5
32799 +sed 's/^/| /' conftest.$ac_ext >&5
32801 +ac_cv_lib_dld_dld_link=no
32803 +rm -f conftest.err conftest.$ac_objext \
32804 + conftest$ac_exeext conftest.$ac_ext
32805 +LIBS=$ac_check_lib_save_LIBS
32807 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
32808 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
32809 +if test $ac_cv_lib_dld_dld_link = yes; then
32810 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
32831 + if test "x$lt_cv_dlopen" != xno; then
32832 + enable_dlopen=yes
32837 + case $lt_cv_dlopen in
32839 + save_CPPFLAGS="$CPPFLAGS"
32840 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
32842 + save_LDFLAGS="$LDFLAGS"
32843 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
32845 + save_LIBS="$LIBS"
32846 + LIBS="$lt_cv_dlopen_libs $LIBS"
32848 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
32849 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
32850 +if test "${lt_cv_dlopen_self+set}" = set; then
32851 + echo $ECHO_N "(cached) $ECHO_C" >&6
32853 + if test "$cross_compiling" = yes; then :
32854 + lt_cv_dlopen_self=cross
32856 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
32857 + lt_status=$lt_dlunknown
32858 + cat > conftest.$ac_ext <<EOF
32859 +#line 17893 "configure"
32860 +#include "confdefs.h"
32863 +#include <dlfcn.h>
32866 +#include <stdio.h>
32868 +#ifdef RTLD_GLOBAL
32869 +# define LT_DLGLOBAL RTLD_GLOBAL
32872 +# define LT_DLGLOBAL DL_GLOBAL
32874 +# define LT_DLGLOBAL 0
32878 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
32879 + find out it does not work in some platform. */
32880 +#ifndef LT_DLLAZY_OR_NOW
32882 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
32885 +# define LT_DLLAZY_OR_NOW DL_LAZY
32888 +# define LT_DLLAZY_OR_NOW RTLD_NOW
32891 +# define LT_DLLAZY_OR_NOW DL_NOW
32893 +# define LT_DLLAZY_OR_NOW 0
32900 +#ifdef __cplusplus
32901 +extern "C" void exit (int);
32904 +void fnord() { int i=42;}
32907 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
32908 + int status = $lt_dlunknown;
32912 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
32913 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
32914 + /* dlclose (self); */
32920 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32921 + (eval $ac_link) 2>&5
32923 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
32925 + (./conftest; exit; ) 2>/dev/null
32927 + case x$lt_status in
32928 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
32929 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
32930 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
32933 + # compilation failed
32934 + lt_cv_dlopen_self=no
32941 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
32942 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
32944 + if test "x$lt_cv_dlopen_self" = xyes; then
32945 + LDFLAGS="$LDFLAGS $link_static_flag"
32946 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
32947 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
32948 +if test "${lt_cv_dlopen_self_static+set}" = set; then
32949 + echo $ECHO_N "(cached) $ECHO_C" >&6
32951 + if test "$cross_compiling" = yes; then :
32952 + lt_cv_dlopen_self_static=cross
32954 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
32955 + lt_status=$lt_dlunknown
32956 + cat > conftest.$ac_ext <<EOF
32957 +#line 17991 "configure"
32958 +#include "confdefs.h"
32961 +#include <dlfcn.h>
32964 +#include <stdio.h>
32966 +#ifdef RTLD_GLOBAL
32967 +# define LT_DLGLOBAL RTLD_GLOBAL
32970 +# define LT_DLGLOBAL DL_GLOBAL
32972 +# define LT_DLGLOBAL 0
32976 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
32977 + find out it does not work in some platform. */
32978 +#ifndef LT_DLLAZY_OR_NOW
32980 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
32983 +# define LT_DLLAZY_OR_NOW DL_LAZY
32986 +# define LT_DLLAZY_OR_NOW RTLD_NOW
32989 +# define LT_DLLAZY_OR_NOW DL_NOW
32991 +# define LT_DLLAZY_OR_NOW 0
32998 +#ifdef __cplusplus
32999 +extern "C" void exit (int);
33002 +void fnord() { int i=42;}
33005 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
33006 + int status = $lt_dlunknown;
33010 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
33011 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
33012 + /* dlclose (self); */
33018 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33019 + (eval $ac_link) 2>&5
33021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
33023 + (./conftest; exit; ) 2>/dev/null
33025 + case x$lt_status in
33026 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
33027 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
33028 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
33031 + # compilation failed
33032 + lt_cv_dlopen_self_static=no
33039 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
33040 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
33043 + CPPFLAGS="$save_CPPFLAGS"
33044 + LDFLAGS="$save_LDFLAGS"
33045 + LIBS="$save_LIBS"
33049 + case $lt_cv_dlopen_self in
33050 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
33051 + *) enable_dlopen_self=unknown ;;
33054 + case $lt_cv_dlopen_self_static in
33055 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
33056 + *) enable_dlopen_self_static=unknown ;;
33061 +# The else clause should only fire when bootstrapping the
33062 +# libtool distribution, otherwise you forgot to ship ltmain.sh
33063 +# with your package, and you will get complaints that there are
33064 +# no rules to generate ltmain.sh.
33065 +if test -f "$ltmain"; then
33066 + # See if we are running on zsh, and set the options which allow our commands through
33067 + # without removal of \ escapes.
33068 + if test -n "${ZSH_VERSION+set}" ; then
33069 + setopt NO_GLOB_SUBST
33071 + # Now quote all the things that may contain metacharacters while being
33072 + # careful not to overquote the AC_SUBSTed values. We take copies of the
33073 + # variables and quote the copies for generation of the libtool script.
33074 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
33075 + SED SHELL STRIP \
33076 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
33077 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
33078 + deplibs_check_method reload_flag reload_cmds need_locks \
33079 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
33080 + lt_cv_sys_global_symbol_to_c_name_address \
33081 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
33082 + old_postinstall_cmds old_postuninstall_cmds \
33086 + lt_prog_compiler_wl_GCJ \
33087 + lt_prog_compiler_pic_GCJ \
33088 + lt_prog_compiler_static_GCJ \
33089 + lt_prog_compiler_no_builtin_flag_GCJ \
33090 + export_dynamic_flag_spec_GCJ \
33091 + thread_safe_flag_spec_GCJ \
33092 + whole_archive_flag_spec_GCJ \
33093 + enable_shared_with_static_runtimes_GCJ \
33094 + old_archive_cmds_GCJ \
33095 + old_archive_from_new_cmds_GCJ \
33096 + predep_objects_GCJ \
33097 + postdep_objects_GCJ \
33100 + compiler_lib_search_path_GCJ \
33101 + archive_cmds_GCJ \
33102 + archive_expsym_cmds_GCJ \
33103 + postinstall_cmds_GCJ \
33104 + postuninstall_cmds_GCJ \
33105 + old_archive_from_expsyms_cmds_GCJ \
33106 + allow_undefined_flag_GCJ \
33107 + no_undefined_flag_GCJ \
33108 + export_symbols_cmds_GCJ \
33109 + hardcode_libdir_flag_spec_GCJ \
33110 + hardcode_libdir_flag_spec_ld_GCJ \
33111 + hardcode_libdir_separator_GCJ \
33112 + hardcode_automatic_GCJ \
33113 + module_cmds_GCJ \
33114 + module_expsym_cmds_GCJ \
33115 + lt_cv_prog_compiler_c_o_GCJ \
33116 + exclude_expsyms_GCJ \
33117 + include_expsyms_GCJ; do
33120 + old_archive_cmds_GCJ | \
33121 + old_archive_from_new_cmds_GCJ | \
33122 + archive_cmds_GCJ | \
33123 + archive_expsym_cmds_GCJ | \
33124 + module_cmds_GCJ | \
33125 + module_expsym_cmds_GCJ | \
33126 + old_archive_from_expsyms_cmds_GCJ | \
33127 + export_symbols_cmds_GCJ | \
33128 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
33129 + postinstall_cmds | postuninstall_cmds | \
33130 + old_postinstall_cmds | old_postuninstall_cmds | \
33131 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
33132 + # Double-quote double-evaled strings.
33133 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
33136 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
33142 + *'\$0 --fallback-echo"')
33143 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
33149 + cat <<__EOF__ >> "$cfgfile"
33150 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
33152 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33154 +# Shell to use when invoking shell scripts.
33157 +# Whether or not to build shared libraries.
33158 +build_libtool_libs=$enable_shared
33160 +# Whether or not to build static libraries.
33161 +build_old_libs=$enable_static
33163 +# Whether or not to add -lc for building shared libraries.
33164 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
33166 +# Whether or not to disallow shared libs when runtime libs are static
33167 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
33169 +# Whether or not to optimize for fast installation.
33170 +fast_install=$enable_fast_install
33172 +# The host system.
33173 +host_alias=$host_alias
33176 +# An echo program that does not interpret backslashes.
33181 +AR_FLAGS=$lt_AR_FLAGS
33186 +# A language-specific compiler.
33187 +CC=$lt_compiler_GCJ
33189 +# Is the compiler the GNU C compiler?
33195 +# The linker used to build libraries.
33198 +# Whether we need hard or soft links.
33201 +# A BSD-compatible nm program.
33204 +# A symbol stripping program
33207 +# Used to examine libraries when file_magic_cmd begins "file"
33208 +MAGIC_CMD=$MAGIC_CMD
33210 +# Used on cygwin: DLL creation program.
33211 +DLLTOOL="$DLLTOOL"
33213 +# Used on cygwin: object dumper.
33214 +OBJDUMP="$OBJDUMP"
33216 +# Used on cygwin: assembler.
33219 +# The name of the directory that contains temporary libtool files.
33222 +# How to create reloadable object files.
33223 +reload_flag=$lt_reload_flag
33224 +reload_cmds=$lt_reload_cmds
33226 +# How to pass a linker flag through the compiler.
33227 +wl=$lt_lt_prog_compiler_wl_GCJ
33229 +# Object file suffix (normally "o").
33230 +objext="$ac_objext"
33232 +# Old archive suffix (normally "a").
33235 +# Shared library suffix (normally ".so").
33236 +shrext_cmds='$shrext_cmds'
33238 +# Executable file suffix (normally "").
33241 +# Additional compiler flags for building library objects.
33242 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
33243 +pic_mode=$pic_mode
33245 +# What is the maximum length of a command?
33246 +max_cmd_len=$lt_cv_sys_max_cmd_len
33248 +# Does compiler simultaneously support -c and -o options?
33249 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
33251 +# Must we lock files when doing compilation ?
33252 +need_locks=$lt_need_locks
33254 +# Do we need the lib prefix for modules?
33255 +need_lib_prefix=$need_lib_prefix
33257 +# Do we need a version for libraries?
33258 +need_version=$need_version
33260 +# Whether dlopen is supported.
33261 +dlopen_support=$enable_dlopen
33263 +# Whether dlopen of programs is supported.
33264 +dlopen_self=$enable_dlopen_self
33266 +# Whether dlopen of statically linked programs is supported.
33267 +dlopen_self_static=$enable_dlopen_self_static
33269 +# Compiler flag to prevent dynamic linking.
33270 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
33272 +# Compiler flag to turn off builtin functions.
33273 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
33275 +# Compiler flag to allow reflexive dlopens.
33276 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
33278 +# Compiler flag to generate shared objects directly from archives.
33279 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
33281 +# Compiler flag to generate thread-safe objects.
33282 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
33284 +# Library versioning type.
33285 +version_type=$version_type
33287 +# Format of library name prefix.
33288 +libname_spec=$lt_libname_spec
33290 +# List of archive names. First name is the real one, the rest are links.
33291 +# The last name is the one that the linker finds with -lNAME.
33292 +library_names_spec=$lt_library_names_spec
33294 +# The coded name of the library, if different from the real name.
33295 +soname_spec=$lt_soname_spec
33297 +# Commands used to build and install an old-style archive.
33299 +old_archive_cmds=$lt_old_archive_cmds_GCJ
33300 +old_postinstall_cmds=$lt_old_postinstall_cmds
33301 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
33303 +# Create an old-style archive from a shared archive.
33304 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
33306 +# Create a temporary old-style archive to link instead of a shared archive.
33307 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
33309 +# Commands used to build and install a shared archive.
33310 +archive_cmds=$lt_archive_cmds_GCJ
33311 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
33312 +postinstall_cmds=$lt_postinstall_cmds
33313 +postuninstall_cmds=$lt_postuninstall_cmds
33315 +# Commands used to build a loadable module (assumed same as above if empty)
33316 +module_cmds=$lt_module_cmds_GCJ
33317 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
33319 +# Commands to strip libraries.
33320 +old_striplib=$lt_old_striplib
33321 +striplib=$lt_striplib
33323 +# Dependencies to place before the objects being linked to create a
33325 +predep_objects=$lt_predep_objects_GCJ
33327 +# Dependencies to place after the objects being linked to create a
33329 +postdep_objects=$lt_postdep_objects_GCJ
33331 +# Dependencies to place before the objects being linked to create a
33333 +predeps=$lt_predeps_GCJ
33335 +# Dependencies to place after the objects being linked to create a
33337 +postdeps=$lt_postdeps_GCJ
33339 +# The library search path used internally by the compiler when linking
33340 +# a shared library.
33341 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
33343 +# Method to check whether dependent libraries are shared objects.
33344 +deplibs_check_method=$lt_deplibs_check_method
33346 +# Command to use when deplibs_check_method == file_magic.
33347 +file_magic_cmd=$lt_file_magic_cmd
33349 +# Flag that allows shared libraries with undefined symbols to be built.
33350 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
33352 +# Flag that forces no undefined symbols.
33353 +no_undefined_flag=$lt_no_undefined_flag_GCJ
33355 +# Commands used to finish a libtool library installation in a directory.
33356 +finish_cmds=$lt_finish_cmds
33358 +# Same as above, but a single script fragment to be evaled but not shown.
33359 +finish_eval=$lt_finish_eval
33361 +# Take the output of nm and produce a listing of raw symbols and C names.
33362 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33364 +# Transform the output of nm in a proper C declaration
33365 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33367 +# Transform the output of nm in a C name address pair
33368 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33370 +# This is the shared library runtime path variable.
33371 +runpath_var=$runpath_var
33373 +# This is the shared library path variable.
33374 +shlibpath_var=$shlibpath_var
33376 +# Is shlibpath searched before the hard-coded library search path?
33377 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33379 +# How to hardcode a shared library path into an executable.
33380 +hardcode_action=$hardcode_action_GCJ
33382 +# Whether we should hardcode library paths into libraries.
33383 +hardcode_into_libs=$hardcode_into_libs
33385 +# Flag to hardcode \$libdir into a binary during linking.
33386 +# This must work even if \$libdir does not exist.
33387 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
33389 +# If ld is used when linking, flag to hardcode \$libdir into
33390 +# a binary during linking. This must work even if \$libdir does
33392 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
33394 +# Whether we need a single -rpath flag with a separated argument.
33395 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
33397 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
33398 +# resulting binary.
33399 +hardcode_direct=$hardcode_direct_GCJ
33401 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
33402 +# resulting binary.
33403 +hardcode_minus_L=$hardcode_minus_L_GCJ
33405 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
33406 +# the resulting binary.
33407 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
33409 +# Set to yes if building a shared library automatically hardcodes DIR into the library
33410 +# and all subsequent libraries and executables linked against it.
33411 +hardcode_automatic=$hardcode_automatic_GCJ
33413 +# Variables whose values should be saved in libtool wrapper scripts and
33414 +# restored at relink time.
33415 +variables_saved_for_relink="$variables_saved_for_relink"
33417 +# Whether libtool must link a program against all its dependency libraries.
33418 +link_all_deplibs=$link_all_deplibs_GCJ
33420 +# Compile-time system search path for libraries
33421 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33423 +# Run-time system search path for libraries
33424 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33426 +# Fix the shell variable \$srcfile for the compiler.
33427 +fix_srcfile_path="$fix_srcfile_path_GCJ"
33429 +# Set to yes if exported symbols are required.
33430 +always_export_symbols=$always_export_symbols_GCJ
33432 +# The commands to list exported symbols.
33433 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
33435 +# The commands to extract the exported symbol list from a shared archive.
33436 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
33438 +# Symbols that should not be listed in the preloaded symbols.
33439 +exclude_expsyms=$lt_exclude_expsyms_GCJ
33441 +# Symbols that must always be exported.
33442 +include_expsyms=$lt_include_expsyms_GCJ
33444 +# ### END LIBTOOL TAG CONFIG: $tagname
33450 + # If there is no Makefile yet, we rely on a make rule to execute
33451 + # `config.status --recheck' to rerun these tests and create the
33452 + # libtool script then.
33453 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
33454 + if test -f "$ltmain_in"; then
33455 + test -f Makefile && make "$ltmain"
33461 +ac_cpp='$CPP $CPPFLAGS'
33462 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477 +# Source file extension for RC test sources.
33480 +# Object file extension for compiled RC test sources.
33484 +# Code to be used in simple compile tests
33485 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
33487 +# Code to be used in simple link tests
33488 +lt_simple_link_test_code="$lt_simple_compile_test_code"
33490 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
33492 +# If no C compiler was specified, use CC.
33493 +LTCC=${LTCC-"$CC"}
33495 +# Allow CC to be a program name with arguments.
33499 +# Allow CC to be a program name with arguments.
33501 +CC=${RC-"windres"}
33504 +lt_cv_prog_compiler_c_o_RC=yes
33506 +# The else clause should only fire when bootstrapping the
33507 +# libtool distribution, otherwise you forgot to ship ltmain.sh
33508 +# with your package, and you will get complaints that there are
33509 +# no rules to generate ltmain.sh.
33510 +if test -f "$ltmain"; then
33511 + # See if we are running on zsh, and set the options which allow our commands through
33512 + # without removal of \ escapes.
33513 + if test -n "${ZSH_VERSION+set}" ; then
33514 + setopt NO_GLOB_SUBST
33516 + # Now quote all the things that may contain metacharacters while being
33517 + # careful not to overquote the AC_SUBSTed values. We take copies of the
33518 + # variables and quote the copies for generation of the libtool script.
33519 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
33520 + SED SHELL STRIP \
33521 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
33522 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
33523 + deplibs_check_method reload_flag reload_cmds need_locks \
33524 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
33525 + lt_cv_sys_global_symbol_to_c_name_address \
33526 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
33527 + old_postinstall_cmds old_postuninstall_cmds \
33531 + lt_prog_compiler_wl_RC \
33532 + lt_prog_compiler_pic_RC \
33533 + lt_prog_compiler_static_RC \
33534 + lt_prog_compiler_no_builtin_flag_RC \
33535 + export_dynamic_flag_spec_RC \
33536 + thread_safe_flag_spec_RC \
33537 + whole_archive_flag_spec_RC \
33538 + enable_shared_with_static_runtimes_RC \
33539 + old_archive_cmds_RC \
33540 + old_archive_from_new_cmds_RC \
33541 + predep_objects_RC \
33542 + postdep_objects_RC \
33545 + compiler_lib_search_path_RC \
33546 + archive_cmds_RC \
33547 + archive_expsym_cmds_RC \
33548 + postinstall_cmds_RC \
33549 + postuninstall_cmds_RC \
33550 + old_archive_from_expsyms_cmds_RC \
33551 + allow_undefined_flag_RC \
33552 + no_undefined_flag_RC \
33553 + export_symbols_cmds_RC \
33554 + hardcode_libdir_flag_spec_RC \
33555 + hardcode_libdir_flag_spec_ld_RC \
33556 + hardcode_libdir_separator_RC \
33557 + hardcode_automatic_RC \
33559 + module_expsym_cmds_RC \
33560 + lt_cv_prog_compiler_c_o_RC \
33561 + exclude_expsyms_RC \
33562 + include_expsyms_RC; do
33565 + old_archive_cmds_RC | \
33566 + old_archive_from_new_cmds_RC | \
33567 + archive_cmds_RC | \
33568 + archive_expsym_cmds_RC | \
33569 + module_cmds_RC | \
33570 + module_expsym_cmds_RC | \
33571 + old_archive_from_expsyms_cmds_RC | \
33572 + export_symbols_cmds_RC | \
33573 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
33574 + postinstall_cmds | postuninstall_cmds | \
33575 + old_postinstall_cmds | old_postuninstall_cmds | \
33576 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
33577 + # Double-quote double-evaled strings.
33578 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
33581 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
33587 + *'\$0 --fallback-echo"')
33588 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
33594 + cat <<__EOF__ >> "$cfgfile"
33595 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
33597 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33599 +# Shell to use when invoking shell scripts.
33602 +# Whether or not to build shared libraries.
33603 +build_libtool_libs=$enable_shared
33605 +# Whether or not to build static libraries.
33606 +build_old_libs=$enable_static
33608 +# Whether or not to add -lc for building shared libraries.
33609 +build_libtool_need_lc=$archive_cmds_need_lc_RC
33611 +# Whether or not to disallow shared libs when runtime libs are static
33612 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
33614 +# Whether or not to optimize for fast installation.
33615 +fast_install=$enable_fast_install
33617 +# The host system.
33618 +host_alias=$host_alias
33621 +# An echo program that does not interpret backslashes.
33626 +AR_FLAGS=$lt_AR_FLAGS
33631 +# A language-specific compiler.
33632 +CC=$lt_compiler_RC
33634 +# Is the compiler the GNU C compiler?
33640 +# The linker used to build libraries.
33643 +# Whether we need hard or soft links.
33646 +# A BSD-compatible nm program.
33649 +# A symbol stripping program
33652 +# Used to examine libraries when file_magic_cmd begins "file"
33653 +MAGIC_CMD=$MAGIC_CMD
33655 +# Used on cygwin: DLL creation program.
33656 +DLLTOOL="$DLLTOOL"
33658 +# Used on cygwin: object dumper.
33659 +OBJDUMP="$OBJDUMP"
33661 +# Used on cygwin: assembler.
33664 +# The name of the directory that contains temporary libtool files.
33667 +# How to create reloadable object files.
33668 +reload_flag=$lt_reload_flag
33669 +reload_cmds=$lt_reload_cmds
33671 +# How to pass a linker flag through the compiler.
33672 +wl=$lt_lt_prog_compiler_wl_RC
33674 +# Object file suffix (normally "o").
33675 +objext="$ac_objext"
33677 +# Old archive suffix (normally "a").
33680 +# Shared library suffix (normally ".so").
33681 +shrext_cmds='$shrext_cmds'
33683 +# Executable file suffix (normally "").
33686 +# Additional compiler flags for building library objects.
33687 +pic_flag=$lt_lt_prog_compiler_pic_RC
33688 +pic_mode=$pic_mode
33690 +# What is the maximum length of a command?
33691 +max_cmd_len=$lt_cv_sys_max_cmd_len
33693 +# Does compiler simultaneously support -c and -o options?
33694 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
33696 +# Must we lock files when doing compilation ?
33697 +need_locks=$lt_need_locks
33699 +# Do we need the lib prefix for modules?
33700 +need_lib_prefix=$need_lib_prefix
33702 +# Do we need a version for libraries?
33703 +need_version=$need_version
33705 +# Whether dlopen is supported.
33706 +dlopen_support=$enable_dlopen
33708 +# Whether dlopen of programs is supported.
33709 +dlopen_self=$enable_dlopen_self
33711 +# Whether dlopen of statically linked programs is supported.
33712 +dlopen_self_static=$enable_dlopen_self_static
33714 +# Compiler flag to prevent dynamic linking.
33715 +link_static_flag=$lt_lt_prog_compiler_static_RC
33717 +# Compiler flag to turn off builtin functions.
33718 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
33720 +# Compiler flag to allow reflexive dlopens.
33721 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
33723 +# Compiler flag to generate shared objects directly from archives.
33724 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
33726 +# Compiler flag to generate thread-safe objects.
33727 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
33729 +# Library versioning type.
33730 +version_type=$version_type
33732 +# Format of library name prefix.
33733 +libname_spec=$lt_libname_spec
33735 +# List of archive names. First name is the real one, the rest are links.
33736 +# The last name is the one that the linker finds with -lNAME.
33737 +library_names_spec=$lt_library_names_spec
33739 +# The coded name of the library, if different from the real name.
33740 +soname_spec=$lt_soname_spec
33742 +# Commands used to build and install an old-style archive.
33744 +old_archive_cmds=$lt_old_archive_cmds_RC
33745 +old_postinstall_cmds=$lt_old_postinstall_cmds
33746 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
33748 +# Create an old-style archive from a shared archive.
33749 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
33751 +# Create a temporary old-style archive to link instead of a shared archive.
33752 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
33754 +# Commands used to build and install a shared archive.
33755 +archive_cmds=$lt_archive_cmds_RC
33756 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
33757 +postinstall_cmds=$lt_postinstall_cmds
33758 +postuninstall_cmds=$lt_postuninstall_cmds
33760 +# Commands used to build a loadable module (assumed same as above if empty)
33761 +module_cmds=$lt_module_cmds_RC
33762 +module_expsym_cmds=$lt_module_expsym_cmds_RC
33764 +# Commands to strip libraries.
33765 +old_striplib=$lt_old_striplib
33766 +striplib=$lt_striplib
33768 +# Dependencies to place before the objects being linked to create a
33770 +predep_objects=$lt_predep_objects_RC
33772 +# Dependencies to place after the objects being linked to create a
33774 +postdep_objects=$lt_postdep_objects_RC
33776 +# Dependencies to place before the objects being linked to create a
33778 +predeps=$lt_predeps_RC
33780 +# Dependencies to place after the objects being linked to create a
33782 +postdeps=$lt_postdeps_RC
33784 +# The library search path used internally by the compiler when linking
33785 +# a shared library.
33786 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
33788 +# Method to check whether dependent libraries are shared objects.
33789 +deplibs_check_method=$lt_deplibs_check_method
33791 +# Command to use when deplibs_check_method == file_magic.
33792 +file_magic_cmd=$lt_file_magic_cmd
33794 +# Flag that allows shared libraries with undefined symbols to be built.
33795 +allow_undefined_flag=$lt_allow_undefined_flag_RC
33797 +# Flag that forces no undefined symbols.
33798 +no_undefined_flag=$lt_no_undefined_flag_RC
33800 +# Commands used to finish a libtool library installation in a directory.
33801 +finish_cmds=$lt_finish_cmds
33803 +# Same as above, but a single script fragment to be evaled but not shown.
33804 +finish_eval=$lt_finish_eval
33806 +# Take the output of nm and produce a listing of raw symbols and C names.
33807 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33809 +# Transform the output of nm in a proper C declaration
33810 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33812 +# Transform the output of nm in a C name address pair
33813 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33815 +# This is the shared library runtime path variable.
33816 +runpath_var=$runpath_var
33818 +# This is the shared library path variable.
33819 +shlibpath_var=$shlibpath_var
33821 +# Is shlibpath searched before the hard-coded library search path?
33822 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33824 +# How to hardcode a shared library path into an executable.
33825 +hardcode_action=$hardcode_action_RC
33827 +# Whether we should hardcode library paths into libraries.
33828 +hardcode_into_libs=$hardcode_into_libs
33830 +# Flag to hardcode \$libdir into a binary during linking.
33831 +# This must work even if \$libdir does not exist.
33832 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
33834 +# If ld is used when linking, flag to hardcode \$libdir into
33835 +# a binary during linking. This must work even if \$libdir does
33837 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
33839 +# Whether we need a single -rpath flag with a separated argument.
33840 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
33842 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
33843 +# resulting binary.
33844 +hardcode_direct=$hardcode_direct_RC
33846 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
33847 +# resulting binary.
33848 +hardcode_minus_L=$hardcode_minus_L_RC
33850 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
33851 +# the resulting binary.
33852 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
33854 +# Set to yes if building a shared library automatically hardcodes DIR into the library
33855 +# and all subsequent libraries and executables linked against it.
33856 +hardcode_automatic=$hardcode_automatic_RC
33858 +# Variables whose values should be saved in libtool wrapper scripts and
33859 +# restored at relink time.
33860 +variables_saved_for_relink="$variables_saved_for_relink"
33862 +# Whether libtool must link a program against all its dependency libraries.
33863 +link_all_deplibs=$link_all_deplibs_RC
33865 +# Compile-time system search path for libraries
33866 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33868 +# Run-time system search path for libraries
33869 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33871 +# Fix the shell variable \$srcfile for the compiler.
33872 +fix_srcfile_path="$fix_srcfile_path_RC"
33874 +# Set to yes if exported symbols are required.
33875 +always_export_symbols=$always_export_symbols_RC
33877 +# The commands to list exported symbols.
33878 +export_symbols_cmds=$lt_export_symbols_cmds_RC
33880 +# The commands to extract the exported symbol list from a shared archive.
33881 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
33883 +# Symbols that should not be listed in the preloaded symbols.
33884 +exclude_expsyms=$lt_exclude_expsyms_RC
33886 +# Symbols that must always be exported.
33887 +include_expsyms=$lt_include_expsyms_RC
33889 +# ### END LIBTOOL TAG CONFIG: $tagname
33895 + # If there is no Makefile yet, we rely on a make rule to execute
33896 + # `config.status --recheck' to rerun these tests and create the
33897 + # libtool script then.
33898 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
33899 + if test -f "$ltmain_in"; then
33900 + test -f Makefile && make "$ltmain"
33906 +ac_cpp='$CPP $CPPFLAGS'
33907 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
33916 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
33917 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
33918 + { (exit 1); exit 1; }; }
33922 + # Append the new tag name to the list of available tags.
33923 + if test -n "$tagname" ; then
33924 + available_tags="$available_tags $tagname"
33928 + IFS="$lt_save_ifs"
33930 + # Now substitute the updated list of available tags.
33931 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
33932 + mv "${ofile}T" "$ofile"
33933 + chmod +x "$ofile"
33935 + rm -f "${ofile}T"
33936 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
33937 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
33938 + { (exit 1); exit 1; }; }
33944 +# This can be used to rebuild libtool when needed
33945 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
33947 +# Always use our own libtool.
33948 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
33950 +# Prevent multiple expansion
33971 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
33972 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
33973 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
33974 +if test "${enable_maintainer_mode+set}" = set; then
33975 + enableval="$enable_maintainer_mode"
33976 + USE_MAINTAINER_MODE=$enableval
33978 + USE_MAINTAINER_MODE=no
33980 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
33981 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
33984 +if test $USE_MAINTAINER_MODE = yes; then
33985 + MAINTAINER_MODE_TRUE=
33986 + MAINTAINER_MODE_FALSE='#'
33988 + MAINTAINER_MODE_TRUE='#'
33989 + MAINTAINER_MODE_FALSE=
33992 + MAINT=$MAINTAINER_MODE_TRUE
33997 +# Check whether --with-libsynce or --without-libsynce was given.
33998 +if test "${with_libsynce+set}" = set; then
33999 + withval="$with_libsynce"
34001 + CPPFLAGS="$CPPFLAGS -I${withval}/include"
34002 + LDFLAGS="$LDFLAGS -L${withval}/lib"
34008 +# Check whether --with-libsynce-include or --without-libsynce-include was given.
34009 +if test "${with_libsynce_include+set}" = set; then
34010 + withval="$with_libsynce_include"
34012 + CPPFLAGS="$CPPFLAGS -I${withval}"
34018 +# Check whether --with-libsynce-lib or --without-libsynce-lib was given.
34019 +if test "${with_libsynce_lib+set}" = set; then
34020 + withval="$with_libsynce_lib"
34022 + LDFLAGS="$LDFLAGS -L${withval}"
34028 +echo "$as_me:$LINENO: checking for main in -lsynce" >&5
34029 +echo $ECHO_N "checking for main in -lsynce... $ECHO_C" >&6
34030 +if test "${ac_cv_lib_synce_main+set}" = set; then
34031 + echo $ECHO_N "(cached) $ECHO_C" >&6
34033 + ac_check_lib_save_LIBS=$LIBS
34034 +LIBS="-lsynce $LIBS"
34035 +cat >conftest.$ac_ext <<_ACEOF
34038 +cat confdefs.h >>conftest.$ac_ext
34039 +cat >>conftest.$ac_ext <<_ACEOF
34040 +/* end confdefs.h. */
34051 +rm -f conftest.$ac_objext conftest$ac_exeext
34052 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34053 + (eval $ac_link) 2>conftest.er1
34055 + grep -v '^ *+' conftest.er1 >conftest.err
34056 + rm -f conftest.er1
34057 + cat conftest.err >&5
34058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 + (exit $ac_status); } &&
34060 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34061 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34062 + (eval $ac_try) 2>&5
34064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 + (exit $ac_status); }; } &&
34066 + { ac_try='test -s conftest$ac_exeext'
34067 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34068 + (eval $ac_try) 2>&5
34070 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 + (exit $ac_status); }; }; then
34072 + ac_cv_lib_synce_main=yes
34074 + echo "$as_me: failed program was:" >&5
34075 +sed 's/^/| /' conftest.$ac_ext >&5
34077 +ac_cv_lib_synce_main=no
34079 +rm -f conftest.err conftest.$ac_objext \
34080 + conftest$ac_exeext conftest.$ac_ext
34081 +LIBS=$ac_check_lib_save_LIBS
34083 +echo "$as_me:$LINENO: result: $ac_cv_lib_synce_main" >&5
34084 +echo "${ECHO_T}$ac_cv_lib_synce_main" >&6
34085 +if test $ac_cv_lib_synce_main = yes; then
34086 + cat >>confdefs.h <<_ACEOF
34087 +#define HAVE_LIBSYNCE 1
34090 + LIBS="-lsynce $LIBS"
34094 + { { echo "$as_me:$LINENO: error: Can't find synce library" >&5
34095 +echo "$as_me: error: Can't find synce library" >&2;}
34096 + { (exit 1); exit 1; }; }
34103 +for ac_header in synce.h
34105 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34106 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34107 + echo "$as_me:$LINENO: checking for $ac_header" >&5
34108 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34109 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34110 + echo $ECHO_N "(cached) $ECHO_C" >&6
34112 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34113 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34115 + # Is the header compilable?
34116 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
34117 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34118 +cat >conftest.$ac_ext <<_ACEOF
34121 +cat confdefs.h >>conftest.$ac_ext
34122 +cat >>conftest.$ac_ext <<_ACEOF
34123 +/* end confdefs.h. */
34124 +$ac_includes_default
34125 +#include <$ac_header>
34127 +rm -f conftest.$ac_objext
34128 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34129 + (eval $ac_compile) 2>conftest.er1
34131 + grep -v '^ *+' conftest.er1 >conftest.err
34132 + rm -f conftest.er1
34133 + cat conftest.err >&5
34134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 + (exit $ac_status); } &&
34136 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34137 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 + (eval $ac_try) 2>&5
34140 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 + (exit $ac_status); }; } &&
34142 + { ac_try='test -s conftest.$ac_objext'
34143 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 + (eval $ac_try) 2>&5
34146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 + (exit $ac_status); }; }; then
34148 + ac_header_compiler=yes
34150 + echo "$as_me: failed program was:" >&5
34151 +sed 's/^/| /' conftest.$ac_ext >&5
34153 +ac_header_compiler=no
34155 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34156 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34157 +echo "${ECHO_T}$ac_header_compiler" >&6
34159 +# Is the header present?
34160 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
34161 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34162 +cat >conftest.$ac_ext <<_ACEOF
34165 +cat confdefs.h >>conftest.$ac_ext
34166 +cat >>conftest.$ac_ext <<_ACEOF
34167 +/* end confdefs.h. */
34168 +#include <$ac_header>
34170 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34171 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34173 + grep -v '^ *+' conftest.er1 >conftest.err
34174 + rm -f conftest.er1
34175 + cat conftest.err >&5
34176 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34177 + (exit $ac_status); } >/dev/null; then
34178 + if test -s conftest.err; then
34179 + ac_cpp_err=$ac_c_preproc_warn_flag
34180 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34187 +if test -z "$ac_cpp_err"; then
34188 + ac_header_preproc=yes
34190 + echo "$as_me: failed program was:" >&5
34191 +sed 's/^/| /' conftest.$ac_ext >&5
34193 + ac_header_preproc=no
34195 +rm -f conftest.err conftest.$ac_ext
34196 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34197 +echo "${ECHO_T}$ac_header_preproc" >&6
34199 +# So? What about this header?
34200 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34202 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34203 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34204 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34205 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34206 + ac_header_preproc=yes
34209 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34210 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34211 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34212 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34213 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34214 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34215 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34216 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34217 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34218 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34219 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34220 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34223 +## ------------------------------------------ ##
34224 +## Report this to the AC_PACKAGE_NAME lists. ##
34225 +## ------------------------------------------ ##
34228 + sed "s/^/$as_me: WARNING: /" >&2
34231 +echo "$as_me:$LINENO: checking for $ac_header" >&5
34232 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34233 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34234 + echo $ECHO_N "(cached) $ECHO_C" >&6
34236 + eval "$as_ac_Header=\$ac_header_preproc"
34238 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34239 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34242 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
34243 + cat >>confdefs.h <<_ACEOF
34244 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34249 + { { echo "$as_me:$LINENO: error: Can't find synce.h" >&5
34250 +echo "$as_me: error: Can't find synce.h" >&2;}
34251 + { (exit 1); exit 1; }; }
34260 +# Check whether --with-librapi2 or --without-librapi2 was given.
34261 +if test "${with_librapi2+set}" = set; then
34262 + withval="$with_librapi2"
34264 + CPPFLAGS="$CPPFLAGS -I${withval}/include"
34265 + LDFLAGS="$LDFLAGS -L${withval}/lib"
34271 +# Check whether --with-librapi2-include or --without-librapi2-include was given.
34272 +if test "${with_librapi2_include+set}" = set; then
34273 + withval="$with_librapi2_include"
34275 + CPPFLAGS="$CPPFLAGS -I${withval}"
34281 +# Check whether --with-librapi2-lib or --without-librapi2-lib was given.
34282 +if test "${with_librapi2_lib+set}" = set; then
34283 + withval="$with_librapi2_lib"
34285 + LDFLAGS="$LDFLAGS -L${withval}"
34291 +echo "$as_me:$LINENO: checking for CeRapiInit in -lrapi" >&5
34292 +echo $ECHO_N "checking for CeRapiInit in -lrapi... $ECHO_C" >&6
34293 +if test "${ac_cv_lib_rapi_CeRapiInit+set}" = set; then
34294 + echo $ECHO_N "(cached) $ECHO_C" >&6
34296 + ac_check_lib_save_LIBS=$LIBS
34297 +LIBS="-lrapi $LIBS"
34298 +cat >conftest.$ac_ext <<_ACEOF
34301 +cat confdefs.h >>conftest.$ac_ext
34302 +cat >>conftest.$ac_ext <<_ACEOF
34303 +/* end confdefs.h. */
34305 +/* Override any gcc2 internal prototype to avoid an error. */
34306 +#ifdef __cplusplus
34309 +/* We use char because int might match the return type of a gcc2
34310 + builtin and then its argument prototype would still apply. */
34311 +char CeRapiInit ();
34320 +rm -f conftest.$ac_objext conftest$ac_exeext
34321 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34322 + (eval $ac_link) 2>conftest.er1
34324 + grep -v '^ *+' conftest.er1 >conftest.err
34325 + rm -f conftest.er1
34326 + cat conftest.err >&5
34327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 + (exit $ac_status); } &&
34329 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34330 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331 + (eval $ac_try) 2>&5
34333 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 + (exit $ac_status); }; } &&
34335 + { ac_try='test -s conftest$ac_exeext'
34336 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34337 + (eval $ac_try) 2>&5
34339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 + (exit $ac_status); }; }; then
34341 + ac_cv_lib_rapi_CeRapiInit=yes
34343 + echo "$as_me: failed program was:" >&5
34344 +sed 's/^/| /' conftest.$ac_ext >&5
34346 +ac_cv_lib_rapi_CeRapiInit=no
34348 +rm -f conftest.err conftest.$ac_objext \
34349 + conftest$ac_exeext conftest.$ac_ext
34350 +LIBS=$ac_check_lib_save_LIBS
34352 +echo "$as_me:$LINENO: result: $ac_cv_lib_rapi_CeRapiInit" >&5
34353 +echo "${ECHO_T}$ac_cv_lib_rapi_CeRapiInit" >&6
34354 +if test $ac_cv_lib_rapi_CeRapiInit = yes; then
34355 + cat >>confdefs.h <<_ACEOF
34356 +#define HAVE_LIBRAPI 1
34359 + LIBS="-lrapi $LIBS"
34363 + { { echo "$as_me:$LINENO: error: Can't find RAPI library" >&5
34364 +echo "$as_me: error: Can't find RAPI library" >&2;}
34365 + { (exit 1); exit 1; }; }
34372 +for ac_header in rapi.h
34374 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34375 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34376 + echo "$as_me:$LINENO: checking for $ac_header" >&5
34377 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34378 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34379 + echo $ECHO_N "(cached) $ECHO_C" >&6
34381 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34382 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34384 + # Is the header compilable?
34385 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
34386 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34387 +cat >conftest.$ac_ext <<_ACEOF
34390 +cat confdefs.h >>conftest.$ac_ext
34391 +cat >>conftest.$ac_ext <<_ACEOF
34392 +/* end confdefs.h. */
34393 +$ac_includes_default
34394 +#include <$ac_header>
34396 +rm -f conftest.$ac_objext
34397 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 + (eval $ac_compile) 2>conftest.er1
34400 + grep -v '^ *+' conftest.er1 >conftest.err
34401 + rm -f conftest.er1
34402 + cat conftest.err >&5
34403 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 + (exit $ac_status); } &&
34405 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 + (eval $ac_try) 2>&5
34409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 + (exit $ac_status); }; } &&
34411 + { ac_try='test -s conftest.$ac_objext'
34412 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 + (eval $ac_try) 2>&5
34415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 + (exit $ac_status); }; }; then
34417 + ac_header_compiler=yes
34419 + echo "$as_me: failed program was:" >&5
34420 +sed 's/^/| /' conftest.$ac_ext >&5
34422 +ac_header_compiler=no
34424 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34425 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34426 +echo "${ECHO_T}$ac_header_compiler" >&6
34428 +# Is the header present?
34429 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
34430 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34431 +cat >conftest.$ac_ext <<_ACEOF
34434 +cat confdefs.h >>conftest.$ac_ext
34435 +cat >>conftest.$ac_ext <<_ACEOF
34436 +/* end confdefs.h. */
34437 +#include <$ac_header>
34439 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34440 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34442 + grep -v '^ *+' conftest.er1 >conftest.err
34443 + rm -f conftest.er1
34444 + cat conftest.err >&5
34445 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 + (exit $ac_status); } >/dev/null; then
34447 + if test -s conftest.err; then
34448 + ac_cpp_err=$ac_c_preproc_warn_flag
34449 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34456 +if test -z "$ac_cpp_err"; then
34457 + ac_header_preproc=yes
34459 + echo "$as_me: failed program was:" >&5
34460 +sed 's/^/| /' conftest.$ac_ext >&5
34462 + ac_header_preproc=no
34464 +rm -f conftest.err conftest.$ac_ext
34465 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34466 +echo "${ECHO_T}$ac_header_preproc" >&6
34468 +# So? What about this header?
34469 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34471 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34472 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34473 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34474 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34475 + ac_header_preproc=yes
34478 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34479 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34480 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34481 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34482 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34483 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34484 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34485 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34486 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34487 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34488 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34489 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34492 +## ------------------------------------------ ##
34493 +## Report this to the AC_PACKAGE_NAME lists. ##
34494 +## ------------------------------------------ ##
34497 + sed "s/^/$as_me: WARNING: /" >&2
34500 +echo "$as_me:$LINENO: checking for $ac_header" >&5
34501 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34502 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
34503 + echo $ECHO_N "(cached) $ECHO_C" >&6
34505 + eval "$as_ac_Header=\$ac_header_preproc"
34507 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34508 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34511 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
34512 + cat >>confdefs.h <<_ACEOF
34513 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34518 + { { echo "$as_me:$LINENO: error: Can't find rapi.h" >&5
34519 +echo "$as_me: error: Can't find rapi.h" >&2;}
34520 + { (exit 1); exit 1; }; }
34528 + ac_config_files="$ac_config_files Makefile mal-files/Makefile mal-files/client/Makefile"
34529 +cat >confcache <<\_ACEOF
34530 +# This file is a shell script that caches the results of configure
34531 +# tests run on this system so they can be shared between configure
34532 +# scripts and configure runs, see configure's option --config-cache.
34533 +# It is not useful on other systems. If it contains results you don't
34534 +# want to keep, you may remove or edit it.
34536 +# config.status only pays attention to the cache file if you give it
34537 +# the --recheck option to rerun configure.
34539 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
34540 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
34541 +# following values.
34545 +# The following way of writing the cache mishandles newlines in values,
34546 +# but we know of no workaround that is simple, portable, and efficient.
34547 +# So, don't put newlines in cache variables' values.
34548 +# Ultrix sh set writes to stderr and can't be redirected directly,
34549 +# and sets the high bit in the cache file unless we assign to the vars.
34552 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
34554 + # `set' does not quote correctly, so add quotes (double-quote
34555 + # substitution turns \\\\ into \\, and sed turns \\ into \).
34558 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34561 + # `set' quotes correctly as required by POSIX, so do not add quotes.
34563 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34570 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34572 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34573 + : end' >>confcache
34574 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
34575 + if test -w $cache_file; then
34576 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34577 + cat confcache >$cache_file
34579 + echo "not updating unwritable cache $cache_file"
34584 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
34585 +# Let make expand exec_prefix.
34586 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34588 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
34589 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34590 +# trailing colons and then remove the whole line if VPATH becomes empty
34591 +# (actually we leave an empty line to preserve line numbers).
34592 +if test "x$srcdir" = x.; then
34593 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
34594 +s/:*\$(srcdir):*/:/;
34595 +s/:*\${srcdir}:*/:/;
34596 +s/:*@srcdir@:*/:/;
34597 +s/^\([^=]*=[ ]*\):*/\1/;
34603 +DEFS=-DHAVE_CONFIG_H
34607 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34608 + # 1. Remove the extension, and $U if already installed.
34609 + ac_i=`echo "$ac_i" |
34610 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34612 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34613 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34615 +LIBOBJS=$ac_libobjs
34617 +LTLIBOBJS=$ac_ltlibobjs
34620 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34621 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34622 +Usually this means the macro was only invoked conditionally." >&5
34623 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
34624 +Usually this means the macro was only invoked conditionally." >&2;}
34625 + { (exit 1); exit 1; }; }
34627 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34628 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34629 +Usually this means the macro was only invoked conditionally." >&5
34630 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34631 +Usually this means the macro was only invoked conditionally." >&2;}
34632 + { (exit 1); exit 1; }; }
34634 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34635 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
34636 +Usually this means the macro was only invoked conditionally." >&5
34637 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
34638 +Usually this means the macro was only invoked conditionally." >&2;}
34639 + { (exit 1); exit 1; }; }
34641 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34642 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34643 +Usually this means the macro was only invoked conditionally." >&5
34644 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34645 +Usually this means the macro was only invoked conditionally." >&2;}
34646 + { (exit 1); exit 1; }; }
34649 +: ${CONFIG_STATUS=./config.status}
34650 +ac_clean_files_save=$ac_clean_files
34651 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34652 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34653 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
34654 +cat >$CONFIG_STATUS <<_ACEOF
34656 +# Generated by $as_me.
34657 +# Run this file to recreate the current configuration.
34658 +# Compiler output produced by configure, useful for debugging
34659 +# configure, is in config.log if it exists.
34662 +ac_cs_recheck=false
34663 +ac_cs_silent=false
34664 +SHELL=\${CONFIG_SHELL-$SHELL}
34667 +cat >>$CONFIG_STATUS <<\_ACEOF
34668 +## --------------------- ##
34669 +## M4sh Initialization. ##
34670 +## --------------------- ##
34672 +# Be Bourne compatible
34673 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34676 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34677 + # is contrary to our usage. Disable this feature.
34678 + alias -g '${1+"$@"}'='"$@"'
34679 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34682 +DUALCASE=1; export DUALCASE # for MKS sh
34684 +# Support unset when possible.
34685 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34692 +# Work around bugs in pre-3.0 UWIN ksh.
34693 +$as_unset ENV MAIL MAILPATH
34700 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34701 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34702 + LC_TELEPHONE LC_TIME
34704 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34705 + eval $as_var=C; export $as_var
34707 + $as_unset $as_var
34711 +# Required to use basename.
34712 +if expr a : '\(a\)' >/dev/null 2>&1; then
34718 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34719 + as_basename=basename
34721 + as_basename=false
34725 +# Name of the executable.
34726 +as_me=`$as_basename "$0" ||
34727 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34728 + X"$0" : 'X\(//\)$' \| \
34729 + X"$0" : 'X\(/\)$' \| \
34730 + . : '\(.\)' 2>/dev/null ||
34732 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34733 + /^X\/\(\/\/\)$/{ s//\1/; q; }
34734 + /^X\/\(\/\).*/{ s//\1/; q; }
34738 +# PATH needs CR, and LINENO needs CR and PATH.
34739 +# Avoid depending upon Character Ranges.
34740 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34741 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34742 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34743 +as_cr_digits='0123456789'
34744 +as_cr_alnum=$as_cr_Letters$as_cr_digits
34746 +# The user is always right.
34747 +if test "${PATH_SEPARATOR+set}" != set; then
34748 + echo "#! /bin/sh" >conf$$.sh
34749 + echo "exit 0" >>conf$$.sh
34750 + chmod +x conf$$.sh
34751 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34752 + PATH_SEPARATOR=';'
34760 + as_lineno_1=$LINENO
34761 + as_lineno_2=$LINENO
34762 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34763 + test "x$as_lineno_1" != "x$as_lineno_2" &&
34764 + test "x$as_lineno_3" = "x$as_lineno_2" || {
34765 + # Find who we are. Look in the path if we contain no path at all
34766 + # relative or not.
34768 + *[\\/]* ) as_myself=$0 ;;
34769 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34770 +for as_dir in $PATH
34773 + test -z "$as_dir" && as_dir=.
34774 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34779 + # We did not find ourselves, most probably we were run as `sh COMMAND'
34780 + # in which case we are not to be found in the path.
34781 + if test "x$as_myself" = x; then
34784 + if test ! -f "$as_myself"; then
34785 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34786 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34787 + { (exit 1); exit 1; }; }
34789 + case $CONFIG_SHELL in
34791 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34792 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34795 + test -z "$as_dir" && as_dir=.
34796 + for as_base in sh bash ksh sh5; do
34799 + if ("$as_dir/$as_base" -c '
34800 + as_lineno_1=$LINENO
34801 + as_lineno_2=$LINENO
34802 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34803 + test "x$as_lineno_1" != "x$as_lineno_2" &&
34804 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34805 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34806 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34807 + CONFIG_SHELL=$as_dir/$as_base
34808 + export CONFIG_SHELL
34809 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34817 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34818 + # uniformly replaced by the line number. The first 'sed' inserts a
34819 + # line-number line before each line; the second 'sed' does the real
34820 + # work. The second script uses 'N' to pair each line-number line
34821 + # with the numbered line, and appends trailing '-' during
34822 + # substitution so that $LINENO is not a special case at line end.
34823 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34824 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34825 + sed '=' <$as_myself |
34830 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34833 + s,^['$as_cr_digits']*\n,,
34834 + ' >$as_me.lineno &&
34835 + chmod +x $as_me.lineno ||
34836 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34837 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34838 + { (exit 1); exit 1; }; }
34840 + # Don't try to exec as it changes $[0], causing all sort of problems
34841 + # (the dirname of $[0] is not the place where we might find the
34842 + # original and so on. Autoconf is especially sensible to this).
34843 + . ./$as_me.lineno
34844 + # Exit status is that of the last command.
34849 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34850 + *c*,-n*) ECHO_N= ECHO_C='
34852 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34853 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34856 +if expr a : '\(a\)' >/dev/null 2>&1; then
34862 +rm -f conf$$ conf$$.exe conf$$.file
34864 +if ln -s conf$$.file conf$$ 2>/dev/null; then
34865 + # We could just check for DJGPP; but this test a) works b) is more generic
34866 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34867 + if test -f conf$$.exe; then
34868 + # Don't use ln at all; we don't have any links
34873 +elif ln conf$$.file conf$$ 2>/dev/null; then
34878 +rm -f conf$$ conf$$.exe conf$$.file
34880 +if mkdir -p . 2>/dev/null; then
34883 + test -d ./-p && rmdir ./-p
34887 +as_executable_p="test -f"
34889 +# Sed expression to map a string onto a valid CPP name.
34890 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34892 +# Sed expression to map a string onto a valid variable name.
34893 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34897 +# We need space, tab and new line, in precisely that order.
34907 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
34908 +# report actual input values of CONFIG_FILES etc. instead of their
34909 +# values after options handling. Logging --version etc. is OK.
34910 +exec 5>>config.log
34913 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34914 +## Running $as_me. ##
34919 +This file was extended by $as_me, which was
34920 +generated by GNU Autoconf 2.59. Invocation command line was
34922 + CONFIG_FILES = $CONFIG_FILES
34923 + CONFIG_HEADERS = $CONFIG_HEADERS
34924 + CONFIG_LINKS = $CONFIG_LINKS
34925 + CONFIG_COMMANDS = $CONFIG_COMMANDS
34929 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34933 +# Files that config.status was made for.
34934 +if test -n "$ac_config_files"; then
34935 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34938 +if test -n "$ac_config_headers"; then
34939 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34942 +if test -n "$ac_config_links"; then
34943 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34946 +if test -n "$ac_config_commands"; then
34947 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34950 +cat >>$CONFIG_STATUS <<\_ACEOF
34953 +\`$as_me' instantiates files from templates according to the
34954 +current configuration.
34956 +Usage: $0 [OPTIONS] [FILE]...
34958 + -h, --help print this help, then exit
34959 + -V, --version print version number, then exit
34960 + -q, --quiet do not print progress messages
34961 + -d, --debug don't remove temporary files
34962 + --recheck update $as_me by reconfiguring in the same conditions
34963 + --file=FILE[:TEMPLATE]
34964 + instantiate the configuration file FILE
34965 + --header=FILE[:TEMPLATE]
34966 + instantiate the configuration header FILE
34968 +Configuration files:
34971 +Configuration headers:
34974 +Configuration commands:
34977 +Report bugs to <bug-autoconf@gnu.org>."
34980 +cat >>$CONFIG_STATUS <<_ACEOF
34983 +configured by $0, generated by GNU Autoconf 2.59,
34984 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34986 +Copyright (C) 2003 Free Software Foundation, Inc.
34987 +This config.status script is free software; the Free Software Foundation
34988 +gives unlimited permission to copy, distribute and modify it."
34990 +INSTALL="$INSTALL"
34993 +cat >>$CONFIG_STATUS <<\_ACEOF
34994 +# If no file are specified by the user, then we need to provide default
34995 +# value. By we need to know if files were specified by the user.
34996 +ac_need_defaults=:
34997 +while test $# != 0
35001 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
35002 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35010 + *) # This is not an option, so the user has probably given explicit
35013 + ac_need_defaults=false;;
35016 + case $ac_option in
35017 + # Handling of the options.
35019 +cat >>$CONFIG_STATUS <<\_ACEOF
35020 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35021 + ac_cs_recheck=: ;;
35022 + --version | --vers* | -V )
35023 + echo "$ac_cs_version"; exit 0 ;;
35025 + # Conflict between --help and --header
35026 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
35027 +Try \`$0 --help' for more information." >&5
35028 +echo "$as_me: error: ambiguous option: $1
35029 +Try \`$0 --help' for more information." >&2;}
35030 + { (exit 1); exit 1; }; };;
35031 + --help | --hel | -h )
35032 + echo "$ac_cs_usage"; exit 0 ;;
35033 + --debug | --d* | -d )
35035 + --file | --fil | --fi | --f )
35037 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35038 + ac_need_defaults=false;;
35039 + --header | --heade | --head | --hea )
35041 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35042 + ac_need_defaults=false;;
35043 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35044 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
35045 + ac_cs_silent=: ;;
35047 + # This is an error.
35048 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35049 +Try \`$0 --help' for more information." >&5
35050 +echo "$as_me: error: unrecognized option: $1
35051 +Try \`$0 --help' for more information." >&2;}
35052 + { (exit 1); exit 1; }; } ;;
35054 + *) ac_config_targets="$ac_config_targets $1" ;;
35060 +ac_configure_extra_args=
35062 +if $ac_cs_silent; then
35064 + ac_configure_extra_args="$ac_configure_extra_args --silent"
35068 +cat >>$CONFIG_STATUS <<_ACEOF
35069 +if \$ac_cs_recheck; then
35070 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35071 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35076 +cat >>$CONFIG_STATUS <<_ACEOF
35078 +# INIT-COMMANDS section.
35081 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
35087 +cat >>$CONFIG_STATUS <<\_ACEOF
35088 +for ac_config_target in $ac_config_targets
35090 + case "$ac_config_target" in
35091 + # Handling of arguments.
35092 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35093 + "mal-files/Makefile" ) CONFIG_FILES="$CONFIG_FILES mal-files/Makefile" ;;
35094 + "mal-files/client/Makefile" ) CONFIG_FILES="$CONFIG_FILES mal-files/client/Makefile" ;;
35095 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35096 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35097 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35098 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35099 + { (exit 1); exit 1; }; };;
35103 +# If the user did not use the arguments to specify the items to instantiate,
35104 +# then the envvar interface is used. Set only those that are not.
35105 +# We use the long form for the default assignment because of an extremely
35106 +# bizarre bug on SunOS 4.1.3.
35107 +if $ac_need_defaults; then
35108 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35109 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35110 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35113 +# Have a temporary directory for convenience. Make it in the build tree
35114 +# simply because there is no reason to put it here, and in addition,
35115 +# creating and moving files from /tmp can sometimes cause problems.
35116 +# Create a temporary directory, and hook for its removal unless debugging.
35119 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35120 + trap '{ (exit 1); exit 1; }' 1 2 13 15
35123 +# Create a (secure) tmp directory for tmp files.
35126 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35127 + test -n "$tmp" && test -d "$tmp"
35130 + tmp=./confstat$$-$RANDOM
35131 + (umask 077 && mkdir $tmp)
35134 + echo "$me: cannot create a temporary directory in ." >&2
35135 + { (exit 1); exit 1; }
35140 +cat >>$CONFIG_STATUS <<_ACEOF
35143 +# CONFIG_FILES section.
35146 +# No need to generate the scripts if there are no CONFIG_FILES.
35147 +# This happens for instance when ./config.status config.h
35148 +if test -n "\$CONFIG_FILES"; then
35149 + # Protect against being on the right side of a sed subst in config.status.
35150 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35151 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35152 +s,@SHELL@,$SHELL,;t t
35153 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35154 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35155 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35156 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35157 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35158 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35159 +s,@exec_prefix@,$exec_prefix,;t t
35160 +s,@prefix@,$prefix,;t t
35161 +s,@program_transform_name@,$program_transform_name,;t t
35162 +s,@bindir@,$bindir,;t t
35163 +s,@sbindir@,$sbindir,;t t
35164 +s,@libexecdir@,$libexecdir,;t t
35165 +s,@datadir@,$datadir,;t t
35166 +s,@sysconfdir@,$sysconfdir,;t t
35167 +s,@sharedstatedir@,$sharedstatedir,;t t
35168 +s,@localstatedir@,$localstatedir,;t t
35169 +s,@libdir@,$libdir,;t t
35170 +s,@includedir@,$includedir,;t t
35171 +s,@oldincludedir@,$oldincludedir,;t t
35172 +s,@infodir@,$infodir,;t t
35173 +s,@mandir@,$mandir,;t t
35174 +s,@build_alias@,$build_alias,;t t
35175 +s,@host_alias@,$host_alias,;t t
35176 +s,@target_alias@,$target_alias,;t t
35177 +s,@DEFS@,$DEFS,;t t
35178 +s,@ECHO_C@,$ECHO_C,;t t
35179 +s,@ECHO_N@,$ECHO_N,;t t
35180 +s,@ECHO_T@,$ECHO_T,;t t
35181 +s,@LIBS@,$LIBS,;t t
35182 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35183 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35184 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35185 +s,@CYGPATH_W@,$CYGPATH_W,;t t
35186 +s,@PACKAGE@,$PACKAGE,;t t
35187 +s,@VERSION@,$VERSION,;t t
35188 +s,@ACLOCAL@,$ACLOCAL,;t t
35189 +s,@AUTOCONF@,$AUTOCONF,;t t
35190 +s,@AUTOMAKE@,$AUTOMAKE,;t t
35191 +s,@AUTOHEADER@,$AUTOHEADER,;t t
35192 +s,@MAKEINFO@,$MAKEINFO,;t t
35193 +s,@AMTAR@,$AMTAR,;t t
35194 +s,@install_sh@,$install_sh,;t t
35195 +s,@STRIP@,$STRIP,;t t
35196 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35197 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35199 +s,@SET_MAKE@,$SET_MAKE,;t t
35200 +s,@am__leading_dot@,$am__leading_dot,;t t
35202 +s,@CFLAGS@,$CFLAGS,;t t
35203 +s,@LDFLAGS@,$LDFLAGS,;t t
35204 +s,@CPPFLAGS@,$CPPFLAGS,;t t
35205 +s,@ac_ct_CC@,$ac_ct_CC,;t t
35206 +s,@EXEEXT@,$EXEEXT,;t t
35207 +s,@OBJEXT@,$OBJEXT,;t t
35208 +s,@DEPDIR@,$DEPDIR,;t t
35209 +s,@am__include@,$am__include,;t t
35210 +s,@am__quote@,$am__quote,;t t
35211 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35212 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35213 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35214 +s,@CCDEPMODE@,$CCDEPMODE,;t t
35215 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35216 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35217 +s,@build@,$build,;t t
35218 +s,@build_cpu@,$build_cpu,;t t
35219 +s,@build_vendor@,$build_vendor,;t t
35220 +s,@build_os@,$build_os,;t t
35221 +s,@host@,$host,;t t
35222 +s,@host_cpu@,$host_cpu,;t t
35223 +s,@host_vendor@,$host_vendor,;t t
35224 +s,@host_os@,$host_os,;t t
35225 +s,@EGREP@,$EGREP,;t t
35226 +s,@LN_S@,$LN_S,;t t
35227 +s,@ECHO@,$ECHO,;t t
35229 +s,@ac_ct_AR@,$ac_ct_AR,;t t
35230 +s,@RANLIB@,$RANLIB,;t t
35231 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35234 +s,@CXXFLAGS@,$CXXFLAGS,;t t
35235 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35236 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
35237 +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
35238 +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
35239 +s,@CXXCPP@,$CXXCPP,;t t
35241 +s,@FFLAGS@,$FFLAGS,;t t
35242 +s,@ac_ct_F77@,$ac_ct_F77,;t t
35243 +s,@LIBTOOL@,$LIBTOOL,;t t
35244 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35245 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35246 +s,@MAINT@,$MAINT,;t t
35247 +s,@LIBOBJS@,$LIBOBJS,;t t
35248 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35253 + cat >>$CONFIG_STATUS <<\_ACEOF
35254 + # Split the substitutions into bite-sized pieces for seds with
35255 + # small command number limits, like on Digital OSF/1 and HP-UX.
35256 + ac_max_sed_lines=48
35257 + ac_sed_frag=1 # Number of current file.
35258 + ac_beg=1 # First line for current file.
35259 + ac_end=$ac_max_sed_lines # Line after last line for current file.
35262 + while $ac_more_lines; do
35263 + if test $ac_beg -gt 1; then
35264 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35266 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35268 + if test ! -s $tmp/subs.frag; then
35269 + ac_more_lines=false
35271 + # The purpose of the label and of the branching condition is to
35272 + # speed up the sed processing (if there are no `@' at all, there
35273 + # is no need to browse any of the substitutions).
35274 + # These are the two extra sed commands mentioned above.
35276 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35277 + if test -z "$ac_sed_cmds"; then
35278 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35280 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35282 + ac_sed_frag=`expr $ac_sed_frag + 1`
35284 + ac_end=`expr $ac_end + $ac_max_sed_lines`
35287 + if test -z "$ac_sed_cmds"; then
35290 +fi # test -n "$CONFIG_FILES"
35293 +cat >>$CONFIG_STATUS <<\_ACEOF
35294 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35295 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35297 + - | *:- | *:-:* ) # input from stdin
35299 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35300 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35301 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35302 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35303 + * ) ac_file_in=$ac_file.in ;;
35306 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35307 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35308 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35309 + X"$ac_file" : 'X\(//\)[^/]' \| \
35310 + X"$ac_file" : 'X\(//\)$' \| \
35311 + X"$ac_file" : 'X\(/\)' \| \
35312 + . : '\(.\)' 2>/dev/null ||
35313 +echo X"$ac_file" |
35314 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35315 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35316 + /^X\(\/\/\)$/{ s//\1/; q; }
35317 + /^X\(\/\).*/{ s//\1/; q; }
35319 + { if $as_mkdir_p; then
35320 + mkdir -p "$ac_dir"
35324 + while test ! -d "$as_dir"; do
35325 + as_dirs="$as_dir $as_dirs"
35326 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
35327 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35328 + X"$as_dir" : 'X\(//\)[^/]' \| \
35329 + X"$as_dir" : 'X\(//\)$' \| \
35330 + X"$as_dir" : 'X\(/\)' \| \
35331 + . : '\(.\)' 2>/dev/null ||
35333 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35334 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35335 + /^X\(\/\/\)$/{ s//\1/; q; }
35336 + /^X\(\/\).*/{ s//\1/; q; }
35339 + test ! -n "$as_dirs" || mkdir $as_dirs
35340 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35341 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35342 + { (exit 1); exit 1; }; }; }
35346 +if test "$ac_dir" != .; then
35347 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35348 + # A "../" for each directory in $ac_dir_suffix.
35349 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35351 + ac_dir_suffix= ac_top_builddir=
35355 + .) # No --srcdir option. We are building in place.
35357 + if test -z "$ac_top_builddir"; then
35360 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35362 + [\\/]* | ?:[\\/]* ) # Absolute path.
35363 + ac_srcdir=$srcdir$ac_dir_suffix;
35364 + ac_top_srcdir=$srcdir ;;
35365 + *) # Relative path.
35366 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35367 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
35370 +# Do not use `cd foo && pwd` to compute absolute paths, because
35371 +# the directories may not exist.
35373 +.) ac_abs_builddir="$ac_dir";;
35375 + case "$ac_dir" in
35376 + .) ac_abs_builddir=`pwd`;;
35377 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35378 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
35381 +case $ac_abs_builddir in
35382 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
35384 + case ${ac_top_builddir}. in
35385 + .) ac_abs_top_builddir=$ac_abs_builddir;;
35386 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35387 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35390 +case $ac_abs_builddir in
35391 +.) ac_abs_srcdir=$ac_srcdir;;
35393 + case $ac_srcdir in
35394 + .) ac_abs_srcdir=$ac_abs_builddir;;
35395 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35396 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35399 +case $ac_abs_builddir in
35400 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
35402 + case $ac_top_srcdir in
35403 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
35404 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35405 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35411 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35412 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35415 + # Let's still pretend it is `configure' which instantiates (i.e., don't
35416 + # use $as_me), people would be surprised to read:
35417 + # /* config.h. Generated by config.status. */
35418 + if test x"$ac_file" = x-; then
35421 + configure_input="$ac_file. "
35423 + configure_input=$configure_input"Generated from `echo $ac_file_in |
35424 + sed 's,.*/,,'` by configure."
35426 + # First look for the input files in the build tree, otherwise in the
35428 + ac_file_inputs=`IFS=:
35429 + for f in $ac_file_in; do
35431 + -) echo $tmp/stdin ;;
35433 + # Absolute (can't be DOS-style, as IFS=:)
35434 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35435 +echo "$as_me: error: cannot find input file: $f" >&2;}
35436 + { (exit 1); exit 1; }; }
35439 + if test -f "$f"; then
35442 + elif test -f "$srcdir/$f"; then
35444 + echo "$srcdir/$f"
35447 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35448 +echo "$as_me: error: cannot find input file: $f" >&2;}
35449 + { (exit 1); exit 1; }; }
35452 + done` || { (exit 1); exit 1; }
35454 + if test x"$ac_file" != x-; then
35455 + { echo "$as_me:$LINENO: creating $ac_file" >&5
35456 +echo "$as_me: creating $ac_file" >&6;}
35460 +cat >>$CONFIG_STATUS <<_ACEOF
35464 +cat >>$CONFIG_STATUS <<\_ACEOF
35466 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35467 +s,@configure_input@,$configure_input,;t t
35468 +s,@srcdir@,$ac_srcdir,;t t
35469 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
35470 +s,@top_srcdir@,$ac_top_srcdir,;t t
35471 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35472 +s,@builddir@,$ac_builddir,;t t
35473 +s,@abs_builddir@,$ac_abs_builddir,;t t
35474 +s,@top_builddir@,$ac_top_builddir,;t t
35475 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35476 +s,@INSTALL@,$ac_INSTALL,;t t
35477 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35479 + if test x"$ac_file" != x-; then
35480 + mv $tmp/out $ac_file
35488 +cat >>$CONFIG_STATUS <<\_ACEOF
35491 +# CONFIG_HEADER section.
35494 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35495 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
35497 +# ac_d sets the value in "#define NAME VALUE" lines.
35498 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35499 +ac_dB='[ ].*$,\1#\2'
35502 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35503 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35504 +ac_uB='$,\1#\2define\3'
35508 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35509 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35511 + - | *:- | *:-:* ) # input from stdin
35513 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35514 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35515 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35516 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35517 + * ) ac_file_in=$ac_file.in ;;
35520 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35521 +echo "$as_me: creating $ac_file" >&6;}
35523 + # First look for the input files in the build tree, otherwise in the
35525 + ac_file_inputs=`IFS=:
35526 + for f in $ac_file_in; do
35528 + -) echo $tmp/stdin ;;
35530 + # Absolute (can't be DOS-style, as IFS=:)
35531 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35532 +echo "$as_me: error: cannot find input file: $f" >&2;}
35533 + { (exit 1); exit 1; }; }
35534 + # Do quote $f, to prevent DOS paths from being IFS'd.
35537 + if test -f "$f"; then
35540 + elif test -f "$srcdir/$f"; then
35542 + echo "$srcdir/$f"
35545 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35546 +echo "$as_me: error: cannot find input file: $f" >&2;}
35547 + { (exit 1); exit 1; }; }
35550 + done` || { (exit 1); exit 1; }
35551 + # Remove the trailing spaces.
35552 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35556 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
35557 +# `conftest.undefs', that substitutes the proper values into
35558 +# config.h.in to produce config.h. The first handles `#define'
35559 +# templates, and the second `#undef' templates.
35560 +# And first: Protect against being on the right side of a sed subst in
35561 +# config.status. Protect against being in an unquoted here document
35562 +# in config.status.
35563 +rm -f conftest.defines conftest.undefs
35564 +# Using a here document instead of a string reduces the quoting nightmare.
35565 +# Putting comments in sed scripts is not portable.
35567 +# `end' is used to avoid that the second main sed command (meant for
35568 +# 0-ary CPP macros) applies to n-ary macro definitions.
35569 +# See the Autoconf documentation for `clear'.
35570 +cat >confdef2sed.sed <<\_ACEOF
35575 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35577 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35580 +# If some macros were called several times there might be several times
35581 +# the same #defines, which is useless. Nevertheless, we may not want to
35582 +# sort them, since we want the *last* AC-DEFINE to be honored.
35583 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35584 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35585 +rm -f confdef2sed.sed
35587 +# This sed command replaces #undef with comments. This is necessary, for
35588 +# example, in the case of _POSIX_SOURCE, which is predefined and required
35589 +# on some systems where configure will not decide to define it.
35590 +cat >>conftest.undefs <<\_ACEOF
35591 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35594 +# Break up conftest.defines because some shells have a limit on the size
35595 +# of here documents, and old seds have small limits too (100 cmds).
35596 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35597 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35598 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35599 +echo ' :' >>$CONFIG_STATUS
35600 +rm -f conftest.tail
35601 +while grep . conftest.defines >/dev/null
35603 + # Write a limited-size here document to $tmp/defines.sed.
35604 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35605 + # Speed up: don't consider the non `#define' lines.
35606 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35607 + # Work around the forget-to-reset-the-flag bug.
35608 + echo 't clr' >>$CONFIG_STATUS
35609 + echo ': clr' >>$CONFIG_STATUS
35610 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35612 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
35614 + mv $tmp/out $tmp/in
35615 +' >>$CONFIG_STATUS
35616 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35617 + rm -f conftest.defines
35618 + mv conftest.tail conftest.defines
35620 +rm -f conftest.defines
35621 +echo ' fi # grep' >>$CONFIG_STATUS
35622 +echo >>$CONFIG_STATUS
35624 +# Break up conftest.undefs because some shells have a limit on the size
35625 +# of here documents, and old seds have small limits too (100 cmds).
35626 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35627 +rm -f conftest.tail
35628 +while grep . conftest.undefs >/dev/null
35630 + # Write a limited-size here document to $tmp/undefs.sed.
35631 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35632 + # Speed up: don't consider the non `#undef'
35633 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35634 + # Work around the forget-to-reset-the-flag bug.
35635 + echo 't clr' >>$CONFIG_STATUS
35636 + echo ': clr' >>$CONFIG_STATUS
35637 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35639 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35641 + mv $tmp/out $tmp/in
35642 +' >>$CONFIG_STATUS
35643 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35644 + rm -f conftest.undefs
35645 + mv conftest.tail conftest.undefs
35647 +rm -f conftest.undefs
35649 +cat >>$CONFIG_STATUS <<\_ACEOF
35650 + # Let's still pretend it is `configure' which instantiates (i.e., don't
35651 + # use $as_me), people would be surprised to read:
35652 + # /* config.h. Generated by config.status. */
35653 + if test x"$ac_file" = x-; then
35654 + echo "/* Generated by configure. */" >$tmp/config.h
35656 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35658 + cat $tmp/in >>$tmp/config.h
35660 + if test x"$ac_file" != x-; then
35661 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35662 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35663 +echo "$as_me: $ac_file is unchanged" >&6;}
35665 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35666 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35667 + X"$ac_file" : 'X\(//\)[^/]' \| \
35668 + X"$ac_file" : 'X\(//\)$' \| \
35669 + X"$ac_file" : 'X\(/\)' \| \
35670 + . : '\(.\)' 2>/dev/null ||
35671 +echo X"$ac_file" |
35672 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35673 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35674 + /^X\(\/\/\)$/{ s//\1/; q; }
35675 + /^X\(\/\).*/{ s//\1/; q; }
35677 + { if $as_mkdir_p; then
35678 + mkdir -p "$ac_dir"
35682 + while test ! -d "$as_dir"; do
35683 + as_dirs="$as_dir $as_dirs"
35684 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
35685 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35686 + X"$as_dir" : 'X\(//\)[^/]' \| \
35687 + X"$as_dir" : 'X\(//\)$' \| \
35688 + X"$as_dir" : 'X\(/\)' \| \
35689 + . : '\(.\)' 2>/dev/null ||
35691 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35692 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35693 + /^X\(\/\/\)$/{ s//\1/; q; }
35694 + /^X\(\/\).*/{ s//\1/; q; }
35697 + test ! -n "$as_dirs" || mkdir $as_dirs
35698 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35699 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35700 + { (exit 1); exit 1; }; }; }
35703 + mv $tmp/config.h $ac_file
35706 + cat $tmp/config.h
35707 + rm -f $tmp/config.h
35709 +# Compute $ac_file's index in $config_headers.
35711 +for _am_header in $config_headers :; do
35712 + case $_am_header in
35713 + $ac_file | $ac_file:* )
35716 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35719 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35720 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35721 + X$ac_file : 'X\(//\)[^/]' \| \
35722 + X$ac_file : 'X\(//\)$' \| \
35723 + X$ac_file : 'X\(/\)' \| \
35724 + . : '\(.\)' 2>/dev/null ||
35726 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35727 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35728 + /^X\(\/\/\)$/{ s//\1/; q; }
35729 + /^X\(\/\).*/{ s//\1/; q; }
35730 + s/.*/./; q'`/stamp-h$_am_stamp_count
35733 +cat >>$CONFIG_STATUS <<\_ACEOF
35736 +# CONFIG_COMMANDS section.
35738 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35739 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35740 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35741 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35742 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35743 + X"$ac_dest" : 'X\(//\)[^/]' \| \
35744 + X"$ac_dest" : 'X\(//\)$' \| \
35745 + X"$ac_dest" : 'X\(/\)' \| \
35746 + . : '\(.\)' 2>/dev/null ||
35747 +echo X"$ac_dest" |
35748 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35749 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35750 + /^X\(\/\/\)$/{ s//\1/; q; }
35751 + /^X\(\/\).*/{ s//\1/; q; }
35753 + { if $as_mkdir_p; then
35754 + mkdir -p "$ac_dir"
35758 + while test ! -d "$as_dir"; do
35759 + as_dirs="$as_dir $as_dirs"
35760 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
35761 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35762 + X"$as_dir" : 'X\(//\)[^/]' \| \
35763 + X"$as_dir" : 'X\(//\)$' \| \
35764 + X"$as_dir" : 'X\(/\)' \| \
35765 + . : '\(.\)' 2>/dev/null ||
35767 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35768 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35769 + /^X\(\/\/\)$/{ s//\1/; q; }
35770 + /^X\(\/\).*/{ s//\1/; q; }
35773 + test ! -n "$as_dirs" || mkdir $as_dirs
35774 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35775 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35776 + { (exit 1); exit 1; }; }; }
35780 +if test "$ac_dir" != .; then
35781 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35782 + # A "../" for each directory in $ac_dir_suffix.
35783 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35785 + ac_dir_suffix= ac_top_builddir=
35789 + .) # No --srcdir option. We are building in place.
35791 + if test -z "$ac_top_builddir"; then
35794 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35796 + [\\/]* | ?:[\\/]* ) # Absolute path.
35797 + ac_srcdir=$srcdir$ac_dir_suffix;
35798 + ac_top_srcdir=$srcdir ;;
35799 + *) # Relative path.
35800 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35801 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
35804 +# Do not use `cd foo && pwd` to compute absolute paths, because
35805 +# the directories may not exist.
35807 +.) ac_abs_builddir="$ac_dir";;
35809 + case "$ac_dir" in
35810 + .) ac_abs_builddir=`pwd`;;
35811 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35812 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
35815 +case $ac_abs_builddir in
35816 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
35818 + case ${ac_top_builddir}. in
35819 + .) ac_abs_top_builddir=$ac_abs_builddir;;
35820 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35821 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35824 +case $ac_abs_builddir in
35825 +.) ac_abs_srcdir=$ac_srcdir;;
35827 + case $ac_srcdir in
35828 + .) ac_abs_srcdir=$ac_abs_builddir;;
35829 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35830 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35833 +case $ac_abs_builddir in
35834 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
35836 + case $ac_top_srcdir in
35837 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
35838 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35839 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35844 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35845 +echo "$as_me: executing $ac_dest commands" >&6;}
35847 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35848 + # Strip MF so we end up with the name of the file.
35849 + mf=`echo "$mf" | sed -e 's/:.*$//'`
35850 + # Check whether this is an Automake generated Makefile or not.
35851 + # We used to match only the files named `Makefile.in', but
35852 + # some people rename them; so instead we look at the file content.
35853 + # Grep'ing the first line is not enough: some people post-process
35854 + # each Makefile.in and add a new line on top of each file to say so.
35855 + # So let's grep whole file.
35856 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35857 + dirpart=`(dirname "$mf") 2>/dev/null ||
35858 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35859 + X"$mf" : 'X\(//\)[^/]' \| \
35860 + X"$mf" : 'X\(//\)$' \| \
35861 + X"$mf" : 'X\(/\)' \| \
35862 + . : '\(.\)' 2>/dev/null ||
35864 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35865 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35866 + /^X\(\/\/\)$/{ s//\1/; q; }
35867 + /^X\(\/\).*/{ s//\1/; q; }
35872 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
35873 + # Extract the definition of DEP_FILES from the Makefile without
35874 + # running `make'.
35875 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
35876 + test -z "$DEPDIR" && continue
35877 + # When using ansi2knr, U may be empty or an underscore; expand it
35878 + U=`sed -n -e '/^U = / s///p' < "$mf"`
35879 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
35880 + # We invoke sed twice because it is the simplest approach to
35881 + # changing $(DEPDIR) to its actual value in the expansion.
35882 + for file in `sed -n -e '
35883 + /^DEP_FILES = .*\\\\$/ {
35884 + s/^DEP_FILES = //
35892 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
35893 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35894 + # Make sure the directory exists.
35895 + test -f "$dirpart/$file" && continue
35896 + fdir=`(dirname "$file") 2>/dev/null ||
35897 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35898 + X"$file" : 'X\(//\)[^/]' \| \
35899 + X"$file" : 'X\(//\)$' \| \
35900 + X"$file" : 'X\(/\)' \| \
35901 + . : '\(.\)' 2>/dev/null ||
35903 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35904 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35905 + /^X\(\/\/\)$/{ s//\1/; q; }
35906 + /^X\(\/\).*/{ s//\1/; q; }
35908 + { if $as_mkdir_p; then
35909 + mkdir -p $dirpart/$fdir
35911 + as_dir=$dirpart/$fdir
35913 + while test ! -d "$as_dir"; do
35914 + as_dirs="$as_dir $as_dirs"
35915 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
35916 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35917 + X"$as_dir" : 'X\(//\)[^/]' \| \
35918 + X"$as_dir" : 'X\(//\)$' \| \
35919 + X"$as_dir" : 'X\(/\)' \| \
35920 + . : '\(.\)' 2>/dev/null ||
35922 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35923 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35924 + /^X\(\/\/\)$/{ s//\1/; q; }
35925 + /^X\(\/\).*/{ s//\1/; q; }
35928 + test ! -n "$as_dirs" || mkdir $as_dirs
35929 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35930 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35931 + { (exit 1); exit 1; }; }; }
35933 + # echo "creating $dirpart/$file"
35934 + echo '# dummy' > "$dirpart/$file"
35942 +cat >>$CONFIG_STATUS <<\_ACEOF
35944 +{ (exit 0); exit 0; }
35946 +chmod +x $CONFIG_STATUS
35947 +ac_clean_files=$ac_clean_files_save
35950 +# configure is writing to config.log, and then calls config.status.
35951 +# config.status does its own redirection, appending to config.log.
35952 +# Unfortunately, on DOS this fails, as config.log is still kept open
35953 +# by configure, so config.status won't be able to write to it; its
35954 +# output is simply discarded. So we exec the FD to /dev/null,
35955 +# effectively closing config.log, so it can be properly (re)opened and
35956 +# appended to by config.status. When coming back to configure, we
35957 +# need to make the FD available again.
35958 +if test "$no_create" != yes; then
35960 + ac_config_status_args=
35961 + test "$silent" = yes &&
35962 + ac_config_status_args="$ac_config_status_args --quiet"
35964 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35965 + exec 5>>config.log
35966 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35967 + # would make configure fail if this is the last instruction.
35968 + $ac_cs_success || { (exit 1); exit 1; }
35971 --- agsync-0.2-pre.orig/configure.in
35972 +++ agsync-0.2-pre/configure.in
35974 +AC_INIT(configure.in)
35976 +AM_CONFIG_HEADER(config.h)
35977 +AM_INIT_AUTOMAKE(agsync, 0.2-pre)
35982 +AM_MAINTAINER_MODE
35984 +AC_ARG_WITH(libsynce,
35986 + [--with-libsynce[=DIR]],
35987 + [Search for libsynce in DIR/include and DIR/lib]),
35989 + CPPFLAGS="$CPPFLAGS -I${withval}/include"
35990 + LDFLAGS="$LDFLAGS -L${withval}/lib"
35994 +AC_ARG_WITH(libsynce-include,
35996 + [--with-libsynce-include[=DIR]],
35997 + [Search for libsynce header files in DIR]),
35999 + CPPFLAGS="$CPPFLAGS -I${withval}"
36003 +AC_ARG_WITH(libsynce-lib,
36005 + [--with-libsynce-lib[=DIR]],
36006 + [Search for libsynce library files in DIR]),
36008 + LDFLAGS="$LDFLAGS -L${withval}"
36012 +AC_CHECK_LIB(synce,main,,
36014 + AC_MSG_ERROR([Can't find synce library])
36018 +AC_CHECK_HEADERS(synce.h,,
36020 + AC_MSG_ERROR([Can't find synce.h])
36024 +AC_ARG_WITH(librapi2,
36026 + [--with-librapi2[=DIR]],
36027 + [Search for librapi2 in DIR/include and DIR/lib]),
36029 + CPPFLAGS="$CPPFLAGS -I${withval}/include"
36030 + LDFLAGS="$LDFLAGS -L${withval}/lib"
36034 +AC_ARG_WITH(librapi2-include,
36036 + [--with-librapi2-include[=DIR]],
36037 + [Search for librapi2 header files in DIR]),
36039 + CPPFLAGS="$CPPFLAGS -I${withval}"
36043 +AC_ARG_WITH(librapi2-lib,
36045 + [--with-librapi2-lib[=DIR]],
36046 + [Search for librapi2 library files in DIR]),
36048 + LDFLAGS="$LDFLAGS -L${withval}"
36052 +AC_CHECK_LIB(rapi,CeRapiInit,,
36054 + AC_MSG_ERROR([Can't find RAPI library])
36058 +AC_CHECK_HEADERS(rapi.h,,
36060 + AC_MSG_ERROR([Can't find rapi.h])
36064 +AC_OUTPUT(Makefile mal-files/Makefile mal-files/client/Makefile)
36065 --- agsync-0.2-pre.orig/config.guess
36066 +++ agsync-0.2-pre/config.guess
36069 +# Attempt to guess a canonical system name.
36070 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
36071 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
36073 +timestamp='2005-08-03'
36075 +# This file is free software; you can redistribute it and/or modify it
36076 +# under the terms of the GNU General Public License as published by
36077 +# the Free Software Foundation; either version 2 of the License, or
36078 +# (at your option) any later version.
36080 +# This program is distributed in the hope that it will be useful, but
36081 +# WITHOUT ANY WARRANTY; without even the implied warranty of
36082 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36083 +# General Public License for more details.
36085 +# You should have received a copy of the GNU General Public License
36086 +# along with this program; if not, write to the Free Software
36087 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
36088 +# 02110-1301, USA.
36090 +# As a special exception to the GNU General Public License, if you
36091 +# distribute this file as part of a program that contains a
36092 +# configuration script generated by Autoconf, you may include it under
36093 +# the same distribution terms that you use for the rest of that program.
36096 +# Originally written by Per Bothner <per@bothner.com>.
36097 +# Please send patches to <config-patches@gnu.org>. Submit a context
36098 +# diff and a properly formatted ChangeLog entry.
36100 +# This script attempts to guess a canonical system name similar to
36101 +# config.sub. If it succeeds, it prints the system name on stdout, and
36102 +# exits with 0. Otherwise, it exits with 1.
36104 +# The plan is that this can be called by configure scripts if you
36105 +# don't specify an explicit build system type.
36107 +me=`echo "$0" | sed -e 's,.*/,,'`
36110 +Usage: $0 [OPTION]
36112 +Output the configuration name of the system \`$me' is run on.
36115 + -h, --help print this help, then exit
36116 + -t, --time-stamp print date of last modification, then exit
36117 + -v, --version print version number, then exit
36119 +Report bugs and patches to <config-patches@gnu.org>."
36122 +GNU config.guess ($timestamp)
36124 +Originally written by Per Bothner.
36125 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
36126 +Free Software Foundation, Inc.
36128 +This is free software; see the source for copying conditions. There is NO
36129 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
36132 +Try \`$me --help' for more information."
36134 +# Parse command line
36135 +while test $# -gt 0 ; do
36137 + --time-stamp | --time* | -t )
36138 + echo "$timestamp" ; exit ;;
36140 + echo "$version" ; exit ;;
36141 + --help | --h* | -h )
36142 + echo "$usage"; exit ;;
36143 + -- ) # Stop option processing
36145 + - ) # Use stdin as input.
36148 + echo "$me: invalid option $1$help" >&2
36155 +if test $# != 0; then
36156 + echo "$me: too many arguments$help" >&2
36160 +trap 'exit 1' 1 2 15
36162 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
36163 +# compiler to aid in system detection is discouraged as it requires
36164 +# temporary files to be created and, as you can see below, it is a
36165 +# headache to deal with in a portable fashion.
36167 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
36168 +# use `HOST_CC' if defined, but it is deprecated.
36170 +# Portable tmp directory creation inspired by the Autoconf team.
36172 +set_cc_for_build='
36173 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
36174 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
36175 +: ${TMPDIR=/tmp} ;
36176 + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
36177 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
36178 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
36179 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
36180 +dummy=$tmp/dummy ;
36181 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
36182 +case $CC_FOR_BUILD,$HOST_CC,$CC in
36183 + ,,) echo "int x;" > $dummy.c ;
36184 + for c in cc gcc c89 c99 ; do
36185 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
36186 + CC_FOR_BUILD="$c"; break ;
36189 + if test x"$CC_FOR_BUILD" = x ; then
36190 + CC_FOR_BUILD=no_compiler_found ;
36193 + ,,*) CC_FOR_BUILD=$CC ;;
36194 + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
36195 +esac ; set_cc_for_build= ;'
36197 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
36198 +# (ghazi@noc.rutgers.edu 1994-08-24)
36199 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
36200 + PATH=$PATH:/.attbin ; export PATH
36203 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
36204 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
36205 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
36206 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
36208 +# Note: order is significant - the case branches are not exclusive.
36210 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
36212 + # NetBSD (nbsd) targets should (where applicable) match one or
36213 + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
36214 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
36215 + # switched to ELF, *-*-netbsd* would select the old
36216 + # object file format. This provides both forward
36217 + # compatibility and a consistent mechanism for selecting the
36218 + # object file format.
36220 + # Note: NetBSD doesn't particularly care about the vendor
36221 + # portion of the name. We always set it to "unknown".
36222 + sysctl="sysctl -n hw.machine_arch"
36223 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
36224 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
36225 + case "${UNAME_MACHINE_ARCH}" in
36226 + armeb) machine=armeb-unknown ;;
36227 + arm*) machine=arm-unknown ;;
36228 + sh3el) machine=shl-unknown ;;
36229 + sh3eb) machine=sh-unknown ;;
36230 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
36232 + # The Operating System including object format, if it has switched
36233 + # to ELF recently, or will in the future.
36234 + case "${UNAME_MACHINE_ARCH}" in
36235 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
36236 + eval $set_cc_for_build
36237 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
36238 + | grep __ELF__ >/dev/null
36240 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
36241 + # Return netbsd for either. FIX?
36252 + # Debian GNU/NetBSD machines have a different userland, and
36253 + # thus, need a distinct triplet. However, they do not need
36254 + # kernel version information, so it can be replaced with a
36255 + # suitable tag, in the style of linux-gnu.
36256 + case "${UNAME_VERSION}" in
36261 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
36264 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
36265 + # contains redundant information, the shorter form:
36266 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
36267 + echo "${machine}-${os}${release}"
36270 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
36271 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
36274 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
36276 + macppc:MirBSD:*:*)
36277 + echo powerppc-unknown-mirbsd${UNAME_RELEASE}
36280 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
36283 + case $UNAME_RELEASE in
36285 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
36288 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
36291 + # According to Compaq, /usr/sbin/psrinfo has been available on
36292 + # OSF/1 and Tru64 systems produced since 1995. I hope that
36293 + # covers most systems running today. This code pipes the CPU
36294 + # types through head -n 1, so we only detect the type of CPU 0.
36295 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
36296 + case "$ALPHA_CPU_TYPE" in
36298 + UNAME_MACHINE="alpha" ;;
36300 + UNAME_MACHINE="alpha" ;;
36301 + "LCA4 (21066/21068)")
36302 + UNAME_MACHINE="alpha" ;;
36304 + UNAME_MACHINE="alphaev5" ;;
36305 + "EV5.6 (21164A)")
36306 + UNAME_MACHINE="alphaev56" ;;
36307 + "EV5.6 (21164PC)")
36308 + UNAME_MACHINE="alphapca56" ;;
36309 + "EV5.7 (21164PC)")
36310 + UNAME_MACHINE="alphapca57" ;;
36312 + UNAME_MACHINE="alphaev6" ;;
36313 + "EV6.7 (21264A)")
36314 + UNAME_MACHINE="alphaev67" ;;
36315 + "EV6.8CB (21264C)")
36316 + UNAME_MACHINE="alphaev68" ;;
36317 + "EV6.8AL (21264B)")
36318 + UNAME_MACHINE="alphaev68" ;;
36319 + "EV6.8CX (21264D)")
36320 + UNAME_MACHINE="alphaev68" ;;
36321 + "EV6.9A (21264/EV69A)")
36322 + UNAME_MACHINE="alphaev69" ;;
36324 + UNAME_MACHINE="alphaev7" ;;
36325 + "EV7.9 (21364A)")
36326 + UNAME_MACHINE="alphaev79" ;;
36328 + # A Pn.n version is a patched version.
36329 + # A Vn.n version is a released version.
36330 + # A Tn.n version is a released field test version.
36331 + # A Xn.n version is an unreleased experimental baselevel.
36332 + # 1.2 uses "1.2" for uname -r.
36333 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
36335 + Alpha\ *:Windows_NT*:*)
36336 + # How do we know it's Interix rather than the generic POSIX subsystem?
36337 + # Should we change UNAME_MACHINE based on the output of uname instead
36338 + # of the specific Alpha model?
36339 + echo alpha-pc-interix
36341 + 21064:Windows_NT:50:3)
36342 + echo alpha-dec-winnt3.5
36344 + Amiga*:UNIX_System_V:4.0:*)
36345 + echo m68k-unknown-sysv4
36347 + *:[Aa]miga[Oo][Ss]:*:*)
36348 + echo ${UNAME_MACHINE}-unknown-amigaos
36350 + *:[Mm]orph[Oo][Ss]:*:*)
36351 + echo ${UNAME_MACHINE}-unknown-morphos
36354 + echo i370-ibm-openedition
36357 + echo s390-ibm-zvmoe
36360 + echo powerpc-ibm-os400
36362 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
36363 + echo arm-acorn-riscix${UNAME_RELEASE}
36365 + arm:riscos:*:*|arm:RISCOS:*:*)
36366 + echo arm-unknown-riscos
36368 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
36369 + echo hppa1.1-hitachi-hiuxmpp
36371 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
36372 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
36373 + if test "`(/bin/universe) 2>/dev/null`" = att ; then
36374 + echo pyramid-pyramid-sysv3
36376 + echo pyramid-pyramid-bsd
36380 + echo pyramid-pyramid-svr4
36382 + DRS?6000:unix:4.0:6*)
36383 + echo sparc-icl-nx6
36385 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
36386 + case `/usr/bin/uname -p` in
36387 + sparc) echo sparc-icl-nx7; exit ;;
36389 + sun4H:SunOS:5.*:*)
36390 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
36392 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
36393 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
36395 + i86pc:SunOS:5.*:*)
36396 + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
36398 + sun4*:SunOS:6*:*)
36399 + # According to config.sub, this is the proper way to canonicalize
36400 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
36401 + # it's likely to be more like Solaris than SunOS4.
36402 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
36405 + case "`/usr/bin/arch -k`" in
36407 + UNAME_RELEASE=`uname -v`
36410 + # Japanese Language versions have a version number like `4.1.3-JL'.
36411 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
36414 + echo m68k-sun-sunos${UNAME_RELEASE}
36417 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
36418 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
36419 + case "`/bin/arch`" in
36421 + echo m68k-sun-sunos${UNAME_RELEASE}
36424 + echo sparc-sun-sunos${UNAME_RELEASE}
36429 + echo sparc-auspex-sunos${UNAME_RELEASE}
36431 + # The situation for MiNT is a little confusing. The machine name
36432 + # can be virtually everything (everything which is not
36433 + # "atarist" or "atariste" at least should have a processor
36434 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
36435 + # to the lowercase version "mint" (or "freemint"). Finally
36436 + # the system name "TOS" denotes a system which is actually not
36437 + # MiNT. But MiNT is downward compatible to TOS, so this should
36439 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
36440 + echo m68k-atari-mint${UNAME_RELEASE}
36442 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
36443 + echo m68k-atari-mint${UNAME_RELEASE}
36445 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
36446 + echo m68k-atari-mint${UNAME_RELEASE}
36448 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
36449 + echo m68k-milan-mint${UNAME_RELEASE}
36451 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
36452 + echo m68k-hades-mint${UNAME_RELEASE}
36454 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
36455 + echo m68k-unknown-mint${UNAME_RELEASE}
36457 + m68k:machten:*:*)
36458 + echo m68k-apple-machten${UNAME_RELEASE}
36460 + powerpc:machten:*:*)
36461 + echo powerpc-apple-machten${UNAME_RELEASE}
36464 + echo mips-dec-mach_bsd4.3
36466 + RISC*:ULTRIX:*:*)
36467 + echo mips-dec-ultrix${UNAME_RELEASE}
36469 + VAX*:ULTRIX*:*:*)
36470 + echo vax-dec-ultrix${UNAME_RELEASE}
36472 + 2020:CLIX:*:* | 2430:CLIX:*:*)
36473 + echo clipper-intergraph-clix${UNAME_RELEASE}
36475 + mips:*:*:UMIPS | mips:*:*:RISCos)
36476 + eval $set_cc_for_build
36477 + sed 's/^ //' << EOF >$dummy.c
36478 +#ifdef __cplusplus
36479 +#include <stdio.h> /* for printf() prototype */
36480 + int main (int argc, char *argv[]) {
36482 + int main (argc, argv) int argc; char *argv[]; {
36484 + #if defined (host_mips) && defined (MIPSEB)
36485 + #if defined (SYSTYPE_SYSV)
36486 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
36488 + #if defined (SYSTYPE_SVR4)
36489 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
36491 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
36492 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
36498 + $CC_FOR_BUILD -o $dummy $dummy.c &&
36499 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
36500 + SYSTEM_NAME=`$dummy $dummyarg` &&
36501 + { echo "$SYSTEM_NAME"; exit; }
36502 + echo mips-mips-riscos${UNAME_RELEASE}
36504 + Motorola:PowerMAX_OS:*:*)
36505 + echo powerpc-motorola-powermax
36507 + Motorola:*:4.3:PL8-*)
36508 + echo powerpc-harris-powermax
36510 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
36511 + echo powerpc-harris-powermax
36513 + Night_Hawk:Power_UNIX:*:*)
36514 + echo powerpc-harris-powerunix
36517 + echo m88k-harris-cxux7
36520 + echo m88k-motorola-sysv4
36523 + echo m88k-motorola-sysv3
36526 + # DG/UX returns AViiON for all architectures
36527 + UNAME_PROCESSOR=`/usr/bin/uname -p`
36528 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
36530 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
36531 + [ ${TARGET_BINARY_INTERFACE}x = x ]
36533 + echo m88k-dg-dgux${UNAME_RELEASE}
36535 + echo m88k-dg-dguxbcs${UNAME_RELEASE}
36538 + echo i586-dg-dgux${UNAME_RELEASE}
36541 + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
36542 + echo m88k-dolphin-sysv3
36545 + # Delta 88k system running SVR3
36546 + echo m88k-motorola-sysv3
36548 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
36549 + echo m88k-tektronix-sysv3
36551 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
36552 + echo m68k-tektronix-bsd
36555 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
36557 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
36558 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
36559 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
36561 + echo i386-ibm-aix
36564 + if [ -x /usr/bin/oslevel ] ; then
36565 + IBM_REV=`/usr/bin/oslevel`
36567 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
36569 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
36572 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
36573 + eval $set_cc_for_build
36574 + sed 's/^ //' << EOF >$dummy.c
36575 + #include <sys/systemcfg.h>
36579 + if (!__power_pc())
36581 + puts("powerpc-ibm-aix3.2.5");
36585 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
36587 + echo "$SYSTEM_NAME"
36589 + echo rs6000-ibm-aix3.2.5
36591 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
36592 + echo rs6000-ibm-aix3.2.4
36594 + echo rs6000-ibm-aix3.2
36598 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
36599 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
36604 + if [ -x /usr/bin/oslevel ] ; then
36605 + IBM_REV=`/usr/bin/oslevel`
36607 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
36609 + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
36612 + echo rs6000-ibm-aix
36614 + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
36615 + echo romp-ibm-bsd4.4
36617 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
36618 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
36619 + exit ;; # report: romp-ibm BSD 4.3
36621 + echo rs6000-bull-bosx
36623 + DPX/2?00:B.O.S.:*:*)
36624 + echo m68k-bull-sysv3
36626 + 9000/[34]??:4.3bsd:1.*:*)
36629 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
36630 + echo m68k-hp-bsd4.4
36632 + 9000/[34678]??:HP-UX:*:*)
36633 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
36634 + case "${UNAME_MACHINE}" in
36635 + 9000/31? ) HP_ARCH=m68000 ;;
36636 + 9000/[34]?? ) HP_ARCH=m68k ;;
36637 + 9000/[678][0-9][0-9])
36638 + if [ -x /usr/bin/getconf ]; then
36639 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
36640 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
36641 + case "${sc_cpu_version}" in
36642 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
36643 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
36644 + 532) # CPU_PA_RISC2_0
36645 + case "${sc_kernel_bits}" in
36646 + 32) HP_ARCH="hppa2.0n" ;;
36647 + 64) HP_ARCH="hppa2.0w" ;;
36648 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
36652 + if [ "${HP_ARCH}" = "" ]; then
36653 + eval $set_cc_for_build
36654 + sed 's/^ //' << EOF >$dummy.c
36656 + #define _HPUX_SOURCE
36657 + #include <stdlib.h>
36658 + #include <unistd.h>
36662 + #if defined(_SC_KERNEL_BITS)
36663 + long bits = sysconf(_SC_KERNEL_BITS);
36665 + long cpu = sysconf (_SC_CPU_VERSION);
36669 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
36670 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
36671 + case CPU_PA_RISC2_0:
36672 + #if defined(_SC_KERNEL_BITS)
36675 + case 64: puts ("hppa2.0w"); break;
36676 + case 32: puts ("hppa2.0n"); break;
36677 + default: puts ("hppa2.0"); break;
36679 + #else /* !defined(_SC_KERNEL_BITS) */
36680 + puts ("hppa2.0"); break;
36682 + default: puts ("hppa1.0"); break;
36687 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
36688 + test -z "$HP_ARCH" && HP_ARCH=hppa
36691 + if [ ${HP_ARCH} = "hppa2.0w" ]
36693 + eval $set_cc_for_build
36695 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
36696 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
36697 + # generating 64-bit code. GNU and HP use different nomenclature:
36699 + # $ CC_FOR_BUILD=cc ./config.guess
36700 + # => hppa2.0w-hp-hpux11.23
36701 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
36702 + # => hppa64-hp-hpux11.23
36704 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
36705 + grep __LP64__ >/dev/null
36707 + HP_ARCH="hppa2.0w"
36712 + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
36715 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
36716 + echo ia64-hp-hpux${HPUX_REV}
36719 + eval $set_cc_for_build
36720 + sed 's/^ //' << EOF >$dummy.c
36721 + #include <unistd.h>
36725 + long cpu = sysconf (_SC_CPU_VERSION);
36726 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
36727 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
36728 + results, however. */
36729 + if (CPU_IS_PA_RISC (cpu))
36733 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
36734 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
36735 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
36736 + default: puts ("hppa-hitachi-hiuxwe2"); break;
36739 + else if (CPU_IS_HP_MC68K (cpu))
36740 + puts ("m68k-hitachi-hiuxwe2");
36741 + else puts ("unknown-hitachi-hiuxwe2");
36745 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
36746 + { echo "$SYSTEM_NAME"; exit; }
36747 + echo unknown-hitachi-hiuxwe2
36749 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
36750 + echo hppa1.1-hp-bsd
36752 + 9000/8??:4.3bsd:*:*)
36753 + echo hppa1.0-hp-bsd
36755 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
36756 + echo hppa1.0-hp-mpeix
36758 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
36759 + echo hppa1.1-hp-osf
36762 + echo hppa1.0-hp-osf
36765 + if [ -x /usr/sbin/sysversion ] ; then
36766 + echo ${UNAME_MACHINE}-unknown-osf1mk
36768 + echo ${UNAME_MACHINE}-unknown-osf1
36771 + parisc*:Lites*:*:*)
36772 + echo hppa1.1-hp-lites
36774 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
36775 + echo c1-convex-bsd
36777 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
36778 + if getsysinfo -f scalar_acc
36779 + then echo c32-convex-bsd
36780 + else echo c2-convex-bsd
36783 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
36784 + echo c34-convex-bsd
36786 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
36787 + echo c38-convex-bsd
36789 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
36790 + echo c4-convex-bsd
36793 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
36795 + CRAY*[A-Z]90:*:*:*)
36796 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
36797 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
36798 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
36799 + -e 's/\.[^.]*$/.X/'
36802 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
36805 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
36808 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
36811 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
36813 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
36814 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
36815 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
36816 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
36817 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
36819 + 5000:UNIX_System_V:4.*:*)
36820 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
36821 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
36822 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
36824 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
36825 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
36827 + sparc*:BSD/OS:*:*)
36828 + echo sparc-unknown-bsdi${UNAME_RELEASE}
36831 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
36834 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
36837 + echo ${UNAME_MACHINE}-pc-cygwin
36840 + echo ${UNAME_MACHINE}-pc-mingw32
36843 + # uname -m includes "-pc" on this system.
36844 + echo ${UNAME_MACHINE}-mingw32
36847 + echo ${UNAME_MACHINE}-pc-pw32
36849 + x86:Interix*:[34]*)
36850 + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
36852 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
36853 + echo i${UNAME_MACHINE}-pc-mks
36855 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
36856 + # How do we know it's Interix rather than the generic POSIX subsystem?
36857 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
36858 + # UNAME_MACHINE based on the output of uname instead of i386?
36859 + echo i586-pc-interix
36862 + echo ${UNAME_MACHINE}-pc-uwin
36864 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
36865 + echo x86_64-unknown-cygwin
36868 + echo powerpcle-unknown-cygwin
36870 + prep*:SunOS:5.*:*)
36871 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
36875 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
36878 + # other systems with GNU libc and userland
36879 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
36882 + echo ${UNAME_MACHINE}-pc-minix
36885 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36888 + echo cris-axis-linux-gnu
36890 + crisv32:Linux:*:*)
36891 + echo crisv32-axis-linux-gnu
36894 + echo frv-unknown-linux-gnu
36897 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36900 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36903 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36906 + eval $set_cc_for_build
36907 + sed 's/^ //' << EOF >$dummy.c
36911 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
36914 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
36921 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
36922 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
36924 + mips64:Linux:*:*)
36925 + eval $set_cc_for_build
36926 + sed 's/^ //' << EOF >$dummy.c
36930 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
36933 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
36940 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
36941 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
36944 + echo or32-unknown-linux-gnu
36947 + echo powerpc-unknown-linux-gnu
36950 + echo powerpc64-unknown-linux-gnu
36953 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
36954 + EV5) UNAME_MACHINE=alphaev5 ;;
36955 + EV56) UNAME_MACHINE=alphaev56 ;;
36956 + PCA56) UNAME_MACHINE=alphapca56 ;;
36957 + PCA57) UNAME_MACHINE=alphapca56 ;;
36958 + EV6) UNAME_MACHINE=alphaev6 ;;
36959 + EV67) UNAME_MACHINE=alphaev67 ;;
36960 + EV68*) UNAME_MACHINE=alphaev68 ;;
36962 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
36963 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
36964 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
36966 + parisc:Linux:*:* | hppa:Linux:*:*)
36967 + # Look for CPU level
36968 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
36969 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
36970 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
36971 + *) echo hppa-unknown-linux-gnu ;;
36974 + parisc64:Linux:*:* | hppa64:Linux:*:*)
36975 + echo hppa64-unknown-linux-gnu
36977 + s390:Linux:*:* | s390x:Linux:*:*)
36978 + echo ${UNAME_MACHINE}-ibm-linux
36981 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36984 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36986 + sparc:Linux:*:* | sparc64:Linux:*:*)
36987 + echo ${UNAME_MACHINE}-unknown-linux-gnu
36989 + x86_64:Linux:*:*)
36990 + echo x86_64-unknown-linux-gnu
36993 + # The BFD linker knows what the default object file format is, so
36994 + # first see if it will tell us. cd to the root directory to prevent
36995 + # problems with other programs or directories called `ld' in the path.
36996 + # Set LC_ALL=C to ensure ld outputs messages in English.
36997 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
36998 + | sed -ne '/supported targets:/!d
37000 + s/.*supported targets: *//
37003 + case "$ld_supported_targets" in
37005 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
37007 + a.out-i386-linux)
37008 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
37011 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
37014 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
37015 + # one that does not give us useful --help.
37016 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
37019 + # Determine whether the default compiler is a.out or elf
37020 + eval $set_cc_for_build
37021 + sed 's/^ //' << EOF >$dummy.c
37022 + #include <features.h>
37024 + # ifdef __GLIBC__
37025 + # if __GLIBC__ >= 2
37034 + #ifdef __INTEL_COMPILER
37040 + #ifdef __dietlibc__
37044 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
37045 + test x"${LIBC}" != x && {
37046 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
37049 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
37051 + i*86:DYNIX/ptx:4*:*)
37052 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
37053 + # earlier versions are messed up and put the nodename in both
37054 + # sysname and nodename.
37055 + echo i386-sequent-sysv4
37057 + i*86:UNIX_SV:4.2MP:2.*)
37058 + # Unixware is an offshoot of SVR4, but it has its own version
37059 + # number series starting with 2...
37060 + # I am not positive that other SVR4 systems won't match this,
37061 + # I just have to hope. -- rms.
37062 + # Use sysv4.2uw... so that sysv4* matches it.
37063 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
37066 + # If we were able to find `uname', then EMX Unix compatibility
37067 + # is probably installed.
37068 + echo ${UNAME_MACHINE}-pc-os2-emx
37070 + i*86:XTS-300:*:STOP)
37071 + echo ${UNAME_MACHINE}-unknown-stop
37074 + echo ${UNAME_MACHINE}-unknown-atheos
37076 + i*86:syllable:*:*)
37077 + echo ${UNAME_MACHINE}-pc-syllable
37079 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
37080 + echo i386-unknown-lynxos${UNAME_RELEASE}
37083 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
37085 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
37086 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
37087 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
37088 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
37090 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
37094 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
37095 + case `/bin/uname -X | grep "^Machine"` in
37096 + *486*) UNAME_MACHINE=i486 ;;
37097 + *Pentium) UNAME_MACHINE=i586 ;;
37098 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
37100 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
37103 + if test -f /usr/options/cb.name; then
37104 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
37105 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
37106 + elif /bin/uname -X 2>/dev/null >/dev/null ; then
37107 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
37108 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
37109 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
37110 + && UNAME_MACHINE=i586
37111 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
37112 + && UNAME_MACHINE=i686
37113 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
37114 + && UNAME_MACHINE=i686
37115 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
37117 + echo ${UNAME_MACHINE}-pc-sysv32
37121 + # Left here for compatibility:
37122 + # uname -m prints for DJGPP always 'pc', but it prints nothing about
37123 + # the processor, so we play safe by assuming i386.
37124 + echo i386-pc-msdosdjgpp
37127 + echo i386-pc-mach3
37130 + echo i860-intel-osf1
37132 + i860:*:4.*:*) # i860-SVR4
37133 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
37134 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
37135 + else # Add other i860-SVR4 vendors below as they are discovered.
37136 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
37139 + mini*:CTIX:SYS*5:*)
37141 + echo m68010-convergent-sysv
37143 + mc68k:UNIX:SYSTEM5:3.51m)
37144 + echo m68k-convergent-sysv
37146 + M680?0:D-NIX:5.3:*)
37147 + echo m68k-diab-dnix
37149 + M68*:*:R3V[5678]*:*)
37150 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
37151 + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
37153 + test -r /etc/.relid \
37154 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
37155 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
37156 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
37157 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
37158 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
37159 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
37160 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
37161 + && { echo i486-ncr-sysv4; exit; } ;;
37162 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
37163 + echo m68k-unknown-lynxos${UNAME_RELEASE}
37165 + mc68030:UNIX_System_V:4.*:*)
37166 + echo m68k-atari-sysv4
37168 + TSUNAMI:LynxOS:2.*:*)
37169 + echo sparc-unknown-lynxos${UNAME_RELEASE}
37171 + rs6000:LynxOS:2.*:*)
37172 + echo rs6000-unknown-lynxos${UNAME_RELEASE}
37174 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
37175 + echo powerpc-unknown-lynxos${UNAME_RELEASE}
37177 + SM[BE]S:UNIX_SV:*:*)
37178 + echo mips-dde-sysv${UNAME_RELEASE}
37180 + RM*:ReliantUNIX-*:*:*)
37181 + echo mips-sni-sysv4
37184 + echo mips-sni-sysv4
37187 + if uname -p 2>/dev/null >/dev/null ; then
37188 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
37189 + echo ${UNAME_MACHINE}-sni-sysv4
37191 + echo ns32k-sni-sysv
37194 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
37195 + # says <Richard.M.Bartel@ccMail.Census.GOV>
37196 + echo i586-unisys-sysv4
37198 + *:UNIX_System_V:4*:FTX*)
37199 + # From Gerald Hewes <hewes@openmarket.com>.
37200 + # How about differentiating between stratus architectures? -djm
37201 + echo hppa1.1-stratus-sysv4
37204 + # From seanf@swdc.stratus.com.
37205 + echo i860-stratus-sysv4
37208 + # From Paul.Green@stratus.com.
37209 + echo ${UNAME_MACHINE}-stratus-vos
37212 + # From Paul.Green@stratus.com.
37213 + echo hppa1.1-stratus-vos
37216 + echo m68k-apple-aux${UNAME_RELEASE}
37218 + news*:NEWS-OS:6*:*)
37219 + echo mips-sony-newsos6
37221 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
37222 + if [ -d /usr/nec ]; then
37223 + echo mips-nec-sysv${UNAME_RELEASE}
37225 + echo mips-unknown-sysv${UNAME_RELEASE}
37228 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
37229 + echo powerpc-be-beos
37231 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
37232 + echo powerpc-apple-beos
37234 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
37235 + echo i586-pc-beos
37237 + SX-4:SUPER-UX:*:*)
37238 + echo sx4-nec-superux${UNAME_RELEASE}
37240 + SX-5:SUPER-UX:*:*)
37241 + echo sx5-nec-superux${UNAME_RELEASE}
37243 + SX-6:SUPER-UX:*:*)
37244 + echo sx6-nec-superux${UNAME_RELEASE}
37246 + Power*:Rhapsody:*:*)
37247 + echo powerpc-apple-rhapsody${UNAME_RELEASE}
37250 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
37253 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
37254 + case $UNAME_PROCESSOR in
37255 + *86) UNAME_PROCESSOR=i686 ;;
37256 + unknown) UNAME_PROCESSOR=powerpc ;;
37258 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
37260 + *:procnto*:*:* | *:QNX:[0123456789]*:*)
37261 + UNAME_PROCESSOR=`uname -p`
37262 + if test "$UNAME_PROCESSOR" = "x86"; then
37263 + UNAME_PROCESSOR=i386
37266 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
37271 + NSE-?:NONSTOP_KERNEL:*:*)
37272 + echo nse-tandem-nsk${UNAME_RELEASE}
37274 + NSR-?:NONSTOP_KERNEL:*:*)
37275 + echo nsr-tandem-nsk${UNAME_RELEASE}
37277 + *:NonStop-UX:*:*)
37278 + echo mips-compaq-nonstopux
37280 + BS2000:POSIX*:*:*)
37281 + echo bs2000-siemens-sysv
37283 + DS/*:UNIX_System_V:*:*)
37284 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
37287 + # "uname -m" is not consistent, so use $cputype instead. 386
37288 + # is converted to i386 for consistency with other x86
37289 + # operating systems.
37290 + if test "$cputype" = "386"; then
37291 + UNAME_MACHINE=i386
37293 + UNAME_MACHINE="$cputype"
37295 + echo ${UNAME_MACHINE}-unknown-plan9
37298 + echo pdp10-unknown-tops10
37301 + echo pdp10-unknown-tenex
37303 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
37304 + echo pdp10-dec-tops20
37306 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
37307 + echo pdp10-xkl-tops20
37310 + echo pdp10-unknown-tops20
37313 + echo pdp10-unknown-its
37316 + echo mips-sei-seiux${UNAME_RELEASE}
37319 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
37322 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
37323 + case "${UNAME_MACHINE}" in
37324 + A*) echo alpha-dec-vms ; exit ;;
37325 + I*) echo ia64-dec-vms ; exit ;;
37326 + V*) echo vax-dec-vms ; exit ;;
37329 + echo i386-pc-xenix
37332 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
37336 +#echo '(No uname command or uname output not recognized.)' 1>&2
37337 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
37339 +eval $set_cc_for_build
37340 +cat >$dummy.c <<EOF
37342 +# include <sys/types.h>
37343 +# include <sys/utsname.h>
37347 +#if defined (sony)
37348 +#if defined (MIPSEB)
37349 + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
37350 + I don't know.... */
37351 + printf ("mips-sony-bsd\n"); exit (0);
37353 +#include <sys/param.h>
37354 + printf ("m68k-sony-newsos%s\n",
37364 +#if defined (__arm) && defined (__acorn) && defined (__unix)
37365 + printf ("arm-acorn-riscix\n"); exit (0);
37368 +#if defined (hp300) && !defined (hpux)
37369 + printf ("m68k-hp-bsd\n"); exit (0);
37372 +#if defined (NeXT)
37373 +#if !defined (__ARCHITECTURE__)
37374 +#define __ARCHITECTURE__ "m68k"
37377 + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
37379 + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
37381 + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
37385 +#if defined (MULTIMAX) || defined (n16)
37386 +#if defined (UMAXV)
37387 + printf ("ns32k-encore-sysv\n"); exit (0);
37390 + printf ("ns32k-encore-mach\n"); exit (0);
37392 + printf ("ns32k-encore-bsd\n"); exit (0);
37397 +#if defined (__386BSD__)
37398 + printf ("i386-pc-bsd\n"); exit (0);
37401 +#if defined (sequent)
37402 +#if defined (i386)
37403 + printf ("i386-sequent-dynix\n"); exit (0);
37405 +#if defined (ns32000)
37406 + printf ("ns32k-sequent-dynix\n"); exit (0);
37410 +#if defined (_SEQUENT_)
37411 + struct utsname un;
37415 + if (strncmp(un.version, "V2", 2) == 0) {
37416 + printf ("i386-sequent-ptx2\n"); exit (0);
37418 + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
37419 + printf ("i386-sequent-ptx1\n"); exit (0);
37421 + printf ("i386-sequent-ptx\n"); exit (0);
37426 +# if !defined (ultrix)
37427 +# include <sys/param.h>
37428 +# if defined (BSD)
37430 + printf ("vax-dec-bsd4.3\n"); exit (0);
37432 +# if BSD == 199006
37433 + printf ("vax-dec-bsd4.3reno\n"); exit (0);
37435 + printf ("vax-dec-bsd\n"); exit (0);
37439 + printf ("vax-dec-bsd\n"); exit (0);
37442 + printf ("vax-dec-ultrix\n"); exit (0);
37446 +#if defined (alliant) && defined (i860)
37447 + printf ("i860-alliant-bsd\n"); exit (0);
37454 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
37455 + { echo "$SYSTEM_NAME"; exit; }
37457 +# Apollos put the system type in the environment.
37459 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
37461 +# Convex versions that predate uname can use getsysinfo(1)
37463 +if [ -x /usr/convex/getsysinfo ]
37465 + case `getsysinfo -f cpu_type` in
37467 + echo c1-convex-bsd
37470 + if getsysinfo -f scalar_acc
37471 + then echo c32-convex-bsd
37472 + else echo c2-convex-bsd
37476 + echo c34-convex-bsd
37479 + echo c38-convex-bsd
37482 + echo c4-convex-bsd
37488 +$0: unable to guess system type
37490 +This script, last modified $timestamp, has failed to recognize
37491 +the operating system you are using. It is advised that you
37492 +download the most up to date version of the config scripts from
37494 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
37496 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
37498 +If the version you run ($0) is already up to date, please
37499 +send the following data and any information you think might be
37500 +pertinent to <config-patches@gnu.org> in order to provide the needed
37501 +information to handle your system.
37503 +config.guess timestamp = $timestamp
37505 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
37506 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
37507 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
37508 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
37510 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
37511 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
37513 +hostinfo = `(hostinfo) 2>/dev/null`
37514 +/bin/universe = `(/bin/universe) 2>/dev/null`
37515 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
37516 +/bin/arch = `(/bin/arch) 2>/dev/null`
37517 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
37518 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
37520 +UNAME_MACHINE = ${UNAME_MACHINE}
37521 +UNAME_RELEASE = ${UNAME_RELEASE}
37522 +UNAME_SYSTEM = ${UNAME_SYSTEM}
37523 +UNAME_VERSION = ${UNAME_VERSION}
37528 +# Local variables:
37529 +# eval: (add-hook 'write-file-hooks 'time-stamp)
37530 +# time-stamp-start: "timestamp='"
37531 +# time-stamp-format: "%:y-%02m-%02d"
37532 +# time-stamp-end: "'"
37534 --- agsync-0.2-pre.orig/install-sh
37535 +++ agsync-0.2-pre/install-sh
37539 +# install - install a program, script, or datafile
37541 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
37542 +# later released in X11R6 (xc/config/util/install.sh) with the
37543 +# following copyright and license.
37545 +# Copyright (C) 1994 X Consortium
37547 +# Permission is hereby granted, free of charge, to any person obtaining a copy
37548 +# of this software and associated documentation files (the "Software"), to
37549 +# deal in the Software without restriction, including without limitation the
37550 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
37551 +# sell copies of the Software, and to permit persons to whom the Software is
37552 +# furnished to do so, subject to the following conditions:
37554 +# The above copyright notice and this permission notice shall be included in
37555 +# all copies or substantial portions of the Software.
37557 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37558 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37559 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37560 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
37561 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
37562 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37564 +# Except as contained in this notice, the name of the X Consortium shall not
37565 +# be used in advertising or otherwise to promote the sale, use or other deal-
37566 +# ings in this Software without prior written authorization from the X Consor-
37570 +# FSF changes to this file are in the public domain.
37572 +# Calling this script install-sh is preferred over install.sh, to prevent
37573 +# `make' implicit rules from creating a file called install from it
37574 +# when there is no Makefile.
37576 +# This script is compatible with the BSD install script, but was written
37577 +# from scratch. It can only install one file at a time, a restriction
37578 +# shared with many OS's install programs.
37581 +# set DOITPROG to echo to test this script
37583 +# Don't use :- since 4.3BSD and earlier shells don't like it.
37584 +doit="${DOITPROG-}"
37587 +# put in absolute paths if you don't have them in your path; or use env. vars.
37589 +mvprog="${MVPROG-mv}"
37590 +cpprog="${CPPROG-cp}"
37591 +chmodprog="${CHMODPROG-chmod}"
37592 +chownprog="${CHOWNPROG-chown}"
37593 +chgrpprog="${CHGRPPROG-chgrp}"
37594 +stripprog="${STRIPPROG-strip}"
37595 +rmprog="${RMPROG-rm}"
37596 +mkdirprog="${MKDIRPROG-mkdir}"
37598 +transformbasename=""
37601 +chmodcmd="$chmodprog 0755"
37605 +rmcmd="$rmprog -f"
37611 +while [ x"$1" != x ]; do
37613 + -c) instcmd=$cpprog
37621 + -m) chmodcmd="$chmodprog $2"
37626 + -o) chowncmd="$chownprog $2"
37631 + -g) chgrpcmd="$chgrpprog $2"
37636 + -s) stripcmd=$stripprog
37640 + -t=*) transformarg=`echo $1 | sed 's/-t=//'`
37644 + -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
37648 + *) if [ x"$src" = x ]
37652 + # this colon is to work around a 386BSD /bin/sh bug
37661 +if [ x"$src" = x ]
37663 + echo "$0: no input file specified" >&2
37669 +if [ x"$dir_arg" != x ]; then
37673 + if [ -d "$dst" ]; then
37677 + instcmd=$mkdirprog
37681 +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
37682 +# might cause directories to be created, which would be especially bad
37683 +# if $src (and thus $dsttmp) contains '*'.
37685 + if [ -f "$src" ] || [ -d "$src" ]
37689 + echo "$0: $src does not exist" >&2
37693 + if [ x"$dst" = x ]
37695 + echo "$0: no destination specified" >&2
37701 +# If destination is a directory, append the input filename; if your system
37702 +# does not like double slashes in filenames, you may need to add some logic
37706 + dst=$dst/`basename "$src"`
37712 +## this sed command emulates the dirname command
37713 +dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
37715 +# Make sure that the destination directory exists.
37716 +# this part is taken from Noah Friedman's mkinstalldirs script
37718 +# Skip lots of stat calls in the usual case.
37719 +if [ ! -d "$dstdir" ]; then
37722 +IFS="${IFS-$defaultIFS}"
37725 +# Some sh's can't handle IFS=/ for some reason.
37727 +set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
37732 +while [ $# -ne 0 ] ; do
37733 + pathcomp=$pathcomp$1
37736 + if [ ! -d "$pathcomp" ] ;
37738 + $mkdirprog "$pathcomp"
37743 + pathcomp=$pathcomp/
37747 +if [ x"$dir_arg" != x ]
37749 + $doit $instcmd "$dst" &&
37751 + if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
37752 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
37753 + if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
37754 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
37757 +# If we're going to rename the final executable, determine the name now.
37759 + if [ x"$transformarg" = x ]
37761 + dstfile=`basename "$dst"`
37763 + dstfile=`basename "$dst" $transformbasename |
37764 + sed $transformarg`$transformbasename
37767 +# don't allow the sed command to completely eliminate the filename
37769 + if [ x"$dstfile" = x ]
37771 + dstfile=`basename "$dst"`
37776 +# Make a couple of temp file names in the proper directory.
37778 + dsttmp=$dstdir/_inst.$$_
37779 + rmtmp=$dstdir/_rm.$$_
37781 +# Trap to clean up temp files at exit.
37783 + trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
37784 + trap '(exit $?); exit' 1 2 13 15
37786 +# Move or copy the file name to the temp name
37788 + $doit $instcmd "$src" "$dsttmp" &&
37790 +# and set any options; do chmod last to preserve setuid bits
37792 +# If any of these fail, we abort the whole thing. If we want to
37793 +# ignore errors from any of these, just make sure not to ignore
37794 +# errors from the above "$doit $instcmd $src $dsttmp" command.
37796 + if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
37797 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
37798 + if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
37799 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
37801 +# Now remove or move aside any old file at destination location. We try this
37802 +# two ways since rm can't unlink itself on some systems and the destination
37803 +# file might be busy for other reasons. In this case, the final cleanup
37804 +# might fail but the new file should still install successfully.
37807 + if [ -f "$dstdir/$dstfile" ]
37809 + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
37810 + $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
37812 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
37820 +# Now rename the file to the real destination.
37822 + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
37826 +# The final little trick to "correctly" pass the exit status to the exit trap.
37831 --- agsync-0.2-pre.orig/config.sub
37832 +++ agsync-0.2-pre/config.sub
37835 +# Configuration validation subroutine script.
37836 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
37837 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
37839 +timestamp='2005-07-08'
37841 +# This file is (in principle) common to ALL GNU software.
37842 +# The presence of a machine in this file suggests that SOME GNU software
37843 +# can handle that machine. It does not imply ALL GNU software can.
37845 +# This file is free software; you can redistribute it and/or modify
37846 +# it under the terms of the GNU General Public License as published by
37847 +# the Free Software Foundation; either version 2 of the License, or
37848 +# (at your option) any later version.
37850 +# This program is distributed in the hope that it will be useful,
37851 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
37852 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37853 +# GNU General Public License for more details.
37855 +# You should have received a copy of the GNU General Public License
37856 +# along with this program; if not, write to the Free Software
37857 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
37858 +# 02110-1301, USA.
37860 +# As a special exception to the GNU General Public License, if you
37861 +# distribute this file as part of a program that contains a
37862 +# configuration script generated by Autoconf, you may include it under
37863 +# the same distribution terms that you use for the rest of that program.
37866 +# Please send patches to <config-patches@gnu.org>. Submit a context
37867 +# diff and a properly formatted ChangeLog entry.
37869 +# Configuration subroutine to validate and canonicalize a configuration type.
37870 +# Supply the specified configuration type as an argument.
37871 +# If it is invalid, we print an error message on stderr and exit with code 1.
37872 +# Otherwise, we print the canonical config type on stdout and succeed.
37874 +# This file is supposed to be the same for all GNU packages
37875 +# and recognize all the CPU types, system types and aliases
37876 +# that are meaningful with *any* GNU software.
37877 +# Each package is responsible for reporting which valid configurations
37878 +# it does not support. The user should be able to distinguish
37879 +# a failure to support a valid configuration from a meaningless
37882 +# The goal of this file is to map all the various variations of a given
37883 +# machine specification into a single specification in the form:
37884 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
37885 +# or in some cases, the newer four-part form:
37886 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
37887 +# It is wrong to echo any other type of specification.
37889 +me=`echo "$0" | sed -e 's,.*/,,'`
37892 +Usage: $0 [OPTION] CPU-MFR-OPSYS
37893 + $0 [OPTION] ALIAS
37895 +Canonicalize a configuration name.
37898 + -h, --help print this help, then exit
37899 + -t, --time-stamp print date of last modification, then exit
37900 + -v, --version print version number, then exit
37902 +Report bugs and patches to <config-patches@gnu.org>."
37905 +GNU config.sub ($timestamp)
37907 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
37908 +Free Software Foundation, Inc.
37910 +This is free software; see the source for copying conditions. There is NO
37911 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
37914 +Try \`$me --help' for more information."
37916 +# Parse command line
37917 +while test $# -gt 0 ; do
37919 + --time-stamp | --time* | -t )
37920 + echo "$timestamp" ; exit ;;
37922 + echo "$version" ; exit ;;
37923 + --help | --h* | -h )
37924 + echo "$usage"; exit ;;
37925 + -- ) # Stop option processing
37927 + - ) # Use stdin as input.
37930 + echo "$me: invalid option $1$help"
37934 + # First pass through any local machine types.
37944 + 0) echo "$me: missing argument$help" >&2
37947 + *) echo "$me: too many arguments$help" >&2
37951 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
37952 +# Here we must recognize all the valid KERNEL-OS combinations.
37953 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
37955 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
37956 + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
37958 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
37961 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
37962 + if [ $basic_machine != $1 ]
37963 + then os=`echo $1 | sed 's/.*-/-/'`
37968 +### Let's recognize common machines as not being operating systems so
37969 +### that things like config.sub decstation-3100 work. We also
37970 +### recognize some manufacturers as not being operating systems, so we
37971 +### can provide default operating systems below.
37974 + # Prevent following clause from handling this invalid input.
37976 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
37977 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
37978 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
37979 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
37980 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
37981 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
37982 + -apple | -axis | -knuth | -cray)
37986 + -sim | -cisco | -oki | -wec | -winbond)
38009 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38013 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38016 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
38017 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38020 + # Don't forget version if it is 3.2v4 or newer.
38021 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38025 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38028 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38032 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38035 + basic_machine=clipper-intergraph
38038 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
38044 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
38047 + os=`echo $os | sed -e 's/windowsnt/winnt/'`
38052 + -mint | -mint[0-9]*)
38053 + basic_machine=m68k-atari
38058 +# Decode aliases for certain CPU-COMPANY combinations.
38059 +case $basic_machine in
38060 + # Recognize the basic CPU types without company name.
38061 + # Some are omitted here because they have special meanings below.
38064 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
38065 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
38067 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
38069 + | c4x | clipper \
38070 + | d10v | d30v | dlx | dsp16xx \
38072 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
38073 + | i370 | i860 | i960 | ia64 \
38074 + | ip2k | iq2000 \
38075 + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
38076 + | mips | mipsbe | mipseb | mipsel | mipsle \
38078 + | mips64 | mips64el \
38079 + | mips64vr | mips64vrel \
38080 + | mips64orion | mips64orionel \
38081 + | mips64vr4100 | mips64vr4100el \
38082 + | mips64vr4300 | mips64vr4300el \
38083 + | mips64vr5000 | mips64vr5000el \
38084 + | mips64vr5900 | mips64vr5900el \
38085 + | mipsisa32 | mipsisa32el \
38086 + | mipsisa32r2 | mipsisa32r2el \
38087 + | mipsisa64 | mipsisa64el \
38088 + | mipsisa64r2 | mipsisa64r2el \
38089 + | mipsisa64sb1 | mipsisa64sb1el \
38090 + | mipsisa64sr71k | mipsisa64sr71kel \
38091 + | mipstx39 | mipstx39el \
38092 + | mn10200 | mn10300 \
38095 + | ns16k | ns32k \
38097 + | pdp10 | pdp11 | pj | pjl \
38098 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
38100 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
38101 + | sh64 | sh64le \
38102 + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
38103 + | sparcv8 | sparcv9 | sparcv9b \
38105 + | tahoe | thumb | tic4x | tic80 | tron \
38108 + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
38110 + basic_machine=$basic_machine-unknown
38113 + basic_machine=$basic_machine-unknown
38115 + m6811 | m68hc11 | m6812 | m68hc12)
38116 + # Motorola 68HC11/12.
38117 + basic_machine=$basic_machine-unknown
38120 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
38123 + # We use `pc' rather than `unknown'
38124 + # because (1) that's what they normally are, and
38125 + # (2) the word "unknown" tends to confuse beginning users.
38127 + basic_machine=$basic_machine-pc
38129 + # Object if more than one company name word.
38131 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
38134 + # Recognize the basic CPU types with company name.
38137 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
38138 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
38139 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
38140 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
38142 + | bfin-* | bs2000-* \
38143 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
38144 + | clipper-* | craynv-* | cydra-* \
38145 + | d10v-* | d30v-* | dlx-* \
38147 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
38148 + | h8300-* | h8500-* \
38149 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
38150 + | i*86-* | i860-* | i960-* | ia64-* \
38151 + | ip2k-* | iq2000-* \
38152 + | m32r-* | m32rle-* \
38153 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
38154 + | m88110-* | m88k-* | maxq-* | mcore-* \
38155 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
38157 + | mips64-* | mips64el-* \
38158 + | mips64vr-* | mips64vrel-* \
38159 + | mips64orion-* | mips64orionel-* \
38160 + | mips64vr4100-* | mips64vr4100el-* \
38161 + | mips64vr4300-* | mips64vr4300el-* \
38162 + | mips64vr5000-* | mips64vr5000el-* \
38163 + | mips64vr5900-* | mips64vr5900el-* \
38164 + | mipsisa32-* | mipsisa32el-* \
38165 + | mipsisa32r2-* | mipsisa32r2el-* \
38166 + | mipsisa64-* | mipsisa64el-* \
38167 + | mipsisa64r2-* | mipsisa64r2el-* \
38168 + | mipsisa64sb1-* | mipsisa64sb1el-* \
38169 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
38170 + | mipstx39-* | mipstx39el-* \
38174 + | none-* | np1-* | ns16k-* | ns32k-* \
38176 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
38177 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
38179 + | romp-* | rs6000-* \
38180 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
38181 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
38182 + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
38184 + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
38185 + | tahoe-* | thumb-* \
38186 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
38188 + | v850-* | v850e-* | vax-* \
38190 + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
38191 + | xstormy16-* | xtensa-* \
38197 + # Recognize the various machine names and aliases which stand
38198 + # for a CPU type and a company and sometimes even an OS.
38200 + basic_machine=i386-unknown
38203 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
38204 + basic_machine=m68000-att
38207 + basic_machine=we32k-att
38210 + basic_machine=a29k-amd
38214 + basic_machine=abacus-unknown
38217 + basic_machine=m68010-adobe
38221 + basic_machine=fx80-alliant
38223 + altos | altos3068)
38224 + basic_machine=m68k-altos
38227 + basic_machine=a29k-none
38231 + basic_machine=x86_64-pc
38234 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
38237 + basic_machine=580-amdahl
38241 + basic_machine=m68k-unknown
38243 + amigaos | amigados)
38244 + basic_machine=m68k-unknown
38247 + amigaunix | amix)
38248 + basic_machine=m68k-unknown
38252 + basic_machine=m68k-apollo
38256 + basic_machine=m68k-apollo
38260 + basic_machine=m68k-apple
38264 + basic_machine=ns32k-sequent
38268 + basic_machine=c90-cray
38272 + basic_machine=c1-convex
38276 + basic_machine=c2-convex
38280 + basic_machine=c32-convex
38284 + basic_machine=c34-convex
38288 + basic_machine=c38-convex
38292 + basic_machine=j90-cray
38296 + basic_machine=craynv-cray
38300 + basic_machine=cr16c-unknown
38304 + basic_machine=m68k-crds
38306 + crisv32 | crisv32-* | etraxfs*)
38307 + basic_machine=crisv32-axis
38309 + cris | cris-* | etrax*)
38310 + basic_machine=cris-axis
38313 + basic_machine=crx-unknown
38317 + basic_machine=m68k-da30
38319 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
38320 + basic_machine=mips-dec
38322 + decsystem10* | dec10*)
38323 + basic_machine=pdp10-dec
38326 + decsystem20* | dec20*)
38327 + basic_machine=pdp10-dec
38330 + delta | 3300 | motorola-3300 | motorola-delta \
38331 + | 3300-motorola | delta-motorola)
38332 + basic_machine=m68k-motorola
38335 + basic_machine=m88k-motorola
38339 + basic_machine=i586-pc
38343 + basic_machine=rs6000-bull
38346 + dpx2* | dpx2*-bull)
38347 + basic_machine=m68k-bull
38351 + basic_machine=a29k-amd
38355 + basic_machine=elxsi-elxsi
38358 + encore | umax | mmax)
38359 + basic_machine=ns32k-encore
38361 + es1800 | OSE68k | ose68k | ose | OSE)
38362 + basic_machine=m68k-ericsson
38366 + basic_machine=i860-alliant
38369 + basic_machine=ns32k-ns
38372 + basic_machine=tron-gmicro
38376 + basic_machine=i386-pc
38380 + basic_machine=hppa1.1-hitachi
38384 + basic_machine=h8300-hitachi
38388 + basic_machine=h8300-hitachi
38392 + basic_machine=h8500-hitachi
38396 + basic_machine=m88k-harris
38400 + basic_machine=m68k-hp
38403 + basic_machine=m68k-hp
38407 + basic_machine=m68k-hp
38410 + hp3k9[0-9][0-9] | hp9[0-9][0-9])
38411 + basic_machine=hppa1.0-hp
38413 + hp9k2[0-9][0-9] | hp9k31[0-9])
38414 + basic_machine=m68000-hp
38417 + basic_machine=m68k-hp
38419 + hp9k6[0-9][0-9] | hp6[0-9][0-9])
38420 + basic_machine=hppa1.0-hp
38422 + hp9k7[0-79][0-9] | hp7[0-79][0-9])
38423 + basic_machine=hppa1.1-hp
38425 + hp9k78[0-9] | hp78[0-9])
38426 + # FIXME: really hppa2.0-hp
38427 + basic_machine=hppa1.1-hp
38429 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
38430 + # FIXME: really hppa2.0-hp
38431 + basic_machine=hppa1.1-hp
38433 + hp9k8[0-9][13679] | hp8[0-9][13679])
38434 + basic_machine=hppa1.1-hp
38436 + hp9k8[0-9][0-9] | hp8[0-9][0-9])
38437 + basic_machine=hppa1.0-hp
38443 + basic_machine=hppa1.1-hp
38447 + basic_machine=hppa1.1-hp
38450 + i370-ibm* | ibm*)
38451 + basic_machine=i370-ibm
38453 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
38455 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
38459 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
38463 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
38467 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
38471 + basic_machine=i386-mach
38474 + i386-vsta | vsta)
38475 + basic_machine=i386-unknown
38479 + basic_machine=mips-sgi
38489 + basic_machine=m68k-isi
38493 + basic_machine=m88k-omron
38496 + basic_machine=mips-mips
38500 + basic_machine=ns32k-utek
38504 + basic_machine=i386-pc
38508 + basic_machine=m68000-convergent
38510 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
38511 + basic_machine=m68k-atari
38515 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
38518 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
38521 + basic_machine=m68k-rom68k
38525 + basic_machine=powerpc-unknown
38529 + basic_machine=i386-pc
38533 + basic_machine=i370-ibm
38537 + basic_machine=i486-ncr
38541 + basic_machine=i386-unknown
38545 + basic_machine=armv4l-rebel
38548 + news | news700 | news800 | news900)
38549 + basic_machine=m68k-sony
38553 + basic_machine=m68030-sony
38556 + news-3600 | risc-news)
38557 + basic_machine=mips-sony
38561 + basic_machine=v70-nec
38565 + basic_machine=m68k-next
38578 + basic_machine=m68k-harris
38582 + basic_machine=m88k-harris
38586 + basic_machine=i960-intel
38590 + basic_machine=i960-intel
38594 + basic_machine=mips-compaq
38598 + basic_machine=np1-gould
38601 + basic_machine=nsr-tandem
38603 + op50n-* | op60c-*)
38604 + basic_machine=hppa1.1-oki
38607 + openrisc | openrisc-*)
38608 + basic_machine=or32-unknown
38611 + basic_machine=powerpc-ibm
38614 + OSE68000 | ose68000)
38615 + basic_machine=m68000-ericsson
38619 + basic_machine=m68k-none
38623 + basic_machine=hppa1.1-hitachi
38627 + basic_machine=i860-intel
38631 + basic_machine=sparc-tti
38634 + basic_machine=m68k-tti
38637 + basic_machine=ns32k-pc532
38639 + pentium | p5 | k5 | k6 | nexgen | viac3)
38640 + basic_machine=i586-pc
38642 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
38643 + basic_machine=i686-pc
38645 + pentiumii | pentium2 | pentiumiii | pentium3)
38646 + basic_machine=i686-pc
38649 + basic_machine=i786-pc
38651 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
38652 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
38654 + pentiumpro-* | p6-* | 6x86-* | athlon-*)
38655 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
38657 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
38658 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
38661 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
38664 + basic_machine=pn-gould
38666 + power) basic_machine=power-ibm
38668 + ppc) basic_machine=powerpc-unknown
38670 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
38672 + ppcle | powerpclittle | ppc-le | powerpc-little)
38673 + basic_machine=powerpcle-unknown
38675 + ppcle-* | powerpclittle-*)
38676 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
38678 + ppc64) basic_machine=powerpc64-unknown
38680 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
38682 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
38683 + basic_machine=powerpc64le-unknown
38685 + ppc64le-* | powerpc64little-*)
38686 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
38689 + basic_machine=i386-ibm
38692 + basic_machine=i586-unknown
38696 + basic_machine=m68k-rom68k
38700 + basic_machine=mips-siemens
38703 + basic_machine=romp-ibm
38706 + basic_machine=s390-ibm
38709 + basic_machine=s390x-ibm
38712 + basic_machine=a29k-amd
38716 + basic_machine=mipsisa64sb1-unknown
38719 + basic_machine=mipsisa64sb1el-unknown
38722 + basic_machine=mips-sei
38726 + basic_machine=i386-sequent
38729 + basic_machine=sh-hitachi
38733 + basic_machine=sh64-unknown
38735 + sparclite-wrs | simso-wrs)
38736 + basic_machine=sparclite-wrs
38740 + basic_machine=m68k-bull
38744 + basic_machine=spur-unknown
38747 + basic_machine=m68k-tandem
38750 + basic_machine=i860-stratus
38754 + basic_machine=m68000-sun
38757 + basic_machine=m68000-sun
38761 + basic_machine=m68000-sun
38765 + basic_machine=m68k-sun
38769 + basic_machine=m68k-sun
38773 + basic_machine=sparc-sun
38777 + basic_machine=sparc-sun
38781 + basic_machine=sparc-sun
38785 + basic_machine=m68k-sun
38788 + basic_machine=sparc-sun
38790 + sun386 | sun386i | roadrunner)
38791 + basic_machine=i386-sun
38794 + basic_machine=sv1-cray
38798 + basic_machine=i386-sequent
38802 + basic_machine=alphaev5-cray
38806 + basic_machine=t90-cray
38810 + basic_machine=tic54x-unknown
38814 + basic_machine=tic55x-unknown
38818 + basic_machine=tic6x-unknown
38822 + basic_machine=mipstx39-unknown
38825 + basic_machine=mipstx39el-unknown
38828 + basic_machine=pdp10-xkl
38831 + tower | tower-32)
38832 + basic_machine=m68k-ncr
38835 + basic_machine=s390x-ibm
38839 + basic_machine=a29k-amd
38843 + basic_machine=a29k-nyu
38847 + basic_machine=v810-nec
38851 + basic_machine=vax-dec
38855 + basic_machine=vax-dec
38859 + basic_machine=f301-fujitsu
38862 + basic_machine=i960-wrs
38866 + basic_machine=m68k-wrs
38870 + basic_machine=a29k-wrs
38874 + basic_machine=w65-wdc
38878 + basic_machine=hppa1.1-winbond
38882 + basic_machine=i686-pc
38886 + basic_machine=xps100-honeywell
38889 + basic_machine=ymp-cray
38893 + basic_machine=z8k-unknown
38897 + basic_machine=none-none
38901 +# Here we handle the default manufacturer of certain CPU types. It is in
38902 +# some cases the only manufacturer, in others, it is the most popular.
38904 + basic_machine=hppa1.1-winbond
38907 + basic_machine=hppa1.1-oki
38910 + basic_machine=hppa1.1-oki
38913 + basic_machine=romp-ibm
38916 + basic_machine=mmix-knuth
38919 + basic_machine=rs6000-ibm
38922 + basic_machine=vax-dec
38925 + # there are many clones, so DEC is not a safe bet
38926 + basic_machine=pdp10-unknown
38929 + basic_machine=pdp11-dec
38932 + basic_machine=we32k-att
38934 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
38935 + basic_machine=sh-unknown
38937 + sparc | sparcv8 | sparcv9 | sparcv9b)
38938 + basic_machine=sparc-sun
38941 + basic_machine=cydra-cydrome
38944 + basic_machine=orion-highlevel
38947 + basic_machine=clipper-highlevel
38949 + mac | mpw | mac-mpw)
38950 + basic_machine=m68k-apple
38953 + basic_machine=powerpc-apple
38956 + # Make sure to match an already-canonicalized machine name.
38959 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
38964 +# Here we canonicalize certain aliases for manufacturers.
38965 +case $basic_machine in
38967 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
38970 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
38976 +# Decode manufacturer-specific aliases for certain operating systems.
38978 +if [ x"$os" != x"" ]
38981 + # First match some system type aliases
38982 + # that might get confused with valid system types.
38983 + # -solaris* is a basic system type, with this one exception.
38984 + -solaris1 | -solaris1.*)
38985 + os=`echo $os | sed -e 's|solaris1|sunos4|'`
38997 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
38999 + # First accept the basic system types.
39000 + # The portable systems comes first.
39001 + # Each alternative MUST END IN A *, to match a version number.
39002 + # -sysv* is not here because it comes later, after sysvr4.
39003 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
39004 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
39005 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
39006 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
39008 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
39009 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
39010 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
39011 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
39012 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
39013 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
39014 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
39015 + | -chorusos* | -chorusrdb* \
39016 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
39017 + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
39018 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
39019 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
39020 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
39021 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
39022 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
39023 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
39024 + | -skyos* | -haiku*)
39025 + # Remember, each alternative MUST END IN *, to match a version number.
39028 + case $basic_machine in
39039 + os=`echo $os | sed -e 's|nto|nto-qnx|'`
39041 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
39042 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
39043 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
39046 + os=`echo $os | sed -e 's|mac|macos|'`
39049 + os=-linux-dietlibc
39052 + os=`echo $os | sed -e 's|linux|linux-gnu|'`
39055 + os=`echo $os | sed -e 's|sunos5|solaris2|'`
39058 + os=`echo $os | sed -e 's|sunos6|solaris3|'`
39105 + # Preserve the version number of sinix5.
39107 + os=`echo $os | sed -e 's|sinix|sysv|'`
39130 + # This must come after -sysvr4.
39142 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
39157 + # Get rid of the `-' at the beginning of $os.
39158 + os=`echo $os | sed 's/[^-]*-//'`
39159 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
39165 +# Here we handle the default operating systems that come with various machines.
39166 +# The value should be what the vendor currently ships out the door with their
39167 +# machine or put another way, the most popular os provided with the machine.
39169 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
39170 +# "-sun"), then you have to tell the case statement up towards the top
39171 +# that MANUFACTURER isn't an operating system. Otherwise, code above
39172 +# will signal an error saying that MANUFACTURER isn't an operating
39173 +# system, and we'll never get to this point.
39175 +case $basic_machine in
39188 + # This must come before the *-dec entry.
39206 + # This also exists in the configure program, but was not the
39222 + *-tti) # must be before sparc entry or we get the wrong os.
39255 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
39309 + f30[01]-fujitsu | f700-fujitsu)
39330 +# Here we handle the case where we know the os, and the CPU type, but not the
39331 +# manufacturer. We pick the logical manufacturer.
39333 +case $basic_machine in
39369 + -mvs* | -opened*)
39381 + -vxsim* | -vxworks* | -windiss*)
39393 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
39400 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
39404 +echo $basic_machine$os
39407 +# Local variables:
39408 +# eval: (add-hook 'write-file-hooks 'time-stamp)
39409 +# time-stamp-start: "timestamp='"
39410 +# time-stamp-format: "%:y-%02m-%02d"
39411 +# time-stamp-end: "'"
39413 --- agsync-0.2-pre.orig/missing
39414 +++ agsync-0.2-pre/missing
39417 +# Common stub for a few missing GNU programs while installing.
39418 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
39419 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
39421 +# This program is free software; you can redistribute it and/or modify
39422 +# it under the terms of the GNU General Public License as published by
39423 +# the Free Software Foundation; either version 2, or (at your option)
39424 +# any later version.
39426 +# This program is distributed in the hope that it will be useful,
39427 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
39428 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39429 +# GNU General Public License for more details.
39431 +# You should have received a copy of the GNU General Public License
39432 +# along with this program; if not, write to the Free Software
39433 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
39434 +# 02111-1307, USA.
39436 +# As a special exception to the GNU General Public License, if you
39437 +# distribute this file as part of a program that contains a
39438 +# configuration script generated by Autoconf, you may include it under
39439 +# the same distribution terms that you use for the rest of that program.
39441 +if test $# -eq 0; then
39442 + echo 1>&2 "Try \`$0 --help' for more information"
39448 +# In the cases where this matters, `missing' is being run in the
39450 +if test -f configure.ac; then
39451 + configure_ac=configure.ac
39453 + configure_ac=configure.in
39458 + # Try to run requested program, and just exit if it succeeds.
39465 +# If it does not exist, or fails to run (possibly an outdated version),
39466 +# try to emulate it.
39469 + -h|--h|--he|--hel|--help)
39471 +$0 [OPTION]... PROGRAM [ARGUMENT]...
39473 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
39474 +error status if there is no known handling for PROGRAM.
39477 + -h, --help display this help and exit
39478 + -v, --version output version information and exit
39479 + --run try to run the given command, and emulate it if it fails
39481 +Supported PROGRAM values:
39482 + aclocal touch file \`aclocal.m4'
39483 + autoconf touch file \`configure'
39484 + autoheader touch file \`config.h.in'
39485 + automake touch all \`Makefile.in' files
39486 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
39487 + flex create \`lex.yy.c', if possible, from existing .c
39488 + help2man touch the output file
39489 + lex create \`lex.yy.c', if possible, from existing .c
39490 + makeinfo touch the output file
39491 + tar try tar, gnutar, gtar, then tar without non-portable flags
39492 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
39495 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
39496 + echo "missing 0.4 - GNU automake"
39500 + echo 1>&2 "$0: Unknown \`$1' option"
39501 + echo 1>&2 "Try \`$0 --help' for more information"
39506 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39507 + # We have it, but it failed.
39512 +WARNING: \`$1' is missing on your system. You should only need it if
39513 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
39514 + to install the \`Automake' and \`Perl' packages. Grab them from
39515 + any GNU archive site."
39520 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39521 + # We have it, but it failed.
39526 +WARNING: \`$1' is missing on your system. You should only need it if
39527 + you modified \`${configure_ac}'. You might want to install the
39528 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
39534 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39535 + # We have it, but it failed.
39540 +WARNING: \`$1' is missing on your system. You should only need it if
39541 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
39542 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
39543 + from any GNU archive site."
39544 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
39545 + test -z "$files" && files="config.h"
39547 + for f in $files; do
39549 + *:*) touch_files="$touch_files "`echo "$f" |
39550 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
39551 + *) touch_files="$touch_files $f.in";;
39554 + touch $touch_files
39558 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39559 + # We have it, but it failed.
39564 +WARNING: \`$1' is missing on your system. You should only need it if
39565 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
39566 + You might want to install the \`Automake' and \`Perl' packages.
39567 + Grab them from any GNU archive site."
39568 + find . -type f -name Makefile.am -print |
39569 + sed 's/\.am$/.in/' |
39570 + while read f; do touch "$f"; done
39574 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39575 + # We have it, but it failed.
39580 +WARNING: \`$1' is needed, and you do not seem to have it handy on your
39581 + system. You might have modified some files without having the
39582 + proper tools for further handling them.
39583 + You can get \`$1' as part of \`Autoconf' from any GNU
39586 + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
39587 + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
39588 + if test -f "$file"; then
39591 + test -z "$file" || exec >$file
39592 + echo "#! /bin/sh"
39593 + echo "# Created by GNU Automake missing as a replacement of"
39603 +WARNING: \`$1' is missing on your system. You should only need it if
39604 + you modified a \`.y' file. You may need the \`Bison' package
39605 + in order for those modifications to take effect. You can get
39606 + \`Bison' from any GNU archive site."
39607 + rm -f y.tab.c y.tab.h
39608 + if [ $# -ne 1 ]; then
39609 + eval LASTARG="\${$#}"
39610 + case "$LASTARG" in
39612 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
39613 + if [ -f "$SRCFILE" ]; then
39614 + cp "$SRCFILE" y.tab.c
39616 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
39617 + if [ -f "$SRCFILE" ]; then
39618 + cp "$SRCFILE" y.tab.h
39623 + if [ ! -f y.tab.h ]; then
39626 + if [ ! -f y.tab.c ]; then
39627 + echo 'main() { return 0; }' >y.tab.c
39633 +WARNING: \`$1' is missing on your system. You should only need it if
39634 + you modified a \`.l' file. You may need the \`Flex' package
39635 + in order for those modifications to take effect. You can get
39636 + \`Flex' from any GNU archive site."
39638 + if [ $# -ne 1 ]; then
39639 + eval LASTARG="\${$#}"
39640 + case "$LASTARG" in
39642 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
39643 + if [ -f "$SRCFILE" ]; then
39644 + cp "$SRCFILE" lex.yy.c
39649 + if [ ! -f lex.yy.c ]; then
39650 + echo 'main() { return 0; }' >lex.yy.c
39655 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39656 + # We have it, but it failed.
39661 +WARNING: \`$1' is missing on your system. You should only need it if
39662 + you modified a dependency of a manual page. You may need the
39663 + \`Help2man' package in order for those modifications to take
39664 + effect. You can get \`Help2man' from any GNU archive site."
39666 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
39667 + if test -z "$file"; then
39668 + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
39670 + if [ -f "$file" ]; then
39673 + test -z "$file" || exec >$file
39674 + echo ".ab help2man is required to generate this page"
39680 + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
39681 + # We have makeinfo, but it failed.
39686 +WARNING: \`$1' is missing on your system. You should only need it if
39687 + you modified a \`.texi' or \`.texinfo' file, or any other file
39688 + indirectly affecting the aspect of the manual. The spurious
39689 + call might also be the consequence of using a buggy \`make' (AIX,
39690 + DU, IRIX). You might want to install the \`Texinfo' package or
39691 + the \`GNU make' package. Grab either from any GNU archive site."
39692 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
39693 + if test -z "$file"; then
39694 + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
39695 + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
39702 + if test -n "$run"; then
39703 + echo 1>&2 "ERROR: \`tar' requires --run"
39707 + # We have already tried tar in the generic part.
39708 + # Look for gnutar/gtar before invocation to avoid ugly error
39710 + if (gnutar --version > /dev/null 2>&1); then
39711 + gnutar "$@" && exit 0
39713 + if (gtar --version > /dev/null 2>&1); then
39714 + gtar "$@" && exit 0
39718 + case "$firstarg" in
39720 + firstarg=`echo "$firstarg" | sed s/o//`
39721 + tar "$firstarg" "$@" && exit 0
39724 + case "$firstarg" in
39726 + firstarg=`echo "$firstarg" | sed s/h//`
39727 + tar "$firstarg" "$@" && exit 0
39733 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
39734 + You may want to install GNU tar or Free paxutils, or check the
39735 + command line arguments."
39741 +WARNING: \`$1' is needed, and you do not seem to have it handy on your
39742 + system. You might have modified some files without having the
39743 + proper tools for further handling them. Check the \`README' file,
39744 + it often tells you about the needed prerequisites for installing
39745 + this package. You may also peek at any GNU archive site, in case
39746 + some other package would contain this missing \`$1' program."
39752 --- agsync-0.2-pre.orig/debian/control
39753 +++ agsync-0.2-pre/debian/control
39757 +Priority: optional
39758 +Maintainer: Volker Christian <voc@debian.org>
39759 +Build-Depends: debhelper (>> 4.0.0), libsynce0-dev, librapi2-dev, docbook-to-man, autotools-dev, autoconf, automake1.7, libtool
39760 +Standards-Version: 3.6.2
39762 +Package: agsync-dev
39765 +Depends: agsync (= ${Source-Version})
39766 +Description: Development files for AvantGo and Pocket PC synchronization
39767 + This package contains the library to develop applications which
39768 + provides AvantGo synchronization fro Pocket PC to be mediated by the
39774 +Depends: ${shlibs:Depends}
39775 +Description: Synchronization mediator for AvantGo and Pocket PC
39776 + This package contains the AvantGo - Pocket PC synchronization mediator
39777 + command line application.
39778 --- agsync-0.2-pre.orig/debian/agsync.manpages
39779 +++ agsync-0.2-pre/debian/agsync.manpages
39782 --- agsync-0.2-pre.orig/debian/rules
39783 +++ agsync-0.2-pre/debian/rules
39785 +#!/usr/bin/make -f
39786 +# Sample debian/rules that uses debhelper.
39787 +# GNU copyright 1997 to 1999 by Joey Hess.
39789 +# Uncomment this to turn on verbose mode.
39790 +#export DH_VERBOSE=1
39794 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
39800 +configure: configure-stamp
39804 + # Add here commands to configure the package.
39805 + touch ./mal-files/client/Makefile.in
39806 + touch ./mal-files/Makefile.in
39807 + touch ./Makefile.in
39808 + touch ./configure
39809 + chmod 755 ./configure
39810 + ./configure --prefix=/usr
39812 + touch configure-stamp
39815 +build: build-stamp
39816 +build-stamp: configure-stamp
39819 + # Add here commands to compile the package.
39821 + /usr/bin/docbook-to-man debian/agsync.sgml > agsync.1
39823 + touch build-stamp
39828 + rm -f build-stamp configure-stamp
39830 + # Add here commands to clean up after the build process.
39831 + -$(MAKE) distclean
39841 + # Add here commands to install the package into debian/tmp
39842 + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
39845 +# Build architecture-independent files here.
39846 +binary-indep: build install
39847 +# We have nothing to do by default.
39849 +# Build architecture-dependent files here.
39850 +binary-arch: build install
39853 + dh_install --list-missing
39854 + dh_installchangelogs CHANGELOG
39856 +# dh_installexamples
39859 + dh_installdebconf
39860 +# dh_installlogrotate
39861 +# dh_installemacsen
39876 + dh_shlibdeps -l debian/agsync/usr/lib
39881 +binary: binary-indep binary-arch
39882 +.PHONY: build clean binary-indep binary-arch binary install configure
39883 --- agsync-0.2-pre.orig/debian/watch
39884 +++ agsync-0.2-pre/debian/watch
39886 +# Example watch control file for uscan
39887 +# Rename this file to "watch" and then you can run the "uscan" command
39888 +# to check for upstream updates and more.
39889 +# Format version number
39891 +# Full-site-with-pattern [Version [Action]]
39892 +http://duskwood.lownewulf.com/agsync-(.*)-pre\.tgz debian uupdate
39893 --- agsync-0.2-pre.orig/debian/agsync.dirs
39894 +++ agsync-0.2-pre/debian/agsync.dirs
39898 --- agsync-0.2-pre.orig/debian/agsync.docs
39899 +++ agsync-0.2-pre/debian/agsync.docs
39903 --- agsync-0.2-pre.orig/debian/agsync.sgml
39904 +++ agsync-0.2-pre/debian/agsync.sgml
39906 +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
39908 +<!-- Process this file with docbook-to-man to generate an nroff manual
39909 + page: `docbook-to-man manpage.sgml > manpage.1'. You may view
39910 + the manual page with: `docbook-to-man manpage.sgml | nroff -man |
39911 + less'. A typical entry in a Makefile or Makefile.am is:
39913 +manpage.1: manpage.sgml
39914 + docbook-to-man $< > $@
39917 + The docbook-to-man binary is found in the docbook-to-man package.
39918 + Please remember that if you create the nroff version in one of the
39919 + debian/rules file targets (such as build), you will need to include
39920 + docbook-to-man in your Build-Depends control field.
39924 + <!-- Fill in your name for FIRSTNAME and SURNAME. -->
39925 + <!ENTITY dhfirstname "<firstname>Volker</firstname>">
39926 + <!ENTITY dhsurname "<surname>Christian</surname>">
39927 + <!-- Please adjust the date whenever revising the manpage. -->
39928 + <!ENTITY dhdate "<date>September 23, 2003</date>">
39929 + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
39930 + allowed: see man(7), man(1). -->
39931 + <!ENTITY dhsection "<manvolnum>1</manvolnum>">
39932 + <!ENTITY dhemail "<email>voc@users.sourceforge.net</email>">
39933 + <!ENTITY dhusername "Volker Christian">
39934 + <!ENTITY dhucpackage "<refentrytitle>AGSYNC</refentrytitle>">
39935 + <!ENTITY dhpackage "agsync">
39937 + <!ENTITY debian "<productname>Debian</productname>">
39938 + <!ENTITY gnu "<acronym>GNU</acronym>">
39939 + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
39952 + <year>2003</year>
39953 + <holder>&dhusername;</holder>
39963 + <refname>&dhpackage;</refname>
39965 + <refpurpose>mediates a AvantGo session between an AvantGo server and an
39966 + Pocket PC connected via SynCE.</refpurpose>
39970 + <command>&dhpackage;</command>
39972 + <arg><option>-v</option></arg>
39973 + <arg><option>-q</option></arg>
39974 + <arg><option>-p <replaceable>host:port</replaceable></option></arg>
39975 + <arg><option>-u <replaceable>username:pass</replaceable></option></arg>
39976 + <arg><option>-s <replaceable>host:port</replaceable></option></arg>
39979 + </refsynopsisdiv>
39981 + <title>DESCRIPTION</title>
39983 + <para>This manual page documents briefly the
39984 + The <command>&dhpackage;</command> command is used to start
39985 + and control a AvantGo synchronizing session between an AvantGo server
39986 + and and Pocket PC. The Pocket PC has to be connected to the desktop via
39989 + <para>This manual page was written for the &debian; distribution
39990 + because the original program does not have a manual page.
39991 + Instead, it has documentation in the &gnu;
39992 + <application>Info</application> format; see below.</para>
39994 + <para><command>&dhpackage;</command> is a program that...</para>
39998 + <title>OPTIONS</title>
40000 + <para>A summary of
40001 + options is included below.</para>
40005 + <term><option>-v</option>
40008 + <para>Be verbose. Print even more information as default.</para>
40012 + <term><option>-q</option>
40015 + <para>Be quiet. Don't print anything.</para>
40020 + <term><option>-p host:port</option>
40023 + <para>Hostname or IP-adderess and portnumber of the HTTP-proxy.</para>
40027 + <term><option>-u username:pass</option>
40030 + <para>Username and password to login into the AvantGo server.</para>
40034 + <term><option>-s host:port</option>
40037 + <para>Hostname or IP-adress and portnumber of a Socks proxy.</para>
40043 + <title>AUTHOR</title>
40045 + <para>This manual page was written by &dhusername; &dhemail; for
40046 + the &debian; system (but may be used by others). Permission is
40047 + granted to copy, distribute and/or modify this document under
40048 + the terms of the &gnu; Free Documentation
40049 + License, Version 1.1 or any later version published by the Free
40050 + Software Foundation; with no Invariant Sections, no Front-Cover
40051 + Texts and no Back-Cover Texts.</para>
40056 +<!-- Keep this comment at the end of the file
40061 +sgml-minimize-attributes:nil
40062 +sgml-always-quote-attributes:t
40063 +sgml-indent-step:2
40064 +sgml-indent-data:t
40065 +sgml-parent-document:nil
40066 +sgml-default-dtd-file:nil
40067 +sgml-exposed-tags:nil
40068 +sgml-local-catalogs:nil
40069 +sgml-local-ecat-files:nil
40074 --- agsync-0.2-pre.orig/debian/changelog
40075 +++ agsync-0.2-pre/debian/changelog
40077 +agsync (0.2-pre-9) unstable; urgency=low
40079 + * Fixed a potential segfault
40081 + -- Volker Christian <voc@debian.org> Sun, 26 Feb 2006 19:40:30 +0100
40083 +agsync (0.2-pre-8) unstable; urgency=low
40085 + * FTBFS on GNU/kFreeBSD (Closes: #329441)
40087 + -- Volker Christian <voc@debian.org> Thu, 22 Sep 2005 20:32:27 +0200
40089 +agsync (0.2-pre-7) unstable; urgency=low
40091 + * Maintainer email changed to voc@debian.org
40092 + * Update standard to 3.6.2
40093 + * Update watch file
40095 + -- Volker Christian <voc@debian.org> Sun, 11 Sep 2005 20:43:31 +0200
40097 +agsync (0.2-pre-6) unstable; urgency=low
40099 + * changed prefix=$\(CURDIR\)/debian/tmp/usr to
40100 + DESTDIR=$\(CURDIR\)/debian/tmp
40101 + * now following standard 3.6.1
40103 + -- Volker Christian <voc@users.sourceforge.net> Thu, 2 Sep 2004 21:26:05 +0200
40105 +agsync (0.2-pre-5) unstable; urgency=low
40107 + * Moved development files to section libdevel
40108 + * Bug fix in control
40110 + -- Volker Christian <voc@users.sourceforge.net> Thu, 10 Jun 2004 23:08:10 +0200
40112 +agsync (0.2-pre-4) unstable; urgency=low
40114 + * Added AM_MAINTAINER_MODE to configure.in
40116 + -- Volker Christian <voc@users.sourceforge.net> Sun, 05 Apr 2004 12:06:02 +0200
40118 +agsync (0.2-pre-3) unstable; urgency=low
40120 + * touch(int) Makefile.in and configure to prevent a call to "missing"
40122 + -- Volker Christian <voc@users.sourceforge.net> Sun, 22 Feb 2004 16:55:00 +0200
40124 +agsync (0.2-pre-2) unstable; urgency=low
40126 + * Debug INSTALL_PROGRAMM setting.
40127 + * Substvars is not shipped anymore
40128 + * Switched from dh_movefile to dh_install
40129 + * Better cleanup before the package gets generated
40131 + -- Volker Christian <voc@users.sourceforge.net> Tue, 23 Sep 2003 18:48:10 +0200
40133 +agsync (0.2-pre-1) unstable; urgency=low
40135 + * Initial Release.
40137 + -- Volker Christian <voc@users.sourceforge.net> Tue, 23 Sep 2003 18:48:10 +0200
40139 --- agsync-0.2-pre.orig/debian/agsync-dev.install
40140 +++ agsync-0.2-pre/debian/agsync-dev.install
40142 +debian/tmp/usr/include/*
40143 +debian/tmp/usr/lib/lib*.a
40144 +debian/tmp/usr/lib/lib*.so
40145 +debian/tmp/usr/lib/pkgconfig/*
40146 +debian/tmp/usr/lib/lib*.la
40147 --- agsync-0.2-pre.orig/debian/agsync.install
40148 +++ agsync-0.2-pre/debian/agsync.install
40150 +debian/tmp/usr/bin/*
40151 +debian/tmp/usr/lib/lib*.so.*
40152 --- agsync-0.2-pre.orig/debian/compat
40153 +++ agsync-0.2-pre/debian/compat
40156 --- agsync-0.2-pre.orig/debian/copyright
40157 +++ agsync-0.2-pre/debian/copyright
40159 +This package was debianized by Volker Christian <voc@users.sourceforge.net> on
40160 +Tue, 23 Sep 2003 02:23:59 +0200.
40162 +It was downloaded from http://www.mechlord.ca/~lownewulf/agsync-0.2-pre.tgz
40164 +Upstream Author: Michael Jarrett, JudgeBeavis@hotmail.com
40167 + MOZILLA PUBLIC LICENSE
40174 + 1.0.1. "Commercial Use" means distribution or otherwise making the
40175 + Covered Code available to a third party.
40177 + 1.1. "Contributor" means each entity that creates or contributes to
40178 + the creation of Modifications.
40180 + 1.2. "Contributor Version" means the combination of the Original
40181 + Code, prior Modifications used by a Contributor, and the Modifications
40182 + made by that particular Contributor.
40184 + 1.3. "Covered Code" means the Original Code or Modifications or the
40185 + combination of the Original Code and Modifications, in each case
40186 + including portions thereof.
40188 + 1.4. "Electronic Distribution Mechanism" means a mechanism generally
40189 + accepted in the software development community for the electronic
40190 + transfer of data.
40192 + 1.5. "Executable" means Covered Code in any form other than Source
40195 + 1.6. "Initial Developer" means the individual or entity identified
40196 + as the Initial Developer in the Source Code notice required by Exhibit
40199 + 1.7. "Larger Work" means a work which combines Covered Code or
40200 + portions thereof with code not governed by the terms of this License.
40202 + 1.8. "License" means this document.
40204 + 1.8.1. "Licensable" means having the right to grant, to the maximum
40205 + extent possible, whether at the time of the initial grant or
40206 + subsequently acquired, any and all of the rights conveyed herein.
40208 + 1.9. "Modifications" means any addition to or deletion from the
40209 + substance or structure of either the Original Code or any previous
40210 + Modifications. When Covered Code is released as a series of files, a
40212 + A. Any addition to or deletion from the contents of a file
40213 + containing Original Code or previous Modifications.
40215 + B. Any new file that contains any part of the Original Code or
40216 + previous Modifications.
40218 + 1.10. "Original Code" means Source Code of computer software code
40219 + which is described in the Source Code notice required by Exhibit A as
40220 + Original Code, and which, at the time of its release under this
40221 + License is not already Covered Code governed by this License.
40223 + 1.10.1. "Patent Claims" means any patent claim(s), now owned or
40224 + hereafter acquired, including without limitation, method, process,
40225 + and apparatus claims, in any patent Licensable by grantor.
40227 + 1.11. "Source Code" means the preferred form of the Covered Code for
40228 + making modifications to it, including all modules it contains, plus
40229 + any associated interface definition files, scripts used to control
40230 + compilation and installation of an Executable, or source code
40231 + differential comparisons against either the Original Code or another
40232 + well known, available Covered Code of the Contributor's choice. The
40233 + Source Code can be in a compressed or archival form, provided the
40234 + appropriate decompression or de-archiving software is widely available
40237 + 1.12. "You" (or "Your") means an individual or a legal entity
40238 + exercising rights under, and complying with all of the terms of, this
40239 + License or a future version of this License issued under Section 6.1.
40240 + For legal entities, "You" includes any entity which controls, is
40241 + controlled by, or is under common control with You. For purposes of
40242 + this definition, "control" means (a) the power, direct or indirect,
40243 + to cause the direction or management of such entity, whether by
40244 + contract or otherwise, or (b) ownership of more than fifty percent
40245 + (50%) of the outstanding shares or beneficial ownership of such
40248 +2. Source Code License.
40250 + 2.1. The Initial Developer Grant.
40251 + The Initial Developer hereby grants You a world-wide, royalty-free,
40252 + non-exclusive license, subject to third party intellectual property
40254 + (a) under intellectual property rights (other than patent or
40255 + trademark) Licensable by Initial Developer to use, reproduce,
40256 + modify, display, perform, sublicense and distribute the Original
40257 + Code (or portions thereof) with or without Modifications, and/or
40258 + as part of a Larger Work; and
40260 + (b) under Patents Claims infringed by the making, using or
40261 + selling of Original Code, to make, have made, use, practice,
40262 + sell, and offer for sale, and/or otherwise dispose of the
40263 + Original Code (or portions thereof).
40265 + (c) the licenses granted in this Section 2.1(a) and (b) are
40266 + effective on the date Initial Developer first distributes
40267 + Original Code under the terms of this License.
40269 + (d) Notwithstanding Section 2.1(b) above, no patent license is
40270 + granted: 1) for code that You delete from the Original Code; 2)
40271 + separate from the Original Code; or 3) for infringements caused
40272 + by: i) the modification of the Original Code or ii) the
40273 + combination of the Original Code with other software or devices.
40275 + 2.2. Contributor Grant.
40276 + Subject to third party intellectual property claims, each Contributor
40277 + hereby grants You a world-wide, royalty-free, non-exclusive license
40279 + (a) under intellectual property rights (other than patent or
40280 + trademark) Licensable by Contributor, to use, reproduce, modify,
40281 + display, perform, sublicense and distribute the Modifications
40282 + created by such Contributor (or portions thereof) either on an
40283 + unmodified basis, with other Modifications, as Covered Code
40284 + and/or as part of a Larger Work; and
40286 + (b) under Patent Claims infringed by the making, using, or
40287 + selling of Modifications made by that Contributor either alone
40288 + and/or in combination with its Contributor Version (or portions
40289 + of such combination), to make, use, sell, offer for sale, have
40290 + made, and/or otherwise dispose of: 1) Modifications made by that
40291 + Contributor (or portions thereof); and 2) the combination of
40292 + Modifications made by that Contributor with its Contributor
40293 + Version (or portions of such combination).
40295 + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
40296 + effective on the date Contributor first makes Commercial Use of
40297 + the Covered Code.
40299 + (d) Notwithstanding Section 2.2(b) above, no patent license is
40300 + granted: 1) for any code that Contributor has deleted from the
40301 + Contributor Version; 2) separate from the Contributor Version;
40302 + 3) for infringements caused by: i) third party modifications of
40303 + Contributor Version or ii) the combination of Modifications made
40304 + by that Contributor with other software (except as part of the
40305 + Contributor Version) or other devices; or 4) under Patent Claims
40306 + infringed by Covered Code in the absence of Modifications made by
40307 + that Contributor.
40309 +3. Distribution Obligations.
40311 + 3.1. Application of License.
40312 + The Modifications which You create or to which You contribute are
40313 + governed by the terms of this License, including without limitation
40314 + Section 2.2. The Source Code version of Covered Code may be
40315 + distributed only under the terms of this License or a future version
40316 + of this License released under Section 6.1, and You must include a
40317 + copy of this License with every copy of the Source Code You
40318 + distribute. You may not offer or impose any terms on any Source Code
40319 + version that alters or restricts the applicable version of this
40320 + License or the recipients' rights hereunder. However, You may include
40321 + an additional document offering the additional rights described in
40324 + 3.2. Availability of Source Code.
40325 + Any Modification which You create or to which You contribute must be
40326 + made available in Source Code form under the terms of this License
40327 + either on the same media as an Executable version or via an accepted
40328 + Electronic Distribution Mechanism to anyone to whom you made an
40329 + Executable version available; and if made available via Electronic
40330 + Distribution Mechanism, must remain available for at least twelve (12)
40331 + months after the date it initially became available, or at least six
40332 + (6) months after a subsequent version of that particular Modification
40333 + has been made available to such recipients. You are responsible for
40334 + ensuring that the Source Code version remains available even if the
40335 + Electronic Distribution Mechanism is maintained by a third party.
40337 + 3.3. Description of Modifications.
40338 + You must cause all Covered Code to which You contribute to contain a
40339 + file documenting the changes You made to create that Covered Code and
40340 + the date of any change. You must include a prominent statement that
40341 + the Modification is derived, directly or indirectly, from Original
40342 + Code provided by the Initial Developer and including the name of the
40343 + Initial Developer in (a) the Source Code, and (b) in any notice in an
40344 + Executable version or related documentation in which You describe the
40345 + origin or ownership of the Covered Code.
40347 + 3.4. Intellectual Property Matters
40348 + (a) Third Party Claims.
40349 + If Contributor has knowledge that a license under a third party's
40350 + intellectual property rights is required to exercise the rights
40351 + granted by such Contributor under Sections 2.1 or 2.2,
40352 + Contributor must include a text file with the Source Code
40353 + distribution titled "LEGAL" which describes the claim and the
40354 + party making the claim in sufficient detail that a recipient will
40355 + know whom to contact. If Contributor obtains such knowledge after
40356 + the Modification is made available as described in Section 3.2,
40357 + Contributor shall promptly modify the LEGAL file in all copies
40358 + Contributor makes available thereafter and shall take other steps
40359 + (such as notifying appropriate mailing lists or newsgroups)
40360 + reasonably calculated to inform those who received the Covered
40361 + Code that new knowledge has been obtained.
40363 + (b) Contributor APIs.
40364 + If Contributor's Modifications include an application programming
40365 + interface and Contributor has knowledge of patent licenses which
40366 + are reasonably necessary to implement that API, Contributor must
40367 + also include this information in the LEGAL file.
40369 + (c) Representations.
40370 + Contributor represents that, except as disclosed pursuant to
40371 + Section 3.4(a) above, Contributor believes that Contributor's
40372 + Modifications are Contributor's original creation(s) and/or
40373 + Contributor has sufficient rights to grant the rights conveyed by
40376 + 3.5. Required Notices.
40377 + You must duplicate the notice in Exhibit A in each file of the Source
40378 + Code. If it is not possible to put such notice in a particular Source
40379 + Code file due to its structure, then You must include such notice in a
40380 + location (such as a relevant directory) where a user would be likely
40381 + to look for such a notice. If You created one or more Modification(s)
40382 + You may add your name as a Contributor to the notice described in
40383 + Exhibit A. You must also duplicate this License in any documentation
40384 + for the Source Code where You describe recipients' rights or ownership
40385 + rights relating to Covered Code. You may choose to offer, and to
40386 + charge a fee for, warranty, support, indemnity or liability
40387 + obligations to one or more recipients of Covered Code. However, You
40388 + may do so only on Your own behalf, and not on behalf of the Initial
40389 + Developer or any Contributor. You must make it absolutely clear than
40390 + any such warranty, support, indemnity or liability obligation is
40391 + offered by You alone, and You hereby agree to indemnify the Initial
40392 + Developer and every Contributor for any liability incurred by the
40393 + Initial Developer or such Contributor as a result of warranty,
40394 + support, indemnity or liability terms You offer.
40396 + 3.6. Distribution of Executable Versions.
40397 + You may distribute Covered Code in Executable form only if the
40398 + requirements of Section 3.1-3.5 have been met for that Covered Code,
40399 + and if You include a notice stating that the Source Code version of
40400 + the Covered Code is available under the terms of this License,
40401 + including a description of how and where You have fulfilled the
40402 + obligations of Section 3.2. The notice must be conspicuously included
40403 + in any notice in an Executable version, related documentation or
40404 + collateral in which You describe recipients' rights relating to the
40405 + Covered Code. You may distribute the Executable version of Covered
40406 + Code or ownership rights under a license of Your choice, which may
40407 + contain terms different from this License, provided that You are in
40408 + compliance with the terms of this License and that the license for the
40409 + Executable version does not attempt to limit or alter the recipient's
40410 + rights in the Source Code version from the rights set forth in this
40411 + License. If You distribute the Executable version under a different
40412 + license You must make it absolutely clear that any terms which differ
40413 + from this License are offered by You alone, not by the Initial
40414 + Developer or any Contributor. You hereby agree to indemnify the
40415 + Initial Developer and every Contributor for any liability incurred by
40416 + the Initial Developer or such Contributor as a result of any such
40419 + 3.7. Larger Works.
40420 + You may create a Larger Work by combining Covered Code with other code
40421 + not governed by the terms of this License and distribute the Larger
40422 + Work as a single product. In such a case, You must make sure the
40423 + requirements of this License are fulfilled for the Covered Code.
40425 +4. Inability to Comply Due to Statute or Regulation.
40427 + If it is impossible for You to comply with any of the terms of this
40428 + License with respect to some or all of the Covered Code due to
40429 + statute, judicial order, or regulation then You must: (a) comply with
40430 + the terms of this License to the maximum extent possible; and (b)
40431 + describe the limitations and the code they affect. Such description
40432 + must be included in the LEGAL file described in Section 3.4 and must
40433 + be included with all distributions of the Source Code. Except to the
40434 + extent prohibited by statute or regulation, such description must be
40435 + sufficiently detailed for a recipient of ordinary skill to be able to
40438 +5. Application of this License.
40440 + This License applies to code to which the Initial Developer has
40441 + attached the notice in Exhibit A and to related Covered Code.
40443 +6. Versions of the License.
40445 + 6.1. New Versions.
40446 + Netscape Communications Corporation ("Netscape") may publish revised
40447 + and/or new versions of the License from time to time. Each version
40448 + will be given a distinguishing version number.
40450 + 6.2. Effect of New Versions.
40451 + Once Covered Code has been published under a particular version of the
40452 + License, You may always continue to use it under the terms of that
40453 + version. You may also choose to use such Covered Code under the terms
40454 + of any subsequent version of the License published by Netscape. No one
40455 + other than Netscape has the right to modify the terms applicable to
40456 + Covered Code created under this License.
40458 + 6.3. Derivative Works.
40459 + If You create or use a modified version of this License (which you may
40460 + only do in order to apply it to code which is not already Covered Code
40461 + governed by this License), You must (a) rename Your license so that
40462 + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
40463 + "MPL", "NPL" or any confusingly similar phrase do not appear in your
40464 + license (except to note that your license differs from this License)
40465 + and (b) otherwise make it clear that Your version of the license
40466 + contains terms which differ from the Mozilla Public License and
40467 + Netscape Public License. (Filling in the name of the Initial
40468 + Developer, Original Code or Contributor in the notice described in
40469 + Exhibit A shall not of themselves be deemed to be modifications of
40472 +7. DISCLAIMER OF WARRANTY.
40474 + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
40475 + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
40476 + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
40477 + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
40478 + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
40479 + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
40480 + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
40481 + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
40482 + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
40483 + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
40487 + 8.1. This License and the rights granted hereunder will terminate
40488 + automatically if You fail to comply with terms herein and fail to cure
40489 + such breach within 30 days of becoming aware of the breach. All
40490 + sublicenses to the Covered Code which are properly granted shall
40491 + survive any termination of this License. Provisions which, by their
40492 + nature, must remain in effect beyond the termination of this License
40495 + 8.2. If You initiate litigation by asserting a patent infringement
40496 + claim (excluding declatory judgment actions) against Initial Developer
40497 + or a Contributor (the Initial Developer or Contributor against whom
40498 + You file such action is referred to as "Participant") alleging that:
40500 + (a) such Participant's Contributor Version directly or indirectly
40501 + infringes any patent, then any and all rights granted by such
40502 + Participant to You under Sections 2.1 and/or 2.2 of this License
40503 + shall, upon 60 days notice from Participant terminate prospectively,
40504 + unless if within 60 days after receipt of notice You either: (i)
40505 + agree in writing to pay Participant a mutually agreeable reasonable
40506 + royalty for Your past and future use of Modifications made by such
40507 + Participant, or (ii) withdraw Your litigation claim with respect to
40508 + the Contributor Version against such Participant. If within 60 days
40509 + of notice, a reasonable royalty and payment arrangement are not
40510 + mutually agreed upon in writing by the parties or the litigation claim
40511 + is not withdrawn, the rights granted by Participant to You under
40512 + Sections 2.1 and/or 2.2 automatically terminate at the expiration of
40513 + the 60 day notice period specified above.
40515 + (b) any software, hardware, or device, other than such Participant's
40516 + Contributor Version, directly or indirectly infringes any patent, then
40517 + any rights granted to You by such Participant under Sections 2.1(b)
40518 + and 2.2(b) are revoked effective as of the date You first made, used,
40519 + sold, distributed, or had made, Modifications made by that
40522 + 8.3. If You assert a patent infringement claim against Participant
40523 + alleging that such Participant's Contributor Version directly or
40524 + indirectly infringes any patent where such claim is resolved (such as
40525 + by license or settlement) prior to the initiation of patent
40526 + infringement litigation, then the reasonable value of the licenses
40527 + granted by such Participant under Sections 2.1 or 2.2 shall be taken
40528 + into account in determining the amount or value of any payment or
40531 + 8.4. In the event of termination under Sections 8.1 or 8.2 above,
40532 + all end user license agreements (excluding distributors and resellers)
40533 + which have been validly granted by You or any distributor hereunder
40534 + prior to termination shall survive termination.
40536 +9. LIMITATION OF LIABILITY.
40538 + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
40539 + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
40540 + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
40541 + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
40542 + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
40543 + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
40544 + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
40545 + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
40546 + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
40547 + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
40548 + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
40549 + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
40550 + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
40551 + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
40553 +10. U.S. GOVERNMENT END USERS.
40555 + The Covered Code is a "commercial item," as that term is defined in
40556 + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
40557 + software" and "commercial computer software documentation," as such
40558 + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
40559 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
40560 + all U.S. Government End Users acquire Covered Code with only those
40561 + rights set forth herein.
40563 +11. MISCELLANEOUS.
40565 + This License represents the complete agreement concerning subject
40566 + matter hereof. If any provision of this License is held to be
40567 + unenforceable, such provision shall be reformed only to the extent
40568 + necessary to make it enforceable. This License shall be governed by
40569 + California law provisions (except to the extent applicable law, if
40570 + any, provides otherwise), excluding its conflict-of-law provisions.
40571 + With respect to disputes in which at least one party is a citizen of,
40572 + or an entity chartered or registered to do business in the United
40573 + States of America, any litigation relating to this License shall be
40574 + subject to the jurisdiction of the Federal Courts of the Northern
40575 + District of California, with venue lying in Santa Clara County,
40576 + California, with the losing party responsible for costs, including
40577 + without limitation, court costs and reasonable attorneys' fees and
40578 + expenses. The application of the United Nations Convention on
40579 + Contracts for the International Sale of Goods is expressly excluded.
40580 + Any law or regulation which provides that the language of a contract
40581 + shall be construed against the drafter shall not apply to this
40584 +12. RESPONSIBILITY FOR CLAIMS.
40586 + As between Initial Developer and the Contributors, each party is
40587 + responsible for claims and damages arising, directly or indirectly,
40588 + out of its utilization of rights under this License and You agree to
40589 + work with Initial Developer and Contributors to distribute such
40590 + responsibility on an equitable basis. Nothing herein is intended or
40591 + shall be deemed to constitute any admission of liability.
40593 +13. MULTIPLE-LICENSED CODE.
40595 + Initial Developer may designate portions of the Covered Code as
40596 + "Multiple-Licensed". "Multiple-Licensed" means that the Initial
40597 + Developer permits you to utilize portions of the Covered Code under
40598 + Your choice of the NPL or the alternative licenses, if any, specified
40599 + by the Initial Developer in the file described in Exhibit A.
40601 +EXHIBIT A -Mozilla Public License.
40603 + ``The contents of this file are subject to the Mozilla Public License
40604 + Version 1.1 (the "License"); you may not use this file except in
40605 + compliance with the License. You may obtain a copy of the License at
40606 + http://www.mozilla.org/MPL/
40608 + Software distributed under the License is distributed on an "AS IS"
40609 + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
40610 + License for the specific language governing rights and limitations
40611 + under the License.
40613 + The Original Code is ______________________________________.
40615 + The Initial Developer of the Original Code is ________________________.
40616 + Portions created by ______________________ are Copyright (C) ______
40617 + _______________________. All Rights Reserved.
40619 + Contributor(s): ______________________________________.
40621 + Alternatively, the contents of this file may be used under the terms
40622 + of the _____ license (the "[___] License"), in which case the
40623 + provisions of [______] License are applicable instead of those
40624 + above. If you wish to allow use of your version of this file only
40625 + under the terms of the [____] License and not to allow others to use
40626 + your version of this file under the MPL, indicate your decision by
40627 + deleting the provisions above and replace them with the notice and
40628 + other provisions required by the [___] License. If you do not delete
40629 + the provisions above, a recipient may use your version of this file
40630 + under either the MPL or the [___] License."
40632 + [NOTE: The text of this Exhibit A may differ slightly from the text of
40633 + the notices in the Source Code files of the Original Code. You should
40634 + use the text of this Exhibit A rather than the text found in the
40635 + Original Code Source Code for Your Modifications.]
40637 --- agsync-0.2-pre.orig/debian/agsync-dev.dirs
40638 +++ agsync-0.2-pre/debian/agsync-dev.dirs
40642 --- agsync-0.2-pre.orig/mkinstalldirs
40643 +++ agsync-0.2-pre/mkinstalldirs
40646 +# mkinstalldirs --- make directory hierarchy
40647 +# Author: Noah Friedman <friedman@prep.ai.mit.edu>
40648 +# Created: 1993-05-16
40655 +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
40657 +# process command line arguments
40658 +while test $# -gt 0 ; do
40660 + -h | --help | --h*) # -h for help
40661 + echo "$usage" 1>&2
40664 + -m) # -m PERM arg
40666 + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
40670 + --) # stop option processing
40674 + -*) # unknown option
40675 + echo "$usage" 1>&2
40678 + *) # first non-opt arg
40686 + if test -d "$file"; then
40699 + if mkdir -p -- . 2>/dev/null; then
40700 + echo "mkdir -p -- $*"
40701 + exec mkdir -p -- "$@"
40705 + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
40706 + echo "mkdir -m $dirmode -p -- $*"
40707 + exec mkdir -m "$dirmode" -p -- "$@"
40714 + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
40720 + pathcomp="$pathcomp$d"
40721 + case $pathcomp in
40722 + -*) pathcomp=./$pathcomp ;;
40725 + if test ! -d "$pathcomp"; then
40726 + echo "mkdir $pathcomp"
40728 + mkdir "$pathcomp" || lasterr=$?
40730 + if test ! -d "$pathcomp"; then
40731 + errstatus=$lasterr
40733 + if test ! -z "$dirmode"; then
40734 + echo "chmod $dirmode $pathcomp"
40736 + chmod "$dirmode" "$pathcomp" || lasterr=$?
40738 + if test ! -z "$lasterr"; then
40739 + errstatus=$lasterr
40745 + pathcomp="$pathcomp/"
40751 +# Local Variables:
40752 +# mode: shell-script
40753 +# sh-indentation: 2
40755 +# mkinstalldirs ends here
40756 --- agsync-0.2-pre.orig/Makefile.am
40757 +++ agsync-0.2-pre/Makefile.am
40759 +# not a GNU package. You can remove this line, if
40760 +# have all needed files, that a GNU package needs
40762 +INCLUDES = -I$(top_srcdir)/mal-files -I$(top_srcdir)/mal-files/client
40763 +METASOURCES = AUTO
40765 +bin_PROGRAMS = agsync
40766 +SUBDIRS = mal-files
40767 +agsync_SOURCES = syncmain.c syncstream.c syncstream.h
40768 +EXTRA_DIST = CHANGELOG MPL-1.1.txt README
40769 +agsync_LDADD = $(top_builddir)/mal-files/libmal-funcs.la
40770 +noinst_HEADERS = syncstream.h
40771 --- agsync-0.2-pre.orig/Makefile.in
40772 +++ agsync-0.2-pre/Makefile.in
40774 +# Makefile.in generated by automake 1.7.9 from Makefile.am.
40775 +# @configure_input@
40777 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
40778 +# Free Software Foundation, Inc.
40779 +# This Makefile.in is free software; the Free Software Foundation
40780 +# gives unlimited permission to copy and/or distribute it,
40781 +# with or without modifications, as long as this notice is preserved.
40783 +# This program is distributed in the hope that it will be useful,
40784 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
40785 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
40786 +# PARTICULAR PURPOSE.
40790 +# not a GNU package. You can remove this line, if
40791 +# have all needed files, that a GNU package needs
40794 +top_srcdir = @top_srcdir@
40796 +pkgdatadir = $(datadir)/@PACKAGE@
40797 +pkglibdir = $(libdir)/@PACKAGE@
40798 +pkgincludedir = $(includedir)/@PACKAGE@
40801 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40802 +INSTALL = @INSTALL@
40803 +install_sh_DATA = $(install_sh) -c -m 644
40804 +install_sh_PROGRAM = $(install_sh) -c
40805 +install_sh_SCRIPT = $(install_sh) -c
40806 +INSTALL_HEADER = $(INSTALL_DATA)
40807 +transform = $(program_transform_name)
40808 +NORMAL_INSTALL = :
40811 +NORMAL_UNINSTALL = :
40813 +POST_UNINSTALL = :
40814 +host_triplet = @host@
40815 +ACLOCAL = @ACLOCAL@
40816 +AMDEP_FALSE = @AMDEP_FALSE@
40817 +AMDEP_TRUE = @AMDEP_TRUE@
40820 +AUTOCONF = @AUTOCONF@
40821 +AUTOHEADER = @AUTOHEADER@
40822 +AUTOMAKE = @AUTOMAKE@
40825 +CCDEPMODE = @CCDEPMODE@
40828 +CPPFLAGS = @CPPFLAGS@
40831 +CXXDEPMODE = @CXXDEPMODE@
40832 +CXXFLAGS = @CXXFLAGS@
40833 +CYGPATH_W = @CYGPATH_W@
40844 +INSTALL_DATA = @INSTALL_DATA@
40845 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40846 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40847 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40848 +LDFLAGS = @LDFLAGS@
40849 +LIBOBJS = @LIBOBJS@
40851 +LIBTOOL = @LIBTOOL@
40853 +LTLIBOBJS = @LTLIBOBJS@
40855 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
40856 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
40857 +MAKEINFO = @MAKEINFO@
40859 +PACKAGE = @PACKAGE@
40860 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40861 +PACKAGE_NAME = @PACKAGE_NAME@
40862 +PACKAGE_STRING = @PACKAGE_STRING@
40863 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40864 +PACKAGE_VERSION = @PACKAGE_VERSION@
40865 +PATH_SEPARATOR = @PATH_SEPARATOR@
40867 +SET_MAKE = @SET_MAKE@
40870 +VERSION = @VERSION@
40871 +ac_ct_AR = @ac_ct_AR@
40872 +ac_ct_CC = @ac_ct_CC@
40873 +ac_ct_CXX = @ac_ct_CXX@
40874 +ac_ct_F77 = @ac_ct_F77@
40875 +ac_ct_RANLIB = @ac_ct_RANLIB@
40876 +ac_ct_STRIP = @ac_ct_STRIP@
40877 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40878 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40879 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40880 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40881 +am__include = @am__include@
40882 +am__leading_dot = @am__leading_dot@
40883 +am__quote = @am__quote@
40886 +build_alias = @build_alias@
40887 +build_cpu = @build_cpu@
40888 +build_os = @build_os@
40889 +build_vendor = @build_vendor@
40890 +datadir = @datadir@
40891 +exec_prefix = @exec_prefix@
40893 +host_alias = @host_alias@
40894 +host_cpu = @host_cpu@
40895 +host_os = @host_os@
40896 +host_vendor = @host_vendor@
40897 +includedir = @includedir@
40898 +infodir = @infodir@
40899 +install_sh = @install_sh@
40901 +libexecdir = @libexecdir@
40902 +localstatedir = @localstatedir@
40904 +oldincludedir = @oldincludedir@
40906 +program_transform_name = @program_transform_name@
40907 +sbindir = @sbindir@
40908 +sharedstatedir = @sharedstatedir@
40909 +sysconfdir = @sysconfdir@
40910 +target_alias = @target_alias@
40912 +INCLUDES = -I$(top_srcdir)/mal-files -I$(top_srcdir)/mal-files/client
40913 +METASOURCES = AUTO
40915 +bin_PROGRAMS = agsync
40916 +SUBDIRS = mal-files
40917 +agsync_SOURCES = syncmain.c syncstream.c syncstream.h
40918 +EXTRA_DIST = CHANGELOG MPL-1.1.txt README
40919 +agsync_LDADD = $(top_builddir)/mal-files/libmal-funcs.la
40920 +noinst_HEADERS = syncstream.h
40922 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40923 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40924 +CONFIG_HEADER = config.h
40925 +CONFIG_CLEAN_FILES =
40926 +bin_PROGRAMS = agsync$(EXEEXT)
40927 +PROGRAMS = $(bin_PROGRAMS)
40929 +am_agsync_OBJECTS = syncmain.$(OBJEXT) syncstream.$(OBJEXT)
40930 +agsync_OBJECTS = $(am_agsync_OBJECTS)
40931 +agsync_DEPENDENCIES = $(top_builddir)/mal-files/libmal-funcs.la
40934 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
40935 +depcomp = $(SHELL) $(top_srcdir)/depcomp
40936 +am__depfiles_maybe = depfiles
40937 +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/syncmain.Po \
40938 +@AMDEP_TRUE@ ./$(DEPDIR)/syncstream.Po
40939 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
40940 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40941 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
40942 + $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40944 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
40945 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
40946 +DIST_SOURCES = $(agsync_SOURCES)
40947 +HEADERS = $(noinst_HEADERS)
40950 +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
40951 + ps-recursive install-info-recursive uninstall-info-recursive \
40952 + all-recursive install-data-recursive install-exec-recursive \
40953 + installdirs-recursive install-recursive uninstall-recursive \
40954 + check-recursive installcheck-recursive
40955 +DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.in \
40956 + $(srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
40957 + Makefile.am NEWS aclocal.m4 config.guess config.h.in config.sub \
40958 + configure configure.in depcomp install-sh ltmain.sh missing \
40960 +DIST_SUBDIRS = $(SUBDIRS)
40961 +SOURCES = $(agsync_SOURCES)
40964 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
40967 +.SUFFIXES: .c .lo .o .obj
40969 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
40971 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40972 + cd $(top_srcdir) && \
40973 + $(AUTOMAKE) --gnu Makefile
40974 +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
40975 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
40977 +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40978 + $(SHELL) ./config.status --recheck
40979 +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
40980 + cd $(srcdir) && $(AUTOCONF)
40982 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
40983 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
40985 +config.h: stamp-h1
40986 + @if test ! -f $@; then \
40987 + rm -f stamp-h1; \
40988 + $(MAKE) stamp-h1; \
40991 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
40993 + cd $(top_builddir) && $(SHELL) ./config.status config.h
40995 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4)
40996 + cd $(top_srcdir) && $(AUTOHEADER)
40997 + touch $(srcdir)/config.h.in
41000 + -rm -f config.h stamp-h1
41001 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
41002 +install-binPROGRAMS: $(bin_PROGRAMS)
41003 + @$(NORMAL_INSTALL)
41004 + $(mkinstalldirs) $(DESTDIR)$(bindir)
41005 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
41006 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
41008 + || test -f $$p1 \
41010 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
41011 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
41012 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
41016 +uninstall-binPROGRAMS:
41017 + @$(NORMAL_UNINSTALL)
41018 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
41019 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
41020 + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
41021 + rm -f $(DESTDIR)$(bindir)/$$f; \
41024 +clean-binPROGRAMS:
41025 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
41026 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
41027 + echo " rm -f $$p $$f"; \
41028 + rm -f $$p $$f ; \
41030 +agsync$(EXEEXT): $(agsync_OBJECTS) $(agsync_DEPENDENCIES)
41031 + @rm -f agsync$(EXEEXT)
41032 + $(LINK) $(agsync_LDFLAGS) $(agsync_OBJECTS) $(agsync_LDADD) $(LIBS)
41034 +mostlyclean-compile:
41035 + -rm -f *.$(OBJEXT) core *.core
41037 +distclean-compile:
41040 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syncmain.Po@am__quote@
41041 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syncstream.Po@am__quote@
41044 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
41045 +@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
41046 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
41047 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
41048 +@am__fastdepCC_TRUE@ fi
41049 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
41050 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
41051 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
41052 +@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
41055 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
41056 +@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
41057 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
41058 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
41059 +@am__fastdepCC_TRUE@ fi
41060 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
41061 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
41062 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
41063 +@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
41066 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
41067 +@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
41068 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
41069 +@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
41070 +@am__fastdepCC_TRUE@ fi
41071 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
41072 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
41073 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
41074 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
41076 +mostlyclean-libtool:
41080 + -rm -rf .libs _libs
41082 +distclean-libtool:
41084 +uninstall-info-am:
41086 +# This directory's subdirectories are mostly independent; you can cd
41087 +# into them and run `make' without going through this Makefile.
41088 +# To change the values of `make' variables: instead of editing Makefiles,
41089 +# (1) if the variable is set in `config.status', edit `config.status'
41090 +# (which will cause the Makefiles to be regenerated when you run `make');
41091 +# (2) otherwise, pass the desired values on the `make' command line.
41092 +$(RECURSIVE_TARGETS):
41093 + @set fnord $$MAKEFLAGS; amf=$$2; \
41095 + target=`echo $@ | sed s/-recursive//`; \
41096 + list='$(SUBDIRS)'; for subdir in $$list; do \
41097 + echo "Making $$target in $$subdir"; \
41098 + if test "$$subdir" = "."; then \
41100 + local_target="$$target-am"; \
41102 + local_target="$$target"; \
41104 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41105 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41107 + if test "$$dot_seen" = "no"; then \
41108 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
41109 + fi; test -z "$$fail"
41111 +mostlyclean-recursive clean-recursive distclean-recursive \
41112 +maintainer-clean-recursive:
41113 + @set fnord $$MAKEFLAGS; amf=$$2; \
41116 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
41117 + *) list='$(SUBDIRS)' ;; \
41119 + rev=''; for subdir in $$list; do \
41120 + if test "$$subdir" = "."; then :; else \
41121 + rev="$$subdir $$rev"; \
41125 + target=`echo $@ | sed s/-recursive//`; \
41126 + for subdir in $$rev; do \
41127 + echo "Making $$target in $$subdir"; \
41128 + if test "$$subdir" = "."; then \
41129 + local_target="$$target-am"; \
41131 + local_target="$$target"; \
41133 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41134 + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41135 + done && test -z "$$fail"
41137 + list='$(SUBDIRS)'; for subdir in $$list; do \
41138 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
41141 + list='$(SUBDIRS)'; for subdir in $$list; do \
41142 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
41153 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
41154 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41155 + unique=`for i in $$list; do \
41156 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41158 + $(AWK) ' { files[$$0] = 1; } \
41159 + END { for (i in files) print i; }'`; \
41160 + mkid -fID $$unique
41162 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
41163 + $(TAGS_FILES) $(LISP)
41166 + if (etags --etags-include --version) >/dev/null 2>&1; then \
41167 + include_option=--etags-include; \
41169 + include_option=--include; \
41171 + list='$(SUBDIRS)'; for subdir in $$list; do \
41172 + if test "$$subdir" = .; then :; else \
41173 + test -f $$subdir/TAGS && \
41174 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
41177 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
41178 + unique=`for i in $$list; do \
41179 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41181 + $(AWK) ' { files[$$0] = 1; } \
41182 + END { for (i in files) print i; }'`; \
41183 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
41184 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
41188 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
41189 + $(TAGS_FILES) $(LISP)
41192 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
41193 + unique=`for i in $$list; do \
41194 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41196 + $(AWK) ' { files[$$0] = 1; } \
41197 + END { for (i in files) print i; }'`; \
41198 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
41199 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
41203 + here=`$(am__cd) $(top_builddir) && pwd` \
41204 + && cd $(top_srcdir) \
41205 + && gtags -i $(GTAGS_ARGS) $$here
41208 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41209 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
41212 +distdir = $(PACKAGE)-$(VERSION)
41214 +am__remove_distdir = \
41215 + { test ! -d $(distdir) \
41216 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
41217 + && rm -fr $(distdir); }; }
41220 +distuninstallcheck_listfiles = find . -type f -print
41221 +distcleancheck_listfiles = find . -type f -print
41223 +distdir: $(DISTFILES)
41224 + $(am__remove_distdir)
41226 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41227 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41228 + list='$(DISTFILES)'; for file in $$list; do \
41230 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41231 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41233 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41234 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41235 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41237 + $(mkinstalldirs) "$(distdir)$$dir"; \
41241 + if test -d $$d/$$file; then \
41242 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41243 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41245 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41247 + test -f $(distdir)/$$file \
41248 + || cp -p $$d/$$file $(distdir)/$$file \
41252 + list='$(SUBDIRS)'; for subdir in $$list; do \
41253 + if test "$$subdir" = .; then :; else \
41254 + test -d $(distdir)/$$subdir \
41255 + || mkdir $(distdir)/$$subdir \
41257 + (cd $$subdir && \
41258 + $(MAKE) $(AM_MAKEFLAGS) \
41259 + top_distdir="$(top_distdir)" \
41260 + distdir=../$(distdir)/$$subdir \
41265 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
41266 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
41267 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
41268 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
41269 + || chmod -R a+r $(distdir)
41270 +dist-gzip: distdir
41271 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
41272 + $(am__remove_distdir)
41274 +dist dist-all: distdir
41275 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
41276 + $(am__remove_distdir)
41278 +# This target untars the dist file and tries a VPATH configuration. Then
41279 +# it guarantees that the distribution is self-contained by making another
41282 + $(am__remove_distdir)
41283 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
41284 + chmod -R a-w $(distdir); chmod a+w $(distdir)
41285 + mkdir $(distdir)/_build
41286 + mkdir $(distdir)/_inst
41287 + chmod a-w $(distdir)
41288 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
41289 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
41290 + && cd $(distdir)/_build \
41291 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
41292 + $(DISTCHECK_CONFIGURE_FLAGS) \
41293 + && $(MAKE) $(AM_MAKEFLAGS) \
41294 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
41295 + && $(MAKE) $(AM_MAKEFLAGS) check \
41296 + && $(MAKE) $(AM_MAKEFLAGS) install \
41297 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
41298 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
41299 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
41300 + distuninstallcheck \
41301 + && chmod -R a-w "$$dc_install_base" \
41303 + (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
41304 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
41305 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
41306 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
41307 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
41308 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
41309 + && rm -rf "$$dc_destdir" \
41310 + && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
41311 + && rm -f $(distdir).tar.gz \
41312 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
41313 + $(am__remove_distdir)
41314 + @echo "$(distdir).tar.gz is ready for distribution" | \
41315 + sed 'h;s/./=/g;p;x;p;x'
41316 +distuninstallcheck:
41317 + @cd $(distuninstallcheck_dir) \
41318 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
41319 + || { echo "ERROR: files left after uninstall:" ; \
41320 + if test -n "$(DESTDIR)"; then \
41321 + echo " (check DESTDIR support)"; \
41323 + $(distuninstallcheck_listfiles) ; \
41325 +distcleancheck: distclean
41326 + @if test '$(srcdir)' = . ; then \
41327 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
41330 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
41331 + || { echo "ERROR: files left in build directory after distclean:" ; \
41332 + $(distcleancheck_listfiles) ; \
41335 +check: check-recursive
41336 +all-am: Makefile $(PROGRAMS) $(HEADERS) config.h
41337 +installdirs: installdirs-recursive
41339 + $(mkinstalldirs) $(DESTDIR)$(bindir)
41341 +install: install-recursive
41342 +install-exec: install-exec-recursive
41343 +install-data: install-data-recursive
41344 +uninstall: uninstall-recursive
41346 +install-am: all-am
41347 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41349 +installcheck: installcheck-recursive
41351 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41352 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41353 + `test -z '$(STRIP)' || \
41354 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41355 +mostlyclean-generic:
41359 +distclean-generic:
41360 + -rm -f $(CONFIG_CLEAN_FILES)
41362 +maintainer-clean-generic:
41363 + @echo "This command is intended for maintainers to use"
41364 + @echo "it deletes files that may require special tools to rebuild."
41365 +clean: clean-recursive
41367 +clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
41369 +distclean: distclean-recursive
41370 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
41371 + -rm -rf ./$(DEPDIR)
41373 +distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
41374 + distclean-libtool distclean-tags
41376 +dvi: dvi-recursive
41380 +info: info-recursive
41386 +install-exec-am: install-binPROGRAMS
41388 +install-info: install-info-recursive
41394 +maintainer-clean: maintainer-clean-recursive
41395 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
41396 + -rm -rf $(top_srcdir)/autom4te.cache
41397 + -rm -rf ./$(DEPDIR)
41399 +maintainer-clean-am: distclean-am maintainer-clean-generic
41401 +mostlyclean: mostlyclean-recursive
41403 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
41404 + mostlyclean-libtool
41406 +pdf: pdf-recursive
41414 +uninstall-am: uninstall-binPROGRAMS uninstall-info-am
41416 +uninstall-info: uninstall-info-recursive
41418 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
41419 + clean-binPROGRAMS clean-generic clean-libtool clean-recursive \
41420 + ctags ctags-recursive dist dist-all dist-gzip distcheck \
41421 + distclean distclean-compile distclean-generic distclean-hdr \
41422 + distclean-libtool distclean-recursive distclean-tags \
41423 + distcleancheck distdir distuninstallcheck dvi dvi-am \
41424 + dvi-recursive info info-am info-recursive install install-am \
41425 + install-binPROGRAMS install-data install-data-am \
41426 + install-data-recursive install-exec install-exec-am \
41427 + install-exec-recursive install-info install-info-am \
41428 + install-info-recursive install-man install-recursive \
41429 + install-strip installcheck installcheck-am installdirs \
41430 + installdirs-am installdirs-recursive maintainer-clean \
41431 + maintainer-clean-generic maintainer-clean-recursive mostlyclean \
41432 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
41433 + mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
41434 + ps-recursive tags tags-recursive uninstall uninstall-am \
41435 + uninstall-binPROGRAMS uninstall-info-am \
41436 + uninstall-info-recursive uninstall-recursive
41438 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
41439 +# Otherwise a system limit (for SysV at least) may be exceeded.
41441 --- agsync-0.2-pre.orig/config.h.in
41442 +++ agsync-0.2-pre/config.h.in
41444 +/* config.h.in. Generated from configure.in by autoheader. */
41446 +/* Define to 1 if you have the <dlfcn.h> header file. */
41447 +#undef HAVE_DLFCN_H
41449 +/* Define to 1 if you have the <inttypes.h> header file. */
41450 +#undef HAVE_INTTYPES_H
41452 +/* Define to 1 if you have the `rapi' library (-lrapi). */
41453 +#undef HAVE_LIBRAPI
41455 +/* Define to 1 if you have the `synce' library (-lsynce). */
41456 +#undef HAVE_LIBSYNCE
41458 +/* Define to 1 if you have the <memory.h> header file. */
41459 +#undef HAVE_MEMORY_H
41461 +/* Define to 1 if you have the <rapi.h> header file. */
41462 +#undef HAVE_RAPI_H
41464 +/* Define to 1 if you have the <stdint.h> header file. */
41465 +#undef HAVE_STDINT_H
41467 +/* Define to 1 if you have the <stdlib.h> header file. */
41468 +#undef HAVE_STDLIB_H
41470 +/* Define to 1 if you have the <strings.h> header file. */
41471 +#undef HAVE_STRINGS_H
41473 +/* Define to 1 if you have the <string.h> header file. */
41474 +#undef HAVE_STRING_H
41476 +/* Define to 1 if you have the <synce.h> header file. */
41477 +#undef HAVE_SYNCE_H
41479 +/* Define to 1 if you have the <sys/stat.h> header file. */
41480 +#undef HAVE_SYS_STAT_H
41482 +/* Define to 1 if you have the <sys/types.h> header file. */
41483 +#undef HAVE_SYS_TYPES_H
41485 +/* Define to 1 if you have the <unistd.h> header file. */
41486 +#undef HAVE_UNISTD_H
41488 +/* Name of package */
41491 +/* Define to the address where bug reports for this package should be sent. */
41492 +#undef PACKAGE_BUGREPORT
41494 +/* Define to the full name of this package. */
41495 +#undef PACKAGE_NAME
41497 +/* Define to the full name and version of this package. */
41498 +#undef PACKAGE_STRING
41500 +/* Define to the one symbol short name of this package. */
41501 +#undef PACKAGE_TARNAME
41503 +/* Define to the version of this package. */
41504 +#undef PACKAGE_VERSION
41506 +/* Define to 1 if you have the ANSI C header files. */
41507 +#undef STDC_HEADERS
41509 +/* Version number of package */
41511 --- agsync-0.2-pre.orig/Makefile.cvs
41512 +++ agsync-0.2-pre/Makefile.cvs
41522 --- agsync-0.2-pre.orig/INSTALL
41523 +++ agsync-0.2-pre/INSTALL
41525 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
41528 + This file is free documentation; the Free Software Foundation gives
41529 +unlimited permission to copy, distribute and modify it.
41531 +Basic Installation
41532 +==================
41534 + These are generic installation instructions.
41536 + The `configure' shell script attempts to guess correct values for
41537 +various system-dependent variables used during compilation. It uses
41538 +those values to create a `Makefile' in each directory of the package.
41539 +It may also create one or more `.h' files containing system-dependent
41540 +definitions. Finally, it creates a shell script `config.status' that
41541 +you can run in the future to recreate the current configuration, and a
41542 +file `config.log' containing compiler output (useful mainly for
41543 +debugging `configure').
41545 + It can also use an optional file (typically called `config.cache'
41546 +and enabled with `--cache-file=config.cache' or simply `-C') that saves
41547 +the results of its tests to speed up reconfiguring. (Caching is
41548 +disabled by default to prevent problems with accidental use of stale
41551 + If you need to do unusual things to compile the package, please try
41552 +to figure out how `configure' could check whether to do them, and mail
41553 +diffs or instructions to the address given in the `README' so they can
41554 +be considered for the next release. If you are using the cache, and at
41555 +some point `config.cache' contains results you don't want to keep, you
41556 +may remove or edit it.
41558 + The file `configure.ac' (or `configure.in') is used to create
41559 +`configure' by a program called `autoconf'. You only need
41560 +`configure.ac' if you want to change it or regenerate `configure' using
41561 +a newer version of `autoconf'.
41563 +The simplest way to compile this package is:
41565 + 1. `cd' to the directory containing the package's source code and type
41566 + `./configure' to configure the package for your system. If you're
41567 + using `csh' on an old version of System V, you might need to type
41568 + `sh ./configure' instead to prevent `csh' from trying to execute
41569 + `configure' itself.
41571 + Running `configure' takes awhile. While running, it prints some
41572 + messages telling which features it is checking for.
41574 + 2. Type `make' to compile the package.
41576 + 3. Optionally, type `make check' to run any self-tests that come with
41579 + 4. Type `make install' to install the programs and any data files and
41582 + 5. You can remove the program binaries and object files from the
41583 + source code directory by typing `make clean'. To also remove the
41584 + files that `configure' created (so you can compile the package for
41585 + a different kind of computer), type `make distclean'. There is
41586 + also a `make maintainer-clean' target, but that is intended mainly
41587 + for the package's developers. If you use it, you may have to get
41588 + all sorts of other programs in order to regenerate files that came
41589 + with the distribution.
41591 +Compilers and Options
41592 +=====================
41594 + Some systems require unusual options for compilation or linking that
41595 +the `configure' script does not know about. Run `./configure --help'
41596 +for details on some of the pertinent environment variables.
41598 + You can give `configure' initial values for configuration parameters
41599 +by setting variables in the command line or in the environment. Here
41602 + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
41604 + *Note Defining Variables::, for more details.
41606 +Compiling For Multiple Architectures
41607 +====================================
41609 + You can compile the package for more than one kind of computer at the
41610 +same time, by placing the object files for each architecture in their
41611 +own directory. To do this, you must use a version of `make' that
41612 +supports the `VPATH' variable, such as GNU `make'. `cd' to the
41613 +directory where you want the object files and executables to go and run
41614 +the `configure' script. `configure' automatically checks for the
41615 +source code in the directory that `configure' is in and in `..'.
41617 + If you have to use a `make' that does not support the `VPATH'
41618 +variable, you have to compile the package for one architecture at a
41619 +time in the source code directory. After you have installed the
41620 +package for one architecture, use `make distclean' before reconfiguring
41621 +for another architecture.
41623 +Installation Names
41624 +==================
41626 + By default, `make install' will install the package's files in
41627 +`/usr/local/bin', `/usr/local/man', etc. You can specify an
41628 +installation prefix other than `/usr/local' by giving `configure' the
41629 +option `--prefix=PATH'.
41631 + You can specify separate installation prefixes for
41632 +architecture-specific files and architecture-independent files. If you
41633 +give `configure' the option `--exec-prefix=PATH', the package will use
41634 +PATH as the prefix for installing programs and libraries.
41635 +Documentation and other data files will still use the regular prefix.
41637 + In addition, if you use an unusual directory layout you can give
41638 +options like `--bindir=PATH' to specify different values for particular
41639 +kinds of files. Run `configure --help' for a list of the directories
41640 +you can set and what kinds of files go in them.
41642 + If the package supports it, you can cause programs to be installed
41643 +with an extra prefix or suffix on their names by giving `configure' the
41644 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
41649 + Some packages pay attention to `--enable-FEATURE' options to
41650 +`configure', where FEATURE indicates an optional part of the package.
41651 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
41652 +is something like `gnu-as' or `x' (for the X Window System). The
41653 +`README' should mention any `--enable-' and `--with-' options that the
41654 +package recognizes.
41656 + For packages that use the X Window System, `configure' can usually
41657 +find the X include and library files automatically, but if it doesn't,
41658 +you can use the `configure' options `--x-includes=DIR' and
41659 +`--x-libraries=DIR' to specify their locations.
41661 +Specifying the System Type
41662 +==========================
41664 + There may be some features `configure' cannot figure out
41665 +automatically, but needs to determine by the type of machine the package
41666 +will run on. Usually, assuming the package is built to be run on the
41667 +_same_ architectures, `configure' can figure that out, but if it prints
41668 +a message saying it cannot guess the machine type, give it the
41669 +`--build=TYPE' option. TYPE can either be a short name for the system
41670 +type, such as `sun4', or a canonical name which has the form:
41672 + CPU-COMPANY-SYSTEM
41674 +where SYSTEM can have one of these forms:
41678 + See the file `config.sub' for the possible values of each field. If
41679 +`config.sub' isn't included in this package, then this package doesn't
41680 +need to know the machine type.
41682 + If you are _building_ compiler tools for cross-compiling, you should
41683 +use the `--target=TYPE' option to select the type of system they will
41686 + If you want to _use_ a cross compiler, that generates code for a
41687 +platform different from the build platform, you should specify the
41688 +"host" platform (i.e., that on which the generated programs will
41689 +eventually be run) with `--host=TYPE'.
41694 + If you want to set default values for `configure' scripts to share,
41695 +you can create a site shell script called `config.site' that gives
41696 +default values for variables like `CC', `cache_file', and `prefix'.
41697 +`configure' looks for `PREFIX/share/config.site' if it exists, then
41698 +`PREFIX/etc/config.site' if it exists. Or, you can set the
41699 +`CONFIG_SITE' environment variable to the location of the site script.
41700 +A warning: not all `configure' scripts look for a site script.
41702 +Defining Variables
41703 +==================
41705 + Variables not defined in a site shell script can be set in the
41706 +environment passed to `configure'. However, some packages may run
41707 +configure again during the build, and the customized values of these
41708 +variables may be lost. In order to avoid this problem, you should set
41709 +them in the `configure' command line, using `VAR=value'. For example:
41711 + ./configure CC=/usr/local2/bin/gcc
41713 +will cause the specified gcc to be used as the C compiler (unless it is
41714 +overridden in the site shell script).
41716 +`configure' Invocation
41717 +======================
41719 + `configure' recognizes the following options to control how it
41724 + Print a summary of the options to `configure', and exit.
41728 + Print the version of Autoconf used to generate the `configure'
41729 + script, and exit.
41731 +`--cache-file=FILE'
41732 + Enable the cache: use and save the results of the tests in FILE,
41733 + traditionally `config.cache'. FILE defaults to `/dev/null' to
41738 + Alias for `--cache-file=config.cache'.
41743 + Do not print messages saying which checks are being made. To
41744 + suppress all normal output, redirect it to `/dev/null' (any error
41745 + messages will still be shown).
41748 + Look for the package's source code in directory DIR. Usually
41749 + `configure' can determine that directory automatically.
41751 +`configure' also accepts some other, not widely useful, options. Run
41752 +`configure --help' for more details.
41754 --- agsync-0.2-pre.orig/COPYING
41755 +++ agsync-0.2-pre/COPYING
41757 + GNU GENERAL PUBLIC LICENSE
41758 + Version 2, June 1991
41760 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
41761 + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41762 + Everyone is permitted to copy and distribute verbatim copies
41763 + of this license document, but changing it is not allowed.
41767 + The licenses for most software are designed to take away your
41768 +freedom to share and change it. By contrast, the GNU General Public
41769 +License is intended to guarantee your freedom to share and change free
41770 +software--to make sure the software is free for all its users. This
41771 +General Public License applies to most of the Free Software
41772 +Foundation's software and to any other program whose authors commit to
41773 +using it. (Some other Free Software Foundation software is covered by
41774 +the GNU Library General Public License instead.) You can apply it to
41775 +your programs, too.
41777 + When we speak of free software, we are referring to freedom, not
41778 +price. Our General Public Licenses are designed to make sure that you
41779 +have the freedom to distribute copies of free software (and charge for
41780 +this service if you wish), that you receive source code or can get it
41781 +if you want it, that you can change the software or use pieces of it
41782 +in new free programs; and that you know you can do these things.
41784 + To protect your rights, we need to make restrictions that forbid
41785 +anyone to deny you these rights or to ask you to surrender the rights.
41786 +These restrictions translate to certain responsibilities for you if you
41787 +distribute copies of the software, or if you modify it.
41789 + For example, if you distribute copies of such a program, whether
41790 +gratis or for a fee, you must give the recipients all the rights that
41791 +you have. You must make sure that they, too, receive or can get the
41792 +source code. And you must show them these terms so they know their
41795 + We protect your rights with two steps: (1) copyright the software, and
41796 +(2) offer you this license which gives you legal permission to copy,
41797 +distribute and/or modify the software.
41799 + Also, for each author's protection and ours, we want to make certain
41800 +that everyone understands that there is no warranty for this free
41801 +software. If the software is modified by someone else and passed on, we
41802 +want its recipients to know that what they have is not the original, so
41803 +that any problems introduced by others will not reflect on the original
41804 +authors' reputations.
41806 + Finally, any free program is threatened constantly by software
41807 +patents. We wish to avoid the danger that redistributors of a free
41808 +program will individually obtain patent licenses, in effect making the
41809 +program proprietary. To prevent this, we have made it clear that any
41810 +patent must be licensed for everyone's free use or not licensed at all.
41812 + The precise terms and conditions for copying, distribution and
41813 +modification follow.
41815 + GNU GENERAL PUBLIC LICENSE
41816 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
41818 + 0. This License applies to any program or other work which contains
41819 +a notice placed by the copyright holder saying it may be distributed
41820 +under the terms of this General Public License. The "Program", below,
41821 +refers to any such program or work, and a "work based on the Program"
41822 +means either the Program or any derivative work under copyright law:
41823 +that is to say, a work containing the Program or a portion of it,
41824 +either verbatim or with modifications and/or translated into another
41825 +language. (Hereinafter, translation is included without limitation in
41826 +the term "modification".) Each licensee is addressed as "you".
41828 +Activities other than copying, distribution and modification are not
41829 +covered by this License; they are outside its scope. The act of
41830 +running the Program is not restricted, and the output from the Program
41831 +is covered only if its contents constitute a work based on the
41832 +Program (independent of having been made by running the Program).
41833 +Whether that is true depends on what the Program does.
41835 + 1. You may copy and distribute verbatim copies of the Program's
41836 +source code as you receive it, in any medium, provided that you
41837 +conspicuously and appropriately publish on each copy an appropriate
41838 +copyright notice and disclaimer of warranty; keep intact all the
41839 +notices that refer to this License and to the absence of any warranty;
41840 +and give any other recipients of the Program a copy of this License
41841 +along with the Program.
41843 +You may charge a fee for the physical act of transferring a copy, and
41844 +you may at your option offer warranty protection in exchange for a fee.
41846 + 2. You may modify your copy or copies of the Program or any portion
41847 +of it, thus forming a work based on the Program, and copy and
41848 +distribute such modifications or work under the terms of Section 1
41849 +above, provided that you also meet all of these conditions:
41851 + a) You must cause the modified files to carry prominent notices
41852 + stating that you changed the files and the date of any change.
41854 + b) You must cause any work that you distribute or publish, that in
41855 + whole or in part contains or is derived from the Program or any
41856 + part thereof, to be licensed as a whole at no charge to all third
41857 + parties under the terms of this License.
41859 + c) If the modified program normally reads commands interactively
41860 + when run, you must cause it, when started running for such
41861 + interactive use in the most ordinary way, to print or display an
41862 + announcement including an appropriate copyright notice and a
41863 + notice that there is no warranty (or else, saying that you provide
41864 + a warranty) and that users may redistribute the program under
41865 + these conditions, and telling the user how to view a copy of this
41866 + License. (Exception: if the Program itself is interactive but
41867 + does not normally print such an announcement, your work based on
41868 + the Program is not required to print an announcement.)
41870 +These requirements apply to the modified work as a whole. If
41871 +identifiable sections of that work are not derived from the Program,
41872 +and can be reasonably considered independent and separate works in
41873 +themselves, then this License, and its terms, do not apply to those
41874 +sections when you distribute them as separate works. But when you
41875 +distribute the same sections as part of a whole which is a work based
41876 +on the Program, the distribution of the whole must be on the terms of
41877 +this License, whose permissions for other licensees extend to the
41878 +entire whole, and thus to each and every part regardless of who wrote it.
41880 +Thus, it is not the intent of this section to claim rights or contest
41881 +your rights to work written entirely by you; rather, the intent is to
41882 +exercise the right to control the distribution of derivative or
41883 +collective works based on the Program.
41885 +In addition, mere aggregation of another work not based on the Program
41886 +with the Program (or with a work based on the Program) on a volume of
41887 +a storage or distribution medium does not bring the other work under
41888 +the scope of this License.
41890 + 3. You may copy and distribute the Program (or a work based on it,
41891 +under Section 2) in object code or executable form under the terms of
41892 +Sections 1 and 2 above provided that you also do one of the following:
41894 + a) Accompany it with the complete corresponding machine-readable
41895 + source code, which must be distributed under the terms of Sections
41896 + 1 and 2 above on a medium customarily used for software interchange; or,
41898 + b) Accompany it with a written offer, valid for at least three
41899 + years, to give any third party, for a charge no more than your
41900 + cost of physically performing source distribution, a complete
41901 + machine-readable copy of the corresponding source code, to be
41902 + distributed under the terms of Sections 1 and 2 above on a medium
41903 + customarily used for software interchange; or,
41905 + c) Accompany it with the information you received as to the offer
41906 + to distribute corresponding source code. (This alternative is
41907 + allowed only for noncommercial distribution and only if you
41908 + received the program in object code or executable form with such
41909 + an offer, in accord with Subsection b above.)
41911 +The source code for a work means the preferred form of the work for
41912 +making modifications to it. For an executable work, complete source
41913 +code means all the source code for all modules it contains, plus any
41914 +associated interface definition files, plus the scripts used to
41915 +control compilation and installation of the executable. However, as a
41916 +special exception, the source code distributed need not include
41917 +anything that is normally distributed (in either source or binary
41918 +form) with the major components (compiler, kernel, and so on) of the
41919 +operating system on which the executable runs, unless that component
41920 +itself accompanies the executable.
41922 +If distribution of executable or object code is made by offering
41923 +access to copy from a designated place, then offering equivalent
41924 +access to copy the source code from the same place counts as
41925 +distribution of the source code, even though third parties are not
41926 +compelled to copy the source along with the object code.
41928 + 4. You may not copy, modify, sublicense, or distribute the Program
41929 +except as expressly provided under this License. Any attempt
41930 +otherwise to copy, modify, sublicense or distribute the Program is
41931 +void, and will automatically terminate your rights under this License.
41932 +However, parties who have received copies, or rights, from you under
41933 +this License will not have their licenses terminated so long as such
41934 +parties remain in full compliance.
41936 + 5. You are not required to accept this License, since you have not
41937 +signed it. However, nothing else grants you permission to modify or
41938 +distribute the Program or its derivative works. These actions are
41939 +prohibited by law if you do not accept this License. Therefore, by
41940 +modifying or distributing the Program (or any work based on the
41941 +Program), you indicate your acceptance of this License to do so, and
41942 +all its terms and conditions for copying, distributing or modifying
41943 +the Program or works based on it.
41945 + 6. Each time you redistribute the Program (or any work based on the
41946 +Program), the recipient automatically receives a license from the
41947 +original licensor to copy, distribute or modify the Program subject to
41948 +these terms and conditions. You may not impose any further
41949 +restrictions on the recipients' exercise of the rights granted herein.
41950 +You are not responsible for enforcing compliance by third parties to
41953 + 7. If, as a consequence of a court judgment or allegation of patent
41954 +infringement or for any other reason (not limited to patent issues),
41955 +conditions are imposed on you (whether by court order, agreement or
41956 +otherwise) that contradict the conditions of this License, they do not
41957 +excuse you from the conditions of this License. If you cannot
41958 +distribute so as to satisfy simultaneously your obligations under this
41959 +License and any other pertinent obligations, then as a consequence you
41960 +may not distribute the Program at all. For example, if a patent
41961 +license would not permit royalty-free redistribution of the Program by
41962 +all those who receive copies directly or indirectly through you, then
41963 +the only way you could satisfy both it and this License would be to
41964 +refrain entirely from distribution of the Program.
41966 +If any portion of this section is held invalid or unenforceable under
41967 +any particular circumstance, the balance of the section is intended to
41968 +apply and the section as a whole is intended to apply in other
41971 +It is not the purpose of this section to induce you to infringe any
41972 +patents or other property right claims or to contest validity of any
41973 +such claims; this section has the sole purpose of protecting the
41974 +integrity of the free software distribution system, which is
41975 +implemented by public license practices. Many people have made
41976 +generous contributions to the wide range of software distributed
41977 +through that system in reliance on consistent application of that
41978 +system; it is up to the author/donor to decide if he or she is willing
41979 +to distribute software through any other system and a licensee cannot
41980 +impose that choice.
41982 +This section is intended to make thoroughly clear what is believed to
41983 +be a consequence of the rest of this License.
41985 + 8. If the distribution and/or use of the Program is restricted in
41986 +certain countries either by patents or by copyrighted interfaces, the
41987 +original copyright holder who places the Program under this License
41988 +may add an explicit geographical distribution limitation excluding
41989 +those countries, so that distribution is permitted only in or among
41990 +countries not thus excluded. In such case, this License incorporates
41991 +the limitation as if written in the body of this License.
41993 + 9. The Free Software Foundation may publish revised and/or new versions
41994 +of the General Public License from time to time. Such new versions will
41995 +be similar in spirit to the present version, but may differ in detail to
41996 +address new problems or concerns.
41998 +Each version is given a distinguishing version number. If the Program
41999 +specifies a version number of this License which applies to it and "any
42000 +later version", you have the option of following the terms and conditions
42001 +either of that version or of any later version published by the Free
42002 +Software Foundation. If the Program does not specify a version number of
42003 +this License, you may choose any version ever published by the Free Software
42006 + 10. If you wish to incorporate parts of the Program into other free
42007 +programs whose distribution conditions are different, write to the author
42008 +to ask for permission. For software which is copyrighted by the Free
42009 +Software Foundation, write to the Free Software Foundation; we sometimes
42010 +make exceptions for this. Our decision will be guided by the two goals
42011 +of preserving the free status of all derivatives of our free software and
42012 +of promoting the sharing and reuse of software generally.
42016 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
42017 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
42018 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
42019 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
42020 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
42021 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
42022 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
42023 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
42024 +REPAIR OR CORRECTION.
42026 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
42027 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
42028 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
42029 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
42030 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
42031 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
42032 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
42033 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
42034 +POSSIBILITY OF SUCH DAMAGES.
42036 + END OF TERMS AND CONDITIONS
42038 + How to Apply These Terms to Your New Programs
42040 + If you develop a new program, and you want it to be of the greatest
42041 +possible use to the public, the best way to achieve this is to make it
42042 +free software which everyone can redistribute and change under these terms.
42044 + To do so, attach the following notices to the program. It is safest
42045 +to attach them to the start of each source file to most effectively
42046 +convey the exclusion of warranty; and each file should have at least
42047 +the "copyright" line and a pointer to where the full notice is found.
42049 + <one line to give the program's name and a brief idea of what it does.>
42050 + Copyright (C) <year> <name of author>
42052 + This program is free software; you can redistribute it and/or modify
42053 + it under the terms of the GNU General Public License as published by
42054 + the Free Software Foundation; either version 2 of the License, or
42055 + (at your option) any later version.
42057 + This program is distributed in the hope that it will be useful,
42058 + but WITHOUT ANY WARRANTY; without even the implied warranty of
42059 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42060 + GNU General Public License for more details.
42062 + You should have received a copy of the GNU General Public License
42063 + along with this program; if not, write to the Free Software
42064 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
42067 +Also add information on how to contact you by electronic and paper mail.
42069 +If the program is interactive, make it output a short notice like this
42070 +when it starts in an interactive mode:
42072 + Gnomovision version 69, Copyright (C) year name of author
42073 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
42074 + This is free software, and you are welcome to redistribute it
42075 + under certain conditions; type `show c' for details.
42077 +The hypothetical commands `show w' and `show c' should show the appropriate
42078 +parts of the General Public License. Of course, the commands you use may
42079 +be called something other than `show w' and `show c'; they could even be
42080 +mouse-clicks or menu items--whatever suits your program.
42082 +You should also get your employer (if you work as a programmer) or your
42083 +school, if any, to sign a "copyright disclaimer" for the program, if
42084 +necessary. Here is a sample; alter the names:
42086 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program
42087 + `Gnomovision' (which makes passes at compilers) written by James Hacker.
42089 + <signature of Ty Coon>, 1 April 1989
42090 + Ty Coon, President of Vice
42092 +This General Public License does not permit incorporating your program into
42093 +proprietary programs. If your program is a subroutine library, you may
42094 +consider it more useful to permit linking proprietary applications with the
42095 +library. If this is what you want to do, use the GNU Library General
42096 +Public License instead of this License.